Commit Graph

805 Commits

Author SHA1 Message Date
Birunthan Mohanathas
f48d892526 Fixed cursor flicker issue with some applications
Removed support for background transparency with RGB(255,0,255)
2012-04-17 09:36:29 +03:00
Birunthan Mohanathas
8332f8465e Removed NativeTransparency option (now always enabled) 2012-04-17 09:32:10 +03:00
Birunthan Mohanathas
174a612c49 Minor change 2012-04-15 18:31:05 +03:00
Birunthan Mohanathas
b8292f3ab7 Additional change to e139153 2012-04-15 18:27:51 +03:00
Birunthan Mohanathas
e139153d77 About Skins: Fixed ignored first update for measures 2012-04-15 17:47:41 +03:00
Birunthan Mohanathas
4a8bc1beaa Moved IfAction execution to PostUpdate 2012-04-15 15:22:44 +03:00
Birunthan Mohanathas
43f726271d Fixed typo 2012-04-10 18:33:55 +03:00
Birunthan Mohanathas
b670d5efdd Fixed mistake in previous commit 2012-04-09 20:53:07 +03:00
Birunthan Mohanathas
bb4bcbdce3 Disabled double update on initialization for measures 2012-04-09 20:50:46 +03:00
Birunthan Mohanathas
66a5579550 Minor changes 2012-04-09 20:27:49 +03:00
spx
4339a00780 Removed #include "Timer.h" (7168634) 2012-04-09 10:05:26 -07:00
Birunthan Mohanathas
1e978aa4b8 Fixed typo 2012-04-09 19:49:39 +03:00
Birunthan Mohanathas
7168634bb6 Disabled RTTI and removed dynamic_cast 2012-04-09 19:45:54 +03:00
spx
c6a382f4ab Removed /Ob1 option for fixing VS2010 optimization bug. 2012-04-09 06:53:00 -07:00
Birunthan Mohanathas
c69c56e42f Cleaned project files 2012-04-09 14:04:07 +03:00
spx
5615b412c9 Changed network stats format (Rainmeter.stats) 2012-04-08 07:00:17 -07:00
Birunthan Mohanathas
dc65323e90 Calc: Added rad function (degress to radians) and fixed sgn function 2012-04-08 16:52:07 +03:00
Birunthan Mohanathas
0f79d8317c Changed Time without Format= to default to "%H:%M:%S" 2012-04-07 20:05:16 +03:00
Birunthan Mohanathas
38ca3fc08c Additional change to 56679f0 2012-04-07 19:38:13 +03:00
spx
0bcd078525 Minor fix for 56679f0 2012-04-07 08:10:41 -07:00
Birunthan Mohanathas
584c03d153 Chaned Time without Format= to return timestamp instead of empty string (%H:%M:%S was returned prior to 70117876) 2012-04-07 17:42:39 +03:00
Birunthan Mohanathas
56679f0922 PerfMon.dll: Fixed issues with MaxValue 2012-04-07 14:25:38 +03:00
Birunthan Mohanathas
1a5f77254b Improved 8dd9b8e fix to handle temporary division by 0 cases 2012-04-07 10:06:58 +03:00
spx
16782e56e2 Minor fix for 8c3fd63 2012-04-06 11:46:46 -07:00
Birunthan Mohanathas
1e3df0e0bc Missed file in previous commit 2012-04-06 21:08:15 +03:00
Birunthan Mohanathas
8dd9b8e6f5 Changed Calc errors to be reported only once (not on each update) 2012-04-06 21:04:57 +03: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
ea67809d9b Replaced throw with Log where possible 2012-04-06 19:54:20 +03:00
Birunthan Mohanathas
df61f5c1f8 Removed support for several RAINMETER_QUERY messages 2012-04-06 15:32:36 +03:00
Birunthan Mohanathas
1e4513e9c6 Cosmetics 2012-04-06 15:31:00 +03:00
Birunthan Mohanathas
c663bde9cc Removed support for TrayExecuteL and TrayExecuteDL 2012-04-06 15:28:39 +03:00
Birunthan Mohanathas
ba239ffeea Changed all numerical options or numerical parameters of bangs to accept formulas 2012-04-06 15:16:54 +03:00
Birunthan Mohanathas
22c5d6a340 Changed to check for updates from GitHub rather than Google Code 2012-04-05 13:27:34 +03:00
jsmorley
da8b11351d Added !Log bang to write to the Rainmeter log 2012-04-02 10:47:13 -04:00
Brian
7d0706c56a Added OnCloseAction 2012-03-31 11:55:56 +03:00
spx
6d79b7efa4 Fixed that X/Y/Hidden is retained even if MeterStyle is changed by using !SetOption etc. 2012-03-26 13:40:07 -07:00
Birunthan Mohanathas
fb5a425eb8 PerfMon.dll: Fixed incorrect measure value (http://rainmeter.net/forum/viewtopic.php?f=14&t=11599) 2012-03-26 19:13:00 +03:00
spx
2f2f5e6efa Code cleanup 2012-03-26 19:11:54 +03:00
spx
fa591bdf60 Code cleanup 2012-03-26 19:10:36 +03:00
Birunthan Mohanathas
db52d3d575 Cosmetic changes to resources 2012-03-26 18:49:31 +03:00
Birunthan Mohanathas
e09085137d Minor change 2012-03-26 18:36:30 +03:00
spx
8e4d37a8ea - Now retries UpdateLayeredWindow if it fails for some reason. (E.g. when SetLayeredWindowAttributes is called by other application process.)
- Replaced Get(Set)WindowLong with Get(Set)WindowLongPtr.
- Code cosmetics.
2012-03-14 02:52:35 +00:00
Birunthan Mohanathas
476eaf1679 Script: Fixed that SKIN:ParseFormula didn't work with numbers
NowPlaying.dll: Fixed a few TagLib memory leaks.
2012-03-12 18:11:10 +00:00
Birunthan Mohanathas
63c42fe3a5 Script: Replaced ReadString/ReadNumber with GetOption/GetNumberOption. 2012-03-11 09:59:48 +00:00
Birunthan Mohanathas
db05adaf2b Lua: Upgraded to 5.1.5. 2012-03-10 07:09:53 +00:00
Birunthan Mohanathas
13e5af0f17 Lua: Object tables were left on stack, fixed. 2012-03-10 07:03:19 +00:00
Birunthan Mohanathas
e2a736ed83 Missed files in r1241. 2012-03-09 13:24:07 +00:00
Birunthan Mohanathas
e196ac08db Lua: Disabled debug library. 2012-03-09 13:19:49 +00:00
Birunthan Mohanathas
ad2a986e88 Cosmetics. 2012-03-09 10:41:46 +00:00
Birunthan Mohanathas
7767300379 - Refactored Lua C++ bindings
- Removed tolua++
2012-03-09 10:28:25 +00:00
Birunthan Mohanathas
cea569c0b6 !Move/!MoveMeter: Added support for formulas [Smurfier] 2012-03-08 18:34:30 +00:00
Birunthan Mohanathas
81540a88d8 Script: Removed measure:ReadFormula() and changed measure:ReadNumber() to read both numbers and formulas. 2012-03-08 15:52:51 +00:00
Birunthan Mohanathas
55a1ec7e27 Script: Added SKIN:ParseFormula() 2012-03-08 15:46:36 +00:00
Birunthan Mohanathas
dca935f6ff Script: Added measure:ReadString(), measure:ReadNumber(), measure:ReadFormula() 2012-03-08 15:42:46 +00:00
Birunthan Mohanathas
04048a6325 Cleanup. 2012-03-08 15:19:05 +00:00
Birunthan Mohanathas
3905a71af3 !SetWallpaper: Fixed that didn't work on Windows 7 with .png images. 2012-03-08 05:21:11 +00:00
Birunthan Mohanathas
4a7ef7508f Minor tweaks and cosmetics. 2012-03-02 10:04:08 +00:00
jsmorley
0456e20cea Fixed misspelled text arguments in error logging. 2012-02-24 21:53:08 +00:00
Birunthan Mohanathas
99ff48497b Cleanup. 2012-02-23 16:49:17 +00:00
Birunthan Mohanathas
ef55909da2 About Skins: Variables now sorted in alphabetical order. 2012-02-23 16:33:05 +00:00
Birunthan Mohanathas
1121f2659a About Skins: Fixed crash with XP (http://rainmeter.net/forum/viewtopic.php?f=14&t=11384) 2012-02-23 16:01:55 +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
9bc8f2a1ec Minor changes. 2012-02-21 09:38:11 +00:00
Birunthan Mohanathas
7599af8583 About Log and Skins: Tooltips now displayed when hovering over clipped columns. 2012-02-21 09:32:44 +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
24598c0ca8 Minor changes. 2012-02-20 18:46:36 +00:00
Birunthan Mohanathas
2b55ded523 Additional changes to r1207. 2012-02-20 17:54:15 +00:00
Birunthan Mohanathas
9683b8a8bf About dialog:
- Renamed Measures tab to Skins
- Added support for viewing variables under new Skins tab
2012-02-20 17:27:00 +00:00
spx
3254520ced Added workaround for the issue that skins disappear when resuming from sleep mode.
http://rainmeter.net/forum/viewtopic.php?f=5&t=11313
2012-02-20 15:33:13 +00:00
Birunthan Mohanathas
0fec35edaa Cosmetics. 2012-02-20 14:49:38 +00:00
spx
b0046d2968 Cosmetic changes. 2012-02-20 09:37:46 +00:00
jsmorley
3c98527338 Add: Formulas now allowed in the following settings:
LineWidth
LineLength
StartAngle
RotationAngle
Angle
ImageRotate
MinValue
MaxValue
IfAboveValue
IfEqualValue
IfBelowValue
2012-02-19 15:45:43 +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
71402a8d48 Fixed crash when !EnableMeasure generates error log message. 2012-02-15 07:24:48 +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
d20299b87a Fixed mistake. 2012-02-14 18:05:51 +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
73f56cf50c Fixed that !SetOptionGroup doesn't work with Measures. 2012-02-11 06:43:34 +00:00
spx
bdb294893c Now skin is deactivated if the Rainmeter version is less than the AppVersion value. 2012-02-10 23:28:11 +00:00
spx
4bd8e7db7d Added workaround for loading C# plugins. (For some reason, C# x86 plugin with uncanonicalized path is not loaded correctly in Win7 32bit/WOW64.)
http://rainmeter.net/forum/viewtopic.php?f=18&t=239&start=30#p56921
http://rainmeter.net/forum/viewtopic.php?f=18&t=239&start=80#p64237
2012-02-09 08:57:20 +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
spx
1e88fe1db3 Minor code tweaks. 2012-02-07 08:32:37 +00:00
spx
30ea472c51 !SetWallpaper: Added file check. 2012-02-04 16:51:14 +00:00
Birunthan Mohanathas
34effcfba0 Fixed build. 2012-02-04 16:13:04 +00:00
Birunthan Mohanathas
97d69abc47 Minor change. 2012-02-04 16:06:29 +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
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