jrubyfx-openjfx.patch 1.2.0-java → 1.2.0.1-java

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce032e5cfdc240aa2d0b782c0bd907be9ab04507ee04fbf878ecef8131c7e3f4
4
- data.tar.gz: 5f1cb5f1d84ee047bc2f38247d40c87b8850fb8858933f70d1eb283562b424cf
3
+ metadata.gz: 89073731998fc5187b554e6695c9b5b441b5975db1c456fa31fd280c03a51b93
4
+ data.tar.gz: 6b43b99414d6134f8270126aa95fe44a20a95448d1f611c37108ac437c4da958
5
5
  SHA512:
6
- metadata.gz: e1246cf5caeee39d745c525c3850b5f7928ffca061a6c30ce7fe6fac759fe2477d4957031a3d37502b3cf0711220d546abb38508ecdf42fcbe26609a13ff8754
7
- data.tar.gz: 6e31acd3a4155384a7748f11002332df119a118a84dd538651dd4fe5a44a8aea169b8ee3cd118462fff7d07b3ec289b3486871ba68fbc57adc77f14083335a58
6
+ metadata.gz: 73edf9cf048ef6b8f7dd00e3eb4fcede4501086e57c8d56ebda9b9c5a3660d34879b556337b1fbc36a070283673992cafff27161cd2e85db1f62692312fcc8b2
7
+ data.tar.gz: ae634ff2b388cdf0fa128f4dd619efbed63b4e3d7ec853bcad1943080d971bbdd5ec319cdf68cd38704547f01cb7ac9863fe7a47788e5df35fae1dd783ba469d
@@ -23,6 +23,10 @@ if Gem::Version.new(JRUBY_VERSION) < Gem::Version.new("1.7.4")
23
23
  puts "Warning: JRuby 1.7.3 and prior have bugs that can cause strange errors. Do not submit any bug reports. Please use JRuby 1.7.4 or later."
24
24
  end
25
25
 
26
+ if ENV['JRUBYFX_NOTICE']
27
+ puts "This JrubyFX version is only meant for v1.2.0.1, OpenJFX patch. Once higher version is release this should be not used anymore."
28
+ end
29
+
26
30
  require 'java' # for java_import
27
31
  require 'jruby/core_ext' # for the become_java!
28
32
 
@@ -685,13 +685,6 @@ class Java::JavafxSceneControl::PopupControl
685
685
  getOnCloseRequest
686
686
  end
687
687
  end
688
- def on_showing(&block)
689
- if block_given?
690
- setOnShowing block
691
- else
692
- getOnShowing
693
- end
694
- end
695
688
  def on_shown(&block)
696
689
  if block_given?
697
690
  setOnShown block
@@ -713,6 +706,13 @@ class Java::JavafxSceneControl::PopupControl
713
706
  getOnHidden
714
707
  end
715
708
  end
709
+ def on_showing(&block)
710
+ if block_given?
711
+ setOnShowing block
712
+ else
713
+ getOnShowing
714
+ end
715
+ end
716
716
  end
717
717
  class Java::JavafxSceneControl::ScrollBar
718
718
  include JRubyFX::DSL
@@ -1325,30 +1325,30 @@ class Java::JavafxStage::PopupWindow
1325
1325
  end
1326
1326
  class Java::JavafxStage::Stage
1327
1327
  include JRubyFX::DSL
1328
- def init_modality=(rbenum)
1329
- java_send "initModality", [Java::JavafxStage::Modality], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxStage::Modality)
1330
- end
1331
1328
  def init_style=(rbenum)
1332
1329
  java_send "initStyle", [Java::JavafxStage::StageStyle], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxStage::StageStyle)
1333
1330
  end
1331
+ def init_modality=(rbenum)
1332
+ java_send "initModality", [Java::JavafxStage::Modality], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxStage::Modality)
1333
+ end
1334
1334
  end
1335
1335
  class Java::JavafxAnimation::FillTransition
1336
1336
  include JRubyFX::DSL
1337
- def to_value=(value)
1338
- setToValue(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
1339
- end
1340
1337
  def from_value=(value)
1341
1338
  setFromValue(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
1342
1339
  end
1343
- end
1344
- class Java::JavafxAnimation::StrokeTransition
1345
- include JRubyFX::DSL
1346
1340
  def to_value=(value)
1347
1341
  setToValue(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
1348
1342
  end
1343
+ end
1344
+ class Java::JavafxAnimation::StrokeTransition
1345
+ include JRubyFX::DSL
1349
1346
  def from_value=(value)
1350
1347
  setFromValue(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
1351
1348
  end
1349
+ def to_value=(value)
1350
+ setToValue(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
1351
+ end
1352
1352
  end
1353
1353
  class Java::JavafxSceneEffect::ColorInput
1354
1354
  include JRubyFX::DSL
@@ -1464,13 +1464,6 @@ class Java::JavafxSceneControl::ChoiceBox
1464
1464
  getOnAction
1465
1465
  end
1466
1466
  end
1467
- def on_showing(&block)
1468
- if block_given?
1469
- setOnShowing block
1470
- else
1471
- getOnShowing
1472
- end
1473
- end
1474
1467
  def on_shown(&block)
1475
1468
  if block_given?
1476
1469
  setOnShown block
@@ -1492,6 +1485,13 @@ class Java::JavafxSceneControl::ChoiceBox
1492
1485
  getOnHidden
1493
1486
  end
1494
1487
  end
1488
+ def on_showing(&block)
1489
+ if block_given?
1490
+ setOnShowing block
1491
+ else
1492
+ getOnShowing
1493
+ end
1494
+ end
1495
1495
  end
1496
1496
  class Java::JavafxSceneControl::ContextMenu
1497
1497
  include JRubyFX::DSL
@@ -1513,13 +1513,6 @@ class Java::JavafxSceneControl::ContextMenu
1513
1513
  end
1514
1514
  class Java::JavafxSceneControl::Menu
1515
1515
  include JRubyFX::DSL
1516
- def on_showing(&block)
1517
- if block_given?
1518
- setOnShowing block
1519
- else
1520
- getOnShowing
1521
- end
1522
- end
1523
1516
  def on_shown(&block)
1524
1517
  if block_given?
1525
1518
  setOnShown block
@@ -1541,6 +1534,13 @@ class Java::JavafxSceneControl::Menu
1541
1534
  getOnHidden
1542
1535
  end
1543
1536
  end
1537
+ def on_showing(&block)
1538
+ if block_given?
1539
+ setOnShowing block
1540
+ else
1541
+ getOnShowing
1542
+ end
1543
+ end
1544
1544
  def method_missing(name, *args, &block)
1545
1545
  super(name, *args, &block).tap do |obj|
1546
1546
  add(obj) if obj.kind_of?(Java::JavafxSceneControl::MenuItem) && !name.to_s.end_with?('!')
@@ -1774,13 +1774,6 @@ class Java::JavafxStage::Window
1774
1774
  getOnCloseRequest
1775
1775
  end
1776
1776
  end
1777
- def on_showing(&block)
1778
- if block_given?
1779
- setOnShowing block
1780
- else
1781
- getOnShowing
1782
- end
1783
- end
1784
1777
  def on_shown(&block)
1785
1778
  if block_given?
1786
1779
  setOnShown block
@@ -1802,6 +1795,13 @@ class Java::JavafxStage::Window
1802
1795
  getOnHidden
1803
1796
  end
1804
1797
  end
1798
+ def on_showing(&block)
1799
+ if block_given?
1800
+ setOnShowing block
1801
+ else
1802
+ getOnShowing
1803
+ end
1804
+ end
1805
1805
  end
1806
1806
  class Java::JavafxScene::Parent
1807
1807
  include JRubyFX::DSL
@@ -1,4 +1,4 @@
1
1
  module JRubyFX
2
2
  # Current gem version. Used in rake task.
3
- VERSION='1.2.0'
3
+ VERSION='1.2.0.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jrubyfx-openjfx.patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.0.1
5
5
  platform: java
6
6
  authors:
7
7
  - Patrick Plenefisch
@@ -56,7 +56,7 @@ dependencies:
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0.4'
58
58
  description: Enables JavaFX with FXML controllers and application in pure ruby. This
59
- is temporary to support OpenJFX. Once version higher than 1.2.0 this should not
59
+ is temporary to support OpenJFX. Once version higher than 1.2.0.1 this should not
60
60
  be used.
61
61
  email:
62
62
  - simonpatp@gmail.com