Brian Ferguson
f1cb311723
ImagePath: Fixed that the image was not reloaded when changing with !SetOption
2013-06-07 23:45:28 -06:00
Brian Ferguson
136689bcfb
Added ImagePath to all meters with general image options. This deprecates the Path option for Image meters.
...
Also fixes bug in MeterHistogram that crashes Rainmeter when the PrimaryImage is invalid.
Note: For Histogram the option is called PrimaryImagePath, SecondaryImagePath, and BothImagePath
2013-06-07 13:35:36 -06:00
spx
c6ec9093b7
Fixed that !Toggle causes infinite loop
2013-06-05 01:05:02 +09:00
spx
f1a77bb482
Fixed that some group bangs can't be executed
2013-06-04 06:04:23 +09:00
spx
7849b2a6e1
Fixed crash when group bang is executed on exiting Rainmeter
2013-06-04 05:58:30 +09:00
Birunthan Mohanathas
bdb5605d24
Move RawString.h into Common
2013-05-31 17:34:36 +03:00
Birunthan Mohanathas
1934c5db72
Change NULL to nullptr
2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
da9384cfad
Remove "C" prefix in class names
2013-05-31 17:18:52 +03:00
Birunthan Mohanathas
4332cea3d0
Fixes to f8c3f11
2013-05-30 19:59:50 +03:00
Birunthan Mohanathas
f8c3f11913
Refactor command and bang logic into new CCommandHandler class
...
This also improves bang log messages, which now include the bang name.
2013-05-30 19:55:59 +03:00
Birunthan Mohanathas
85b214de0e
Fix regression in f4429ad
2013-05-30 19:36:09 +03:00
Birunthan Mohanathas
096ad80183
Minor fix to f4429ad
2013-05-30 17:21:53 +03:00
Birunthan Mohanathas
a3d8f73f6c
Tweak f4429ad
2013-05-30 17:19:42 +03:00
Birunthan Mohanathas
ca0f2e608f
Minor fixes to f4429ad
2013-05-29 22:08:51 +03:00
Birunthan Mohanathas
f4429ad8cc
Refactor logging logic into new CLogger class
2013-05-29 22:05:41 +03:00
Brian Ferguson
c873405422
Roundline meter: Fixed a rounding error when using a large value for StartAngle
2013-05-16 13:45:32 -06:00
Brian Ferguson
bd971168cc
Added "UseExifOrientation" to Image meters
2013-05-10 13:33:26 -06:00
Birunthan Mohanathas
87f69dee55
Reduce build time by moving Rainmeter.lib outside of Library project
2013-05-09 17:53:24 +03:00
Birunthan Mohanathas
67542f31dd
Improve 24ef81d
...
Rainmeter.exe now uses delay-loading for Rainmeter.dll instead of manually loading it.
2013-05-05 13:09:48 +03:00
Birunthan Mohanathas
799b4e6279
Change to use the Win8 SDK headers despite using the v110_xp toolset
...
This will allow the use of WRL headers (e.g. for WRL::ComPtr) while maintaining compatibility with XP.
2013-05-01 13:51:21 +03:00
Birunthan Mohanathas
7581e3ac98
Move basic project options into Project.props
2013-05-01 13:02:17 +03:00
Brian Ferguson
497f6bbf54
Added OnWakeAction.
...
Executes when returning from sleep/hibernation.
2013-04-27 09:26:03 -06:00
Birunthan Mohanathas
d09c18a862
Fix "Image: Unable to open..." errors on refresh in some cases
...
The error usually occurred because the substitutes were not applied on the measure value on the first time. This change ensures that measure options are read prior to reading meter options.
2013-04-25 16:44:33 +03:00
Brian Ferguson
8b477d1a9b
String Meter: Fixed capitalization problem when letter followed whitespace that was not a space.
2013-04-18 11:19:21 -06:00
Brian Ferguson
1fd382d192
Reverted a903629
and add778c
2013-04-12 22:42:20 -06:00
Birunthan Mohanathas
73adaffe43
Additional changes to 4f26f77
2013-04-12 18:22:39 +03:00
Birunthan Mohanathas
ad9149b143
Gfx: Move WIC files to Util
2013-04-12 17:09:42 +03:00
Birunthan Mohanathas
3827353c08
Gfx: Implement DWrite interfaces required for loading fonts
2013-04-12 17:05:21 +03:00
Birunthan Mohanathas
8c184a3dbb
Simplify aa3c7eb
2013-04-10 19:04:28 +03:00
Birunthan Mohanathas
aa3c7eb8ce
Tweaks to reduce OnChangeAction overhead
2013-04-10 19:00:22 +03:00
Birunthan Mohanathas
0b3a4d86c4
Gfx: Add FontCollection implementation
...
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +03:00
Birunthan Mohanathas
e1b39f62b1
Change version check URL to use new github.io domain
2013-04-07 12:20:16 +03:00
Brian Ferguson
59b3dea21c
Gfx: Added support for TransformationMatrix and Angle (for String meters)
2013-04-05 02:35:20 -06:00
Brian Ferguson
add778cfea
Add icon to 'Exit' in tray context menu.
...
Also adds the icon to the 'Exit' option in the Rainmeter sub menu in a skin's context menu.
2013-04-03 10:31:19 -06:00
Birunthan Mohanathas
a903629fc4
Add icon to 'Unload skin' in context menu
2013-04-03 12:38:50 +03:00
Birunthan Mohanathas
d862324887
Add UseD2D to preserved settings
2013-03-31 19:33:36 +03:00
Birunthan Mohanathas
3921369f35
Revert b9cdc53
2013-03-31 18:18:38 +03:00
Birunthan Mohanathas
0135b81a17
Optimize UpdateLayeredWindow when only alpha is changing
2013-03-31 12:52:03 +03:00
Birunthan Mohanathas
349988e5dd
Gfx: Add GDI+ specific temporary solution for transformations
2013-03-29 13:33:11 +02:00
Birunthan Mohanathas
39fe9750fd
Gfx: Add temporary solution for local fonts
2013-03-28 15:09:46 +02:00
Birunthan Mohanathas
c6374f7c12
Minor tweaks and fixes
2013-03-28 14:26:55 +02:00
Birunthan Mohanathas
5f03d7b235
Gfx: Fix rendering issues in some cases
...
It seems that Direct2D does not expect the underlying pixel data of the render target to change outside of the target draw commands while the render target exists. As a result, Direct2D may in some cases overwrite changes to the pixel data. This change changes the render target to be (re)created for each batch of Direct2D drawing operations as a temporary solution. As a side effect, a DIB section is now used as the render target bitmap.
2013-03-26 21:29:05 +02:00
Birunthan Mohanathas
4fbc3c56a5
Add <memory> to StdAfx.h
2013-03-25 18:10:40 +02:00
Birunthan Mohanathas
0994fad7e9
Add UseD2D option to Rainmeter.ini (defaults to 0)
2013-03-25 18:01:21 +02:00
Birunthan Mohanathas
ef1cf223a7
Change to use Gfx rendering
2013-03-25 17:42:18 +02:00
Birunthan Mohanathas
82970d1cce
Gfx: Add initial work
...
Gfx provides support for rendering with both Direct2D and GDI+.
2013-03-25 17:37:20 +02:00
Birunthan Mohanathas
9bf5871abf
Fix crash when actions are executed by plugin threads after skin unload
2013-03-21 14:29:59 +02:00
spx
5252c95fd6
Fixed that copy operation fails on XP if from path ends with path separator
2013-03-18 20:29:03 +09:00
Birunthan Mohanathas
5d6794ce7b
Script: Fix handle leak with unclosed script file
2013-03-17 17:58:25 +02:00
Birunthan Mohanathas
c171a31d9d
Fix mistake in f9e4230
2013-03-12 17:57:18 +02:00
Birunthan Mohanathas
f9e4230ddd
Move CSystem::GetOSPlatform() to Platform.h
2013-03-12 17:53:55 +02:00
spx
87014a8a87
Tweaks
...
- Use InitializeCriticalSectionEx function with CRITICAL_SECTION_NO_DEBUG_INFO flag.
2013-03-12 13:30:43 +09:00
spx
6ad5d56498
Additional changes to af8befd
: Fixed that unloaded skin is not deleted properly in rare case.
2013-03-11 06:06:02 +09:00
spx
27fe4a1e1c
Tweaks
2013-03-11 05:08:00 +09:00
spx
aecef0b5f9
Additional changes to af8befd
2013-03-11 04:59:05 +09:00
Birunthan Mohanathas
ad59b70768
Manage: Fix crash when loading a skin in some cases
2013-03-10 12:17:15 +02:00
Birunthan Mohanathas
af8befd22b
Fix that unloaded skin is displayed in context menu until fade is complete
2013-03-10 12:14:40 +02:00
spx
3552a928dd
Added error check for zero divide
2013-03-09 02:39:17 +09:00
spx
53f5ceb674
Updated plugin API
...
- Added new option to RmGet(): RMG_SKINNAME, RMG_SKINWINDOWHANDLE
2013-02-27 20:00:26 +09:00
spx
533d53e446
Code cleanup
2013-02-26 03:57:37 +09:00
Birunthan Mohanathas
f81b4ff8bb
Added __declspec(novtable) to interface classes
2013-02-19 16:53:00 +02:00
spx
f48c7f9e01
Reverted change at OnDelayedMove() in d25ae27
:
...
http://rainmeter.net/forum/viewtopic.php?p=83860
2013-02-12 23:19:17 +09:00
spx
d25ae270c4
Tweaks
...
* Optimized some part for multi monitor
2013-02-09 01:52:41 +09:00
spx
95aacda3cb
Code cleanup
2013-02-06 19:12:16 +09:00
spx
1c8b798928
Tweaks
...
* Merged Shrink() code to Tokenize()
2013-02-06 19:09:17 +09:00
spx
e96b02d3dc
Tweaks
...
* Replaced if-else with switch-case
2013-02-06 18:55:45 +09:00
spx
da34fc1fa8
Additional change to 0b84213
, 0d8e8ac
...
http://rainmeter.net/forum/viewtopic.php?p=83467
2013-02-03 19:31:52 +09:00
spx
8ce97640dd
OnChangeAction: Tweaks
2013-01-29 16:02:16 +09:00
spx
89d477b4e1
Minor tweaks
2013-01-29 15:59:08 +09:00
Brian Ferguson
c0d969f4b6
String meter: Fixed issues with ClipString=2
2013-01-28 00:38:26 -07:00
Birunthan Mohanathas
438f79bf5d
Tweaks
2013-01-27 12:49:23 +02:00
Birunthan Mohanathas
fdcd5a9757
Tweaks
2013-01-27 12:49:22 +02:00
spx
654599d192
Code cleanup
2013-01-27 18:39:13 +09:00
Brian Ferguson
178ccb0af4
ClipString options changed back to 0/1, and Auto changed to 2 to be more consistent with other options and to allow formulas.
2013-01-25 21:05:47 -07:00
spx
cef10fee4d
CSystem: Minor fix for buffer size
2013-01-26 02:08:41 +09:00
spx
39459ad64b
Code cleanup
2013-01-24 05:24:25 +09:00
Brian Ferguson
84b1e3a7cd
Deprecated ClipString values 0/1 in favor of OFF/ON and added new value AUTO.
...
Added ClipStringW/ClipStringH options that work with ClipString=AUTO.
2013-01-23 11:57:01 -07:00
Brian Ferguson
2fc204c6fa
Fixed line endings issue with 9375b50
2013-01-16 10:33:02 -07:00
spx
c807d270b5
MouseVariables: Changed X,Y origin 1 to 0.
...
Code cleanup
2013-01-16 23:09:06 +09:00
spx
9375b5013c
Code cleanup
2013-01-16 19:23:42 +09:00
Brian Ferguson
9da869363d
Added special mouse variables
2013-01-15 17:51:02 -07:00
spx
e2c88e0946
Removed accidentally committed code
2013-01-15 04:39:35 +09:00
spx
4e27d71d97
Additional changes to c3982da
2013-01-15 04:30:10 +09:00
spx
c3982da712
Code cleanup
2013-01-15 01:37:13 +09:00
Brian Ferguson
731a0c611a
Added OnUpdateAction to !UpdateMeter/!UpdateMeasure bangs
2013-01-11 00:37:10 -07:00
Brian Ferguson
69762e1b05
Revised previous commit
2013-01-11 00:23:21 -07:00
Brian Ferguson
61f088e59c
Fixed issue with 8330415
2013-01-10 23:48:31 -07:00
Brian Ferguson
83304154a8
Changed OnChangeAction to ignore the first change when a skin is loaded
2013-01-10 23:25:59 -07:00
Brian Ferguson
90b80a2ca9
Added OnChangeAction to measures
2013-01-10 23:03:07 -07:00
Brian Ferguson
9800692f19
Added OnUpdateAction to measures, meters and the [Rainmeter] section.
2013-01-10 15:50:38 -07:00
spx
5576f7d5a0
Code cleanup
2012-12-27 16:47:44 +09:00
Birunthan Mohanathas
55824225ba
Fixed issue in 536bde4
2012-12-23 17:35:04 +02:00
Birunthan Mohanathas
0d8e8acf8a
Additional change to 0b84213
2012-12-23 15:47:23 +02:00
Birunthan Mohanathas
536bde48d1
Cosmetics
2012-12-23 15:46:42 +02:00
spx
d2e063e795
Minor fix to 3d61328
2012-12-23 21:45:50 +09:00
spx
eaf53aa2ae
Code cleanup
2012-12-23 07:05:46 +09:00
Birunthan Mohanathas
63c5e353d7
Cosmetics
2012-12-22 12:23:36 +02:00
Birunthan Mohanathas
0b84213eb6
Calc: Fixed handling of negative numbers without brackets
...
"5+-1" is now valid and equal to "5+(-1)".
2012-12-22 11:45:15 +02:00
Birunthan Mohanathas
4e16218dec
Fixed dialog layout with RTL languages
2012-12-22 11:18:53 +02:00
spx
6a44aae5fc
[MeterLine] Fixed crash when LineCount not equal to MeasureNameN
...
http://rainmeter.net/forum/viewtopic.php?f=14&t=14388
2012-12-22 04:32:28 +09:00
Birunthan Mohanathas
52e1f1c6b4
Moved common project settings into .props files
2012-12-18 19:49:51 +02:00
Birunthan Mohanathas
1acc613beb
Cosmetics
2012-12-13 20:12:37 +02:00
Birunthan Mohanathas
e7fa91b924
Additional changes to 3d61328
2012-12-13 20:07:38 +02:00
Birunthan Mohanathas
3c72b7171c
Additional changes to 3d61328
2012-12-13 12:20:14 +02:00
Birunthan Mohanathas
fdd350ef42
Cosmetics
2012-12-13 12:11:27 +02:00
Birunthan Mohanathas
3d6132811f
Replaced dialog resources with control template
...
Also fixed tabbing in dialogs.
2012-12-13 11:12:25 +02:00
spx
37aee6921e
Additional fix for 28b96e7
2012-12-08 02:42:31 +09:00
Birunthan Mohanathas
b5bec9158d
Fixed oversight in 28b96e7
2012-12-02 21:41:42 +01:00
Birunthan Mohanathas
28b96e703c
Replaced menu resources with menu template
2012-11-30 16:38:40 +02:00
spx
411f53b1f9
Added "*" to !UpdateMeasure/!UpdateMeter to update all measures/meters forcibly
2012-11-30 10:57:35 +09:00
spx
2b45f7301d
Code cleanup
2012-11-27 17:45:53 +09:00
Brian Ferguson
54711d646d
Fixed that left/right scroll actions were not executed when there is no up/down scroll actions
2012-11-26 16:48:18 -07:00
Brian Ferguson
eff7a2d228
Fixed that MouseActionCursor was not reset when refreshed in some cases.
2012-11-26 16:44:19 -07:00
Brian Ferguson
35b2e10f16
Fixed that MouseActionCursor's did not work with new scroll actions/X buttons
2012-11-26 14:46:41 -07:00
Birunthan Mohanathas
6a507dc761
Changed GetCursorPos() to GetMessagePos()
...
See: http://blogs.msdn.com/b/oldnewthing/archive/2009/06/18/9771135.aspx
2012-11-24 13:22:33 +02:00
Birunthan Mohanathas
a86b081906
Tweaks and fixes
2012-11-23 22:12:02 +02:00
Birunthan Mohanathas
12d7436d11
Fixed unfocused scroll with WOW64
2012-11-23 22:04:34 +02:00
Birunthan Mohanathas
0c89989d5a
Changed to register for WM_INPUT only when needed
2012-11-23 21:59:24 +02:00
Brian Ferguson
f82ad78db9
Added mouse scrolling for meter windows without focus.
2012-11-23 12:08:40 -07:00
Brian Ferguson
803007b6fe
Partially reverted f52dffe
2012-11-17 18:49:25 -07:00
Brian Ferguson
651e6594b5
Added new Mouse actions.
...
Added OnFocusAction/OnUnfocusAction.
2012-11-13 22:39:32 -07:00
Birunthan Mohanathas
bd0ec4ece0
Reverted fd5de00
2012-11-13 18:39:54 +02:00
Birunthan Mohanathas
6394b447ba
Tweaks
2012-11-13 17:55:57 +02:00
Birunthan Mohanathas
fd5de00955
Manage Settings: Changed to remove ConfigEditor if it matches associated editor
2012-11-13 17:54:32 +02:00
Birunthan Mohanathas
89fcfeb4e6
Manage Settings: Fixed that ConfigEditor/SkinPath are written when tab is opened
2012-11-13 17:39:12 +02:00
Birunthan Mohanathas
211e1d657f
Tweaks and fixes
2012-11-13 16:11:43 +02:00
Brian Ferguson
f52dffefb1
Added SkinPath, ConfigEditor, and TrayIcon to Manage/Settings dialog
...
Also added Help button to Manage dialog
2012-11-12 13:02:01 -07:00
spx
f929109f01
Code cleanup
2012-11-12 11:10:40 +09:00
jsmorley
76ad8b4705
Change context menu "Help" to docs.rainmeter.net
2012-10-27 08:17:31 -04:00
spx
0388c63faf
Fixed focus on tray context menu
2012-10-25 18:26:46 +09:00
Birunthan Mohanathas
b2d245016a
Code cleanup
2012-10-09 18:33:49 +03:00
Birunthan Mohanathas
7348f5eb6e
Script: Fixed with DynamicVariables
2012-10-07 22:42:20 +03:00
Birunthan Mohanathas
ba0b1e9129
SkinInstaller: Added support for 3cae4f7
2012-10-07 17:01:06 +03:00
Birunthan Mohanathas
889320e04b
Changed ContextTitle=Separator to ContextTitle=---
2012-10-07 16:26:39 +03:00
Brian Ferguson
4c285cb8e4
Cosmetics
2012-10-07 00:16:09 -06:00
Birunthan Mohanathas
1b235dbae8
Additional changes to a4844ca
2012-10-06 22:03:29 +03:00
Birunthan Mohanathas
a4844ca924
Script: Fixed ScriptFile with Unicode path and tweaks
2012-10-06 21:43:07 +03:00
Birunthan Mohanathas
d449e5dac6
Minor fixes
2012-10-06 20:29:20 +03:00
Birunthan Mohanathas
ce0ee2693f
Fixed 6a18085
2012-10-06 20:20:39 +03:00
Birunthan Mohanathas
6a18085500
Minor fix to c728688
2012-10-06 20:18:55 +03:00
Birunthan Mohanathas
c7286881ee
Added !LoadLayout
2012-10-06 20:12:40 +03:00
Brian Ferguson
d8b57512b6
Cosmetics
2012-10-04 23:30:45 -06:00
Brian Ferguson
a0e7c4df57
Typo
2012-10-04 15:33:18 -06:00
Brian Ferguson
e35c6dbd7d
Added support for !SetOption and ContextTitle and ContextAction. Also added a disabled label for top level actions.
2012-10-04 15:30:55 -06:00
spx
c1bd5860f2
Added workaround for Debug build mode.
...
940b4ff55e (commitcomment-1943357)
2012-10-03 15:36:45 -07:00
spx
40e7617ecc
- Fixed that invalid skin context action is executed when executing action from tray context menu.
...
- Minor tweaks.
2012-10-03 14:59:49 -07:00
Brian Ferguson
7e6249f797
Tweak
2012-10-03 15:14:44 -06:00
Brian Ferguson
f0dd38000d
Added support for custom Context Menu items
2012-10-03 14:52:17 -06:00
spx
940b4ff55e
Measure: Tweaked Max/Min value logging.
2012-10-03 02:36:11 -07:00
Birunthan Mohanathas
93c1cf0411
Fixed typo in 3cae4f7
2012-10-02 21:01:40 +03:00