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
f4429ad8cc
Refactor logging logic into new CLogger class
2013-05-29 22:05:41 +03:00
spx
87014a8a87
Tweaks
...
- Use InitializeCriticalSectionEx function with CRITICAL_SECTION_NO_DEBUG_INFO flag.
2013-03-12 13:30:43 +09:00
Birunthan Mohanathas
fdcd5a9757
Tweaks
2013-01-27 12:49:22 +02:00
spx
14fb733a8f
Tweaks
2012-09-08 10:09:14 -07:00
Birunthan Mohanathas
1d75adc265
Additional changes to 05d4304
2012-08-18 09:45:16 +03:00
Birunthan Mohanathas
8b5e4c3ace
Minor fix to 902e734
2012-06-02 12:55:21 +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
f20170406e
Tweaks
2012-05-29 19:43:24 +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
f48d892526
Fixed cursor flicker issue with some applications
...
Removed support for background transparency with RGB(255,0,255)
2012-04-17 09:36:29 +03:00
Birunthan Mohanathas
7168634bb6
Disabled RTTI and removed dynamic_cast
2012-04-09 19:45:54 +03:00
Birunthan Mohanathas
9683b8a8bf
About dialog:
...
- Renamed Measures tab to Skins
- Added support for viewing variables under new Skins tab
2012-02-20 17:27:00 +00:00
spx
b0046d2968
Cosmetic changes.
2012-02-20 09:37:46 +00:00
Birunthan Mohanathas
d20299b87a
Fixed mistake.
2012-02-14 18:05:51 +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
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
spx
8e8b7d1268
Code tweaks and cleanup.
2011-12-04 22:18:40 +00:00
spx
e119672f1c
Minor tweaks.
2011-11-14 14:32:11 +00:00
spx
e166e34948
- Fixed Background=*.png issue: http://rainmeter.net/forum/viewtopic.php?f=5&t=8596
...
- Performance improvement on BitmapToRegion function.
2011-10-22 20:28:15 +00:00
Birunthan Mohanathas
7790449f2a
- PowerPlugin: Fixed crash when waking up from sleep/hibernation in some cases
...
- Code cleanup
2011-10-12 13:34:04 +00:00
spx
86fd454277
Code cleanup.
2011-09-29 17:14:51 +00:00
Birunthan Mohanathas
13c17b9d1a
- Removed support for using Rainmeter.dll as Litestep module
...
- Merged Rainmeter.dll and Rainmeter.exe
- Language resource file now located in \Language\<LanguageName>.dll
- Build.bat now automatically builds and packages all languages
2011-09-28 18:28:35 +00:00
Birunthan Mohanathas
e3bde6879b
Fixed that "Edit skin" causes a needless UAC elevation prompt in some cases.
2011-09-24 13:43:14 +00:00
spx
834bcd7bcd
Fixed crash when the string resource is not found in Language.dll.
2011-09-24 13:41:07 +00:00
Birunthan Mohanathas
55391d4b98
Some optimizations and cleanup.
2011-09-24 09:13:13 +00:00
Birunthan Mohanathas
e22db0b887
Added localization support.
2011-09-23 16:28:38 +00:00
Birunthan Mohanathas
c72648d956
- Updated installer graphics
...
- Fixed that using '!Execute [""]' opens program folder (results in no action now)
2011-09-18 10:54:16 +00:00
Birunthan Mohanathas
f14d751604
- Added #CURRENTFILE# variable
...
- Changes to log strings
2011-09-09 16:31:55 +00:00
Birunthan Mohanathas
2e128c75be
Changed so that only LOG_ERROR from exceptions cause About Log to open.
2011-09-08 17:05:48 +00:00
Birunthan Mohanathas
754c33f82f
- Script: Fixed that Unicode characters were not correctly displayed
...
- About Log: 20 last log items are now displayed on launch
- LOG_DEBUG messages are ignored from plugins only when not in Debug mode
2011-09-03 16:45:29 +00:00
spx
e721be6456
Fixed deadlock issue when About dialog is opened.
2011-08-31 11:06:35 +00:00
spx
b52fd99949
Code cleanup.
2011-08-28 16:06:23 +00:00
Birunthan Mohanathas
69f3ab1803
- Added Manage dialog, which consolidates RainBrowser and RainThemes into a single UI
...
- Updated About dialog
- Removed RainBrowser and RainThemes from build
2011-08-28 10:58:26 +00:00
JamesAC
d7dedcfc75
Adding support for RegExp in Substitute strings when RegExpSubstitute=1 is set.
2011-07-29 11:49:46 +00:00
spx
15eba97cba
Minor tweaks and cosmetics.
2011-07-18 00:32:09 +00:00
spx
fdad6fb036
Minor tweaks.
2011-07-14 00:26:53 +00:00
spx
3a7d937021
- Uptime now shows over 49.7 days correctly in Vista or later.
...
- Some related tweaks.
2011-06-05 12:32:18 +00:00
Birunthan Mohanathas
a92bdd9b18
Cosmetic changes to code.
2011-03-29 19:21:57 +00:00
spx
1ba57f2adf
Fixed some Lua related issues.
...
Removed some internal functions from exposed functions for Lua.
Code cleanup and optimizing for VC2010.
2011-02-15 13:22:19 +00:00
spx
a32ca014f7
- Commented out unused code.
...
- Code cleanup.
2010-12-25 08:43:26 +00:00
spx
f4bfe8f4fc
- Added #CURRENTSECTION# variable.
...
For instance:
-----
[Variables]
Var=#CURRENTSECTION#
[StyleString]
Text=#CURRENTSECTION#
[MeterString]
Meter=String
MeterStyle=StyleString
Prefix="#CURRENTSECTION# / "
Postfix=" / #Var#"
-----
Displays:
MeterString / MeterString / Variables
- Additional changes for r677.
* Obsoleted DebugLog(). Use LogWithArgs() with LOG_DEBUG instead.
* Added Log().
2010-12-20 08:57:37 +00:00
JamesAC
c50f1c27f2
- Replace DebugLog() with LogWithArgs(int nLevel, const WCHAR* format, ... ), so that variable strings can be logged but the log level can be set to those other than LOG_DEBUG
...
- Note: DebugLog() is still in the code as I was not sure whether it is required to maintain Litestep interoperability
- Replaced instances of LOG_DEBUG where other log levels would be more appropriate
2010-12-19 23:06:13 +00:00
spx
d1a7b604df
Core dll:
...
- Replace swprintf/wsprintf/wcscpy/wcscat to _snwprintf_s/wcsncpy_s/wcsncat_s.
- Changed printf format parameter strictly for supporting both 32bit and 64bit.
- Fixed an issue that !RainmeterWriteKeyValue doesn't accept %APPDATA%\Rainmeter path.
- Code cleanup.
2010-12-16 20:35:44 +00:00