qtbindings 4.6.3.4 → 4.8.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/KNOWN_ISSUES.txt +19 -5
  2. data/README.txt +119 -93
  3. data/Rakefile +28 -27
  4. data/examples/desktop/systray/window.rb +43 -47
  5. data/examples/draganddrop/dropsite/dropsitewidget.rb +10 -9
  6. data/examples/mainwindows/mdi/mainwindow.rb +4 -4
  7. data/examples/network/broadcastsender/sender.rb +3 -1
  8. data/examples/qtscribble/scribble.rb +270 -0
  9. data/examples/ruboids/LICENSE.txt +58 -0
  10. data/examples/run_all.rb +1 -0
  11. data/examples/textedit/textedit.rb +150 -0
  12. data/examples/widgets/scribble/scribblearea.rb +19 -19
  13. data/ext/cmake/modules/BasicFindPackageVersion.cmake.in +30 -0
  14. data/ext/cmake/modules/FindLibraryWithDebug.cmake +113 -0
  15. data/ext/cmake/modules/FindPhonon.cmake +71 -0
  16. data/ext/cmake/modules/FindQImageBlitz.cmake +51 -0
  17. data/ext/cmake/modules/FindRuby.cmake +17 -17
  18. data/ext/cmake/modules/MacroOptionalFindPackage.cmake +6 -26
  19. data/ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake +22 -0
  20. data/ext/cmake/modules/SmokeConfig.cmake.in +109 -0
  21. data/ext/generator/cmake/BasicFindPackageVersion.cmake.in +30 -0
  22. data/ext/generator/cmake/CMakeLists.txt +24 -0
  23. data/ext/generator/cmake/FindLibraryWithDebug.cmake +113 -0
  24. data/ext/generator/cmake/FindPhonon.cmake +71 -0
  25. data/ext/generator/cmake/FindQImageBlitz.cmake +51 -0
  26. data/ext/generator/cmake/FindQScintilla.cmake +57 -0
  27. data/ext/generator/cmake/FindQwt5.cmake +104 -0
  28. data/ext/generator/cmake/HandleImportedTargetsInCMakeRequiredLibraries.cmake +85 -0
  29. data/ext/generator/cmake/MacroLogFeature.cmake +146 -0
  30. data/ext/generator/cmake/MacroOptionalAddBindings.cmake +47 -0
  31. data/ext/generator/cmake/MacroOptionalFindPackage.cmake +28 -0
  32. data/ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake +22 -0
  33. data/ext/generator/cmake/SmokeConfig.cmake.in +109 -0
  34. data/ext/generator/config.h +25 -0
  35. data/ext/generator/generatorpreprocessor.cpp +60 -41
  36. data/ext/generator/generators/dump/CMakeLists.txt +5 -0
  37. data/ext/generator/generators/smoke/CMakeLists.txt +5 -0
  38. data/ext/generator/generators/smoke/globals.h +3 -1
  39. data/ext/generator/generators/smoke/helpers.cpp +21 -2
  40. data/ext/generator/generators/smoke/writeSmokeDataFile.cpp +26 -1
  41. data/ext/generator/main.cpp +5 -1
  42. data/ext/generator/options.cpp +1 -0
  43. data/ext/generator/options.h +1 -0
  44. data/ext/generator/parser/CMakeLists.txt +10 -1
  45. data/ext/generator/parser/parser.cpp +6 -6
  46. data/ext/generator/parser/parser.h +2 -12
  47. data/ext/generator/parser/parsesession.cpp +1 -0
  48. data/ext/generator/parser/rpp/CMakeLists.txt +6 -0
  49. data/ext/generator/parser/rpp/chartools.cpp +3 -3
  50. data/ext/generator/parser/rpp/chartools.h +3 -1
  51. data/ext/generator/parser/rpp/pp-scanner.cpp +2 -1
  52. data/ext/generator/parser/rpp/tests/CMakeLists.txt +4 -0
  53. data/ext/generator/parser/tests/CMakeLists.txt +16 -0
  54. data/ext/generator/smoke.h +557 -0
  55. data/ext/generator/smokegen_string.h +43 -0
  56. data/ext/generator/type.cpp +15 -6
  57. data/ext/generator/type_compiler.cpp +2 -0
  58. data/ext/ruby/qtruby/src/qtruby.cpp +147 -143
  59. data/ext/ruby/qttest/qttesthandlers.cpp +1 -0
  60. data/ext/smoke/qtcore/QtGuess.txt +23 -25
  61. data/ext/smoke/qtcore/smokeconfig.xml +1 -0
  62. data/ext/smoke/qtdbus/smokeconfig.xml +2 -0
  63. data/ext/smoke/qtgui/smokeconfig.xml +14 -4
  64. data/ext/smoke/qthelp/smokeconfig.xml +1 -0
  65. data/ext/smoke/qtmultimedia/smokeconfig.xml +1 -0
  66. data/ext/smoke/qtnetwork/smokeconfig.xml +2 -0
  67. data/ext/smoke/qtopengl/smokeconfig.xml +1 -0
  68. data/ext/smoke/qtsql/smokeconfig.xml +1 -0
  69. data/ext/smoke/qtsvg/smokeconfig.xml +1 -0
  70. data/ext/smoke/qtwebkit/smokeconfig.xml +3 -0
  71. data/extconf.rb +37 -23
  72. data/lib/Qt/qtruby4.rb +4 -4
  73. data/lib/Qt4.rb +1 -1
  74. data/lib/qtbindings_version.rb +2 -2
  75. metadata +50 -40
data/lib/Qt/qtruby4.rb CHANGED
@@ -114,7 +114,7 @@ module Qt
114
114
  return Qt::*(self, a)
115
115
  end
116
116
  def /(a)
117
- return Qt::/(self, a)
117
+ return Qt::/(self, a) #/
118
118
  end
119
119
  def %(a)
120
120
  return Qt::%(self, a)
@@ -136,7 +136,7 @@ module Qt
136
136
  end
137
137
 
138
138
  # Module has '<', '<=', '>' and '>=' operator instance methods, so pretend they
139
- # don't exist by calling method_missing() explicitely
139
+ # don't exist by calling method_missing() explicitly
140
140
  def <(a)
141
141
  begin
142
142
  Qt::method_missing(:<, self, a)
@@ -170,7 +170,7 @@ module Qt
170
170
  end
171
171
 
172
172
  # Object has a '==' operator instance method, so pretend it
173
- # don't exist by calling method_missing() explicitely
173
+ # don't exist by calling method_missing() explicitly
174
174
  def ==(a)
175
175
  return false if a.nil?
176
176
  begin
@@ -2640,7 +2640,7 @@ module Qt
2640
2640
  end
2641
2641
  end
2642
2642
 
2643
- # If a block was passed to the constructor, then
2643
+ # If a block was passed to the constructor, then
2644
2644
  # run that now. Either run the context of the new instance
2645
2645
  # if no args were passed to the block. Or otherwise,
2646
2646
  # run the block in the context of the arg.
data/lib/Qt4.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  windows = false
2
- processor, platform, *rest = RUBY_PLATFORM.split("-")
2
+ platform = RUBY_PLATFORM.split("-")[1]
3
3
  windows = true if platform == 'mswin32' or platform == 'mingw32'
4
4
 
5
5
  module Qt
@@ -1,2 +1,2 @@
1
- QTBINDINGS_VERSION = '4.6.3.4'
2
- QTBINDINGS_RELEASE_DATE = '2011-08-06 13:02:46 -0600'
1
+ QTBINDINGS_VERSION = '4.8.3.0'
2
+ QTBINDINGS_RELEASE_DATE = '2012-10-01 21:56:20 -0600'
metadata CHANGED
@@ -1,39 +1,31 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: qtbindings
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 4
7
- - 6
8
- - 3
9
- - 4
10
- version: 4.6.3.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.8.3.0
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Richard Dale
14
9
  - Arno Rehn
15
10
  - Ryan Melton
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2011-08-06 00:00:00 -06:00
21
- default_executable:
14
+ date: 2012-10-02 00:00:00.000000000 Z
22
15
  dependencies: []
23
-
24
- description: qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings project.
16
+ description: qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings
17
+ project.
25
18
  email: kde-bindings@kde.org
26
- executables:
19
+ executables:
27
20
  - smokeapi
28
21
  - smokedeptool
29
22
  - rbrcc
30
23
  - rbuic4
31
24
  - rbqtapi
32
- extensions:
25
+ extensions:
33
26
  - extconf.rb
34
27
  extra_rdoc_files: []
35
-
36
- files:
28
+ files:
37
29
  - lib/Qt/qtruby4.rb
38
30
  - lib/Qt.rb
39
31
  - lib/Qt4.rb
@@ -289,6 +281,7 @@ files:
289
281
  - examples/qdbus/remotecontrolledcar/controller/controller.ui
290
282
  - examples/qdbus/remotecontrolledcar/controller/main.rb
291
283
  - examples/qdbus/remotecontrolledcar/controller/makefile
284
+ - examples/qtscribble/scribble.rb
292
285
  - examples/richtext/calendar/main.rb
293
286
  - examples/richtext/calendar/mainwindow.rb
294
287
  - examples/richtext/orderform/detailsdialog.rb
@@ -301,6 +294,7 @@ files:
301
294
  - examples/ruboids/boids.properties
302
295
  - examples/ruboids/generateManifest.rb
303
296
  - examples/ruboids/index.html
297
+ - examples/ruboids/LICENSE.txt
304
298
  - examples/ruboids/Manifest
305
299
  - examples/ruboids/README
306
300
  - examples/ruboids/release.rb
@@ -324,6 +318,7 @@ files:
324
318
  - examples/ruboids/ruboids/WorldWindow.rb
325
319
  - examples/ruboids/TODO
326
320
  - examples/run_all.rb
321
+ - examples/textedit/textedit.rb
327
322
  - examples/tutorial/t1/t1.rb
328
323
  - examples/tutorial/t10/cannon.rb
329
324
  - examples/tutorial/t10/lcdrange.rb
@@ -435,14 +430,18 @@ files:
435
430
  - examples/xml/saxbookmarks/mainwindow.rb
436
431
  - examples/xml/saxbookmarks/xbelgenerator.rb
437
432
  - examples/xml/saxbookmarks/xbelhandler.rb
433
+ - ext/cmake/modules/BasicFindPackageVersion.cmake.in
438
434
  - ext/cmake/modules/CheckCXXSourceCompiles.cmake
439
435
  - ext/cmake/modules/CMakeCSharpCompiler.cmake.in
440
436
  - ext/cmake/modules/CMakeCSharpInformation.cmake
441
437
  - ext/cmake/modules/CMakeDetermineCSharpCompiler.cmake
442
438
  - ext/cmake/modules/CMakeTestCSharpCompiler.cmake
439
+ - ext/cmake/modules/FindLibraryWithDebug.cmake
443
440
  - ext/cmake/modules/FindMono.cmake
444
441
  - ext/cmake/modules/FindPerlMore.cmake
442
+ - ext/cmake/modules/FindPhonon.cmake
445
443
  - ext/cmake/modules/FindPHP5.cmake
444
+ - ext/cmake/modules/FindQImageBlitz.cmake
446
445
  - ext/cmake/modules/FindQScintilla.cmake
447
446
  - ext/cmake/modules/FindQt4.cmake
448
447
  - ext/cmake/modules/FindQwt5.cmake
@@ -453,10 +452,26 @@ files:
453
452
  - ext/cmake/modules/MacroOptionalAddBindings.cmake
454
453
  - ext/cmake/modules/MacroOptionalFindPackage.cmake
455
454
  - ext/cmake/modules/MacroPushRequiredVars.cmake
455
+ - ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
456
456
  - ext/cmake/modules/Qt4ConfigDependentSettings.cmake
457
457
  - ext/cmake/modules/Qt4Macros.cmake
458
+ - ext/cmake/modules/SmokeConfig.cmake.in
458
459
  - ext/CMakeLists.txt
460
+ - ext/generator/cmake/BasicFindPackageVersion.cmake.in
461
+ - ext/generator/cmake/CMakeLists.txt
462
+ - ext/generator/cmake/FindLibraryWithDebug.cmake
463
+ - ext/generator/cmake/FindPhonon.cmake
464
+ - ext/generator/cmake/FindQImageBlitz.cmake
465
+ - ext/generator/cmake/FindQScintilla.cmake
466
+ - ext/generator/cmake/FindQwt5.cmake
467
+ - ext/generator/cmake/HandleImportedTargetsInCMakeRequiredLibraries.cmake
468
+ - ext/generator/cmake/MacroLogFeature.cmake
469
+ - ext/generator/cmake/MacroOptionalAddBindings.cmake
470
+ - ext/generator/cmake/MacroOptionalFindPackage.cmake
471
+ - ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
472
+ - ext/generator/cmake/SmokeConfig.cmake.in
459
473
  - ext/generator/CMakeLists.txt
474
+ - ext/generator/config.h
460
475
  - ext/generator/generator_export.h
461
476
  - ext/generator/generatorenvironment.cpp
462
477
  - ext/generator/generatorenvironment.h
@@ -574,6 +589,8 @@ files:
574
589
  - ext/generator/parser/type_compiler.h
575
590
  - ext/generator/parser/visitor.cpp
576
591
  - ext/generator/parser/visitor.h
592
+ - ext/generator/smoke.h
593
+ - ext/generator/smokegen_string.h
577
594
  - ext/generator/type.cpp
578
595
  - ext/generator/type.h
579
596
  - ext/generator/type_compiler.cpp
@@ -779,37 +796,30 @@ files:
779
796
  - qtbindings.gemspec
780
797
  - qtbindingsnative.gemspec
781
798
  - Rakefile
782
- has_rdoc: true
783
799
  homepage: http://github.com/ryanmelt/qtbindings
784
- licenses:
800
+ licenses:
785
801
  - LGPLv2.1
786
802
  post_install_message:
787
803
  rdoc_options: []
788
-
789
- require_paths:
804
+ require_paths:
790
805
  - lib
791
- required_ruby_version: !ruby/object:Gem::Requirement
806
+ required_ruby_version: !ruby/object:Gem::Requirement
792
807
  none: false
793
- requirements:
794
- - - ">="
795
- - !ruby/object:Gem::Version
796
- segments:
797
- - 0
798
- version: "0"
799
- required_rubygems_version: !ruby/object:Gem::Requirement
808
+ requirements:
809
+ - - ! '>='
810
+ - !ruby/object:Gem::Version
811
+ version: '0'
812
+ required_rubygems_version: !ruby/object:Gem::Requirement
800
813
  none: false
801
- requirements:
802
- - - ">="
803
- - !ruby/object:Gem::Version
804
- segments:
805
- - 0
806
- version: "0"
807
- requirements:
814
+ requirements:
815
+ - - ! '>='
816
+ - !ruby/object:Gem::Version
817
+ version: '0'
818
+ requirements:
808
819
  - none
809
820
  rubyforge_project: qtbindings
810
- rubygems_version: 1.3.7
821
+ rubygems_version: 1.8.10
811
822
  signing_key:
812
823
  specification_version: 3
813
824
  summary: Qt bindings for ruby
814
825
  test_files: []
815
-