Commit Graph

36004 Commits

Author SHA1 Message Date
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
Matt Madia
2873f50a40 Utilize HAIKU_DISTRO_COMPATIBILITY and HAIKU_OFFICIAL_RELEASE for choosing
which graphic to display in AboutSystem and Installer.

When 'official' and 'HAIKU_OFFICIAL_RELEASE', the 'release' logo -- eg, alpha 2
will be used. When 'HAIKU_OFFICIAL_RELEASE' is not defined, the 'development'
logo will be used.

When 'default' or 'compatible', no graphic will display. Their appearance
does degrade somewhat gracefully, though InstallerWindow.cpp may need an
adjustment to better set fStatusView->SetExplicitMinSize()

Relates to #6183.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 20:26:48 +00:00
Matt Madia
2dc707e529 Utilize HAIKU_DISTRO_COMPATIBILITY for the boot splash. Currently only
'--distro-compatibility official' will result in the HAIKU logo being
displayed. When 'default' or 'compatible', only the icons will display. Due to
issues with generate_boot_screen, the "development" logo is not utilized.

Relates to #6183 and #6255


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 20:22:10 +00:00
Matt Madia
9072a31477 Added a boot splash header file that contains only the boot icons. Later,
video_splash.cpp and boot_splash.cpp will be updated to utilize it.

Relates to #6183. See #6255 for issues on using 'splash_logo-development.png'
with generate_boot_screen.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 18:44:52 +00:00
Matt Madia
63ebe8695c Added "development" logos, similar to the one used in Installer. The intention
is for non-releases such as the nightly images to use them.

Font information:
 * http://www.fontriver.com/font/sistemas_font_bt/
 * 6fd8b8232108bfbcebb0a864419b076f  SISTEMAS FONT BT.ttf


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 18:06:13 +00:00
Oliver Tappe
60656c54d1 * don't use B_USE_POSITIVE_POSIX_ERRORS in libroot, let any interested party
use that and the posix_error_mapper

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 17:20:39 +00:00
Oliver Tappe
ac055d4bf8 Avoid rm switching to interactive mode for any locale other than POSIX:
* reset errno to 0 if it has been set during execution of any ICU method
  (which doesn't set errno itself, but may invoke system functions that do)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 17:10:52 +00:00
Oliver Tappe
bc981208fa * replace use of strcmp with strcasecmp, as locale names are supposed to be
case insensitive

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 11:31:56 +00:00
Oliver Tappe
68e0166113 * revert what should not have been part of r37723
Thanks to Rene for pointing it out 

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 09:54:07 +00:00
Stephan Aßmus
ad98c7f4af Fixed warning about hiding BView::Perform().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 08:52:20 +00:00
Stephan Aßmus
14d604ddfa Fix compiler warning about hiding Transformable::ScaleBy() by enabled the
ChannelTransform version of ScaleBy() which was commented out in the code.
I have no idea if this code was tested or not, I've added a comment to the
effect. It certainly isn't used in Icon-O-Matic at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 08:51:35 +00:00
Stephan Aßmus
b08f6fd2bc The "Rotate indices" and "Clean up" menu items need to be enabled depending
on the current selection.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-25 08:50:10 +00:00
Oliver Tappe
a4823efd7d Fix problems with sed and gcc caused by reintegration of posix-locale:
* support invocation of ctype/wctype macros with EOF/WEOF (-1), which would
  access more or less random memory before - I don't know why this worked
  more or less reliably for the POSIX locale, but it didn't for any other


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-24 16:20:52 +00:00
Oliver Tappe
c0f9765409 * minor cleanup (whitespace and superfluous include)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-24 16:04:43 +00:00
Wim van der Meer
604cbe67d9 * One more syle fix\n* Adding a missing break
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-24 15:59:43 +00:00
Adrien Destugues
1ec16200dd /Donnees/Dev/Haiku/haiku/src/preferences/locale/LanguageListView.h:0: nondigits in number and not hexadecimal --This line,
and those below, will be ignored--
 * Simplify a little the code in the draw method and make the list look prettier (the spacing was weird)
M    locale/LanguageListView.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-24 12:55:53 +00:00
Wim van der Meer
80b909c924 * Make closing the translator settings window thread-safe
* Insert a forgotten B_TRANSLATE
* Style fixes

Thanks to Axel Dörfler for reviewing the code.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-24 02:22:48 +00:00
Oliver Tappe
a3f665982e * reintegrated posix-locale
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 23:13:00 +00:00
Oliver Tappe
b891b0acae * broke out locale-related jam rules into their own file, LocaleRules
* made locale build tools shut up about anything except warnings or errors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 19:56:24 +00:00
Oliver Tappe
229c79e015 * removed old genprops tool from our repo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 19:54:16 +00:00
Philippe Houdoin
debe3b0970 Fixed several keymaps where keypad End, Arrow down and/or Page down keys were mapped as Home/Arrow up/Page up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 17:53:07 +00:00
Oliver Tappe
bca50be432 Second go at fixing what should have been part of r31927:
* uncommented fwscanf() in wchar.h to make it available
* imported wcsftime() from FreeBSD-8 (which just wraps strftime()), so that we 
  not only declare it, but provide an implementation, too
As a result, the next build of gcc4 should be able to detect full support for wchar_t and in turn activate wchar_t-based template types (like std::wstring).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 17:34:33 +00:00
Adrien Destugues
282582c005 * Bcountry : private methods start with underscore. The timezone list isnow actually a list of BTimeZone objects, that holdsall the needed info, not only the code. Also tweak the listing code to
remove duplicatesfromthe list generated by ICU.
 * BTimeZone : remove Code, rename Name to GetName. The class is likely to change again for further optimization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 16:25:43 +00:00
Adrien Destugues
2774e142e1 * Add a BTimeZone class for handling time zones.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 13:19:33 +00:00
Axel Dörfler
aa552b077a * Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 13:11:55 +00:00
Adrien Destugues
6c178e1e73 * Add locking system to BCountry to avoid problems with the formatters being deleted while you use them, or created multiple times.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 11:38:37 +00:00
Adrien Destugues
2d95bec958 Sync catalogs from hta
* Chinese was moved from zh to zh-hans, because Han Simplified and Han Traditional are two separate languages, so there is no such thing as "zh". This allows for more coherent fallback management.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 10:29:07 +00:00