windows_gui 4.2.1 → 4.2.2

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
  SHA1:
3
- metadata.gz: dd68025b2fa21a94a85522e2f447ec2e335bbe31
4
- data.tar.gz: 6d17c971061189d5336ecaf88125a906f143f44e
3
+ metadata.gz: 2d9711525dbc6e2d6d21425fc4257574c62c0639
4
+ data.tar.gz: 4e682891a21e16500212dc51032e04f2944cc306
5
5
  SHA512:
6
- metadata.gz: c57f65b54fea603c8a3d02c303f95d834605cafdce9cc0c6e46244ccb5f77fc624a594c63b27ff1dc1947e04a236458a9ac729774d1fee1b04d9581a5f9c6dc7
7
- data.tar.gz: d72617c3447e74b1ece4dc38a5aefa77144da6090991dfd5c986a166f0f7c8194f6d42b65728ad161e0cfe34e67f527bdd8bdb301dcf41e476bee9e6af8bca35
6
+ metadata.gz: 11d7fb0d6f10e8fb552a759dfb797a3c8b4c7bd891d0c2381b92fc7de6cb2140ee07d7f6da7d0a2d6f512089d5dd6d5ae9bdb222d5d428225a2d5fc603464b7a
7
+ data.tar.gz: 2cc64b84b87b5a4363a6d475dca636420d3b86c9a75af7e4158f2c9359f64e94d79f5c902631da997a183870b0167495b894af230442f2aa05e413b22da73e9a
@@ -1,5 +1,9 @@
1
1
  # Release Notes
2
2
 
3
+ ## 4.2.2
4
+
5
+ Tweak UIRibbon resources build options names
6
+
3
7
  ## 4.2.1
4
8
 
5
9
  Add ShellExecute bindings and option to open the UIRibbon resources build log on build failure
@@ -107,10 +107,7 @@ def OnCreate(hwnd,
107
107
  # attempt to build UIRibbon resources if the resource dll is missing
108
108
  # or UIRibbon description xml file exists and is newer than the resource dll
109
109
  # (requires installed developement environment (Visual Studio Express will do))
110
- UIResources.Build(
111
- clean_byproducts: true,
112
- open_log_if_failed: true
113
- ) if UIResources.BuildNeeded?()
110
+ UIResources.Build(clean: true, showLog: true) if UIResources.BuildNeeded?()
114
111
 
115
112
  xtra[:uif] = UIF.new(hwnd)
116
113
  xtra[:uich] = UICH.new(xtra[:uif])
@@ -1,7 +1,7 @@
1
1
  require 'weakref'
2
2
  require 'ffi'
3
3
 
4
- WINDOWS_GUI_VERSION = '4.2.1'
4
+ WINDOWS_GUI_VERSION = '4.2.2'
5
5
 
6
6
  WINDOWS_GUI_VISUAL_STYLES = true unless defined?(WINDOWS_GUI_VISUAL_STYLES)
7
7
  WINDOWS_GUI_DPI_AWARE = true unless defined?(WINDOWS_GUI_DPI_AWARE)
@@ -24,7 +24,7 @@ module WindowsGUI
24
24
  :buffer_in,
25
25
  :buffer_in,
26
26
  :buffer_in,
27
- :buffer_in,
27
+ :buffer_in,
28
28
  :int
29
29
  ], :int
30
30
  end
@@ -66,7 +66,7 @@ call "#{opts[:vcvars]}" >> "#{opts[:name]}.log" && \
66
66
 
67
67
  if File.read(log_path) =~ /error/im
68
68
  ShellExecute(nil, L('open'), L(log_path.dup), nil, nil, SW_SHOWNORMAL) if
69
- opts[:open_log_if_failed]
69
+ opts[:showLog]
70
70
 
71
71
  raise "UIRibbon resources build FAILED - see #{log_path} for details"
72
72
  end
@@ -81,7 +81,7 @@ call "#{opts[:vcvars]}" >> "#{opts[:name]}.log" && \
81
81
 
82
82
  %w{bml h rc}.each { |ext|
83
83
  File.delete("#{path}/#{opts[:name]}.#{ext}") if File.exist?("#{path}/#{opts[:name]}.#{ext}")
84
- } if opts[:clean_byproducts]
84
+ } if opts[:clean]
85
85
 
86
86
  STDERR.puts "UIRibbon resources build succeeded"
87
87
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: windows_gui
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radoslav Peev