Commit graph

1864 commits

Author SHA1 Message Date
kichik
3479c12645 and fix vc build too now... meh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6433 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-27 03:44:52 +00:00
kichik
e798b125ca fixed build with mingw on ubuntu 64-bit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6432 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-27 03:34:16 +00:00
anders_k
03405bcd96 Fixed winchar tests
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6430 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-22 09:54:21 +00:00
kichik
069a18860a arg name is s not str
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6429 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-22 03:35:26 +00:00
anders_k
52a8b320ef POSIX fixes for native and crossplatform utils
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6427 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:13:00 +00:00
kichik
4997292d4b build fixes for vc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6421 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-25 04:50:54 +00:00
anders_k
f9fae88303 PE NSIS_VARS_SECTION size should not depend on sizeof(TCHAR)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6419 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 23:48:13 +00:00
anders_k
527cf2d7a4 Fix bug#1086, don't parse non-branch instructions inside a !if 0 block
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6418 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 16:24:06 +00:00
anders_k
c16bc083b5 Fixed incorrect page count in compiler statistics
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6417 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 15:41:47 +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
1e55e30ff4 Optimized return is valid even after the CharEncConv object is destroyed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6415 212acab6-be3b-0410-9dea-997c60f758d6
2013-10-09 00:16:28 +00:00
anders_k
bb9b88b70f Fix DupWCFromBytes/CharEncConv optimized return bug when converting UTF16LE license file to wchar_t(UTF16LE)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6414 212acab6-be3b-0410-9dea-997c60f758d6
2013-10-08 18:59:28 +00:00
anders_k
e63fa6c53b Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6413 212acab6-be3b-0410-9dea-997c60f758d6
2013-09-06 23:48:59 +00:00
anders_k
ed8d91a1c1 ChangeUI must force RichEdit20A/W class based on target
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6411 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-18 16:34:10 +00:00
anders_k
5744372364 Fix bug #1080, Unicode stubs must use RichEdit20W, otherwise EM_GETTEXTRANGE gives us ANSI strings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6410 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-15 23:14:12 +00:00
anders_k
51e2b07f05 Fixed bug #1079, broken !define Unicode null terminator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6409 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-15 21:22:17 +00:00
anders_k
6c283bde91 !include defaults to UTF-8 after Unicode True
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6407 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-08 00:26:59 +00:00
anders_k
928f0f78e5 FindFirst short-name fallback trick not required in Unicode stubs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6406 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:26:00 +00:00
anders_k
942ea1d465 Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6405 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:04:23 +00:00
anders_k
55738e1385 Optimize FileReadByte/FileReadWord
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6400 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-28 14:46:24 +00:00
anders_k
d387a32658 FileRead in Unicode installers can handle DBCS, conversion output is limited to UCS-2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6399 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 23:09:54 +00:00
anders_k
7ce021a376 Ignore c++ exception specifications, they are still useful as "documentation"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6398 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 18:29:36 +00:00
anders_k
ebe96fe79c Don't limit Lnk path A2W conversion to 1024 WCHARs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6397 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 17:40:38 +00:00
anders_k
6c60c09a2c VS2008 does not like the vsnwprintf(INT_MAX) hack, use _vscwprintf if it exists
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6396 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 22:00:53 +00:00
anders_k
19b9a3e65a Use ReadFile helper function in exehead
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6395 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 19:18:34 +00:00
anders_k
a5f0809ee9 FileReadByte should not do any kind of conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6394 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 18:27:02 +00:00
kichik
cf91be2927 fix bug #1076 - always be silent if the user passes /S on the command line, even the installer file can't be read. the installer is not always executed from the computer itself and remote deployment can stall because of this issue (with psexec -c on x64 for example).
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6385 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-14 19:38:06 +00:00
anders_k
009318ef94 Fix "!insertmacro foo /* this comment kills the macro body" parser bug
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6384 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-10 21:03:32 +00:00
anders_k
5e1edb3d75 Added Windows 8.1 Preview GUID alias to ManifestSupportedOS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6380 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-07 23:27:11 +00:00
anders_k
e6f549adee Add !finalize %1 fix to changelog and shut up MinGW
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6376 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-08 19:10:42 +00:00
anders_k
47e481a3bf Default verbosity is /V3 without logo, MakeNSISW still uses /V4
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6375 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-08 18:48:38 +00:00
anders_k
9ebabcd509 Fix !finalize %1 string substitution
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6373 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-05 10:23:46 +00:00
anders_k
7d930ed452 MakeNSISW should request UTF16LE output
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6370 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-28 20:07:47 +00:00
anders_k
b8aee8098d MinGW might have a different include order, make sure the f*print stuff we want to override has already been included
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6369 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-26 20:58:44 +00:00
anders_k
cc796c202d Fix !searchparse
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6367 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-21 19:18:26 +00:00
kichik
1554dac424 limit ansiName[] size so long string build doesn't break
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6359 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-19 23:24:50 +00:00
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
5878480fdc Allow /INPUTCHARSET early on the command line.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6351 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-04 14:33:09 +00:00
anders_k
0653f46c07 StdOut Unicode support, controlled by /OUTPUTCHARSET and/or existing BOM if redirected.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6350 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-04 13:32:47 +00:00
anders_k
cf0d27706a Improved !searchparse error detection/handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6348 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-16 21:02:50 +00:00
anders_k
e8ac52b908 Minor Unicode fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6345 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 20:54:29 +00:00
anders_k
eaa6991b91 UTF16BE support in NStreamLineReader
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6344 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 15:28:45 +00:00
kichik
30d337eac1 fixed LicenseLangString always failing
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6336 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 08:49:00 +00:00
kichik
49920eb39c there is only one winver.nsi now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6335 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 08:48:21 +00:00
kichik
514f28995e my vc6 doesn't like string.clear() because it was born before me
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6330 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-10 07:11:21 +00:00
anders_k
5fb2e9e166 Unicode support for !define /file and !searchparse /file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6329 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-10 02:51:33 +00:00
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
fe8e4a36bf Added ${__COUNTER__} predefine
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6325 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-29 02:39:07 +00:00
anders_k
9fa3398dd9 Support special ${U+1}...${U+FFFFFFFF} Unicode character defines
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6324 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-29 02:04:21 +00:00
anders_k
e173cd33a4 Updated changelog and fixed minor documentation bugs (bug #3063566, bug #3567313)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6322 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-27 02:50:27 +00:00