anders_k
a51d89712c
Added !gettlbversion and TLB reading support on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6913 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-03 20:48:29 +00:00
anders_k
17d5e5003f
Refactored preprocessor instructions to separate source file
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6855 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-03 12:08:09 +00:00
anders_k
c8370fd064
Added !pragma warning (patch #267 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6852 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-25 13:09:41 +00:00
anders_k
062a89273c
Default language file codepage is only ASCII compatible (Bug #1180 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6848 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-14 14:17:39 +00:00
anders_k
3659de8e37
(C) 2017
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6834 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-02 03:51:39 +00:00
anders_k
27ed0e502b
Unify g_output and console initialization
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6802 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 15:42:20 +00:00
anders_k
d698d166d5
Use a common helper macro to declare some UI output related variables
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6800 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 23:11:33 +00:00
anders_k
04d6fe9367
Write error messages to stderr by default
...
Disabled if -O is used or if -NOTIFYHWND is valid and returns 0 to QUERYHOST:QH_ENABLESTDERR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6798 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 21:17:00 +00:00
anders_k
e6a1780485
Disable batch-file workaround for !makensis command
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6763 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-06 11:28:48 +00:00
anders_k
1967160500
Copyright 2016
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6720 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:16:38 +00:00
anders_k
510fb334c8
Fixed some typos (Most of them found by codespell/Stefan Weil)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6704 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 20:14:06 +00:00
anders_k
667abcff94
Kill warning with a cast in Ansi version of RunChildProcessRedirected. CppUnit still uses Ansi util.cpp?
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6662 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-08 01:54:30 +00:00
anders_k
650ebca347
* Try to avoid invalid parameter debug warning in newer versions of MSVCRT.dll when calling _vsnwprintf as a _vscwprintf replacement
...
* _wtof does not exist in MSVCRT.dll on Win2000, use our internal version when building with MinGW/MSVC6 or MSVC /MD
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6630 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-01 17:11:53 +00:00
anders_k
286edd20c4
* Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
...
* Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
5c6dfdca9a
!system/!execute: XCopy.exe/ChCp.com (and other tools using ulib.dll?) does not work without a valid StdIn so we provide a empty pipe
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6601 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-03 11:06:18 +00:00
anders_k
c89cac5262
Fixed minor issues and typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 20:17:14 +00:00
anders_k
9ff4b3ef43
(C) 2015
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
e36bbf1b94
RunChildProcessRedirected takes a narrow string in the legacy ANSI mode
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6547 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 22:18:29 +00:00
kichik
14fcfbe1a8
fixed bug #1098 so test-code works on ubuntu now
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6545 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 21:52:03 +00:00
anders_k
9950ce1432
Fixed MinGW (GCC 4.5.2)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6530 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 19:21:43 +00:00
anders_k
ad03365921
Don't allow !addincludedir with trailing path separator to propagate to !include
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6526 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-18 16:37:08 +00:00
anders_k
41fd62105e
Merged patch #252 : Build failure on Mac OS X - conversion error in Source/util.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6513 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 00:11:17 +00:00
anders_k
bf2f0fad80
Added !makensis command
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6498 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-21 23:55:24 +00:00
anders_k
f19f561f40
TOK_CREATEDIR tries to reject relative paths because EW_CREATEDIR silently fails if faced with one
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6488 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 19:30:36 +00:00
anders_k
0bcb8f40ed
Fixed POSIX !searchparse bug (patch #251 ) and hopefully better compatibility with 2.46
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6485 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 19:23:06 +00:00
anders_k
c75a00bbe7
2014 and fixed some minor typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +00:00
kichik
d2f4cf6c2a
do not fail for ascii characters that can be easily replaced (like with Farsi and Pashto)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6467 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-05 02:27:48 +00:00
anders_k
45b87a7dc5
Store db_full_size[_u] statistics as UINT64
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6459 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-05 16:50:11 +00:00
anders_k
4ac358dc35
Store datablock optimizer statistics as UINT64 in case the same large file is added many times
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6457 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-31 17:34:58 +00:00
anders_k
ed4f2ab384
!system decodes child output as OEMCP if GetConsoleOutputCP() == GetOEMCP(), this should help bug #1092 (or fix it completely?)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6456 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-30 22:43:49 +00:00
anders_k
d799ee53d7
Basic Win64 support (MSVC)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +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
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
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
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
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
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
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
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
4f8bf3c466
Fix some MinGW warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6293 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 23:02:09 +00:00
anders_k
0d2edb2f1b
Use dynamic buffer sizes for formated CEXEBuild warning/error methods
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6292 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 22:26:27 +00:00
anders_k
a0cd389c78
Experimental UTF16 reading support on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6291 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-08 19:38:46 +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
7cf2ef1a08
Unicode on posix fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6217 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-01 21:06:14 +00:00
anders_k
e57b4c5a67
UTF-8 support for SetFont and .nlf font name in ansi build
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6206 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-07 08:18:41 +00:00
anders_k
ef8a83bd41
Basic UTF-8 support in ansi build so it can read UTF-8 .nlf files and LangStrings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6196 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-05 23:44:26 +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