Commit graph

108 commits

Author SHA1 Message Date
anders_k
9b35c900cb Added !appendfile /CHARSET parameter, output is written using the new NOStream class
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6326 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-03 22:46:17 +00:00
anders_k
e43d5a3b9e Add new (optional) makensis win32 abort event to avoid multiple instance issues
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6298 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-14 18:00:00 +00:00
anders_k
dcddf977b2 Use a custom file reader with UTF8 support for nsi/nsh/nlf files and store UTF16LE or MBCS (stringblock) strings in ExeHeadStringList
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6289 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 21:25:35 +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
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
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
anders_k
23f598b49f Win32 only
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6129 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-15 15:40:13 +00:00
wizou
1421a3e315 Default OutFile determined by NSI script filename
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6106 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-16 15:07:05 +00:00
wizou
90e05acdd3 Unicode port: Generate Unicode LangStrings even if source was an ANSI file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6093 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 13:10:16 +00:00
wizou
37cb17f3cc Unicode port: restore initial console codepage on exit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6087 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-07 16:13:24 +00:00
wizou
bd4214a2db Unicode port: Makensis subprocesses (like !system) also use UTF-8 output
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6086 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-07 15:35:08 +00:00
wizou
743ad095f5 Unicode port: Turn console & output logs to UTF-8. Adapted MakensisW for UTF-8
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6083 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-05 14:14:48 +00:00
wizou
b431c21048 Minor changes on FOPENTEXT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6077 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-03 10:12:33 +00:00
wizou
d7ffe58b2e Fix use of wrong MBCS version of string functions. (When playing with TCHAR pointers, most of the time you deal with a number of BYTE/WORD, not a number of multi-byte characters)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6051 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 16:14:16 +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
f41ba95bab fix bug #2497148 - allow out of tree builds on POSIX platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5921 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:05: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
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
8e716ed458 applied patch #1758863 - Patch for building on GCC and aCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5217 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-23 18:43:07 +00:00
kichik
d56004079e fixed bug #1755148 - hpux build linkage specification in main
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5206 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-17 16:45:13 +00:00
kichik
44e366f9da changed __ALLOW_UNALIGNED_DATA_ACCESS__ to NSIS_HPUX_ALLOW_UNALIGNED_DATA_ACCESS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5182 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 14:16:07 +00:00
kichik
81afed0591 applied patch #1714416 - patch to build on hpux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5181 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 14:15:00 +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
41d2436490 applied patch #1638974 - option to set process priority of makensis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4913 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-27 16:53:37 +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
kichik
e4351afd42 cosmetics
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4809 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-06 07:04:38 +00:00
joostverburg
06cd07de1a line breaks in license text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4808 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-05 23:24:49 +00:00
kichik
b288659b9e added missing NSIS_VERSION to fprintf
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4792 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-29 00:05:21 +00:00
kichik
d0e2079a99 fixed syntax error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4791 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 23:58:15 +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
755bc11826 accept event as ctrl+c as well, because GenerateConsoleCtrlEvent doesn't work form a non-parent-console process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4551 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-06 15:12:26 +00:00
kichik
aaef4e35eb fixed bug #1434215 - #define local leaks into path settings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4539 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:19:49 +00:00
kichik
578065d849 use NSIS_VERSION from the new automatically genereated version.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4537 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:14:18 +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
c16ca4f9fc 2006
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4485 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-20 12:36:30 +00:00
kichik
3824ddf262 gcc doesn't like sending a temporary string object by reference
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4158 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 16:49:31 +00:00
kichik
0e7a2596af extracted some functions from main()
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4156 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 13:15:28 +00:00
kichik
1caa4cf661 applied patch #1223041 - add a per-user config file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4154 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 12:53:37 +00:00
kichik
f85a88852c made NSIS_VERSION a define set by the scons script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4024 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-12 16:27:35 +00:00
kichik
9613c8988f - stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
dd3d4f237a 2.05 -> 2.06
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3928 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 13:53:41 +00:00
kichik
c5d4422fd6 2.04->2.05
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3892 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 13:55:29 +00:00
kichik
ccbc8ecd45 2.03->2.04
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3842 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 17:11:49 +00:00
kichik
dfd8dc1227 2005
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3831 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-04 14:54:48 +00:00
kichik
0e74cc0391 fixed bug #1075363 - nsisconf.nsh not included when using makensisw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3798 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-30 18:00:27 +00:00
kichik
6d438d0f34 2.02->2.03
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3786 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 19:30:01 +00:00
kichik
821fca5066 better description of command line usage (bug report #1065322)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3771 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 14:38:33 +00:00