Commit Graph

43088 Commits

Author SHA1 Message Date
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
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
Ingo Weinhold
e6418c88b5 Declare syscall_numbers.h include for x86_signals_asm.S
Fixes #8718 (again).
2012-07-13 07:08:52 +02:00
Matt Madia
792c13dbf9 Added WebPositive to nightly-* build profiles. 2012-07-12 20:53:20 +00:00
Rene Gollent
639e18555f Fix indentation and match parameter names with .cpp. 2012-07-12 19:47:04 -04:00
Matt Madia
29c5696ed7 Changes relating to building WebPositive from source.
* Add WebKit optional package.
 * Make WebKit a dependency of WebPositive
 * Enable building of WebPositive from source.

Note: WebKit currently expands to lib/.  Alternative gcc-subdirectories
are not taken into consideration. Though it is trivial to change.
2012-07-12 19:45:32 +00:00
Matt Madia
dada4f4116 OptionalBuildFeatures changes for building WebPositive.
* Detect hybrid builds.
 * Only enable WebKit build feature when WebPositive is added
 * Provide a more accurate message for gcc2hybrids.
2012-07-12 19:45:30 +00:00
Rene Gollent
0e20120117 Fix build, header changes were forgotten in previous commit. 2012-07-12 19:38:09 -04:00
Hamish Morrison
639ac47052 BTextView should not accept disallowed chars being pasted.
* Patch from #6885: This filters out any disallowed characters from text
  being pasted or dropped in. If the resulting filtered text is zero
  characters long, it beeps. Works with styled text too.
* Coding style: variables renaming by korli.
2012-07-12 23:56:36 +02:00
Jérôme Duval
5e4a2efb47 ntfs: takes read only volumes into account #8449
* initial patch from kag_anil fixed by myself
* fix log message in fs_write_attrib()
2012-07-12 21:07:19 +02:00
Fredrik Holmqvist
826e58d886 Remove old leftovers. 2012-07-12 20:38:55 +02:00
Fredrik Holmqvist
a51a5f3e1e Fixes to Haiku specific code to work with ACPICA 20120711. 2012-07-12 18:32:56 +02:00
Fredrik Holmqvist
6822cda011 Update to ACPICA 20120711.
This is an update from 20110922 and A LOT has happened since then. See
https://acpica.org/download/changes.txt for all the changes.
One of the more interesting is some problems with shutdown in ACPICAhas been fixed.
There may still be problems on our side though.
2012-07-12 18:32:55 +02:00
Fredrik Holmqvist
778438b20b Remove unneeded platform headers. 2012-07-12 17:48:22 +02:00
Alex Smith
7dc738b0fb Fixed ordering of registers in arch_debug_gdb_get_registers.
Current code was sending EAX, EBX, ECX, EDX..., GDB (all versions as far
as I can tell) expects EAX, ECX, EDX, EBX... Also added missing FS and GS.
2012-07-12 15:59:50 +01:00
Ingo Weinhold
8c51cca27e Fix accidental partial revert of 0174267 2012-07-12 11:06:10 +02:00
Ingo Weinhold
b1700b2cd1 Declare syscall_numbers.h include for x86_signals.cpp
Fixes #8718.
2012-07-12 10:54:30 +02:00
Ingo Weinhold
e2d2662bc4 Automatic whitespace cleanup 2012-07-12 10:53:42 +02:00
Rene Gollent
95453175cd Fix other part of #8710.
- When binary searching functions in the source entry list,
  comparing by name and location alone isn't sufficient, since
  templates will match those for different instances, Fixes a crash on
  exit where the wrong function would get removed from the list, while
  the one we actually wanted to remove was still in the list, but then
  had its source code cleared. This would later crash the comparison
  function due to not being able to get its source location.
2012-07-11 23:39:17 -04:00
Rene Gollent
aeadcf457d Partially fix #8710.
- When an image was unloaded, its corresponding image info was never
  removed from TeamDebugInfo's list, leading to the latter containing
  a deleted object, resulting in various random crashes.
2012-07-11 23:37:36 -04:00
Rene Gollent
c4120026a5 Refactor previous commit.
- Keep knowledge of the existence and need to search the different
  frame sections contained within DwarfFile.
2012-07-11 21:56:15 -04:00
Rene Gollent
dfa21dfeab Fix #8508.
- When attempting to unwind the call frame, we now search for the appropriate
  FDE in both .debug_frame and .eh_frame. This mirrors gdb's behavior and
  works around the ever-changing whims of the gcc developers as to which
  section the requisite FDE/CIE resides in.
2012-07-11 19:12:59 -04:00
Alexandre Deckner
2218c029a5 Add localization support to WebPositive, patch by Humdinger
* Includes style fixes
* Functional fixes by myself, patch wouldn't build
2012-07-12 00:47:46 +02:00
Jérôme Duval
f190d7d580 app_server: cleanup of the previous commit 2012-07-11 23:56:38 +02:00
luroh
d0a19242a8 Add FreeType headers dependencies, #8716. 2012-07-11 23:51:49 +02:00
Alexandre Deckner
41a212d241 Update haiku-webkit build package. Use new version info 2012-07-11 22:43:22 +02:00
Jérôme Duval
9fb13e2c1e app_server: fixed FreeType headers dependency #8716
* added DrawingEngine.cpp
2012-07-11 22:12:38 +02:00
Jérôme Duval
36daae570c app_server: fixed FreeType headers dependency #8716
* added ServerFont.cpp
2012-07-11 21:44:46 +02:00
Alexander von Gluck IV
e278dc80e9 Flurry: Fix Mesa dependency for out-of-order builds
* Resolves #8717
2012-07-11 14:15:06 -05:00
Jérôme Duval
74880af10c app_server: fixed FreeType headers dependency #8716
* added source files which use ServerFont.h and ServerApp.h
2012-07-11 20:38:10 +02:00
Fredrik Holmqvist
0174267ad4 Move ACPICA files into acpica subdir and use acpica subdir layout.
This matches layout in ACPICA and keeps a cleaner boundry between
Haiku and ACPICA code. The only haiku specific file in ACPICA is
achaiku.h and it will hopefully be included upstream soon.

Merging will be simpler as we can just replace acpica contents and
fix Jamfile and build errors in our code.
2012-07-11 18:50:06 +02:00
Alex Smith
97f5a0bd35 Fixed case-sensitive filesystem check. 2012-07-11 17:41:52 +01:00
Fredrik Holmqvist
e9bad6ecf5 Remove duplicate include. 2012-07-11 16:56:41 +02:00