Commit Graph

71 Commits

Author SHA1 Message Date
Brian Ferguson
27af737a3a SysInfo: Idle_Time: Removed "scaling" feature and default to seconds. 2014-02-23 11:12:06 -07:00
Brian Ferguson
de91403db9 SysInfo: Added "Idle_Time" type. Use "SysInfoData to scale the output. 2014-02-23 10:55:44 -07:00
Brian Ferguson
b2c4bb826a Added OS name and architecture to the about dialog. Also moved GetPlatformName() from the SysInfo plugin to Platform namespace. 2014-02-11 12:17:05 -07:00
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
b25a7849d6 SysInfo: Make INTERNET_CONNECTIVITY and LAN_CONNECTIVITY return 1 on unsupported systems 2013-12-23 18:49:16 +00:00
Birunthan Mohanathas
76e562f4f5 SysInfo: Use -1 for "no" with INTERNET_CONNECTIVITY and LAN_CONNECTIVITY 2013-12-22 16:24:16 +00:00
Birunthan Mohanathas
acbd0da292 SysInfo: Replace NETWORK_STATUS with LAN_CONNECTIVITY 2013-12-22 16:22:55 +00:00
Birunthan Mohanathas
ae1cbe0b85 SysInfo: Add INTERNET_CONNECTIVITY and NETWORK_STATUS types
INTERNET_CONNECTIVITY returns 1 if connected to the Internet or 0
otherwise. NETWORK_STATUS returns the flags documented at:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370795.aspx
2013-12-21 18:58:07 +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
Brian Ferguson
cb01bb2c20 Updated to support Windows 8.1 2013-10-18 10:23:17 -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
7581e3ac98 Move basic project options into Project.props 2013-05-01 13:02:17 +03:00
Birunthan Mohanathas
52e1f1c6b4 Moved common project settings into .props files 2012-12-18 19:49:51 +02:00
Brian Ferguson
11e25caa87 Added Windows 8 and Windows Server 2012 support for SysInfo plugin 2012-09-13 18:04:52 -06:00
spx
4591a969a6 Build option: Added /arch:SSE to Release/32bit. 2012-07-23 07:34:31 -07: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
1eb8e1b46a SysInfo.dll: Fixed messed up retrun value in some cases 2012-03-26 19:08:10 +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
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
9f152e0076 Removed unneeded codes, for VC2010. 2011-02-20 23:03:15 +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
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