Commit Graph

708 Commits

Author SHA1 Message Date
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
913cf05a18 Additional change for r1166. 2012-02-04 14:29:51 +00:00
Birunthan Mohanathas
cab05532f5 Fixed that [measures] in bangs weren't replaced since r1148. 2012-02-04 13:16:10 +00:00
Birunthan Mohanathas
0b57333dd8 Added C++ plugin SDK. 2012-02-04 13:00:49 +00:00
Birunthan Mohanathas
9a06301189 Minor change. 2012-02-04 08:34:48 +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
Birunthan Mohanathas
e7632b5782 Additional change to r1155. 2012-02-03 10:37:26 +00:00
Birunthan Mohanathas
c0ecf75e94 Fixed issue with r1153 (if skin is changed to other variant, the former skin is leaked). 2012-02-03 10:15:18 +00:00
Birunthan Mohanathas
808dca7afe Improved r277 fix. 2012-02-02 12:05:14 +00:00
Birunthan Mohanathas
85e59b5583 New plugin API: Added rm parameter to Initialize. 2012-02-02 07:39:14 +00:00
Birunthan Mohanathas
b65b26c2b7 Cosmetic changes. 2012-02-01 18:00:32 +00:00
spx
e15fff8946 Code cosmetics. 2012-02-01 17:32:03 +00:00
Birunthan Mohanathas
b21658b1cd - Partially refactored bang handling code
- Renamed CMeasure::ExecuteBang to CMeasure::Command
- Minor cosmetic changes and tweaks
2012-02-01 15:55:29 +00:00
spx
7531ddde27 - Tweaked !SetClip.
- Code cosmetics.
2012-01-30 08:34:56 +00:00
JamesAC
55fe503636 Added new Bang "!SetClip"
Usage - !SetClip "Text to set, #Variable#, [Measure]"

Dynamic Variables is only needed if a dynamic #Variable# is used, it is not needed for a [Measure] to appear dynamically.
2012-01-29 18:59:22 +00:00
Birunthan Mohanathas
d302561618 Fixed mistake in r1145 and some minor changes. 2012-01-29 15:59:44 +00:00
Birunthan Mohanathas
476c4b996a Missed file. 2012-01-29 15:54:17 +00:00
Birunthan Mohanathas
f431d48dd8 Minor change. 2012-01-29 15:52:02 +00:00
Birunthan Mohanathas
e459e3df34 Fix to r1142. 2012-01-28 19:55:38 +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
Birunthan Mohanathas
e14ef154f3 Fixed crash when tray menu is open while the language combobox is open in Manage Settings. 2012-01-28 16:47:26 +00:00
Birunthan Mohanathas
81b6813e3a - Removed example plugins (will be available tomorrow from http://rainmeter.net/cms/Developers)
- Changed new plugin API exports to __stdcall calling convention
- Disabled /DEBUG for Release configurations
2012-01-28 16:14:03 +00:00
Birunthan Mohanathas
fd48b9f24a MathParser: Fixed issue with measure names less than 6 chars. 2012-01-27 15:36:46 +00:00
Birunthan Mohanathas
35be827071 - Changed std::transform(..., ::towlower/::towupper) to _wcsupr/_wcslwr
- MathParser: Fixed stack overflow (and possible crash) when the nested conditional limit is exceeded
2012-01-25 16:00:49 +00:00
Birunthan Mohanathas
430e287bec Minor tweaks. 2012-01-23 15:43:31 +00:00
Birunthan Mohanathas
017c2e9ad9 Calc/MathParser: Conditional limit increased to 30. 2012-01-23 12:33:17 +00:00
Birunthan Mohanathas
e99403ce1e Tweaks. 2012-01-23 09:35:32 +00:00
Birunthan Mohanathas
33d447a907 MathParser: Converted to use WCHAR. 2012-01-23 09:30:51 +00:00
Birunthan Mohanathas
01b22e2d5e Calc/MathParser: Minor tweaks. 2012-01-23 07:21: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
Birunthan Mohanathas
caf0a60a5b Removed ccalc and replaced with MathParser 2012-01-22 20:28:05 +00:00
spx
3e1dc73e0e Added workaround for icon.
http://rainmeter.net/forum/viewtopic.php?f=14&t=10946
2012-01-09 18:13:22 +00:00
Birunthan Mohanathas
c3ed2e5fa3 Reintegrated 2.3 branch into trunk 2012-01-08 17:35:29 +00:00
Birunthan Mohanathas
fdb2d4c528 Manage Skins/Themes: Fixed crash http://rainmeter.net/forum/viewtopic.php?f=14&t=10841 2012-01-03 19:45:22 +00:00
Birunthan Mohanathas
71b8d6395d Reverted trunk to r1085. 2011-12-30 17:18:34 +00:00
Birunthan Mohanathas
e8b89aadfa - Updated Power plugin and Process plugin to use new API
- Removed CSPluginTemplate
2011-12-30 16:24:22 +00:00
Birunthan Mohanathas
7b3b0277ec Added new plugin API. 2011-12-30 16:16:22 +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
2835739b12 Code tweaks and cleanup. 2011-12-09 03:28:19 +00:00
spx
8e8b7d1268 Code tweaks and cleanup. 2011-12-04 22:18:40 +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
spx
2d05df47cd Fixed issue that Rainmeter.stats is not created and generates error on startup if Rainmeter.ini doesn't contain [Statistics]-section.
http://rainmeter.net/forum/viewtopic.php?f=14&t=10418
2011-12-01 08:40:37 +00:00
spx
f28ecf6e83 Minor tweaks. 2011-11-28 14:13:20 +00:00
Birunthan Mohanathas
a7a6e74499 - Merged Rainstaller and RainBackup into SkinInstaller. The Rainstaller code is not yet refactored, but is fully functional.
- Added zip64 support
- Removed Addons\
2011-11-27 13:24:37 +00:00
spx
d622c88d69 Code cleanup. 2011-11-27 12:46:59 +00:00
spx
34005f14a4 Switched from std::wstring.compare() to wcscmp(). 2011-11-27 08:30:39 +00:00
spx
e56273113d Fixed handle leak when failed to get the image file size. 2011-11-26 04:41:50 +00:00
spx
3c1338b4c5 - Renamed bool ReadFormula() to ParseFormula.
- Changed ReadConfig() in Measure/Meter to protected.
- Other code tweaks and cleanups.
2011-11-26 02:49:52 +00:00
Birunthan Mohanathas
b26dafc46f - Improved r1034 fix
- Minor tweaks
2011-11-25 19:11:46 +00:00
spx
02f2d51b41 Minor tweaks. 2011-11-24 00:30:56 +00:00
Birunthan Mohanathas
e490898a74 Fixed that r1034 degraded icon quality with high DPI. 2011-11-21 17:39:09 +00:00
spx
4d72490256 Minor fix for r1051. 2011-11-21 16:57:50 +00:00
Birunthan Mohanathas
b11abf09f0 - Minor code refactoring and tweaks
- Minor changes to illustro
2011-11-21 12:53:55 +00:00
spx
4719e4a600 Minor tweaks. 2011-11-19 23:09:41 +00:00
Birunthan Mohanathas
d3a2a8a137 NowPlaying.dll: iTunes shuffle state change now detected immediately. 2011-11-19 11:44:04 +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
8e8b555b6d Code cleanup. 2011-11-17 13:10:27 +00:00
Birunthan Mohanathas
b02371276f Minor tweaks. 2011-11-16 16:47:20 +00:00
spx
e119672f1c Minor tweaks. 2011-11-14 14:32:11 +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
4c3695a78a Fixed crash with 64bit Rainmeter due to r1038. 2011-11-14 08:05:09 +00:00
Birunthan Mohanathas
a6a767d9ff Switched to using SetWindowLongPtr/GetWindowLongPtr instead of SetProp/GetProp for faster retrieval of window pointer. 2011-11-14 07:53:19 +00:00
spx
b8c1c77262 Fixed that Measures in About dialog indicates invalid measure value. 2011-11-13 16:06:02 +00:00
spx
b207eb1140 Code cleanup. 2011-11-12 16:20:41 +00:00
spx
deef3b0ab4 Minor tweaks. 2011-11-12 15:36:05 +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
73d71b1284 Cleaned up header dependencies. 2011-11-10 18:31:01 +00:00
spx
bbe733b437 Code tweaks and cleanups. 2011-11-10 13:44:19 +00:00
Birunthan Mohanathas
f84491ec83 NowPlaying.dll:
- Fixed that album name and cover were not always displayed with Winamp due to r1018
- Shuffle and repeat state is now rechecked on track change with iTunes
- Improved performance when reading file tags/cover
- Updated iTunes SDK files
2011-11-10 12:09:50 +00:00
Birunthan Mohanathas
8cb0a041e0 Changed: "Normal" z-position now stays on desktop by default 2011-11-10 11:50:47 +00:00
Birunthan Mohanathas
1e9d424c99 Made log messages more consistent. 2011-11-09 09:27:06 +00:00
Birunthan Mohanathas
f8f31a527e Switched from _snwprintf_s to _itow_s where possible. 2011-11-09 08:52:32 +00:00
Birunthan Mohanathas
a1e722181e More tweaks. 2011-11-08 19:11:31 +00:00
Birunthan Mohanathas
852163bf68 Tweaks. 2011-11-08 19:02:31 +00:00
Birunthan Mohanathas
dfd53fb158 Fixed infinite loop when a Rainmeter.exe is called with a bang containing square brackets (e.g. Rainmeter.exe !Bang "[Text]") 2011-11-08 18:19:34 +00:00
spx
569a151c6c - Switched from size()>0 to empty().
- Code cleanup.
2011-11-08 17:21:29 +00:00
Birunthan Mohanathas
f2f97743ef Fixed that new position is discarded when refreshing after !ZPos. 2011-11-08 13:15:03 +00:00
spx
a209bf15d0 - Fixed Button issue: http://rainmeter.net/forum/viewtopic.php?t=10274&p=59935
- Removed unneeded NULL checks.
- Other code tweaks and cleanups.
2011-11-08 10:32:57 +00:00
spx
3bf00bccd0 Minor tweak. 2011-11-06 00:10:39 +00:00
spx
2a166b520f Minor tweaks and cleanup. 2011-11-05 09:01:06 +00:00
spx
f945bacfb7 Minor tweaks. 2011-11-04 12:48:03 +00:00
spx
153b466abd - Fixed negative W/H issue: http://rainmeter.net/forum/viewtopic.php?t=8614&p=59732#p59732
- Code cleanup.
2011-11-03 09:27:07 +00:00
spx
22c36f8b49 Code cleanup. 2011-11-03 00:13:42 +00:00
spx
8339d22a0f Code cleanup. 2011-11-02 09:45:41 +00:00
spx
cecd111869 Improved performance on drawing image. (2-10 times faster in some cases) 2011-11-02 09:19:37 +00:00
spx
f1266f6815 Fixed a mistake on r1010. 2011-11-01 06:01:12 +00:00
spx
1aaa03308c Code cleanup. 2011-11-01 04:56:46 +00:00
spx
6644b81909 Code cleanup. 2011-10-31 07:42:18 +00:00
Birunthan Mohanathas
747f03ef5b Minor changes. 2011-10-30 09:36:52 +00:00
spx
635eafcc94 Code cleanup. 2011-10-30 01:39:19 +00:00
spx
ccd6061427 Fixed "Unable to load language: <path>\Languages\.dll" issue. 2011-10-29 11:15:58 +00:00
spx
1808930c5a Code cleanup. 2011-10-29 10:36:07 +00:00
spx
a336c916f6 Fixed crash when W is negative value: http://rainmeter.net/forum/viewtopic.php?f=14&t=10177 2011-10-27 10:55:32 +00:00
spx
ed2b80fee5 Fixed StartHidden issue: http://rainmeter.net/forum/viewtopic.php?f=14&t=10174 2011-10-27 00:02:40 +00:00
Birunthan Mohanathas
e8b9461541 Minor change. 2011-10-23 10:41:32 +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
3e7de9c573 - Manage Themes: Fixed that loaded wallpaper was not set permanently
- Fixed that default language detection failed on 64bit Rainmeter
- Installer now remembers language selection
- Fixed that Build.bat didn't work with TortoiseSVN 1.7 (recent version of TortoiseSVN now required to use Build.bat/UpdateVersion.bat)
2011-10-14 14:53:02 +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
Birunthan Mohanathas
2ad2df5252 Minor tweaks. 2011-10-09 08:01:31 +00:00
Birunthan Mohanathas
6e27b4834b Manage Skins: "Load order" text box now works in a more sensible manner (improved negative numbers handling) 2011-10-07 17:36:33 +00:00
spx
0de3d9532d Enumerates language dlls strictly. 2011-10-03 22:39:24 +00:00
Birunthan Mohanathas
98511e9be9 Minor changes. 2011-10-03 12:26:49 +00:00
Birunthan Mohanathas
ccb3793689 UI tweaks. 2011-10-02 14:53:44 +00:00
Birunthan Mohanathas
26a5c2c96f About dialog is now reopened as well when changing language. 2011-10-01 18:46:36 +00:00
Birunthan Mohanathas
4dd89b8372 Additional change for r985. 2011-10-01 17:55:33 +00:00
Birunthan Mohanathas
4f73f17cec Added ability to change language in Manage Settings. 2011-10-01 17:39:09 +00:00
spx
6dd79c451d Reduced system resource usage. 2011-10-01 06:27:20 +00:00
Birunthan Mohanathas
e1aafc9705 Added support for RTL languages. 2011-09-30 17:30:00 +00:00
Birunthan Mohanathas
6594246bf4 Manage Skins: Fixed that Position is not saved permanently (reset if skin is refreshed) 2011-09-30 16:49:49 +00:00
spx
4f47897a3c Code cleanup. 2011-09-29 17:54:42 +00:00
spx
ee5cafb69e Code cleanup. 2011-09-29 17:22:36 +00:00
spx
86fd454277 Code cleanup. 2011-09-29 17:14:51 +00:00
Birunthan Mohanathas
1493aec2a1 Partly reverted r975 (restored Rainmeter.dll). 2011-09-29 06:04:20 +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
573c96d4fe Additional change for r973. 2011-09-26 17:46:31 +00:00
Birunthan Mohanathas
477610f832 DynamicVariables are now supported with plugins on settings that are common to all measures (e.g. MaxValue). 2011-09-26 14:05:07 +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
a7cbc1a504 Minor changes. 2011-09-24 13:10:31 +00:00
spx
1609fb7f59 Minor fixes. 2011-09-24 13:04:44 +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
559d2d2d17 Manage Themes: Fixed that loading backup just reloaded current setup. 2011-09-18 07:38:14 +00:00
Birunthan Mohanathas
54cda8611c About Log now scales a little better with high DPI 2011-09-17 19:30:31 +00:00
spx
6cce1c2233 Fixed invalid state in context menu. (r948) 2011-09-10 23:01:24 +00:00
spx
e4ffc1bc6c Minor change for r948. 2011-09-10 22:31:05 +00:00
spx
a52abc05af Fixed that an uninitialized skin stays in memory when fatal error occurred. 2011-09-10 22:04:51 +00:00
spx
58a16ef66e Fixed that !WriteKeyValue fails if filepath includes ".." like "skin..ini". 2011-09-09 17:15:02 +00:00
Birunthan Mohanathas
f14d751604 - Added #CURRENTFILE# variable
- Changes to log strings
2011-09-09 16:31:55 +00:00
spx
3518dbf07e Manage:
- Fixed that the selected skin isn't loaded when clicking "Load" button or menu.
- Fixed that the selected skin tab isn't disabled correctly when unloading the skin via the skin context menu.
2011-09-08 23:10:41 +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
2e9f063cef Additional change for r940. 2011-09-08 15:37:33 +00:00
Birunthan Mohanathas
8b605c8fc5 Additional change for r940. 2011-09-08 14:46:49 +00:00
Birunthan Mohanathas
f17602ee1d - Manage Skins: Load order can now be changed
- Fixed that the PLAY/PLAYLOOP commands didn't work with relative paths
- Errors that used to display in a messagebox are now logged and shown in the About Log dialog (which is opened when an error occurs)
- Some minor tweaks
2011-09-08 14:39:25 +00:00
spx
6b06548260 Code cleanup. 2011-09-08 04:35:04 +00:00
spx
782fb0fba6 Code cleanup. 2011-09-06 08:41:42 +00:00
Birunthan Mohanathas
0566e67d54 About/Manage: Fixed that dialog fails to open on first click/bang. 2011-09-05 05:20:36 +00:00
spx
e258dc9137 Code cleanup. 2011-09-04 18:06:19 +00:00
Birunthan Mohanathas
1f8e3b81ec About: Fixed that tab contents weren't resized when reopening the (resized) dialog 2011-09-04 11:27:25 +00:00
Birunthan Mohanathas
78639bfe78 About Measures: The Value column now shows a non-scaled value up to 5 decimal points with trailing zeros removed. 2011-09-04 10:36:56 +00:00
Birunthan Mohanathas
3093a6a5fb About Measures: Skins listbox now grows with window. 2011-09-04 07:58:45 +00:00
Birunthan Mohanathas
8c1e7f2dfc Fixed that themes weren't loaded through Themes context menu if RainThemes was not installed. 2011-09-04 07:40:12 +00:00
spx
38b4c4d865 Code cleanup. 2011-09-03 21:51:25 +00:00
Birunthan Mohanathas
9d370f63e8 Reverted Script Unicode fix in r928 as it causes some problems with ANSI encoded files. 2011-09-03 18:19:43 +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