Commit Graph

43432 Commits

Author SHA1 Message Date
Alex Smith
385d69fc01 Made it possible to build kernel modules for x86_64.
Added the necessary build flags for modules, and added a module (dpc)
to the floppy image for x86_64 builds for testing purposes. The module
gets loaded correctly and its code runs without issue. Only non-trivial
addition is the different method for generating kernel.so, this is
explained in the kernel Jamfile.
2012-07-19 17:53:46 +01:00
Alex Smith
0cbce9aa47 A few 64-bit fixes for ELF/module code. 2012-07-19 12:45:17 +01:00
Rene Gollent
03aa456e2e Fix mouse down handling error.
- When handling a mouse click, the button was hardcoded instead of
  passing the actual button clicked by the user. Spotted by Chris
  Roberts.
2012-07-18 23:21:06 -04:00
Rene Gollent
ed15f1b8fb Fix scrollbar handling when removing rows in BCLV.
- If removing a row results in there no longer being any rows whatsoever
  visible, force a scroll back into the visible range. Fixes #8287.
2012-07-18 23:02:30 -04:00
Scott McCreary
af2f75a016 Updated cmake to 2.8.5 2012-07-18 23:38:53 +00:00
Scott McCreary
0783fe388d Updated build for LibXML2 2012-07-18 23:37:00 +00:00
Scott McCreary
95c8d9513a Updated build for XZ-Utils 2012-07-18 23:33:36 +00:00
Scott McCreary
1820d4fd15 Added XZ-Utils as a dependency for LibXML2 2012-07-18 23:32:47 +00:00
Rene Gollent
3a5779744e Handle compound node values in variables view.
- If the node we're looking at is a compound node, retrieve its location
  and show that as the value with an indicator to clarify that it's an object.

- Minor tweaks to tooltip format.
- Style cleanups.
2012-07-18 18:44:56 -04:00
Rene Gollent
666222d3fd Resolve register names, print memory piece size information. 2012-07-18 18:44:55 -04:00
Rene Gollent
2216ccb7e2 Implement support for tooltips in VariableView. Implements #8286.
- These show the memory or register location(s) of the variable over which
  the mouse is hovering.
2012-07-18 18:44:54 -04:00
Rene Gollent
489cc35661 Add Tooltip support to TreeTable. 2012-07-18 18:44:53 -04:00
Adrien Destugues - PulkoMandy
8c115d4c5f Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-18 18:12:41 +02:00
Fredrik Holmqvist
a2e7d8df7b callout_schedule uses ticks as timeunit, not usecs.
As suggested by Rene Gollent, we used ticks as usecs.
2012-07-18 17:09:36 +02:00
Fredrik Holmqvist
4feeeb4a8f Don't write wast amounts of debug info about scanning. 2012-07-18 15:32:58 +02:00
Fredrik Holmqvist
19d67b5513 This is set in opt_wlan.h, and should only be done in one place. 2012-07-18 15:32:58 +02:00
Adrien Destugues - PulkoMandy
c9f321ebc7 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-17 18:17:08 +02:00
czeidler
ee3a1ebebf Fix possible crash. 2012-07-17 11:31:45 +12:00
Adrien Destugues - PulkoMandy
816e3cb649 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-16 19:57:30 +02:00
Fredrik Holmqvist
73fc635b3d Tick at 1000Hz not 1MHz.
Our FreeBSD networking code defined hz to 1MHz and 1 tick = 1 / hz,
but the clock code ticked 1 tick at 1000Hz.

This caused all calculations that are done on ticks, autonegotiation
and wlan scanning to be done very often as FreeBSD uses 1000 Hz
(100Hz for ARM). Defaults for autonegotiation is 5 and 17 ticks.

(Another interesting thing is that callouts are using 8% cpu...)
2012-07-16 13:52:08 +02:00
Alex Wilson
3bbf781c1a Fix #8706 in Poorman - Selecting a web dir
There is no 'name' entry in the message from a B_OPEN_PANEL BFilePanel.
Also fix a little memory leak along the way.
2012-07-16 14:59:38 +12:00
Alex Wilson
0a96da93d1 Fix style on inline methods in PoorMan. 2012-07-16 14:59:36 +12:00
Alex Wilson
c5a09a88e9 In PoorMan: use templatized layout builders.
Also clean up layout a bit.
2012-07-16 14:59:35 +12:00
Alex Wilson
a1ae802279 Convert Poorman to use the Layout API.
Also includes many style fixes.

This patch was done by tokyo6pm, and then updated by mks after changes
to Poorman broke the patch.

ticket: #3787
2012-07-16 14:59:33 +12:00
Alex Wilson
2d4288086f Make SpaceLayoutItem compose spacing using BControlLook.
This allows for passing spacing/inset flags to BSpaceLayoutItem.
Eg. in a builder, you could AddStrut(B_USE_ITEM_SPACING)
2012-07-16 14:59:32 +12:00
John Scipione
c3c5b8e8ae Update the Color Box border color in Appearance and put a TODO in. 2012-07-15 17:36:03 -04:00
Rene Gollent
8c4773f75b Adjust address semantics of CStringValueNode.
- When resolving its value, CStringValueNode now sets its node child's
  address to the address of the string buffer rather than the location of
  the originating pointer, which allows things like Inspect to pick that up.
2012-07-15 15:48:07 -04:00
John Scipione
4bb5af765f Add control mark color setting. #8054
An enhancement adding a setting to Colors under Appearance to
set the mark color of radio button and check box controls.
2012-07-15 15:09:04 -04:00
Rene Gollent
17ef26a9f8 Add inspection context menu action.
- TableCellContextMenuTracker now supports menus that don't have a settings
  submenu, since some variables won't have renderer settings but will still
  have context actions.

- Add _GetContextActionsForNode() to retrieve the list of contextual actions
  available for a given model node. Currently this is only adds an action
  to inspect the memory address of the highlighted value, but will be extended
  for other actions later.
2012-07-15 14:34:56 -04:00
Rene Gollent
ae8018310a Set default target in PrepareToShow(). 2012-07-15 14:34:34 -04:00
Rene Gollent
544a66de68 Extend MSG_SHOW_INSPECTOR_WINDOW to allow specifying an initial address. 2012-07-15 14:34:33 -04:00
Rene Gollent
0712121cdb Add support for actions to TableCellContextMenuTracker.
- VariablesView's context menu tracker now optionally accepts contextual
  actions to add to the menu in addition to the current renderer settings.
2012-07-15 14:34:32 -04:00
Rene Gollent
8293199831 Add definition for a general-purpose action menu item. 2012-07-15 14:34:31 -04:00
Alexander von Gluck IV
e233998005 radeon_hd: Skip 9DIN connector.
* Since we really don't support multiple
  heads well, skip 9DIN for the moment as
  it is a luxury.
2012-07-15 11:58:19 -05:00
Adrien Destugues - PulkoMandy
5c48a6b93d Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-15 17:30:48 +02:00
Fredrik Holmqvist
6d51de482c Disabling interrupts before entering sleepstates.
This didn't work properly before but seems to work fine now.
Also added a panic for now, to find out if it is an issue atm.
2012-07-15 14:34:43 +02:00
Fredrik Holmqvist
cad6c2c536 Fix compilation after rename and switch to cpp. 2012-07-14 22:19:31 +02:00
Fredrik Holmqvist
775afec4cc Simplify source file names and go from .c to .cpp 2012-07-14 22:19:31 +02:00
Rene Gollent
6faa3c9766 Fix #8729.
- If we're asked to generate an entry for a tag we don't recognize,
  return an error so don't then attempt to add a null/invalid entry into the
  compilation unit's entry list and later crash dereferencing it.
2012-07-14 12:09:11 -04:00
Rene Gollent
c163f973e6 Fix resource leak in error cases. CID 611238. 2012-07-14 11:24:22 -04:00
Rene Gollent
2a8e9bb83d Fix missing break statement. CID 611232. 2012-07-14 10:40:44 -04:00
Rene Gollent
c22cb42c69 Clean up dead code. CID 611306. 2012-07-14 10:37:25 -04:00
Alex Smith
b2cd72d8f3 Implemented arch_debug_call_with_fault_handler for x86_64. 2012-07-14 09:23:48 +01:00
Alex Smith
368f253347 Merge branch 'master' into x86_64 2012-07-14 08:49:14 +01:00
Rene Gollent
89149ce667 Extend IntegerFormatter to handle non-hexadecimal properly.
- When asking for signed/unsigned, IntegerFormatter was previously
  treating all value types as int64, which would result in much larger
  than expected values in the variable list in some cases. Inspect the actual
  integer type of the variable and adjust the format string accordingly in
  order to deal with that.
2012-07-13 21:04:50 -04:00
Rene Gollent
f55410e169 Fix uninitialized member variable.
- This would randomly prevent the inspector window from being usable
  since we wouldn't create it, thinking it already existed.
2012-07-13 19:49:07 -04:00
Rene Gollent
975867a4ff Fix drawing bug in BStringField.
- If a string column was exactly the correct pixel width for the strings
  contained within it, they would skip attempting to truncate the string.
  However, the truncated string was always used for final drawing, with
  the end result that the fields would be drawn blank. This would sometimes
  manifest itself in Debugger where things like ID columns wound wind up
  showing no data until one resized the column.
2012-07-13 19:38:41 -04:00
Rene Gollent
d826a252c1 Cleanup, no functional change. 2012-07-13 18:24:57 -04:00
Adrien Destugues - PulkoMandy
ab3e5e110a Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-07-13 20:54:01 +02:00
Alex Smith
bcb07a319b Implemented the rest of the kernel debugger functions for x86_64.
Merged with the x86 implementations, mostly the same except for a
few differences. GDB stub is currently broken, will investigate
later.
2012-07-13 14:09:09 +01:00