Commit Graph

58 Commits

Author SHA1 Message Date
Birunthan Mohanathas
da92def9fc Define WIN32_LEAN_AND_MEAN globally 2013-12-24 11:20:19 +00:00
Birunthan Mohanathas
c196396ad0 Unignore and fix warnings elsewhere 2013-12-23 19:44:42 +00:00
Birunthan Mohanathas
950192b8eb Additional change to e1872e6: Move Plugins.props as well 2013-11-03 20:23:16 +02:00
Birunthan Mohanathas
e1872e67bb Move .props files to Build\VS\ 2013-11-03 20:18:42 +02:00
Birunthan Mohanathas
2315fe8cc5 Remove unnecessary duplication in .vcxproj files 2013-10-20 17:45:43 +03:00
Birunthan Mohanathas
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
7581e3ac98 Move basic project options into Project.props 2013-05-01 13:02:17 +03:00
Brian Ferguson
a80af60dbc Ping: Fixed crash on refresh with FinishAction option. 2013-03-01 14:12:13 -07:00
Brian Ferguson
8ad91f7799 Ping: Added FinishAction 2013-03-01 10:44:07 -07:00
Birunthan Mohanathas
52e1f1c6b4 Moved common project settings into .props files 2012-12-18 19:49:51 +02:00
Brian Ferguson
f418c331c7 Fixed #4 2012-09-15 22:24:53 -06:00
spx
4591a969a6 Build option: Added /arch:SSE to Release/32bit. 2012-07-23 07:34:31 -07:00
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
b1176d9611 Cosmetics and restored 2cfbab6, which was accidentally reverted in dc07162 2012-06-11 17:03:19 +03:00
Birunthan Mohanathas
dc07162956 Improved 83f1b1a 2012-06-11 16:20:13 +03:00
Birunthan Mohanathas
2cfbab6314 Disabled manifest for plugins 2012-06-11 15:30:10 +03:00
Birunthan Mohanathas
66a5579550 Minor changes 2012-04-09 20:27:49 +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
Birunthan Mohanathas
db52d3d575 Cosmetic changes to resources 2012-03-26 18:49:31 +03: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
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
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
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
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
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
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
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
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
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
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
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
461f8757c1 Fixed Debug x64.
Also some minor changes to the installer and Rainmeter.cpp.
2010-10-30 11:21:19 +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