Commit Graph

1084 Commits

Author SHA1 Message Date
8a086ffdcb Make unit tests available in Release builds 2013-06-13 21:13:57 +03:00
c5e2a7a2cb Actually fix running debug projects that use unit testing 2013-06-13 20:52:15 +03:00
d63bb00f94 Revert "Fix running debug projects that use unit testing"
This reverts commit ced3dd2.
2013-06-13 20:23:42 +03:00
ced3dd20ca Fix running debug projects that use unit testing 2013-06-13 20:17:24 +03:00
384298a43e Add some tests for ConfigParser 2013-06-13 17:32:35 +03:00
bcbfc4d4db Logger: Cosmetics 2013-06-13 17:22:42 +03:00
04090b232a Make Rainmeter a singleton class
This change is part of making the Libray project more testable. The old g_Rainmeter global pointer has been replaced with a GetRainmeter() function to guarantee that the object exists in some state.
2013-06-13 17:20:27 +03:00
be3efa7531 Move MathParser to Common 2013-06-13 17:00:24 +03:00
cd4bf6d17a Create Common.vcxproj to use files under Common as a static library 2013-06-12 21:54:23 +03:00
d079d13da6 Move path related functions into PathUtil 2013-06-12 21:15:16 +03:00
68430b54db Revert "Script: Extend Measure:GetStringValue to support a parameter table"
This reverts commit b0d101e.
2013-06-10 18:19:33 +03:00
b0d101ed71 Script: Extend Measure:GetStringValue to support a parameter table
Example usage: GetStringValue({AutoScale = 0, Scale = 1.0, NumOfDecimals = 0, Percentual = false})
All keys are optional.
2013-06-09 23:15:43 +03:00
72bf8dc317 String: Fix issue with Angle= since 59b3dea 2013-06-09 19:05:46 +03:00
5b60d6c400 Enable /MP for large projects to reduce Release build time 2013-06-08 13:23:44 +03:00
f1cb311723 ImagePath: Fixed that the image was not reloaded when changing with !SetOption 2013-06-07 23:45:28 -06:00
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
bdb5605d24 Move RawString.h into Common 2013-05-31 17:34:36 +03:00
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
da9384cfad Remove "C" prefix in class names 2013-05-31 17:18:52 +03:00
4332cea3d0 Fixes to f8c3f11 2013-05-30 19:59:50 +03:00
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
85b214de0e Fix regression in f4429ad 2013-05-30 19:36:09 +03:00
096ad80183 Minor fix to f4429ad 2013-05-30 17:21:53 +03:00
a3d8f73f6c Tweak f4429ad 2013-05-30 17:19:42 +03:00
ca0f2e608f Minor fixes to f4429ad 2013-05-29 22:08:51 +03:00
f4429ad8cc Refactor logging logic into new CLogger class 2013-05-29 22:05:41 +03:00
c873405422 Roundline meter: Fixed a rounding error when using a large value for StartAngle 2013-05-16 13:45:32 -06:00
bd971168cc Added "UseExifOrientation" to Image meters 2013-05-10 13:33:26 -06:00
87f69dee55 Reduce build time by moving Rainmeter.lib outside of Library project 2013-05-09 17:53:24 +03:00
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
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
7581e3ac98 Move basic project options into Project.props 2013-05-01 13:02:17 +03:00
497f6bbf54 Added OnWakeAction.
Executes when returning from sleep/hibernation.
2013-04-27 09:26:03 -06:00
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
8b477d1a9b String Meter: Fixed capitalization problem when letter followed whitespace that was not a space. 2013-04-18 11:19:21 -06:00
1fd382d192 Reverted a903629 and add778c 2013-04-12 22:42:20 -06:00
73adaffe43 Additional changes to 4f26f77 2013-04-12 18:22:39 +03:00
ad9149b143 Gfx: Move WIC files to Util 2013-04-12 17:09:42 +03:00
3827353c08 Gfx: Implement DWrite interfaces required for loading fonts 2013-04-12 17:05:21 +03:00
8c184a3dbb Simplify aa3c7eb 2013-04-10 19:04:28 +03:00
aa3c7eb8ce Tweaks to reduce OnChangeAction overhead 2013-04-10 19:00:22 +03:00
0b3a4d86c4 Gfx: Add FontCollection implementation
The D2D implementation is a stub for now.
2013-04-09 20:35:49 +03:00
e1b39f62b1 Change version check URL to use new github.io domain 2013-04-07 12:20:16 +03:00
59b3dea21c Gfx: Added support for TransformationMatrix and Angle (for String meters) 2013-04-05 02:35:20 -06:00
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
a903629fc4 Add icon to 'Unload skin' in context menu 2013-04-03 12:38:50 +03:00
d862324887 Add UseD2D to preserved settings 2013-03-31 19:33:36 +03:00