Commit Graph

97 Commits

Author SHA1 Message Date
dc7eff73b4 Work on trimming native rainmeter library. Incomplete (won't build!!!) 2014-08-12 16:38:37 +03:00
69913fa251 Work on exporting stuff, revert some changes for better diff 2014-08-01 22:54:35 +03:00
7cba5cc109 Fixed line endings and applied gitignore 2014-07-26 09:43:40 +03:00
8541cce5f4 A bit of work on app's UI and integration between .net and native. 2014-07-23 13:47:09 +03:00
Birunthan Mohanathas
3190fc267f Use decltype instead of typedefs for function pointers 2014-02-28 18:35:32 +02:00
Brian Ferguson
67aeaf5392 Remove Platform version helpers and use <VersionHelpers.h> per http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v=vs.85%29.aspx 2014-02-12 14:42:02 -07:00
spx
8f2f65c1fc !SetWallpaper: Additional fix to 3104a53
http://rainmeter.net/forum/viewtopic.php?f=14&t=16074

If it still causes crash, it might need to create a clone image first before saving as a bitmap.
2013-07-17 06:17:34 +09:00
spx
3104a53107 Fixed !SetWallpaper issue
http://rainmeter.net/forum/viewtopic.php?f=14&t=16018
2013-07-10 23:00:27 +09: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
d079d13da6 Move path related functions into PathUtil 2013-06-12 21:15:16 +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
a3d8f73f6c Tweak f4429ad 2013-05-30 17:19:42 +03:00
Birunthan Mohanathas
f4429ad8cc Refactor logging logic into new CLogger class 2013-05-29 22:05:41 +03: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
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
d25ae270c4 Tweaks
* Optimized some part for multi monitor
2013-02-09 01:52:41 +09:00
spx
e96b02d3dc Tweaks
* Replaced if-else with switch-case
2013-02-06 18:55:45 +09:00
spx
cef10fee4d CSystem: Minor fix for buffer size 2013-01-26 02:08:41 +09: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
2cbdb2b9f2 Disabled system critical error message boxes on startup
http://msdn.microsoft.com/library/windows/desktop/ff805117.aspx
2012-08-12 17:46:23 +03:00
Birunthan Mohanathas
cbb2c8f5c5 Tweaks 2012-06-10 13:14:49 +03:00
Birunthan Mohanathas
5c90577955 Minor changes 2012-06-10 13:12:46 +03:00
Birunthan Mohanathas
5dd2f249dd Tweaks 2012-06-10 12:17:47 +03:00
Birunthan Mohanathas
288e68107d Tweaks 2012-06-01 16:21:25 +03:00
Birunthan Mohanathas
579e2df81e Cosmetics 2012-06-01 16:13:01 +03:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
0891ee4b91 Tweaks 2012-05-30 08:10:12 +03:00
spx
2f2f5e6efa Code cleanup 2012-03-26 19:11:54 +03:00
spx
8e4d37a8ea - Now retries UpdateLayeredWindow if it fails for some reason. (E.g. when SetLayeredWindowAttributes is called by other application process.)
- Replaced Get(Set)WindowLong with Get(Set)WindowLongPtr.
- Code cosmetics.
2012-03-14 02:52:35 +00:00
Birunthan Mohanathas
3905a71af3 !SetWallpaper: Fixed that didn't work on Windows 7 with .png images. 2012-03-08 05:21:11 +00:00
Birunthan Mohanathas
b60d7bdd90 Fixed crash that could occur when using RmExecute from separate thread (in WebParser) 2012-02-22 06:42:52 +00:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
spx
3254520ced Added workaround for the issue that skins disappear when resuming from sleep mode.
http://rainmeter.net/forum/viewtopic.php?f=5&t=11313
2012-02-20 15:33:13 +00:00
spx
dbd43ddfbc - Changed an interval of writing network statistics from a minute to two minutes.
- Code cosmetic changes.
2012-02-15 02:51:27 +00:00
spx
1e88fe1db3 Minor code tweaks. 2012-02-07 08:32:37 +00:00
spx
30ea472c51 !SetWallpaper: Added file check. 2012-02-04 16:51:14 +00:00
Birunthan Mohanathas
97d69abc47 Minor change. 2012-02-04 16:06:29 +00:00
Birunthan Mohanathas
405976b7a6 Added !SetWallpaper bang.
Usage: !SetWallpaper [File] (Style)
where style is CENTER, TILE, STRETCH, FIT, or FILL. FIT/FILL available only on Windows 7 (and higher).
2012-02-04 15:54:30 +00:00
Birunthan Mohanathas
808dca7afe Improved r277 fix. 2012-02-02 12:05:14 +00:00
Birunthan Mohanathas
92864ea360 Rainmeter.stats is now updated periodically only if NetTotal measure has been used in current session. 2012-01-28 18:44:19 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
spx
3bebd7002a Minor tweaks. 2011-12-09 19:49:06 +00:00
Birunthan Mohanathas
13b3241307 Minor tweaks and cleanup. 2011-12-09 08:40:19 +00:00
spx
320c2d7c83 - [FreeDiskSpace] Added new "Type=" option to get drive type. (e.g. Fixed/Removable/Network) If set to 1, retrieve drive type as number/string. Default is 0.
- Code cleanup.
2011-12-02 10:42:11 +00:00
Birunthan Mohanathas
42ce3d9666 Minor tweaks. 2011-11-19 11:32:23 +00:00
spx
efc8275ed1 Minor tweaks. 2011-11-18 22:40:58 +00:00
Birunthan Mohanathas
af8be41663 Minor tweaks. 2011-11-18 07:33:41 +00:00
spx
e119672f1c Minor tweaks. 2011-11-14 14:32:11 +00:00