Skip to content

Commit 894e0ae

Browse files
committed
Revert to 2.5.1, moved dev to dev-2.5.2
1 parent 732fcd8 commit 894e0ae

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

+35
-27858
lines changed

CMakeLists.txt

100644100755
Lines changed: 6 additions & 11 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 -Wextra -Wpedantic")
30+
set(MAPCODE_WARNING_OPTIONS "-Wall -Werror")
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,12 +48,7 @@ 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_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
51+
mapcodelib/internal_territory_names_english.h
5752
mapcodelib/internal_territory_names_local.h
5853
mapcodelib/internal_territory_search.h
5954
mapcodelib/mapcode_alphabets.h
@@ -63,17 +58,17 @@ set(SOURCE_FILES_MAPCODELIB
6358
mapcodelib/mapcoder.c
6459
mapcodelib/mapcoder.h)
6560

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

7065
set(SOURCE_FILES_UTILITY
7166
utility/mapcode.cpp)
7267

7368
add_library(mapcodelib ${SOURCE_FILES_MAPCODELIB})
7469
target_include_directories(mapcodelib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
7570

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

7974
add_executable(mapcode ${SOURCE_FILES_UTILITY})

LICENSE

100644100755
File mode changed.

NOTICE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ 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 `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/
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.
3837

3938
Also see www.mapcode.com for background and reference materials.
4039

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

6362
This produces the following help text:
6463

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

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

139138
## Release Notes
140139

141-
### 2.5.2
142-
143-
* Added locale support.
144-
145140
### 2.5.1
146141

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

docs/logo_CLion.png

100644100755
File mode changed.

docs/mapcode_library_c.docx

100644100755
File mode changed.

docs/mapcode_library_c.pdf

100644100755
File mode changed.

mapcodelib/internal_alphabet_recognizer.h

100644100755
File mode changed.

mapcodelib/internal_data.h

100644100755
File mode changed.

mapcodelib/internal_iso3166_data.h

100644100755
File mode changed.

0 commit comments

Comments
 (0)