Commit graph

5208 commits

Author SHA1 Message Date
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
428ae80ab1 Unicode port: Adapted MakensisW & zip2exe for UTF-8 (avoid cutting sequence). Also fix a bug where they would get stuck if output log was multiple of 1023 bytes. Simplification of reading loop.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6085 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-07 13:54:03 +00:00
anders_k
27977fd335 Added some plugincallback api stuff and fixed spelling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6084 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-06 19:24:34 +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
anders_k
b8f6c16fcd VC6 unicode fixes, NSISException still broken
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6082 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 22:28:53 +00:00
wizou
5a5a3a674f warning fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6081 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:33:20 +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
afrow_uk
f3ac7d9f93 Changed to use MUI2.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6079 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-03 20:02:32 +00:00
wizou
2c774a533c Adding CEXEBuild::LoadLicenseFile shared by TOK_LICENSELANGSTRING & TOK_LICENSEDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6078 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-03 14:04:22 +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
afrow_uk
2170215b06 Resubmitted Sections.nsh with StrCpy ops back in (and added to my macros). Thanks Anders :S
I spose conditional compilation would be a better solution but meh!

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6076 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 20:17:29 +00:00
afrow_uk
4f1a78e939 Fixed bug #2994202 - ExDll vcproj defines VC90 CRT dependency
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6075 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 18:42:55 +00:00
afrow_uk
b28daffd60 Added RemoveSection and UnremoveSection macros to hide+unselect and show+select a section. Removed some unnecessary StrCpy ops from the other macros.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6074 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 18:36:36 +00:00
wizou
d96bd3cb6e oops
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6073 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 16:39:29 +00:00
wizou
f7f4d2f033 Using standard wchar string functions instead of winchar_*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6072 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 14:48:19 +00:00
anders_k
b9a5d24705 Extra_params functions are stdcall
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6071 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-28 22:24:53 +00:00
wizou
0b26006a44 oops.. reverting unwanted changes on makensis.nsi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6070 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 12:45:53 +00:00
wizou
68c5a5751e MakeNSISW now uses RichEdit 2.0, compatible with Unicode (exehead UIs already uses it anyway)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6069 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 09:09:47 +00:00
wizou
70ccef9cbc Unicode: Fixed some scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6068 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 08:55:35 +00:00
wizou
ca54cf728c Unicode: Improved UTF8 detection, less verbose
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6067 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-20 15:29:55 +00:00
wizou
c8d77cd501 Unicode port: Support for Unicode/UTF8 input files by Jim Park.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6066 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-20 09:04:26 +00:00
wizou
2d3bf19b0d Bug fix & simplification on SetArgv
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6065 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-19 10:06:48 +00:00
wizou
9b0e3aeb62 Unicode port: default to Unicode VERSIONINFO resources
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6064 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-19 10:05:49 +00:00
kichik
86c8f0bb32 install substart.exe as makensis.exe
this distribution code needs some serious cleanup...

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6063 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 23:20:18 +00:00
kichik
fcb399fce0 workaround for platform sdk problems with scons 1.3.0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6062 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 22:58:47 +00:00
kichik
8563f508c5 fixed nightly build
7.1... 7.1... not 8. what just happened here?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6061 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 21:42:29 +00:00
kichik
4af4fa9c73 fixed nightly build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6060 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 21:20:18 +00:00
anders_k
e7672ebf46 Return exit code from child process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6059 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-16 14:56:30 +00:00
wizou
cefeec3676 Additional error checking by Jim Park.
Also some cleaning.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6058 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-15 12:11:06 +00:00
wizou
e438c2092b Fixed bug and Unicode support in RenameViaWininit function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6057 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-15 08:51:35 +00:00
wizou
36f6645935 Added comments, and removed unused #include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6056 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 16:27:00 +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
408a5d5169 Adapting CHAR4_TO_DWORD-style constructions. No change in exehead.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6054 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 15:51:48 +00:00
wizou
759ae312b5 Reducing exehead by 9 bytes and making Anders happy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6053 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 14:27: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
57d296e159 Adding Unicode support to System plugin
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6050 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:25:33 +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
f5df185ba2 Fix exehead unicode compil warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:01:14 +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
a92fad7347 fix compiler error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6046 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-31 19:16:44 +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
34395604e8 #2918870: Ensure minimum scons version of 1.2.0 otherwise build scripts won't work.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6044 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-30 12:27:15 +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
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
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
f0rt
b402798885 #2918870: Detect Win32 zlib in flat and include/lib directory structure, updated INSTALL and build documentation, removed obsolete Source\zlib\DEFLATE.H.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6039 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-27 15:52:04 +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