geoip2_c 0.3.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +23 -0
- data/.github/workflows/ubuntu.yml +17 -8
- data/.github/workflows/windows.yml +18 -8
- data/.gitmodules +0 -3
- data/ext/geoip2/extconf.rb +9 -25
- data/ext/geoip2/geoip2.c +82 -32
- data/geoip2_c.gemspec +1 -0
- data/lib/geoip2/version.rb +1 -1
- metadata +18 -182
- data/ext/geoip2/libmaxminddb/.gitignore +0 -38
- data/ext/geoip2/libmaxminddb/.gitmodules +0 -9
- data/ext/geoip2/libmaxminddb/.perltidyrc +0 -11
- data/ext/geoip2/libmaxminddb/.travis.yml +0 -70
- data/ext/geoip2/libmaxminddb/.uncrustify.cfg +0 -78
- data/ext/geoip2/libmaxminddb/AUTHORS +0 -0
- data/ext/geoip2/libmaxminddb/Changes.md +0 -277
- data/ext/geoip2/libmaxminddb/LICENSE +0 -202
- data/ext/geoip2/libmaxminddb/Makefile.am +0 -41
- data/ext/geoip2/libmaxminddb/NOTICE +0 -13
- data/ext/geoip2/libmaxminddb/README.dev.md +0 -69
- data/ext/geoip2/libmaxminddb/README.md +0 -122
- data/ext/geoip2/libmaxminddb/appveyor.yml +0 -33
- data/ext/geoip2/libmaxminddb/bin/Makefile.am +0 -10
- data/ext/geoip2/libmaxminddb/bin/mmdblookup.c +0 -715
- data/ext/geoip2/libmaxminddb/bootstrap +0 -21
- data/ext/geoip2/libmaxminddb/common.mk +0 -7
- data/ext/geoip2/libmaxminddb/configure.ac +0 -132
- data/ext/geoip2/libmaxminddb/dev-bin/make-man-pages.pl +0 -76
- data/ext/geoip2/libmaxminddb/dev-bin/ppa-release.sh +0 -53
- data/ext/geoip2/libmaxminddb/dev-bin/regen-prototypes.pl +0 -136
- data/ext/geoip2/libmaxminddb/dev-bin/regen-win32-test-projs.pl +0 -54
- data/ext/geoip2/libmaxminddb/dev-bin/release.sh +0 -113
- data/ext/geoip2/libmaxminddb/dev-bin/uncrustify-all.sh +0 -21
- data/ext/geoip2/libmaxminddb/dev-bin/valgrind-all.pl +0 -53
- data/ext/geoip2/libmaxminddb/doc/libmaxminddb.md +0 -889
- data/ext/geoip2/libmaxminddb/doc/mmdblookup.md +0 -103
- data/ext/geoip2/libmaxminddb/include/maxminddb.h +0 -241
- data/ext/geoip2/libmaxminddb/include/maxminddb_config.h.in +0 -14
- data/ext/geoip2/libmaxminddb/projects/VS12/README.md +0 -59
- data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb-release.props +0 -32
- data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb-x64.props +0 -14
- data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.props +0 -32
- data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.sln +0 -150
- data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj +0 -143
- data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj.filters +0 -32
- data/ext/geoip2/libmaxminddb/projects/VS12/maxminddb_config.h +0 -14
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/bad_pointers.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/basic_lookup.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/data_entry_list.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/data_types.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/dump.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/get_value.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/get_value_pointer_bug.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/ipv4_start_cache.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/ipv6_lookup_in_ipv4.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/libtap.vcxproj +0 -85
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/maxminddb_test_helper.vcxproj +0 -107
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/metadata.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/metadata_pointers.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/no_map_get_value.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/read_node.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/shared.vcxproj +0 -104
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/threads.vcxproj +0 -103
- data/ext/geoip2/libmaxminddb/projects/VS12-tests/version.vcxproj +0 -105
- data/ext/geoip2/libmaxminddb/projects/test.vcxproj.template +0 -105
- data/ext/geoip2/libmaxminddb/src/Makefile.am +0 -25
- data/ext/geoip2/libmaxminddb/src/data-pool.c +0 -180
- data/ext/geoip2/libmaxminddb/src/data-pool.h +0 -52
- data/ext/geoip2/libmaxminddb/src/libmaxminddb.pc.in +0 -11
- data/ext/geoip2/libmaxminddb/src/maxminddb-compat-util.h +0 -167
- data/ext/geoip2/libmaxminddb/src/maxminddb.c +0 -2181
- data/ext/geoip2/libmaxminddb/t/Makefile.am +0 -27
- data/ext/geoip2/libmaxminddb/t/bad_databases_t.c +0 -67
- data/ext/geoip2/libmaxminddb/t/bad_pointers_t.c +0 -53
- data/ext/geoip2/libmaxminddb/t/basic_lookup_t.c +0 -207
- data/ext/geoip2/libmaxminddb/t/compile_c++_t.pl +0 -107
- data/ext/geoip2/libmaxminddb/t/data-pool-t.c +0 -374
- data/ext/geoip2/libmaxminddb/t/data_entry_list_t.c +0 -353
- data/ext/geoip2/libmaxminddb/t/data_types_t.c +0 -439
- data/ext/geoip2/libmaxminddb/t/dump_t.c +0 -103
- data/ext/geoip2/libmaxminddb/t/external_symbols_t.pl +0 -106
- data/ext/geoip2/libmaxminddb/t/get_value_pointer_bug_t.c +0 -66
- data/ext/geoip2/libmaxminddb/t/get_value_t.c +0 -249
- data/ext/geoip2/libmaxminddb/t/ipv4_start_cache_t.c +0 -36
- data/ext/geoip2/libmaxminddb/t/ipv6_lookup_in_ipv4_t.c +0 -48
- data/ext/geoip2/libmaxminddb/t/libtap/.gitignore +0 -13
- data/ext/geoip2/libmaxminddb/t/libtap/.travis.yml +0 -13
- data/ext/geoip2/libmaxminddb/t/libtap/COPYING +0 -165
- data/ext/geoip2/libmaxminddb/t/libtap/INSTALL +0 -41
- data/ext/geoip2/libmaxminddb/t/libtap/Makefile +0 -72
- data/ext/geoip2/libmaxminddb/t/libtap/Makefile.win +0 -37
- data/ext/geoip2/libmaxminddb/t/libtap/README.md +0 -268
- data/ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.c +0 -20
- data/ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.expected +0 -28
- data/ext/geoip2/libmaxminddb/t/libtap/t/cmpok.c +0 -16
- data/ext/geoip2/libmaxminddb/t/libtap/t/cmpok.expected +0 -37
- data/ext/geoip2/libmaxminddb/t/libtap/t/diag.c +0 -10
- data/ext/geoip2/libmaxminddb/t/libtap/t/diag.expected +0 -2
- data/ext/geoip2/libmaxminddb/t/libtap/t/diesok.c +0 -14
- data/ext/geoip2/libmaxminddb/t/libtap/t/diesok.expected +0 -6
- data/ext/geoip2/libmaxminddb/t/libtap/t/is.c +0 -24
- data/ext/geoip2/libmaxminddb/t/libtap/t/is.expected +0 -58
- data/ext/geoip2/libmaxminddb/t/libtap/t/like.c +0 -10
- data/ext/geoip2/libmaxminddb/t/libtap/t/like.expected +0 -4
- data/ext/geoip2/libmaxminddb/t/libtap/t/simple.c +0 -31
- data/ext/geoip2/libmaxminddb/t/libtap/t/simple.expected +0 -32
- data/ext/geoip2/libmaxminddb/t/libtap/t/skip.c +0 -23
- data/ext/geoip2/libmaxminddb/t/libtap/t/skip.expected +0 -9
- data/ext/geoip2/libmaxminddb/t/libtap/t/synopsis.c +0 -13
- data/ext/geoip2/libmaxminddb/t/libtap/t/synopsis.expected +0 -9
- data/ext/geoip2/libmaxminddb/t/libtap/t/test.c +0 -28
- data/ext/geoip2/libmaxminddb/t/libtap/t/todo.c +0 -17
- data/ext/geoip2/libmaxminddb/t/libtap/t/todo.expected +0 -11
- data/ext/geoip2/libmaxminddb/t/libtap/tap.c +0 -354
- data/ext/geoip2/libmaxminddb/t/libtap/tap.h +0 -115
- data/ext/geoip2/libmaxminddb/t/maxmind-db/.gitattributes +0 -1
- data/ext/geoip2/libmaxminddb/t/maxmind-db/.gitconfig +0 -2
- data/ext/geoip2/libmaxminddb/t/maxmind-db/.gitignore +0 -2
- data/ext/geoip2/libmaxminddb/t/maxmind-db/.perltidyallrc +0 -11
- data/ext/geoip2/libmaxminddb/t/maxmind-db/.tidyallrc +0 -7
- data/ext/geoip2/libmaxminddb/t/maxmind-db/LICENSE +0 -4
- data/ext/geoip2/libmaxminddb/t/maxmind-db/MaxMind-DB-spec.md +0 -558
- data/ext/geoip2/libmaxminddb/t/maxmind-db/README.md +0 -4
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/README.md +0 -7
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/libmaxminddb/libmaxminddb-offset-integer-overflow.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/cyclic-data-structure.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-bytes-length.mmdb +0 -1
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-data-record-offset.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-map-key-length.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-string-length.mmdb +0 -1
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/metadata-is-an-uint128.mmdb +0 -1
- data/ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/unexpected-bytes.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/perltidyrc +0 -12
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Anonymous-IP-Test.json +0 -32
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-City-Test.json +0 -12616
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Connection-Type-Test.json +0 -102
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Country-Test.json +0 -10975
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-DensityIncome-Test.json +0 -14
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Domain-Test.json +0 -452
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Enterprise-Test.json +0 -666
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-ISP-Test.json +0 -12585
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Precision-Enterprise-Test.json +0 -1035
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoLite2-ASN-Test.json +0 -37
- data/ext/geoip2/libmaxminddb/t/maxmind-db/source-data/README +0 -13
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Anonymous-IP-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Connection-Type-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Country-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-DensityIncome-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Domain-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Enterprise-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-ISP-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Precision-Enterprise-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoLite2-ASN-Test.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-string-value-entries.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-pointers-24.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-decoder.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-24.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-28.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-32.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-24.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-28.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-32.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-metadata-pointers.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-24.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-28.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-32.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-nested.mmdb +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/README.md +0 -26
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/maps-with-pointers.raw +0 -0
- data/ext/geoip2/libmaxminddb/t/maxmind-db/test-data/write-test-data.pl +0 -614
- data/ext/geoip2/libmaxminddb/t/maxmind-db/tidyall.ini +0 -5
- data/ext/geoip2/libmaxminddb/t/maxminddb_test_helper.c +0 -255
- data/ext/geoip2/libmaxminddb/t/maxminddb_test_helper.h +0 -69
- data/ext/geoip2/libmaxminddb/t/metadata_pointers_t.c +0 -32
- data/ext/geoip2/libmaxminddb/t/metadata_t.c +0 -226
- data/ext/geoip2/libmaxminddb/t/mmdblookup_t.pl +0 -158
- data/ext/geoip2/libmaxminddb/t/no_map_get_value_t.c +0 -32
- data/ext/geoip2/libmaxminddb/t/read_node_t.c +0 -157
- data/ext/geoip2/libmaxminddb/t/threads_t.c +0 -196
- data/ext/geoip2/libmaxminddb/t/version_t.c +0 -10
metadata
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geoip2_c
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- okkez
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: mini_portile2
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '2.8'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '2.8'
|
|
13
26
|
- !ruby/object:Gem::Dependency
|
|
14
27
|
name: appraisal
|
|
15
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -88,6 +101,7 @@ extensions:
|
|
|
88
101
|
- ext/geoip2/extconf.rb
|
|
89
102
|
extra_rdoc_files: []
|
|
90
103
|
files:
|
|
104
|
+
- ".github/dependabot.yml"
|
|
91
105
|
- ".github/workflows/ubuntu.yml"
|
|
92
106
|
- ".github/workflows/windows.yml"
|
|
93
107
|
- ".gitignore"
|
|
@@ -104,182 +118,6 @@ files:
|
|
|
104
118
|
- dockerfiles/Dockerfile-ruby2.7
|
|
105
119
|
- ext/geoip2/extconf.rb
|
|
106
120
|
- ext/geoip2/geoip2.c
|
|
107
|
-
- ext/geoip2/libmaxminddb/.gitignore
|
|
108
|
-
- ext/geoip2/libmaxminddb/.gitmodules
|
|
109
|
-
- ext/geoip2/libmaxminddb/.perltidyrc
|
|
110
|
-
- ext/geoip2/libmaxminddb/.travis.yml
|
|
111
|
-
- ext/geoip2/libmaxminddb/.uncrustify.cfg
|
|
112
|
-
- ext/geoip2/libmaxminddb/AUTHORS
|
|
113
|
-
- ext/geoip2/libmaxminddb/Changes.md
|
|
114
|
-
- ext/geoip2/libmaxminddb/LICENSE
|
|
115
|
-
- ext/geoip2/libmaxminddb/Makefile.am
|
|
116
|
-
- ext/geoip2/libmaxminddb/NOTICE
|
|
117
|
-
- ext/geoip2/libmaxminddb/README.dev.md
|
|
118
|
-
- ext/geoip2/libmaxminddb/README.md
|
|
119
|
-
- ext/geoip2/libmaxminddb/appveyor.yml
|
|
120
|
-
- ext/geoip2/libmaxminddb/bin/Makefile.am
|
|
121
|
-
- ext/geoip2/libmaxminddb/bin/mmdblookup.c
|
|
122
|
-
- ext/geoip2/libmaxminddb/bootstrap
|
|
123
|
-
- ext/geoip2/libmaxminddb/common.mk
|
|
124
|
-
- ext/geoip2/libmaxminddb/configure.ac
|
|
125
|
-
- ext/geoip2/libmaxminddb/dev-bin/make-man-pages.pl
|
|
126
|
-
- ext/geoip2/libmaxminddb/dev-bin/ppa-release.sh
|
|
127
|
-
- ext/geoip2/libmaxminddb/dev-bin/regen-prototypes.pl
|
|
128
|
-
- ext/geoip2/libmaxminddb/dev-bin/regen-win32-test-projs.pl
|
|
129
|
-
- ext/geoip2/libmaxminddb/dev-bin/release.sh
|
|
130
|
-
- ext/geoip2/libmaxminddb/dev-bin/uncrustify-all.sh
|
|
131
|
-
- ext/geoip2/libmaxminddb/dev-bin/valgrind-all.pl
|
|
132
|
-
- ext/geoip2/libmaxminddb/doc/libmaxminddb.md
|
|
133
|
-
- ext/geoip2/libmaxminddb/doc/mmdblookup.md
|
|
134
|
-
- ext/geoip2/libmaxminddb/include/maxminddb.h
|
|
135
|
-
- ext/geoip2/libmaxminddb/include/maxminddb_config.h.in
|
|
136
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/bad_pointers.vcxproj
|
|
137
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/basic_lookup.vcxproj
|
|
138
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/data_entry_list.vcxproj
|
|
139
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/data_types.vcxproj
|
|
140
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/dump.vcxproj
|
|
141
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/get_value.vcxproj
|
|
142
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/get_value_pointer_bug.vcxproj
|
|
143
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/ipv4_start_cache.vcxproj
|
|
144
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/ipv6_lookup_in_ipv4.vcxproj
|
|
145
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/libtap.vcxproj
|
|
146
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/maxminddb_test_helper.vcxproj
|
|
147
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/metadata.vcxproj
|
|
148
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/metadata_pointers.vcxproj
|
|
149
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/no_map_get_value.vcxproj
|
|
150
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/read_node.vcxproj
|
|
151
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/shared.vcxproj
|
|
152
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/threads.vcxproj
|
|
153
|
-
- ext/geoip2/libmaxminddb/projects/VS12-tests/version.vcxproj
|
|
154
|
-
- ext/geoip2/libmaxminddb/projects/VS12/README.md
|
|
155
|
-
- ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb-release.props
|
|
156
|
-
- ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb-x64.props
|
|
157
|
-
- ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.props
|
|
158
|
-
- ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.sln
|
|
159
|
-
- ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj
|
|
160
|
-
- ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj.filters
|
|
161
|
-
- ext/geoip2/libmaxminddb/projects/VS12/maxminddb_config.h
|
|
162
|
-
- ext/geoip2/libmaxminddb/projects/test.vcxproj.template
|
|
163
|
-
- ext/geoip2/libmaxminddb/src/Makefile.am
|
|
164
|
-
- ext/geoip2/libmaxminddb/src/data-pool.c
|
|
165
|
-
- ext/geoip2/libmaxminddb/src/data-pool.h
|
|
166
|
-
- ext/geoip2/libmaxminddb/src/libmaxminddb.pc.in
|
|
167
|
-
- ext/geoip2/libmaxminddb/src/maxminddb-compat-util.h
|
|
168
|
-
- ext/geoip2/libmaxminddb/src/maxminddb.c
|
|
169
|
-
- ext/geoip2/libmaxminddb/t/Makefile.am
|
|
170
|
-
- ext/geoip2/libmaxminddb/t/bad_databases_t.c
|
|
171
|
-
- ext/geoip2/libmaxminddb/t/bad_pointers_t.c
|
|
172
|
-
- ext/geoip2/libmaxminddb/t/basic_lookup_t.c
|
|
173
|
-
- ext/geoip2/libmaxminddb/t/compile_c++_t.pl
|
|
174
|
-
- ext/geoip2/libmaxminddb/t/data-pool-t.c
|
|
175
|
-
- ext/geoip2/libmaxminddb/t/data_entry_list_t.c
|
|
176
|
-
- ext/geoip2/libmaxminddb/t/data_types_t.c
|
|
177
|
-
- ext/geoip2/libmaxminddb/t/dump_t.c
|
|
178
|
-
- ext/geoip2/libmaxminddb/t/external_symbols_t.pl
|
|
179
|
-
- ext/geoip2/libmaxminddb/t/get_value_pointer_bug_t.c
|
|
180
|
-
- ext/geoip2/libmaxminddb/t/get_value_t.c
|
|
181
|
-
- ext/geoip2/libmaxminddb/t/ipv4_start_cache_t.c
|
|
182
|
-
- ext/geoip2/libmaxminddb/t/ipv6_lookup_in_ipv4_t.c
|
|
183
|
-
- ext/geoip2/libmaxminddb/t/libtap/.gitignore
|
|
184
|
-
- ext/geoip2/libmaxminddb/t/libtap/.travis.yml
|
|
185
|
-
- ext/geoip2/libmaxminddb/t/libtap/COPYING
|
|
186
|
-
- ext/geoip2/libmaxminddb/t/libtap/INSTALL
|
|
187
|
-
- ext/geoip2/libmaxminddb/t/libtap/Makefile
|
|
188
|
-
- ext/geoip2/libmaxminddb/t/libtap/Makefile.win
|
|
189
|
-
- ext/geoip2/libmaxminddb/t/libtap/README.md
|
|
190
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.c
|
|
191
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/cmp_mem.expected
|
|
192
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/cmpok.c
|
|
193
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/cmpok.expected
|
|
194
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/diag.c
|
|
195
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/diag.expected
|
|
196
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/diesok.c
|
|
197
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/diesok.expected
|
|
198
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/is.c
|
|
199
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/is.expected
|
|
200
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/like.c
|
|
201
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/like.expected
|
|
202
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/simple.c
|
|
203
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/simple.expected
|
|
204
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/skip.c
|
|
205
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/skip.expected
|
|
206
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/synopsis.c
|
|
207
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/synopsis.expected
|
|
208
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/test.c
|
|
209
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/todo.c
|
|
210
|
-
- ext/geoip2/libmaxminddb/t/libtap/t/todo.expected
|
|
211
|
-
- ext/geoip2/libmaxminddb/t/libtap/tap.c
|
|
212
|
-
- ext/geoip2/libmaxminddb/t/libtap/tap.h
|
|
213
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/.gitattributes
|
|
214
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/.gitconfig
|
|
215
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/.gitignore
|
|
216
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/.perltidyallrc
|
|
217
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/.tidyallrc
|
|
218
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/LICENSE
|
|
219
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/MaxMind-DB-spec.md
|
|
220
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/README.md
|
|
221
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/README.md
|
|
222
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/libmaxminddb/libmaxminddb-offset-integer-overflow.mmdb
|
|
223
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/cyclic-data-structure.mmdb
|
|
224
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-bytes-length.mmdb
|
|
225
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-data-record-offset.mmdb
|
|
226
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-map-key-length.mmdb
|
|
227
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/invalid-string-length.mmdb
|
|
228
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/metadata-is-an-uint128.mmdb
|
|
229
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/bad-data/maxminddb-golang/unexpected-bytes.mmdb
|
|
230
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/perltidyrc
|
|
231
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Anonymous-IP-Test.json
|
|
232
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-City-Test.json
|
|
233
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Connection-Type-Test.json
|
|
234
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Country-Test.json
|
|
235
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-DensityIncome-Test.json
|
|
236
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Domain-Test.json
|
|
237
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Enterprise-Test.json
|
|
238
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-ISP-Test.json
|
|
239
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoIP2-Precision-Enterprise-Test.json
|
|
240
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/GeoLite2-ASN-Test.json
|
|
241
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/source-data/README
|
|
242
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Anonymous-IP-Test.mmdb
|
|
243
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb
|
|
244
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test-Invalid-Node-Count.mmdb
|
|
245
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-City-Test.mmdb
|
|
246
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Connection-Type-Test.mmdb
|
|
247
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Country-Test.mmdb
|
|
248
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-DensityIncome-Test.mmdb
|
|
249
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Domain-Test.mmdb
|
|
250
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Enterprise-Test.mmdb
|
|
251
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-ISP-Test.mmdb
|
|
252
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoIP2-Precision-Enterprise-Test.mmdb
|
|
253
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/GeoLite2-ASN-Test.mmdb
|
|
254
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
|
|
255
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-string-value-entries.mmdb
|
|
256
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-pointers-24.mmdb
|
|
257
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-broken-search-tree-24.mmdb
|
|
258
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-decoder.mmdb
|
|
259
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-24.mmdb
|
|
260
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-28.mmdb
|
|
261
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv4-32.mmdb
|
|
262
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-24.mmdb
|
|
263
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-28.mmdb
|
|
264
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-ipv6-32.mmdb
|
|
265
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-metadata-pointers.mmdb
|
|
266
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-24.mmdb
|
|
267
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-28.mmdb
|
|
268
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-mixed-32.mmdb
|
|
269
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/MaxMind-DB-test-nested.mmdb
|
|
270
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/README.md
|
|
271
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/maps-with-pointers.raw
|
|
272
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/test-data/write-test-data.pl
|
|
273
|
-
- ext/geoip2/libmaxminddb/t/maxmind-db/tidyall.ini
|
|
274
|
-
- ext/geoip2/libmaxminddb/t/maxminddb_test_helper.c
|
|
275
|
-
- ext/geoip2/libmaxminddb/t/maxminddb_test_helper.h
|
|
276
|
-
- ext/geoip2/libmaxminddb/t/metadata_pointers_t.c
|
|
277
|
-
- ext/geoip2/libmaxminddb/t/metadata_t.c
|
|
278
|
-
- ext/geoip2/libmaxminddb/t/mmdblookup_t.pl
|
|
279
|
-
- ext/geoip2/libmaxminddb/t/no_map_get_value_t.c
|
|
280
|
-
- ext/geoip2/libmaxminddb/t/read_node_t.c
|
|
281
|
-
- ext/geoip2/libmaxminddb/t/threads_t.c
|
|
282
|
-
- ext/geoip2/libmaxminddb/t/version_t.c
|
|
283
121
|
- ext/geoip2/rb_compat.h
|
|
284
122
|
- geoip2_c.gemspec
|
|
285
123
|
- lib/geoip2.rb
|
|
@@ -290,7 +128,6 @@ homepage: ''
|
|
|
290
128
|
licenses:
|
|
291
129
|
- Apache-2.0
|
|
292
130
|
metadata: {}
|
|
293
|
-
post_install_message:
|
|
294
131
|
rdoc_options: []
|
|
295
132
|
require_paths:
|
|
296
133
|
- lib
|
|
@@ -305,8 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
305
142
|
- !ruby/object:Gem::Version
|
|
306
143
|
version: '0'
|
|
307
144
|
requirements: []
|
|
308
|
-
rubygems_version:
|
|
309
|
-
signing_key:
|
|
145
|
+
rubygems_version: 4.0.15
|
|
310
146
|
specification_version: 4
|
|
311
147
|
summary: Write a short summary, because Rubygems requires one.
|
|
312
148
|
test_files: []
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
*.la
|
|
2
|
-
*.lo
|
|
3
|
-
*.o
|
|
4
|
-
*.so
|
|
5
|
-
*.swp
|
|
6
|
-
*/.deps
|
|
7
|
-
*/.libs
|
|
8
|
-
*~
|
|
9
|
-
.\#*
|
|
10
|
-
.gh-pages
|
|
11
|
-
/INSTALL
|
|
12
|
-
/autom4te.cache
|
|
13
|
-
/bin/country_lookup
|
|
14
|
-
/bin/mmdbdump
|
|
15
|
-
/bin/mmdblookup
|
|
16
|
-
/compile
|
|
17
|
-
/config.*
|
|
18
|
-
/configure
|
|
19
|
-
/depcomp
|
|
20
|
-
/include/maxminddb_config.h
|
|
21
|
-
/install-sh
|
|
22
|
-
/libmaxminddb-*
|
|
23
|
-
/libtool
|
|
24
|
-
/ltmain.sh
|
|
25
|
-
/man
|
|
26
|
-
/missing
|
|
27
|
-
/src/libmaxminddb.pc
|
|
28
|
-
/src/test-data-pool
|
|
29
|
-
/t/*.log
|
|
30
|
-
/t/*.trs
|
|
31
|
-
/t/*_t
|
|
32
|
-
/t/*-t
|
|
33
|
-
/test-driver
|
|
34
|
-
Makefile
|
|
35
|
-
Makefile.in
|
|
36
|
-
\#*\#
|
|
37
|
-
aclocal.m4
|
|
38
|
-
stamp-h*
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
[submodule "maxmind-db"]
|
|
2
|
-
path = maxmind-db
|
|
3
|
-
url = https://github.com/maxmind/MaxMind-DB.git
|
|
4
|
-
[submodule "t/libtap"]
|
|
5
|
-
path = t/libtap
|
|
6
|
-
url = https://github.com/zorgnax/libtap.git
|
|
7
|
-
[submodule "t/maxmind-db"]
|
|
8
|
-
path = t/maxmind-db
|
|
9
|
-
url = https://github.com/maxmind/MaxMind-DB.git
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sudo: false
|
|
3
|
-
addons:
|
|
4
|
-
apt:
|
|
5
|
-
packages:
|
|
6
|
-
- libipc-run3-perl
|
|
7
|
-
coverity_scan:
|
|
8
|
-
project:
|
|
9
|
-
description: Build submitted via Travis CI
|
|
10
|
-
name: maxmind/libmaxminddb
|
|
11
|
-
notification_email: dev-ci@maxmind.com
|
|
12
|
-
build_command_prepend: ./configure; make clean
|
|
13
|
-
build_command: make -j 4
|
|
14
|
-
branch_pattern: .*coverity.*
|
|
15
|
-
language: c
|
|
16
|
-
matrix:
|
|
17
|
-
include:
|
|
18
|
-
# Why do we have -Wno-unused-parameter? Because libtap has unused
|
|
19
|
-
# parameters unfortunately.
|
|
20
|
-
#
|
|
21
|
-
# Why -Wno-unused-command-line-argument? Because Clang on OSX does not like
|
|
22
|
-
# -pthread to be given during linking (while gcc says it should be). We
|
|
23
|
-
# could alternatively work around this via conditionals in automake, but
|
|
24
|
-
# that seems uglier. Note we specify this for gcc on OSX as well as gcc
|
|
25
|
-
# there is a frontend for Clang.
|
|
26
|
-
- os: linux
|
|
27
|
-
compiler: gcc
|
|
28
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter"
|
|
29
|
-
- os: osx
|
|
30
|
-
compiler: gcc
|
|
31
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument"
|
|
32
|
-
- os: linux
|
|
33
|
-
compiler: clang
|
|
34
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter"
|
|
35
|
-
- os: osx
|
|
36
|
-
compiler: clang
|
|
37
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument"
|
|
38
|
-
# The same, but POSIX.1-2001. We default to POSIX.1-2008 but want to remain
|
|
39
|
-
# compatible with POSIX.1-2001.
|
|
40
|
-
- os: linux
|
|
41
|
-
compiler: gcc
|
|
42
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -D_POSIX_C_SOURCE=200112L"
|
|
43
|
-
- os: osx
|
|
44
|
-
compiler: gcc
|
|
45
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument -D_POSIX_C_SOURCE=200112L"
|
|
46
|
-
- os: linux
|
|
47
|
-
compiler: clang
|
|
48
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -D_POSIX_C_SOURCE=200112L"
|
|
49
|
-
- os: osx
|
|
50
|
-
compiler: clang
|
|
51
|
-
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument -D_POSIX_C_SOURCE=200112L"
|
|
52
|
-
env:
|
|
53
|
-
global:
|
|
54
|
-
- secure: a2pXNVW/lGrMdJTal+pzH0J5N69RdBErwe2dHU2xDnOeNcDYmiSxmU4Fw52KPYXFzdlR9GuEyZtHtesRQthSHpylcIvfJJCih7EvwbNQ5pfplpT5ri2PKPFWB11ebr6vG23Ucgc5lrqHdgIgv+QtqVmW1IDf0hq62itMpu4MwcQ=
|
|
55
|
-
before_script:
|
|
56
|
-
- ./bootstrap
|
|
57
|
-
- ./configure CFLAGS="$MMCFLAGS" || (cat config.log && false)
|
|
58
|
-
- make
|
|
59
|
-
script:
|
|
60
|
-
- export VERBOSE=1
|
|
61
|
-
- make check
|
|
62
|
-
notifications:
|
|
63
|
-
email:
|
|
64
|
-
on_failure: always
|
|
65
|
-
on_success: change
|
|
66
|
-
recipients:
|
|
67
|
-
- dev-ci@maxmind.com
|
|
68
|
-
slack:
|
|
69
|
-
rooms:
|
|
70
|
-
secure: "CoXYwhwOA8xi4EM84Eo04hfzhZVAwYVWpa7uEvJmwzcTJHSjoz/EJTMhihgW+zOYMQTDlIho/XIkg+Hh4MurZm9OKMLHbqmeQXN0melf3uscLklKLM1fHssZd1HPsP5ALb+tTHe3m+QuSh+2fHGotfMr8QxVkdrVUJUaEsbOfcQ=\n"
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# based on uncrustify config file for the linux kernel
|
|
3
|
-
#
|
|
4
|
-
|
|
5
|
-
code_width = 80
|
|
6
|
-
indent_case_brace = 4
|
|
7
|
-
indent_columns = 4
|
|
8
|
-
indent_label = 2 # pos: absolute col, neg: relative column
|
|
9
|
-
indent_with_tabs = 0
|
|
10
|
-
|
|
11
|
-
#
|
|
12
|
-
# inter-symbol newlines
|
|
13
|
-
#
|
|
14
|
-
nl_brace_else = remove # "} else" vs "} \n else" - cuddle else
|
|
15
|
-
nl_brace_while = remove # "} while" vs "} \n while" - cuddle while
|
|
16
|
-
nl_do_brace = remove # "do {" vs "do \n {"
|
|
17
|
-
nl_else_brace = remove # "else {" vs "else \n {"
|
|
18
|
-
nl_enum_brace = remove # "enum {" vs "enum \n {"
|
|
19
|
-
nl_fcall_brace = remove # "list_for_each() {" vs "list_for_each()\n{"
|
|
20
|
-
nl_fdef_brace = force # "int foo() {" vs "int foo()\n{"
|
|
21
|
-
nl_for_brace = remove # "for () {" vs "for () \n {"
|
|
22
|
-
nl_func_var_def_blk = 0 # don't add newlines after a block of var declarations
|
|
23
|
-
nl_if_brace = remove # "if () {" vs "if () \n {"
|
|
24
|
-
nl_multi_line_define = true
|
|
25
|
-
nl_struct_brace = remove # "struct {" vs "struct \n {"
|
|
26
|
-
nl_switch_brace = remove # "switch () {" vs "switch () \n {"
|
|
27
|
-
nl_union_brace = remove # "union {" vs "union \n {"
|
|
28
|
-
nl_while_brace = remove # "while () {" vs "while () \n {"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#
|
|
32
|
-
# Source code modifications
|
|
33
|
-
#
|
|
34
|
-
mod_full_brace_do = force # "do a--; while ();" vs "do { a--; } while ();"
|
|
35
|
-
mod_full_brace_for = force # "for () a--;" vs "for () { a--; }"
|
|
36
|
-
mod_full_brace_if = force # "if (a) a--;" vs "if (a) { a--; }"
|
|
37
|
-
mod_full_brace_nl = 3 # don't remove if more than 3 newlines
|
|
38
|
-
mod_full_brace_while = force # "while (a) a--;" vs "while (a) { a--; }"
|
|
39
|
-
mod_paren_on_return = remove # "return 1;" vs "return (1);"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
#
|
|
43
|
-
# inter-character spacing options
|
|
44
|
-
#
|
|
45
|
-
sp_after_cast = remove # "(int) a" vs "(int)a"
|
|
46
|
-
sp_after_comma = force
|
|
47
|
-
sp_after_sparen = force # "if () {" vs "if (){"
|
|
48
|
-
sp_arith = force
|
|
49
|
-
sp_assign = force
|
|
50
|
-
sp_assign = force
|
|
51
|
-
sp_before_comma = remove
|
|
52
|
-
sp_before_ptr_star = force # "char *foo" vs "char* foo
|
|
53
|
-
sp_before_sparen = force # "if (" vs "if("
|
|
54
|
-
sp_between_ptr_star = remove # "char * *foo" vs "char **foo"
|
|
55
|
-
sp_bool = force
|
|
56
|
-
sp_compare = force
|
|
57
|
-
sp_func_call_paren = remove # "foo (" vs "foo("
|
|
58
|
-
sp_func_def_paren = remove # "int foo (){" vs "int foo(){"
|
|
59
|
-
sp_func_proto_paren = remove # "int foo ();" vs "int foo();"
|
|
60
|
-
sp_inside_braces = force # "{ 1 }" vs "{1}"
|
|
61
|
-
sp_inside_braces_enum = force # "{ 1 }" vs "{1}"
|
|
62
|
-
sp_inside_braces_struct = force # "{ 1 }" vs "{1}"
|
|
63
|
-
sp_inside_sparen = remove
|
|
64
|
-
sp_paren_brace = force
|
|
65
|
-
sp_sizeof_paren = remove # "sizeof (int)" vs "sizeof(int)"
|
|
66
|
-
|
|
67
|
-
#
|
|
68
|
-
# Aligning stuff
|
|
69
|
-
#
|
|
70
|
-
align_enum_equ_span = 4 # '=' in enum definition
|
|
71
|
-
align_nl_cont = true
|
|
72
|
-
align_on_tabstop = FALSE # align on tabstops
|
|
73
|
-
align_right_cmt_span = 3
|
|
74
|
-
align_struct_init_span = 1
|
|
75
|
-
align_struct_init_span = 3 # align stuff in a structure init '= { }'
|
|
76
|
-
align_var_def_star_style = 2 # void *foo;
|
|
77
|
-
align_var_struct_span = 0
|
|
78
|
-
align_with_tabs = FALSE # use tabs to align
|
|
File without changes
|