Romain Tartiere
b67dbe668b
Honour ctype(3) caveats section.
2010-02-17 14:36:33 +00:00
Romuald Conty
e0d8e80b76
Add _DARWIN_C_SOURCE define to activate all library features on MacOS
2010-02-17 14:12:38 +00:00
Romain Tartiere
9bafef8d88
Include pn53x.conf in libnfc tarballs since pn53x.rules is in it too.
2010-02-16 14:09:35 +00:00
Romain Tartiere
219d5657e8
Add devd(8) rules to change USB devices permissions when they are plugged-in on FreeBSD.
2010-02-16 14:06:56 +00:00
Romuald Conty
0b962a3b3b
Move sys/select.h include in the non-windows part.
...
Update copyright headers.
2010-02-10 15:20:13 +00:00
Romain Tartiere
386597af6e
Define _NETBSD_SOURCE that makes a few more serial speeds defined in termios.h.
2010-02-10 13:46:12 +00:00
Romain Tartiere
0d395733af
Fix indent after last commit.
2010-02-10 11:23:38 +00:00
Romain Tartiere
c8c03fe2e0
Do not add libusb to PKG_CONFIG_REQUIRES unless it is located using this method. Fix build failure for software detecting libnfc using pkg-config on FreeBSD (at least) when libusb is part of the system.
2010-02-10 11:23:01 +00:00
Romuald Conty
2a33e28db9
Add workaround for libusb while using CMake.
2010-02-09 16:10:45 +00:00
Romuald Conty
e2e6c6cacc
We should only use C99 types when available. This could fix a compilation issue reported at http://www.libnfc.org/community/post/770
2010-02-09 15:50:52 +00:00
Romuald Conty
d0610be25c
Improve nfc-relay to use nfc_list_devices() capabilities. This should fix Issue 64.
2010-02-09 15:39:56 +00:00
Romain Tartiere
1e0272d006
Make configure fail if pkg-config cannot be found.
2010-02-08 19:43:25 +00:00
Romain Tartiere
3914cf7eac
Fix build on NetBSD.
2010-02-08 19:40:41 +00:00
Romuald Conty
4bca43508b
Remove platform specific, and non-needed, headers.
2010-02-08 11:52:33 +00:00
Romuald Conty
e933f505e2
Add some Build-Depends to debian files.
2010-02-08 11:49:14 +00:00
Romuald Conty
08cfcc30b0
Add some quotes to prevent from expanding.
2010-02-08 11:48:23 +00:00
Romuald Conty
ec9a13a2c3
Attach CMake files in generated archive.
2010-01-29 15:33:34 +00:00
Romuald Conty
fa04c46cf7
Oops, typo.
2010-01-29 15:06:31 +00:00
Romuald Conty
22a0c4f99e
Prepare 1.3.2
2010-01-29 15:05:11 +00:00
Romuald Conty
f09c9a3764
Fix compiler warnings, fix issue 52.
2010-01-29 15:04:32 +00:00
Romuald Conty
d642b59300
Updated Debian package changelog.
2010-01-29 14:36:32 +00:00
Romain Tartiere
10183ffd22
ATM, there is no particular reason to keep O_NDELAY in open(2) flags (not defined by POSIX, BTW), but a particular reason to suppress it: it breaks build on FreeBSD.
2010-01-28 15:46:55 +00:00
Romain Tartiere
19672806d2
Fix some more cc warnings.
2010-01-28 15:42:50 +00:00
Romain Tartiere
4669279589
Add missing header. Fix build at least on FreeBSD 7.2.
...
Reported by: tinderbox
2010-01-28 14:32:23 +00:00
Romain Tartiere
7d20198520
Tweak the libusb detection.
...
1. Try to use pkg-config to locate libusb;
2. Try with libusb-config if not found;
3. Try to locate headers and lib if still not found.
This would hopefully prevent build failures in some very particular cases, such as cross compiling libnfc on a FreeBSD version for another FreeBSD version that does not use the same libusb.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/142836
Reported by: Dmitry Marakasov
2010-01-28 13:56:04 +00:00
Romuald Conty
d7aeb8fb5b
Prepare 1.3.1
2010-01-19 15:52:45 +00:00
Romuald Conty
2d4bdf28a1
Serial autoprobing is now DISABLED as default, fix Issue 58.
2010-01-18 11:23:07 +00:00
Romuald Conty
1e2ccbf9ff
Clean up after building doc archive.
2010-01-18 11:20:38 +00:00
Romuald Conty
abdc67ff4e
Improve releaser script by adding documentation generation.
2010-01-18 10:30:11 +00:00
Romuald Conty
2ebafcffaf
Description changed for Debian.
2010-01-18 10:29:23 +00:00
Romain Tartiere
e92de4d49e
Ensure UART file descriptors are valid before using them in uart_close ().
...
The uart_open() function may call uart_close() with a 'serial_port' structure with an invalid member 'fd' if the port was not opened successfully. The call to uart_close() was kept for consistency with the rest of the function because uart_close() is also in charge of freeing 'serial_port'.
2010-01-15 10:38:50 +00:00
Romain Tartiere
3f8068b760
Include "config.h" at the beginning of all source code, remove it from headers.
...
While here distinguish licence comments using the /*- special comment delimiter.
2010-01-15 10:18:11 +00:00
Romuald Conty
2e5236561e
Oups, typo.
2010-01-15 09:59:59 +00:00
Romuald Conty
f057b26afa
Another fix for Windows zip generation.
2010-01-14 16:44:07 +00:00
Romuald Conty
99c2a0aaf5
Update ChangeLog.
2010-01-14 16:33:08 +00:00
Romuald Conty
de8efd6855
Add missing files in windows archive.
2010-01-14 16:04:48 +00:00
Romuald Conty
4ad52aba57
Minor typo in debian files.
2010-01-14 15:58:58 +00:00
Romuald Conty
9ca2d3abfc
Update tarballs generation script.
2010-01-14 15:54:55 +00:00
Romuald Conty
762079d066
Include config.h must be used with HAVE_CONFIG_H define.
2010-01-14 15:53:49 +00:00
Roel Verdult
15981b743e
fixed windows compiling issues
2010-01-13 16:23:06 +00:00
Roel Verdult
f8b3ba9ab6
fixed windows compiling with 'free' Windows 7 SDK, currently dropped default libusb support
2010-01-13 15:57:46 +00:00
Roel Verdult
4179bb1918
ARYGON ADRB-USB 9600 baud note, removed invalid connection Mac OS X string for pn532 uart. This only applies for ARYGON devices since they use a silabs-usb-to-uart chip
2010-01-13 14:24:29 +00:00
Romuald Conty
f6a3ee94be
Update Doxyfile.in using doxygen -u
as suggested by Doxygen during doc compilation.
2010-01-13 14:18:40 +00:00
Francois Kooman
271fbc7589
enable Doxygen makefile "make doc" target for CMake builds
2010-01-12 19:27:37 +00:00
Romuald Conty
e4ca9245ec
C99 compiler is a requirement so we don't need --enable-std99 anymore.
...
Define _XOPEN_SOURCE 600 using config.h
2010-01-12 17:58:13 +00:00
Romuald Conty
0b720d30cd
Avoid BUFSIZ usage since it will be a HUGE buffer under linux (8192 bytes).
2010-01-12 12:47:26 +00:00
Romuald Conty
f0acc73541
Fix compilation warnings. Fix Issue 52.
2010-01-12 12:36:43 +00:00
Romuald Conty
e2336b8b90
Add mainpage, and fex useful pages, to generated documentation.
2010-01-12 12:03:20 +00:00
Romuald Conty
864a482e88
Minor code cleanup.
2010-01-12 11:50:09 +00:00
Francois Kooman
fe0396e392
fix CMake build files
2010-01-11 20:33:46 +00:00