#
5b2fc19f |
|
09-Sep-2021 |
Coldfirex <sakison@gmail.com> |
PC_Serial and USB_Serial: Fix -Wformat-security Change-Id: Ia150eaf0e639c03b3d1f267d9ee582ff82bf0d21 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4442 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
578558b4 |
|
07-May-2014 |
Pawel Dziepak <pdziepak@quarnos.org> |
add-ons/kernel: add spaces between literals and identifiers Due to introduction of user-defined suffixes C++11 requires that there is a space between literal and identifier to avoid ambiguity. This patch makes the whole kernel build successfully with C++11.
|
#
38fa81bf |
|
03-Oct-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove B_COMMON*_DIRECTORY and kCommon*Directory constants * This does intentionally break source compatibility, so that a review of concerned code is forced. * Binary compatibility should be maintained in most cases. The values of the constants for the writable directories are now used for the writable system directories. The values for the non-writable directories are mapped to "/boot/system/data/empty/...", an empty or non-existent directory, so that they will simply be skipped in search paths. Only code that explicitly expects to find something in a B_COMMON_* directory, will fail.
|
#
50055386 |
|
04-Dec-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Fix missing null check. CID 10937.
|
#
323b6546 |
|
21-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Filtered flat import of Oliver's svn package management branch Bring the changes that aren't package management related and the ones that are but don't take effect as long as they are ignored by the build system into the master. Summary of changes: * Introduce private header <directories.h> with constants for a good deal of paths that should usually be retrieved via find_directory(). * Replace hard-coded paths by using find_directory() or the <directories.h> constants (e.g. in drivers and the kernel). * Add find_directory() constants needed for package management. * Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros. * src/apps/deskbar: BeMenu.* -> DeskbarMenu.*, DeskBarUtils.* -> DeskbarUtils.* * Change deskbar menu settings directory from ~/config/be to ~/config/settings/deskbar. * Other smaller cleanups, changes, and fixes.
|
#
3dfd9cb9 |
|
16-Jun-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Flat commit of all changes from package-management branch in svn
|
#
f7868b8f |
|
10-Jun-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Print the speeds even though they are marked as not used (as the baud index is inside the cflags) since stty for example sets them. * Turn off debug output by default and fix a warning due to that. * Some minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42087 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b77aa015 |
|
08-Dec-2010 |
François Revol <revol@free.fr> |
Fix gcc4 build: - use new(std::nothrow) from <new> since we dropped kernel_cpp.h, - fix "declared 'extern' and later 'static'" warning, - fix "deprecated conversion from string constant to 'char*'" warning in tracing code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39784 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b994a185 |
|
07-Dec-2010 |
Michael Lotz <mmlr@mlotz.ch> |
Port of usb_serial to the generic tty module. I don't remember exactly if or how well this was working, but since it was non-functional on Haiku anyway this shouldn't hurt. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39762 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
12f32926 |
|
12-Jun-2008 |
François Revol <revol@free.fr> |
- change KLSI init the way it's done by the linux driver - do not count usb headers as part of count returned by write(), else we might end up writing more than the passed amount :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25939 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7aa661d4 |
|
19-Jan-2008 |
Michael Lotz <mmlr@mlotz.ch> |
Rework of the usb_serial driver: * Refactored everything to C++ with the different devices as subclasses * Added proper ACM detection with parsing of the ACM descriptors * Added device transfer error handling and fixed some concurency issues * Big cleanup to conform to our style guide This should make at least ACM stable to use. Commiting this over my K850i with ACM compliant USB modem and UMTS data connection. Note that support for all other device classes (Prolific, FTDI and KLSI) is untested but should work the same as before. Note also that since we currently lack a TTY module this will only build/work for R5 or Dano with the proper TTY headers. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23634 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
578558b439867f563d44d168a29223f76d6bb23e |
|
07-May-2014 |
Pawel Dziepak <pdziepak@quarnos.org> |
add-ons/kernel: add spaces between literals and identifiers Due to introduction of user-defined suffixes C++11 requires that there is a space between literal and identifier to avoid ambiguity. This patch makes the whole kernel build successfully with C++11.
|
#
38fa81bf8f0ccc37a615a9f5bd333f9b781322b3 |
|
03-Oct-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Remove B_COMMON*_DIRECTORY and kCommon*Directory constants * This does intentionally break source compatibility, so that a review of concerned code is forced. * Binary compatibility should be maintained in most cases. The values of the constants for the writable directories are now used for the writable system directories. The values for the non-writable directories are mapped to "/boot/system/data/empty/...", an empty or non-existent directory, so that they will simply be skipped in search paths. Only code that explicitly expects to find something in a B_COMMON_* directory, will fail.
|
#
500553860e665d1228580dec8041c501e0523d5a |
|
04-Dec-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Fix missing null check. CID 10937.
|
#
323b65468e5836bb27a5e373b14027d902349437 |
|
21-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Filtered flat import of Oliver's svn package management branch Bring the changes that aren't package management related and the ones that are but don't take effect as long as they are ignored by the build system into the master. Summary of changes: * Introduce private header <directories.h> with constants for a good deal of paths that should usually be retrieved via find_directory(). * Replace hard-coded paths by using find_directory() or the <directories.h> constants (e.g. in drivers and the kernel). * Add find_directory() constants needed for package management. * Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros. * src/apps/deskbar: BeMenu.* -> DeskbarMenu.*, DeskBarUtils.* -> DeskbarUtils.* * Change deskbar menu settings directory from ~/config/be to ~/config/settings/deskbar. * Other smaller cleanups, changes, and fixes.
|
#
3dfd9cb95ce45f59160d50975210bc55e3fc0709 |
|
16-Jun-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Flat commit of all changes from package-management branch in svn
|
#
f7868b8f1a377a9933bd24ee9265fee56cad151d |
|
10-Jun-2011 |
Michael Lotz <mmlr@mlotz.ch> |
* Print the speeds even though they are marked as not used (as the baud index is inside the cflags) since stty for example sets them. * Turn off debug output by default and fix a warning due to that. * Some minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42087 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b77aa0155d4296ca41fc23d5216a326a97edd0f1 |
|
08-Dec-2010 |
François Revol <revol@free.fr> |
Fix gcc4 build: - use new(std::nothrow) from <new> since we dropped kernel_cpp.h, - fix "declared 'extern' and later 'static'" warning, - fix "deprecated conversion from string constant to 'char*'" warning in tracing code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39784 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b994a185080e8f2706d5a153496070f7fe7b4d7e |
|
07-Dec-2010 |
Michael Lotz <mmlr@mlotz.ch> |
Port of usb_serial to the generic tty module. I don't remember exactly if or how well this was working, but since it was non-functional on Haiku anyway this shouldn't hurt. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39762 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
12f329261557cff6c769a4cb0c23fe8a55bb2622 |
|
12-Jun-2008 |
François Revol <revol@free.fr> |
- change KLSI init the way it's done by the linux driver - do not count usb headers as part of count returned by write(), else we might end up writing more than the passed amount :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25939 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7aa661d403eac10eab21bcd0facf01c2bcc03c24 |
|
19-Jan-2008 |
Michael Lotz <mmlr@mlotz.ch> |
Rework of the usb_serial driver: * Refactored everything to C++ with the different devices as subclasses * Added proper ACM detection with parsing of the ACM descriptors * Added device transfer error handling and fixed some concurency issues * Big cleanup to conform to our style guide This should make at least ACM stable to use. Commiting this over my K850i with ACM compliant USB modem and UMTS data connection. Note that support for all other device classes (Prolific, FTDI and KLSI) is untested but should work the same as before. Note also that since we currently lack a TTY module this will only build/work for R5 or Dano with the proper TTY headers. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23634 a95241bf-73f2-0310-859d-f6bbb57e9c96
|