Commit Graph

122 Commits

Author SHA1 Message Date
Birunthan Mohanathas
923215c0da ConfigParser: Implement ReadBool
This may break backwards compatibility in some cases. For example, the FreeDiskSpace measure treated only `Type=1` as true and `Type={0, 2, 3, ...}` as false. Now `Type=0` is false and everything else is true like with most other boolean options.
2013-07-31 13:36:53 +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
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
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
c171a31d9d Fix mistake in f9e4230 2013-03-12 17:57:18 +02:00
Birunthan Mohanathas
f9e4230ddd Move CSystem::GetOSPlatform() to Platform.h 2013-03-12 17:53:55 +02:00
spx
e96b02d3dc Tweaks
* Replaced if-else with switch-case
2013-02-06 18:55:45 +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
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
jsmorley
76ad8b4705 Change context menu "Help" to docs.rainmeter.net 2012-10-27 08:17:31 -04:00
spx
0388c63faf Fixed focus on tray context menu 2012-10-25 18:26:46 +09: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
Birunthan Mohanathas
3cae4f743c Changed Themes to Layouts 2012-10-02 17:44:47 +03:00
Birunthan Mohanathas
adeb73478b Removed redundant code 2012-08-12 17:02:08 +03:00
spx
6a76afe792 - Added a workaround for missing tray icon in some cases on startup.
- Fixed issue that tray icon is not changed correctly when TrayMeasure options are reloaded.
2012-08-05 07:37:45 -07:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
e3d92d354c Cosmetics 2012-05-30 21:53:44 +03:00
Birunthan Mohanathas
902e734e62 Tweaks 2012-05-29 19:02:20 +03:00
Birunthan Mohanathas
8d04988c12 Changed tray notifications to use 32x32 icon on Vista+ 2012-05-05 18:53:33 +03:00
Birunthan Mohanathas
a93c02ef84 Tweaks 2012-05-05 15:59:35 +03:00
Birunthan Mohanathas
b33d59e9de Minor change to 2208cf2 2012-05-05 15:48:41 +03:00
Birunthan Mohanathas
c6f7116031 Cosmetics 2012-05-05 14:49:22 +03:00
Brian
2208cf20c0 Added tray notifications 2012-05-05 14:43:48 +03:00
Birunthan Mohanathas
a85ecc9b7c Added separate tray icon resource for high DPI conditions 2012-04-22 17:47:19 +03:00
Birunthan Mohanathas
df61f5c1f8 Removed support for several RAINMETER_QUERY messages 2012-04-06 15:32:36 +03:00
Birunthan Mohanathas
c663bde9cc Removed support for TrayExecuteL and TrayExecuteDL 2012-04-06 15:28:39 +03:00
spx
bb865ec514 Cosmetic changes. 2012-02-21 19:15:10 +00:00
Birunthan Mohanathas
876817bc11 - About Log and Skins: Added CTRL+C support to copy third column
- Cosmetics
2012-02-21 09:03:16 +00:00
spx
b0046d2968 Cosmetic changes. 2012-02-20 09:37:46 +00:00
Birunthan Mohanathas
ac840c1599 - Disabled "Log file created" messagebox
- Fixed empty messagebox when Rainmeter is launched with Logging=1 and no existing log file
- Minor changes to log output
2012-02-14 17:58:03 +00:00
Birunthan Mohanathas
2c6ed8ed69 - Manage/About dialogs: Fixed that keyboard commands didn't work
- Window message API: Partly broken since r1157, fixed
- Moved all functionality from Rainmeter.exe into Rainmeter.dll
2012-02-14 17:00:07 +00:00
spx
1e88fe1db3 Minor code tweaks. 2012-02-07 08:32:37 +00:00
Birunthan Mohanathas
1560c31510 - FolderInfo.dll: Fixed several memory leaks
- Changed FolderInfo and WebParser to import pcre_* functions from Rainmeter.dll to reduce binary size
- Changed Help in context menu to open Support page (instead of Manual/Manual_beta)
2012-02-04 08:25:11 +00:00
Birunthan Mohanathas
c790ca54e0 Code cleanup. 2012-02-03 12:48:33 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
Birunthan Mohanathas
13b3241307 Minor tweaks and cleanup. 2011-12-09 08:40:19 +00:00
spx
8e8b7d1268 Code tweaks and cleanup. 2011-12-04 22:18:40 +00:00
spx
f28ecf6e83 Minor tweaks. 2011-11-28 14:13:20 +00:00
Birunthan Mohanathas
b26dafc46f - Improved r1034 fix
- Minor tweaks
2011-11-25 19:11:46 +00:00
Birunthan Mohanathas
e490898a74 Fixed that r1034 degraded icon quality with high DPI. 2011-11-21 17:39:09 +00:00
Birunthan Mohanathas
b02371276f Minor tweaks. 2011-11-16 16:47:20 +00:00
Birunthan Mohanathas
1869dc467a Alt+Tab now displays the Rainmeter icon for the Manage/About dialogs. 2011-11-14 12:08:37 +00:00
Birunthan Mohanathas
9f629fac62 Rainmeter.dll now shares icon with Rainmeter.exe to reduce binary size. 2011-11-11 09:38:00 +00:00
spx
569a151c6c - Switched from size()>0 to empty().
- Code cleanup.
2011-11-08 17:21:29 +00:00