Commit Graph

40099 Commits

Author SHA1 Message Date
Axel Dörfler 2ff8a6237a * Fixed coding style violation introduced with the last commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 21:30:38 +00:00
Axel Dörfler 0ba65dce69 * Added TODOs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 21:23:47 +00:00
Axel Dörfler d8c71f47c3 * Only add the VESA modes if there is no EDID available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 21:22:53 +00:00
Clemens Zeidler f9b2ba2b84 Patch by taos. Adds missing localization to Mail status window + cosmetic changes in Mail
preflet. Replacing B_TRANSLATE with B_TRANSLATE_COMMENT to better discern "never" and 
"Never".



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 20:31:12 +00:00
Adrien Destugues d316dc57de Remove over-optimization trying not to redraw the background under slider's thumbs.
This gets sliders with custom, non-rectangle thumbs, like the one in APlayer or the example in the BeBook, working properly.
I hope it doesn't break anything - it doesn't seem to but I may have overlooked some pixels.

Fixes #7817.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 15:52:45 +00:00
Joachim Seemer 6c22c45346 Applied patch by taos to show Slovakian flag in ReadOnlyBootPrompt. Fixes #7806. Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 15:07:54 +00:00
Clemens Zeidler 0a24883020 Fix linprog tests and add some more smaller test cases.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 07:19:30 +00:00
Clemens Zeidler 1245d875a3 Search for the correct constraint when removing an inequality constraint. This finally deletes the slack variable and the helper constraint.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-14 07:13:35 +00:00
Axel Dörfler f7d98b0923 * The VESA accelerant now always makes sure that all supported resolutions are
added to the mode list (in 60 Hz, but that doesn't really matter).
* It does this by iterating over the modes found, and computes the
  display_timings from them using the GTF code.
* This should help with one of the problems of ticket #7751.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-13 23:28:33 +00:00
Axel Dörfler 95009aeeb0 * Imported Andy Ritger's GTF code in compute_display_timing.cpp, and mangled it
into a usable function - this has some coding style issues I did not care to
  fix.
* _AddBaseMode() now computes the mode in case it is not present in the list
  yet.
* This should help with bug #7787.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-13 23:26:26 +00:00
Joachim Seemer 95b98f42b4 Applied patch by taos to complete localization. Thanks, closes #7803.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-13 16:25:22 +00:00
Joachim Seemer 66c2e14bd2 Updated Swedish catkeys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-13 16:10:12 +00:00
Axel Dörfler 429d0b8c0b * Fixed build.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-12 21:51:24 +00:00
Alexander von Gluck IV 84bcfa3d4b * Add mc.cpp for memory controller functions
* Remove read32MC as it doesn't apply to radeon cards >= r600
* Add tmds.cpp for tmds connected monitor management (current radeons
  only have TMDSA for the moment) still needs TDMSPower, etc.
* Add some MC calls to mode.cpp, causes KDL so commented out atm.
* Add command to idle all DACs (although POWER_RESET doesn't do
  anything on DACs, we should be consistent)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-12 20:14:31 +00:00
Jérôme Duval a133bc725c Patch from diver to fix #7685: use the correct path to find sed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 21:43:04 +00:00
Alexander von Gluck IV 037bc8a188 * Lots of style cleanup on my code
* Remove some badly ported code in FlashBulkWrite


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 21:35:27 +00:00
Alexander von Gluck IV ff2898e24a * Use haiku provided arch defines Axel pointed out
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 20:06:39 +00:00
Alexander von Gluck IV b8d5c5cec2 * Some cleanup of some really bad style introduced by myself
* No functional change


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 20:02:19 +00:00
Alexander von Gluck IV 3fe7883778 * remove superfluous parentheses as per Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 18:46:37 +00:00
Alexander von Gluck IV 70d8929d63 * Wrap x86 asm in defines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 18:05:46 +00:00
Alexander von Gluck IV 414b6dd98e DeadYak gave a better solution to r42407, simply typecast the defines as we don't want to modify the AMD radeon_hd register headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 17:59:36 +00:00
Alexander von Gluck IV c59e093db8 wrap x86-only asm code in ifdef's to ensure radeon driver compiles on powerpc and other platforms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 17:50:58 +00:00
Alexander von Gluck IV 5da2e46394 prevent radeon_hd enumeral mismatch on powerpc/gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 17:28:14 +00:00
Siarzhuk Zharski fca9893516 Just for porter's comfort: Original FreeBSD code snippet restored and moved under #ifndef __HAIKU__ section. That should make a hint during updating this file to upcoming releases of FreeBSD.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-11 11:44:10 +00:00
Philippe Saint-Pierre 8ec0a4a37d Cpu Identification :
* Don't return Core 2 Extreme as a fallback result, keep the more generic variant Core 2 for this.
 * Test the presence of "Pentium" in the name and in that case, use that word to identify, despite
   the family id/product name confusion.

Might fix #6136, #4427.  needs testing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-10 21:03:53 +00:00
Axel Dörfler 72031f525f * Provided a way to define language keymap mappings, and used them to solve
bug #7765, ie. don't use the Dutch keymap but prefer US-International.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-10 21:02:12 +00:00
Axel Dörfler 3191427a6e * Moved the resource loading into a separate private function
load_resources_if_needed().
* Renamed the Esperanto flag resource to "eo" since it is a language; language
  specific flags are now found by their two letter language code.
* This closes ticket #7614, as the Esperanto flag is now found and displayed
  by ReadOnlyBootPrompt.
* Rearranged code in BLocaleRoster::GetFlagIconForCountry() to make it more
  readable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-10 16:21:09 +00:00
Ingo Weinhold b5a7089a43 OptionalBuildFeatures: Specify a grist for ExtractArchive. We would otherwise
get clashes between target names e.g. between the "common/include/" for OpenSSL
and the one for CLucene. Should fix #7798.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-10 15:18:52 +00:00
Rene Gollent 4b48067a57 BClipboard::{Start,Stop}Watching(): Return an error if the passed in messenger
isn't valid.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-10 13:09:15 +00:00
Ryan Leavengood ff37608cc3 Remove unneeded LC_ environment variables which are glibc extensions not
supported by Haiku's locale system. Thanks Oliver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 17:25:22 +00:00
Axel Dörfler af66203031 * Converted the hash used to the BOpenHashTable instead of khash - basically
just applied r38391 to the IPv6 code (no time to resolve the TODO, and put
  that into a shared class).
* Fixed failure on init handling.
* Not tested, but should work at least better than before, as the hashtable has
  never been initialized before...
* This closes bug #7795.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 13:28:51 +00:00
Siarzhuk Zharski 96b88da011 Local Haiku change, missed during update to FreeBSD 8.2 restored.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 09:39:58 +00:00
Alexander von Gluck IV f2fe29a0db * Final (hopefully?) calculation for blank start/end
* Lets actually call PLLPower after PLLSet
* Improve screen blanking function
* Detect DAC/PLL to use separately from CRT id
* Add DACSense that senses displays on DACA/DACB
* Grab CRT in PLL code via gRegister crtid
* Set overscan to 0 for now
* Setting extended video modes now kinda works sometimes :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 05:23:51 +00:00
Joachim Seemer 8f3fe015dc Updated catkeys from HTA. Thanks translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 05:08:18 +00:00
Ryan Leavengood d806242e06 Forgot to svn add the new locale command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 04:31:22 +00:00
Ryan Leavengood 83a30ba91e Implement #7495 as per Matt and Ingo's suggestions.
The various LC_ environment variables (as well as LANG) are set in
/etc/profile, based on the output of this new simple bin command locale.
LANG and LC_CTYPE are set based on the first preferred language, whereas the
formatting variables are all set based on the formatting conventions language.

The list of LC_ variables are from the locale command on Linux.

Based on my testing, at least the date command obeys these variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 04:29:20 +00:00
Siarzhuk Zharski 698b6790bc * Network driver for DEC/21143 and K° ("dc") ported from FreeBSD 8.2;
* Network drivers for 3com, ipro100, rtl8139 are updated from FreeBSD 8.2 Release branch;
* Some functions, defines and typedef required by updated and fresh ported FreeBSD
  drivers were added into freebsd_compat layer.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-08 23:00:38 +00:00
Alexander von Gluck IV eb5c4b0745 * Style Cleanup
* Remove some un-needed test stuff
* Perform a little re-ordering
* Make scale corrections


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-08 04:25:21 +00:00
Alexander von Gluck IV d97da786e1 * Refactor PLL legacy registers to be pllIndex aware
* Rename PLL register vars to more closely match AMD defines
* Small logic fixes
* Fix pretty large PLLControlTable bug in legacy set.
  Wasn't using output of PLLControlTable.
* Fix *REALLY* big bug in CRTCGrab.
  Using PLL2 value instead of PLL1 due to incorrect
  index offset of pllIndex.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-08 03:35:01 +00:00
Rene Gollent f1aea13b5e Detect if the message node is contained in a BMessage field child. If so,
handle the message in flat format. This gets messages embedded inside other
messages working.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-07 21:51:50 +00:00
Ingo Weinhold 85b41b15d9 * Added bool and double BString::operator<<() versions.
* Removed the clashing operator in JobSetupDlg. Automatic whitespace
  cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-07 10:17:15 +00:00
Rene Gollent 2a3c2964f1 BMessageValueNode wasn't taking into account the possibility that type
information was unavailable, leading to a crash when used without a debug
libbe being present.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 23:34:02 +00:00
Ingo Weinhold 1e393751ba MemoryManager::_GetChunks(): Fixed incorrect check. The area structure offset
introduced in r37701 was not taken into account for computing the short meta
chunk size. Fixes the reopened #6237.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 20:23:42 +00:00
Axel Dörfler 1ea7b190fe * Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 17:40:29 +00:00
Axel Dörfler e27005998f * Applied a patch of x-ist that implements auto hide functionality with minor
coding style changes by myself.
* Thanks, and sorry for the long delay!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 17:34:44 +00:00
Axel Dörfler 13bec72c73 * Add IPv6 modules to the build; they shouldn't do any harm at least, and a bit
more testing can't hurt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-06 16:51:01 +00:00
Rene Gollent 90753bf805 Fix leaking of type references.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-05 00:57:29 +00:00
Alexander von Gluck IV b6c5f46896 * Add D2 GRPH update lock register to priv headers
* Add crtControl global register
* Add grphUpdate storage
* Do some logical reordering of register writes
* Correct crt final power-on checks
* Enhance tracing
* Disable PLL, it is needed but seems to completely break
  the modesetting resulting in black-screen-of-doom.
  (fixing PLL set/calibration is now priority one)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 22:24:17 +00:00
Clemens Zeidler 33dd44da71 Small leftover from my debug code. Return the correct status now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 21:14:11 +00:00
Clemens Zeidler 63bf94e273 The complete S&T group has an additional, surrounding magnetic border now. Fixes #7437.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-04 21:10:10 +00:00