Skip to content

Commit 3f30d18

Browse files
committed
Revert "Revert to 2.5.1, moved dev to dev-2.5.2"
This reverts commit 894e0ae.
1 parent 894e0ae commit 3f30d18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+27858
-35
lines changed

CMakeLists.txt

100755100644
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ project(mapcode_cpp)
2727
# NO_FAST_ENCODE - Drop fast encoding support - only for internal use.
2828

2929
set(MAPCODE_OPTIONS "")
30-
set(MAPCODE_WARNING_OPTIONS "-Wall -Werror")
30+
set(MAPCODE_WARNING_OPTIONS "-Wall -Werror -Wextra -Wpedantic")
3131
set(MAPCODE_SANITIZER_COMPILER_OPTIONS "-fsanitize=address -fno-common -fno-optimize-sibling-calls -fno-omit-frame-pointer")
3232
set(MAPCODE_SANITIZER_LINKER_OPTIONS "-fsanitize=address")
3333

@@ -48,7 +48,12 @@ set(SOURCE_FILES_MAPCODELIB
4848
mapcodelib/internal_alphabet_recognizer.h
4949
mapcodelib/internal_iso3166_data.h
5050
mapcodelib/internal_territory_alphabets.h
51-
mapcodelib/internal_territory_names_english.h
51+
mapcodelib/internal_territory_names_da.h
52+
mapcodelib/internal_territory_names_de.h
53+
mapcodelib/internal_territory_names_en.h
54+
mapcodelib/internal_territory_names_fr.h
55+
mapcodelib/internal_territory_names_hi.h
56+
mapcodelib/internal_territory_names_nl.h
5257
mapcodelib/internal_territory_names_local.h
5358
mapcodelib/internal_territory_search.h
5459
mapcodelib/mapcode_alphabets.h
@@ -58,17 +63,17 @@ set(SOURCE_FILES_MAPCODELIB
5863
mapcodelib/mapcoder.c
5964
mapcodelib/mapcoder.h)
6065

61-
set(SOURCE_FILES_UNITTEST
62-
unittest/decode_test.h
63-
unittest/unittest.c)
66+
set(SOURCE_FILES_TEST
67+
test/decode_test.h
68+
test/unittest.c)
6469

6570
set(SOURCE_FILES_UTILITY
6671
utility/mapcode.cpp)
6772

6873
add_library(mapcodelib ${SOURCE_FILES_MAPCODELIB})
6974
target_include_directories(mapcodelib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
7075

71-
add_executable(unittest ${SOURCE_FILES_UNITTEST})
76+
add_executable(unittest ${SOURCE_FILES_TEST})
7277
target_link_libraries(unittest LINK_PUBLIC mapcodelib)
7378

7479
add_executable(mapcode ${SOURCE_FILES_UTILITY})

LICENSE

100755100644
File mode changed.

NOTICE

100755100644
File mode changed.

README.md

100755100644
Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ Documentation, including example snippets of C source code, can be found in
3232
mapcode_library_c.pdf <-- PDF format.
3333
mapcode_library_c.doc <-- Microsoft Word format.
3434

35-
A unit test can be found in the unittest\ subdirectory.
36-
Compile and run unittest\unittest/c to see if the library performs as expected.
35+
A unit test can be found in the `test` subdirectory.
36+
Compile and run `unittest.c` to see if the library performs as expected.
37+
Check the `README.md` file in `test` to see how you can compile it/
3738

3839
Also see www.mapcode.com for background and reference materials.
3940

@@ -61,7 +62,7 @@ decode Mapcodes.
6162

6263
This produces the following help text:
6364

64-
MAPCODE (version 2.5.1)
65+
MAPCODE (version 2.5.2)
6566
Copyright (C) 2014-2016 Stichting Mapcode Foundation
6667

6768
Usage:
@@ -137,6 +138,10 @@ footprint, for example for embedded applications.
137138

138139
## Release Notes
139140

141+
### 2.5.2
142+
143+
* Added locale support.
144+
140145
### 2.5.1
141146

142147
* Updated unit test to compile with plain C and added some test cases.

docs/logo_CLion.png

100755100644
File mode changed.

docs/mapcode_library_c.docx

100755100644
File mode changed.

docs/mapcode_library_c.pdf

100755100644
File mode changed.

mapcodelib/internal_alphabet_recognizer.h

100755100644
File mode changed.

mapcodelib/internal_data.h

100755100644
File mode changed.

mapcodelib/internal_iso3166_data.h

100755100644
File mode changed.

0 commit comments

Comments
 (0)