Commit Graph

35830 Commits

Author SHA1 Message Date
Axel Dörfler
b216fbd077 * Applied next work in progress patch by Atis that takes into account most of
my comments so far. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 17:09:12 +00:00
Oliver Tappe
6d6408d6bc Cleanup, no functional change
* coding style adjustements
* fixed all warnings

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 16:26:53 +00:00
Philippe Houdoin
1c6a53c07c Fixed warnings about ErrorCallback() hidding BGLView method. Should works as expected now. Plus, no more warnings. Yeah.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 15:24:12 +00:00
Adrien Destugues
8b39afead5 * Fix wrong function call in TimeZone.Code() leading to a localized string being returned instead of the expected code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 14:57:46 +00:00
Adrien Destugues
1c99030935 * Style fixes pointed out by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 14:45:54 +00:00
Philippe Houdoin
235129deb8 Ooops, should not have been commited yet. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 14:32:21 +00:00
Adrien Destugues
e88fbde60b * Fix some issues in collators archiving and key computation
* The test now pass. But unarchiving still isn't working and restores the default collator instead of the archved one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 14:23:08 +00:00
Philippe Houdoin
a7bc66a9f5 Expanded glutDeviceGet() support. Now reports the key repeat settings I added a few days ago.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 13:55:25 +00:00
Philippe Houdoin
a67d485cf3 Reduce warnings noise/signal a bit under gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 13:36:25 +00:00
Adrien Destugues
2c6ebfaaea * Fix collator text
* Fix archiving/unarchiving to provide at least a valid object. However, ICU archiving system doesn't look like it's working well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 13:16:11 +00:00
Adrien Destugues
110649a1a4 * Collator API now actually uses ICU.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 11:29:14 +00:00
Alex Wilson
fdc1b8cd84 Add an rdef file for /system/bin/notify which specifies the B_BACKGROUND_APP flag. Fixes #6399.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 08:38:59 +00:00
Rene Gollent
2ad2951ed5 Fix yet another cause of the boot volume icon being mapped incorrectly (as pointed out by a gcc warning): the value chosen for B_BOOT_DISK was well outside of the range of the directory_which enum. Consequently it wound up getting truncated and never correctly being matched in the switch that grabs the icon from resources. Curiously, this bug/warning only showed up with a cross-compiled executable, but not with one compiled with the development toolchain compiler packages. Should hopefully nail this bug once and for all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-28 01:06:58 +00:00
Alex Wilson
5c47e35e2a Updated BTextControl and its custom BLayoutItems. Also a bit of style cleanup. Broke up BTextControl::_InitData() method into _InitData() and _InitText() and moved initialization of the BTextView there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 22:16:46 +00:00
Alex Wilson
7a37b89be9 Updated BMenuField and its custom BLayoutItems for layout-safe archiving. Added an _InitMenu(const BMessage*) method that inits the menu during unarchival.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 20:59:47 +00:00
Alex Wilson
4a254e4ddb Generally, clean up new archiving constant names & strings to be consistent in all classes. Modify archiving constants to be const char* const (thanks Ingo). Also modify archiving in many classes to use less fields by storing more data in arrays and structs. The common min, max, and preferred sizes, for example are always stored in an array now. In BTwoDimensionalLayout and BSplitLayout, the insets are archived in a BRect. Also fixed a typo in BGridLayout which caused column info to be incorrect during archival.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 20:17:13 +00:00
Oliver Tappe
c3bcd1ce7c * remove references to timezone files, as those no longer exist
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 19:30:02 +00:00
Philippe Houdoin
8a87043c4b Fixed a typo spotted by dru345 on #haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 16:32:09 +00:00
Axel Dörfler
2ebcf777bf * Implemented support for the 'z' qualifier prefix for [s]size_t.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 15:39:47 +00:00
Michael Pfeiffer
6f0d416957 * Moved enconding files into system/data/PDF Writer directory,
as correctly pointed out by Ingo these are no setting files.
* Use find_directory() here and in places marked with TODOs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 14:45:25 +00:00
DarkWyrm
f8f48f3d14 I managed to miss these two files the last time I worked on resedit. How it took this long for me to notice, I'll never know. :/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 11:00:56 +00:00
Adrien Destugues
ba12b8a9c1 * Remove references to the timezone files in userbuildconfig jamfiles. We would need another AddSymlinkToHaikuImage
example...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 10:46:02 +00:00
Adrien Destugues
4782f2be6c * Remove now unneeded (hopefully) timezone data
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 09:48:36 +00:00
Adrien Destugues
1855b44cdf * Set the ICU default time zone from the locale preflet. Unfortunately it looks like this doesn't solve all the problems
yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 09:45:52 +00:00
Philippe Houdoin
ad47766b81 Fixed wrong checksum, whick break the build. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 09:19:24 +00:00
Adrien Destugues
4e525978ba * Make linkcatkeys output the fingerprint in decimal in case of error. This makes it easier to match with the one in the
catkey file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 09:16:38 +00:00
Philippe Houdoin
d1bb33767c Fix Tracker russian catalog, broken by previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 08:42:42 +00:00
Philippe Houdoin
b599c219a3 Fixed Volume sizes unit in info window, using string_for_size().
This fix #6395.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 08:40:13 +00:00
Oliver Tappe
c090a0fd84 * updated ICU build packages with newer builds that try a bit harder to avoid
warnings and incorporate some of the ICU-patches we had in our repo before
  we upgraded to 4.4.1
* fixed remaining warnings when building locale kit
* activated EnableWerror for locale kit
* added 'Unicode' license, which is the second license in use by ICU


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 22:05:39 +00:00
Clemens Zeidler
a28bf6c79d Add conversion operator to the BReference class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 19:18:56 +00:00
Michael Pfeiffer
b085f93bcd * Added files used by PDF Writer to the image
(closed ticket #6380).
* Changed path to /boot/common/settings.
Someone feel free to change the implementation to get 
the path from find_directory(...). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 18:30:36 +00:00
Adrien Destugues
d5e92b1a2c * Move the flag to the left of the listviews, like in the time preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 15:13:00 +00:00
Stefano Ceccherini
111b8ee836 Better wording.
The colors don't need to be public.
Style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 14:07:52 +00:00
Adrien Destugues
4ae5a45220 * Rewrote the timezone selection part of the time preflet to make use of ICU instead of our custom TZData.
* Not completely working yet, hte POSIX API isn't very happy about ICU timezone names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 13:56:50 +00:00
Philippe Houdoin
26bfe3cb27 Applied patch by Alexander von Gluck (kallisti5) - ticket #6350.
Small changes done: append ACPI node name to device name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 12:54:44 +00:00
Stefano Ceccherini
004b2edb11 Style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 12:39:18 +00:00
Stefano Ceccherini
ed47eeec78 Style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 12:33:52 +00:00
Stefano Ceccherini
6491fb598a Terminal will issue an alert, if there are active processes and the
user closes the window (doesn't work if the user closes only a tab, yet).
Active by default but can be disabled by a checkbox.
- The preference window needs to be reworked.
- Wording of the alert and the option can be improved (I accept advices).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 12:24:31 +00:00
Adrien Destugues
f700bfd569 * FixStringForSize : without context, the locale kit was in trouble finding the right string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 09:22:02 +00:00
Philippe Houdoin
924b42436f Style fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 08:19:19 +00:00
Alex Wilson
45a167a94d In BUnarchiver::IsInstantiated(), catch a possible NULL dereference, make archive parameter to BUnarchiver::IsArchiveManaged() const.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 08:02:33 +00:00
Alex Wilson
c216fe9d13 Update (de)mangle_class_name() functions to be compiler version aware.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 05:10:17 +00:00
Rene Gollent
d66fde128b Moved Alex Wilson to current maintainers list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 01:49:57 +00:00
Matt Madia
266c6cf464 Remove useless commented code. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 23:41:39 +00:00
Oliver Tappe
8eff03f570 * fixed all build warnings by collectcatkeys that I found
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 22:58:29 +00:00
Oliver Tappe
ad51686353 * improved the locale kit build rules and headers to use a different set of
B_TRANSLATE-macros when running collectcatkeys, simplifying the regex a lot
* added B_TRANSLATE_NOCOLLECT...-macros for the case where a non-literal
  string shall be translated, but not picked up by collectcatkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 22:47:39 +00:00
Oliver Tappe
68018dbe1a * fix lost translation strings of StringForSize
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 22:35:58 +00:00
Oliver Tappe
5b333005de * remove dead code
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 22:19:33 +00:00
Philippe Houdoin
aacfa4790d Implemented glutSetKetRepeat() and glutIgnoreKeyRepeat().
this fix #5330.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 20:54:03 +00:00
Matt Madia
0f75e967c8 Introduced a new variable, HAIKU_INCLUDE_TRADEMARKS. It used to include/exclude
files from HaikuImage and is set when HAIKU_DISTRO_COMPATIBILITY is 'official'
or 'compatible'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 20:34:17 +00:00