amalgalite 1.8.0-x64-mingw-ucrt → 1.9.1-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58d3faee8f3ff80138c499fb3095976ac4b36c723c037cb723e208b04365208b
4
- data.tar.gz: f7d2684100e3b3be2b7fc18b892c92674bab513f17d10cafee9052ec0bf304cb
3
+ metadata.gz: 4f457d5d9dd174ea6924be4cbcebcc713c238402bbbd1b2a6debe3bd51aa4712
4
+ data.tar.gz: 7480d8a61636e5eeefb23a47e05e78bb407755dd3b9b49bc687e2c1d5efd3c93
5
5
  SHA512:
6
- metadata.gz: 95a8f1c393dafa0f0ec369f39616a2130765b41c21d8bb963215356b13b58f87fc64a45f1f39e7bcb7e420e14cb1d40cf98bb13ba5c33475d39c3fc21eb5535a
7
- data.tar.gz: 69c075e916b013b48adfd203da770f4636ca4c48a0bbe4e2cf383ebd525ff9027f1b3659f1c82d154565f656a8287eb42ca8d025cb0e1aaed7034967ffa5cecd
6
+ metadata.gz: c7ea66b3327b599cd2a6ce1035a2c2f927bda311dc4758fb9683f05280952e0f418d544d0829ea5f9f689616e5a606fc6342f0ee49367d985372319c56dd7b7e
7
+ data.tar.gz: 7ccd9060ddbe638c0b03d0f9c219fcd981965615f50e8c3a898370a13038b19bc30d380ad1b14b593d25beb8f18c4eb95e42f3b3ae0dc8bbf36999c48abaceea
data/HISTORY.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Amalgalite Changelog
2
2
 
3
+ ## Version 1.9.1 - 2023-04-27
4
+ * Fix loading of amagalite on ruby 2.6.10 and ruby 2.4.10 [#46]
5
+
6
+ ## Version 1.9.0 - 2023-04-20
7
+ * Update SQLite to 3.41.2
8
+ * Update required_ruby_version in gemspec to >= 2.3.0
9
+ * Update ruby compatability testing matrix to latest patch versions
10
+ * update compile time options
11
+ * remove SQLITE_ENABLE_DESERIALIZE - it is now default on
12
+ * remove SQLITE_ENABLE_JSON1 - it is now default on
13
+ * add SQLITE_ENABLE_MATH_FUNCTIONS
14
+ * add SQLITE_ENABLE_NORMALIZE
15
+ * add SQLITE_ENABLE_SOUNDEX
16
+ * add -Wundef to reduce compiler warnings from sqlite on clang
17
+ * fix a compiler warning in the extension code
18
+
3
19
  ## Version 1.8.0 - 2023-02-06
4
20
  * Update SQLite to 3.40.1
5
21
  * Update ruby compaibility to 2.5 -> 3.2
@@ -7,6 +7,7 @@
7
7
 
8
8
  #include "amalgalite.h"
9
9
  #include <stdio.h>
10
+ #include <stdnoreturn.h>
10
11
  extern VALUE mA;
11
12
  VALUE cAR;
12
13
  VALUE cARB;
@@ -18,7 +19,7 @@ VALUE eARB_Error;
18
19
  * allocated via malloc() or the like. It should be a local static buffer
19
20
  * that we do not have to worry about freeing.
20
21
  */
21
- void am_bootstrap_cleanup_and_raise( const char* msg, sqlite3* db, sqlite3_stmt* stmt )
22
+ noreturn void am_bootstrap_cleanup_and_raise( const char* msg, sqlite3* db, sqlite3_stmt* stmt )
22
23
  {
23
24
 
24
25
  if ( NULL != stmt ) { sqlite3_finalize( stmt ); stmt = NULL; }
@@ -10,15 +10,15 @@ $CFLAGS += " -DSQLITE_ENABLE_BYTECODE_VTAB=1"
10
10
  $CFLAGS += " -DSQLITE_ENABLE_COLUMN_METADATA=1"
11
11
  $CFLAGS += " -DSQLITE_ENABLE_DBSTAT_VTAB=1"
12
12
  $CFLAGS += " -DSQLITE_ENABLE_DBPAGE_VTAB=1"
13
- $CFLAGS += " -DSQLITE_ENABLE_DESERIALIZE=1"
14
13
  $CFLAGS += " -DSQLITE_ENABLE_EXPLAIN_COMMENTS=1"
15
14
  $CFLAGS += " -DSQLITE_ENABLE_FTS3=1"
16
15
  $CFLAGS += " -DSQLITE_ENABLE_FTS3_PARENTHESIS=1"
17
16
  $CFLAGS += " -DSQLITE_ENABLE_FTS4=1"
18
17
  $CFLAGS += " -DSQLITE_ENABLE_FTS5=1"
19
18
  $CFLAGS += " -DSQLITE_ENABLE_GEOPOLY=1"
20
- $CFLAGS += " -DSQLITE_ENABLE_JSON1=1"
19
+ $CFLAGS += " -DSQLITE_ENABLE_MATH_FUNCTIONS=1"
21
20
  $CFLAGS += " -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1"
21
+ $CFLAGS += " -DSQLITE_ENABLE_NORMALIZE=1"
22
22
  $CFLAGS += " -DSQLITE_ENABLE_NULL_TRIM=1"
23
23
  $CFLAGS += " -DSQLITE_ENABLE_PREUPDATE_HOOK=1"
24
24
  $CFLAGS ++ " -DSQLITE_EANBLE_QPSG=1"
@@ -29,7 +29,9 @@ $CFLAGS += " -DSQLITE_ENABLE_SNAPSHOT=1"
29
29
  $CFLAGS += " -DSQLITE_ENABLE_STMTVTAB=1"
30
30
  $CFLAGS += " -DSQLITE_ENABLE_STAT4=1"
31
31
  $CFLAGS += " -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
32
+ $CFLAGS += " -DSQLITE_ENABLE_SOUNDEX=1"
32
33
 
34
+ $CFLAGS += " -DSQLITE_USE_ALLOCA=1"
33
35
  $CFLAGS += " -DSQLITE_OMIT_DEPRECATED=1"
34
36
 
35
37
  # we compile sqlite the same way that the installation of ruby is compiled.
@@ -54,7 +56,18 @@ ignore_by_compiler = {
54
56
  sign-compare
55
57
  unused-const-variable
56
58
  unused-variable
57
- ]
59
+ unused-but-set-variable
60
+ undef
61
+ ],
62
+ "gcc" => %w[
63
+ declaration-after-statement
64
+ implicit-function-declaration
65
+ unused-variable
66
+ unused-but-set-variable
67
+ maybe-uninitialized
68
+ old-style-definition
69
+ undef
70
+ ]
58
71
  }
59
72
 
60
73
  if extras = ignore_by_compiler[RbConfig::MAKEFILE_CONFIG["CC"]] then
@@ -63,7 +76,7 @@ end
63
76
 
64
77
  ignoreable_warnings.each do |warning|
65
78
  $CFLAGS = $CFLAGS.gsub(/-W#{warning}/,'')
66
- RbConfig::MAKEFILE_CONFIG['warnflags'] = RbConfig::MAKEFILE_CONFIG['warnflags'].gsub(/-W#{warning}/,'') if RbConfig::MAKEFILE_CONFIG['warnflags']
79
+ RbConfig::MAKEFILE_CONFIG['warnflags'] = RbConfig::MAKEFILE_CONFIG['warnflags'].gsub(/-W#{warning}/,'') if RbConfig::MAKEFILE_CONFIG['warnflags']
67
80
  $CFLAGS += " -Wno-#{warning}"
68
81
  end
69
82