41536 Commits

Author SHA1 Message Date
Urias McCullough
2aef344ad2 Fix another mouse preference issue specific to gcc4 debug build
Signed-off-by: Matt Madia <mattmadia@gmail.com>
hrev43566
2011-12-27 22:58:39 -05:00
Urias McCullough
ae2107f878 Fix PDF print driver debug code
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2011-12-27 22:58:28 -05:00
Urias McCullough
1bd15897ba Fix various issues in cortex debug code
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2011-12-27 22:58:19 -05:00
Urias McCullough
b6c526d2d9 Fix bad debug print in canna
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2011-12-27 22:58:04 -05:00
Urias McCullough
e409420486 Fix warning in BSnow debug code
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2011-12-27 22:57:53 -05:00
Urias McCullough
94624a8ad6 Fix warning in AutoMounter debug code
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2011-12-27 22:57:44 -05:00
Urias McCullough
c8a07c9f56 Fix implicit void* cast in usb_midi debug code
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2011-12-27 22:57:17 -05:00
Oliver Tappe
3d438b9605 Fix collation-related part of locale_test.
* don't try to compute the size of an array passed in as parameter,
  but use end markers instead
* use fr_CA instead of fr_FR when testing reverse collation of secondary
  differences (fr_FR doesn't do that by default anymore)
hrev43565
2011-12-27 23:34:08 +01:00
Oliver Tappe
9cb0187a4f Adjust locale_test expectations to current ICU-data. hrev43564 2011-12-27 14:16:16 +01:00
Oliver Tappe
d68d73f7a6 Improve timezone names returned by BTimeZone.
* Use TimeZone::SHORT specifier instead of SHORT_COMMONLY_USED, since
  the former yields more appropriate (textual) values. Strangely enough,
  it used to be the other way around, which is why we didn't used SHORT
  in the past.
2011-12-27 14:15:21 +01:00
Oliver Tappe
f4995c1381 Improve timezone names returned by POSIX functions.
* Use TimeZone::SHORT specifier instead of SHORT_COMMONLY_USED, since
  the former yields more appropriate (textual) values. Strangely enough,
  it used to be the other way around, which is why we didn't used SHORT
  in the past.
2011-12-27 14:14:55 +01:00
Matt Madia
83cbfa5e0e Rebuilt BeZillaBrowser for gcc4. hrev43563 2011-12-26 23:02:48 -05:00
Matt Madia
dc5a18ba3f Update ReadMe for the newer jam version. hrev43562 2011-12-26 16:15:03 -05:00
Matt Madia
d5b5b51e6c Updated the jam packages to 2011-12-22 2011-12-26 16:04:15 -05:00
Matt Madia
81275d20c7 Utilize JAMJOBS (jam 2.5-haiku-20111222) in InvokeSubJam.
Note:
As InvokeSubJam invokes a jam process separate from the first, JAMJOBS may
result in up to 2 * n - 1 jobs in total being run. While this is not accurate,
it is a better scenario than only a single job running.
hrev43561
2011-12-26 14:05:18 -05:00
Fredrik Holmqvist
7928259c69 Style fixes. No functional changes.
* Parameter renamed from s to string.
 * HasZeroByte renamed to LACKS_ZERO_BYTE and the check is inverted.
 * Removed space between cast and variable.
hrev43560
2011-12-26 18:24:22 +01:00
Fredrik Holmqvist
11048d3619 Reworked strlen and strnlen to follow style guide.
Fix problems pointed out by Marcus.
hrev43559
2011-12-25 17:00:31 +01:00
Fredrik Holmqvist
753a02c156 Reworked strlen and strnlen to look at four bytes at the time. From what I understand this should be safe.
Based on info from bit twiddling hacks: http://graphics.stanford.edu/~seander/bithacks.html
hrev43558
2011-12-24 22:27:44 +01:00
Siarzhuk Zharski
6ef455e4a2 Added AX88772A/B harwdare support
* Synchronized with FreeBSD driver - added support for AX88772A and
  AX88772B chipsets;
* Some new hardware ids added;
* Fixed devices lookup routine.
hrev43557
2011-12-24 20:09:10 +00:00
Niels Sascha Reedijk
87ab70a3e2 Update translations from Pootle and also really remove zh_hans.catkeys. hrev43556 2011-12-24 11:35:56 +01:00
Joseph R. Prostko
68fe8a9edc * Update KeymapSwitcher and Vim optional packages hrev43555 2011-12-23 18:20:08 -05:00
Niels Sascha Reedijk
8e751ae341 Rename zh_hans to zh-Hans.
We keep the underscore to help with fallback languages. So in that respect pt_BR
falls back to pt in case of untranslated strings. zh-Hans is a way of writing
Chinese, as is zh-Hant. Neither of them can or should fall back on a
(non-existent) zh language code. They can be combined to form zh-Hans_CN and
zh-Hans_TW if there are ever translators that want to further refine that
dialect.
hrev43554
2011-12-23 22:39:56 +01:00
François Revol
781fd13550 Style fixes. hrev43553 2011-12-23 17:08:03 +01:00
François Revol
a90b9b0221 Guard against buggy PCI bridges
* panic on pci controller init failure. No reason to continue just to crash later on.
* guard against buggy or misconfigured bridges (like the VIA Apollo MVP3 in my K6-2)
by limiting the recursion depth in FixupDevices and DiscoverBus.
hrev43552
2011-12-23 16:58:58 +01:00
François Revol
78ce5eb732 Add a pci:mechanism driver setting
* This should be use to force a config mechanism in case another one crashes.
* Actually doesn't seem to catch the setting passed by the boot_loader,
maybe it should be pci_config_mechanism in safemode instead ?
* Added a TODO about respecting the "don't call the BIOS" setting.
hrev43551
2011-12-23 13:55:23 +01:00
Urias McCullough
323738f8ab Fix copy/paste error in mouse preferences so it will compile with DEBUG=1
Signed-off-by: Matt Madia <mattmadia@gmail.com>
hrev43550
2011-12-22 20:33:02 +00:00
Aleksas Pantechovskis
d38ae623c3 Textencoding Kit localization support added.
* Textencoding Kit now uses localized names of available encodings;
* Default encoding for composing new messages in Mail application is now
  configurable through localization feature. Fixes #8147.
* This contribution was made as part of GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
hrev43549
2011-12-22 23:10:32 +00:00
Axel Dörfler
82a05afe30 Made the SRT parser a bit less strict.
* This allows to parse some SRTs that previously failed.
* Use the more expressive BString::IsEmpty() instead of Length() > 0.
hrev43548
2011-12-22 22:25:06 +01:00
Alex Wilson
61084e53b5 Remove clamping in new BSplitLayout methods.
Since clamping the index for these methods could lead to confusing side effects, we'll just avoid the clamping, and let things segfault when the programmer goes out of bounds.

Closes #7902
hrev43547
2011-12-22 14:16:44 -07:00
Alex Wilson
e0821f1d73 Add Hannah Boneß to the AboutSystem contributors list. hrev43546 2011-12-22 13:25:32 -07:00
Hannah Boneß
5dcd3cd1f3 Update layout building code in misc. apps (GCI 2011 task).
Replace the use of old-style BGroupLayoutBuilder and BGridLayoutBuilder with new, templatized BLayoutBuilder::Group<> etc.. in the following apps:

* CharacterMap
* Installer
* Mediaplayer
* Screenshot

This work was done for GCI 2011 by Hannah Boneß. Thanks Hannah!
2011-12-22 13:20:26 -07:00
Urias McCullough
4ad0585ebc Partial fix for DEBUG=1 build on a 64bit host
Signed-off-by: Matt Madia <mattmadia@gmail.com>
hrev43545
2011-12-21 17:21:38 +00:00
czeidler
5693bf2fa9 Tabs are now reference counted. Fix the tests. hrev43544 2011-12-21 17:50:19 +13:00
czeidler
85f746c030 Don't read beyond the matrix boundaries. This should fix #8244.
* Use std methods when possible.
2011-12-21 17:44:23 +13:00
czeidler
9472a1d6f7 Small style changes. Thanks Axel. hrev43543 2011-12-21 17:21:51 +13:00
czeidler
5e6978f457 Fix debug build. hrev43542 2011-12-21 17:02:12 +13:00
Oliver Tappe
bb6b6a1504 Correct explicitly created symlinks for ICU-devel package
* skip the right amount of extensions until the actual abi version
  is reached
hrev43541
2011-12-20 21:59:33 +01:00
Oliver Tappe
63ffb518f8 Update icu-devel packages again, as they were broken. hrev43540 2011-12-20 00:29:58 +01:00
Aleksas Pantechovskis
d01b42b970 Correct update of TextView text run on font change.
* Fixes #4698 - font preference changes were not applied
  on the next message;
* The source of problem is resetting of the text run array after
  applying new font with SetFontAndColor function. Proposed solution
  updates the text run array items fonts directly without resetting
  it them and without loosing any styling and color quiting
  information;
* This is result of completing GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
hrev43539
2011-12-19 22:49:18 +01:00
Oliver Tappe
2ba22cc36a Fix crash of AboutSystem on gcc4.
* Glibc declares and uses its own version of mbstate_t, which is
  incompatibly with our own. Mix our own fields into glibc's
  mbstate_t, such that the two structs are compatible.
hrev43538
2011-12-19 18:49:16 +01:00
Alexander von Gluck IV
4e9e029551 Set encoder dpms on dpms, it just feels right hrev43537 2011-12-19 10:47:55 -06:00
Rene Gollent
f6c8d24294 Use the correct perform invocation for these functions. hrev43536 2011-12-19 08:49:58 -05:00
Oliver Tappe
e94fa361f3 Fix #8098 (icu-devel breaking current abi symlink)
* provide separate icu-devel packages for x86/gcc{2,4} and ppc, in
  order to bypass problems with this package trying to make use of
  the /boot/develop/abi/current symlink.
hrev43535
2011-12-19 11:46:15 +01:00
Alexander von Gluck IV
94e5ca7e6d Add function to perform external encoder dpms set
* Utilize external encoder dpms set on dpms set
hrev43534
2011-12-18 21:23:57 -06:00
Matt Madia
2ccc15b7b6 Added some more information. Review appreciated. hrev43533 2011-12-18 21:48:35 +00:00
Matt Madia
c17930470d Fixed a couple of typos. 2011-12-18 21:48:34 +00:00
John Scipione
f969ed4153 A few formatting tweaks in the BEntry and BDirectory class documentation. hrev43532 2011-12-18 21:43:22 -05:00
John Scipione
d4fa97f8f8 Moved documentation for the BEntry class into a dox file to include it into the Haiku book. hrev43531 2011-12-18 21:28:55 -05:00
John Scipione
a92e17b124 Fix copyright line to Haiku, Inc. in Directory.dox and a few more small fixes. 2011-12-18 21:26:02 -05:00
John Scipione
38f6a824d2 Fix copyright line to Haiku, Inc. in GameProducer.dox 2011-12-18 21:25:31 -05:00