Commit Graph

44338 Commits

Author SHA1 Message Date
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
Fredrik Holmqvist
f236b941d0 Display controls driver stub.
Work I did at Begeistert, trying to use the new driver manager and
detecting display controls. It should probably be a good example of
how a new driver is built. It currently loads and detects
display controls correctly but doesn't do any actual work yet.
Not sure when I have the time to finish the driver, it shouldn't be
that hard but I currently have have other priorities. Feel free to
work on it in the meantime.
2012-12-15 14:44:13 +01:00
Fredrik Holmqvist
92d766df7c Pass a handle to evaluate_object as start point. 2012-12-15 14:10:11 +01:00
Niels Sascha Reedijk
4ef95cb195 Update translations from Pootle 2012-12-15 06:50:34 +01:00
Tri-Edge AI
69eca70155 WebPositive: Search engine string now gets encoded. 2012-12-15 01:38:24 +01:00
John Scipione
6084a1e1a4 Update the about window of WebPositive.
Also update the version number to 1.1-alpha in the rdef file
matching the text on the old about window.
2012-12-14 19:28:05 -05:00
Janus
9e265b3329 Fixes #7639 - the redraw issue in ColumListView.
Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-14 20:54:14 +01:00
Alex Smith
fbcad4e5e5 Added some more x86_64 optional packages from scottmc. 2012-12-14 17:20:03 +00:00
Philippe Saint-Pierre
8a24526e3f LaunchBox: remove redundant Locking. Thanks Stippi! 2012-12-13 19:38:08 -05:00
Tri-Edge AI
bafbb92901 WebPositive: Smart URL handling improvements (GCI task)
- Fixed: WebPositive now successfuly detects foreign protocols and
launches their respective applications.
 - Improved: The decision whether to use a search engine or a DNS lookup
for the text entered in the address bar, including for internationalized
names (IDN) (though we do not handle them correctly later on yet).
 - TODO: escape the query string before passing it to webkit
(for example for: "3+4")
2012-12-14 00:40:03 +01:00
Philippe Saint-Pierre
4b84a0b5c8 Mail: don't require a subject to save a draft (#9218)
Also :
 * if the body of message changes, ask to save draft when closing window
 * disable save button when successfully saving draft
2012-12-12 23:10:02 -05:00
Philippe Saint-Pierre
53b234eb1c Mail: Reworking of the unique filename discovery (drafts) 2012-12-12 21:49:20 -05:00
Philippe Saint-Pierre
55ef15c45a Mail: use B_FILE_NAME_LENGTH as limit when saving drafts 2012-12-12 19:41:57 -05:00
Philippe Saint-Pierre
4d6bb87ea7 LaunchBox: finish saving settings before closing the window (#6347) 2012-12-12 18:05:18 -05:00
Humdinger
d7250540e0 Using a variable instead of translating a string twice.
Thanks John for the guidance.
2012-12-12 21:25:10 +01:00
Humdinger
748378c826 Renamed cusor colour settings.
"Cursor text" and "Cursor background" in the Color popup menu are
a bit unintuitive. Changed to "Text under cursor" and "Cursor".
2012-12-12 18:50:13 +01:00
Humdinger
f7c33e7ff9 Fixes case style of a label, "Sound file:" 2012-12-12 18:33:05 +01:00
Gleb Posobin
a51eefdd08 Hint to layout manager for window width estimation
Fixes #5289

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-12-12 12:06:07 +01:00
Rene Gollent
be56273bbb Refactor DebugReportGenerator to use jobs.
- Instead of asking nodes to resolve themselves directly,
  DebugReportGenerator now uses the interface listener to ask the
  debugger's workers to resolve them on its behalf.
2012-12-11 22:56:47 -05:00
Rene Gollent
00e7e607ef Always forward ValueChanged() event.
- If creating children failed, we wouldn't forward the event on
  to the listeners.
2012-12-11 22:56:46 -05:00
Rene Gollent
9403439347 Ensure that node pointer is valid before traversing. 2012-12-11 22:56:46 -05:00
Alexander von Gluck IV
8f06ba2f84 swpipe: Improve llvmpipe environment
* Only call correct public llvmpipe includes
* Clean up tracing
2012-12-12 03:04:43 +00:00