Commit Graph

19 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e4cceb8512 PingPlugin.dll: Removed use of TerminateThread
Instead of termination in Finalize(), the thread is left to run and perform required cleanup before exit. This also fixes a memory leak caused by termination in some cases.
2012-06-28 12:57:41 +03:00
Birunthan Mohanathas
85e59b5583 New plugin API: Added rm parameter to Initialize. 2012-02-02 07:39:14 +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
c3ed2e5fa3 Reintegrated 2.3 branch into trunk 2012-01-08 17:35:29 +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
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +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
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
e618ad1777 Cosmetic changes here and there. 2010-09-21 11:09:36 +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
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
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
5d2f960552 Code cleanup. 2009-02-14 10:11:28 +00:00
Kimmo Pekkola
30edc895f2 2009-02-10 18:37:48 +00:00