Commit Graph

42351 Commits

Author SHA1 Message Date
Alexander von Gluck IV
33629ffdd3 radeon_hd: Add some missing PCIID's. FireStream / HD 7800 2012-04-06 10:49:43 -05:00
Oliver Tappe
6d2186615f Fix access to system catalog strings.
* fix regression introduced in hrev43950:
  HashMapCatalog::GetString() didn't return the non-translated
  string in case there was no translation found, which e.g.
  caused AboutWindows to trigger a debugger message about the
  alert not having any buttons.
Thanks to diver for the hint.
2012-04-06 13:54:50 +02:00
John Scipione
3cee15aac2 Keymap changes from recent activity. No AltGr yet.
Below is a mostly complete summary of the changes in this commit.

* Set the DeadKeys for the US-International Keymap to use the Option map.
* Rename American keymap to US
* Update the US, US-International, and United-Kingdom keymaps to take
  out unneeded spaces in the option layer. Also updated the dead keys
  and some other keys on the US-International keyboard to use UTF-8
  characters rather than there ASCII equivalents when different.
* Make the Option key fall-through when there is no mapping in the Option
  table. Option is for special characters, if none, print the regular one.
  This is mostly meant for the US keymap which has an empty option map. But
  also so that you don't have to repeat the normal, shift, and caps maps in
  the option map needlessly. Although the keymaps are still not empty in
  some cases that it could be like numpad keys and space.
* Update the /bin/keymap app to use fputs() instead of printf() when there
  is no actual formatting taking place. I've gotten into trouble for doing
  this before and it is faster to not process the string unnecessarily.
* Also several 80-char limit style fixes and updated comments.
* In Keymap class Reorder the modifier keys to match the keymap files.
  Put B_CONTROL_KEY check above B_OPTION_KEY. Neither change has any effect,
  they are purely aesthetic.
* Update DumpKeymap() method to use the abbreviated modifier letters so it
  will fit in your 80-char wide terminal.
* Tiny style fix in InputServer
* 80-char limit style fix in BWindow and add a comment that the shortcut
  gets eaten in the case of Cmd+Q
* Implement IndexForModifier() in KeyboardLayout, although I am not using it.
* Take Caps Lock out of the Modifier keys window because I couldn't get
  it to work the way I wanted it to.
* Move key roles to the left column, and the key label on the left. Add column
  header labels. Thanks Rimas!
* Add validation and improve marking menu options. Add a 'Disabled' option
  to control, option, and command menus to disable the key. Make the key
  role text grey if the key roles is disabled. Validation ensures that you
  cannot repeat the same key twice in the Modifier keys window since that
  won't work. You can't define 2 sets of option keys even if you really want
  to. You can disable your control, option, and command keys if you
  want, but that is not recommended.
* Rename kUpdateModifiers to kUpdateModifierKeys message to differetiate
  it from kUpdateModifier.
* Add shift key to Modifier keys window, use the stop icon instead of the
  warning icon to indicate conflicts.
* Allow the Layout system to control the size of the Modifier keys window
  again, set the width's of the key role lables to the widest, set the width
  of the menu fields to take up the rest of the space minus room for the
  conflict views. I didn't like it that the Modifier keys window would change
  size based on what options you had selected in the menu fields. Now it
  doesn't, but, the layout system still makes it all fit.
2012-04-06 02:42:54 -04:00
Ingo Weinhold
c83bde410a switch_sem_etc(): Unbreak the actual switch case
The scheduler lock was still being held when release_sem_etc() was
called. The bug was introduced in
24df65921b. Fixes #8448.
2012-04-05 17:35:59 +02:00
Alex Smith
81eb68f280 Fixed a compilation failure for the x86_64 toolchain.
This appears to be a problem with GCC's build system: it defaults to having
multilib enabled, but if it is explicitly enabled with --enable-multilib,
the build fails.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-04-05 13:15:24 +02:00
Hamish Morrison
43e7b1c2b0 Fix dladdr behaviour
* If dladdr can't find an exact match, it returns the nearest symbol
  less than the given address.
* If no suitable symbol can be found, but the address is within a
  loaded library, dladdr returns the library name and base address.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-04-05 12:32:31 +02:00
Matt Madia
71cfb0c8d0 Updated BeZillaBrowser. Built on hrev43937. Fixes #8417. 2012-04-04 18:46:49 +00:00
Oliver Tappe
84c93bfba0 Attempt at #1586 (queries not being case-insensitive for umlauts):
* adjust corresponding query predicate to use BUnicodeChar instead
  of ctype-functions

Alas, this does not help as of now, since BUnicodeChar is missing
support for any codepoints above 0x9f ...
2012-04-04 22:54:08 +02:00
Oliver Tappe
60f75e901c Merge liblocale.so into libbe.so.
* Make the locale kit a part of libbe.
* Drop the LocaleBackend kludge used from within libbe (and from
  other places, too) in order to access system catalog strings. 
  This is now done via gSystemCatalog, which is provided and initialized
  by libbe.
* Drop all references to liblocale.so from all Jamfiles.
* Add legacy symlink liblocale.so in order to keep optional packages
  that rely on it in a working state.

TODO: the documentation hasn't been updated.
2012-04-04 22:44:42 +02:00
Ingo Weinhold
06114afc50 userlandfs: Remove superfluous driver_settings.c
It probably dates back to a time before our libroot exported the driver
settings API as well.
2012-04-04 21:53:00 +02:00
Jérôme Duval
bc11edcdb5 wpa_supplicant: updated to 0.7.3 2012-04-03
* compiles against updated FreeBSD compat layer headers.
2012-04-04 19:40:55 +02:00
Alexander von Gluck IV
bf70fcd9cc radeon_hd: Add missing 4650 PCIID 2012-04-04 12:06:52 -05:00
Alexander von Gluck IV
8dfc5dbb26 radeon_hd: Complete move to common DisplayPort header
* Non-spec DP stuff in accelerant displayport.h
* Common DisplayPort header still has TODO's however
2012-04-04 10:41:34 -05:00
Alexander von Gluck IV
43c6828704 NetworkStatus: Simplify state change notification code 2012-04-03 22:41:10 -05:00
Alexander von Gluck IV
608826f578 swrast: Remove fNewWidth/fNewHeight 2012-04-03 12:15:38 -05:00
Alexander von Gluck IV
98c974a2c4 swrast: Add allocated renderbuffer option
* Double buffering no longer crashes, however
  it still doesn't function.
2012-04-03 12:00:42 -05:00
Alexander von Gluck IV
c6799d8ae1 dp_raw: Continued cleanup of DisplayPort common header
* Reduce number of common DP registers in radeon_hd
* Move to bitwise shifts as they will make more
  sense to more people in the long-run
2012-04-03 09:52:21 -05:00
Rene Gollent
ec495b30ce Fix incorrect error check.
The case where GetRefreshLimits() failed wasn't being detected and
handled correctly.
2012-04-02 18:04:16 -04:00
Alexander von Gluck IV
64dcb00f9f radeon_hd: Begin to widdle down DP to common code 2012-04-02 17:00:24 -05:00
Alexander von Gluck IV
37550d80c9 dp_raw: Add AUX communication defines 2012-04-02 15:45:13 -05:00
Alexander von Gluck IV
30d5507541 dp_raw common: Style fix, no change. 2012-04-02 15:36:07 -05:00
Alexander von Gluck IV
4185aa0c8c common header: Add work in progress DisplayPort header
* Obtained via DportV1.1.pdf
* Written based on my Xorg membership
2012-04-02 11:52:36 -05:00
François Revol
e1b41a1a8c Add base64 decoding helpers to read ints
Some helper functions to read uint8, uint16 and uint32 (actually int32 it seems...).
Note the value is effectively read as big-endian.
2012-04-02 00:47:16 +02:00
François Revol
c001665a7c Add a packed argument to encode_base64.
Reintroduced the '=' padding modulo 3 characters from the original code from the mail kit,
and a packed option to avoid it.
Broadway uses this packed scheme to save bytes when sending many separate values.
TODO: merge this with the mail kit one somewhere?
2012-04-02 00:47:16 +02:00
JackBurton
25f1f96111 Move the view when hitting the space key. This shows that GLView in direct
mode can't correctly handle the view being moved.
2012-04-01 22:08:05 +02:00
JackBurton
3a7313e1cc Fix build 2012-04-01 22:08:04 +02:00
Alexander von Gluck IV
3a8514d0c7 wc: Remove OpenB*OS version
* Was replaced by coreutils wc and options are the same.
2012-04-01 13:40:21 -05:00
Alexander von Gluck IV
b2305bab10 printf: Remove OpenB*OS version
* Was replaced by coreutils printf and options are the same.
2012-04-01 13:40:21 -05:00
Alexander von Gluck IV
6db1a7fa02 cut: Remove OpenB*OS version
* Was replaced by coreutils cut, and options are the same.
2012-04-01 13:40:21 -05:00
Alexander von Gluck IV
7029925bda factor: Remove OpenB*OS version
* Was replaced by coreutils factor, and options are the same.
2012-04-01 13:40:20 -05:00
Alexander von Gluck IV
cfa92fff7a csplit: Remove OpenB*OS version
* Was replaced by coreutils csplit, and options are the same.
2012-04-01 13:40:20 -05:00
Alexander von Gluck IV
aa49350403 cat: Remove OpenB*OS version
* Was replaced by coreutils cat, and options are the same.
2012-04-01 13:40:20 -05:00
Alexander von Gluck IV
1e1a9ea40a yes: Remove OpenB*OS version
* Was replaced by coreutils yes, and options are the same.
2012-04-01 13:40:20 -05:00
Alexander von Gluck IV
f855eb69ed echo: Remove OpenB*OS version
* Was replaced by coreutils echo, and options are the same.
2012-04-01 13:40:19 -05:00
Alexander von Gluck IV
75c81b64a9 whoami: Remove OpenB*OS version
* Was replaced by coreutils whoami, and options are the same.
2012-04-01 13:40:19 -05:00
Alexander von Gluck IV
e0153fad24 beep: Style cleanup. No functional change. 2012-04-01 13:40:19 -05:00
Alexander von Gluck IV
5cb635561c listdev: Style cleanup. No functional change. 2012-04-01 13:40:19 -05:00
Jerome Duval
8ea0100184 es1370: build fix 2012-04-01 14:50:31 +02:00
Jerome Duval
57c324a753 arm: added some missing arch bits and changed asm section for arm compat. 2012-04-01 14:03:36 +02:00
Axel Dörfler
8175a2c342 Fixed warning. 2012-04-01 13:06:59 +02:00
Axel Dörfler
8f7ec006cb We need to remove the tree from the transaction. Fixes #3159.
* The tree does keep a reference to the inode as well as long as it is part
  of a transaction.
* Even if it wouldn't have done it (and would not have triggered the panic),
  Haiku would likely have crashed, as the inode (and therefore its tree) was
  already deleted at the time when the transaction discarded its listeners.
2012-04-01 13:04:36 +02:00
Axel Dörfler
15f4dcd831 The inode must be write locked. Dunno how that could work before. 2012-04-01 11:30:58 +02:00
Axel Dörfler
7fef0374fe Make sure it isn't part of a transaction upon destruction. 2012-04-01 11:30:58 +02:00
Axel Dörfler
8cf89e5cd3 Minor cleanup. 2012-04-01 11:30:57 +02:00
François Revol
8d33dc2971 An html5 <canvas> based drawing engine
This implements an html5 rendering engine.
Inspired by the Broadway GDK backend for Gnome.
Work in progress. For now it just connects and dumps debug output.
2012-04-01 11:04:41 +02:00
Adrien Destugues - PulkoMandy
d1abffcaa2 Force read/write mode for "removable media" devices as well. This makes
it possible to write files to my MP3 player.
2012-04-01 10:29:15 +02:00
François Revol
2c3d4bf64a Change accessor name for consistency. 2012-04-01 09:05:07 +02:00
scottmc2@gmail.com
c106a6bc2e Updated optionalpackages for texinfo, sqlite and bzr. 2012-03-31 17:58:24 -07:00
Alex Wilson
91b523054f Resolve TODO about possible use after free bug. 2012-04-01 11:54:25 +12:00
Alex Wilson
3c7caf81db Fix a bug that caused some NotificationViews to be double-shown.
This bug affected views added while the window was hidden, and would
result in that view not being hidden when the group was collapsed for
the first time.
2012-04-01 11:54:24 +12:00