#
393ca9a1 |
|
01-Jun-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Cleanup of the _BJoystickTweaker: * Include sorting, header style, macro naming, variable naming, spacing, ... * Some simplifications, early returns and the like. * The device name list items were allocated with new but deleted with free. The whole private BJoystick list being modified by a friend class is dubious though and should be reworked. Ideally node monitoring would be implemented so that the list can be re-populated on demand instead of scanning through every time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41868 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef13dbda |
|
30-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Actually implement the relevant parts of BJoystick, i.e. reading the joystick info and values. Inspired by and in parts based on the patch by caz_haiku in ticket #7429 (though rewritten completely due to the other changes). Thanks for the pointers! * Clean up the mixup of internal joystick info and the one from joystick_driver.h so that BJoystick and the drivers talk about the same structures. * Extensive coding style cleanup, simplifications, NULL checks, early returns, std::nothrow allocations, include sorting, argument naming, ... that kind of stuff. * Added some TODO notes for remaining stuff. * Automatic (and manual) whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41849 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c4035e91 |
|
22-Feb-2011 |
Jonas Sundström <jonas@kirilla.com> |
Unsafe use of strncpy replaced by strlcpy. CID 2259. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40626 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b48e7fc8 |
|
12-Sep-2009 |
Rene Gollent <anevilyak@gmail.com> |
Fix Device Kit build in debug mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33110 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6ecf7db5 |
|
23-Aug-2008 |
Fredrik Modeen <fredrik@modeen.se> |
Code cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27172 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8f38768e |
|
11-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Don't define DEBUG in public headers!!! Doing it this way will break the build for others, namely those that also include <Debug.h> * This fixes the remaining problems of building Pe under Haiku. * Those files need a giant style cleanup... Fredrik, time to have a look at our style guide :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26931 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b555dcbd |
|
03-Aug-2008 |
Fredrik Modeen <fredrik@modeen.se> |
comment fix and fixed some return error from BeBook git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26784 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
34f723cd |
|
03-Aug-2008 |
François Revol <revol@free.fr> |
gcc4 fix. my->beers--; git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26769 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
19143948 |
|
03-Aug-2008 |
Fredrik Modeen <fredrik@modeen.se> |
Forgot a file git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26765 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
393ca9a124efa6630c4823156b8cfceaf4780430 |
|
01-Jun-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Cleanup of the _BJoystickTweaker: * Include sorting, header style, macro naming, variable naming, spacing, ... * Some simplifications, early returns and the like. * The device name list items were allocated with new but deleted with free. The whole private BJoystick list being modified by a friend class is dubious though and should be reworked. Ideally node monitoring would be implemented so that the list can be re-populated on demand instead of scanning through every time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41868 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ef13dbda922b4cf26edc3d0bd5ca665e801c6b9d |
|
30-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Actually implement the relevant parts of BJoystick, i.e. reading the joystick info and values. Inspired by and in parts based on the patch by caz_haiku in ticket #7429 (though rewritten completely due to the other changes). Thanks for the pointers! * Clean up the mixup of internal joystick info and the one from joystick_driver.h so that BJoystick and the drivers talk about the same structures. * Extensive coding style cleanup, simplifications, NULL checks, early returns, std::nothrow allocations, include sorting, argument naming, ... that kind of stuff. * Added some TODO notes for remaining stuff. * Automatic (and manual) whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41849 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c4035e912498cd3cb0c6db21c4dcf275e42d731c |
|
22-Feb-2011 |
Jonas Sundström <jonas@kirilla.com> |
Unsafe use of strncpy replaced by strlcpy. CID 2259. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40626 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b48e7fc84238b8e955d11934875ead8aa088f13c |
|
12-Sep-2009 |
Rene Gollent <anevilyak@gmail.com> |
Fix Device Kit build in debug mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33110 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6ecf7db5fd8fe555781a14a58544d999b3296ef7 |
|
23-Aug-2008 |
Fredrik Modeen <fredrik@modeen.se> |
Code cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27172 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8f38768e656e5abd6efdf3fd57b3273ce420d22f |
|
11-Aug-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Don't define DEBUG in public headers!!! Doing it this way will break the build for others, namely those that also include <Debug.h> * This fixes the remaining problems of building Pe under Haiku. * Those files need a giant style cleanup... Fredrik, time to have a look at our style guide :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26931 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b555dcbd39f9d29bf8e498bb3141f38116346cb5 |
|
03-Aug-2008 |
Fredrik Modeen <fredrik@modeen.se> |
comment fix and fixed some return error from BeBook git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26784 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
34f723cdc8ba5c7f50f317a56221c6ab40736a6f |
|
03-Aug-2008 |
François Revol <revol@free.fr> |
gcc4 fix. my->beers--; git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26769 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
19143948df420c5a0e1f6aa4de9a882e49af8545 |
|
03-Aug-2008 |
Fredrik Modeen <fredrik@modeen.se> |
Forgot a file git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26765 a95241bf-73f2-0310-859d-f6bbb57e9c96
|