Commit Graph

352 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
1cf0212e87 Manage Layouts: Fix missing entries in the displayed list of layouts
This fixes http://rainmeter.net/forum/viewtopic.php?p=101697
2014-07-12 15:50:26 -07: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
Birunthan Mohanathas
a577608835 Unignore and fix warnings in Library/ 2013-12-23 19:42:31 +00:00
Birunthan Mohanathas
ded19a42fa Enable D2D by default 2013-10-06 17:08:11 +03:00
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
Brian Ferguson
2418c3692f Manage Dialog: Added "UseD2D" option in the Settings Tab
If changed, all skins are refreshed
Option is disabled on systems that do not support D2D
2013-07-25 16:44:06 -06:00
spx
ca787306b5 Additional fix to 7849b2a
http://rainmeter.net/forum/viewtopic.php?f=14&t=16014
2013-07-09 21:59:37 +09:00
Brian Ferguson
eeef84dfa0 Added skin/section (if available) to logging. 2013-06-29 10:59:18 -06: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
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
9a62ebef95 Fix crash caused by 04090b2 2013-06-14 16:58:42 +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
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