[00:47:55] <CIA-111> kallisti5 * r41872 /haiku/trunk/src/add-ons/accelerants/radeon_hd/ (accelerant.cpp accelerant.h bios.cpp mode.cpp): added scale update locking register; remove leftover intel hack thats not needed on Radeon; fix gcc4 warning on card model comparison [01:02:50] <CIA-111> kallisti5 * r41873 /haiku/trunk/src/add-ons/accelerants/radeon_hd/bios.cpp: remove AtomInit.. breaks radeon_hd build due to missing return and I have a while until I can implement it fully [12:40:06] *** echelog-2 has joined #haiku-jp [12:40:06] -hitchcock.freenode.net- [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp [13:55:37] <CIA-111> mmlr * r41875 /haiku/trunk/src/kits/device/Joystick.cpp: [13:55:37] <CIA-111> I was mislead by the legacy joystick structure data type for the axis values [13:55:37] <CIA-111> (which is uint32), but the legacy BJoystick axis values are just the same int16 [13:55:37] <CIA-111> as the ones in extended mode, so nothing has to be done besides assigning them. [14:13:13] <CIA-111> mmlr * r41876 /haiku/trunk/src/kits/device/Joystick.cpp: (log message trimmed) [14:13:13] <CIA-111> * Return early when opening the device failed and just return B_ERROR as [14:13:13] <CIA-111> documented in the BeBook. Sadly the success return is specified as "a positive [14:13:13] <CIA-111> integer", so I didn't change it to B_OK. [14:13:13] <CIA-111> * We actually want non-blocking mode, so don't reset the O_NONBLOCK flag. It was [14:13:13] <CIA-111> ignored before anyway though, so this doesn't change anything. [14:13:14] <CIA-111> * The legacy buttons 1 and 2 are in the pressed state when false, so initialize [14:37:17] <CIA-111> phoudoin * r41877 /haiku/trunk/src/add-ons/kernel/drivers/midi/usb_midi/ (devlist.c usb_midi.c): [14:37:17] <CIA-111> Fixed gcc2 build (sorry). [14:37:17] <CIA-111> Plus one forgotten small style fix. [14:43:02] <CIA-111> mmlr * r41878 /haiku/trunk/ (headers/os/device/Joystick.h src/kits/device/Joystick.cpp): [14:43:02] <CIA-111> Move function definitions to match their declaration order. Also move some [14:43:02] <CIA-111> declarations to group them more logically. No functional changes. [15:23:49] <CIA-111> mmlr * r41879 /haiku/trunk/ (headers/os/device/Joystick.h src/kits/device/Joystick.cpp): [15:23:49] <CIA-111> Remove two unimplemented private functions. Since their signature was changed [15:23:49] <CIA-111> already anyway (as compared to the original BeOS ones) this won't introduce any [15:23:49] <CIA-111> missing symbols. [17:32:36] <CIA-111> bonefish * r41880 /haiku/trunk/ (7 files in 7 dirs): [17:32:36] <CIA-111> Reimplemented the gdb stub support for the 'g' command (read registers): [17:32:36] <CIA-111> * Added an arch_debug_gdb_get_registers() interface that is supposed to provide [17:32:36] <CIA-111> the register values in the format expected by gdb and implemented it for x86. [17:32:37] <CIA-111> * Reimplemented gdb_regreply() to use that. Also made it buffer overflow safe. [17:36:59] <CIA-111> stippi * r41881 /haiku/trunk/src/kits/interface/ (ControlLook.cpp Slider.cpp): [17:36:59] <CIA-111> Applied patch by Pete Goodeve (with small coding style corrections) [17:36:59] <CIA-111> which fixes vertical BSliders. (ticket #7548) Thanks a bunch! [17:36:59] <CIA-111> +alpha [17:37:57] <CIA-111> mmlr * r41882 /haiku/trunk/ (headers/os/device/Joystick.h src/kits/device/Joystick.cpp): [17:37:57] <CIA-111> Introduce a BJoystick::GetButtonValues() function that aligns with the other [17:37:57] <CIA-111> Get*Values() functions but retrieves an arbitrary amount of button states using [17:37:57] <CIA-111> a boolean array. This overcomes the 32 button limitation on the API side. Right [17:37:57] <CIA-111> now the function does simply set the first 32 states from the button bitmap, as [17:37:58] <CIA-111> the BJoystick to driver interface hasn't been adapted yet. [17:53:16] <CIA-111> mmlr * r41883 /haiku/trunk/src/tests/kits/device/stickit_BJoystick/ (Jamfile JoystickWindow.cpp): [17:53:16] <CIA-111> * Make use of the new BJoystick::GetButtonValues() so any number of buttons can [17:53:16] <CIA-111> be retrieved. I think the fixed layout will actually make it impossible to see [17:53:16] <CIA-111> anything beyond the 9th button however... The coding style of this app is, [17:53:16] <CIA-111> different, to say the least and I didn't really bother fixing it up right now, [17:53:17] <CIA-111> so the changes just mimic what's there. [17:53:18] <CIA-111> * Some automatic whitespace cleanup. [19:41:32] <CIA-111> pulkomandy * r41884 /haiku/branches/releases/r1alpha3/ (31 files in 24 dirs): Merge 41863,41866,41881. [20:31:10] <CIA-111> mmlr * r41885 /haiku/trunk/ (4 files in 3 dirs): (log message trimmed) [20:31:10] <CIA-111> * Replace the fixed size extended_joystick structure with a variably sized one [20:31:10] <CIA-111> inside BJoystick. [20:31:10] <CIA-111> * Add joystick_module_info flag to communicate support for variably sized reads. [20:31:10] <CIA-111> * The variably sized data structure is set up to describe either the actual [20:31:11] <CIA-111> amount of data, when variably sized reads are supported by the driver, or it [20:31:12] <CIA-111> is set up so that it exactly matches the data layout of the extended_joystick [21:45:41] <CIA-111> mmlr * r41886 /haiku/trunk/ (3 files in 2 dirs): [21:45:41] <CIA-111> * Remove the JoystickPrivate.h again and move the variable_joystick structure [21:45:41] <CIA-111> into joystick_driver.h as it is convenient to have also on the driver side. [21:45:41] <CIA-111> * Added comments explaining the data structure and use case of the structure. [22:36:03] <CIA-111> axeld * r41887 /haiku/trunk/src/bin/WindowShade.cpp: * Fixed build, and therefore finally fixes #6317 again :-) [22:51:30] <CIA-111> mmlr * r41888 /haiku/trunk/headers/private/device/joystick_driver.h: (log message trimmed) [22:51:31] <CIA-111> Add initialize[_to_extended_joystick]() methods to variable_joystick. With those [22:51:31] <CIA-111> methods the members are populated, the flat data size is calcualted, the data [22:51:31] <CIA-111> buffer is allocated and the convenience pointers are set up automatically. With [22:51:31] <CIA-111> initialize() an arbitrary configuration can be created, with [22:51:31] <CIA-111> initialize_to_extended_joystick() a configuration is created that exactly [22:51:31] <CIA-111> matches the data structure of the extended_joystick struct. [22:52:39] <CIA-111> mmlr * r41889 /haiku/trunk/src/kits/device/Joystick.cpp: [22:52:39] <CIA-111> Use the appropriate initialize*() method instead of setting up the structure [22:52:39] <CIA-111> manually. [23:03:36] <CIA-111> axeld * r41890 /haiku/trunk/src/preferences/screen/ScreenWindow.cpp: [23:03:36] <CIA-111> * Fixed missing initialization of fIsVesa, which should fix #7588. [23:03:36] <CIA-111> +alpha [23:09:03] <CIA-111> mmlr * r41891 /haiku/trunk/src/add-ons/kernel/drivers/input/usb_hid/ (JoystickProtocolHandler.cpp JoystickProtocolHandler.h): [23:09:03] <CIA-111> Implement variable joystick mode in the JoystickProtocolHandler. It supports [23:09:03] <CIA-111> both, variable and extended joystick mode, using the same mechanism of mimicing [23:09:03] <CIA-111> the extended_joystick structure with the variable one if required. The mode [23:09:03] <CIA-111> used depends on the support flag coming in from BJoystick (currently off), so [23:09:04] <CIA-111> with this commit the behaviour doesn't change. I'm going to flip that switch [23:09:04] <CIA-111> next though. [23:09:39] <CIA-111> aldeck * r41892 /haiku/trunk/ (5 files in 3 dirs): (log message trimmed) [23:09:40] <CIA-111> * Finally rewrote the filthy, busy-looping, mouse tracking in Tracker. [23:09:40] <CIA-111> The new asynchronous tracking doesn't lock the view and makes desktop [23:09:40] <CIA-111> replicants happy while clicking and dragging around. Fixes #880, #7241 [23:09:40] <CIA-111> and certainly other tickets, that i will revisit, about refresh locks [23:09:40] <CIA-111> on the desktop or mouse related bugs. Based on a reusable MessageFilter and the [23:09:41] <CIA-111> recent B_MOUSE_IDLE message. Some parts are ported from the old code [23:13:11] <CIA-111> mmlr * r41893 /haiku/trunk/src/kits/device/Joystick.cpp: [23:13:11] <CIA-111> Specify that we support variable mode, which will cause drivers to switch to [23:13:11] <CIA-111> that mode when they support it. Right now there is only usb_hid though. With [23:13:11] <CIA-111> this commit controllers with an arbitrary number of axes, hats and buttons are [23:13:11] <CIA-111> now supported by BJoystick and by the BJoystick <-> driver protocol as well as [23:13:11] <CIA-111> by usb_hid (usb_hid doesn't yet have support for hats though).