Commit graph

39 commits

Author SHA1 Message Date
anders_k
02843c142d Improved VPatch GenPat error handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6938 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-23 16:08:32 +00:00
anders_k
510fb334c8 Fixed some typos (Most of them found by codespell/Stefan Weil)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6704 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 20:14:06 +00:00
anders_k
1c1d1d5e12 Fixed all VS2015 warnings except C4577 ('noexcept' used with no exception handling mode specified)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6627 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-30 03:55:30 +00:00
anders_k
52a8b320ef POSIX fixes for native and crossplatform utils
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6427 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:13:00 +00:00
kichik
bafaa78c40 NSIS.exe should be built as a GUI executable not as CLI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6279 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 03:12:50 +00:00
anders_k
7cc150c464 MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.

MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
2d99d7ad3e Removed unused variables and fixed GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6259 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-08 02:50:09 +00:00
golubdr
4247359df9 Fixed adler32.cpp to compile with the latest version of zlib.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6254 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 13:34:38 +00:00
anders_k
382b2fa282 Unicode fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6216 212acab6-be3b-0410-9dea-997c60f758d6
2012-02-28 22:40:43 +00:00
wizou
acf9a8c21f Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +00:00
wizou
cdf7735a77 Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
f0rt
c39ffff404 applied patch #2918870 - use of the zlib compression library provided by the system
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6030 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-07 21:24:09 +00:00
pabs3
eff14a4702 Install the pluginapi stuff in a subdirectory.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5922 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:08:31 +00:00
kichik
79da5e1cb5 renamed plugin.* to pluginapi.*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5856 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 08:49:26 +00:00
kichik
aad23184d0 plugin.lib requires user32.lib, but it's later optimized out of the dll
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5838 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:51:08 +00:00
kichik
4ba8da04fd switch to plugin.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5832 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:18:43 +00:00
kichik
6939c33782 we don't use the GUI and its source code is available from tibed.net
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5627 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 20:21:08 +00:00
kichik
2fd71f8507 implemented RFE #1900226 - expose MD5 function from VPatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5555 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 12:38:10 +00:00
pabs3
747ad310e5 Kill some compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4994 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-11 15:58:46 +00:00
kichik
ab5977c0ad use the safer mkstemp instead of tmpnam
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4839 212acab6-be3b-0410-9dea-997c60f758d6
2006-12-08 12:20:58 +00:00
kichik
cf64cac5e8 applied patch #1456861 - PatchGenerator syntax error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4605 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-23 17:36:48 +00:00
pabs3
0913023f33 Merge patch for better installs on POSIX platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4486 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 09:54:23 +00:00
kichik
64bdfbd620 fixed portability
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4280 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-20 17:42:28 +00:00
kichik
319a684141 VPatch 3.1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4275 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 17:38:50 +00:00
kichik
6a61224015 compile GenPat natively
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4273 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 09:43:40 +00:00
kichik
4bf6509225 VPatch 3.0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4271 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 09:25:44 +00:00
kichik
f8062527fa typos (thanks Jamyn!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4264 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 11:27:51 +00:00
kichik
35a79d7a2f install documentation and examples
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4093 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-19 12:32:39 +00:00
kichik
d7592d0f84 replaced by scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4047 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-21 16:21:32 +00:00
kichik
4a77cdc9fe less code in SConscripts, more shared code in SConstruct
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3986 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-22 16:51:00 +00:00
kichik
b604cdfe3f new build system using SCons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3969 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:48:50 +00:00
kichik
64b25cbbf1 no inline in c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3966 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 17:09:56 +00:00
kichik
ccf2bb96a5 applied patch #1164307 - Fixes to allow building Contrib/ on debian (minus Makefiles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3923 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 21:26:59 +00:00
kichik
eb0e1fa14d close all open file handles when one of them fail to open
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3649 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-07 19:50:13 +00:00
kichik
b7c7a31b3e VPatch 2.1:
* Added argument checking and error handling to GenPat. Now returns exit codes as well to indicate success/failure (and the reason for failure). Only GenPat has changed in this version compared to 2.0 final.
* Bug Fix: GenPat no longer gives an Access Violation when attempting to patch a file smaller than 64 bytes into a file larger than 64 bytes.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3318 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-27 18:36:57 +00:00
kichik
f915329242 Call the same DllMain for debug and release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3133 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 20:24:53 +00:00
joostverburg
5abd45c61e folder settings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2800 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-12 12:09:51 +00:00
joostverburg
6dd280b24f VPatch 2.0 final
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2798 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-11 16:42:41 +00:00