Commit Graph

38395 Commits

Author SHA1 Message Date
Rene Gollent
dc693e9265 Extend Architecture to help retrieve return values.
- Architecture now has a new function to retrieve the location where
  a return value can be found. Added implementation for x86 and stub
  for x86-64.
2012-12-31 20:25:09 -05:00
Rene Gollent
84ea02a0f4 Extend InstructionInfo for subroutines.
- InstructionInfo now also stores the destination address of subroutine
  call instructions.
- Adjust callers.
2012-12-31 20:25:09 -05:00
Rene Gollent
9ede3c06e8 Add ReturnValueID base type. 2012-12-31 20:25:08 -05:00
Murai Takashi
eed38dfa96 Fix initializing fClockSettingFile.
Signed-off-by: Rene Gollent <anevilyak@gmail.com>
2012-12-31 20:23:26 -05:00
Alexander von Gluck IV
e71af5ae6c intel_extreme: Add RC6 downclocking support
* Generation 6 (SandyBridge) and later support
  automatic downclocking of the GPU offering
  substantial battery use reductions.
* As we're playing with fire here, only use on
  mobile devices SandyBridge or later.
* This is testing stable on my SandyBridge laptop,
  however I need further confirmation of the
  functionality of this.
* Move clock gating into a function in the power.cpp
  file
2012-12-31 16:35:22 -06:00
François Revol
87466cc915 ftp: remove sa_family_t hack
We now declare sa_family_t as mandated by POSIX.
2012-12-31 15:38:31 +01:00
Stefano Ceccherini
1797be0dc6 Some style fixes. 2012-12-31 12:21:25 +01:00
Tri-Edge AI
8cd10c710f Gravity: Big code changes
* Reworked code style completely.
* Improved the behaviour of the particles.
* Made particles smaller (2,5x performance gain).
* Cleaned unnecessary includes.
* Tried improving performance with glCallList - performance dropped even more.
* Tried improving performance with glDrawArrays - no noticeable performance changes.
2012-12-31 07:42:51 +00:00
Humdinger
776c58b2b5 Unifying the quit/save alerts.
Wherever I found an alert prompting to save changes, I used the
button labeling 'Cancel', 'Don't save', 'Save' with the first button
left aligned, 2nd and 3rd right aligned.

I added the shortcuts 'd' for 'Don't save, and 's' for 'Save' where
not already set.

The topic was discussed at
http://permalink.gmane.org/gmane.os.haiku.devel/23244
The discussion died down, I hope I made changes everyone can live with.
2012-12-30 20:32:04 +01:00
Matt Madia
cb6daa41db Replace isometric toolbar icons with 2D style.
The icons are from ZuMi : http://zumi.xoom.it/myhaiku/btoolbar/index.html
Closes #9292
2012-12-30 10:19:19 -05:00
threedeyes
a52b9419e7 Apply patch by dsjonny from ticket #9339: Localization for ICNS Translator 2012-12-30 04:32:44 +00:00
threedeyes
27ca4ba2ad Gravity: Disable warnings for gcc2 build. 2012-12-30 03:59:25 +00:00
Alexander von Gluck IV
48ec1c9d22 intel_extreme: Enable IvyBridge PCI ID's 2012-12-29 00:09:01 +00:00
Rene Gollent
bd26704e42 Use minimal frame info optimization in a few more places. 2012-12-28 22:23:06 -05:00
Alexander von Gluck IV
59b18b8836 intel_extreme: Disable IvyBridge
* Prevent driver from picking up IvyBridge
  for the moment. (VESA works for the moment)
* We get a white screen of doom. Looks as though
  supporting IvyBridge will require more than
  just basic fixups.
2012-12-28 19:01:06 +00:00
Alexander von Gluck IV
881a823e8a intel_extreme: Improve accelerant tracing and debug output
* Several messages to syslog weren't tagged with
  intel_extreme making troubleshooting difficult
* Fix a few typesize printf issues with B_PRI macro
2012-12-28 19:01:05 +00:00
Alexander von Gluck IV
783039344d intel_extreme: Fix tracing toggle names 2012-12-28 19:01:03 +00:00
Alexander von Gluck IV
d1043dfa07 intel_extreme: Add IvyBridge fixups
* Add initial clock gating fix (may need tweaking)
2012-12-28 19:01:02 +00:00
Alexander von Gluck IV
50efc4c719 intel_gart: Add IvyBridge bridge info 2012-12-28 19:01:00 +00:00
Alexander von Gluck IV
bb2de8c7dd intel_extreme: Add missing IB Server GT2. Thanks premislaus. 2012-12-28 19:00:59 +00:00
Alexander von Gluck IV
5176bea376 intel_extreme: Improve tracing
* This was needed to find a bug while
  working on IvyBridge support.
* Code looks a bit cleaner as well now.
* If something goes wrong, user is now
  better notified via syslog
2012-12-28 19:00:57 +00:00
Jérôme Duval
ef769e5e87 add declaration of sa_family_t in sys/socket.h
* added missing declaration of sa_family_t in sys/socket.h, this fixes #8731
  thanks to Anarchos for the patch.
* fixed the build of the command ftp
2012-12-28 22:28:13 +01:00
Gleb Posobin
9d2f78ca74 Added Grep utility to the OptionalPackages
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-12-28 19:58:34 +01:00
Hamish Morrison
d1f280c805 Add support for pthread_attr_get/setguardsize()
* Added the aforementioned functions.
* create_area_etc() now takes a guard size parameter.
* The thread_info::stack_base/end range now refers to the usable range
  only.
2012-12-28 18:02:58 +00:00
Jérôme Duval
00e7904406 include string.h for FD_ZERO in sys/select.h
* sys/select.h was not self contained before, this fixes #9327
* index is defined as a function in string.h, fixed resulting name
  collision in glut_shapes.c
2012-12-28 18:30:03 +01:00
Alexander von Gluck IV
d917edcecd gravity: Fix path in Jamfile. Fix build 2012-12-27 17:35:48 -06:00
Alexander von Gluck IV
93f124253a screensaver: Add gravity based on GCI 2012 work
* A modified version of TriEdgeAI's original work.
* Cleaned up style problems
* Some virtual functions didn't mesh properly with
  ones defined in the OpenGL kit (Draw for example)
* Wrote Jamfile
* Add missing include cstdlib for rand
* Not in image yet as it still needs gcc2 testing
2012-12-27 16:40:47 -06:00
Alexander von Gluck IV
f736d30c9c intel_extreme: Drop odd semicolon causing gcc warnings 2012-12-26 11:01:47 -06:00
Alexander von Gluck IV
660ca29ee0 intel_extreme: Add IvyBridge PCIID's
* This needs testing and likely some IvyBridge
  fixups
2012-12-26 11:01:43 -06:00
Humdinger
e55f69faf9 Use "Revert" instead of "OK" as button label. 2012-12-26 11:07:39 +01:00
Humdinger
c6cd8df773 Correct case in GUI string. 2012-12-26 11:02:51 +01:00
Rene Gollent
bc1ec2ec41 Initial work towards retrieving function return values.
- When creating a stack frame, we now look at the current function's
  state to determine if the last executed statement was a function call.
  Still need to determine the call destination in order to look up
  the latter function, retrieve its return type, and then request
  retrieval of the actual return value if applicable.
2012-12-26 00:21:06 -05:00
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
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
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
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
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
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
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
Jeremy Clifford
e01243816e Add Geforce 7900 GS to nvidia driver & accelerant. Tested with DELL U2312UM 1920x1080x32 @60Hz on gcc2hybrid nightly 44579.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-08 20:58:54 -05:00
Janus
a154553c0b Fix #8963. Fixes Sounds focus cycling using Tab
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2012-12-08 20:21:26 -05:00