Commit graph

1652 commits

Author SHA1 Message Date
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
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
8c50ab9201 fix operator syntax error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6319 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 22:37:00 +00:00
kichik
9e0ad1187e revert bad commit
TCHAR is not WCHAR on POSIX, it's wchar_t which can even be 32-bit


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6318 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:39:24 +00:00
kichik
b7d9abe03b gotta cast for gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6317 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:12:24 +00:00
kichik
5f235e0325 iconv doesn't do TCHAR, only char
and we need stdarg.h for va_arg and friends


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6316 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:11:36 +00:00
kichik
43af25ac0b MultiByteToWideChar is defined by tchar.h, but tchar.h includes tstring.h
also, it seems _TSTRING_H_ is used by something else


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6313 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:08:16 +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
d3d637fab9 Fixed minor MakeNSIS leaks (Bug #3474662)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6309 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-19 02:11:37 +00:00
anders_k
0e851e4b79 Reduced !include/!insertmacro recursion stack usage (Bug #3067954)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6306 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-17 21:13:07 +00:00
kichik
6ef6d6dfb0 "#pragma diagnostic push" only works on gcc 4.6+
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6305 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-17 00:36:07 +00:00
anders_k
43b30c9337 Refactor m_macros finder/getter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6304 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-16 20:09:44 +00:00
anders_k
809f5e9b1b Don't allow Unicode-only language files to be used in ANSI installers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6303 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-16 01:28:57 +00:00