Commit Graph

669 Commits

Author SHA1 Message Date
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
JamesAC
aa45f4fc7b Added the ability to bypass any defined actions by using ctrl when clicking the tray icon 2011-09-03 14:29:17 +00:00
spx
6366233d66 Code cleanup. 2011-08-31 16:04:29 +00:00
JamesAC
d51fc12841 Holding Ctrl while clicking ignores LeftMouseDown and RightMouseUp actions, so the defaults, dragging and accessing context menu, are done instead. 2011-08-31 14:49:45 +00:00
spx
e721be6456 Fixed deadlock issue when About dialog is opened. 2011-08-31 11:06:35 +00:00
Birunthan Mohanathas
508f8f77ed - About/Manage: Fixed that tab background was always white (and ignored visual style) 2011-08-30 14:00:19 +00:00
spx
614eef6c3b - Added some info to error message from MathParser.
- Cosmetic changes.
2011-08-29 21:57:36 +00:00
spx
a1f0c4fd19 Some adjustment changes for menuitem. 2011-08-29 19:35:18 +00:00
spx
d5083961af Code cleanup. 2011-08-28 17:56:45 +00:00
spx
9823f16482 Newly added files now use precompiled header. 2011-08-28 16:55:47 +00:00
Birunthan Mohanathas
b11d1ab092 Minor changes. 2011-08-28 16:47:14 +00:00
spx
f84b44a9f0 Code cleanup. 2011-08-28 16:42:34 +00:00
spx
b52fd99949 Code cleanup. 2011-08-28 16:06:23 +00:00
Birunthan Mohanathas
2df0f6f7f6 - Settings are now preserved and a backup is created when loading themes through Manage
- Fixed that Manage/About didn't always appear on foreground
2011-08-28 14:08:48 +00:00
Birunthan Mohanathas
6629527e83 - Added Version tab to About dialog
- Fixed: Treeview in Manage Skins tab didn't update on Refresh All
- Fixed: Backup button in Manage Themes didn't work when path contained space
2011-08-28 12:28:00 +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
spx
2c7c53553b Additional change for r909 and code cleanup. 2011-08-20 04:55:29 +00:00
spx
c0579e3b24 Relocated some context menu items to the resource file. 2011-08-19 03:12:01 +00:00
spx
bf7fdad840 Fixed that the commands that start with "play" is not executed. 2011-08-18 04:05:54 +00:00
spx
12be2ffad1 Fixed PLAY command issue in r904. 2011-08-18 02:27:52 +00:00
spx
91654989ff Code cleanup. 2011-08-17 18:51:43 +00:00
spx
665d8e5422 Magic sequence: Fixed some infinite loop issues. 2011-08-17 18:16:13 +00:00
Birunthan Mohanathas
b6feabdfc8 - Added magic sequence """ to escape quotes in bang. Used as follows:
!SetOption StringMeter Text """This is a "quoted" string"""
- Minor tweaks
2011-08-17 05:56:46 +00:00
spx
fab4bdb088 Additional change for r897. 2011-08-13 10:03:16 +00:00
spx
82941f6618 Now checks the "show desktop" state periodically as before. 2011-08-10 14:13:53 +00:00
Birunthan Mohanathas
78b7a857c4 Script: print() now works like real/original Lua print(). 2011-08-09 14:26:19 +00:00
spx
31f040ed28 Fixed that Net measure Cumulative=1 doesn't work correctly because network statistics are gathered only once per minute.
Code cleanup.
2011-08-07 09:40:08 +00:00
spx
5cb6b0f71b Code cleanup and optimization for writing the skin settings individually. 2011-08-06 10:43:14 +00:00
spx
d300d469b0 Code cleanup. 2011-08-03 23:25:52 +00:00
spx
02251ed412 Additional change for r860. Improved writing the network statistics to
Rainmeter.stats.
2011-08-03 19:44:40 +00:00
spx
b41d94e684 Reverted to r888. 2011-08-02 01:20:05 +00:00
spx
74640d0fb2 Modified CMesureNet to ignore the unwanted interfaces.
Note: Recommend that you remove [Statistics] section from Rainmeter.ini and Rainmeter.stats beforehand. It's because there is a possibility that the interface index is different between old and new.
2011-08-01 21:05:56 +00:00
Birunthan Mohanathas
904ed76960 Additional change to r887. 2011-08-01 17:20:24 +00:00
Birunthan Mohanathas
5eef7a21c7 - Script: Return types are now checked explicitly. As a result, 'return 5' and 'return "5"' are not equal any longer. Only the former will respect NumOfDecimals, Scale, etc. now.
- NowPlayingPlugin: Accidentally removed "Previous" bang in r880, fixed.
2011-08-01 17:08:51 +00:00
Birunthan Mohanathas
cb4aa0ade3 Script: Fixed that returning "" in Update() displayed 0 due to r885. 2011-08-01 09:08:11 +00:00
Birunthan Mohanathas
6dfb307636 - Script: Fixed that AutoScale/Scale/Percentual/NumOfDecimals were not applied for MeasureName=ScriptMeasure
- NowPlayingPlugin: OpenPlayer bang with foobar2000 now opens foobar2000 maximized regardless of previous state
2011-07-31 08:58:43 +00:00
spx
b16d3d0762 RegExpSubstitute: Enabled "\0" for replacing to the string matched by the complete expression. 2011-07-30 22:11:31 +00:00
Birunthan Mohanathas
5c1334dbd6 Fixed that Rainmeter crashes when [] is in bang. E.g. !SetVariable test "blaa[]" 2011-07-29 17:46:21 +00:00
Birunthan Mohanathas
e74d6f4619 - Added ability to escape real variables and measures as follows: #*RealVar*# [*RealMeasure*]
- NowPlayingPlugin: Addition change to r880 OpenPlayer fix
- Removing tolua++ generation package files
2011-07-29 17:18:21 +00:00
JamesAC
d7dedcfc75 Adding support for RegExp in Substitute strings when RegExpSubstitute=1 is set. 2011-07-29 11:49:46 +00:00