Commit graph

1477 commits

Author SHA1 Message Date
Romuald Conty
b5f8ce91c7 Uses configurable path for libnfc's configuration files 2013-02-01 11:11:39 +01:00
Romuald Conty
cf9e02879a Enables logging by default when using CMake 2013-02-01 10:32:44 +01:00
Romuald Conty
93e26b1475 Releases libnfc 1.7.0 RC3 2013-01-31 17:53:00 +01:00
Philippe Teuwen
fff6a092ab Fix Readme for drivers reqs 2013-01-31 16:44:37 +01:00
Romuald Conty
d26c5b248e Adds windows files to tarball 2013-01-31 16:17:37 +01:00
Romuald Conty
519dd8f8e2 make style 2013-01-31 16:12:14 +01:00
Romuald Conty
acdde1088c Renames contrib/win32/nfc_win32.c to contrib/win32/stdlib.c 2013-01-31 16:09:41 +01:00
Romuald Conty
c01b961be0 Fixes CMake under GNU/Linux 2013-01-31 16:04:47 +01:00
Romuald Conty
3fff5985fc Moves Windows conditional code to dedicated files 2013-01-31 15:58:20 +01:00
Alex Lian
87182b5a65 Windows: Fix nfc-scan-device to compile by linking in contrib/nfc_win32.c
Re-factored the executable call with a list that is created, so that its easier to modify per tool.
2013-01-31 15:52:40 +01:00
Alex Lian
9eeaf33b94 Windows: getopt usage in nfc-read-forum-tag3 fixed by referencing correct header 2013-01-31 15:52:39 +01:00
Alex Lian
3c9d9a872c Fix all utils compilation on windows.
- As nfc-utils now references str_nfc_target from the lib itself, so the static lib was not properly referencing the libnfc itself, so the final utility link would fail.
- Simply added the libnfc as a target for the static nfcutils library internal to cmake
2013-01-31 15:52:39 +01:00
Alex Lian
ef33827f04 Fix setenv/unsetenv link errors by implementing a local version using Windows SetEnvironmentVariable.
Untested, and does not comply with the error returns per setenv.
2013-01-31 15:52:39 +01:00
Alex Lian
9f682cc52b Fix enabling of LIBNFC_DEBUG_OUTPUT
- inclusion of log-printf.c didn't align with needed preprocessor definitions
- Added extra #error as well as preprocessor protection
- fixed CMakeList to specify -DLOG as appropriate per the header log.h usage
2013-01-31 15:52:39 +01:00
Alex Lian
eb90c5a8db Add CMake options for Win32 to require PCRE 2013-01-31 15:52:39 +01:00
Alex Lian
ef82a1e4d4 For Windows MinGW address the "ISO C99 requires rest arguments to be used" error 2013-01-31 15:52:39 +01:00
Philippe Teuwen
8bc7a1c291 call idle() from driver-dependent close() rather than from nfc_close() as some driver still need to do an ack() before 2013-01-31 01:18:23 +01:00
Philippe Teuwen
683505f39b pn53x_idle: call driver-dependent PowerDown & do InRelease first, skip redundant InDeselect 2013-01-31 01:16:37 +01:00
Philippe Teuwen
1682a86166 Add driver-dependent PowerDown 2013-01-31 01:15:03 +01:00
Philippe Teuwen
db8033622a acr122_pcsc: fix log category 2013-01-31 01:08:23 +01:00
Philippe Teuwen
f7010faf18 Changelog 2013-01-31 01:05:28 +01:00
Philippe Teuwen
5446242094 acr122_usb: remove pn53x_idle support. Fixes issue #217 2013-01-30 01:27:18 +01:00
Romuald Conty
a303b9e33c Updates ChangeLog 2013-01-30 01:15:41 +01:00
Romuald Conty
98948172b4 Fixes pn53x_usb timeout while bulk write.
Thanks to Tredger for reporting.

Fixes issue 223.
2013-01-30 00:57:06 +01:00
Romuald Conty
cd2b03a08a Add timeout parameter to nfc_emulate_target() function.
Fixes issue 219.

Thanks to raidolinja.
2013-01-30 00:10:24 +01:00
Philippe Teuwen
b675db73be nfc-scan-device: fix option -i 2013-01-29 13:52:53 +01:00
Romuald Conty
4b97700352 Removes exit() calls
Fixes issue 220

exit() was used to run abort-driven development while API changed, I forgot to remove them, sorry for that :-)
2013-01-28 13:57:40 +01:00
Philippe Teuwen
3d580dc3ec Missing ref to nfc-scan-device.1 in debian/libnfc-bin.install 2013-01-25 16:09:27 +01:00
Ludovic Rousseau
2faa532826 Fix a typo detected by lintian(1)
unkown -> unknown
2013-01-25 14:41:33 +01:00
Nobuhiro Iwamatsu
df51859d74 Add debian's changelog
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
2bcca34a59 Add myself to copyright
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
8d32b00af2 Change Maintainer filed to myself
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
c0b10139e2 Fix package version for debian/changelog
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
edf540bb71 Remove *.la from debian/libnfc-dev.install
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
103a67fb75 Remove libusb-0.1-4 from Depends
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
2db7087041 Add support multiarch
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
c8e2d39cbc Update debhelper version to 8
This is not update to 9. Because I think about backport and use in
Squeeze (Debian 6.0).

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
09e9a532d9 Enable varbose build log
If we enable varbose build log, hardening checking is easy.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Nobuhiro Iwamatsu
a6301e4310 Update Standards-Version to 3.9.4
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-01-25 14:26:49 +01:00
Ludovic Rousseau
109d496222 Compilation: Change the order of arguments
Put the -lnfc at the end of the command lie to avoid undefined
references on Ubuntu 12.04.

Close #219
2013-01-25 14:18:28 +01:00
Philippe Teuwen
5876e33e49 Fix returned value ((res=f()<0)) => ((res=f())<0); this solves a bug in nfc-relay-picc 2013-01-22 00:56:34 +01:00
Philippe Teuwen
0ac3b26982 nfc-relay-picc: Fix received bytes count 2013-01-22 00:54:47 +01:00
Philippe Teuwen
9815ac728f nfc-emulate-uid: fix BCC 2013-01-22 00:45:42 +01:00
Romuald Conty
49d7ce61f3 Debian package uses the default configure script 2013-01-20 17:00:57 +01:00
Romuald Conty
ca7d01ade3 Enables pn532_uart driver by default 2013-01-20 17:00:21 +01:00
Philippe Teuwen
edacadbce6 make style 2013-01-20 15:48:32 +01:00
Philippe Teuwen
ea05559fa5 Prepare for version 1.7.0-RC2 2013-01-20 15:45:57 +01:00
Philippe Teuwen
84af758877 Add /etc/nfc/devices.d/ example in NEWS 2013-01-20 15:41:53 +01:00
Philippe Teuwen
532b30a2cd Merge branch 'test_user_defined_device_optional'
* test_user_defined_device_optional:
  Fix double malloc
  Allow device.optional=true to tolerate missing device
2013-01-20 15:36:29 +01:00
Philippe Teuwen
bcd53a7cdc Fix double malloc 2013-01-20 15:24:03 +01:00