Commit Graph

44359 Commits

Author SHA1 Message Date
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
bc22b037c4 Style fixes to DirectWindow.h, no functional change 2012-12-21 19:18:45 -05:00
John Scipione
746abcb938 Add BCursor class documentation 2012-12-21 18:26:29 -05: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
Rene Gollent
3e441f885e Add frame dumping capabilities to report generator.
- If the top frame of a stopped thread has no arguments or variables
  available, dump the memory block to which the stack frame belongs,
  starting at the current stack pointer and extending to the end of
  the block.
2012-12-18 23:31:08 -05:00
Rene Gollent
9a4802db55 Add an indent parameter to DumpMemory().
- Adjust callers.
2012-12-18 23:30:55 -05:00
Rene Gollent
ec7c59ca09 Add memory dumping commands similar to those in KDL. 2012-12-18 21:37:55 -05:00
Rene Gollent
c7f5dd6207 Add support for memory block events to CliContext. 2012-12-18 21:37:54 -05:00
Rene Gollent
779b84b17b Add memory dumping helper to UiUtils.
- Adapted from KDL's db/dw et al.
2012-12-18 21:37:17 -05:00
Rene Gollent
55751d083a Move Tokenizer/Token into ExpressionParser's namespace. 2012-12-18 21:31:43 -05:00
Rene Gollent
03289a339c More adjustments to CliContext.
- CliContext now listens for value node container events so that
  commands can request such a wait as well
- Implement an event wait mechanism for commands to make use of.
  Adjust CliStackTrace and CliPrintVariable accordingly.
2012-12-18 18:11:55 -05:00
Rene Gollent
486c4d38b2 Revert unintended change in previous commit. 2012-12-18 18:11:54 -05:00
Rene Gollent
eceaf78610 Remove unnecessary code.
- ResolveValueNodeJob() already handles location resolution for the
  NodeChild so this step is unnecessary.
2012-12-18 17:38:19 -05:00
Rene Gollent
68359a7361 Fix missing newline in some cases. 2012-12-18 17:38:19 -05:00
Sergei Reznikov
b7b5d7636b 64-bit fixes for kernel with KDEBUG_LEVEL = 0
Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
2012-12-18 14:56:16 +00:00
Alex Smith
6e5f42ccc9 Added OpenSSL for x86_64. 2012-12-18 14:47:02 +00:00
Rene Gollent
596922bb7f Add CLI print variable command. 2012-12-17 20:46:27 -05:00
Rene Gollent
c56757fb7c Remove unnecessary frame parameter. Adjust callers. 2012-12-17 20:46:14 -05:00
John Scipione
7fe8b2bf2a Also lock fAboutWindow before Quit()ting in other apps 2012-12-17 16:46:41 -05:00
John Scipione
a4d5ac6a25 Lock Webpositive about window before Quit()ting, thanks Axel. 2012-12-17 16:31:25 -05:00
Rene Gollent
1d0383b862 Add file mistakenly missed in previous commits. 2012-12-16 23:21:48 -05:00
Rene Gollent
a4df762f17 Fix #9294.
- Fix incorrect order of operations in ValueNodeManager.
- Upon receiving a changed notification, VariableTableModel needs to
  make tree table aware that the previous nodes have been removed.
2012-12-16 23:04:52 -05:00
Rene Gollent
287cda6f72 Add some more commands to the CLI.
- Added 'frame' command for setting/printing the context's current stack
  frame within the active stack trace.
- Added 'variables' command for printing the list of variables visible
  within the current frame.
2012-12-16 22:03:35 -05:00
Rene Gollent
1325ad5fe8 Various improvements to CliContext.
- CliContext now tracks the current stack trace and frame if applicable.

- CliContext now carries a value node manager. This allows it to track
  the variables in the currently active frame.
2012-12-16 22:03:35 -05:00
Siarzhuk Zharski
74f911be74 Gently guessing prev. line caret pos on UP_ARROW
Fixes #3656
2012-12-16 20:29:04 +01:00
Siarzhuk Zharski
0d3bd614c7 Do not include CR-terminator in line width-height calculations
Fixes #3658
2012-12-16 17:59:57 +01:00
Rene Gollent
5bda396ef4 Refactor Dwarf*DebugInfo to be able to work with limited info.
- DwarfImageDebugInfo and DwarfFile will now allow us to construct
  DWARF debug info objects even if the only section available for
  use is .eh_frame. This essentially allows us to use CFI-based
  unwinding even for release executables (assuming C++ is involved),
  which means we can properly unwind the stack even for binaries
  compiled with fomit-frame-pointer. This becomes more important
  for x86-64, since omit is the ABI default there.

- Pull a GetFunctionsFromSymbols() out of DebuggerImageDebugInfo. This
  is shared between DebuggerImageDebugInfo and DwarfImageDebugInfo for
  creating debug information entries in the absence of debugging
  information.
2012-12-16 11:21:52 -05:00
Alexander von Gluck IV
dc95dfe60b package kit: Fix independent build
* ZlibCompressionBase.cpp isn't the only
  source / header to required zlib
* Just add zlib as a dep for all kit sources
2012-12-15 18:27:10 +00:00