Commit Graph

40982 Commits

Author SHA1 Message Date
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
John Scipione
30d17caa9d Added support for colored window tabs in the default decorator. 2011-11-13 14:58:21 -05:00
Niels Sascha Reedijk
20db27ba98 Update Dutch catalogs from Pootle. 2011-11-13 20:53:59 +01:00
pulkomandy
da3d59b153 Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-11-13 17:47:34 +01:00
pulkomandy
113bc195de Get MacDecorator building again.
Also includes some style fixes and checks on fTopTab which seems to be NULL sometimes.
Does NOT behave well with tabbing yet and still has some drawing bugs.
2011-11-13 17:43:52 +01:00
Niels Sascha Reedijk
2722f5926e Update Dutch translations from Pootle. 2011-11-13 17:40:10 +01:00
Alexander von Gluck IV
db686b374c Add legacy disabled bios read and add missing static types
* on RS600 > chips we now call avivo disabled bios read vs
  relying on shadow rom
2011-11-13 09:51:27 -06:00
Alexander von Gluck IV
3ebbf65cfc Correct chipset check on ni bios disabled read as our chip order is correct 2011-11-13 09:51:26 -06:00
Alexander von Gluck IV
681be5be60 Add one-off gpio corrections on dce 3 and dce 4 chipsets 2011-11-13 09:51:26 -06:00
Siarzhuk Zharski
f37821851e Refactoring of 8-bit encodings support.
* Fixed issue introduced in hrev38139: restoring from the line
  drawing table was hard-coded to UTF8 Ground table. That is wrong:
  the table for currently configured encoding must be set back.
  Please look on using of _GuessGroundTable() for details;

* Fixed issue introduced in hrev34894: the semantic of convert_xx_utf8
  functions requires the destination length to be set equal to the
  target buffer size. Pre-hrev34894 usage of "homebrew" conversion
  functions was a bit different - destination length was set to 0.
  This made any converstions of input data useless and produce no
  visual results;

* Private list of supported encodings (Encoding.cpp) was replaced by
  using BPrivate::BCharacterSetRoster functionality. That allows to
  use centralized info about encodings in unified with other
  applications (Mail & StyledEdit for example) way. Most of currently
  enumerated in UTF8.h encodings now available in Terminal.
  Note that UCS-2 and UTF-16 are temporary (???) excluded from the
  list of encodings supported by Terminal.

* The B_UTF16_CONVERSION was added in system-wide UTF8.h declarations.
  This character set is available for enumerating by BCharacterSetRoster
  but not listed in public API. Looks like it was just missed;

* Special note about "Text Encoding" entry in Preference File:
  So known "shortname" of encoding was used in the preferences file.
  For details look on the encodings list in previous version of
  Encoding.cpp. As result of migrating to BCharacterSet-provided
  resources this list was deleted and is not available anymore.
  Instead of it the IANA name of the character encoding targeted
  to be used for this purposes. Frankly speaking this part looks
  like not working at the moment. The value of text encoding is
  hardcoded to "UTF-8" now and is not affected by any operations
  in Terminal menu. Note that "shortname" for default encoding
  was "UTF8" but the saved value is "UTF-8" - and they are looking
  not dependent at all. So this change should not introduce any
  kind of backward incompatibility.
2011-11-13 13:17:38 +01:00
Philippe Saint-Pierre
e11b156da9 Fix for Defaults button issues in Appearance preflet
* Implement isDefaultable() and SetDefaults() for Antialiasing tab;
* The default color set was out of sync with the actual colors,
  it now gets the actual colors rather than hardcoding them;
* Some hardcoded values for defaults related to antialiasing were
  differents from actual default values stated in AppServer;
* Revert now works for Antialiasing settings also.

Fix #3331
2011-11-12 20:34:12 -05:00
Alexander von Gluck IV
91affb2da4 Add legacy card connectior detection using table method
* attempt AtomBIOS table probe first, then fallback to legacy method if
  no connectors found (or table version is too old)
* add function to look up object info on older cards
* dcc still needs some work on old cards
* my X1200 IGP gets video now
2011-11-12 19:04:17 -06:00
François Revol
9638d7f4aa ARM: Use the serial port as console for now, as VT100.
* Subclass ConsoleNode as VTConsole
* use it to implement SerialConsole
* Use it as the default console for now to simplify debugging.
VTConsole could probably be factored out into boot/platform/generic/ someday.
2011-11-12 23:58:56 +01:00
François Revol
b33a1b1c5f PowerPC platform might not always be OpenFirmware 2011-11-12 23:46:40 +01:00
John Scipione
0f27a79e43 Check to see if the argument of tangent divided by half pi is an odd integer. If so, throw an out of domain error. 2011-11-12 17:20:09 -05:00
Travis Geiselbrecht
6c6edebce8 [build][OSX] revise the darwin test to darwin10 and darwin11, not a wildcard
As PulkoMandy pointed out on IRC, darwin10 and 11 (10.6 and 10.7) are at least partially 64bit, so
the test only applies there. When darwin12 comes out it'll have to be fixed.
2011-11-12 13:25:16 -08:00
Travis Geiselbrecht
b2916b0c6e Fix build on OSX Lion, which has apparently bumped the darwin version to darwin11 2011-11-12 13:01:10 -08:00
Alexander von Gluck IV
e35c1f2d02 Add card post detection for legacy models
* check for older cards, and see if they are posted
  using the older pre-avivo registers
2011-11-12 14:22:57 -06:00
Alexander von Gluck IV
207794909d Merge branch 'master' of ssh://git.haiku-os.org/haiku 2011-11-12 11:42:19 -06:00
Alexander von Gluck IV
0188ca92a5 First attempt at older Radeon card support
* add missing chipset ranges
* add a few more older (X1200) PCI ID's (mostly IGP)
* add code to detect and set frame buffer size on old chipsets
* we get to the connector detection currently and fail due to the
  lack of legacy support on my X1200 IGP
2011-11-12 11:41:31 -06:00
François Revol
9e5b2c347a Fix typo. 2011-11-12 17:35:02 +01:00
Ingo Weinhold
a235c39ee4 Added BuildPlatformStaticLibraryPIC rule.
It works like BuildPlatformStaticLibrary, but generates position
independent code.
2011-11-12 15:40:17 +01:00
Ingo Weinhold
e89f127b9e KernelLd rule: opt-out linking against libsupc++
Introduced HAIKU_NO_LIBSUPC++ variable on target to prevent linking
against libsupc++.
2011-11-12 15:40:17 +01:00
Ingo Weinhold
cd3e093133 Fix x86_64 BuildConfig issues
* Resolve TODO: HOST_GCC_BASE_FLAGS should not be included in
  HOST_LDFLAGS. Enable adding "-fno-strict-aliasing -fno-tree-vrp"
  accordingly.
* Fix handling of HOST_PLATFORM_IS_64_BIT and HAIKU_HOST_USE_32BIT: The
  former does now state whether the platform is effectively treated as
  64 bit platform, i.e. it actually is 64 bit and the 32 bit mode is
  not enforced. HAIKU_HOST_USE_32BIT is now only set when the platform
  is actually 64 bit, but 32 bit mode is enforced.
2011-11-12 15:40:17 +01:00
Ingo Weinhold
1c2d7d3a86 Fixed x86_64 handling by the build system.
* Map build variables HOST_CPU and HOST_ARCH to x86_64, if it they are
* x86 and
  64 bit and define the __x86_64__ C macro instead of __INTEL__ in that
case.
* <OS.h>: Also handle __x86_64__.
2011-11-12 15:40:16 +01:00
Ingo Weinhold
6d367d369e Ignore build/user_config_headers 2011-11-12 15:40:16 +01:00
Ingo Weinhold
38156af0a4 Added .gitignore 2011-11-12 15:40:16 +01:00
Alexander von Gluck IV
5ec0ede4ba * style cleanup
* whitespace cleanup
* no functional change
2011-11-12 08:34:34 -06:00
Oliver Tappe
e67294d567 Update ReadMe to reflect our switch to Git. 2011-11-12 15:02:42 +01:00
Alexander von Gluck IV
eb1f77586b * improve comments on card families
* add a few missing PCI ID's
* add a first r520 PCI ID's (commented out for now)
* name a few rare CAYMAN FirePro cards based on info from AMD website


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-12 01:56:31 +00:00
Rene Gollent
221f5018b9 Revert part of r43166 that was included accidentally. This resulted in
incorrect behavior while processing certain kinds of messages, and
consequently deadlocks in some apps. Fixes #8101.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 23:39:02 +00:00
Scott McCreary
3c38636c9f Update git to version 1.7.7.2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 20:56:14 +00:00
Adrien Destugues
86f4c50bc6 Use timing constraints from the G35 programming manual (which are much more relaxed)
Should help with #8001.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 14:57:52 +00:00
Joachim Seemer
4d571a5479 Updated German, Finnish and Swedish catkeys. Took me quite a few days to convince HTA to export the files...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-11-11 14:02:31 +00:00