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
da2fe44184
Add ManifestSupportedOS attribute
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6265 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 10:18:40 +00:00
anders_k
cf4e5cf132
Fix a lot of MinGW/GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6168 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 18:12:57 +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
57f7ff8a1c
Unicode port: Unicode version of NSIS can now generate both ANSI & Unicode installers (using new instruction UnicodeInstaller on/off).
...
Stubs & Plugins differentiation is done automatically using a 'W' suffix.
SConscripts need to be reviewed to generate both variants of Plugins & pluginapi.lib under Unicode compilation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6100 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 10:07:22 +00:00
wizou
637db8940c
Unicode port: fixing special NSIS escape characters in strings. No change in exehead size.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6055 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 16:02:51 +00:00
wizou
01d88a1ed6
Some TCHAR fixes, linker flag for Unicode, and cosmetic touch without real changes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6052 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 10:15:40 +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
9852de80be
Just renaming some class members and adding Jim Park's comments
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6049 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:19:12 +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
a16164cac4
fixed text format
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6043 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 15:59:12 +00:00
wizou
f4f18f9469
a little bit more TCHARs and minor fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6042 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 15:32:24 +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
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
a8d988b5c0
applied patch #2497172 - Fixes for POSIX build on Solaris, plus a regression
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5907 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-17 22:32:19 +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
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
9ed073277d
avoid gcc uninitialized warning
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4663 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-28 13:33:17 +00:00
kichik
5edfe8c5af
int to size_t
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3718 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 20:26:23 +00:00
kichik
60aa307741
refactoring: split strlist.h classes into separate {h,cpp} files
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3694 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 15:17:00 +00:00
kichik
7411f18a9b
only close file handle once in MMapFile::clear()
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3686 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 22:47:28 +00:00
kichik
efcb38d737
refactoring
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3680 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:48:03 +00:00
kichik
ff8e9a7662
fixed MMapFile on POSIX, again
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3642 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-27 08:29:02 +00:00
kichik
3e062ee8a6
fixed MMapFile on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3631 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-19 21:07:39 +00:00
kichik
bbd00dc276
fixed MMapBuf on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3569 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 11:44:03 +00:00
kichik
4c5f8a30eb
- makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)
...
- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-29 20:21:00 +00:00
kichik
f4a1f17299
- updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
...
- fixed errors and warnings given by gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
kichik
d18cea205c
- lzma exehead is now 34kb instead of 34.5kb thanks to the new LZMA C SDK and should be much faster due to removal of critical section usage (not tested too much, test before usage)
...
- applied some parts of patch #875485
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3508 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 18:37:19 +00:00
kichik
bd25e070c8
- compiles without PSDK again
...
- moved all defines that are missing without PSDK to Platform.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:04:10 +00:00
eccles
31e10cd7d3
Installer would crash with certain combinations of language files when certain language strings were not referenced in all languages.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3404 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-20 23:20:44 +00:00
kichik
de17e40754
Removed debug message
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2922 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:36:16 +00:00
kichik
de0104cc39
- Improved file mapping so you can now esaily compile installers up to 2GB with a minimum requirment of memory (changable by FileBufSize)
...
- Fixed DirText
- Fixed new browse dialog style problems (thanks LIGHTNING UK!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2919 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-15 22:05:06 +00:00
kichik
41808c26be
More memory clean-ups
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +00:00
kichik
74ea2dc585
* PageEx - every page can be used everywhere and as many times as needed
...
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620 )
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494 )
* fixed ifnewer readonly file problem (patch #783782 )
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
ramon18
f7c1f0a43d
Uservars names not found in strings when names are very similar.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2751 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 00:39:03 +00:00
ramon18
1ea2160310
Version Information now rely on languages, some more updates on named uservars, maybe last one before official release :) (preview UserVars.nsi - doesn't compile yet)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2633 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-12 00:06:23 +00:00
kichik
e0b8698a84
Should compile on VC7 again
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2473 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-20 17:41:21 +00:00
kichik
e720007649
Faster compilation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2464 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-17 15:27:12 +00:00
kichik
dba09fcf5e
+ IO works with new SetStaticBkColor
...
+ IO doesn't crash when a label has empty text
+ LangStrings now really start as "" when not defined
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2055 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-10 15:05:46 +00:00
kichik
352c5a87ab
LangStrings now act as functions, they don't need to be defined before used. Uninstaller LangStrings must now be refernced with un.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1982 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-20 15:12:23 +00:00
kichik
1f9aee2b38
Plugin size only counted once now, no more huge "optimizations" when using one plugin a lot of times.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1703 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-14 19:43:14 +00:00
kichik
bb60e32aaa
Added user defined multilingual strings. Define using LangString [un.]name lang_id string, use with $(name). Can't be used inside other strings.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1214 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-29 20:25:15 +00:00
kichik
3e9e73ec59
This commit was generated by cvs2svn to compensate for changes in r2,
...
which included commits to RCS files with non-trunk default branches.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@625 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-02 10:01:35 +00:00