Commit Graph

44816 Commits

Author SHA1 Message Date
Rene Gollent
1167ae5274 Some optimizations for ThreadHandler.
- CreateStackTrace() now takes a parameter indicating whether or not
  to try and retrieve full frame information. This in turn is passed
  on to SpecificImageDebugInfo, where e.g. DwarfImageDebugInfo can
  use it to avoid constructing variables and parameters. This is
  used by ThreadHandler since, when it requests the top frame for
  its stepping  calculations, this additional data/work is completely
  unnecessary.
2012-12-26 00:20:33 -05:00
Rene Gollent
50bd564d06 Fix crash issue with some cases of template types.
- If a template type parameter resolves to a void type, gcc doesn't
  actually generate a type attribute for the instantiation, leading
  to a crash in CreateType(). Was observable with MemoryDeleter and
  others.
2012-12-25 16:57:15 -05:00
Philippe Saint-Pierre
a74c82b977 Tracker: Drawing issues in dragBitmap (#8005)
Remove rounding issues in height calculation leading to drawing issues when using some font sizes.
2012-12-25 16:28:18 -05:00
Philippe Saint-Pierre
9abf41a7fe Mail: remove un-intended debugging code committed 2012-12-25 14:43:02 -05:00
Philippe Saint-Pierre
5eea8a566d Mail: coding styles fixes. should have no functional changes 2012-12-25 14:13:02 -05:00
Rene Gollent
855f2c88d3 Add some more information to CIE parsing failure messages. 2012-12-25 09:35:43 -05:00
Rene Gollent
9becda82ef Implement ArchitectureX8664::UpdateStackFrameCpuState(). 2012-12-25 09:34:28 -05:00
Rene Gollent
717f11d412 Fix regression introduced in hrev43513.
- A mistake in variable renaming resulted Architecture::UpdateStackFrameCpuState()
  no longer being called.
2012-12-25 09:32:56 -05:00
Humdinger
bc715a5fe8 Correct attribute names "Audio" -> "Media" (#9316)
A few attribute names that used to be "Audio:..." were changed a
while ago to the more general "Media:...". Applied those changes.
Fixes #9316, thanks ttcoder!
2012-12-25 09:51:11 +01:00
John Scipione
93ebe7637f Update BDurationFormat docs. Came for warnings, ended up fixing more. 2012-12-24 19:55:26 -05:00
John Scipione
89dfe27fc8 Update BCatalog docs to fix warnings and update.
Especially listing the status codes is useful. Some style fixes and
update \li to -.
2012-12-24 19:07:56 -05:00
John Scipione
495275e4ea Add BFileInterface class documentation 2012-12-24 18:36:55 -05:00
John Scipione
c8654dba73 Minor updates to BFileGameSound docs 2012-12-24 18:31:08 -05:00
John Scipione
4b831faef7 Revert "Rename header params to match BeBook. No implementation."
This reverts commit 67f773ec1d.

The convention is to use leading underscores to indicate out
parameters.
2012-12-24 17:03:46 -05:00
John Scipione
67f773ec1d Rename header params to match BeBook. No implementation. 2012-12-24 16:31:30 -05:00
Philippe Saint-Pierre
205cf6950c Tracker: Force Identify - don't require holding shift (#4857)
Don't require to hold shift when clicking on force identify,
can now be released after popup menu have appeared.
2012-12-24 16:10:21 -05:00
John Scipione
939600d2ad Update SetPaused() and add IsPaused() documentation 2012-12-24 16:05:51 -05:00
John Scipione
05c71c9699 Add BFileGameSound class documentation 2012-12-24 15:42:48 -05:00
John Scipione
ff3409e005 Return EALREADY if already in requested playback mode.
That's what the BeBook says the method is suppose to do.
2012-12-24 15:27:41 -05:00
Rene Gollent
b83bece153 Cleanups.
- Add clarifying comment.
- Slightly adjust handling of augmentation 'P' so it also handles
  skipping LEB128-encoded values correctly.
- Remove unused code.
2012-12-24 00:18:38 -05:00
Rene Gollent
d802af6461 Add a few more commands to the 64-bit image. 2012-12-23 23:16:49 -05:00
Rene Gollent
16b8573bae Numerous fixes to stack unwinding for .eh_frame.
- Add address size parameter to EvaluateExpression since the compilation
  unit may not be available (i.e. in non-debug code). Accordingly, also
  add accessor for address size to DwarfExpressionEvaluationContext,
  and adjust callers accordingly.

- Correctly handle augmentation 'P'. This one consists of a data byte
  describing the address encoding, followed by the address of the
  personality function encoded in the aforementioned format. Not
  skipping this correctly was resulting in us retrieving the wrong
  FDE address format in e.g. CIEs encoded with augmentation 'zPLR'.

- The address range should be retrieved as value only without accounting
  for the relative offset portion of the address encoding format. Fixes
  some issues where we'd pick the wrong FDE to use for unwinding due
  to us misinterpreting it as covering a far larger PC range than it
  in fact did.

- DW_CFA_set_loc also needs to respect the encoded address format.

Overall, these changes fix a number of regressions introduced by the
previous commits, and also mean that stack unwinding for x86-64 should
now work as expected in all cases where either debug information or
an exception table is available.
2012-12-23 16:37:06 -05:00
Philippe Saint-Pierre
3fbf5d6809 Tracker: Drawing artifact (#6513)
After switching from outline only selection mode to transparent rectangle,
a drawing artifact could occur because the last selection rectangle wasn't
reset properly.  On following update, Tracker thought a selection rectangle
was still to be shown.
2012-12-23 16:33:49 -05:00
Vlad Slepukhin
46f1daff68 Handle be:line and °K in RefsReceived, store it in file attributes
This work was done during GCI2012

Fixes #4794

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-23 21:51:24 +01:00
Matt Madia
ec8f666514 Added some TODO's. Currently IOP cannot handle OpenSSL nor WebKit. 2012-12-23 14:05:36 -05:00
Matt Madia
822e846207 Adjust for OptionalBuildFeatures/BuildFeatures. 2012-12-23 13:52:21 -05:00
Humdinger
2e2e8f7d2e Fixed case of GUI strings. 2012-12-23 18:30:02 +01:00
John Scipione
2e64288895 Change Application back to Applications in Deskbar prefs. 2012-12-23 12:21:00 -05:00
François Revol
53eb64dd71 PCI: Work around devices wrongly set as bridge class by buggy BIOS
This is a proper fix for the issue I tried to fix with hrev43552.
Previous fix only fixed the stack overflow caused by it but still
generated ghost devices due to the duplicated enumeration.

Affected motherboards include FIC PA-2013 (mine), and FIC VA503+
as mentionned on:
http://lkml.indiana.edu/hypermail/linux/kernel/9912.0/0539.html

We now check the header type for bridge devices and just ignore
wrong ones.
2012-12-23 18:06:56 +01:00
John Scipione
e1988c7d53 Reduce font size of code blocks to 13px 2012-12-23 12:05:03 -05:00
Vlad Slepukhin
0f4985d884 StyledEdit:Implemented StatusLine and R5-like ReadOnly mode
This work was done during GCI2012.

Fixes #3655

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-22 22:57:14 +01:00
Rene Gollent
132b08d8ea WebKit package is now also available, missed this on previous commit. 2012-12-22 16:42:56 -05:00
Rene Gollent
4fd9bbbc8d Add x86-64 WebKit package. Makes Web+ available on x86-64. 2012-12-22 16:24:16 -05:00
Rene Gollent
523a87a5d2 64-bit fixes for WebPositive. 2012-12-22 16:24:16 -05:00
Evgeny Abdraimov
944235ddd4 Initialization of net_device_interface::monitor_count corrected
Fixes #8839

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-22 22:19:55 +01:00
John Scipione
e9191cc2d1 Add BFile documentation to the Haiku Book.
Remove the documentation from the cpp file also. Keep the brief
description as a regular comment though.
2012-12-22 15:01:17 -05:00
John Scipione
8e7094494a Fix another warning in MimeType.dox along with some 80 char fixes 2012-12-22 15:01:17 -05:00
Alex Smith
85a609cf7c More x86_64 optional packages from scottmc. 2012-12-22 18:43:25 +00:00
Stefano Ceccherini
e76262c879 Fix build. 2012-12-22 14:34:26 +01:00
Niels Sascha Reedijk
e2a1555349 Update translations from Pootle 2012-12-22 07:18:09 +01:00
Rene Gollent
83a522213e Cleanup.
- Rename _ParseCIEAugmentation to _ParseCIEHeader since that more
  accurately reflects what it does.

- Refactor a bit to avoid having to parse the header twice, and
  simplify various places as a result.
2012-12-22 00:07:36 -05:00
Alexander von Gluck IV
a892e43ee3 OpenGL: Fix library dependencies
* Fixes gcc2 build
2012-12-21 22:55:56 -06:00
Rene Gollent
96a4619b92 Make use of augmentation if available.
- Pull out a _ParseCIEAugmentation() from _ParseCIE().

- If .eh_frame is being used, do a quick parse of the CIE up front
  in order to determine the augmentation (if any), and use it to
  retrieve addresses in the appropriate format. This fixes stack
  unwinding on x86-64, and possibly other cases where the address
  encoding didn't correspond to architectural target size in absolute
  address format.
2012-12-21 23:32:51 -05:00
Rene Gollent
54531e9f97 Allow CfaContext to be initialized lazily. 2012-12-21 23:32:50 -05:00
John Scipione
268177055e Fix 2 warnings in MimeType.dox 2012-12-21 22:51:19 -05:00
John Scipione
f729cb8d48 Remove methods from CheckBox.dox that are not unique to the class fixing warnings 2012-12-21 22:51:19 -05:00
John Scipione
177942adc7 Remove documentation fro Button.dox that is not unique to BButton fixing a few warnings 2012-12-21 22:51:18 -05:00
Rene Gollent
b510524436 Resolve TODO.
- We now handle augmentation 'zR', which in the case of gcc's
  .eh_frame format specifies how the addresses in the FDEs are
  encoded. Not actually used yet though since that will require
  some refactoring of _UnwindCallFrame(), since we currently parse
  the CIE too late to apply the above address size rules to the
  initial offset + range. This is also the reason x86-64 stack unwind
  currently fails, since the addresses there are, for most current tests
  actually being encoded in 32-bit format rather than architecture
  address size as should be the case for a standard DWARF debug_frame.
2012-12-21 22:40:58 -05:00
John Scipione
e5f2a41917 Update revision, this matters because I changed the variables in the BDragger constructor. 2012-12-21 22:34:27 -05:00
John Scipione
a6ada82b00 Add BDragger class documentation 2012-12-21 22:31:29 -05:00