Commit Graph

65 Commits

Author SHA1 Message Date
Brian Ferguson
645ce0591d Webparser: Fixed bug when using a negative StringIndex 2013-08-03 09:14:04 -06:00
Brian Ferguson
a47e6ee29e WebParser: Apply temporary [&MeasureName] syntax for referencing non-WebParser measures 2013-08-02 15:43:45 -06:00
Brian Ferguson
3bf2bd3902 Webparser: Commented out new DV temporarily 2013-07-21 09:51:03 -06:00
Birunthan Mohanathas
e9fac27b46 WebParser: Change to use RmReplaceVariables 2013-07-12 23:15:18 +03:00
Birunthan Mohanathas
0d1089608c WebParser: More tweaks and cosmetics 2013-07-12 10:42:59 +03:00
Birunthan Mohanathas
56aef6edfa WebParser: Cosmetics 2013-07-12 10:39:00 +03:00
Brian Ferguson
2507b4fe2c Webparser: Added $...$ escape syntax for using the string value of another Webparser measure as input for the URL option.
Syntax: Url=http://www.[$SomeOtherWebparserMeasure$].com
2013-07-11 11:40:22 -06:00
Brian Ferguson
c3987115ee WebParser: More cosmetics 2013-07-10 17:13:04 -06:00
Brian Ferguson
19c6c58271 WebParser: Cosmetics 2013-07-10 17:10:11 -06:00
Brian Ferguson
f9ab4ee414 Added DynamicVariables support for WebParser 2013-07-10 17:01:15 -06:00
Birunthan Mohanathas
531eee06da Remove DisableThreadLibraryCalls.h
By default, VC++ links in a stub entry point, which already calls DisableThreadLibraryCalls(). See: %VS110COMNTOOLS%..\..\VC\crt\src\dllmain.c
2013-06-14 17:23:14 +03:00
Birunthan Mohanathas
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
03d529cedc WebParser: Tweaks to DownloadUrl 2013-03-08 09:11:54 +02:00
spx
2ea8710f58 WebParser: Fixed wrong string length since a0113cc 2013-02-04 13:20:03 +09:00
Birunthan Mohanathas
638aaa137d Cleanup and cosmetics 2013-01-27 12:49:23 +02:00
Birunthan Mohanathas
a0113cc74f More tweaks 2013-01-27 12:49:23 +02:00
spx
82eb3ed03f WebParser: Modified proxy handling
- Added new proxy setting switch: /auto, /none
 /auto: use IE setting
 /none: direct connection

Example:
 ProxyServer=/none

- Added global proxy setting. If proxy setting is defined in Rainmeter.data, use it as a global proxy. Default value is /auto.

Example:
 [WebParser.dll]
 ProxyServer=example.net:8080

If ProxyServer= is not defined or is empty string in WebParser measure, use a global proxy. If an individual proxy setting is defined in WebParser measure, use it instead of a global proxy.
2013-01-23 22:04:32 +09:00
spx
7e958bdc23 WebParser: Cleanup 2013-01-23 08:52:20 +09:00
Brian Ferguson
bc4c774b08 Changed WebParser's Debug=2 option to write to the current directory (same as the .ini file calling it) because Windows 8 does not allow writing to the root folder ("C:"). 2012-11-19 12:20:19 -07:00
Birunthan Mohanathas
77ed9e7c92 Removed test code 2012-06-28 10:29:36 +03:00
Birunthan Mohanathas
1b9e1abcad Cosmetics 2012-06-27 15:37:23 +03:00
Birunthan Mohanathas
9a0a75685d WebParser.dll: Fixed that [measures] in FinishAction were not dynamic 2012-05-30 08:42:13 +03:00
spx
b0046d2968 Cosmetic changes. 2012-02-20 09:37:46 +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
87df66ffee Added C# SDK 2012-02-04 10:39:04 +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
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +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
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
8ca0d0a830 WebParser: Fixed that RegExp matching fails if data contains embedded NULLs 2011-09-24 13:54: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
spx
fdad6fb036 Minor tweaks. 2011-07-14 00:26:53 +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
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
e13f3a3c2c Got rid of pcre linker warnings. 2011-05-16 09:24:13 +00:00
Birunthan Mohanathas
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +00:00
spx
84c91cb1ba WebParser now logs WININET error string. (errorcode > 12000) 2011-02-18 13:49:27 +00:00
Birunthan Mohanathas
6a5173c860 Upgrading development environment to Visual C++ 2010. 2011-02-10 16:09:05 +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
2aa4d62278 Defined _CRT_SECURE_NO_WARNINGS. 2011-01-27 19:24:09 +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
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
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
spx
df146e4eb4 Code cleanup & cosmetic. 2010-09-17 08:47:22 +00:00
spx
1343a3ae9e [WebParser] Added new character entity ' 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