Commit Graph

43394 Commits

Author SHA1 Message Date
Ryan Leavengood
f1b593e7b5 Rename Pre Beta 1 version to Pre Alpha 4, introduce Alpha 4 version.
Make Pre Beta 1 fall after Alpha 4. Hopefully we won't need an Alpha 5.
2012-08-20 01:09:53 -04:00
Ryan Leavengood
eb89cc6b0b Deskbar: You know, we should actually use the translated name.
If this ever worked before, I don't know how.
2012-08-19 21:29:28 -04:00
Ryan Leavengood
d6c852ec49 Actually cache something when CacheLocalizedName is called.
Before its name was a lie, since nothing was cached.

Another boolean was added because getting the localized name could fail, and we
don't want to pointlessly try again, so relying on fHasLocalizedName won't work
for that.

Since in my tests this was getting called up to 4 times per application when
opening the Deskbar Application menu, this caching should speed that up a bit,
at least when this file name translation feature is turned on.
2012-08-19 21:25:43 -04:00
Ryan Leavengood
379dcaa1f6 Look up the entry_ref for a signature for localized file names.
Fixes #8124.
2012-08-19 21:21:30 -04:00
Ryan Leavengood
d7f6b4c18c ControlLook: Don't tint the selected menu item color.
Now that we use the actual selected menu item ui_color, this tinting is not
needed. In fact it makes the selected item too dark.

Thanks diver for noticing.
2012-08-19 18:17:07 -04:00
Siarzhuk Zharski
fa2fa02613 Insert Addressing::LeaveGroup call on dropping multicast group membership.
Omitting this call left invalid reference to deleted group in the
multicast groups hash-map and any upcoming attempt to join the group will
crash the system. Fixes #6736.
2012-08-19 22:38:21 +02:00
Rene Gollent
1e068aea46 Slight improvement to tracing output.
- If a trace entry has a stack trace, attempt to demangle the associated symbols.
  Could be enhanced further to also demangle the arguments but doesn't yet.
  Interestingly there are some mangled symbols that our demangler appears to
  not handle correctly (gcc4).
2012-08-19 16:04:36 -04:00
Rene Gollent
ad4d57f14b Fix multicast double free issue in IPv4.
- IPv4 had the same problem as v6. Most likely this was an oversight
  when converting from a C to a C++ module. Might help with #6736 and
  #8894.
2012-08-19 11:09:06 -04:00
Rene Gollent
9db38fdf34 Fix ticket #8870.
- multicast_address was being freed twice in ipv6_uninit_protocol(),
  causing a panic on exit in apps that made use of it.
2012-08-19 08:57:21 -04:00
Fredrik Holmqvist
ac827a2baa Make strcmp do four byte comparisons on aligned strings.
Used libMicro's strcmp test to evaluate performance:
OPTS="-E -C 200 -S -W"
bin/strcmp	$OPTS -N "strcmp_10"	-s 10	-I 10
bin/strcmp	$OPTS -N "strcmp_100"	-s 100	-I 20
bin/strcmp	$OPTS -N "strcmp_1k"	-s 1k	-I 50
bin/strcmp	$OPTS -N "strcmp_10k"	-s 10k	-I 800
bin/strcmp	$OPTS -N "strcmp_1m"	-s 1m   -I 500000
bin/strcmp	$OPTS -N "strcmp_10m"	-s 10m  -I 5000000

Before:
             prc thr   usecs/call      samples   errors cnt/samp     size
strcmp_10      1   1      0.02510          201        0    10000       10
strcmp_100     1   1      0.17520          169        0     5000      100
strcmp_1k      1   1      1.67700          177        0     2000     1024
strcmp_10k     1   1     17.24800          194        0      125    10240
strcmp_1m      1   1  17892.00000          160        0        1  1048576
strcmp_10m     1   1 183136.00000          201        0        1 10485760

After:
strcmp_10      1   1      0.01800          194        0    10000       10
strcmp_100     1   1      0.13540          190        0     5000      100
strcmp_1k      1   1      1.24950          188        0     2000     1024
strcmp_10k     1   1     12.85600          190        0      125    10240
strcmp_1m      1   1  12930.00000          170        0        1  1048576
strcmp_10m     1   1 134382.00000          195        0        1 10485760
2012-08-19 11:39:16 +02:00
Ryan Leavengood
a1efcf2c7f Set the Terminal window flags correctly when going fullscreen.
Fixes #8862.
2012-08-19 00:16:02 -04:00
Philippe Saint-Pierre
ed63a5d20c Tracker: Double-Click simplification
Double-click check was redoing what is essentially already done in input_server.

The way we were doing it, right clicking (or pressing a different button for the second click,
for that matter) wasn't clearing the fields remembered and thus not breaking the sequence.
So a third click returning to the correct sequence (in a short time) would get recognized
as a valid second click.  So a quick left-right-left would be seen by that method as left-left.

Also, clean up a previous fix I committed.  Removed the introduced Origin() method as it
is the LeftTop() method I was interested in and it is already existing.

Fix #8714
2012-08-18 22:13:09 -04:00
Matt Madia
efb1039348 Increase the size of the nightly images. 2012-08-18 10:36:41 -04:00
Matt Madia
467f607aa3 Add WebPositive catalogs to gcc2hybrid images. Fixes #8846. 2012-08-18 10:33:39 -04:00
Niels Sascha Reedijk
5bde1d438b Update userguide from i18n.haiku-os.org. 2012-08-18 10:28:04 +02:00
Niels Sascha Reedijk
9ff0fe5615 Update translations from Pootle 2012-08-18 06:30:34 +02:00
Humdinger
cc2b203e16 Reverting part of hrev44535.
Renaming "Preferences" to "Tracker preferences" has been
unexpectedly contentious. Reverted.
2012-08-17 20:05:39 +02:00
Niels Sascha Reedijk
4f81ff45fe Update translations from Pootle 2012-08-17 06:47:33 +02:00
Oliver Tappe
8ffa652cac Fix build. 2012-08-16 21:23:42 +02:00
Oliver Tappe
6e8999717f Cleanup: avoid warning about returning a value in void context. 2012-08-16 21:18:58 +02:00
Oliver Tappe
e19d7089a7 Fix #8841 (broken localization support for 3rd-party apps).
* made private Catalog.h header public by moving it to 
  os/locale/tools/CollectingCatalog.h
* reintroduce B_COLLECTING_CATKEYS define (which is expected to be set
  during a collectcatkeys session) in order to decide whether or not
  to automatically include the CollecingCatalog.h header from Catalog.h
* adjust jam rule for collecting catalog keys accordingly
2012-08-16 21:12:55 +02:00
Oliver Tappe
2bcc7f40c3 Simplify use of translated strings in BAboutWindow.
* avoid duplicate initialization of variables by joining the
  expressions.
2012-08-16 21:12:55 +02:00
Humdinger
468f826656 Some more string translations.
A few more translator changes I missed with last commit.
Added a few more strings for translation, pointed out by diver.
Thanks!
2012-08-16 20:13:40 +02:00
Niels Sascha Reedijk
0f6d975d36 Update translations from Pootle 2012-08-16 06:23:58 +02:00
Ryan Leavengood
59347b7f1b Reverse the meaning of BWindow fShowLevel to match BView.
This also matches the client_window_info.show_hide_level field used in Deskbar
and other applications.

While doing this, keep fShowLevel fully in sync between BWindow and app_server,
use one message type for both hiding and showing, and make the decision to show
and hide the window in the app_server.

Lastly make minimize behave as described in the Be Book: hidden windows cannot
be minimized, and minimized windows which get hidden become unminimized.
2012-08-15 23:45:15 -04:00
Michael Lotz
a4bca81193 Add MSI support to OHCI.
It looks like VirtualBox assumes MSIs when emulating a 64bit system so
this gets OHCI working there. Shouldn't harm if it's used anywhere else
either.
2012-08-16 00:31:19 +02:00
Michael Lotz
c936a02360 Move MSI initialization before IO-APIC to fix missing init.
Initializing the IO-APIC will initialize the PCI module, which does
read the MSI config of the devices only when MSIs are available.
Since we initialized them only after that, that condition wasn't met.
Later, due to the uninitialized arch info, MSIs were still marked as
available (0xcc = 204 MSIs). Due to the also uninitialized configured
count, they were always deemed busy however, in effect just breaking
MSI support whereever IO-APICs were available.
2012-08-16 00:31:18 +02:00
François Revol
1026b0a1a7 ppc: use 64 bit physical addressing
* At least the 4xx cpu types use PAE-like 36 bit addressing, including for mapped peripherals.
2012-08-15 19:41:52 +02:00
Adrien Destugues - PulkoMandy
86e47974c0 Fix build. 2012-08-15 13:45:29 +02:00
Adrien Destugues - PulkoMandy
3b85241aba Fix build. 2012-08-15 13:43:02 +02:00
Adrien Destugues - PulkoMandy
7dfdb91a2e Fix language mapping again for indi. 2012-08-15 13:33:24 +02:00
Adrien Destugues - PulkoMandy
4be15fbb7a Add language to country mappings for ReadOnlyBootPrompt
* Greek > Greece
 * Croatian > Croatia
 * Pakistanese > Pakistan
 * Indi > India
2012-08-15 12:50:04 +02:00
Adrien Destugues - PulkoMandy
93e30a47be Add a simpler test for BPushGameSound and attempt to fix the most striking mistakes in there. 2012-08-15 10:32:06 +02:00
Adrien Destugues - PulkoMandy
4c3295fc92 Tweak DiskUsage pie view colors and drawing
* Use colors from http://haiku-os.org/files/downloads/2007-03-20_haiku-color-palette.png
 * The pie view used a simple multiplication to lighten the colors, leading to overflows. Use tint_color instead
 * The outline of each pie slice was drawn with lines, which did not align perfectly. Use StrokeArc with a slightly bigger pen size than the colored area instead.

Screenshot of the result:
http://pulkomandy.tk/drop/diskusage.png/
2012-08-15 10:32:04 +02:00
Humdinger
ef4ed1b76b Replaced "Preferences"/"Options" with "Settings"
Replaced remaining "Preferences" and "Options" with "Settings" as
that is generally used for app settings instead of the system
preferences found in the preference panels.

Renamed Tracker's "Preferences" to "Tracker preferences" to be
similar to the entries in the Deskbar and e.g. the Media replicant
in the Deskbar tray.
2012-08-15 09:53:38 +02:00
Philippe Saint-Pierre
c38375376d Tracker: TextWidget editing flaws
TextWidget tried to detect if the editing box would span outside the PoseView,
but it was using an hardcoded value of 1 for the minimum left value.  But in Icon mode,
negative values can occur.  Change to use the view's origin (top left corner of the view).
2012-08-15 01:28:44 -04:00
Niels Sascha Reedijk
5c4ceff363 Update translations from Pootle 2012-08-15 06:26:35 +02:00
Alexander von Gluck IV
59c1ab8c3b radeon_hd: add v1.4 dig encoder setup
* Add 1.4 encoder control used in latest HD 7xxx cards
* Should make progress towards resolving #8859
2012-08-14 20:32:58 -05:00
Alexander von Gluck IV
8ec95e1059 radeon_hd: Update atombios, add v1.5 transmitter control
* Latest stock atombios.h from Linux DRM with a few small
  environment tweaks.
* Add 1.5 transmitter control used in latest 7xxx cards
2012-08-14 19:58:10 -05:00
Alexander von Gluck IV
a5ccd036b4 radeon_hd: Become Spread Spectrum aware
* Enable Spread Spectrum when requested
* Tested working across several cards, does
  have regression potential though.
2012-08-14 19:58:10 -05:00
Alexander von Gluck IV
14943b5b8b radeon_hd: cleanup some logic; no functional change 2012-08-14 19:58:09 -05:00
Alexander von Gluck IV
29e6039282 radeon_hd: style cleanup; no functional change 2012-08-14 19:58:09 -05:00
Alexander von Gluck IV
facf5d1ef8 radeon_hd: ensure we call CMD_SETUP on DCE6+ dpms
* We may not get a picture otherwise
2012-08-14 19:58:08 -05:00
Alexander von Gluck IV
baa7999a48 radeon_hd: slight adjustment to PLL choosing on DP 2012-08-14 19:58:08 -05:00
Matt Madia
51014b9eb6 Revert "ffmpeg: switch to 0.11.1" (hrev44483)
This reverts commit 14b654326d.

Unfortunately that changeset causes a regression on GCC 2, which
makes playback of (some?) video impossible. This is due to Libavcodec
being miscompiled, which requires gcc >= 4.2

Resolves the regression of #8856, but does not fix the root issue.
2012-08-14 18:24:12 -04:00
Philippe Saint-Pierre
8cbdf82a0a Tracker: Drawing glitch when created Pose is first in PoseView
Due to clipping of a rect to match the view bounds, there was a confusion
as to whether the rect was at the top of the view bounds, or above the view
bounds as both met the condition.

Fixes #8876.
2012-08-14 16:26:19 -04:00
Niels Sascha Reedijk
eb020bee4b Update translations from Pootle 2012-08-14 06:26:08 +02:00
John Scipione
3efc4c1c01 Revert "Rename French (Bépo).keymap to use precomposed form."
This reverts commit df62aa28a7.

Nope, this did not work, it added a new file instead of renaming
the existing one, so there are 2 French (Bépo).keymap files instead
of one, tricky.
2012-08-13 21:04:16 -04:00
John Scipione
df62aa28a7 Rename French (Bépo).keymap to use precomposed form. 2012-08-13 20:39:39 -04:00
John Scipione
19a18af35e Convert fs_host files from c back to cpp and style changes.
* fs_darwin.c => fs_darwin.cpp
* fs_freebsd.c => fs_freebsd.cpp
* use bool instead of int again in fs_darwin.cpp (C => C++)
* declare loop varibles inline again in fs_freebsd.cpp (C => C++)
* 2 newlines between top header gaurd and first #include
* 2 newlines after last #include
* freebsd/endian.h and freebsd/regex.h convert \r\n to just \n
* remove some leading tabs in fs_freebsd.cpp
* add newlines after single line if statement in fs_freebsd.cpp
* 80-char limit fixes in fs_freebsd.cpp
2012-08-13 18:51:59 -04:00