Commit Graph

611 Commits

Author SHA1 Message Date
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
spx
fb004083d2 - SetOption: Fixed that new image isn't loaded if DynamicVariables=0.
- SetOption: Fixed that Rainmeter crashes if !SetOption is executed to Measure=Plugin.
- Code cleanup and cosmetic changes.
2011-07-27 14:18:02 +00:00
Birunthan Mohanathas
a76e8d1765 Missed a file in previous commit. 2011-07-27 13:21:55 +00:00
Birunthan Mohanathas
822c10060a - Added !SetOption/!SetOptionGroup bangs.
- Script: Added GetOption() function
2011-07-27 10:42:35 +00:00
Birunthan Mohanathas
23f4a31bf0 Script: Fixed that the value of the Script measure is not reset when an error occurs.
In the following case, for example, the value of the measure used to remain 10 even after an error. Now it will default to 0 on error.

function Initialize()
	i = 0
end

function Update()
	if i < 5 then
		i = i + 1
		return 10
	else
		i() -- error here, execution stops
		return 2
	end
end
2011-07-25 17:59:43 +00:00
Birunthan Mohanathas
b23217d840 Script: Fixed Lua crash on refresh when Update() in the script has an error. 2011-07-25 12:52:46 +00:00
spx
15eba97cba Minor tweaks and cosmetics. 2011-07-18 00:32:09 +00:00
spx
8515877c48 Tweaks. 2011-07-15 16:54:47 +00:00
spx
5e20238120 Tweaks. 2011-07-15 11:48:50 +00:00
spx
fdad6fb036 Minor tweaks. 2011-07-14 00:26:53 +00:00
spx
6ceacb0d98 Minor tweaks. 2011-07-12 13:37:31 +00:00
Birunthan Mohanathas
349ad952ad Script: ScriptFile may now be a relative path (e.g. ScriptFile=File.lua is now valid and equal to ScriptFile=#CURRENTPATH#File.lua) 2011-07-09 16:42:51 +00:00
Birunthan Mohanathas
f0fbc0f145 - Added !CommandMeasure bang. Instead of '!PluginBang "MeasureName Arguments' use '!CommandMeasure "MeasureName" "Arguments"'.
- Script: The !CommandMeasure argument must now be Lua code. For example:
!CommandMeasure "MeasureLuaScript" "someVar = 'hello'"
!CommandMeasure "MeasureLuaScript" "SomeFunc()"
2011-07-09 09:23:28 +00:00
spx
c2e3b6292d Additional change for r852,r856. Improved reading the network statistics from Rainmeter.stats.
Some cosmetic changes.
2011-07-08 22:50:02 +00:00
Birunthan Mohanathas
6c0ea88266 - Enabling some C++ optimization switches (/OPT:ICF, /OPT:REF, /GL)
- Excluding ExamplePlugin.dll from installer
2011-07-08 20:45:01 +00:00
spx
8867c94482 Cosmetic changes. 2011-07-07 23:25:45 +00:00
Birunthan Mohanathas
b99b275f44 Script:
- Added support for calling Lua functions with !PluginBang
- Removed old (undocumented) implementation for handling mouse actions
- Lua errors now contain the script file name only (instead of full path)
2011-07-07 16:18:39 +00:00
spx
9bc238f9f2 Additional change for r852. 2011-07-07 10:48:42 +00:00
Birunthan Mohanathas
bd7d787d93 - Renamed !RainmeterBangName to !BangName in log messages
- Removed SkinAuthor method from PluginBridge (not used anywhere, read Author from [Rainmeter] instead)
2011-07-06 20:31:20 +00:00
Birunthan Mohanathas
95fe545cc5 Script:
- Added GetVariable function [usage: GetVariable("VariableName")]
- Removed several unneeded exposed functions
- r853 broke Substitute on the Script measure, fixed
2011-07-06 20:12:05 +00:00
Birunthan Mohanathas
fa67b07a62 Lua:
- Removed GetValue() (which has never worked) and deprecated GetStringValue(). The measure value should be returned on Update() now.
- Some related tweaks and cosmetic changes
2011-07-06 10:21:18 +00:00
spx
4389edb8c1 Optimized ConfigParser. Reduced processing time on startup and on refreshing. 2011-07-06 09:00:44 +00:00
Birunthan Mohanathas
c7f9293e9c Script:
- GetMeter dynamically detects STRING meters now (no need to use tolua.cast any longer)
- Removed unneeded (and undocumented) functions to exposed to Lua
- Refactored tolua++ generated code
2011-07-05 13:41:05 +00:00
spx
9a9edbda2e Additional fix for r843. 2011-07-04 18:05:07 +00:00
spx
57bf54f9de Prevented from using "!RainmeterExecute". 2011-07-03 15:21:48 +00:00
Birunthan Mohanathas
ef65225dde Made "Rainmeter" optional in a bang. For example, !RainmeterShowMeter and !ShowMeter are now treated equally. 2011-07-03 08:58:53 +00:00
spx
341e9d2bd0 Removed trailing zeros when DynamicVariables=1 even if a value is such as "1.01000".
E.g.
 1.00000 -> 1
 1.01000 -> 1.01
 1.01001 -> 1.01001
2011-07-02 10:16:38 +00:00
spx
8522a15bf9 Improved "show desktop" detection.
Some cosmetic changes.
2011-06-23 13:29:51 +00:00
spx
b9cdc53430 Added a workaround for the system that the window size is changed incorrectly when the window is dragged over the upper side of the virtual screen. 2011-06-22 06:39:07 +00:00
spx
7163823971 Context Menu:
- Added a separator to between ini-files and folders in Configs menu.
- Other minor tweaks.
2011-06-09 18:59:16 +00:00
spx
a2396a7d0f Tweaks. 2011-06-08 23:56:27 +00:00
spx
d054ce8e5c Minor tweaks. 2011-06-06 12:27:19 +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
spx
0841328ea0 Tweaks. 2011-06-02 01:54:05 +00:00
spx
9a19d8808e Tweaks. 2011-05-27 18:39:57 +00:00
spx
68bc25ee82 Tweaks. (Uses CachedBitmap if image scaling isn't needed.) 2011-05-25 21:48:59 +00:00
Birunthan Mohanathas
2ba2e95736 NowPlayingPlugin: Added support for MusicBee, fixed Debug build, and updated Winamp SDK. 2011-05-24 18:20:35 +00:00
spx
31e3091e34 Reverted r815 and stopped changing the working directory for the plugins. 2011-05-23 20:21:19 +00:00
spx
3356448dbe Minor optimizations & fixes. 2011-05-22 16:02:43 +00:00
Birunthan Mohanathas
e13f3a3c2c Got rid of pcre linker warnings. 2011-05-16 09:24:13 +00:00
Birunthan Mohanathas
9447a38f00 Added a Rainmeter.props file to easily change to 64bit compiler across all projects (for VS2010 Pro, which has 64bit compiler by default).
This change has no effect on VC2010 Express users (i.e. Windows7.1SDK needs to be installed). Read the Building wiki entry for more info.
2011-05-14 07:56:18 +00:00
spx
a3572f3255 Tweaks. 2011-05-04 18:48:26 +00:00
Birunthan Mohanathas
6377db5724 Reverted r800/r801. Fixed r800 issue in a better way (thanks spx). 2011-05-02 11:58:02 +00:00
spx
04a7a5692f Fixed an issue that Measure=Registry returns wrong DWORD value. 2011-05-02 07:43:42 +00:00
Birunthan Mohanathas
cb14736cbd Tweaks. 2011-05-01 17:10:49 +00:00
Birunthan Mohanathas
710bce5ca4 Fixed: SkinPath is read from Rainmeter.ini in portable installations. 2011-05-01 13:29:09 +00:00
spx
9b32f4513a Fixed an issue that Roundline/"Shift"-parameters not working when Solid=0.
http://rainmeter.net/forum/viewtopic.php?f=14&t=7608
2011-04-27 11:35:25 +00:00
spx
3e11f95d6b Tweaked. 2011-04-26 11:03:08 +00:00
spx
8fbac4639b Tweaked. 2011-04-26 09:58:06 +00:00
spx
4aafa49a28 Tweaked. 2011-04-19 01:20:17 +00:00
spx
2a030c084c Now re-registers Rainmeter icon when Explorer was restarted. 2011-04-19 00:02:00 +00:00
spx
5246ca94c6 Cleaned up unneeded codes. 2011-04-17 12:19:47 +00:00
Birunthan Mohanathas
f66791253a Statistics now saved in Rainmeter.stats file in same folder as Rainmeter.ini 2011-04-16 20:05:14 +00:00
Birunthan Mohanathas
a9c0b76c2c Added Aero blur support. Documentation available at: http://rainmeter.net/RainCMS/?q=Skins_AeroBlur_beta 2011-04-08 18:14:32 +00:00
Birunthan Mohanathas
b92d8276d3 - Rainstaller now preserves statistics when applying theme
- Build.bat now checks "Program Files (x86)" if files don't exist in "Program Files"
2011-04-07 13:47:26 +00:00
spx
73f80e331f Cosmetic changes. 2011-03-29 21:19:02 +00:00
Birunthan Mohanathas
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +00:00
spx
0e0eb66cff Improved drawing performance. Now uses DIBSection bitmap for UpdateLayeredWindow. 2011-03-23 21:19:55 +00:00
Birunthan Mohanathas
a4b24d75ac - Uptime: Added AddDaysToHours=1/0 (default 1) to disable adding hours to days when %4 is not specified in Format=.
- Installer: Now supports silent installs. Switches and return values available at http://rainmeter.net/RainCMS/?q=Installation_beta
2011-03-23 19:19:45 +00:00