Commit graph

1836 commits

Author SHA1 Message Date
Ahti Legonkov
fd6d4db5b7 Make it possible to disable conf.
Now the configure script has --disable-conf command-line argument
that can be used to turn off environment variables and use of
configuration files.
2013-02-22 21:09:46 +01:00
Philippe Teuwen
72b10c5d9b Fix warnings: ignoring return value of 'pipe' & discarding const qualifier 2013-02-21 23:20:28 +01:00
Philippe Teuwen
24e1edd858 make style 2013-02-21 22:39:39 +01:00
Philippe Teuwen
5ced93fcbf Makefile.am: move header files from noinst_HEADERS to _SOURCES
Ensures proper recompilation when a header file is edited.
cf https://www.gnu.org/software/automake/manual/html_node/Headers.html
2013-02-21 22:37:20 +01:00
Philippe Teuwen
7af127ac0d pn53x-tamashell: allow larger commands up to full extended frame (264 bytes)
It was arbitrarily limited to MAX_FRAME_LEN-10 probably because of bug in LOG_HEX() fixed in previous commit
2013-02-21 22:36:23 +01:00
Philippe Teuwen
9935095a36 Fix stack smash bug in LOG_HEX() macro
Fixes issue 232
2013-02-21 22:31:19 +01:00
Romuald Conty
7e26869b68 Fixes nfc_drivers memory leak 2013-02-21 19:58:40 +01:00
Romuald Conty
1e16795341 'make style' and align some #preprocessor directives 2013-02-19 00:43:20 +01:00
Romuald Conty
ef5c39bd7b Allow aware developer to change nfc_connstring size
/!\ Warning: be sure what you are doing if you custom this value...
2013-02-19 00:43:20 +01:00
Philippe Teuwen
911bbfa38d Debian: Fix symbols 2013-02-16 22:19:55 +01:00
Philippe Teuwen
09ce0e822c nfc_free(): fix related doc 2013-02-16 22:18:00 +01:00
Romuald Conty
95179e7894 Debian: rc4->rc5 2013-02-16 15:46:44 +01:00
Romuald Conty
fc233c1775 Releases 1.7.0 RC5 2013-02-16 15:29:10 +01:00
Romuald Conty
f8601886fd Adds nfc_free() function to freed allocated buffers
Fixes issue 228 (Thanks to Alex Lian)
2013-02-16 14:20:37 +01:00
Romuald Conty
ffd5928dc6 Adds missing windows files in generated tarball 2013-02-16 14:08:44 +01:00
Romuald Conty
360365ca84 Preserves error code while setting parameters
It now returns a more precise error code while using pn53x_set_property_bool() with NP_AUTO_ISO14443_4 flag.
2013-02-15 09:38:26 +01:00
Romuald Conty
3584338d85 Adds libnfc.conf.sample file to archive 2013-02-14 15:33:47 +01:00
Alex Lian
4487fd768e Windows: Shift files from libnfc/windows to libnfc/contrib/win32
- Fixes the fact files were missed in package
2013-02-14 15:33:47 +01:00
Philippe Teuwen
0203ade66c Debian control: misc:Pre-Depends is only for packages providing a shared library
Fixes warnings:
dpkg-gencontrol: warning: Pre-Depends field of package libnfc-dev: unknown substitution variable ${misc:Pre-Depends}
dpkg-gencontrol: warning: Pre-Depends field of package libnfc4-dbg: unknown substitution variable ${misc:Pre-Depends}
2013-02-06 15:16:40 +01:00
Philippe Teuwen
f961452cf8 Debian: add nfc_register_driver() to symbol list 2013-02-06 15:08:30 +01:00
Philippe Teuwen
43a1e57a62 Add nfc_register_driver() to NEWS & Changelog 2013-02-06 15:08:20 +01:00
Philippe Teuwen
73992041b4 Merge remote-tracking branch 'ahti/issue-137' into master
* ahti/issue-137:
  Add nfc_register_driver.

Fixes issue 225
Helps issue 137
2013-02-06 15:07:18 +01:00
Philippe Teuwen
487c8050ef Debian: rc3->rc4 2013-02-06 15:06:50 +01:00
Ludovic Rousseau
4e89c61813 Use git(1) only if present
The GIT_REVISION is set as the result of 'git describe'.
If git is not installed the old code generated an error:
$ dh_autoreconf -a
sh: 1: git: not found
sh: 1: git: not found

Thanks to Thomas Hood for the bug report
https://groups.google.com/d/msg/nfc-tools-devel/Skd03b1wUcg/xnQThAPXPCYJ
2013-02-05 19:39:45 +01:00
Romuald Conty
c2fe7673dd Releases 1.7.0 RC4 2013-02-04 11:38:57 +01:00
Romuald Conty
d6dce20302 Merge branch 'master' of https://code.google.com/p/libnfc 2013-02-04 10:34:42 +01:00
Nobuhiro Iwamatsu
c980c52aca Update libnfc4.symbols to 1.7.0~rc3
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-02-04 10:33:59 +01:00
Philippe Teuwen
414d00529e debian .gitignore gardening 2013-02-04 10:33:04 +01:00
Romuald Conty
89b177c58a Merge Alex Lian branch 2013-02-04 10:16:32 +01:00
Romuald Conty
d5b6a7c4d1 Resolves conflict between Alex Lian and master branch 2013-02-04 10:14:34 +01:00
Ludovic Rousseau
5753d1e320 Build-Depends: debhelper (>= 9)
debian/compat is set to 9 to use multiarch. We must then depend on the
correct version of debhelper.
2013-02-02 11:51:55 +01:00
Philippe Teuwen
6b140bef11 debian: fix multiarch issues 2013-02-02 11:45:01 +01:00
Philippe Teuwen
4d0ee443d1 Fix crash in nfc-relay-picc -i/-t if fd3 or fd4 is missing 2013-02-01 21:55:29 +01:00
Philippe Teuwen
386e08d8b3 Fix nfc_initiator_select_passive_target() in several utils if tag is missing 2013-02-01 20:52:49 +01:00
Alex Lian
54e0bdb62f Windows: Build updates
- Generate rc files from version.rc.in + CMake variable information in CMakeLists files
- Add step to generate .lib file for windows developers
- Re-structure tool flag usage, apparently ADD_DEFINTIONS adds them to _ALL_ tools. This is bad for rc files with the windres tool.

Needs other platform testing, as the flags have changed to fix Windows rc file generation.
2013-02-01 10:19:02 -05:00
Alex Lian
eddc46fd78 Windows: Update readme for requirement for PCRE 2013-02-01 10:17:20 -05:00
Alex Lian
726f729aba Windows: Update def file for consideration of proper lib file generation
- Aligned to latest nfc.h for function name exports
2013-02-01 10:15:46 -05:00
Alex Lian
cb70044510 Windows: Remove rc files in favor of generated rcs 2013-02-01 10:15:01 -05:00
Alex Lian
a0e6422c5f Windows: Remove old msi package creation
- Utilized only by recently removed Makefile
- Unused
2013-02-01 09:28:34 -05:00
Alex Lian
5a401f42a3 Windows: Remove unused Makefile
Removing in favor of standardizing on CMake usage
2013-02-01 09:27:35 -05:00
Alex Lian
3cd5c71052 Windows: Remove unused header/stub
- Likely from before proper libusb reference
2013-02-01 09:24:48 -05:00
lego
225094e2c8 Add nfc_register_driver. Issue 137.
The nfc_register_driver allows users of the library to write their
own device drivers without needing to resort to hacking libnfc itself.
2013-02-01 14:40:40 +02:00
Romuald Conty
90451a16b9 Merge branch 'master' into alex 2013-02-01 12:46:12 +01:00
Romuald Conty
8127a2ca63 Merge branch 'master' of https://code.google.com/p/libnfc 2013-02-01 11:46:26 +01:00
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
Alex Lian
caa09db5fc Merge remote-tracking branch 'refs/remotes/libnfc/master'
Conflicts:
	contrib/windows.h
	libnfc/CMakeLists.txt
	libnfc/log-printf.c
	utils/CMakeLists.txt
2013-01-31 22:17:33 -05:00
Nobuhiro Iwamatsu
50f5c610a1 Add man of nfc-emulate-forum-tag2 to the installation
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-02-01 01:57:47 +01:00
Nobuhiro Iwamatsu
40fadb8d2c Update to 1.7.0~rc3
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-02-01 01:56:41 +01:00
Nobuhiro Iwamatsu
15be4b885c install nfc-emulate-forum-tag2.1 to libnfc-examples
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2013-02-01 01:56:36 +01:00