Commit Graph

347 Commits

Author SHA1 Message Date
Birunthan Mohanathas
9fb14b032c Additional change to cb0fd82 2012-05-20 18:33:15 +03:00
Birunthan Mohanathas
cb0fd823e7 Added support for @Resources 2012-05-20 17:51:15 +03:00
Birunthan Mohanathas
ef48f74a9b Fixed handling for command-line bangs starting with "[" 2012-05-17 11:30:22 +03:00
Birunthan Mohanathas
17ce199271 Fixed bangs using "[[Measure]]" 2012-05-14 18:27:43 +03:00
Birunthan Mohanathas
b80fe5dbd1 Tweaks 2012-05-13 12:30:20 +03:00
Birunthan Mohanathas
8a8aa98791 Fixed crash with bangs through command-line and WM_COPYDATA 2012-05-12 15:08:47 +03:00
Birunthan Mohanathas
c1c4256a68 Fixed Group bangs for skins 2012-05-12 14:45:11 +03:00
Birunthan Mohanathas
854b925ce9 Tweaked bang handling code 2012-05-08 16:53:24 +03:00
Birunthan Mohanathas
2fcc13d52b Fixed mistake in efd051c 2012-05-07 13:59:18 +03:00
Birunthan Mohanathas
efd051c4af Fixed regression with commands in de10352 2012-05-07 07:42:12 +03:00
Birunthan Mohanathas
de10352cbd Made "!Execute" optional in bangs 2012-05-06 22:27:59 +03:00
Birunthan Mohanathas
a93c02ef84 Tweaks 2012-05-05 15:59:35 +03:00
Birunthan Mohanathas
2974b2a91e Added Rainmeter.data 2012-05-05 14:45:34 +03:00
Birunthan Mohanathas
8332f8465e Removed NativeTransparency option (now always enabled) 2012-04-17 09:32:10 +03:00
Birunthan Mohanathas
7168634bb6 Disabled RTTI and removed dynamic_cast 2012-04-09 19:45:54 +03:00
spx
16782e56e2 Minor fix for 8c3fd63 2012-04-06 11:46:46 -07:00
Birunthan Mohanathas
8c3fd63ffb Tweaks 2012-04-06 20:54:45 +03:00
Birunthan Mohanathas
873b67571a Tweaks 2012-04-06 20:01:45 +03:00
Birunthan Mohanathas
c663bde9cc Removed support for TrayExecuteL and TrayExecuteDL 2012-04-06 15:28:39 +03:00
jsmorley
da8b11351d Added !Log bang to write to the Rainmeter log 2012-04-02 10:47:13 -04:00
spx
fa591bdf60 Code cleanup 2012-03-26 19:10:36 +03:00
jsmorley
0456e20cea Fixed misspelled text arguments in error logging. 2012-02-24 21:53:08 +00:00
Birunthan Mohanathas
f6d6760caf - Installer: .NET 2.0 is now a requirement
- illustro: Changed to use scalable background
2012-02-22 10:03:51 +00:00
Birunthan Mohanathas
b60d7bdd90 Fixed crash that could occur when using RmExecute from separate thread (in WebParser) 2012-02-22 06:42:52 +00:00
spx
bb865ec514 Cosmetic changes. 2012-02-21 19:15:10 +00:00
Birunthan Mohanathas
876817bc11 - About Log and Skins: Added CTRL+C support to copy third column
- Cosmetics
2012-02-21 09:03:16 +00:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
Birunthan Mohanathas
eca9250655 !WriteKeyValue: Fixed that formulas didn't work. 2012-02-19 13:16:21 +00:00
Birunthan Mohanathas
669ddfc09d !CommandMeasure: "Measure Args" is now accepted for backwards compatibility ("Measure" "Args" is preferred!) 2012-02-18 13:12:01 +00:00
Birunthan Mohanathas
b48791dd58 Some minor fixes. 2012-02-16 17:38:45 +00:00
Birunthan Mohanathas
cc211053be Additional change for r1183. 2012-02-15 15:23:28 +00:00
spx
6fec1dc759 Additional change for r1191. 2012-02-15 07:07:50 +00:00
spx
b786c12bac Fixed crash when a bang doesn't contain config name. 2012-02-15 05:05:13 +00:00
spx
dbd43ddfbc - Changed an interval of writing network statistics from a minute to two minutes.
- Code cosmetic changes.
2012-02-15 02:51:27 +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
Birunthan Mohanathas
2c6ed8ed69 - Manage/About dialogs: Fixed that keyboard commands didn't work
- Window message API: Partly broken since r1157, fixed
- Moved all functionality from Rainmeter.exe into Rainmeter.dll
2012-02-14 17:00:07 +00:00
spx
82e8c6e307 Added workaround for bang with trailing backspace.
http://rainmeter.net/forum/viewtopic.php?t=11229&p=64075
2012-02-08 01:52:54 +00:00
spx
340570437e Fixed that About dialog is not updated when skin is closed.
http://rainmeter.net/forum/viewtopic.php?f=14&t=11247
2012-02-08 00:53:43 +00:00
jsmorley
94b1145f7a Fixed for !DeactivateConfig. Default of current config broken in 1172. 2012-02-07 19:13:59 +00:00
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
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
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
fd48b9f24a MathParser: Fixed issue with measure names less than 6 chars. 2012-01-27 15:36:46 +00:00
Birunthan Mohanathas
33d447a907 MathParser: Converted to use WCHAR. 2012-01-23 09:30:51 +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
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
spx
3bebd7002a Minor tweaks. 2011-12-09 19:49:06 +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
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
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
spx
02f2d51b41 Minor tweaks. 2011-11-24 00:30:56 +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
b02371276f Minor tweaks. 2011-11-16 16:47:20 +00:00
spx
bbe733b437 Code tweaks and cleanups. 2011-11-10 13:44:19 +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
f8f31a527e Switched from _snwprintf_s to _itow_s where possible. 2011-11-09 08:52:32 +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
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
2a166b520f Minor tweaks and cleanup. 2011-11-05 09:01:06 +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
Birunthan Mohanathas
e8b9461541 Minor change. 2011-10-23 10:41:32 +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
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
4f47897a3c Code cleanup. 2011-09-29 17:54:42 +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
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
559d2d2d17 Manage Themes: Fixed that loading backup just reloaded current setup. 2011-09-18 07:38:14 +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
e258dc9137 Code cleanup. 2011-09-04 18:06:19 +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
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
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
f84b44a9f0 Code cleanup. 2011-08-28 16:42:34 +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
02251ed412 Additional change for r860. Improved writing the network statistics to
Rainmeter.stats.
2011-08-03 19:44:40 +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
Birunthan Mohanathas
822c10060a - Added !SetOption/!SetOptionGroup bangs.
- Script: Added GetOption() function
2011-07-27 10:42:35 +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
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
8867c94482 Cosmetic changes. 2011-07-07 23:25:45 +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
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
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
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
Birunthan Mohanathas
6377db5724 Reverted r800/r801. Fixed r800 issue in a better way (thanks spx). 2011-05-02 11:58:02 +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
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
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +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
spx
b0af82a25d Cleaned up header dependencies to avoid unnecessary compiling. 2011-02-07 08:02:12 +00:00
spx
249e021001 Reverted r718. 2011-02-02 23:17:44 +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
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