Commit graph

66 commits

Author SHA1 Message Date
anders_k
bd591bf196 200? -> 2013
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +00:00
anders_k
d5962e9b67 DWORD type is unsigned long, not int
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6321 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 23:27:09 +00:00
kichik
d20e3a5c7f we need properly defined TCHAR on POSIX too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6312 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:06:54 +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
wizou
4d94e1ae8a fix warnings on BIF_NEWDIALOGSTYLE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6205 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 23:48:25 +00:00
wizou
e31ccf2190 fix warnings on BIF_NEWDIALOGSTYLE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6203 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:25:50 +00:00
anders_k
ef8a83bd41 Basic UTF-8 support in ansi build so it can read UTF-8 .nlf files and LangStrings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6196 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-05 23:44:26 +00:00
anders_k
9540aa5d5c Fix stupid C&P error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6155 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:57:32 +00:00
anders_k
fd1febb2f0 Fixes for MinGW (substart and system.dll still broken)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6154 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:48:02 +00:00
anders_k
e46b9b0801 Reorganized defines
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6137 212acab6-be3b-0410-9dea-997c60f758d6
2011-03-01 17:31:02 +00:00
wizou
4d19aaa9ab Adding new ${__FILEDIR__} preprocessor define containing directory of current script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6108 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-17 10:11:29 +00:00
wizou
1b5e8adbb8 Unicode port: Support for Unicode license files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6080 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:21:49 +00:00
anders_k
82d42b1159 _countof and swprintf fixes for VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6045 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-30 17:50:08 +00:00
f0rt
8ab72b9ece #1753070: Enable that makensis and its related utilities can be built natively for 64-bit systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6040 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-27 19:20:16 +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
4cbde48fe7 buildy buildy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5978 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 16:22:25 +00:00
kichik
b10eddb8ca terminal services awareness day
donate now!

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5975 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 16:15:48 +00:00
kichik
0aed504f4a happy new year!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
d1a1ed1ee3 shell api for shell stuff that's not automatically included in latest sdks
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5895 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-10 21:53:58 +00:00
kichik
b35dbfae72 HMODULE is used in api.h which is included by build.cpp which is also built on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5822 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:18:02 +00:00
kichik
f6e4fefbf5 moved NSISCALL detection to scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5814 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:42:12 +00:00
kichik
2675599a31 happy new year!
bug #1855805

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +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
30d04c642b added HWND
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5209 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:21:30 +00:00
kichik
161ac2adf2 fixed bug #1752328 - PFNSHGETFOLDERPATHA is stub only and very Windows, move from Platform.h to util.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5197 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-12 16:35:13 +00:00
joostverburg
b5cfb1ce4a moved definition to Platform.h and removed useless function calls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5196 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-10 21:57:33 +00:00
kichik
e06dcdcae6 fixed bug #1707823 - VS_FIXEDFILEINFO undefind in util.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5124 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-26 18:24:35 +00:00
kichik
22a81bc536 CResourceEditor was broken on big endian platforms since 2.24 because IMAGE_NT_OPTIONAL_HDR32_MAGIC had improper definition
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5094 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 22:14:16 +00:00
kichik
24f43a6214 fixed bug #1701290 - linux FTBFS: stubs and librarylocal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5088 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 20:15:00 +00:00
pabs3
bf9eb86c42 Fix FTBFS on Linux due to missing definition of MB_USERICON
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5037 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-04 08:15:19 +00:00
pabs3
e873b82b53 Kill some more compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5031 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-02 10:29:35 +00:00
pabs3
3d7194ee59 fixed bug #1661503: inconsistency between Win32/Linux makensis command line options
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4961 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-02 04:35:35 +00:00
kichik
fb80d0f5f7 use same conversion for IS_INTRESOURCE and MAKEINTRESOURCE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4890 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 13:15:49 +00:00
kichik
33800e2160 more of patch #1643633
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4882 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 11:22:51 +00:00
kichik
35ae3cca66 applied patch #1643633 - 64bit PE support for CResourceEditor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4880 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 15:55:36 +00:00
kichik
c037ecfeed fixed bug #1083492 - resource editor unicode conversion is lossy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4878 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 15:19:29 +00:00
kichik
344f759bd5 add optional header magic definitions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4872 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 11:36:29 +00:00
kichik
c145d69e55 2006 -> 2007
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
joostverburg
e497d771b1 * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
2cd2142ca3 upgraded to lzma sdk 4.43 for faster compression
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4772 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-16 08:46:36 +00:00
kichik
aa9edc8427 fixed bug #1504772 - Sources/Platform.h type definitions are not 64bit-safe
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4712 212acab6-be3b-0410-9dea-997c60f758d6
2006-07-30 11:48:47 +00:00
kichik
d9cf0668e2 avoid "statement with no effect" warnings with gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4698 212acab6-be3b-0410-9dea-997c60f758d6
2006-06-16 14:53:27 +00:00
kichik
706c6be323 fixed bug #1481044 - Segfault with nsis 2.16 on MacOS 10.3 (ppc)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4665 212acab6-be3b-0410-9dea-997c60f758d6
2006-05-03 15:43:54 +00:00
kichik
8524adc662 better HANDLE definition - pointer can be more than 32-bit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4662 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-28 13:25:48 +00:00
kichik
68d58883cc made some resource macros work with big-endian as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4576 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:12:30 +00:00
kichik
49844d4c72 moved endianity macros to Platform.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4575 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:11:27 +00:00
kichik
7c46651a0f WS_EX_LEFTSCROLLBAR needed by MinGW
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4279 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-20 17:35:24 +00:00
kichik
0536d2a029 moved _WIN32_IE definition to SConscript to avoid #include order problems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4269 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 08:33:00 +00:00
kichik
13319345b0 fixed mingw compile errors (missing SHACF_FILESYSTEM)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4242 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-06 16:57:58 +00:00
kichik
86ccf99b80 added auto completion to the directory page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4236 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 11:35:45 +00:00