wxruby3 0.9.3 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +1 -1
  3. data/README.md +2 -2
  4. data/ext/wxruby3/include/wxruby-ComboPopup.h +777 -0
  5. data/ext/wxruby3/include/wxruby-Config.h +23 -5
  6. data/ext/wxruby3/include/wxruby-Persistence.h +79 -0
  7. data/ext/wxruby3/swig/memory_management.i +6 -0
  8. data/lib/wx/core/book_ctrl_base.rb +16 -0
  9. data/lib/wx/core/combo_ctrl.rb +171 -0
  10. data/lib/wx/core/config.rb +454 -83
  11. data/lib/wx/core/notebook.rb +10 -8
  12. data/lib/wx/core/peristent_object.rb +15 -0
  13. data/lib/wx/core/persistence_manager.rb +39 -0
  14. data/lib/wx/core/persistent_window.rb +16 -0
  15. data/lib/wx/core/top_level_window.rb +16 -0
  16. data/lib/wx/core/treebook.rb +18 -0
  17. data/lib/wx/core.rb +4 -0
  18. data/lib/wx/doc/book_ctrl_base.rb +19 -0
  19. data/lib/wx/doc/comboctrl.rb +128 -3
  20. data/lib/wx/doc/config.rb +101 -41
  21. data/lib/wx/doc/extra/14_config.md +101 -0
  22. data/lib/wx/doc/extra/15_persistence.md +148 -0
  23. data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
  24. data/lib/wx/doc/persistence_manager.rb +36 -0
  25. data/lib/wx/doc/persistent_object.rb +27 -0
  26. data/lib/wx/doc/top_level_window.rb +19 -0
  27. data/lib/wx/doc/treebook.rb +6 -1
  28. data/lib/wx/version.rb +1 -1
  29. data/rakelib/build.rb +1 -1
  30. data/rakelib/lib/core/include/funcall.inc +2 -1
  31. data/rakelib/lib/core/package.rb +22 -1
  32. data/rakelib/lib/core/spec.rb +10 -0
  33. data/rakelib/lib/core/spec_helper.rb +1 -1
  34. data/rakelib/lib/director/comboctrl.rb +104 -3
  35. data/rakelib/lib/director/config_base.rb +490 -19
  36. data/rakelib/lib/director/defs.rb +1 -3
  37. data/rakelib/lib/director/event_filter.rb +1 -1
  38. data/rakelib/lib/director/event_loop.rb +1 -1
  39. data/rakelib/lib/director/file_dialog_customize_hook.rb +2 -2
  40. data/rakelib/lib/director/gdicommon.rb +6 -0
  41. data/rakelib/lib/director/grid_cell_attr.rb +1 -1
  42. data/rakelib/lib/director/grid_cell_editor.rb +1 -1
  43. data/rakelib/lib/director/grid_cell_renderer.rb +1 -1
  44. data/rakelib/lib/director/header_ctrl.rb +3 -0
  45. data/rakelib/lib/director/html_listbox.rb +2 -1
  46. data/rakelib/lib/director/menu_item.rb +1 -1
  47. data/rakelib/lib/director/num_validator.rb +5 -7
  48. data/rakelib/lib/director/owner_drawn_combobox.rb +1 -0
  49. data/rakelib/lib/director/persistence_manager.rb +410 -0
  50. data/rakelib/lib/director/persistent_object.rb +70 -0
  51. data/rakelib/lib/director/persistent_window.rb +73 -0
  52. data/rakelib/lib/director/pgeditor.rb +1 -1
  53. data/rakelib/lib/director/pgproperties.rb +3 -3
  54. data/rakelib/lib/director/pgproperty.rb +5 -1
  55. data/rakelib/lib/director/richtext_style_listbox.rb +5 -0
  56. data/rakelib/lib/director/sizer.rb +1 -1
  57. data/rakelib/lib/director/static_bitmap.rb +4 -0
  58. data/rakelib/lib/director/text_entry.rb +1 -1
  59. data/rakelib/lib/director/window.rb +4 -0
  60. data/rakelib/lib/extractor/module.rb +15 -0
  61. data/rakelib/lib/generate/analyzer.rb +43 -43
  62. data/rakelib/lib/generate/doc/combo_ctrl.yaml +135 -0
  63. data/rakelib/lib/generate/doc/file_dialog_customize_hook.yaml +62 -0
  64. data/rakelib/lib/generate/doc/file_system.yaml +28 -0
  65. data/rakelib/lib/generate/doc.rb +1 -1
  66. data/rakelib/lib/generate/interface.rb +12 -4
  67. data/rakelib/lib/specs/interfaces.rb +3 -0
  68. data/rakelib/lib/swig_runner.rb +7 -4
  69. data/rakelib/lib/typemap/combo_popup.rb +42 -0
  70. data/rakelib/lib/typemap/config.rb +8 -0
  71. data/samples/widgets/widgets.rb +5 -9
  72. data/tests/test_combo_ctrl.rb +196 -0
  73. data/tests/test_config.rb +207 -42
  74. data/tests/test_persistence.rb +142 -0
  75. metadata +26 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wxruby3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-15 00:00:00.000000000 Z
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -99,7 +99,9 @@ files:
99
99
  - ext/mkrf_conf_srcgem.rb
100
100
  - ext/wxruby3/include/wxRubyApp.h
101
101
  - ext/wxruby3/include/wxruby-ClientData.h
102
+ - ext/wxruby3/include/wxruby-ComboPopup.h
102
103
  - ext/wxruby3/include/wxruby-Config.h
104
+ - ext/wxruby3/include/wxruby-Persistence.h
103
105
  - ext/wxruby3/include/wxruby-ScaledDC.h
104
106
  - ext/wxruby3/include/wxruby-Validator.h
105
107
  - ext/wxruby3/include/wxruby-ValidatorBinding.h
@@ -138,6 +140,7 @@ files:
138
140
  - lib/wx/core/artprovider.rb
139
141
  - lib/wx/core/bitmap.rb
140
142
  - lib/wx/core/bitmap_combobox.rb
143
+ - lib/wx/core/book_ctrl_base.rb
141
144
  - lib/wx/core/brush.rb
142
145
  - lib/wx/core/busycursor.rb
143
146
  - lib/wx/core/choicedlg.rb
@@ -145,6 +148,7 @@ files:
145
148
  - lib/wx/core/clipboard.rb
146
149
  - lib/wx/core/collapsible_pane.rb
147
150
  - lib/wx/core/colour.rb
151
+ - lib/wx/core/combo_ctrl.rb
148
152
  - lib/wx/core/combobox.rb
149
153
  - lib/wx/core/config.rb
150
154
  - lib/wx/core/const.rb
@@ -189,6 +193,9 @@ files:
189
193
  - lib/wx/core/paintdc.rb
190
194
  - lib/wx/core/pen.rb
191
195
  - lib/wx/core/pen_info.rb
196
+ - lib/wx/core/peristent_object.rb
197
+ - lib/wx/core/persistence_manager.rb
198
+ - lib/wx/core/persistent_window.rb
192
199
  - lib/wx/core/platform_info.rb
193
200
  - lib/wx/core/point.rb
194
201
  - lib/wx/core/real_point.rb
@@ -205,7 +212,9 @@ files:
205
212
  - lib/wx/core/timer.rb
206
213
  - lib/wx/core/toolbar.rb
207
214
  - lib/wx/core/toolbartool.rb
215
+ - lib/wx/core/top_level_window.rb
208
216
  - lib/wx/core/tree_ctrl.rb
217
+ - lib/wx/core/treebook.rb
209
218
  - lib/wx/core/v_list_box.rb
210
219
  - lib/wx/core/validator.rb
211
220
  - lib/wx/core/variant.rb
@@ -219,6 +228,7 @@ files:
219
228
  - lib/wx/doc/aui/auimanager.rb
220
229
  - lib/wx/doc/aui/auinotebook.rb
221
230
  - lib/wx/doc/bitmap.rb
231
+ - lib/wx/doc/book_ctrl_base.rb
222
232
  - lib/wx/doc/brush.rb
223
233
  - lib/wx/doc/busy_info.rb
224
234
  - lib/wx/doc/client_dc.rb
@@ -255,6 +265,8 @@ files:
255
265
  - lib/wx/doc/extra/11_drawing_and_dc.md
256
266
  - lib/wx/doc/extra/12_client_data.md
257
267
  - lib/wx/doc/extra/13_validators.md
268
+ - lib/wx/doc/extra/14_config.md
269
+ - lib/wx/doc/extra/15_persistence.md
258
270
  - lib/wx/doc/font.rb
259
271
  - lib/wx/doc/font_data.rb
260
272
  - lib/wx/doc/functions.rb
@@ -279,6 +291,8 @@ files:
279
291
  - lib/wx/doc/num_validator.rb
280
292
  - lib/wx/doc/owner_drawn_combobox.rb
281
293
  - lib/wx/doc/pen.rb
294
+ - lib/wx/doc/persistence_manager.rb
295
+ - lib/wx/doc/persistent_object.rb
282
296
  - lib/wx/doc/pg/events.rb
283
297
  - lib/wx/doc/pg/numeric_property_validator.rb
284
298
  - lib/wx/doc/pg/pg_property.rb
@@ -315,6 +329,7 @@ files:
315
329
  - lib/wx/doc/system_settings.rb
316
330
  - lib/wx/doc/text_validator.rb
317
331
  - lib/wx/doc/textctrl.rb
332
+ - lib/wx/doc/top_level_window.rb
318
333
  - lib/wx/doc/tree_ctrl.rb
319
334
  - lib/wx/doc/tree_event.rb
320
335
  - lib/wx/doc/treebook.rb
@@ -546,6 +561,9 @@ files:
546
561
  - rakelib/lib/director/palette.rb
547
562
  - rakelib/lib/director/panel.rb
548
563
  - rakelib/lib/director/pen.rb
564
+ - rakelib/lib/director/persistence_manager.rb
565
+ - rakelib/lib/director/persistent_object.rb
566
+ - rakelib/lib/director/persistent_window.rb
549
567
  - rakelib/lib/director/pgarray_editor_dialog.rb
550
568
  - rakelib/lib/director/pgcell.rb
551
569
  - rakelib/lib/director/pgeditor.rb
@@ -667,6 +685,7 @@ files:
667
685
  - rakelib/lib/generate/doc/clipboard.yaml
668
686
  - rakelib/lib/generate/doc/collapsible_pane.yaml
669
687
  - rakelib/lib/generate/doc/colour_dialog.yaml
688
+ - rakelib/lib/generate/doc/combo_ctrl.yaml
670
689
  - rakelib/lib/generate/doc/context_help_button.yaml
671
690
  - rakelib/lib/generate/doc/control.yaml
672
691
  - rakelib/lib/generate/doc/cursor.yaml
@@ -679,6 +698,8 @@ files:
679
698
  - rakelib/lib/generate/doc/events.yaml
680
699
  - rakelib/lib/generate/doc/evt_handler.yaml
681
700
  - rakelib/lib/generate/doc/file_dialog.yaml
701
+ - rakelib/lib/generate/doc/file_dialog_customize_hook.yaml
702
+ - rakelib/lib/generate/doc/file_system.yaml
682
703
  - rakelib/lib/generate/doc/font.yaml
683
704
  - rakelib/lib/generate/doc/frame.yaml
684
705
  - rakelib/lib/generate/doc/fs_file.yaml
@@ -748,6 +769,7 @@ files:
748
769
  - rakelib/lib/swig_runner.rb
749
770
  - rakelib/lib/typemap/array_int_selections.rb
750
771
  - rakelib/lib/typemap/client_data.rb
772
+ - rakelib/lib/typemap/combo_popup.rb
751
773
  - rakelib/lib/typemap/common.rb
752
774
  - rakelib/lib/typemap/config.rb
753
775
  - rakelib/lib/typemap/data_format.rb
@@ -1072,6 +1094,7 @@ files:
1072
1094
  - tests/test_book_controls.rb
1073
1095
  - tests/test_box_sizer.rb
1074
1096
  - tests/test_clipboard.rb
1097
+ - tests/test_combo_ctrl.rb
1075
1098
  - tests/test_config.rb
1076
1099
  - tests/test_dc.rb
1077
1100
  - tests/test_dialog.rb
@@ -1090,6 +1113,7 @@ files:
1090
1113
  - tests/test_log.rb
1091
1114
  - tests/test_media_ctrl.rb
1092
1115
  - tests/test_menu.rb
1116
+ - tests/test_persistence.rb
1093
1117
  - tests/test_pg.rb
1094
1118
  - tests/test_proof_check.rb
1095
1119
  - tests/test_richtext.rb