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
spx
ec49c6e588
Fixed a regression (in r776) that ImageCrop cannot treat a transparent part of the outside of the image.
2011-03-09 03:03:02 +00:00
spx
8ddc383ed1
- Added image caching system internally.
...
It would reduce memory usage in case that you use the same image file repeatedly on some meters. (Eg. Crop a part from same image by using ImageCrop.)
- Fixed an issue that Background image isn't drawn correctly when BackgroundMode=0 and tint option is set.
2011-03-08 19:39:04 +00:00
Birunthan Mohanathas
f19e76e6ec
Fixed that Measure=Registry crashes starting from r763.
2011-02-23 17:38:58 +00:00
spx
3d6615522b
Commented out unused code. (Reserved for future use.)
2011-02-21 16:16:24 +00:00
spx
9f152e0076
Removed unneeded codes, for VC2010.
2011-02-20 23:03:15 +00:00
spx
480a1bd1d6
Code cleanup.
2011-02-19 23:33:57 +00:00
spx
35f54fcf46
Small change for r770.
2011-02-19 21:38:29 +00:00
spx
606afe79e6
Fixed crash when AverageSize= is set in Measure.
2011-02-19 21:30:22 +00:00
spx
a2316446ca
Switched map/hash_map/set for caching to unordered_map/unordered_set.
2011-02-18 16:26:58 +00:00
spx
96f8407c74
Fixed an issue that Rainmeter crashes if bang is executed via exe during initializing the skins.
2011-02-16 14:46:17 +00:00
jsmorley
cb3a7d3a75
Fixes and issue with InputText plugin failing if a "config name" has a space in it.
2011-02-15 17:39:24 +00:00
spx
fe9fd9f476
Code cleanup.
2011-02-15 16:26:54 +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
Birunthan Mohanathas
b01465a20a
Minor changes.
2011-02-11 14:42:01 +00:00
spx
07d9b85500
Cleaned up project files.
2011-02-10 19:21:02 +00:00
Birunthan Mohanathas
6a5173c860
Upgrading development environment to Visual C++ 2010.
2011-02-10 16:09:05 +00:00
spx
e99a1cc808
Lua: Removed TableName.
2011-02-10 08:48:04 +00:00
spx
bf6d081600
Lua: Fixed an issue that unneeded stack elements aren't popped.
2011-02-09 06:10:25 +00:00
spx
1228e243cc
Reduced resource usage.
2011-02-07 09:38:27 +00:00
spx
1feea0dad4
Added iphlpapi.h again.
2011-02-07 08:10:47 +00:00
spx
b0af82a25d
Cleaned up header dependencies to avoid unnecessary compiling.
2011-02-07 08:02:12 +00:00
spx
b79d3e8521
Fixed minor access violation when closing About dialog.
2011-02-05 07:48:29 +00:00
spx
1115764ce4
Fixed minor access violation when exiting Rainmeter.
2011-02-05 05:55:01 +00:00
spx
32b0a93a43
Minor changes for Debug/Win32.
2011-02-05 04:22:42 +00:00
Birunthan Mohanathas
bf79f44e96
Cosmetic changes to code.
2011-02-03 18:09:24 +00:00
spx
3af4e14a4a
Removed duplicate Lua header files.
...
Code cleanup.
2011-02-03 18:03:29 +00:00
Birunthan Mohanathas
68225a261f
Some additional changes.
2011-02-03 16:07:34 +00:00
Birunthan Mohanathas
a8aa2825a2
Updated installer graphics and made some other minor changes.
2011-02-03 15:52:45 +00:00
spx
249e021001
Reverted r718.
2011-02-02 23:17:44 +00:00
Birunthan Mohanathas
7bd61751c9
Minor changes to About dialog.
2011-02-01 18:16:34 +00:00
spx
f4a16a1a0a
Fixed crash when freeing the LocalFont.
2011-01-31 19:57:59 +00:00
Birunthan Mohanathas
9d9e650e80
About dialog now remembers position and size for session and some minor cosmetic and usability improvements.
2011-01-31 07:08:43 +00:00
jsmorley
5ca200556a
Lua - Changed LUA_MAXCAPTURES (the number of captures in one pattern matching statement) from the default 32 to 256
2011-01-31 00:10:47 +00:00
spx
b2c8ad72d1
Additional fix for r727.
2011-01-30 16:32:07 +00:00
Birunthan Mohanathas
054bcd9796
Minor improvement to About dialog (The plugins list is now generated only when Plugins entry is selected, not on initialization. As a result, the About dialog opens considerably faster.).
2011-01-30 16:21:00 +00:00
spx
7b5330896f
Code cleanup.
2011-01-30 15:44:48 +00:00
spx
e4944fa99f
MeasureScript: Fixed memory leak when DynamicVariables=1.
2011-01-30 15:39:14 +00:00
Birunthan Mohanathas
a69e2e91d2
The print() function in Lua scripts now outputs to Rainmeter log (an alternative to the TO.LuaLog() function).
2011-01-30 13:04:17 +00:00
spx
251beb9e3a
Fixed an issue that GradientAngle doesn't work correctly in some GradientAngle values when AntiAlias=0.
2011-01-30 11:28:20 +00:00
Birunthan Mohanathas
4b30714520
- Fixed: Rainmeter crashes if the Lua GetStringValue() function returns an invalid value
...
- Fixed: Rainmeter crashes on initialization if Lua is invalid (e.g. syntax error)
- Fixed: Rainmeter crashes on mouse action if Lua file is not initialized
- Fixed: Measure=SCRIPT tries to process mouse actions even if corresponding function does not exist in the Lua file causing log to fill with 'nil value' warnings
- Mainly cosmetic changes to logging of erros in Measure=SCRIPT
2011-01-30 10:39:10 +00:00
spx
92eafce2dc
Disabled the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notification calls in all DLLs.
...
DisableThreadLibraryCalls Function
http://msdn.microsoft.com/en-us/library/ms682579.aspx
Note: Do not call "DisableThreadLibraryCalls" in a DLL which is statically linked to the CRT
http://support.microsoft.com/kb/555563/en-us
For plugin author:
If you need to implement DllMain entry point yourself, get rid of the #include "DisableThreadLibraryCalls.h" line.
2011-01-30 09:31:41 +00:00
spx
7ea3a762ac
- Fixed that r716 (precompiled header) doesn't work on x64.
...
- Now uses constructor initialization list in each class.
- TintedImage: Code cleanup.
2011-01-29 00:11:01 +00:00
spx
fdae154245
Fixed crash when the config is switched to the variant.
2011-01-28 18:06:54 +00:00
spx
78db448471
- Removed problematic setting from Lua headers.
...
- Removed unused locale strings from mparser.c. (They caused a problem on editing/compiling in some environments.)
2011-01-28 13:13:12 +00:00
spx
bf53fefc8d
Some Lua stuff now use precompiled header.
...
Note: Add #include line manually if glue/*.cpp files are generated automatically by using tolua++.
2011-01-28 11:22:24 +00:00
Birunthan Mohanathas
6445e42cf6
Some housekeeping.
2011-01-28 10:00:50 +00:00
spx
44b943d5ec
Code cleanup.
2011-01-28 08:22:18 +00:00
Birunthan Mohanathas
2aa4d62278
Defined _CRT_SECURE_NO_WARNINGS.
2011-01-27 19:24:09 +00:00
Birunthan Mohanathas
ce614da5f3
Fixed that !RainmeterSetVariable and !RainmeterWriteKeyValue are unable to set/write empty value (thanks spx!).
2011-01-27 15:23:15 +00:00
spx
435ab8123a
Code cleanup.
2011-01-24 10:43:03 +00:00
spx
0ad2ef9414
Code cleanup.
2011-01-24 10:15:05 +00:00
spx
d6789cc23f
Removed unnecessary code.
2011-01-23 14:27:23 +00:00
spx
3569412464
Code cleanup.
2011-01-23 14:24:34 +00:00
spx
84dba0c65a
Code cleanup.
2011-01-23 06:16:18 +00:00
spx
235841e01f
Added AutoScale=2 and "k" postfix to Meter=STRING.
...
----
For instance:
A=2800000000, B=0
- AutoScale=0
AutoScale is disabled. Uses Scale value. (Same as before.)
A="2800000000", B="0"
- AutoScale=1
Scales value by 1024. (Same as before.)
A="2.6 G", B="0.0 "
- AutoScale=2
Scales value by 1000.
A="2.8 G", B="0.0 "
- AutoScale=1k
Scales value by 1024, and uses kilo as the lowest unit.
A="2.6 G", B="0.0 k"
- AutoScale=2k
Scales value by 1000, and uses kilo as the lowest unit.
A="2.8 G", B="0.0 k"
----
2011-01-19 15:31:45 +00:00
spx
837488871b
Fixed an issue that BevelType doesn't work correctly in Meter. (Issue 178)
2011-01-18 13:01:04 +00:00
spx
7ae8f298f8
- Modified font caching. (Fixed an issue that LocalFont file is locked until exiting Rainmeter.)
...
- Disabled checked iterators in release mode. (_SECURE_SCL=0)
http://msdn.microsoft.com/en-us/library/aa985965.aspx
Note: _SECURE_SCL defaults to 0 in release mode in VC10(=VC2010).
2011-01-17 22:39:40 +00:00
spx
f0e2084c42
- Added skin related variables.
...
#CURRENTCONFIGX#
#CURRENTCONFIGY#
#CURRENTCONFIGWIDTH#
#CURRENTCONFIGHEIGHT#
- Code cleanup.
2011-01-16 15:51:23 +00:00
spx
8ae8a1b73d
Fixed PLAYSTOP case sensitivity.
2011-01-11 16:18:15 +00:00
spx
9c4f488d90
- Fixed an issue that the hand-cursor flickers frequently during moving the cursor.
...
- Code cleanup.
2011-01-08 07:28:48 +00:00
spx
89ea706055
Improved the drawing performance by using PixelFormat32bppPARGB instead of PixelFormat32bppARGB. (PARGB is faster than ARGB.)
2011-01-06 01:44:09 +00:00
spx
7c09acb889
Fixed crash when If***Action contains !RainmeterUpdate. (It caused an infinite loop.)
2011-01-04 15:34:19 +00:00
spx
365206e33a
Code cleanup.
2010-12-28 19:43:19 +00:00
spx
2fafb5dcdc
- Added !RainmeterUpdate/!RainmeterUpdateMeter(Group)/!RainmeterUpdateMeasure(Group).
...
- Changed Update= and UpdateDivider= behaviors. If you specify < 0 to them, measures/meters are not updated automatically.
2010-12-28 13:31:17 +00:00
spx
2e173b69d7
Code cleanup.
2010-12-25 08:51:44 +00:00
spx
a32ca014f7
- Commented out unused code.
...
- Code cleanup.
2010-12-25 08:43:26 +00:00
spx
34160d4038
Modified. (Added the workaround for MessageBox loops on MouseOverAction.)
2010-12-24 10:47:31 +00:00
spx
35174f0f4a
Reverted r680.
2010-12-24 10:06:25 +00:00
spx
c2b16bd47d
Added the workaround for MessageBox loops on MouseOverAction.
2010-12-24 09:57:32 +00:00
spx
9c75cf3423
Code cleanup.
2010-12-21 04:49:01 +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
b9ae3a31d8
Code cleanups for better Unicode support in several !bangs.
2010-12-17 00:09:37 +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
jsmorley
68ae1fe491
Updating CSPlugingInputText
...
Adding Rainmeter.exe.config file to root to support dependent .dll files for C@ plugins
Adding Dependencies folder in \Plugins to support dependent .dll files for C@ plugins
Changes to server core Rainmeter codes to better export variables for C# plugins
Changes to Build.py
Changes to installer
2010-12-16 17:04:14 +00:00
spx
aa3ad1fc8f
Changed DebugLog and LuaLog more reliably. (Fixed an issue that Rainmeter crashes if format parameter includes '%'.)
2010-12-15 22:03:36 +00:00
spx
e2d9a6cc71
Fixed: Now uses buffer strictly in DebugLog/LuaLog.
2010-12-14 15:11:26 +00:00
spx
8c169e4d21
MeasureScript: Additional fix for r663.
2010-12-13 11:47:03 +00:00
spx
cb839b7ce8
MeasureScript: Fixed an issue that Rainmeter crashes if either ScriptFile or TableName is not defined.
2010-12-13 10:54:41 +00:00
spx
13e9f54d2a
- MeasureScript: Added files that uses pre-compile header.
...
- Code cleanup.
2010-12-13 09:00:02 +00:00
spx
3fc3566937
- MeterImage: Added ScaleMargins option.
...
- MeterWindow: Changed !RainmeterPluginBang to allow specifying only MeasureName. If Arguments is not specified, "" (empty string) is given as args to plugin.
!RainmeterPluginBang "[MeasureName] (Arguments)"
2010-12-13 08:19:45 +00:00
spx
c469fce770
Changed: MeasureScript now uses pre-compile header.
2010-12-12 19:27:56 +00:00
mapeki
dc42b7e9c9
Some how these weren't committed before.
...
lua5.1.dll is here so so tolua++.exe can run. It actually generates most of the files in this folder.
The .tolua files are special files that the tolua++ exe uses to create the c++ code.
2010-12-12 17:18:36 +00:00
mapeki
c516bf8310
Added Lua Stuff
...
There are a few changes to the core Rainmeter code.
2010-12-12 17:08:36 +00:00
spx
191c12ecf6
Code cleanup.
2010-12-11 16:30:49 +00:00
Birunthan Mohanathas
42917f7d67
Some minor changes.
2010-12-11 10:31:19 +00:00
spx
fe22cfdf3d
Quick fix for http://rainmeter.net/forum/viewtopic.php?f=5&t=4059&p=39475#p39461
2010-12-11 05:27:01 +00:00
spx
54537c66b0
Code cleanup.
2010-12-09 06:05:17 +00:00
spx
9c24727749
- Reduced memory usage on BackgroundMode=2.
...
- Code cleanup.
2010-12-08 09:04:36 +00:00
spx
1d5490aa98
Code cleanup.
2010-12-08 06:10:22 +00:00
spx
3324084c7f
Fixed an issue that TrayMeasure doesn't work with Measure=PLUGIN.
2010-12-08 02:46:41 +00:00
Birunthan Mohanathas
f0f7bd9121
Removed useless code.
2010-12-07 18:12:13 +00:00
spx
bf861acbcc
Fixed an issue that skin window isn't redrawn when calling !RainmeterShowMeter/HideMeter bangs.
2010-12-07 06:07:42 +00:00
spx
f0eb6d5da0
- Improved error handling for creating TrayMeasure.
...
- Code cleanup.
2010-12-06 08:59:55 +00:00
spx
d125093e89
Added workaround for InputText plugin. (ShellExecuteEx fails when InputText is activated.)
2010-12-05 23:33:51 +00:00
Birunthan Mohanathas
6efbd23314
Adding ImageCrop and MeasureName/ImageName changes by spx.
2010-12-05 15:34:37 +00:00
spx
96c81ac516
- Added BackgroundMode=4 for tiling background image.
...
- Added tinting functions for Background.
- Added "ImageCrop" option to Meter=IMAGE/BAR/HISTOGRAM/ROTATOR and Background.
- Added "Tile" option to Meter=IMAGE.
- Some code cleanups.
2010-12-04 15:07:28 +00:00
spx
19294c4339
Minor change.
2010-11-28 22:20:27 +00:00
spx
62519fbdd5
MeasureDiskSpace: Improved total size detection for removable device.
2010-11-28 21:39:46 +00:00
spx
46829cbb6f
Fixed that Flip=1 is broken in Meter=HISTOGRAM.
2010-11-27 20:54:21 +00:00
spx
a0ae80cd04
Added image manipulation codes to Meter=BITMAP/BUTTON/HISTOGRAM and refactored them.
...
For BITMAP/BUTTON:
- Greyscale
- ImageTint
- ImageAlpha
- ColorMatrixN
- ImageFlip
Note: BITMAP and BUTTON are not able to support ImageRotate.
For HISTOGRAM:
- PrimaryGreyscale
- PrimaryImageTint
- PrimaryImageAlpha
- PrimaryColorMatrixN
- PrimaryImageFlip
- PrimaryImageRotate
- Secondary***
- Both***
2010-11-27 19:53:23 +00:00
Birunthan Mohanathas
674cebda64
Fixed that Windows 7 shows pixelated icon for About window when 'Use small icons' is set (added 16x16 image to window.ico).
2010-11-27 11:42:04 +00:00
Birunthan Mohanathas
559b5ae05f
About dialog now opens with Log selected as default. Changed DisableDrag=1/0 to DisableDragging=1/0.
2010-11-27 10:57:59 +00:00