Commit graph

2202 commits

Author SHA1 Message Date
Romuald Conty
85afbd40ca Fix nfc-types documentation. 2010-03-25 19:12:31 +00:00
Romuald Conty
ba5dbb05d5 Put an annoying message in debug mode only. 2010-03-25 14:55:28 +00:00
Romuald Conty
17dda85c71 Add README for Windows compilation using win32/Makefile.
Rename README-Windows.txt (compilation using CMake) into CMake-Windows.txt
2010-03-25 09:28:09 +00:00
Romuald Conty
b3c055fa5f Typo. 2010-03-25 09:03:41 +00:00
Romain Tartiere
f20a681315 Prevent the Windows installer from installing manual pages. 2010-03-23 10:00:48 +00:00
Romain Tartiere
f372104163 Fix build on Windows when using CMake (Tested on Windows XP SP3 with WinSDK 7) 2010-03-22 20:34:02 +00:00
Romain Tartiere
b3b3f47876 - Sync libnfc version in CMake with the one in the autotools;
- Only add gcc-specific options when using gcc.
2010-03-22 20:28:30 +00:00
Romuald Conty
c203ce837c Prevent from annoying message when probing nfc devices. 2010-03-11 14:42:58 +00:00
Romain Tartiere
e223b93d91 The obsolete function usleep(3) also needs _XOPEN_SOURCE >= 500. 2010-02-20 13:01:43 +00:00
Romuald Conty
738885cc1a Prepare 1.3.3 2010-02-17 15:02:03 +00:00
Romuald Conty
63262331c6 Suppress warnings due to unused variable. 2010-02-17 14:57:03 +00:00
Romuald Conty
d97d017853 Move variable declarations at the beginning of function body to be able to compile using a stupid^W non C99 conform compiler under a non standard OS... 2010-02-17 14:48:41 +00:00
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