Unknown
7ad18a2120
some cleanings
2020-07-07 19:41:07 +02:00
WangYi
e21fab3685
Example and util compile fine.
2020-07-05 00:55:23 +02:00
Philippe Teuwen
e4df2f3334
astyle
2017-02-18 13:05:59 +01:00
Philippe Teuwen
be1b897617
Merge pull request #308 from AxisRay/master
...
Bugfix:function setenv() and unsetenv() are invalid on windows AND no variable prefix set for WIN32 in CMakeLists
2017-02-17 12:24:38 +01:00
Frédéric Bourgeois
65477eea5e
Match nfc.h
...
Synchronized with nfc.h with all API functions
2016-12-05 13:11:45 +01:00
Romuald Conty
13fee61e87
Fix typo
...
Closes #309
2015-08-19 11:44:23 +02:00
Ray Lee
e72fe468a4
Bugfix:function setenv()and unsetenv()
...
The original setenv() and unsetenv() function is invalid,I have rewrited to fix.
2015-08-16 16:34:35 +08:00
Philippe Teuwen
108de27c1b
Fix typo baud<>bauds thanks to Polluks
2014-03-05 17:48:55 +01:00
Jiapeng Li
d89affd819
UART (Windows): fix uart_flush_input format
...
This patch allow uart files to be compiled under Windows, it adds a 'wait' parameter but do not use it.
Please note that patch fixes compilation but do not add any feature to Windows support
2013-12-08 14:15:36 +01:00
Philippe Teuwen
bb5b712a74
Adding link to AUTHORS in the copyright headers
2013-07-17 13:57:56 +02:00
Romuald Conty
542622a2f5
Add missing windows files in archive
2013-03-19 00:00:46 +01:00
Romuald Conty
2be00e7615
Move log implementation for Windows in dedicated directory
2013-03-18 23:53:01 +01:00
Romuald Conty
cb3452db7b
Move UART implementation for Windows in dedicated directory
2013-03-18 23:46:14 +01:00
Philippe Teuwen
bf164220ee
Unify copyright notices & update authors lists
2013-03-10 16:15:23 +01:00
Romuald Conty
59227c3dd3
Adds missing version.rc.in file in tarball (for Windows users)
2013-03-01 17:11:16 +01:00
Romuald Conty
ffd5928dc6
Adds missing windows files in generated tarball
2013-02-16 14:08:44 +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
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
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
3fff5985fc
Moves Windows conditional code to dedicated files
2013-01-31 15:58:20 +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
fa3ca0ab62
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-27 22:34:58 -05:00
Romuald Conty
007b78cbb4
Uses less ambiguous include when compiles for Windows platform
2012-12-09 19:27:46 +01:00
Romuald Conty
0af58b1cdd
Attempt to build libnfc under for Windows target.
...
This commit fixes some issues related to the new log system, but libnfc can not build on Windows in this stage since regex.h have been introduced for configuration file parsing and regex.h is not available in Windows.
New issue
Summary: Update Windows port
Due to the recent configuration file parsing introduction, libnfc can not be built under Windows: regex.h is missing.
Google says there is a port of PCRE for Windows which contains a compiliant regex.h.
Contribution are welcome as nobody from currently active team use Windows as OS.
2012-12-05 18:22:27 +01:00
Romuald Conty
9afa3c6598
Use copyright format recommended by GNU project.
...
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html
2012-10-21 14:09:16 +00:00
Philippe Teuwen
a2cd236441
astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60
2012-05-29 15:52:51 +00:00
Romuald Conty
26865bbc19
Remove extra whitespaces/tabs before EOL.
...
find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//'
Thanks to Ludovic.
2012-05-29 00:33:22 +00:00
Romuald Conty
7b6baafd1d
example/nfc-relay-picc: Move windows related code into contrib/win32
2011-06-27 08:56:38 +00:00
Romuald Conty
5db8be908b
Windows support contribution:
...
- Move CMake modules from cmake_modules/ to cmake/modules/
- CMake now use cmake/config_windows.h.cmake to create config.h on Windows platform
- contrib/windows.h header is automagically included by config.h
- Put missing NFC_EXPORT macro on front of emulation API
- nfc-mfclassic and nfc-mfcultralight examples are now compiled under Windows
Many thanks to Glenn Ergeerts which provide the initial patch.
2011-03-31 13:38:49 +00:00
Romuald Conty
b471f56c52
Windows: add a dummy select.h (should allow to compile pn53x_usb driver)
2011-03-31 09:59:34 +00:00
Romuald Conty
fb93023401
Windows does not have err() function.
2011-03-30 09:26:23 +00:00
Romuald Conty
8c3caed99f
Add missing CMake files to generated tarball. (Thanks to Glenn)
2011-02-03 09:51:38 +00:00
Romuald Conty
58c5662f35
Improve Windows platform support (Thanks to Glenn)
...
* Remove stdint for MSVC since MSVC is not supported anymore;
* Fix libusb detection under Windows;
* Fix PCSC detection (mingw-w64 now have PC/SC Winscard interface);
* Ajust CMake files in order to make it compile (some examples have been disabled).
2011-01-17 13:42:24 +00:00
Romuald Conty
58dcf63e7c
MERGE: libnfc-mingw-cross merge with trunk (r805-821)
2010-11-17 08:29:41 +00:00
Romuald Conty
c2cead7089
Remove "manual" Windows makefile: Windows users should now use CMake.
2010-04-26 13:38:17 +00:00
Romuald Conty
693389ac10
Move additionnal files (for Windows) in contrib/
2010-04-26 13:36:41 +00:00