Ithamar R. Adema
9cafc5db2b
* Fix build after Axel commited his locale changes in r36727
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 18:13:14 +00:00
Axel Dörfler
96eaa02e8f
* Changed BLocaleRoster::GetLanguage() to a signature that makes more sense,
...
and looks more like the rest of the API.
* Also, it will now return an appropriate error code if the language couldn't
be allocated (anything else than B_OK is an improvement :-)).
* Several changes in BLanguage:
- GetName() now gets a BString reference, also
- it now returns the name in its own language, ie. for German this would
always be "deutsch", no matter the current language settings, and finally,
- it now empties the string it gets before adding the name.
- added GetTranslatedName() that behaves like the previous version.
- added const where it made sense (ie. almost everywhere).
- Code() now returns the code of the language only.
- ID() now returns the full ID of this language, ie. including country,
variant, and keywords if any.
- added Country(), and Variant().
- renamed IsCountry() to IsCountrySpecific().
- added IsVariant().
* Cleaned up Language.h, minor cleanup in LocaleRoster.cpp.
* Removed the whole move item logic from LanguageListView; while this was not
only spaghetti code, it doesn't make much sense in the first place.
* Instead of removing stuff from the left, and even worse, moving all countries
for a language even if only one had been dragged, we now only mark the items
that are already in the preferred list, and only those.
* Fixed various mixups of FullList*() vs. *() methods that could lead to things
like bug #5896 .
* Pressing the delete key in the preferred list view will now remove the
language.
* Moved LocaleWindow specific message constants to LocaleWindow.cpp; Locale.h
is supposed to contain application wide constants.
* The drop logic is now in LocaleWindow.
* We now make sure that each base language can only be in the list once.
* Lots of cleanup, even though I mostly replaced spaghettie code with different
looking spaghettie code - still, I think things have slightly improved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 17:38:40 +00:00
Ingo Weinhold
8da96bede1
Disabled the driver on SMP machines.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 17:30:31 +00:00
Axel Dörfler
542aff1be0
* Added constructor that takes a name for the view.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 17:24:22 +00:00
Joachim Seemer
48e6f7c038
Added Satoshi Eguchi, the Japanese translation manager. +alpha2
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 15:24:48 +00:00
Axel Dörfler
a77ec88a9d
* Fixed Group(BWindow*, ...) and Grid(BWindow*, ...) constructors to no longer
...
leak a view.
* Also set the view's background color to B_PANEL_BACKGROUND_COLOR to make this
better usable in applications.
* Removed the admittedly useless Group(BView*, ...) constructor I introduced
earlier.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 15:08:27 +00:00
Rene Gollent
7ea7d8a204
Rebuilt Vision packages for alpha 2. Apologies for the delay.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 14:43:32 +00:00
Axel Dörfler
7628cd87bf
* Added new BView variant of the BLayoutBuilder::Group() constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 11:32:11 +00:00
Axel Dörfler
d2ed47fd9f
* Made the spacing a bit larger in general, and made it use
...
BControlLook::DefaultItemSpacing() instead of hard coded values.
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 11:31:10 +00:00
Axel Dörfler
5396d90d16
* Made zooming to full screen center the window when the window cannot be made
...
full screen (due to size restrictions).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 11:29:41 +00:00
Axel Dörfler
cac9f196d8
* Added BListItem::SetOutlineLevel() method.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 11:24:25 +00:00
Axel Dörfler
181511caad
* Changed the alert message translation to something which makes a bit more
...
sense, and is less error prone.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 09:25:53 +00:00
Axel Dörfler
b2f1b28640
* Fixed spelling in the TR_CONTEXT macro. BTW this macro should be renamed
...
as well. Maybe B_TRANSLATION_CONTEXT?
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 09:25:18 +00:00
Axel Dörfler
62a8fd3b65
* Removed translations of debug output in TermParse.cpp.
...
* Minor style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 09:13:28 +00:00
Axel Dörfler
95ddf069fb
* Fixed the last translated add-on path that was overlooked in the previous
...
fix, thanks to Jorma Karvonen for reporting!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 09:04:57 +00:00
Axel Dörfler
709b35256a
* No longer keep the write lock when accessing the attribute data; instead, we
...
now make sure no one else touched it in the mean time (in order to retrieve
consistent data for the index update). This should fix bug #5878 .
* Squashed a TODO by locking the inode in the transaction as well.
* Fixed a quasi bug that would not have read the attribute data if there was no
live query for it; "fortunately", Volume::CheckForLiveQuery() is not
implemented yet, and always returns true.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 08:36:31 +00:00
Axel Dörfler
51576f91e8
* Fixed broken build with TRACE_PS2 defined as reported by Pieter.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 07:56:26 +00:00
Axel Dörfler
c92efcc0eb
* Adapted to Ingo's suggestions: used a more descriptive attribute name,
...
got rid of the superfluous fSaveMessage check in LoadAttrs().
* Also made the attribute name a proper const variable, and renamed it to
kInfoAttributeName.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 07:48:17 +00:00
Joseph Prostko
77dc8d0bc5
* Rebuilt p7zip (GCC2 and GCC4 versions) without libbe dependency
...
* Updated SourceURL/Download information in OptionalPackageDescription
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 05:17:43 +00:00
Scott McCreary
4313867bf8
Fixed the license info in the .OptionalPackageDescription for the Pe package
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 04:44:37 +00:00
Scott McCreary
38faa83ece
Sorted OptionalPackageDependencies into alphabetical order except where a package has a dependency, in which case that dependency was inserted on the line before it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 03:25:25 +00:00
Matt Madia
bb691ebbd0
Adding WonderBrush file of alpha stamp, with numbers 1-4.
...
Contributed by Ziusudra. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 01:05:22 +00:00
Matt Madia
95e235af7b
Missed parts in here. #5408
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 01:01:08 +00:00
Matt Madia
4ef6cf5d0e
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:43:51 +00:00
Matt Madia
913ffd3e69
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:35:03 +00:00
Matt Madia
733c3ae489
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:30:00 +00:00
Matt Madia
dccc528d64
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:27:23 +00:00
Matt Madia
dd4b6c23f6
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:25:49 +00:00
Matt Madia
cd59396f27
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:19:15 +00:00
Matt Madia
f7ff55f1d4
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:16:18 +00:00
Matt Madia
0f4ad67280
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:12:56 +00:00
Matt Madia
49039b4ef3
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:09:00 +00:00
Matt Madia
176fb40f5b
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:06:01 +00:00
Matt Madia
16a0078818
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 00:00:13 +00:00
Matt Madia
b850bd3b17
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:53:12 +00:00
Matt Madia
3d7bf37bf3
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:45:23 +00:00
Matt Madia
398bd39a3d
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:44:45 +00:00
Matt Madia
9a624e5912
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:44:34 +00:00
Matt Madia
b1c66135aa
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:40:10 +00:00
Matt Madia
05f7d43e06
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:16:37 +00:00
Matt Madia
241ad40bd3
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 23:07:38 +00:00
Matt Madia
ea8a1f5804
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:59:37 +00:00
Matt Madia
c31c1fef4f
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:55:49 +00:00
Matt Madia
906db3030b
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:51:05 +00:00
Matt Madia
75eb45a737
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:39:04 +00:00
Matt Madia
fb0b9d6fff
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:38:11 +00:00
Matt Madia
eef956245e
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:32:37 +00:00
Matt Madia
6c514d3e3b
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:21:26 +00:00
Matt Madia
905c8c8c8a
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 22:02:15 +00:00
Matt Madia
6bcf4a432e
Updated to use B_TRANSLATE* macros. relates to #5408 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-06 21:52:27 +00:00