Commit Graph

1954 Commits

Author SHA1 Message Date
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
Brian Ferguson
bd971168cc Added "UseExifOrientation" to Image meters 2013-05-10 13:33:26 -06:00
Birunthan Mohanathas
661ff7db45 Additional change to 6dfe39e 2013-05-10 10:10:16 +03:00
Birunthan Mohanathas
6dfe39efb5 Additional change to 87f69de 2013-05-09 18:07:58 +03:00
Birunthan Mohanathas
993f388360 ResMon: Fix C4005 warning 2013-05-09 18:03:42 +03: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
17500a2dbd NowPlaying: Fix C4819 warning 2013-05-09 16:18:15 +03:00
Birunthan Mohanathas
29ae70a041 Additional change to f82b03b 2013-05-09 13:34:29 +03:00
Birunthan Mohanathas
3b1484f363 Update build instructions 2013-05-09 13:31:39 +03:00
Birunthan Mohanathas
91ae7d6ff6 Remove RainmeterCPP.sln and RainmeterCS.sln
Use Rainmeter.sln instead.
2013-05-09 13:28:56 +03:00
Birunthan Mohanathas
70f6fa4f3b NowPlaying: Revert bb823b7 2013-05-09 13:27:39 +03:00
Birunthan Mohanathas
f82b03b583 NowPlaying: Remove dependency on ATL headers 2013-05-09 13:23:52 +03:00
Birunthan Mohanathas
0f6f6d48e5 Gfx: Minor fixes 2013-05-05 17:34:22 +03:00
Birunthan Mohanathas
e10cdd2a86 Gfx: Minor fix 2013-05-05 13:21:30 +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
bb823b798e NowPlaying: Add workaround for ATL's broken XP support in VS2012 Update 2
https://connect.microsoft.com/VisualStudio/feedback/details/783276/vs2012-2-v110-xp-broken-the-procedure-entry-point-initializecriticalsectionex-could-not-be-located-in-the-dynamic-link-library-kernel32-dll
2013-05-03 16:41:21 +03:00
Birunthan Mohanathas
18d5ee383d Gfx: Wrap pointers with std::unique_ptr 2013-05-01 14:38:52 +03:00