Commit Graph

44667 Commits

Author SHA1 Message Date
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
Jérôme Duval
f1a3e05d8c style fix as suggested by axeld and jscipione. 2012-12-11 23:21:45 +01:00
Sam Toyer
3cdae65125 sem_timedwait: fix errno, return value and NULL behaviour
* Takes into account remarks from Ingo.

Signed-off-by: Jerome Duval <jerome.duval@gmail.com>
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-12-11 19:23:17 +01:00
Rene Gollent
154b1dd2bf Refactor DebugReportGenerator to use PrintValueNodeGraph. 2012-12-10 23:19:10 -05:00
Rene Gollent
2f50903e1d Factor out a PrintValueNodeGraph() helper from DebugReportGenerator.
- Intended to also be used by CLI to print variables there.
2012-12-10 23:18:37 -05:00
Rene Gollent
e8a837faac Fix crash in BListValueNode.
- Don't try to create children if location resolution failed.
2012-12-10 23:12:53 -05:00
Siarzhuk Zharski
0cc8d8ab3e Node monitoring and on-the-fly textencoding change
This work is based on the draft node monitoring implementation
created by Vlad Slepukhin during GCI 2012 and includes following:

* Refactoring of the document "Reload" feature - it replaces
"Revert to saved" one because do the same things and a bit more.
Looks like we have to keep "Reload" menu entry alive until
StyledEdit will get more functional Undo/Redo features. Reload
functionality is also heavily used in node monitoring and
on-the-fly text encoding changing. Fixes #6887;

* Support for text encoding on-the-fly switching. This make
life easier for those who lives in countires with multiple
popular 8-bit encodings. Russia is the sample of such
de facto standards' clash (KOI-8R vs CP1251 etc.);

* Node Monitoring support with alerting user in case the file
size or modification time were changed. Another alert is shown
in case edited file was removed or moved outside of the current
volume. Moving file inside of current volume silently changes
references. Choosing "Ignore" will supress new change alerts
until next Reload or Save user request;

* Do not nag user on quiting window with zero-length untitled
document. Not a Big Deal but annoys in some cases using this
editor session as temporary storage.
2012-12-10 16:27:53 +01:00
Alexander von Gluck IV
1d95a50e05 Haiku: Fix check of bitmap size.
* We now have basic Gallium software rendering!
* Still lots more work to do.
2012-12-10 02:37:30 +00:00
Rene Gollent
ad99f882d3 Print parameters/local variables if available..
- If debug information is present, then for each stack frame we now
  also dump all function parameters and local variables and their
  respective values, as well as their first level of children if
  applicable.
2012-12-09 16:09:15 -05:00
Rene Gollent
84a00bf887 Make string size available in value location. 2012-12-09 16:09:14 -05:00
Rene Gollent
2c32e74360 64-bit fixes. 2012-12-09 16:09:14 -05:00
Rene Gollent
13c04a36b0 Adapt VariablesView to use the ValueNodeManager. 2012-12-09 16:09:13 -05:00
Rene Gollent
c1034c63fb Pull a ValueNodeManager class out of VariableTableModel.
- The intention is to have a class which handles the actual management
  of the variable node graph, creating child nodes and such. This way
  the GUI, CLI and report generator don't have to each reimplement
  these low-level parts and can instead concentrate on their relevant
  representations thereof.
2012-12-09 16:09:12 -05:00
Matt Madia
adf4c44437 Added more {OpenGrok sites, with owner information. 2012-12-09 12:17:57 -05:00
Adrien Destugues
1c3ccf8d39 usb_floppy: handle B_GET_DEVICE_{NAME,SIZE} 2012-12-09 17:54:48 +01:00
Przemysław Buczkowski
47f015cc94 Polish default keymap change
Swapped Polish typist's keymap with much more frequently used programmer's
keymap.

Signed-off-by: Przemysław Buczkowski <przemub@yahoo.pl>
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-09 08:59:23 -05:00
Matt Madia
5644d283b6 Manually applied: Fix typos: super block -> superblock (#8974)
by: Przemysław Buczkowski <przemub@yahoo.pl>
2012-12-09 08:51:58 -05:00
Przemysław Buczkowski
46cf7a5a73 Fix typos: super block -> superblock (#8974)
Signed-off-by: Przemysław Buczkowski <przemub@yahoo.pl>
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-09 08:47:46 -05:00
Olivier Coursière
a6f39df3f7 Poorman : avoid a double free in ls method. Should fix #8617.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-09 08:38:08 -05:00
Ingo Weinhold
f0cacbb32b OptionalBuildFeatures -> BuildFeatures, make use of new rules
Got rid of X86_ONLY and friends in HaikuImage, FloppyBootImage, etc.
Instead we use build feature specification annotated lists with
FFilterByBuildFeatures (either explicitly or implicitly where passing
the list directly to the image rules).

I just translated the variables to the respective annotatation in most
cases, though in some cases different annotation would be more correct
(e.g. for the OpenGL stuff).

Provides a simple framework for addressing #3798. The interested reader
may add the build features and add/adjust the annotations accordingly.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
33c254876c ImageRules: Allow build feature annotated params in Add* rules
More precisely in the rules that take multiple targets. It doesn't make
that much sense e.g. for AddSymlinkTo*.
2012-12-09 04:07:48 +01:00
Ingo Weinhold
ffa0014b8e MiscRule: Add new rules to deal with build features
* EnableBuildFeatures: Enables build features.
* FIsBuildFeatureEnabled: Checks whether a build feature is enabled.
* FMatchesBuildFeatures: Checks more complex build feature
  specifications.
* FFilterByBuildFeatures: Filters lists annotated with build feature
  specifications.
2012-12-09 04:07:48 +01:00