Commit graph

37 commits

Author SHA1 Message Date
anders_k
0a0795dd5a Fixed types for POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7329 212acab6-be3b-0410-9dea-997c60f758d6
2021-09-19 18:24:24 +00:00
anders_k
167e53df8a Icon now supports the res:// protocol
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7328 212acab6-be3b-0410-9dea-997c60f758d6
2021-09-18 20:24:41 +00:00
anders_k
f69251d87e (C) 2021
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7245 212acab6-be3b-0410-9dea-997c60f758d6
2021-01-01 20:27:52 +00:00
anders_k
6c842ff1c3 Fix unaligned memory access (bug #290)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7193 212acab6-be3b-0410-9dea-997c60f758d6
2020-07-18 23:18:18 +00:00
anders_k
89fb04d0f6 (C) 2020
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7148 212acab6-be3b-0410-9dea-997c60f758d6
2020-01-01 21:13:57 +00:00
anders_k
8016f559ac Zero uninitialized icon group data for reproducible builds (bug #1230)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7104 212acab6-be3b-0410-9dea-997c60f758d6
2019-07-31 19:59:55 +00:00
anders_k
978ac79a5d Added PEAddResource and PERemoveResource
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7079 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-10 20:45:40 +00:00
anders_k
62d9a4c2f7 (C) 2019
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7072 212acab6-be3b-0410-9dea-997c60f758d6
2019-01-07 14:30:06 +00:00
anders_k
49471b3d84 (C) 2018
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6962 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-02 01:51:26 +00:00
anders_k
3659de8e37 (C) 2017
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6834 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-02 03:51:39 +00:00
anders_k
1967160500 Copyright 2016
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6720 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:16:38 +00:00
anders_k
286edd20c4 * Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
* Win64 fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
c853ef31a0 Updated copyright details
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6578 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-14 22:27:29 +00:00
anders_k
d799ee53d7 Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
be6c7e6a1d Major POSIX overhaul
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +00:00
anders_k
d3d637fab9 Fixed minor MakeNSIS leaks (Bug #3474662)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6309 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-19 02:11:37 +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
7cf2ef1a08 Unicode on posix fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6217 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-01 21:06:14 +00:00
anders_k
e918dd8a27 MakeNSIS console warn/err colors on Win32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6167 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 10:30:11 +00:00
wizou
64a0f32e52 more simple TCHARs fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +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
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
kichik
3bb9ec28f8 fixed bug #2572035 - problem with 2.43 and icons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5935 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-06 14:00:02 +00:00
kichik
608701ccc8 fixed bug #2533431 - Script compiling fails with !packhdr, but succeeds without?!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5909 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-31 15:46:54 +00:00
kichik
6501ad74fd fixed bug #2166401 - Uninstaller icon errors on big-endian system
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5759 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-07 22:02:38 +00:00
kichik
8939702c68 fixed bug #1956350 - wrong icon order since 2.32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5618 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 18:21:13 +00:00
kichik
4f7546cd9d added IconPairs typedef
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5617 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 16:47:28 +00:00
kichik
9da157b5ea fixed bug #1900098 - SVN trunk FTBFS on Debian GNU/Linux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5553 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 10:20:44 +00:00
kichik
dbd80ca086 fixed bug #1896500 - Exception during compile
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5545 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-18 23:24:02 +00:00
kichik
c08b7206ca zero icon memory to prevent uninitialized memory from getting into the resources
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5492 212acab6-be3b-0410-9dea-997c60f758d6
2008-01-26 11:47:01 +00:00
kichik
4690383071 fixed bug #1851365 - mac os x leopard build and run fails - endian issues
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5398 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-15 15:28:38 +00:00
kichik
9915194e85 more error handling and endianity fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5311 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 18:27:37 +00:00
kichik
ef5e8a1f70 load default icon from the stub if the user didn't specify a different icon
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5310 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 18:25:00 +00:00
kichik
2adef603c7 added newline at end of file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5309 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 18:03:10 +00:00
kichik
c533664d55 fixed some obvious big-endian failures, but there might be more
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5308 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 17:52:56 +00:00
kichik
be36b69b03 added support for mismatching installer and uninstaller icons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5307 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 17:37:56 +00:00
kichik
cc72c11f4f moved icon related functions to icon.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5304 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 13:31:56 +00:00