Uwe Hermann
900904638b
configure.ac: We no longer need to set WINVER explicitly.
...
Since we now require MinGW-w64, we no longer have to set WINVER manually,
since MinGW-w64 defaults to WINVER=0x0502 (which corresponds to
Windows Server 2003 SP1 / Windows XP SP2 apparently, which is fine for us).
2014-08-05 21:22:59 +02:00
Uwe Hermann
34906a229b
windows.c: Remove MinGW workarounds, require MinGW-w64 instead.
...
We're switching from MinGW (i686-pc-mingw32.static in MXE)...
http://mingw.org/
...to MinGW-w64 (i686-w64-mingw32.static in MXE):
http://mingw-w64.sourceforge.net/
The latter is a fork which nowadays seems to be more active and also to
have a more complete set of win32 API headers and libs.
History:
http://sourceforge.net/p/mingw-w64/wiki2/History/
This closes bug #393 .
2014-08-05 21:22:50 +02:00
Uwe Hermann
8eb18f7b5a
windows.c: Define a bunch of stuff that's not in MinGW, yet.
...
Without these defineѕ the build fails with various (many) compile errors.
2014-07-31 23:14:35 +02:00
Uwe Hermann
9a8d04bca6
configure.ac: MinGW build fix (setting WINVER=0x0501).
...
Without this the build fails with:
windows.c:40:43: error: 'WC_NO_BEST_FIT_CHARS' undeclared (first use in
this function)
2014-07-31 23:11:40 +02:00
Uwe Hermann
5a8810e2b2
serialport.c: Fix an 'unused variable' compiler warning.
2014-07-31 23:09:24 +02:00
Marcus Comstedt
12056e2f75
Avoid use of struct serial_struct on systems which don't have it (Android)
...
This fixes bug #376 .
2014-07-06 14:16:56 +02:00
Marcus Comstedt
5bd33b7c8b
Don't use readlinkat if it does not exist
...
This fixes bug #377 .
2014-07-06 14:15:46 +02:00
Aurelien Jacobs
970f279ae4
Introduce SP_API/SP_PRIV to mark visibility of functions.
2014-07-02 14:43:32 +02:00
Martin Ling
e4ce975a54
Fix build for platforms without enumeration & port metadata support.
2014-06-14 12:27:54 +01:00
Aurelien Jacobs
48a4076f69
Move list_ports() implementations to OS-specific files.
2014-06-14 01:28:49 +02:00
Aurelien Jacobs
235269990b
Fix missing variable on macosx.
2014-06-13 23:47:45 +02:00
Bert Vermeulen
e59ecb3359
Ignore build leftovers.
2014-06-11 20:41:20 +02:00
Aurelien Jacobs
65172beffe
Check bus:address and vid:pid validity.
2014-06-11 17:21:51 +02:00
Martin Ling
e33dcf90a0
Tidy up and split most OS-specific code to separate files.
2014-06-11 15:10:29 +01:00
Aurelien Jacobs
a93fb46888
Add new APIs to get some USB descriptor details for USB serial ports.
2014-06-10 23:51:11 +02:00
Aurelien Jacobs
98cac5d63e
Remove the udev dependency and parse the /sys hierarchy instead.
2014-06-10 22:17:07 +02:00
Aurelien Jacobs
073c86bd07
Simplify Mac OS implementation of sp_list_ports().
2014-06-10 22:17:07 +02:00
Aurelien Jacobs
f095f84164
Remove useless declaration.
2014-06-10 22:17:07 +02:00
Aurelien Jacobs
da2ede60e4
Remove duplicated include.
2014-06-10 22:16:46 +02:00
Aurelien Jacobs
8edf649caf
Add format string support to RETURN_ERROR() and RETURN_FAIL().
2014-06-02 12:08:54 +02:00
Uwe Hermann
41a6f28718
NEWS: Bump date.
2014-05-06 20:49:11 +02:00
Uwe Hermann
67765669d5
NEWS: Update for upcoming 0.1.0 release.
2014-05-05 02:09:11 +02:00
Uwe Hermann
9fb991348d
configure.ac: Add 'check-news' automake option.
...
This warns if the NEWS file hasn't been updated before a release.
2014-05-05 02:09:11 +02:00
Uwe Hermann
1652aa869f
Add Doxygen @since tags to all public API functions.
2014-05-05 02:09:11 +02:00
Uwe Hermann
c01b8cae0c
doxygen: Updated Doxyfile to doxygen 1.8.6.
2014-05-04 17:56:49 +02:00
Uwe Hermann
60db41b9c5
Add the usual AUTHORS file.
2014-04-13 19:54:41 +02:00
Martin Ling
6c4b27a8b8
Merge pull request #1 from silverbuddy/master
...
Win32 issues
2014-03-22 07:14:49 +00:00
silverbuddy
e48f0ece0f
Fix malloc size (Win32)
2014-03-21 21:49:22 +04:00
silverbuddy
904ac164bf
Fix compilation (Win32 UNICODE)
2014-03-21 21:43:19 +04:00
Uwe Hermann
524b0e1454
Add runtime version querying functions.
...
This fixes bug #282 .
2014-03-13 12:23:56 +01:00
Martin Ling
3ceb8aecff
linux_termios.c: fix check for termios speed fields.
2014-01-03 13:44:14 +01:00
Martin Ling
5cea279a85
linux: Speed fields may not be present in kernel termios structures.
2014-01-03 13:38:06 +01:00
Martin Ling
bd791fe121
Remove need to include linux_termios.h on non-Linux.
2014-01-03 12:16:41 +01:00
Martin Ling
27e231ff35
Only build linux_termios.c on Linux.
2014-01-03 11:52:53 +01:00
Uwe Hermann
8814faa3b6
Makefile.am: Add Doxyfile to the generated tarball.
2013-12-27 02:44:42 +01:00
Uwe Hermann
deaf0a6351
Doxygen: Fix a warning / incorrect parameter name.
2013-12-27 02:39:29 +01:00
Uwe Hermann
104f093dba
Makefile.am: Fix 'make doc' for out-of-tree builds.
2013-12-27 02:39:06 +01:00
Uwe Hermann
7c3a1ee32a
configure.ac: Cosmetics, fix typo.
2013-12-27 02:28:10 +01:00
Martin Ling
6f1186aa82
Add API for waiting on port events.
2013-12-20 18:24:42 +00:00
Martin Ling
2dcf830888
Remove various unused code in configure.ac.
2013-12-18 15:59:58 +00:00
Uwe Hermann
f15a2349e2
Doxyfile: Update to Doxygen 1.8.5 config file.
...
This is done via "doxygen -u".
2013-12-17 22:39:19 +01:00
Uwe Hermann
0a1ab8bf8f
Minor Doxygen updates/fixes.
2013-12-17 22:39:19 +01:00
Uwe Hermann
1a2a1544d7
win32: Add missing ClearCommError() error handling/reporting.
2013-12-17 22:39:15 +01:00
Martin Ling
537942c9ed
Windows: clear errors after port open.
2013-12-17 17:19:55 +00:00
Martin Ling
950faaa94a
Remove obsolete comment.
2013-12-08 14:41:53 +00:00
Martin Ling
9af8cff38f
Remove stray periods from debug messages.
2013-12-07 20:18:27 +00:00
Martin Ling
64d996216e
Windows nonblocking write: Dont't return if async I/O finishes immediately.
2013-12-07 20:16:38 +00:00
Martin Ling
1622ef60b0
Check return value of GetOverlappedResult().
2013-12-07 17:09:06 +00:00
Martin Ling
7c1eff54fd
Make RETURN_VALUE macro side effect safe.
2013-12-07 16:29:18 +00:00
Martin Ling
33fd8804b8
Fix building for Android.
2013-12-05 20:33:06 +00:00