Commit Graph

35224 Commits

Author SHA1 Message Date
Ithamar R. Adema
b513501fe4 * When a BMenuItem contains a submenu, and that menu IsLabelFromMarked(), use its preferred width as the content width in GetContentSize().
This fixes problems with the Min/PreferredSize() calculations for BMenuField, with a Menu that IsLabelFromMarked().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:03:33 +00:00
François Revol
bbb55d159e Add PCI device reservation to the drivers that still missed it in the image. This along with the updated OpenSound should fix the KDLs. Hopefully the init_driver() code was identical enough I didn't make any copy-paste error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 18:45:28 +00:00
Jérôme Duval
9ac4c6e861 style cleanup, no functional changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 17:58:11 +00:00
François Revol
7d8c577325 - use DRIVER_NAME in dprintf.
- unreserve the device in case init failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 17:44:35 +00:00
Ingo Weinhold
07e1164e59 syslog_init(): Bail out, if kernel_args::debug_output is NULL. Would crash on
platforms that are ignorant of the debug syslog feature.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 17:02:02 +00:00
Jérôme Duval
b54538cc66 * use getopt() for addattr
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 16:25:05 +00:00
Michael Lotz
6bb5960fd6 Temporary workaround to the MSI issue on broadcom570x. Fixing for real later,
but this one should go into alpha2 to make the card work as before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 15:38:26 +00:00
Michael Lotz
b59539c7ce Ensure that the PCI module is initialized when using the x86 specific module as
it makes use of gPCI which is initialized during pci module init. Might help
with #5936.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 15:09:28 +00:00
Jérôme Duval
5e21079403 style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:58:15 +00:00
Michael Lotz
dea3dab422 Forgot to commit the removal of the old file in r36223.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:57:21 +00:00
Jérôme Duval
cea369ce9d UVC webcam addon isn't ready yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:51:02 +00:00
Jérôme Duval
96aa451087 Patch from Alexander Shagarovi (ticket #5832): use getopt() for command line parsing. I fixed some code style and simplified a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 14:33:04 +00:00
Stephan Aßmus
38135af9af Improved version of the Alpha2 download box graphics, pixel aligned. (The
original Alpha1 bitmap also wasn't.) I redid the alpha 2 stamp and the bugs
placement is also different. I've added a slight glow behind the 2 to make it
stick out a little more.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 13:46:19 +00:00
Joachim Seemer
8cbf8a521b Added Brian Matzon as our Danish Dynamite translator. Thanks luroh for testing. +alpha2
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 09:41:36 +00:00
François Revol
28e9f6c22a Patch by mmadia: Fix locale macros. Fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 22:59:42 +00:00
Ithamar R. Adema
9661f324d9 * Don't mark edid_detailed_timing entries with a pixel_clock <= 0 as EDID1_IS_DETAILED_TIMING. This prevents decode_edid clients to incorrectly interpret the entries as valid.
This fixes booting on the Samsung NP-N135, which used to reset before being able to enter the bootloader menu. It would be interesting if tickets #4408, #5539, #5696, and #5720 could be retested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 21:51:06 +00:00
Matt Madia
4eb0cbb044 Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 20:19:06 +00:00
Matt Madia
483e12623e Update TR* to B_TRANSLATE. relates to #5408. To note, prior to this changset,
this was not building. See #5927 for more information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 19:43:30 +00:00
Matt Madia
0ff73fbfd1 Update TR* to B_TRANSLATE. relates to #5408. To note, prior to this changset,
this was not building. See #5928 for more information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 19:37:47 +00:00
Axel Dörfler
b588e644ee * Changed AboutSystem to only show the translated language names.
* Added the same hack to ReadOnlyBootPrompt that I put into Locale to
  work-around the missing font overlays in the app_server; IOW we use some
  heuristics to decide which language to show.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 18:57:51 +00:00
Oliver Ruiz Dorantes
125183f9e5 - Add possibility yo set a custom friendly name to our device. Which will be seen by remotes devices at discovery
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 18:25:09 +00:00
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