Commit Graph

348 Commits

Author SHA1 Message Date
Birunthan Mohanathas
6535f828f9 Minor change 2012-03-26 19:13:47 +03: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
Birunthan Mohanathas
1eb8e1b46a SysInfo.dll: Fixed messed up retrun value in some cases 2012-03-26 19:08:10 +03:00
Birunthan Mohanathas
51cddb00f8 PerfMon.dll: Updated to new API 2012-03-26 18:54:57 +03:00
Birunthan Mohanathas
f51f2aac24 SysInfo.dll: Fixed regression from previous commit 2012-03-26 18:53:46 +03:00
Birunthan Mohanathas
9430c634d9 SysInfo.dll: Updated to new API 2012-03-26 18:52:17 +03:00
Birunthan Mohanathas
db52d3d575 Cosmetic changes to resources 2012-03-26 18:49:31 +03:00
Birunthan Mohanathas
0a632ea749 FolderInfo.dll: Updated to new API and code cosmetics 2012-03-26 18:37:17 +03: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
a57d75399c NowPlaying.dll: Added support for types NUMBER and YEAR 2012-03-12 12:01:12 +00:00
Birunthan Mohanathas
e5f5ea41cb NowPlaying.dll:
- Fixed that invalid PlayerName= caused crash
- Fixed that PlayerType=COVER didn't work with iTunes
2012-03-02 12:27:37 +00:00
Birunthan Mohanathas
c965014a17 Minor change. 2012-02-22 15:06:19 +00:00
Birunthan Mohanathas
37ef93f185 - NowPlaying.dll: Additional change for r1201 for WMP
- Updated languages
2012-02-22 14:34:57 +00:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
spx
b0046d2968 Cosmetic changes. 2012-02-20 09:37:46 +00:00
Birunthan Mohanathas
57025a5434 NowPlaying.dll: TrackChangeAction executed on skin refresh, fixed. 2012-02-19 12:35:49 +00:00
Birunthan Mohanathas
03829fe739 WebParser.dll: Updated to new API (dynamic variables not supported yet) 2012-02-18 18:08:18 +00:00
Birunthan Mohanathas
e34adf7618 WebParser.dll: Reduced binary size. 2012-02-18 16:02:10 +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
b26acbb5b8 Installer: Workaround for failed admin detection in very rare cases 2012-02-15 15:37:24 +00:00
Birunthan Mohanathas
cc211053be Additional change for r1183. 2012-02-15 15:23:28 +00:00
Birunthan Mohanathas
3acb191e56 Removed accidentally committed test code. 2012-02-14 19:36:54 +00:00
Birunthan Mohanathas
9bdf3ef167 Further improvements to r1183. 2012-02-14 19:34:00 +00:00
Birunthan Mohanathas
4d814bbd58 Additional change to r1183. 2012-02-13 19:01:17 +00:00
Birunthan Mohanathas
afa1c7cc20 RecycleManager.dll:
- Fixed that continuous high CPU usage occurs when recycle bin has a lot of root items
- Removed support for the Drives option
2012-02-13 16:45:11 +00:00
Birunthan Mohanathas
a9ee55b194 NowPlaying.dll: Fixed that PlayerType=COVER did not work when PlayerName was changed with !SetOption/!SetVariable 2012-02-12 15:03:38 +00:00
spx
ec2b19f0dc CoreTemp: Fixed issue: http://rainmeter.net/forum/viewtopic.php?f=14&t=11257 2012-02-09 04:14:41 +00:00
Birunthan Mohanathas
0b57333dd8 Added C++ plugin SDK. 2012-02-04 13:00:49 +00:00
Birunthan Mohanathas
66ce911478 Removed accidentally committed test code. 2012-02-04 11:11:13 +00:00
Birunthan Mohanathas
87df66ffee Added C# SDK 2012-02-04 10:39:04 +00:00
Birunthan Mohanathas
b1c8f97409 - AdvancedCPU.dll: Fixed memory leak
- CoreTemp.dll: Fixed memory leak since r1111
2012-02-04 08:52:56 +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
798ea5d010 NowPlaying: Fixed memory leak in TagLib. 2012-02-02 12:49:36 +00:00
Birunthan Mohanathas
85e59b5583 New plugin API: Added rm parameter to Initialize. 2012-02-02 07:39:14 +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
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
Birunthan Mohanathas
055d64b605 Updated C# stuff. 2012-01-21 15:52:28 +00:00
Birunthan Mohanathas
c3ed2e5fa3 Reintegrated 2.3 branch into trunk 2012-01-08 17:35:29 +00:00
Birunthan Mohanathas
0d9cfdcadb NowPlaying.dll: Fixed minor SetVolume inaccuracy with Winamp 2012-01-01 18:07:24 +00:00
Birunthan Mohanathas
0aa3d7dd7d Additional change to r1098. 2012-01-01 13:26:29 +00:00
Birunthan Mohanathas
131a3424b5 Process.dll: Changed return value when process not active to -1 (was 0) 2012-01-01 13:10:51 +00:00
Birunthan Mohanathas
71b8d6395d Reverted trunk to r1085. 2011-12-30 17:18:34 +00:00
Birunthan Mohanathas
9856b5138a Missed a file. 2011-12-30 16:42:40 +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
bfbb0ca6f8 Added Process plugin. 2011-12-16 19:53:12 +00:00
Birunthan Mohanathas
5d20dcbddd NowPlaying.dll: Some tweaks. 2011-11-19 12:06:51 +00:00
Birunthan Mohanathas
d3a2a8a137 NowPlaying.dll: iTunes shuffle state change now detected immediately. 2011-11-19 11:44:04 +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
10f7504b86 CoreTemp.dll: Fixed that Scale, NumOfDecimals, etc. didn't work with MeasureName=SomeCoreTempMeasure. This change may slightly change the display of results (e.g. CpuSpeed will now be displayed without decimals by default, while it always showed two decimals previously) 2011-11-08 05:42:54 +00:00
Birunthan Mohanathas
a1d77db896 NowPlaying.dll: Fixed some bangs caused iTunes to crash when no track is playing 2011-11-06 08:42:56 +00:00
Birunthan Mohanathas
c8e4608b41 - NowPlaying.dll/iTunesPlugin.dll: Fixed incompatibility with iTunes controllers
- NowPlaying.dll: Removed support for caching cover art
2011-11-05 17:52:53 +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
7091b46689 iTunesPlugin: Same fix as r997. 2011-10-12 10:08:37 +00:00
Birunthan Mohanathas
21f55c0ebb NowPlaying: Fixed that PlayerName=iTunes didn't work with iTunes 10.5 2011-10-12 09:46:10 +00:00
Birunthan Mohanathas
6820c67a80 WebParser: Fixed that matching failed with Codepage= other than 0 and 65001 in some cases due to r972 2011-10-10 08:20:31 +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
8ca0d0a830 WebParser: Fixed that RegExp matching fails if data contains embedded NULLs 2011-09-24 13:54:24 +00:00
Birunthan Mohanathas
a898f08c08 Fixed that the "SetVolume 100" bang didn't work with Winamp. 2011-09-17 09:38:12 +00:00
Birunthan Mohanathas
f887245a50 NowPlayingPlugin: Some tweaks to CAD interface. 2011-09-11 12:14:52 +00:00
Birunthan Mohanathas
75c8f52aa0 NowPlayingPlugin: Added SHUFFLE/REPEAT support to foobar2000. 2011-09-11 10:34:06 +00:00
Birunthan Mohanathas
6b5ca293e8 NowPlayingPlugin: Added SHUFFLE and REPEAT types and accompanying SetShuffle and SetRepeat bangs 2011-09-11 08:22:07 +00:00
Birunthan Mohanathas
d598c56b76 NowPlayingPlugin: Minor tweaks. 2011-09-08 12:42:03 +00:00
Birunthan Mohanathas
6debf4b780 NowPlayingPlugin: Minor changes. 2011-08-21 13:24:24 +00:00
Birunthan Mohanathas
c8694ccf16 WebParser: Errors and warnings are now logged as errors and warnings (instead of as debug) 2011-08-19 13:33:49 +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
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
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
45007fc8d8 NowPlayingPlugin:
- Fixed that the OpenPlayer bang didn't work correctly since r848
- Fixed that the "SetPosition +n" bang didn't work correctly
2011-07-29 10:42:10 +00:00
Birunthan Mohanathas
c925f77c11 NowPlayingPlugin:
- foobar2000 now supports the SetPosition bang (foo_rainmeter.dll 1.0.1 required)
- Fixed that TITLE/ARTIST/ALBUM was a space when empty (i.e. " " instead of "") in foobar2000
2011-07-24 16:40:20 +00:00
Birunthan Mohanathas
8954799483 NowPlayingPlugin: Fixed that track title didn't update when playing a radio stream with Winamp. 2011-07-24 15:31:33 +00:00
Birunthan Mohanathas
a639eb7cc1 NowPlayingPlugin: iTunes quits are handled a little more gracefully now (i.e. iTunes should now quit immediately without lag) 2011-07-17 10:36:04 +00:00
Birunthan Mohanathas
20e2a53324 NowPlayingPlugin: Minor changes. 2011-07-15 15:18:02 +00:00
Birunthan Mohanathas
0be7eb3f79 Minor tweaks. 2011-07-14 10:12:02 +00:00
spx
fdad6fb036 Minor tweaks. 2011-07-14 00:26:53 +00:00
spx
c776cff348 FolderInfo: Fixed an issue that InfoType=FolderSize doesn't return a value larger than 4GB. 2011-07-11 05:35:15 +00:00
Birunthan Mohanathas
a74ee23da3 NowPlayingPlugin: Fixed PlayPause issue with MusicBee. 2011-07-10 09:30:51 +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
Birunthan Mohanathas
8ae8a68547 NowPlayingPlugin:
- Minor improvements to CAD interface
- Fixed: TITLE was empty when listening to radio stations with Winamp
- Fixed: Metadata may not be updated until full refresh after closing one of multiple NowPlaying based skins
2011-07-01 20:34:12 +00:00
spx
1fbcf6ef74 Added support code for r839 when using CodePage=1200 with an incorrect string. 2011-06-30 09:18:00 +00:00
spx
4bfbb120df WebParser: Added support code for CodePage=1200(UTF-16LE). 2011-06-30 09:04:49 +00:00
Birunthan Mohanathas
c451aba194 NowPlayingPlugin:
- Added PlayerType=STATUS (returns 1 when player is open, 0 when closed)
- Winamp interface: Fixed that file paths over about 100 chars did not display all metadata
- CAD interface: Added workaround for issue caused by Rainmeter running as elevated and player running as normal process (Windows Vista+)
2011-06-25 12:44:33 +00:00
Birunthan Mohanathas
d633f4b586 NowPlayingPlugin:
- Added preliminary support to display lyrics (PlayerType=LYRICS)
- Applied r825 fix on TrackChangeAction= (sends bang to correct window without the need of #CURRENTCONFIG#)
- Some refactoring
2011-06-19 14:58:48 +00:00
Birunthan Mohanathas
6aa004eb22 NowPlayingPlugin:
- Fixed that PlayerName=, TrackChangeAction=, and DisableLeadingZero= were global (i.e. only usable from the first loaded skin)
- Code refactoring and cleanup
2011-06-17 19:07:06 +00:00
Birunthan Mohanathas
67cc4c7c6c NowPlayingPlugin:
- Added interface to receive MSN/Windows Live Messenger 'Listening to' notifications sent by various players (e.g Media Player Classic)
- Changes to CAD interface to allow proper supports for players other than MusicBee (e.g. VLC)
- Fixed crash when using the WinAmp interface in multiple skins
2011-06-12 10:05:37 +00:00
Birunthan Mohanathas
62d441bd3d NowPlayingPlugin: Added SetPosition and Pause bangs plus some tweaks. 2011-06-09 09:47:55 +00:00
spx
62c0268fef WebParser: Changed FinishAction to be sent the !bang to the appropriate skin without #CURRENTCONFIG#. 2011-06-04 08:39:05 +00:00
Birunthan Mohanathas
72f5d55090 NowPlayingPlugin: Minor tweaks. 2011-05-31 13:15:53 +00:00
Birunthan Mohanathas
3268c774d2 NowPlayingPlugin: Improved MusicBee & MediaMonkey support and fixed that the ClosePlayer bang with iTunes does not always work. 2011-05-28 07:50:33 +00:00
Birunthan Mohanathas
01b3c31477 NowPlayingPlugin: Added support for MediaMonkey. 2011-05-25 14:04:52 +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
Birunthan Mohanathas
7ae737fc0f Fixed minor bug. 2011-05-22 16:13:14 +00:00
Birunthan Mohanathas
7dd3bb1ed4 Installer: Now removes %TEMP%\Rainmeter-Cache on uninstall.
NowPlayingPlugin: Fixed crash on refresh when the plugin is used in multiple skins with different players.
2011-05-22 14:45:54 +00:00
Birunthan Mohanathas
3ba7d39bc4 NowPlayingPlugin: Improved handling of cached album art and fixed that some tracks don't display metadata with Winamp. 2011-05-22 11:05:23 +00:00
Birunthan Mohanathas
ef97fb2435 NowPlayingPlugin: Added PlayerType=FILE and fixed that TrackChangeAction is executed when track metadata is changed. 2011-05-22 08:06:43 +00:00
Birunthan Mohanathas
6cd327e86c Committing NowPlaying plugin. Because it requires VS2010 Pro to compile, it is not built by default. 2011-05-21 18:17:37 +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
Birunthan Mohanathas
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +00:00
jsmorley
5882f12c49 Update to VirtualDesktops plugin from Patrick at Dexpot 2011-03-27 18:04:11 +00:00
spx
9f152e0076 Removed unneeded codes, for VC2010. 2011-02-20 23:03:15 +00:00
spx
6c36a662e5 CoreTemp: Fixed mutex handle leak. 2011-02-19 11:12:06 +00:00
spx
84c91cb1ba WebParser now logs WININET error string. (errorcode > 12000) 2011-02-18 13:49:27 +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
Birunthan Mohanathas
cde1e517ac FolderInfo.dll now returns size in bytes. If using InfoType=FolderSizeStr (which until now autoscaled the value internally), AutoScale=1 should be added to the meter(s). While this does change behaviour, it allows for the use of Scale, NumOfDecimals, etc. that weren't possible prior to this change (without an extra Calc measure). 2011-02-09 05:45:01 +00:00
spx
f505c30828 Minor change for Debug/Win32. 2011-02-07 08:45:47 +00:00
Birunthan Mohanathas
bf79f44e96 Cosmetic changes to code. 2011-02-03 18:09:24 +00:00
Birunthan Mohanathas
a8aa2825a2 Updated installer graphics and made some other minor changes. 2011-02-03 15:52:45 +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
Birunthan Mohanathas
6445e42cf6 Some housekeeping. 2011-01-28 10:00:50 +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
Birunthan Mohanathas
c24a3c025f Adding CoreTemp plugin. 2011-01-26 13:57:57 +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
Birunthan Mohanathas
dd4edd3df0 - Fixed that [!RainmeterPluginBang "SomeMeasure Play"] did not work with iTunesPlugin
- Minor changes to illustro and Rainstaller
2011-01-10 18:28:37 +00:00
Birunthan Mohanathas
7eed591c93 - Added PowerState=HZ to PowerPlugin
- Fixed that PowerPlugin couldn't handle clock speeds over 4.3GHz (thanks spx!) or more than 8 processors/cores
2011-01-08 08:17:59 +00:00
spx
e246e6d6bf Fixed an issue that WebParser causes an infinite loop of downloading in some cases when FinishAction contains !RainmeterUpdate. 2011-01-07 08:18:20 +00:00
Birunthan Mohanathas
c9c477868f Fixed issue with iTunesPlugin: http://rainmeter.net/forum/viewtopic.php?f=14&t=6363&p=40202 2010-12-25 17:13:50 +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
Birunthan Mohanathas
56d472d5b5 Minor tweaks to installer and MediaKeyPlugin. 2010-12-18 19:38:33 +00:00
Birunthan Mohanathas
8a0c05457a Changes to Build.py and the install script (\Distrib is not created any more, files taken from normal locations).
Minor change to the Rainstaller UI and MediaKey plugin.
2010-12-18 17:41:09 +00:00
Birunthan Mohanathas
6809d5bb4d iTunesPlugin now accepts commands as a !RainmeterPluginBang (i.e. you can use !RainmeterPluginBang "iTunesMeasure NextTrack" instead of creating an own measure for each command). 2010-12-17 11:15:04 +00:00
Birunthan Mohanathas
97bb9c9259 Fixed: FolderInfo.dll did not support relative paths (thanks to elestel) 2010-12-06 07:43:30 +00:00
Birunthan Mohanathas
370988b553 Minor tweaks to the installer and corrected version in .rc file for FolderInfo.dll. 2010-11-18 10:03:05 +00:00
spx
fc046ac4eb Removed /GA compiler option from DLL project files. 2010-11-15 23:43:15 +00:00
spx
d11964ddf9 - Removed "Release64|Win32" and "Release64|x64" from projects. Use "Release|Win32" (for 32-bit) and "Release|x64" (for 64-bit).
- Removed unused option from projects.
2010-11-15 20:59:20 +00:00
Birunthan Mohanathas
fbb758003d FolderInfo: Changed output when bytes from '10 b' to '10 ' for consistency with AutoScale. Also changed RegExFilter to RegExpFilter for consistency with WebParser. 2010-11-15 15:23:32 +00:00
Birunthan Mohanathas
afee54a02f Removed MBM5 plugin from build.
Added FolderInfo plugin into build.
Moved pcre-8.10 from Plugins\PluginWebParser into Library\.
2010-11-15 14:38:12 +00:00
Birunthan Mohanathas
dd3a84b5f8 Updating Illustro to 0.9.1
Cosmetic changes to .rc files
Minor changes to Rainstaller
2010-11-14 10:28:17 +00:00
Birunthan Mohanathas
0a5d07eef2 Small change to how PRODUCTVERSION is determined (thanks spx!). 2010-11-13 20:16:04 +00:00
spx
2c6272e1f4 Added _WIN64 to preprocessor for 64bit resource compiler. 2010-11-13 19:30:24 +00:00
Birunthan Mohanathas
d91db2cd50 Fixed http://code.google.com/p/rainmeter/issues/detail?id=175 and typo in VirtualDesktops.rc 2010-11-13 19:12:43 +00:00
Birunthan Mohanathas
5ff09cbd96 Adding version info to Rainmeter.dll.
Some other minor changes.
2010-11-13 14:51:58 +00:00
Birunthan Mohanathas
fa351991a5 Replaced UpdateApplicationRC.exe and UpdatePluginRC.exe with a more efficient method. 2010-11-13 12:51:20 +00:00
jsmorley
14f4a1b5a3 * Added .rc files for each of the plugins / updated the project files to use these resource files.
* This will allow a user to verify the version and architecture (x32/x64) by using the "Properties / Details" dialog in Windows Explorer on plugin dll files just as can be done today with Rainmeter.exe.
* Added a new AutoIt utility UpdatePluginRC.exe and source which will modify the new .rc files during the build to set the current Rainmeter version and the x32/x64 architecture.
* Modified the existing Build.py and UpdateRevision.py to use this new functionality (NOTE: WHEN YOU DOWNLOAD BUILD.PY, BE SURE TO CHANGE THE PATHS AT THE TOP TO YOURS)

JamesAC & JSMorley

====

* Minor change to RainThemes.au3 to address an issue where on some systems it was failing to stop Rainemter.exe properly.
2010-11-13 04:40:21 +00:00
Birunthan Mohanathas
ee487f86e4 Improved Rainstaller performance when copying files. 2010-11-06 14:27:49 +00:00
Birunthan Mohanathas
461f8757c1 Fixed Debug x64.
Also some minor changes to the installer and Rainmeter.cpp.
2010-10-30 11:21:19 +00:00
Birunthan Mohanathas
9da555a187 Fixing errors caused by r549. 2010-09-23 08:49:43 +00:00
Birunthan Mohanathas
11588043de Error messages now display meter/measure in question. 2010-09-21 16:45:29 +00:00
spx
77ac096f2c [Webparser]
- Fixed a issue that Download=1 doesn't work correctly in some cases.
- Added [Measure]-name to log messages.
2010-09-21 14:13:43 +00:00
Birunthan Mohanathas
e618ad1777 Cosmetic changes here and there. 2010-09-21 11:09:36 +00:00
spx
df146e4eb4 Code cleanup & cosmetic. 2010-09-17 08:47:22 +00:00
spx
1343a3ae9e [WebParser] Added new character entity &apos; 2010-09-09 09:59:30 +00:00
spx
e29b2a2d4b [WebParser]
- Added new option for decoding Character references.

DecodeCharacterReference
Set to 0 : Does nothing. (default)
Set to 1 : Decodes both numeric character references and character entity references.
Set to 2 : Decodes only numeric character references.
Set to 3 : Decodes only character entity references.

- Replaced CreateThread() to _beginthreadex() to fix minor memory leak.
- Fixed the issue that UpdateRate is set to 0 if UpdateRate= is set.
2010-08-31 19:49:47 +00:00
spx
5b7a985a7e - [WebParser] Fixed minor memory leak.
- [WebParser] Modified the routine which finds the Rainmeter window.
2010-08-24 20:23:22 +00:00
jsmorley
31b51da234 Win7AudioPlugin updated to version 1.6
- New bangs Mute/Unmute
- Volume shows -1 when muted
2010-08-22 19:05:33 +00:00
spx
080b68fe17 [WebParser] Fixed the issue that Rainmeter crashes if RegExp is invalid. 2010-08-19 09:24:25 +00:00
spx
46b19fbd73 - Now able to use single quote as quotes in Substitute. Reverted r510, r511.
- [WebParser] Updated PCRE library 6.4 to 8.10.
2010-08-18 07:28:55 +00:00
jsmorley
b3e93c0765 Fix by elestel to iTunes plugin: iTunesPlugin did not handle AboutToPromptUserToQuitEvent before
(when user quit iTunes there will be a quit/don't quit dialog)
2010-08-15 13:32:18 +00:00
jsmorley
99508e090b Adding new PluginMediaKey plugin by poiru to the build. 2010-08-10 16:02:40 +00:00
spx
bfa3bdc508 Additional fix for r500. 2010-08-10 12:21:46 +00:00
spx
ab04c130eb Fixed the issue that old StringIndex results remain if the number of RegExp results is less than StringIndex. 2010-08-10 10:51:19 +00:00
Birunthan Mohanathas
6f919cfa3f Fixed: WifiStatusPlugin closes WLAN handle when skin is closed even if another skin is still using it 2010-08-06 10:09:03 +00:00
spx
cae7c84431 Fixed AdditionalDependencies for Debug. 2010-07-06 07:30:45 +00:00
jsmorley
8ae76e0d92 Adding new PluginVirtualDesktops plugin from Patrick at Dexpot
Change to Build.py and Rainmeter.sln to support new plugin
New Example.rmskin for Rainstaller
2010-07-05 23:44:22 +00:00
jsmorley
34387ce2cf Starting point for 1.3 beta:
Changes to multiple files to change version number
Changes by JamesAC / spx to improve management of Windows Mssages, mostly to support working with the DexPot folks
Addition of the Win7AudioPlugin plugin by reiswaffle. This includes plugin code and changes to the Rainmeter.sln project file.
2010-06-20 20:52:52 +00:00
spx
0ffbb7e901 Fixed the issue that PingPlugin crashes Rainmeter after refresh if offline (no network) or ping timed out in Vista/7. 2010-06-09 09:21:51 +00:00
spx
7a919f35fc Fixed the issue that SpeedFanPlugin crashes if SpeedFanType is not TEMPERATURE. 2010-06-02 14:47:41 +00:00
jsmorley
3640c60810 Changed the default value of UpdateRate for the Ping Plugin to be 32 (32 seconds if Update is the default 1000) so that when used with the default Timeout= value for the plugin, which is 30000ms (30 seconds), a skin which is still waiting for "Timeout" to occur on a bad / inactive DestAdress does not cause Rainmeter to craah by again running the plugin before it has a chance to time out. This is not a perfect solution, but will at least protect those who just use all defaults with Ping Plugin from having constant mysterious crashes if they ping an address that does not respond. 2010-05-27 21:46:13 +00:00
spx
3646188ad3 Fixed the issue that PingPlugin cannot receive a reply from some sites like www.google.com. 2010-05-26 07:57:55 +00:00
jsmorley
befa90ce8f Committing JamesAC / spx changes to SpeedFan plugin to support conversion of default Centigrade temp values to Fahrenheit or Kelvin. Also manual update to support change. 2010-05-09 17:14:20 +00:00
spx
c9fd071177 Changed behavior so as not to indicate the error message box when DynamicVariables is 1 and FontSize is 0. (issue 126)
FIXED: Virtual Bytes usage for an x64 process with perfmon plugin does not display value greater than 4 GB (issue 113)
The numerical value greater than 32bit can be now displayed when NumOfDecimals is 0 in Meter=STRING.
Fixed the broken compatibility in Windows 2000. (AboutDialog, SysInfo)
2010-02-04 07:16:22 +00:00
spx
ee8d4867c2 - FIXED: inconsistent numerical value via DynamicVariables (issue 130)
- FIXED: Problem with WebParser and "local files" with Cyrillic chars in the path. (issue 139)
- The coded character set of the logfile is changed to UTF-8. (ccs=UTF-8)
  http://msdn.microsoft.com/en-us/library/yeby3zcb%28VS.80%29.aspx
- "MS Shell Dlg 2" is now used for the ABOUT dialog box.
  http://support.microsoft.com/kb/282187
2010-02-03 08:01:50 +00:00
spx
5ae810d00a [WebParser]
Solved problems:

    * Multiple files of the same file name cannot be downloaded. (Issue 132)
    * The file including the character that cannot be used for the filename cannot be downloaded. (Issue 13)
    * As for the same file downloaded from the same URL, cache is not cleared and the file is not updated until the skin is restarted. (Issue 87)
    * Some kinds of files cannot be downloaded in Windows in which IE of an old version is installed. (because API used in WebParser depends on IE)

--------------------

Added new "Download" option:
The user can now download the file to the "DownloadFile" folder in a current skin folder as a file name defined in "DownloadFile=...".
If you define it as "DownloadFile=image.jpg", a "DownloadFile" folder will be created in the current skin path then the downloaded file is saved as "image.jpg"
Since this file is not a temporary file, it is not deleted even if it close a skin. And, when the refresh of skin or update of Webparser, the file will be overwrited by the latest file.
The user can also make the subfolder in the "DownloadFile" folder. If you define as "DownloadFile=photo\image.jpg", the subfolder "photo" is created and a file is saved in it.

As for specification of path, it is not possible to specify by the absolute path and also specification to the outside of a "DownloadFile" folder is not possible. It means that save of a file is limited to under the "DownloadFile" directory, and this does not permit save to other directories. This limitation is the measures that considered security.

Valid specification examples:

    * DownloadFile=filename.jpg
    * DownloadFile=subfolder\filename.jpg

these specification is invalid:

    * DownloadFile=C:\foo\filename.jpg
    * DownloadFile=#CURRENTPATH#filename.jpg
    * DownloadFile=..\filename.jpg
2010-01-12 21:45:47 +00:00
spx
cc3ad487a7 * Changed the way to get the information of the multiple display monitors.
This change brings the order of monitors close to the order of "Display Properties" due to using EnumDisplayDevices and EnumDisplaySettings instead of EnumDisplayMonitors. (If EnumDisplayDevices failed, EnumDisplayMonitors is used as before.)

-----

* Added the "Display Monitor" submenu in [Skins Menu]-[Position].

These menus convert the present position to the relative position from the specified monitor.
(But the meter window doesn't move to the specified monitor area immediately. Only converts.)

- "Use default: Primary monitor" removes the @-directive from WindowX/Y.
- @0(@1, @2, ...) adds the specified monitor number to WindowX/Y. @0 means "The Virtual Screen". (http://msdn.microsoft.com/en-us/library/dd145136%28VS.85%29.aspx)
- If "Auto-select based on window position" is checked, the WindowX and WindowY "@n" settings are made automatically based on the position of the meter's window. If a monitor is selected directly using "Display Monitor" in the Rainmeter / skin context menu, this menu is unchecked. This setting can be manually made in either the [Rainmeter] (all configs) or individual config sections of Rainmeter.ini.

AutoSelectScreen
If set to 1, the WindowX and WindowY "@n" settings are made automatically based on the position of the meter's window. If a monitor is selected directly using "Display Monitor" in the Rainmeter / skin context menu, this setting is reset to 0.

-----

* Added the variables for multiple display monitors and the virtual screen.
All X/Y positions are represented in the virtual screen coordinates.

The following variables are for the virtual screen.

 #VSCREENAREAX# is the X-position of the left-side of the virtual screen.
 #VSCREENAREAY# is the Y-position of the top-side of the virtual screen.
 #VSCREENAREAWIDTH# is the width of the virtual screen.
 #VSCREENAREAHEIGHT# is the height of the virtual screen.

The following variables are for the PRESENT monitor.
Note that these variables automatically change by the WindowX and WindowY "@n" settings. If "@n" is not set, these variables return the value of the primary monitor.

 #WORKAREAX# is the X-position of the left-side of the work area.
 #WORKAREAY# is the Y-position of the top-side of the work area.
 #WORKAREAWIDTH# is the width of the work area.
 #WORKAREAHEIGHT# is the height of the work area.
 #SCREENAREAX# is the X-position of the left-side of the monitor screen.
 #SCREENAREAY# is the Y-position of the top-side of the monitor screen.
 #SCREENAREAWIDTH# is the width of the display resolution.
 #SCREENAREAHEIGHT# is the height of the display resolution.

The following variables are for the PRIMARY monitor.

 #PWORKAREAX# is the X-position of the left-side of the work area.
 #PWORKAREAY# is the Y-position of the top-side of the work area.
 #PWORKAREAWIDTH# is the width of the work area.
 #PWORKAREAHEIGHT# is the height of the work area.
 #PSCREENAREAX# is the X-position of the left-side of the monitor screen. (maybe, always 0)
 #PSCREENAREAY# is the Y-position of the top-side of the monitor screen. (maybe, always 0)
 #PSCREENAREAWIDTH# is the width of the display resolution.
 #PSCREENAREAHEIGHT# is the height of the display resolution.

The following variables are for the SPECIFIED monitor. (@n = @1, @2, ...)

 #WORKAREAX@n# is the X-position of the left-side of the work area.
 #WORKAREAY@n# is the Y-position of the top-side of the work area.
 #WORKAREAWIDTH@n# is the width of the work area.
 #WORKAREAHEIGHT@n# is the height of the work area.
 #SCREENAREAX@n# is the X-position of the left-side of the monitor screen.
 #SCREENAREAY@n# is the Y-position of the top-side of the monitor screen.
 #SCREENAREAWIDTH@n# is the width of the display resolution.
 #SCREENAREAHEIGHT@n# is the height of the display resolution.

-----

* Other related changes:

- Fixed the problem that the primary monitor isn't recognized correctly.

- Fixed the problem that the information of the multiple display monitors is refreshed excessively.

- For DynamicVariables, when display setting or workarea size has been changed, all variables are now updated to apply changed WORKAREA/SCREENAREA variables.

- Fixed the problem that the "On Desktop" window isn't dragged correctly when the top-left corner of the virtual screen has negative coordinates.

- Changed the way to stick the "On Desktop" window. ("SysListView32/FolderView" is used instead of "Progman/Program Manager".)

-----

* Other changes:

- When the meter window is draggable and isn't dragged, LeftMouseUpAction is now executed.

- Added MouseDoubleClickAction (LeftMouseDoubleClickAction, RightMouseDoubleClickAction, MiddleMouseDoubleClickAction). If MouseDoubleClickAction is empty when mouse button is double-clicked, MouseDownAction is executed instead.

- Fixed the problem that the Meter's hit-test code checks outside the area.

- Changed the way to set the #CURRENTCONFIG#. (CMeterWindow::GetSkinName() is now used instead of parsing the path.)
2009-12-18 05:58:37 +00:00
Kimmo Pekkola
5d3d148b46 PowerPlugin could unload the powrprof.dll even if some other skin was still using it. Fixed. 2009-11-01 10:00:12 +00:00
jsmorley
6b760ac3cd New 1.9 version of WiFiStatus plugin by nvme, including changes to the manual. 2009-10-10 20:25:00 +00:00
jsmorley
dd1369c440 Added MattKing's code to allow a user to set the path and name of the text file to have Debug=2 write to. This will allow persistence for html files retrieved by WebParser, so they can be parsed as a local file as needed.
Usage:

[WebParserMeasure]
Debug2File="[path\]Filename.ext"
Debug=2

Examples:

[WebParserMeasure]
Debug2File="Debug2File.txt" (saves to current skin folder)
Debug=2

[WebParserMeasure]
Debug2File="#SKINSPATH#DebugFiles\Debug2File.txt" (saves to 
\DebugFiles under the \Skins folder)
Debug=2

Notes:

Must be enclosed in quotes.

Must include at least a filename.  Path alone will not work.

Must be a directory which already exists.  Does not create the target directory.

If the Debug2File= parameter is not used, WebParser will save webparserdbump.txt in the root of C: as it always has.
2009-09-21 17:02:48 +00:00
spx
f8bd5fb2eb A silly mistake on r217 was fixed. 2009-09-20 08:53:28 +00:00
Kimmo Pekkola
71c1d052a7 The relative coordinates got broken by the previous changes. They should be fixed now.
Changed the meter bangs to case insensitive.
2009-09-19 07:15:28 +00:00
spx
9d96ec61c1 - Fixed: Multibang [] not assumed when [Measure] is replaced in CConfigParser::ReadString().
- Minor changes of ConvertToXXX(): Get an appropriate buffer size to convert the string. And using [] when deleting arrays.
- Fixed a few memory leaks.
- It's now possible to send the !BANG command when all windows are "On Desktop". (Rainmeter.exe and WebParser)
2009-09-12 11:11:40 +00:00
Kimmo Pekkola
d98c79e0fc WebParser reads the resource now only if it has been modified. This can be overridden with ForceReload=1. 2009-08-19 18:07:56 +00:00
Kimmo Pekkola
8d6fd32613 Added couple of NULL checks for the iTunesPlugin. 2009-08-14 16:06:42 +00:00
Kimmo Pekkola
425e0c7b15 Applied the new changes to the correct version of the iTunesPlugin. 2009-08-12 16:14:17 +00:00
kenz0
cf8bb22e3a Fix ToggleiTunes command 2009-08-11 04:44:11 +00:00
jsmorley
7c3c4e1bf1 2009-08-10 19:48:27 +00:00
Kimmo Pekkola
428669287a The iTunes artwork path is now relative to the current skin's ini folder. 2009-08-04 09:20:22 +00:00
Kimmo Pekkola
9cc9310ad8 iTunes is not opened automatically anymore when Rainmeter starts because it caused flickering in Rainmeter's windows. 2009-08-02 08:35:00 +00:00
Kimmo Pekkola
f097a7d71d Added the PluginWifiStatus to the project. 2009-07-31 07:53:33 +00:00
Kimmo Pekkola
3c98bd5de4 Fixed the crash bug in the iTunesPlugin. 2009-07-30 20:31:52 +00:00
Kimmo Pekkola
86f75fe243 EmptyBinSilent !bang should be silent now. 2009-07-30 20:15:10 +00:00
Kimmo Pekkola
7440667743 New build-in variables: #WORKAREAWIDTH#, #WORKAREAHEIGHT#, #SCREENAREAWIDTH#, #SCREENAREAHEIGHT#
Added support for math formulas for the X, Y, W, H, WindowX and WindowY (e.g. "WindowX=(#WORKAREAWIDTH# / 2)"). The formula must be surrounded by parenthesis.
2009-07-30 15:19:47 +00:00
Kimmo Pekkola
c42e61b4de Added elestel's iTunes plugin to the project. 2009-07-30 07:49:58 +00:00
Kimmo Pekkola
b5618bfb92 Quote plugin caused crash if the file was empty. Fixed. 2009-07-27 20:06:07 +00:00
Kimmo Pekkola
b3fc191b58 ASysInfo plugin can show Vista and Win7 in OS_VERSION.
Added OS_BITS to the SysInfo plugin.
2009-07-27 11:52:07 +00:00
Kimmo Pekkola
a7c6c939ac Skins are now read from the My Documents by default.
Added the revision number to the about dialog (use UpdateRevision.py to update it).
Added a check to the startup which verifies that the rainmeter.ini is writable.
The skin folder can be opened from the context menu.
2009-07-24 07:56:37 +00:00
Kimmo Pekkola
bf4f61f0e8 The normal release build had link error. Fixed. 2009-07-21 12:54:18 +00:00
Kimmo Pekkola
e2448f42b1 Added 64-bit compilation configuration.
The bitmap meter supports transition frames now.
Few Vista/Win7 fixes (the rainmeter.ini is now in %APPDATA%).
2009-07-21 12:26:50 +00:00
gschoppe
dffcaab6d9 This is the April 21 update to recycle manager, long overdue for commit 2009-06-25 02:17:56 +00:00
kbuffington
9b30effafd Fixed a potential crash in SCREEN_WIDTH & SCREEN_HEIGHT when not passing a SysInfoData. 2009-04-29 16:22:02 +00:00
Brian Todoroff
2f96eeed10 -Fixed issue 7 by adding extended range of data for IP_ADDRESS in SysInfo.dll. 0-999 works as before and selects the installed interface. 1000-1999 will select only the active interfaces. 2009-04-13 05:45:08 +00:00
kbuffington
d592a189e9 Added a bunch of new SysInfoTypes. 2009-04-11 00:04:19 +00:00
Kimmo Pekkola
fe5c131833 Added recycle manager to the solution. 2009-04-05 13:12:26 +00:00
Kimmo Pekkola
2d2247d3d8 Upgraded the project to VC 2008. 2009-03-21 09:35:03 +00:00
Kimmo Pekkola
b4b2d3b9b0 Free disk space can be read from the removable drives too.
Size and count were reversed in the recycle manager. Fixed.
2009-03-10 17:32:35 +00:00
Kimmo Pekkola
6706010d1f New plugin: RecycleManager 2009-03-08 17:03:08 +00:00
Kimmo Pekkola
5d2f960552 Code cleanup. 2009-02-14 10:11:28 +00:00
Kimmo Pekkola
30edc895f2 2009-02-10 18:37:48 +00:00