Commit Graph

2320 Commits

Author SHA1 Message Date
Birunthan Mohanathas
096023ba6e Cosmetics 2013-06-14 16:58:53 +03:00
Birunthan Mohanathas
9a62ebef95 Fix crash caused by 04090b2 2013-06-14 16:58:42 +03:00
Birunthan Mohanathas
1847e89b8e Revert "Fixed another typo in 8a086ff"
This reverts commit 19690d6.
2013-06-14 16:52:48 +03:00
Brian Ferguson
19690d6f83 Fixed another typo in 8a086ff 2013-06-13 16:41:43 -06:00
Birunthan Mohanathas
30ac8063c8 Cosmetics 2013-06-13 22:14:57 +03:00
Birunthan Mohanathas
c8092189aa Move build instructions to Docs 2013-06-13 22:13:40 +03:00
Birunthan Mohanathas
f883343e90 Update UnitTests.md 2013-06-13 22:05:48 +03:00
Birunthan Mohanathas
dca03fad41 Add doc for unit tests 2013-06-13 21:59:08 +03:00
Birunthan Mohanathas
ded663a5eb Add Docs directory for source code design documents 2013-06-13 21:58:41 +03:00
Birunthan Mohanathas
5117f3c8dd Fix typo in 8a086ff 2013-06-13 21:15:03 +03:00
Birunthan Mohanathas
8a086ffdcb Make unit tests available in Release builds 2013-06-13 21:13:57 +03:00
Birunthan Mohanathas
c5e2a7a2cb Actually fix running debug projects that use unit testing 2013-06-13 20:52:15 +03:00
Birunthan Mohanathas
d63bb00f94 Revert "Fix running debug projects that use unit testing"
This reverts commit ced3dd2.
2013-06-13 20:23:42 +03:00
Birunthan Mohanathas
ced3dd20ca Fix running debug projects that use unit testing 2013-06-13 20:17:24 +03:00
Birunthan Mohanathas
384298a43e Add some tests for ConfigParser 2013-06-13 17:32:35 +03:00
Birunthan Mohanathas
bcbfc4d4db Logger: Cosmetics 2013-06-13 17:22:42 +03:00
Birunthan Mohanathas
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
Birunthan Mohanathas
a80c905be9 Add tests for StringUtil 2013-06-13 17:01:16 +03:00
Birunthan Mohanathas
516ef1a354 Add tests for MathParser 2013-06-13 17:01:00 +03:00
Birunthan Mohanathas
be3efa7531 Move MathParser to Common 2013-06-13 17:00:24 +03:00
Birunthan Mohanathas
3cebbc6b53 Add Common_Test project and PathUtil_Test.cpp
The tests use the new Native Unit Test framework in VS2012.
2013-06-12 23:13:04 +03:00
Birunthan Mohanathas
fed4b080b0 Cosmetics 2013-06-12 23:08:45 +03:00
Birunthan Mohanathas
cd4bf6d17a Create Common.vcxproj to use files under Common as a static library 2013-06-12 21:54:23 +03:00
Birunthan Mohanathas
d079d13da6 Move path related functions into PathUtil 2013-06-12 21:15:16 +03:00
Birunthan Mohanathas
68430b54db Revert "Script: Extend Measure:GetStringValue to support a parameter table"
This reverts commit b0d101e.
2013-06-10 18:19:33 +03:00
Birunthan Mohanathas
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
Birunthan Mohanathas
72bf8dc317 String: Fix issue with Angle= since 59b3dea 2013-06-09 19:05:46 +03:00
Birunthan Mohanathas
5b60d6c400 Enable /MP for large projects to reduce Release build time 2013-06-08 13:23:44 +03:00
Birunthan Mohanathas
9922b2e25a Change Build.bat to show elapsed time 2013-06-08 13:23:19 +03:00
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
68dce478d5 FileView: Change wildcard matching to use PathMatchSpec 2013-06-03 18:40:37 +03:00
Birunthan Mohanathas
7cdd6853aa VirtualDesktops: Replace std::fstream with C file functions 2013-06-02 19:19:25 +03: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
Greg Tatham
05a9d9188d DllExporter: Improve support for debugging 2013-05-30 17:00:18 +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
Birunthan Mohanathas
e3ec9371f9 Process: Improve processes checking
This fixes checking for 64-bit processes on 32-bit Rainmeter and checking for elevated processes on unelevated Rainmeter.
2013-05-14 16:02:28 +03:00
Birunthan Mohanathas
c91f095aef Add PSAPI_VERSION=1 to Rainmeter.props for XP compatibility
This fixes the XP issue with NowPlaying.
2013-05-11 14:58:33 +03:00