Commit Graph

335 Commits

Author SHA1 Message Date
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
d079d13da6 Move path related functions into PathUtil 2013-06-12 21:15:16 +03:00
spx
7849b2a6e1 Fixed crash when group bang is executed on exiting Rainmeter 2013-06-04 05:58:30 +09: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
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
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
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
Brian Ferguson
1fd382d192 Reverted a903629 and add778c 2013-04-12 22:42:20 -06:00
Brian Ferguson
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
Birunthan Mohanathas
a903629fc4 Add icon to 'Unload skin' in context menu 2013-04-03 12:38:50 +03:00
Birunthan Mohanathas
d862324887 Add UseD2D to preserved settings 2013-03-31 19:33:36 +03:00
Birunthan Mohanathas
0994fad7e9 Add UseD2D option to Rainmeter.ini (defaults to 0) 2013-03-25 18:01:21 +02:00
Birunthan Mohanathas
9bf5871abf Fix crash when actions are executed by plugin threads after skin unload 2013-03-21 14:29:59 +02:00
Birunthan Mohanathas
f9e4230ddd Move CSystem::GetOSPlatform() to Platform.h 2013-03-12 17:53:55 +02:00
spx
6ad5d56498 Additional changes to af8befd: Fixed that unloaded skin is not deleted properly in rare case. 2013-03-11 06:06:02 +09:00
spx
27fe4a1e1c Tweaks 2013-03-11 05:08:00 +09:00
spx
aecef0b5f9 Additional changes to af8befd 2013-03-11 04:59:05 +09:00
Birunthan Mohanathas
af8befd22b Fix that unloaded skin is displayed in context menu until fade is complete 2013-03-10 12:14:40 +02:00
spx
d25ae270c4 Tweaks
* Optimized some part for multi monitor
2013-02-09 01:52:41 +09:00
spx
654599d192 Code cleanup 2013-01-27 18:39:13 +09:00
Birunthan Mohanathas
3d6132811f Replaced dialog resources with control template
Also fixed tabbing in dialogs.
2012-12-13 11:12:25 +02:00
spx
37aee6921e Additional fix for 28b96e7 2012-12-08 02:42:31 +09:00
Birunthan Mohanathas
b5bec9158d Fixed oversight in 28b96e7 2012-12-02 21:41:42 +01:00
Birunthan Mohanathas
28b96e703c Replaced menu resources with menu template 2012-11-30 16:38:40 +02: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
bd0ec4ece0 Reverted fd5de00 2012-11-13 18:39:54 +02:00
Birunthan Mohanathas
fd5de00955 Manage Settings: Changed to remove ConfigEditor if it matches associated editor 2012-11-13 17:54:32 +02:00
Birunthan Mohanathas
211e1d657f Tweaks and fixes 2012-11-13 16:11:43 +02:00
Brian Ferguson
f52dffefb1 Added SkinPath, ConfigEditor, and TrayIcon to Manage/Settings dialog
Also added Help button to Manage dialog
2012-11-12 13:02:01 -07:00
spx
f929109f01 Code cleanup 2012-11-12 11:10:40 +09:00
Birunthan Mohanathas
ba0b1e9129 SkinInstaller: Added support for 3cae4f7 2012-10-07 17:01:06 +03:00
Birunthan Mohanathas
889320e04b Changed ContextTitle=Separator to ContextTitle=--- 2012-10-07 16:26:39 +03:00
Birunthan Mohanathas
d449e5dac6 Minor fixes 2012-10-06 20:29:20 +03:00
Birunthan Mohanathas
ce0ee2693f Fixed 6a18085 2012-10-06 20:20:39 +03:00
Birunthan Mohanathas
6a18085500 Minor fix to c728688 2012-10-06 20:18:55 +03:00
Birunthan Mohanathas
c7286881ee Added !LoadLayout 2012-10-06 20:12:40 +03:00
Brian Ferguson
d8b57512b6 Cosmetics 2012-10-04 23:30:45 -06:00
Brian Ferguson
a0e7c4df57 Typo 2012-10-04 15:33:18 -06:00
Brian Ferguson
e35c6dbd7d Added support for !SetOption and ContextTitle and ContextAction. Also added a disabled label for top level actions. 2012-10-04 15:30:55 -06:00
spx
40e7617ecc - Fixed that invalid skin context action is executed when executing action from tray context menu.
- Minor tweaks.
2012-10-03 14:59:49 -07:00
Brian Ferguson
f0dd38000d Added support for custom Context Menu items 2012-10-03 14:52:17 -06:00
Birunthan Mohanathas
93c1cf0411 Fixed typo in 3cae4f7 2012-10-02 21:01:40 +03:00
Birunthan Mohanathas
3cae4f743c Changed Themes to Layouts 2012-10-02 17:44:47 +03:00
Brian Ferguson
443d06f50d Deprecated undocumented LogViewer option (in Rainmeter.ini); minor code cosmetics (poiru's suggestion) 2012-08-18 09:02:20 -06:00
Brian Ferguson
d2e15c2761 Added quotes around log file, missing quote, cosmetics 2012-08-18 08:39:28 -06:00
Birunthan Mohanathas
1d75adc265 Additional changes to 05d4304 2012-08-18 09:45:16 +03:00
Brian Ferguson
05d43047db Added quotes around filename when using ConfigEditor 2012-08-17 16:14:06 -06:00