fxruby 1.6.44 → 1.6.45

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: c6afadc05aa5e981d116be841872b78517cb02a31259bec13fc240294867d118
4
- data.tar.gz: 5decec74dffa11934147cc4696fe94166b57cfb7e77ef62786c374f865db45ee
3
+ metadata.gz: af796ed2e6e34caea0cabf8de30ee4480e6d46e292dfbf4e40b0d1126f3ffe9b
4
+ data.tar.gz: be30fdcbaa608cbccd7c6f75c9d7f08a34fafb7a2a8db7ec07f47d35e588afb0
5
5
  SHA512:
6
- metadata.gz: 76dda2fa52e37d0633f76ff3c0e6e85f19bbea5a63ea0194d84807f74838ae93337e1899ac07ad183b9373c723e3cc590cc95adb1de891bc273fba5ea66ae759
7
- data.tar.gz: e256f8702086ea9107c6f96f9a02d21d5ffee55983fa2953fd2ca0ea9e6cca0576e2f06efaa08837c70f9b7cfa4093f621f63f760d5aab8fc92cc31046428463
6
+ metadata.gz: 6dd62a5beb783150fdfd3f37cc5f5da639dfa632732915c309a305c5693730ae0863e196f519d10e63fb0ca9ce95eefcea7932957d4e9a1a2d4845acd105b266
7
+ data.tar.gz: 89546775ff1e7b43f5faa537be76cdf6e14207e1ed85567dde62e15ceaa4ff1ee27eec8cee6d5e22e1c5145928f2e266050bf729f2666088df6ac0d5d1b2f98f
checksums.yaml.gz.sig CHANGED
Binary file
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/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
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
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: ruby
6
6
  authors:
7
7
  - Lyle Johnson
@@ -11,26 +11,32 @@ bindir: exe
11
11
  cert_chain:
12
12
  - |
13
13
  -----BEGIN CERTIFICATE-----
14
- MIIDPDCCAiSgAwIBAgIBBTANBgkqhkiG9w0BAQsFADBEMQ0wCwYDVQQDDARsYXJz
15
- MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
16
- GRYCZGUwHhcNMjAxMjI2MTgzMzUyWhcNMjExMjI2MTgzMzUyWjBEMQ0wCwYDVQQD
17
- DARsYXJzMR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZIm
18
- iZPyLGQBGRYCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZb4Uv
19
- RFJfRu/VEWiy3psh2jinETjiuBrL0NeRFGf8H7iU9+gx/DI/FFhfHGLrDeIskrJx
20
- YIWDMmEjVO10UUdj7wu4ZhmU++0Cd7Kq9/TyP/shIP3IjqHjVLCnJ3P6f1cl5rxZ
21
- gqo+d3BAoDrmPk0rtaf6QopwUw9RBiF8V4HqvpiY+ruJotP5UQDP4/lVOKvA8PI9
22
- P0GmVbFBrbc7Zt5h78N3UyOK0u+nvOC23BvyHXzCtcFsXCoEkt+Wwh0RFqVZdnjM
23
- LMO2vULHKKHDdX54K/sbVCj9pN9h1aotNzrE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33
- date: 2020-12-31 00:00:00.000000000 Z
39
+ date: 2022-01-14 00:00:00.000000000 Z
34
40
  dependencies:
35
41
  - !ruby/object:Gem::Dependency
36
42
  name: mini_portile2
@@ -1313,7 +1319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1313
1319
  - !ruby/object:Gem::Version
1314
1320
  version: '0'
1315
1321
  requirements: []
1316
- rubygems_version: 3.1.4
1322
+ rubygems_version: 3.2.22
1317
1323
  signing_key:
1318
1324
  specification_version: 4
1319
1325
  summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
metadata.gz.sig CHANGED
Binary file