fxruby 1.6.35-x64-mingw32 → 1.6.36-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.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -8,8 +8,8 @@ rescue LoadError
8
8
 
9
9
  add_dll_path = proc do |path, &block|
10
10
  begin
11
- require 'ruby_installer'
12
- RubyInstaller.add_dll_directory(path, &block)
11
+ require 'ruby_installer/runtime'
12
+ RubyInstaller::Runtime.add_dll_directory(path, &block)
13
13
  rescue LoadError
14
14
  old_path = ENV['PATH']
15
15
  ENV['PATH'] = "#{path};#{old_path}"
@@ -18,7 +18,7 @@ rescue LoadError
18
18
  end
19
19
  end
20
20
 
21
- # Temporary add this directory for DLL search, so that libpq.dll can be found.
21
+ # Temporary add this directory for DLL search, so that bundled DLLs can be found.
22
22
  ports_dir = RbConfig::CONFIG["host"].gsub('i686-pc-mingw32') do
23
23
  major_minor < '2.0' ? 'i586-mingw32msvc' : 'i686-w64-mingw32'
24
24
  end
@@ -1,5 +1,5 @@
1
1
  module Fox
2
2
  def Fox.fxrubyversion
3
- "1.6.35"
3
+ "1.6.36"
4
4
  end
5
5
  end
@@ -0,0 +1,13 @@
1
+ diff --git a/src/FXString.cpp b/src/FXString.cpp
2
+ index fe1120a..b1112dc 100644
3
+ --- a/src/FXString.cpp
4
+ +++ b/src/FXString.cpp
5
+ @@ -2365,7 +2365,7 @@ FXString& FXString::vformat(const FXchar* fmt,va_list args){
6
+ #else
7
+ va_list ag;
8
+ x: va_copy(ag,args);
9
+ - result=vsnprintf(str,length()+1,fmt,ag);
10
+ + result=vsnprintf(str,empty() ? 0 : length()+1,fmt,ag);
11
+ va_end(ag);
12
+ if(result<0){ length(FXMAX(64,length()*2)); goto x; }
13
+ if(length()<result){ length(result); goto x; }
@@ -2,8 +2,11 @@ require 'fox16'
2
2
  require 'test/unit'
3
3
 
4
4
  if __FILE__ == $0
5
- $: << File.dirname(__FILE__)
6
- Dir.glob("TC_*.rb").each do |testcase|
7
- require "#{testcase}"
5
+ testdir = File.expand_path("..", __FILE__)
6
+ $: << testdir
7
+ Dir.chdir(testdir) do
8
+ Dir.glob("TC_*.rb").each do |testcase|
9
+ require "#{testcase}"
10
+ end
8
11
  end
9
12
  end
@@ -0,0 +1,140 @@
1
+ # This file is used to setup a dummy X server for testing on http://travis-ci.org
2
+ # See config file ".travis.yml"
3
+
4
+ ##Xdummy:##
5
+ Section "ServerFlags"
6
+ Option "DontVTSwitch" "true"
7
+ Option "AllowMouseOpenFail" "true"
8
+ Option "PciForceNone" "true"
9
+ Option "AutoEnableDevices" "false"
10
+ Option "AutoAddDevices" "false"
11
+ EndSection
12
+
13
+ Section "Module"
14
+ Load "/usr/lib/xorg/modules/extensions/libglx.so"
15
+ EndSection
16
+
17
+ Section "Extensions"
18
+ Option "GLX" "Enable"
19
+ Option "NV-GLX" "Disable"
20
+ EndSection
21
+
22
+
23
+ ##Xdummy:##
24
+ Section "InputDevice"
25
+ Identifier "NoMouse"
26
+ Option "CorePointer" "true"
27
+ Driver "void"
28
+ EndSection
29
+
30
+ Section "InputDevice"
31
+ Identifier "NoKeyboard"
32
+ Option "CoreKeyboard" "true"
33
+ Driver "void"
34
+ EndSection
35
+
36
+ ##Xdummy:##
37
+ Section "Device"
38
+ Identifier "Videocard0"
39
+ Driver "dummy"
40
+ #VideoRam 4096000
41
+ VideoRam 256000
42
+ EndSection
43
+
44
+ ##Xdummy:##
45
+ Section "Monitor"
46
+ Identifier "Monitor0"
47
+ HorizSync 10.0 - 300.0
48
+ VertRefresh 10.0 - 200.0
49
+ DisplaySize 4335 1084
50
+ #The following modeline is invalid (calculator overflowed):
51
+ #Modeline "32000x32000@0" -38917.43 32000 32032 -115848 -115816 32000 32775 32826 33601
52
+ Modeline "16384x8192@10" 2101.93 16384 16416 24400 24432 8192 8390 8403 8602
53
+ Modeline "8192x4096@10" 424.46 8192 8224 9832 9864 4096 4195 4202 4301
54
+ Modeline "5120x3200@10" 199.75 5120 5152 5904 5936 3200 3277 3283 3361
55
+ Modeline "3840x2880@10" 133.43 3840 3872 4376 4408 2880 2950 2955 3025
56
+ Modeline "3840x2560@10" 116.93 3840 3872 4312 4344 2560 2622 2627 2689
57
+ Modeline "3840x2048@10" 91.45 3840 3872 4216 4248 2048 2097 2101 2151
58
+ Modeline "2048x2048@10" 49.47 2048 2080 2264 2296 2048 2097 2101 2151
59
+ Modeline "2560x1600@10" 47.12 2560 2592 2768 2800 1600 1639 1642 1681
60
+ Modeline "1920x1200@10" 26.28 1920 1952 2048 2080 1200 1229 1231 1261
61
+ Modeline "1920x1080@10" 23.53 1920 1952 2040 2072 1080 1106 1108 1135
62
+ Modeline "1680x1050@10" 20.08 1680 1712 1784 1816 1050 1075 1077 1103
63
+ Modeline "1600x900@20" 33.92 1600 1632 1760 1792 900 921 924 946
64
+ Modeline "1440x900@20" 30.66 1440 1472 1584 1616 900 921 924 946
65
+ Modeline "1360x768@20" 24.49 1360 1392 1480 1512 768 786 789 807
66
+ #common resolutions for android devices (both orientations):
67
+ Modeline "800x1280@20" 25.89 800 832 928 960 1280 1310 1315 1345
68
+ Modeline "1280x800@20" 24.15 1280 1312 1400 1432 800 819 822 841
69
+ Modeline "720x1280@25" 30.22 720 752 864 896 1280 1309 1315 1345
70
+ Modeline "1280x720@25" 27.41 1280 1312 1416 1448 720 737 740 757
71
+ Modeline "768x1024@25" 24.93 768 800 888 920 1024 1047 1052 1076
72
+ Modeline "1024x768@25" 23.77 1024 1056 1144 1176 768 785 789 807
73
+ Modeline "600x1024@25" 19.90 600 632 704 736 1024 1047 1052 1076
74
+ Modeline "1024x600@25" 18.26 1024 1056 1120 1152 600 614 617 631
75
+ Modeline "536x960@25" 16.74 536 568 624 656 960 982 986 1009
76
+ Modeline "960x536@25" 15.23 960 992 1048 1080 536 548 551 563
77
+ Modeline "600x800@25" 15.17 600 632 688 720 800 818 822 841
78
+ Modeline "800x600@25" 14.50 800 832 880 912 600 614 617 631
79
+ Modeline "480x854@25" 13.34 480 512 560 592 854 873 877 897
80
+ Modeline "848x480@25" 12.09 848 880 920 952 480 491 493 505
81
+ Modeline "480x800@25" 12.43 480 512 552 584 800 818 822 841
82
+ Modeline "800x480@25" 11.46 800 832 872 904 480 491 493 505
83
+ Modeline "320x480@50" 10.73 320 352 392 424 480 490 494 505
84
+ Modeline "480x320@50" 9.79 480 512 544 576 320 327 330 337
85
+ Modeline "240x400@50" 6.96 240 272 296 328 400 408 412 421
86
+ Modeline "400x240@50" 6.17 400 432 448 480 240 245 247 253
87
+ Modeline "240x320@50" 5.47 240 272 288 320 320 327 330 337
88
+ Modeline "320x240@50" 5.10 320 352 368 400 240 245 247 253
89
+ #resolutions for android devices (both orientations)
90
+ #minus the status bar
91
+ #38px status bar (and width rounded up)
92
+ Modeline "800x1242@20" 25.03 800 832 920 952 1242 1271 1275 1305
93
+ Modeline "1280x762@20" 22.93 1280 1312 1392 1424 762 780 783 801
94
+ Modeline "720x1242@25" 29.20 720 752 856 888 1242 1271 1276 1305
95
+ Modeline "1280x682@25" 25.85 1280 1312 1408 1440 682 698 701 717
96
+ Modeline "768x986@25" 23.90 768 800 888 920 986 1009 1013 1036
97
+ Modeline "1024x730@25" 22.50 1024 1056 1136 1168 730 747 750 767
98
+ Modeline "600x986@25" 19.07 600 632 704 736 986 1009 1013 1036
99
+ Modeline "1024x562@25" 17.03 1024 1056 1120 1152 562 575 578 591
100
+ Modeline "536x922@25" 16.01 536 568 624 656 922 943 947 969
101
+ Modeline "960x498@25" 14.09 960 992 1040 1072 498 509 511 523
102
+ Modeline "600x762@25" 14.39 600 632 680 712 762 779 783 801
103
+ Modeline "800x562@25" 13.52 800 832 880 912 562 575 578 591
104
+ Modeline "480x810@25" 12.59 480 512 552 584 810 828 832 851
105
+ Modeline "848x442@25" 11.09 848 880 920 952 442 452 454 465
106
+ Modeline "480x762@25" 11.79 480 512 552 584 762 779 783 801
107
+ Modeline "800x442@25" 10.51 800 832 864 896 442 452 454 465
108
+ #32px status bar (no need for rounding):
109
+ Modeline "320x448@50" 9.93 320 352 384 416 448 457 461 471
110
+ Modeline "480x288@50" 8.75 480 512 544 576 288 294 297 303
111
+ #24px status bar:
112
+ Modeline "240x376@50" 6.49 240 272 296 328 376 384 387 395
113
+ Modeline "400x216@50" 5.50 400 432 448 480 216 220 222 227
114
+ Modeline "240x296@50" 5.02 240 272 288 320 296 302 305 311
115
+ Modeline "320x216@50" 4.55 320 352 368 400 216 220 222 227
116
+ EndSection
117
+
118
+ ##Xdummy:##
119
+ Section "Screen"
120
+ Identifier "Screen0"
121
+ Device "Videocard0"
122
+ Monitor "Monitor0"
123
+ DefaultDepth 24
124
+ SubSection "Display"
125
+ Viewport 0 0
126
+ Depth 24
127
+ Modes "32000x32000" "16384x8192" "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
128
+ #Virtual 32000 32000
129
+ #Virtual 16384 8192
130
+ #Virtual 8192 4096
131
+ Virtual 1920 1440
132
+ EndSubSection
133
+ EndSection
134
+
135
+ Section "ServerLayout"
136
+ Identifier "dummy_layout"
137
+ Screen "screen0"
138
+ InputDevice "NoMouse"
139
+ InputDevice "NoKeyboard"
140
+ EndSection
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.35
4
+ version: 1.6.36
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Lyle Johnson
8
8
  - Lars Kanis
9
9
  autorequire:
10
- bindir: bin
10
+ bindir: exe
11
11
  cert_chain: []
12
- date: 2017-02-16 00:00:00.000000000 Z
12
+ date: 2017-06-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mini_portile2
@@ -25,149 +25,20 @@ dependencies:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '2.1'
28
- - !ruby/object:Gem::Dependency
29
- name: rake-compiler
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '1.0'
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '1.0'
42
- - !ruby/object:Gem::Dependency
43
- name: rake-compiler-dock
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: 0.6.0
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: 0.6.0
56
- - !ruby/object:Gem::Dependency
57
- name: opengl
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '0.8'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '0.8'
70
- - !ruby/object:Gem::Dependency
71
- name: glu
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '8.0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '8.0'
84
- - !ruby/object:Gem::Dependency
85
- name: test-unit
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: '3.1'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '3.1'
98
- - !ruby/object:Gem::Dependency
99
- name: yard
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '0.8'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '0.8'
112
- - !ruby/object:Gem::Dependency
113
- name: hoe-bundler
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '1.1'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - "~>"
124
- - !ruby/object:Gem::Version
125
- version: '1.1'
126
- - !ruby/object:Gem::Dependency
127
- name: rdoc
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: '4.0'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '4.0'
140
- - !ruby/object:Gem::Dependency
141
- name: hoe
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: '3.16'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '3.16'
154
- description: FXRuby is the Ruby binding to the FOX GUI toolkit.
28
+ description:
155
29
  email:
156
30
  - lyle@lylejohnson.name
157
- - kanis@comcard.de
31
+ - lars@greiz-reinsdorf.de
158
32
  executables: []
159
33
  extensions: []
160
- extra_rdoc_files:
161
- - History.txt
162
- - Manifest.txt
163
- - README.rdoc
164
- - rdoc-sources/README.rdoc
34
+ extra_rdoc_files: []
165
35
  files:
166
36
  - ".gemtest"
167
37
  - ".gitignore"
38
+ - ".travis.yml"
168
39
  - ".yardopts"
169
- - History.txt
170
- - Manifest.txt
40
+ - Gemfile
41
+ - History.md
171
42
  - README.rdoc
172
43
  - Rakefile
173
44
  - TODO
@@ -299,6 +170,7 @@ files:
299
170
  - ext/fox16_c/FXRbApp.cpp
300
171
  - ext/fox16_c/FXRbDataTarget.cpp
301
172
  - ext/fox16_c/FXRbGLViewer.cpp
173
+ - ext/fox16_c/FXRbObjRegistry.cpp
302
174
  - ext/fox16_c/FXRuby.cpp
303
175
  - ext/fox16_c/MANIFEST
304
176
  - ext/fox16_c/core_wrap.cpp
@@ -441,6 +313,7 @@ files:
441
313
  - ext/fox16_c/include/FXRbMenuSeparator.h
442
314
  - ext/fox16_c/include/FXRbMenuTitle.h
443
315
  - ext/fox16_c/include/FXRbMessageBox.h
316
+ - ext/fox16_c/include/FXRbObjRegistry.h
444
317
  - ext/fox16_c/include/FXRbObject.h
445
318
  - ext/fox16_c/include/FXRbObjectVirtuals.h
446
319
  - ext/fox16_c/include/FXRbOptionMenu.h
@@ -550,6 +423,7 @@ files:
550
423
  - ext/fox16_c/treelist_wrap.cpp
551
424
  - ext/fox16_c/ui_wrap.cpp
552
425
  - ext/fox16_c/unregisterOwnedObjects.cpp
426
+ - fxruby.gemspec
553
427
  - index.html
554
428
  - lib/2.0/fox16_c.so
555
429
  - lib/2.1/fox16_c.so
@@ -589,10 +463,11 @@ files:
589
463
  - lib/fox16/tkcompat.rb
590
464
  - lib/fox16/undolist.rb
591
465
  - lib/fox16/version.rb
466
+ - patches/libfox/1.6.53/0001-mingw-vsnprintf.diff
592
467
  - ports/x86_64-w64-mingw32/bin/libFOX-1.6-0.dll
593
468
  - ports/x86_64-w64-mingw32/bin/libfxscintilla-20.dll
594
469
  - ports/x86_64-w64-mingw32/bin/libgcc_s_seh-1.dll
595
- - ports/x86_64-w64-mingw32/bin/libjpeg-8.dll
470
+ - ports/x86_64-w64-mingw32/bin/libjpeg-9.dll
596
471
  - ports/x86_64-w64-mingw32/bin/libpng16-16.dll
597
472
  - ports/x86_64-w64-mingw32/bin/libstdc++-6.dll
598
473
  - ports/x86_64-w64-mingw32/bin/libtiff-5.dll
@@ -1110,23 +985,18 @@ files:
1110
985
  - test/TC_downcast.rb
1111
986
  - test/TS_All.rb
1112
987
  - test/blankpage.ps
988
+ - test/dummy.xorg.conf
1113
989
  - test/howdypage.ps
1114
990
  - test/stress1.rb
1115
991
  - test/stress2.rb
1116
992
  - test/stress3.rb
1117
993
  - test/testcase.rb
1118
- homepage: http://github.com/larskanis/fxruby
994
+ homepage: http://fxruby.org/
1119
995
  licenses:
1120
- - LGPL
996
+ - LGPL-2.1
1121
997
  metadata: {}
1122
998
  post_install_message:
1123
- rdoc_options:
1124
- - "--main"
1125
- - rdoc-sources/README.rdoc
1126
- - "--exclude"
1127
- - ext/fox16_c
1128
- - "--exclude"
1129
- - "/aliases|kwargs|missingdep|responder/"
999
+ rdoc_options: []
1130
1000
  require_paths:
1131
1001
  - lib
1132
1002
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -1144,7 +1014,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1144
1014
  version: '0'
1145
1015
  requirements: []
1146
1016
  rubyforge_project:
1147
- rubygems_version: 2.6.8
1017
+ rubygems_version: 2.6.12
1148
1018
  signing_key:
1149
1019
  specification_version: 4
1150
1020
  summary: FXRuby is the Ruby binding to the FOX GUI toolkit.