Commit Graph

38257 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Stefano Ceccherini
e76262c879 Fix build. 2012-12-22 14:34:26 +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
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
57ec88b651 Fix build, forgot to replace the variable names after renaming them. 2012-12-21 22:07:04 -05:00
John Scipione
78c12508e3 Rename the bounds parameter of the BDragger class to frame matching the BeBook 2012-12-21 21:24:46 -05:00
John Scipione
aabb148183 Rename the resizingMask parameter of the BDragger constructor to resizingMode matching the BeBook. 2012-12-21 21:22:54 -05:00
Alexander von Gluck IV
cd76737442 swrast_legacy: Fix build (libglsl isn't in Mesa 7.x) 2012-12-21 19:23:47 -06:00
Alexander von Gluck IV
9c48978b6f swrast: Remove cpu feature check
* gcc4 swrast is boring an doesn't do rtasm anymore
2012-12-21 19:23:46 -06:00
Alexander von Gluck IV
83b716e3d9 swpipe: Make softpipe optional
* If we're using llvmpipe, don't reference
  softpipe. Reduce bloat.
2012-12-21 19:23:44 -06:00
Alexander von Gluck IV
b9d7097111 swpipe: Don't dereference pointer 2012-12-21 19:23:42 -06:00
Alexander von Gluck IV
ecbdee63cf Mesa 9.0.1: Build cleanup
* Try to keep each renderer designed
  the same.
* swrast will build... swpipe won't
  build until we have an llvm build
  package. (should in a few days once
  llvm 3.2 is released)
2012-12-21 19:23:41 -06:00
Alexander von Gluck IV
e685ddf799 libGL: Major shakeup
* libmesa and libgallium no longer live in libGL
* opengl kit gets libglapi for dispatch
* swrast will get libmesa
* swpipe will get libmesagallium + gallium drivers + llvm
2012-12-21 19:23:39 -06:00
John Scipione
cd03d7c120 Remove locking from TrackerSettingsWindow::QuitRequested()
Like Deskbar it isn't needed here either since the window is already
locked. The return value seems to be totally ignored, so, just leave
as is.
2012-12-21 16:42:37 -05:00
John Scipione
7ff146fdc0 On second thought, don't delete fPreferenecesWindow here 2012-12-21 16:26:45 -05:00
John Scipione
879fe42c09 Refactor Deskbar preferences window.
* Remove locking from Prefs window QuitRequested(), thanks Axel.
* Remove kConfigClose message, no longer needed since window sticks
  around and is hidden on close instead of being deleted.
* delete fPreferencesWindow on BarApp QuitRequested() so it will
  remove the memory used by preference window when Deskbar quits.
2012-12-21 16:16:39 -05:00
John Scipione
ee70bd8b1f Hide and show Deskbar preference window
... instead of destroying and creating it each time.

This is taking another page from Tracker's book. It allows the prefs
window to maintain it's current state as long as the application
remains open. Since both Tracker and Deskbar are meant to always be
open this means that the state is kept all the time unless the app
crashes, quite useful.
2012-12-20 19:57:13 -05:00
John Scipione
08c0a78ff4 (Tiny) style fix only 2012-12-20 19:55:10 -05:00
John Scipione
0eacc85bc2 Style fixes, no functional change indented 2012-12-20 19:43:22 -05:00
John Scipione
defcf2ebc4 Add newline at the end of PreferencesWindow.cpp
This completes the move of clock preferences from Deskbar to Time.

This closes #7331. Also closing #8769 as invalid as it has been
discussed to death and 12/24 hour setting seems to belong in Locale
prefs only.

Clock preferences have been moved into their own settings file as
well so perhaps will be moved to their own replicant in the future.
2012-12-20 18:58:09 -05:00
John Scipione
37fb25e0f8 On second thought, AddGlue to all 3 so the window stays the same height 2012-12-20 18:31:43 -05:00
John Scipione
9fd9f94dcc Make prefs window height depend on content 2012-12-20 18:31:42 -05:00
John Scipione
c5b556a080 Rearrange Deskbar preferences to use a list view like Tracker
Instead of showing all Deskbar preferences at once, show them one
at a time using a list view to switch between them like Tracker
preferences.
2012-12-20 18:31:42 -05:00
John Scipione
31c0024d1b Add Deskbar clock settings to Time Preferences
* Added a new Clock tab to the Time preflet. Added Clock related
  controls there. They all function by communicating with Deskbar.
* Put controls in a BBox controlled by the Show clock checkbox.
  This more clearly shows that all the clock settings are dependent
  on the show clock setting since it doesn't matter what your clock
  settings are if you don't show the clock.
* Make revert work.
* Split clock settings into it's own file and struct.
* Re-add the time zone setting.
* Remove the clock settings from the Deskbar preference window, they
  are in Time now.
* Make Locale preferences accepts B_LOCALE_CHANGED message, although
  not used.
2012-12-20 18:31:42 -05:00
Alex Smith
9a538a294c A few x86_64 debugger fixes + style fixes. 2012-12-20 19:24:04 +00:00
Alex Smith
6c6fcaf95b Some build fixes for DEBUG=1. 2012-12-20 19:22:16 +00:00
Alex Smith
e7bcffbb59 Take target address size into account in MemoryView, fixes #9307. 2012-12-20 19:20:31 +00:00
Rene Gollent
7024fac220 Clean up _RegisterCommands().
- _RegisterCommand() now accepts a space separated list of names
  to register a command by and creates a registration for each.
2012-12-19 22:27:45 -05:00
Rene Gollent
cef640f784 Fix missing line break. 2012-12-19 22:01:51 -05:00
Rene Gollent
64f5c19ebf Add copyright attributions from originating code. 2012-12-19 22:01:33 -05:00
Alex Smith
c8d82cf6db Started adding x86_64 support to Debugger.
Stack tracing doesn't work yet, nor does single stepping (somehow
manages to completely freeze the system).
2012-12-19 19:54:20 +00:00
Rene Gollent
bbdb605224 Switch over to using Debugger as the primary system debugger.
- When a crash occurs that requires using consoled, use Debugger
  in CLI mode.

- Closes #1078.
2012-12-18 23:55:49 -05:00