Commit Graph

41115 Commits

Author SHA1 Message Date
Rene Gollent
11102e3848 Reworked GUI settings storage.
- Simplified things so each window simply records all its settings into
  a BMessage, which is what ultimately goes into the actual UI settings.

- Added settings storage/retrieval to the various sub views of the
  team window. This means that the column widths/positioning on all
  views hosting a column list view are now also preserved and restored.
2011-11-19 18:17:40 -05:00
Rene Gollent
79dbafbc66 Add GUI archiving utility functions to build. 2011-11-19 18:17:39 -05:00
Rene Gollent
1483288fe1 Simplify archiving functions. 2011-11-19 18:17:37 -05:00
Rene Gollent
258d8821ea Simplify GUITeamUISettings to be simply message-based. 2011-11-19 18:17:36 -05:00
Rene Gollent
29ca41d541 Add utility functions for saving/restoring the state of a Table.
For the time being, these are simple wrappers around BColumnListView's
{Save,Load}State() functions.
2011-11-19 18:17:34 -05:00
Rene Gollent
0c07f01eb6 Modify TeamWindow to use factored out archiving functions. 2011-11-19 18:17:33 -05:00
Rene Gollent
8314c36b58 Add GUISettingsUtils class to house settings utility functions. 2011-11-19 18:17:31 -05:00
Jérôme Duval
b1f9573f59 btrfs: added support for zlib decompression of inline extents.
Reuse code from tarfs to decompress zlib compressed inline extents.
No idea yet on how to decompress regular extents which are currently
served by the file cache.
2011-11-19 23:34:45 +01:00
Niels Sascha Reedijk
940c916013 Sync Belarusian, Russian and Slovak from Pootle. Note that this first commit will reshuffle the entries, there should not be any functional changes. 2011-11-19 17:39:43 +01:00
Humdinger
a655ad0e6b Updated German catkeys. 2011-11-19 17:19:04 +01:00
Oliver Tappe
a1721a7c30 Remove superfluous link to changelog.txt of bonnie++ testsuite.
* Eclipse's Git-plugin chokes on symlinks, and since this is the
  only one in our repo and it isn't needed at all, it has to go
2011-11-19 13:27:30 +01:00
John Scipione
2231cbd5fe Replace the US_PC_keyboard_keycodes.png image in the Keyboard special topic of the Haiku book with an optomized version saving over 100k. 2011-11-18 15:59:41 -05:00
Jerome Leveque
8519dc0f22 Internal routing management for ice1712 audio driver
* internal chip routing management.
* style cleanup.
2011-11-18 19:20:25 +01:00
Michael Lotz
8a5fb91c07 Stricter tests for PCI bridges at interrupt routing.
Validate the candidate child device a bit more by checking the device ID
and the base and subclass of the device. We don't even know if the child
is still on the PCI bus and some firmware may mark disabled devices by
simply invalidating one of these values. Possibly fixes #8111.

Added TODO concerning that we might not want to fail at all since we
ensure that we matched all devices after routing preparation at which
state we would notice any missing child devices anyway.
2011-11-18 13:03:46 +01:00
Niels Sascha Reedijk
81f3e1eeb2 Update Dutch catalog from Pootle (testing incomplete translations). 2011-11-17 20:22:51 +01:00
Jérôme Duval
5eac5217a6 Update iprowifi4965 firmware.
Update iprowifi4965 firmware to 17.168.5.3 for iwlwifi-6000g2a.
2011-11-17 19:34:14 +01:00
Rene Gollent
23829e4e74 Adjust SaveSettings() to take into account split view method naming changes.
Remove unnecessary saving of collapsible property.
2011-11-17 09:12:49 -05:00
Rene Gollent
7b27c8fc41 Adjust method naming. 2011-11-17 09:12:47 -05:00
François Revol
345c3b6c39 Some pointers about porting to iPaq devices since I have one now 2011-11-17 15:07:36 +01:00
Rene Gollent
7449551dab Save/restore the collapsible and visible properties on the splitters as well. 2011-11-16 22:20:26 -05:00
Rene Gollent
6beb27d4a1 Add {Get,Set}ItemVisible() accessors and setters. 2011-11-16 22:19:02 -05:00
Rene Gollent
6d16dcfa0c Add GetCollapsible() accessor to BSplitView/Layout. 2011-11-16 21:43:35 -05:00
Michael Lotz
35632c56af Fix harmless oversight marking pages with the wrong state.
While the log of hrev35726 says that unusable page ranges are supposed
to be marked with PAGE_STATE_UNUSED and allocated ones with
PAGE_STATE_WIRED, both actually marked with PAGE_STATE_UNUSED.
2011-11-16 11:06:46 +01:00
Michael Lotz
4200073542 Tiny optimization by skipping a no-op iteration.
We initialize the physicalPagesEnd from physical_memory_range[0] so
re-evaluating that range is a no-op.
2011-11-16 10:56:16 +01:00
Michael Lotz
3dbd9c1148 Fix the LIMIT_AVAILABLE_MEMORY debug option.
When limiting the available memory by reducing the page count it may not
be enough to just limit sNumPages. Depending on the physical memory map
non existing pages between ranges (sNonExistingPages) would still be
added up and later subtracted from the sNumPages, resulting in a wrong
max page count. Also due to the fixed removal of non existing page
ranges the actually available memory would usually not be the amount
set via LIMIT_AVAILABLE_MEMORY.

Instead we now calculate the available memory when going through the
physical memory ranges and limit/exit as soon as we've reached the
desired amount of available memory (also ignoring further non-existing
pages).
2011-11-16 10:40:56 +01:00
Siarzhuk Zharski
57093ab5ed Belarusian, Russian and Ukrainian translations updated from HTA. 2011-11-15 23:48:13 +01:00
Ingo Weinhold
2f7b75b323 Fix the gcc bison issue for real
Also touch cp/parse.{c,h}, which apparently are the culprit.
2011-11-15 20:22:23 +01:00
Ingo Weinhold
4f23d85e4f Work around issue with newer bison versions
Touch the source files generated by bison, so that make won't try to
have them updated.
2011-11-15 19:49:25 +01:00
Humdinger
ffa7ec82bc Updated Finnish catkeys. 2011-11-15 15:04:17 +01:00
Rene Gollent
4c43e5395e Fix incorrect storage of breakpoints.
When a breakpoint is asked to archive itself to a message, ensure that
the message is empty before writing. Fixes breakpoints past the first one
being broken on restore due to each breakpoint archive containing
the combined settings of all previous breakpoints.
2011-11-14 18:49:53 -05:00
Alexander von Gluck IV
cf225839c2 Fix WebWatch build, remove __declspec(dllexport) 2011-11-14 14:59:31 +00:00
Alexander von Gluck IV
f09b888e61 Fix login window width to prevent time / date being cut off 2011-11-14 14:24:31 +00:00
pulkomandy
ff49e36ea9 Fix BSnow localization.
* Having defines in a header that are used only a single time is not helpful.
  * B_TRANSLATE in a macro is only expanded when the macro is used, so it escaped collectcatkeys eyes.
2011-11-14 20:39:41 +01:00
Michael Lotz
c12f51264b Ensure the sanity of the stats returned, make the TODO a Note.
* Ensure that we don't underflow the used_pages count and that used
  + cached pages don't overflow max_pages. As there is no locking the
  values may change while we read them so that such situations could
  arise.
* Make the TODO about the missing locking into a Note explaining the
  above, as it is not really worth adding locking here. The stats are
  only informational.
2011-11-14 19:07:37 +01:00
John Scipione
4d3d4878a5 Patch by taos to add localized catalog for the Keymaps Modifier keys window.
Due to a missing entry in Keymap's Jamfile, the localized strings of
ModifierKeysWindow.cpp are not yet included in the corresponding catalog
on HTA.

The attached patch adds ModifierKeysWindow.cpp to DoCatalogs and changes 'Ok' to 'OK'.

Fixes #8127
2011-11-14 11:50:51 -05:00
Alexander von Gluck IV
5a2c35728d Improve legacy card support and cleanup
* break apart encoder type lookup to share with legacy
  connector probe
* add function to check for external encoders
* reduce chip requirement to Avivo+ from R600 for register population
2011-11-13 23:30:05 -06:00
Philippe Saint-Pierre
8458b41ba6 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-11-13 22:21:17 -05:00
Philippe Saint-Pierre
a9e957e2de DiskUsage: Implement truncation in tabs labels
* To allow more devices to be shown and accessible within
  DiskUsage, truncate the columns names if necessary.

Might help but not quite fix #6800.
2011-11-13 22:20:25 -05:00
Rene Gollent
56f0b3baa9 Merge branch 'debugger' 2011-11-13 20:23:53 -05:00
Rene Gollent
72d140460d Remember the last source location path chosen by the user.
- When the user chooses the location of a source file via the file panel,
  we now preserve the file panel so it can remember its previous location
  when invoked again.

Resolves the other part of #8095.
2011-11-13 20:19:10 -05:00
Rene Gollent
f7337f78ee Fixed intelligent file location services in Debugger.
- When adding files/directories into the file manager, we now also take care
  to add them to their respective parent entry lists as well. This allows the
  intelligent location functions to actually traverse directories to update
  all sibling/parent locations properly as needed.

- Slight changes to ensure that the implicit/explicit status of the location
  can be passed around throughout the process. Needed for the above to work.

Resolves the intelligent location portion of #8095.
2011-11-13 20:13:56 -05:00
François Revol
478dc9887e PPC: Preliminary untested boot support for Common Firmware Environment
CFE is used in the upcoming Amiga X-1000 dualcore PPC board.
* Largely inspired by the OF and U-Boot code.
* Still largely stubbed out.
* The loader builds but I don't have a machine to test it. Anyone interested?
2011-11-14 01:31:50 +01:00
Michael Lotz
5247333d36 Don't do the heap size calculation when using the slab as heap.
The initial heap size calculation only applies to the legacy/debug
heap, so it isn't needed when using the slab as kernel heap.
2011-11-13 22:20:24 +01:00
Michael Lotz
a28bab4790 Add the object pointers to the panic messages. 2011-11-13 22:18:29 +01:00
Michael Lotz
2cdd33d4ff Add an assert to ensure the wired count doesn't wrap. 2011-11-13 22:02:36 +01:00
Michael Lotz
3733c51d38 Fix the computation of used memory and add a TODO.
* The altered used pages calculation of hrev43168 wasn't correct, as
  the inactive page queue may (validly) contain mapped pages as well.
  Those would then get counted twice (as they are included in
  gMappedPagesCount already).
  Instead we calculate the used pages from the total page count, minus
  everything we account for otherwise. Doing it this way is possible
  without introducing any additional counters, as all the counts to
  subtract are already present (as opposed to some of the ones that
  would be needed for adding the counts up). Fixes #8109.
* Added TODO regarding the problem of not locking any of the counters
  which runs the risk of them getting modified while we haven't yet read
  all of them.
2011-11-13 22:02:36 +01:00
John Scipione
3b1791fa15 80 char limit fix. 2011-11-13 15:47:27 -05:00
John Scipione
912ab02b72 Remove some commented out code in WorkspacesView.cpp 2011-11-13 14:58:22 -05:00
John Scipione
eafed2f6d8 Make the window frame color settable by the decorator fixing a TODO. Although I don't think it is used by the Workspaces app anyway. 2011-11-13 14:58:22 -05:00
John Scipione
a18c2a6d9e Adjust the border color using tints so that it is just so, not too 3d. Get rid of all the extra contstants and just tint off of the base color. 2011-11-13 14:58:21 -05:00