fxruby 1.6.44-x64-mingw32 → 1.6.45-x64-mingw32

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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/History.md +5 -0
  3. data/README.rdoc +6 -1
  4. data/Rakefile +5 -4
  5. data/appveyor.yml +4 -7
  6. data/ext/fox16_c/core_wrap.cpp +4 -2
  7. data/ext/fox16_c/dc_wrap.cpp +4 -2
  8. data/ext/fox16_c/dialogs_wrap.cpp +4 -2
  9. data/ext/fox16_c/extconf.rb +12 -12
  10. data/ext/fox16_c/frames_wrap.cpp +4 -2
  11. data/ext/fox16_c/fx3d_wrap.cpp +4 -2
  12. data/ext/fox16_c/iconlist_wrap.cpp +4 -2
  13. data/ext/fox16_c/icons_wrap.cpp +4 -2
  14. data/ext/fox16_c/image_wrap.cpp +4 -2
  15. data/ext/fox16_c/label_wrap.cpp +4 -2
  16. data/ext/fox16_c/layout_wrap.cpp +4 -2
  17. data/ext/fox16_c/list_wrap.cpp +4 -2
  18. data/ext/fox16_c/mdi_wrap.cpp +4 -2
  19. data/ext/fox16_c/menu_wrap.cpp +4 -2
  20. data/ext/fox16_c/scintilla_wrap.cpp +4 -2
  21. data/ext/fox16_c/swigruby.h +3 -1
  22. data/ext/fox16_c/table_wrap.cpp +4 -2
  23. data/ext/fox16_c/text_wrap.cpp +4 -2
  24. data/ext/fox16_c/treelist_wrap.cpp +4 -2
  25. data/ext/fox16_c/ui_wrap.cpp +4 -2
  26. data/lib/2.4/fox16_c.so +0 -0
  27. data/lib/2.5/fox16_c.so +0 -0
  28. data/lib/2.6/fox16_c.so +0 -0
  29. data/lib/2.7/fox16_c.so +0 -0
  30. data/lib/3.0/fox16_c.so +0 -0
  31. data/lib/fox16/version.rb +1 -1
  32. data/lib/fox16.rb +2 -4
  33. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libFOX-1.6-0.dll +0 -0
  34. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libfxscintilla-20.dll +0 -0
  35. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libgcc_s_seh-1.dll +0 -0
  36. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libjpeg-62.dll +0 -0
  37. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libpng16-16.dll +0 -0
  38. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libstdc++-6.dll +0 -0
  39. data/ports/x64-mingw32/bin/libtiff-5.dll +0 -0
  40. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/libwinpthread-1.dll +0 -0
  41. data/ports/{x86_64-w64-mingw32 → x64-mingw32}/bin/zlib1.dll +0 -0
  42. metadata +18 -19
  43. data/lib/2.3/fox16_c.so +0 -0
  44. data/ports/x86_64-w64-mingw32/bin/libtiff-5.dll +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c25f2be1aab590a13c09c51352b8d161198441ac602bb620bc6eba6713ede73
4
- data.tar.gz: ab45134dd95a3d5c44a3177955a3db5e67869ed5fa3931b17ed3109493ffe686
3
+ metadata.gz: c5fb26d377f35ce2e16b4e3b6f3e440d29b0213521c0e6c98bdcf1d98d9bf833
4
+ data.tar.gz: 86fea8a933781328d86d7529dcd991f2aab2efbec020dad06f592413c7a9fb06
5
5
  SHA512:
6
- metadata.gz: 3a4b42c4183b6d00753c836a27436fee2f80417b415f92c7dbd452ea5c083d8fe94dba3778ffb48744644d7d771009484467c8e8097c9db04f6cab090b516858
7
- data.tar.gz: 528fbd6cfe55cecb9e44b5164f21c39c39ab2dd6e007e03cc0b9d00dac28d3c9d17a94868949f95387526d81f3c74f0e9137d496fb0e1621b25d1b3db93cbaad
6
+ metadata.gz: c4f16f48eaa64df9d5891efce3c1e343510f488cc3f162a7557de1d16de9d2a975491e633c0e2126b104ec8953395f1a7c9d1a6624f72ac247734fef426bdf99
7
+ data.tar.gz: 34ce776123812451bd7d18affeb054d2dc1a38a5c256d65f3e6efec5dcd8feab45e29c80c83e7fece5840176de8c7d928c62ca0f0496f2a91dfd5da7581ba415
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.6.45 / 2022-01-14
2
+
3
+ * Add binary gem support for ruby-3.1 on platform x64-mingw-ucrt and drop ruby-2.3.
4
+ * Update to libz-1.2.11, libjpeg-turbo-2.1.2, libtiff-4.3.0 for Windows binary gems.
5
+
1
6
  ## 1.6.44 / 2020-12-31
2
7
 
3
8
  * Add binary gem support for ruby-3.0. #66
data/README.rdoc CHANGED
@@ -34,12 +34,17 @@ FXRuby supportes everything of FOX, that is useful in Ruby:
34
34
  FXRuby runs on Linux, Windows and OS-X with Ruby-2.2 or newer. Installation on Unix requires
35
35
  FOX development headers and libraries installed:
36
36
  * on Debian/Ubuntu: <tt>sudo apt-get install g++ libxrandr-dev libfox-1.6-dev</tt>
37
+ * on Mac: <tt>sudo port install rb-fxruby</tt> OR <tt>brew install fox && brew install xquartz</tt>
38
+ * on Windows: the binary fxruby gems already contain all required libraries
37
39
  * see also detailed installation instructions in the {Wiki}[https://github.com/lylejohnson/fxruby/wiki]
38
- * on Windows: the binary fxruby gems already contain all required libararies
39
40
 
40
41
  Then, install the gem:
41
42
  * gem install fxruby
42
43
 
44
+ On Mac, before running applications, you must also run: <tt>open -a /Applications/Utilities/XQuartz.app</tt>
45
+
46
+ (otherwise, you end up getting this message when running applications on Mac: <tt>FXRbApp::openDisplay: unable to open display :0.0</tt>)
47
+
43
48
  == DIRECTORIES
44
49
  The directory structure is:
45
50
 
data/Rakefile CHANGED
@@ -92,7 +92,7 @@ gem_spec = Bundler.load_gemspec('fxruby.gemspec')
92
92
 
93
93
  ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
94
94
  ext.cross_compile = true
95
- ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
95
+ ext.cross_platform = ['x86-mingw32', 'x64-mingw-ucrt', 'x64-mingw32']
96
96
  # Enable FXTRACE and FXASSERT for 'rake compile'
97
97
  ext.config_options << "--enable-debug"
98
98
 
@@ -109,6 +109,7 @@ ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
109
109
 
110
110
  platform_host_map = {
111
111
  'x86-mingw32' => ['i686-w64-mingw32'],
112
+ 'x64-mingw-ucrt' => ['x86_64-w64-mingw32'],
112
113
  'x64-mingw32' => ['x86_64-w64-mingw32'],
113
114
  }
114
115
 
@@ -117,7 +118,7 @@ ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
117
118
 
118
119
  gcc_shared_dlls = %w[libwinpthread-1.dll libgcc_s_dw2-1.dll libgcc_s_sjlj-1.dll libgcc_s_seh-1.dll libstdc++-6.dll]
119
120
 
120
- dlls = gcc_shared_dlls.select{|dll| File.exist?("ports/#{host}/bin/#{dll}") }
121
+ dlls = gcc_shared_dlls.select{|dll| File.exist?("ports/#{gemplat}/bin/#{dll}") }
121
122
  dlls += [
122
123
  "libfxscintilla-20.dll",
123
124
  "libFOX-1.6-0.dll",
@@ -127,11 +128,11 @@ ext_task = Rake::ExtensionTask.new("fox16_c", gem_spec) do |ext|
127
128
  "zlib1.dll",
128
129
  ]
129
130
 
130
- spec.files += dlls.map{|dll| "ports/#{host}/bin/#{dll}" }
131
+ spec.files += dlls.map{|dll| "ports/#{gemplat}/bin/#{dll}" }
131
132
 
132
133
  unless ENV['FXRUBY_MINGW_DEBUG']
133
134
  dlls.each do |dll|
134
- task "ports/#{host}/bin/#{dll}" do |t|
135
+ task "ports/#{gemplat}/bin/#{dll}" do |t|
135
136
  sh "#{host}-strip", t.name
136
137
  end
137
138
  end
data/appveyor.yml CHANGED
@@ -3,8 +3,7 @@ image: Visual Studio 2019
3
3
  clone_depth: 1
4
4
 
5
5
  init:
6
- - SET PATH=c:/Ruby%ruby_version%/bin;c:/msys64/%MSYSTEM%/bin;%PATH%
7
- - SET RAKEOPT=-rdevkit
6
+ - SET PATH=c:/Ruby%ruby_version%/bin;%PATH%
8
7
  install:
9
8
  - ps: |
10
9
  if ($env:ruby_version -like "*head*") {
@@ -14,11 +13,13 @@ install:
14
13
  - ruby --version
15
14
  - gem --version
16
15
  - ridk version
16
+ - ridk enable
17
17
  # Remove gcc-ada and gcc-objc, since they are no longer supported by msys2 and therefore cause a dependency issue
18
18
  - c:/msys64/usr/bin/bash -lc "pacman --noconfirm --remove mingw-w64-i686-gcc-ada mingw-w64-i686-gcc-objc mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc"
19
19
  - c:/msys64/usr/bin/bash -lc "pacman -Syu --noconfirm --ask 20"
20
20
  - c:/msys64/usr/bin/bash -lc "pacman -Su --noconfirm"
21
- - c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-fox ${MINGW_PACKAGE_PREFIX}-swig"
21
+ - c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-fox ${MINGW_PACKAGE_PREFIX}-swig ${MINGW_PACKAGE_PREFIX}-gcc"
22
+ - gcc -v
22
23
  - swig -version
23
24
  - gem install bundler --conservative
24
25
  - bundle config set force_ruby_platform true
@@ -30,8 +31,4 @@ test_script:
30
31
  environment:
31
32
  matrix:
32
33
  - ruby_version: "head-x64"
33
- MINGW_PACKAGE_PREFIX: "mingw-w64-x86_64"
34
- MSYSTEM: "MINGW64"
35
34
  - ruby_version: "24"
36
- MINGW_PACKAGE_PREFIX: "mingw-w64-i686"
37
- MSYSTEM: "MINGW32"
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1946,7 +1948,7 @@ VALUE mFox;
1946
1948
  #define SWIG_RUBY_THREAD_END_BLOCK
1947
1949
 
1948
1950
 
1949
- #define SWIGVERSION 0x040001
1951
+ #define SWIGVERSION 0x040002
1950
1952
  #define SWIG_VERSION SWIGVERSION
1951
1953
 
1952
1954
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1910,7 +1912,7 @@ static swig_module_info swig_module = {swig_types, 36, 0, 0, 0, 0};
1910
1912
  #define SWIG_RUBY_THREAD_END_BLOCK
1911
1913
 
1912
1914
 
1913
- #define SWIGVERSION 0x040001
1915
+ #define SWIGVERSION 0x040002
1914
1916
  #define SWIG_VERSION SWIGVERSION
1915
1917
 
1916
1918
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -2002,7 +2004,7 @@ static swig_module_info swig_module = {swig_types, 128, 0, 0, 0, 0};
2002
2004
  #define SWIG_RUBY_THREAD_END_BLOCK
2003
2005
 
2004
2006
 
2005
- #define SWIGVERSION 0x040001
2007
+ #define SWIGVERSION 0x040002
2006
2008
  #define SWIG_VERSION SWIGVERSION
2007
2009
 
2008
2010
 
@@ -20,8 +20,7 @@ def fxscintilla_support_suppressed?
20
20
  !with_config("fxscintilla", true)
21
21
  end
22
22
 
23
- # Stick at zlib-1.2.7 for compatibility to MSYS1 based RubyInstaller.
24
- LIBZ_VERSION = ENV['LIBZ_VERSION'] || '1.2.7.3'
23
+ LIBZ_VERSION = ENV['LIBZ_VERSION'] || '1.2.11'
25
24
  LIBZ_SOURCE_URI = "http://zlib.net/fossils/zlib-#{LIBZ_VERSION}.tar.gz"
26
25
 
27
26
  LIBPNG_VERSION = ENV['LIBPNG_VERSION'] || '1.6.37'
@@ -30,10 +29,10 @@ LIBPNG_SOURCE_URI = "http://prdownloads.sourceforge.net/libpng/libpng-#{LIBPNG_V
30
29
  # LIBJPEG_VERSION = ENV['LIBJPEG_VERSION'] || '9b'
31
30
  # LIBJPEG_SOURCE_URI = "http://www.ijg.org/files/jpegsrc.v#{LIBJPEG_VERSION}.tar.gz"
32
31
 
33
- LIBJPEG_VERSION = ENV['LIBJPEG_VERSION'] || '2.0.6'
32
+ LIBJPEG_VERSION = ENV['LIBJPEG_VERSION'] || '2.1.2'
34
33
  LIBJPEG_SOURCE_URI = "https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-#{LIBJPEG_VERSION}.tar.gz"
35
34
 
36
- LIBTIFF_VERSION = ENV['LIBTIFF_VERSION'] || '4.1.0'
35
+ LIBTIFF_VERSION = ENV['LIBTIFF_VERSION'] || '4.3.0'
37
36
  LIBTIFF_SOURCE_URI = "http://download.osgeo.org/libtiff/tiff-#{LIBTIFF_VERSION}.tar.gz"
38
37
 
39
38
  LIBFOX_VERSION = ENV['LIBFOX_VERSION'] || '1.6.57'
@@ -55,7 +54,7 @@ module BuildRecipeCommons
55
54
  end
56
55
 
57
56
  def port_path
58
- "#{target}/#{host}"
57
+ "#{target}/#{RUBY_PLATFORM}"
59
58
  end
60
59
 
61
60
  # When using rake-compiler-dock on Windows, the underlying Virtualbox shared
@@ -69,7 +68,7 @@ module BuildRecipeCommons
69
68
  end
70
69
 
71
70
  def cook_and_activate
72
- checkpoint = File.join(self.target, "#{self.name}-#{self.version}-#{self.host}.installed")
71
+ checkpoint = File.join(self.target, "#{self.name}-#{self.version}-#{RUBY_PLATFORM}.installed")
73
72
  unless File.exist?(checkpoint)
74
73
  chdir_for_build do
75
74
  self.cook
@@ -178,7 +177,7 @@ def do_rake_compiler_setup
178
177
  "--without-xft",
179
178
  "--without-x",
180
179
  debug ? "--enable-debug" : "--enable-release",
181
- "CPPFLAGS=-I#{libjpeg_recipe.path}/include -I#{libpng_recipe.path}/include -I#{libtiff_recipe.path}/include -I#{libz_recipe.path}/include -DUNICODE=1 #{debug ? "-ggdb" : ""}",
180
+ "CPPFLAGS=-I#{libjpeg_recipe.path}/include -I#{libpng_recipe.path}/include -I#{libtiff_recipe.path}/include -I#{libz_recipe.path}/include -DUNICODE=1 #{debug ? "-ggdb" : ""} -D__USE_MINGW_ANSI_STDIO=1 -DHAVE_VSSCANF",
182
181
  "LDFLAGS=-L#{libjpeg_recipe.path}/lib -L#{libpng_recipe.path}/lib -L#{libtiff_recipe.path}/lib -L#{libz_recipe.path}/lib #{debug ? "-ggdb" : ""}",
183
182
  ]
184
183
  recipe.cook_and_activate
@@ -191,11 +190,12 @@ def do_rake_compiler_setup
191
190
  "#{ENV['MAKE'] || "make"}"
192
191
  end
193
192
 
194
- # # This can be uncommented when fxscintilla is used from the source repository.
195
- # def configure
196
- # execute "bootstrap", "./bootstrap.sh"
197
- # super
198
- # end
193
+ def configure
194
+ # This can be uncommented when fxscintilla is used from the source repository.
195
+ #execute "bootstrap", "./bootstrap.sh"
196
+ execute "rm custom pkg-config", "sudo rm -f /usr/bin/x86_64-w64-mingw32-pkg-config"
197
+ super
198
+ end
199
199
 
200
200
  def compile
201
201
  execute "compile_lexers", "cd lexers && #{mk}"
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1946,7 +1948,7 @@ static swig_module_info swig_module = {swig_types, 72, 0, 0, 0, 0};
1946
1948
  #define SWIG_RUBY_THREAD_END_BLOCK
1947
1949
 
1948
1950
 
1949
- #define SWIGVERSION 0x040001
1951
+ #define SWIGVERSION 0x040002
1950
1952
  #define SWIG_VERSION SWIGVERSION
1951
1953
 
1952
1954
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -2012,7 +2014,7 @@ static swig_module_info swig_module = {swig_types, 138, 0, 0, 0, 0};
2012
2014
  #define SWIG_RUBY_THREAD_END_BLOCK
2013
2015
 
2014
2016
 
2015
- #define SWIGVERSION 0x040001
2017
+ #define SWIGVERSION 0x040002
2016
2018
  #define SWIG_VERSION SWIGVERSION
2017
2019
 
2018
2020
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1942,7 +1944,7 @@ static swig_module_info swig_module = {swig_types, 68, 0, 0, 0, 0};
1942
1944
  #define SWIG_RUBY_THREAD_END_BLOCK
1943
1945
 
1944
1946
 
1945
- #define SWIGVERSION 0x040001
1947
+ #define SWIGVERSION 0x040002
1946
1948
  #define SWIG_VERSION SWIGVERSION
1947
1949
 
1948
1950
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -2011,7 +2013,7 @@ static swig_module_info swig_module = {swig_types, 137, 0, 0, 0, 0};
2011
2013
  #define SWIG_RUBY_THREAD_END_BLOCK
2012
2014
 
2013
2015
 
2014
- #define SWIGVERSION 0x040001
2016
+ #define SWIGVERSION 0x040002
2015
2017
  #define SWIG_VERSION SWIGVERSION
2016
2018
 
2017
2019
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1998,7 +2000,7 @@ static swig_module_info swig_module = {swig_types, 124, 0, 0, 0, 0};
1998
2000
  #define SWIG_RUBY_THREAD_END_BLOCK
1999
2001
 
2000
2002
 
2001
- #define SWIGVERSION 0x040001
2003
+ #define SWIGVERSION 0x040002
2002
2004
  #define SWIG_VERSION SWIGVERSION
2003
2005
 
2004
2006
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1955,7 +1957,7 @@ static swig_module_info swig_module = {swig_types, 81, 0, 0, 0, 0};
1955
1957
  #define SWIG_RUBY_THREAD_END_BLOCK
1956
1958
 
1957
1959
 
1958
- #define SWIGVERSION 0x040001
1960
+ #define SWIGVERSION 0x040002
1959
1961
  #define SWIG_VERSION SWIGVERSION
1960
1962
 
1961
1963
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1941,7 +1943,7 @@ static swig_module_info swig_module = {swig_types, 67, 0, 0, 0, 0};
1941
1943
  #define SWIG_RUBY_THREAD_END_BLOCK
1942
1944
 
1943
1945
 
1944
- #define SWIGVERSION 0x040001
1946
+ #define SWIGVERSION 0x040002
1945
1947
  #define SWIG_VERSION SWIGVERSION
1946
1948
 
1947
1949
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1940,7 +1942,7 @@ static swig_module_info swig_module = {swig_types, 66, 0, 0, 0, 0};
1940
1942
  #define SWIG_RUBY_THREAD_END_BLOCK
1941
1943
 
1942
1944
 
1943
- #define SWIGVERSION 0x040001
1945
+ #define SWIGVERSION 0x040002
1944
1946
  #define SWIG_VERSION SWIGVERSION
1945
1947
 
1946
1948
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -2014,7 +2016,7 @@ static swig_module_info swig_module = {swig_types, 140, 0, 0, 0, 0};
2014
2016
  #define SWIG_RUBY_THREAD_END_BLOCK
2015
2017
 
2016
2018
 
2017
- #define SWIGVERSION 0x040001
2019
+ #define SWIGVERSION 0x040002
2018
2020
  #define SWIG_VERSION SWIGVERSION
2019
2021
 
2020
2022
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1995,7 +1997,7 @@ static swig_module_info swig_module = {swig_types, 121, 0, 0, 0, 0};
1995
1997
  #define SWIG_RUBY_THREAD_END_BLOCK
1996
1998
 
1997
1999
 
1998
- #define SWIGVERSION 0x040001
2000
+ #define SWIGVERSION 0x040002
1999
2001
  #define SWIG_VERSION SWIGVERSION
2000
2002
 
2001
2003
 
@@ -1,7 +1,7 @@
1
1
  #ifdef WITH_FXSCINTILLA
2
2
  /* ----------------------------------------------------------------------------
3
3
  * This file was automatically generated by SWIG (http://www.swig.org).
4
- * Version 4.0.1
4
+ * Version 4.0.2
5
5
  *
6
6
  * This file is not intended to be easily readable and contains a number of
7
7
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1626,6 +1626,8 @@ SWIGRUNTIMEINLINE char *
1626
1626
  SWIG_Ruby_MangleStr(VALUE obj)
1627
1627
  {
1628
1628
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1629
+ if (NIL_P(stype))
1630
+ return NULL;
1629
1631
  return StringValuePtr(stype);
1630
1632
  }
1631
1633
 
@@ -1990,7 +1992,7 @@ static swig_module_info swig_module = {swig_types, 115, 0, 0, 0, 0};
1990
1992
  #define SWIG_RUBY_THREAD_END_BLOCK
1991
1993
 
1992
1994
 
1993
- #define SWIGVERSION 0x040001
1995
+ #define SWIGVERSION 0x040002
1994
1996
  #define SWIG_VERSION SWIGVERSION
1995
1997
 
1996
1998
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1464,6 +1464,8 @@ SWIGRUNTIMEINLINE char *
1464
1464
  SWIG_Ruby_MangleStr(VALUE obj)
1465
1465
  {
1466
1466
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1467
+ if (NIL_P(stype))
1468
+ return NULL;
1467
1469
  return StringValuePtr(stype);
1468
1470
  }
1469
1471
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1993,7 +1995,7 @@ static swig_module_info swig_module = {swig_types, 119, 0, 0, 0, 0};
1993
1995
  #define SWIG_RUBY_THREAD_END_BLOCK
1994
1996
 
1995
1997
 
1996
- #define SWIGVERSION 0x040001
1998
+ #define SWIGVERSION 0x040002
1997
1999
  #define SWIG_VERSION SWIGVERSION
1998
2000
 
1999
2001
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1989,7 +1991,7 @@ static swig_module_info swig_module = {swig_types, 115, 0, 0, 0, 0};
1989
1991
  #define SWIG_RUBY_THREAD_END_BLOCK
1990
1992
 
1991
1993
 
1992
- #define SWIGVERSION 0x040001
1994
+ #define SWIGVERSION 0x040002
1993
1995
  #define SWIG_VERSION SWIGVERSION
1994
1996
 
1995
1997
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1992,7 +1994,7 @@ static swig_module_info swig_module = {swig_types, 118, 0, 0, 0, 0};
1992
1994
  #define SWIG_RUBY_THREAD_END_BLOCK
1993
1995
 
1994
1996
 
1995
- #define SWIGVERSION 0x040001
1997
+ #define SWIGVERSION 0x040002
1996
1998
  #define SWIG_VERSION SWIGVERSION
1997
1999
 
1998
2000
 
@@ -1,6 +1,6 @@
1
1
  /* ----------------------------------------------------------------------------
2
2
  * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.1
3
+ * Version 4.0.2
4
4
  *
5
5
  * This file is not intended to be easily readable and contains a number of
6
6
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -1625,6 +1625,8 @@ SWIGRUNTIMEINLINE char *
1625
1625
  SWIG_Ruby_MangleStr(VALUE obj)
1626
1626
  {
1627
1627
  VALUE stype = rb_iv_get(obj, "@__swigtype__");
1628
+ if (NIL_P(stype))
1629
+ return NULL;
1628
1630
  return StringValuePtr(stype);
1629
1631
  }
1630
1632
 
@@ -1990,7 +1992,7 @@ static swig_module_info swig_module = {swig_types, 116, 0, 0, 0, 0};
1990
1992
  #define SWIG_RUBY_THREAD_END_BLOCK
1991
1993
 
1992
1994
 
1993
- #define SWIGVERSION 0x040001
1995
+ #define SWIGVERSION 0x040002
1994
1996
  #define SWIG_VERSION SWIGVERSION
1995
1997
 
1996
1998
 
data/lib/2.4/fox16_c.so CHANGED
Binary file
data/lib/2.5/fox16_c.so CHANGED
Binary file
data/lib/2.6/fox16_c.so CHANGED
Binary file
data/lib/2.7/fox16_c.so CHANGED
Binary file
data/lib/3.0/fox16_c.so CHANGED
Binary file
data/lib/fox16/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Fox
2
2
  def Fox.fxrubyversion
3
- "1.6.44"
3
+ "1.6.45"
4
4
  end
5
5
  end
data/lib/fox16.rb CHANGED
@@ -18,11 +18,9 @@ rescue LoadError
18
18
  end
19
19
  end
20
20
 
21
+ ruby_plat = RUBY_PLATFORM.gsub("i386", "x86")
21
22
  # Temporary add this directory for DLL search, so that bundled DLLs can be found.
22
- ports_dir = RbConfig::CONFIG["host"].gsub('i686-pc-mingw32') do
23
- major_minor < '2.0' ? 'i586-mingw32msvc' : 'i686-w64-mingw32'
24
- end
25
- ports_bin = File.expand_path("../../ports/#{ports_dir}/bin", __FILE__)
23
+ ports_bin = File.expand_path("../../ports/#{ruby_plat}/bin", __FILE__)
26
24
  add_dll_path.call(ports_bin) do
27
25
  require "#{major_minor}/fox16_c"
28
26
  end
Binary file
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fxruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.44
4
+ version: 1.6.45
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Lyle Johnson
8
8
  - Lars Kanis
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-12-31 00:00:00.000000000 Z
12
+ date: 2022-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mini_portile2
@@ -25,7 +25,7 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '2.1'
28
- description:
28
+ description:
29
29
  email:
30
30
  - lyle@lylejohnson.name
31
31
  - lars@greiz-reinsdorf.de
@@ -717,7 +717,6 @@ files:
717
717
  - ext/fox16_c/unregisterOwnedObjects.cpp
718
718
  - fxruby.gemspec
719
719
  - index.html
720
- - lib/2.3/fox16_c.so
721
720
  - lib/2.4/fox16_c.so
722
721
  - lib/2.5/fox16_c.so
723
722
  - lib/2.6/fox16_c.so
@@ -756,15 +755,15 @@ files:
756
755
  - lib/fox16/tkcompat.rb
757
756
  - lib/fox16/undolist.rb
758
757
  - lib/fox16/version.rb
759
- - ports/x86_64-w64-mingw32/bin/libFOX-1.6-0.dll
760
- - ports/x86_64-w64-mingw32/bin/libfxscintilla-20.dll
761
- - ports/x86_64-w64-mingw32/bin/libgcc_s_seh-1.dll
762
- - ports/x86_64-w64-mingw32/bin/libjpeg-62.dll
763
- - ports/x86_64-w64-mingw32/bin/libpng16-16.dll
764
- - ports/x86_64-w64-mingw32/bin/libstdc++-6.dll
765
- - ports/x86_64-w64-mingw32/bin/libtiff-5.dll
766
- - ports/x86_64-w64-mingw32/bin/libwinpthread-1.dll
767
- - ports/x86_64-w64-mingw32/bin/zlib1.dll
758
+ - ports/x64-mingw32/bin/libFOX-1.6-0.dll
759
+ - ports/x64-mingw32/bin/libfxscintilla-20.dll
760
+ - ports/x64-mingw32/bin/libgcc_s_seh-1.dll
761
+ - ports/x64-mingw32/bin/libjpeg-62.dll
762
+ - ports/x64-mingw32/bin/libpng16-16.dll
763
+ - ports/x64-mingw32/bin/libstdc++-6.dll
764
+ - ports/x64-mingw32/bin/libtiff-5.dll
765
+ - ports/x64-mingw32/bin/libwinpthread-1.dll
766
+ - ports/x64-mingw32/bin/zlib1.dll
768
767
  - rdoc-sources/FX4Splitter.rb
769
768
  - rdoc-sources/FX7Segment.rb
770
769
  - rdoc-sources/FXAccelTable.rb
@@ -1287,7 +1286,7 @@ homepage: https://github.com/larskanis/fxruby
1287
1286
  licenses:
1288
1287
  - LGPL-2.1
1289
1288
  metadata: {}
1290
- post_install_message:
1289
+ post_install_message:
1291
1290
  rdoc_options: []
1292
1291
  require_paths:
1293
1292
  - lib
@@ -1295,18 +1294,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
1295
1294
  requirements:
1296
1295
  - - ">="
1297
1296
  - !ruby/object:Gem::Version
1298
- version: '2.3'
1297
+ version: '2.4'
1299
1298
  - - "<"
1300
1299
  - !ruby/object:Gem::Version
1301
- version: 3.1.dev
1300
+ version: 3.2.dev
1302
1301
  required_rubygems_version: !ruby/object:Gem::Requirement
1303
1302
  requirements:
1304
1303
  - - ">="
1305
1304
  - !ruby/object:Gem::Version
1306
1305
  version: '0'
1307
1306
  requirements: []
1308
- rubygems_version: 3.2.3
1309
- signing_key:
1307
+ rubygems_version: 3.3.4
1308
+ signing_key:
1310
1309
  specification_version: 4
1311
1310
  summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
1312
1311
  test_files: []
data/lib/2.3/fox16_c.so DELETED
Binary file