Commit Graph

43 Commits

Author SHA1 Message Date
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
bdb5605d24 Move RawString.h into Common 2013-05-31 17:34:36 +03:00
Birunthan Mohanathas
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
da9384cfad Remove "C" prefix in class names 2013-05-31 17:18:52 +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
Birunthan Mohanathas
d449e5dac6 Minor fixes 2012-10-06 20:29:20 +03: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
e478768cac FolderInfo.dll: Added support for dynamic Folder= and fixed memory leaks 2012-04-10 18:20:22 +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
0a632ea749 FolderInfo.dll: Updated to new API and code cosmetics 2012-03-26 18:37:17 +03: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
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
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
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
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
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
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
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
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