Commit Graph

1979 Commits

Author SHA1 Message Date
spx
f15a8fa72e Fixed mistake in previous commits 2013-06-17 21:05:31 +09:00
spx
bda6e3aa47 Additional fix to 4a625d0 2013-06-17 20:57:50 +09:00
spx
4a625d0c2f Fixed issue that ImageName is ignored if MeasureName is set
http://rainmeter.net/forum/viewtopic.php?p=88820

Reverted this part: 136689bcfb (L4L167)
2013-06-17 20:24:33 +09:00
Birunthan Mohanathas
7c76cf8b2d Additional tweaks to a4c7e83 2013-06-16 20:02:28 +03:00
Birunthan Mohanathas
a4c7e83391 Move context menu related code into ContextMenu.cpp 2013-06-16 19:54:22 +03:00
Birunthan Mohanathas
a4b36423b9 Fix double call of DestroyMenu 2013-06-16 19:52:25 +03:00
Birunthan Mohanathas
5c91ab365d Refactor skin scanning and skin folder indexing into SkinRegistry.cpp
This also adds tests.
2013-06-16 19:36:09 +03:00
Birunthan Mohanathas
6332702f75 Fix running x64 projects using unit testing 2013-06-14 19:36:31 +03:00
Birunthan Mohanathas
531eee06da Remove DisableThreadLibraryCalls.h
By default, VC++ links in a stub entry point, which already calls DisableThreadLibraryCalls(). See: %VS110COMNTOOLS%..\..\VC\crt\src\dllmain.c
2013-06-14 17:23:14 +03:00
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