Commit Graph

194 Commits

Author SHA1 Message Date
Chris Morgan
815efd8d36 CMakeLists.txt - enable ctest framework and register tests 2022-06-10 13:27:38 -04:00
Chris Morgan
c0c7cb5145 CMakeLists.txt - link_directories() for check to ensure the directory check is located in is in the linker library search path 2022-06-10 13:19:54 -04:00
Kosma Moczek
143d5558db
Merge pull request #65 from kosma/cmake
CMake support
2022-06-05 12:17:08 +02:00
Kosma Moczek
a0da280f64 add test_minmea_parse_vtg3 (fixes #57) 2022-06-03 01:40:30 +02:00
Kosma Moczek
c0d2f58128 allow defining custom MINMEA_MAX_SENTENCE_LENGTH 2022-06-03 01:26:13 +02:00
Kosma Moczek
1e2f0af7d8 rename MINMEA_MAX_LENGTH -> MINMEA_MAX_SENTENCE_LENGTH 2022-06-03 01:24:58 +02:00
Kosma Moczek
6915c08c59
Merge pull request #45 from benpicco/minmea_getdate
add minmea_getdatetime()
2022-06-03 01:15:07 +02:00
Kosma Moczek
926077436a tests: add tests for minmea_getdatetime 2022-06-03 01:10:22 +02:00
Kosma Moczek
77d5410c68 rename minmea_getdate -> minmea_getdatetime 2022-06-03 01:10:05 +02:00
Kosma Moczek
8e243e5310 minmea_getdate: consistent argument naming 2022-06-03 01:00:57 +02:00
Kosma Moczek
f2bd34c82a minmea_getdate: use pointer dereferencing for memset (safer) 2022-06-03 00:53:40 +02:00
Kosma Moczek
74a4744792
Merge pull request #41 from vpetrigo/update/allow_only_CR_ending
minmea: Allow lines with only CR ending
2022-06-03 00:46:30 +02:00
Kosma Moczek
908846d4f6 add tests for newline handling 2022-06-03 00:45:37 +02:00
Kosma Moczek
34556192b9 .gitignore: ignore CLion build directory 2022-06-02 23:30:28 +02:00
Kosma Moczek
8e5aaabd03 .github: add CMake run 2022-06-02 23:14:42 +02:00
Kosma Moczek
2b8b64c784 Full CMake support 2022-06-02 23:13:11 +02:00
Omkar Yadav
7eda4ae551 CMake file for the CMake support 2022-06-02 23:13:11 +02:00
Kosma Moczek
ce0fb1d6da
Merge pull request #64 from kosma/clang_null
minmea.c - Fix dereference of null pointer error caught by clang's sc…
2022-06-02 22:42:36 +02:00
Kosma Moczek
3e984ef657 minmea.c - Fix dereference of null pointer error caught by clang's scan-build 2022-06-02 22:41:12 +02:00
Kosma Moczek
43ac660db6 Makefile: fail on scan-build failure 2022-06-02 22:31:25 +02:00
Kosma Moczek
6b1a15aa29
Merge pull request #63 from kosma/workflow
Replace Travis with Github Actions
2022-06-02 22:27:31 +02:00
Kosma Moczek
f35c9b04f3 .github: remove redundant make invocation 2022-06-02 22:25:55 +02:00
Kosma Moczek
7ea8901880 README.md: add better contribution guidelines 2022-05-23 15:38:26 +02:00
Vladimir Petrigo
f75678a426
Fix PR comments
Update CR and LF symbols skipping at the end of the line
2022-05-22 16:01:09 +03:00
Benjamin Valentin
4ebbaef840 add minmea_getdate()
The GPS date is internally converted to a struct tm anyway.
Add a function to make use of this for external users too.
2022-05-21 15:20:14 +02:00
Chris Morgan
de996fee46 Remove unused .travis.yml configuration file 2022-05-21 08:32:42 -04:00
Chris Morgan
6e32e63908 README.md - Replace Travis badge with GitHub workflows badge 2022-05-21 08:30:04 -04:00
Chris Morgan
69b3be605c GitHub workflows configuration 2022-05-20 21:01:37 -04:00
Chris Morgan
25d1224ae2
Merge pull request #62 from d-el/UpdateReadme_GBS
Add GBS to README and alphabetical sorting
2022-05-20 20:45:58 -04:00
d-el
9bdee64b4b Add GBS to README and alphabetical sorting
Signed-off-by: d-el <d2.718l@gmail.com>
2022-05-21 00:20:14 +03:00
karas
becf6aa58d Fix Integer Overflow 2022-05-20 09:45:05 -04:00
roman.storozhenko
252a3f9d3b Add GBS parser
Signed-off-by: roman.storozhenko <roman.storozhenko@pixelsmatter.com>
2022-05-20 09:22:45 -04:00
Kosma Moczek
33b97e75b2
Merge pull request #43 from xerdink/ti-include
fix(ti-compat): fixed compat header
2022-05-20 15:04:56 +02:00
Kosma Moczek
7689f93e73
Merge pull request #60 from kosma/cmm_test_fixes
tests.c - Fix 'format-security' warnings due to use of ck_assert_msg(…
2022-05-20 14:57:15 +02:00
Dr. PO
bf5358dac3 minmea.h: use const if possible 2022-05-20 08:55:28 -04:00
Yegor Yefremov
e2560c5a49 README.md: fix typo
s/deciminal/decimal
2022-05-20 08:49:07 -04:00
johnauld
4da3f38acc Update example.c 2022-05-20 08:48:36 -04:00
johnauld
41d8bf539d Update README.md 2022-05-20 08:48:36 -04:00
Chris Morgan
d8b411fe15 tests.c - Fix 'format-security' warnings due to use of ck_assert_msg() without a formatting string
https://fedoraproject.org/wiki/Format-Security-FAQ#What_is_-Wformat-security

tests.c: In function ‘test_minmea_check_fn’:
tests.c:79:9: error: format not a string literal and no format arguments [-Werror=format-security]
   79 |         ck_assert_msg(minmea_check(*sentence, false) == true, *sentence);
      |         ^~~~~~~~~~~~~
tests.c:80:9: error: format not a string literal and no format arguments [-Werror=format-security]
   80 |         ck_assert_msg(minmea_check(*sentence, true) == false, *sentence);
      |         ^~~~~~~~~~~~~
tests.c:84:9: error: format not a string literal and no format arguments [-Werror=format-security]
   84 |         ck_assert_msg(minmea_check(*sentence, false) == true, *sentence);
      |         ^~~~~~~~~~~~~
tests.c:85:9: error: format not a string literal and no format arguments [-Werror=format-security]
   85 |         ck_assert_msg(minmea_check(*sentence, true) == true, *sentence);
      |         ^~~~~~~~~~~~~
tests.c:89:9: error: format not a string literal and no format arguments [-Werror=format-security]
   89 |         ck_assert_msg(minmea_check(*sentence, false) == false, *sentence);
      |         ^~~~~~~~~~~~~
tests.c:90:9: error: format not a string literal and no format arguments [-Werror=format-security]
   90 |         ck_assert_msg(minmea_check(*sentence, true) == false, *sentence);
      |         ^~~~~~~~~~~~~
2022-05-20 08:41:55 -04:00
Kosma Moczek
06ad5a1840
Merge pull request #48 from DonneyF/master
Update NMEA documentation link
2019-09-16 02:18:21 +02:00
DonneyF
bf7680b4e4
Update README.md 2019-09-12 16:09:23 -07:00
orhaneee
90503ad1ff fix(ti-compat): fixed compat header
POSIX headers' path has been changed.
2019-05-02 17:37:56 +03:00
Vladimir Petrigo
69ec986af7
minmea: Allow lines with only CR ending 2018-12-21 11:37:59 +03:00
Kosma Moczek
ae4dd9442a
Merge pull request #38 from noahp/noahp/check-url
🔗 update Check link
2018-10-16 11:00:59 +02:00
Noah Pendleton
b1371aa526 🔗 update Check link
Check has moved to github from sourceforge, update the link.

Also switch clang static analyzer link to https from http.
2018-10-13 14:17:29 -04:00
Kosma Moczek
65bf740bd8
Merge pull request #35 from gdpinchina/master
Change dgps_age type from int to minmea_float
2018-09-19 14:00:18 +02:00
gdpinchina
61c6ef7ddd
fix test for gga 2018-09-19 14:38:49 +08:00
gdpinchina
4514f6dd5e
fix test for gga 2018-09-19 14:29:19 +08:00
gdpinchina
113221d7a9
fix test for gga 2018-09-19 14:15:51 +08:00
gdpinchina
35b00bca2f
fix test in gga 2018-09-19 14:01:55 +08:00