anders_k
e7ac6581e4
Documentation fixes and clarifications
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6728 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-27 23:24:43 +00:00
anders_k
274a74ebef
MakeNSISW should not load libraries from the current directory because we don't control that directory when started from the shell (file associations).
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6725 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-23 13:42:16 +00:00
anders_k
d74c5acdcd
Incomplete support for Z (size_t) logiclib integer tests and other minor fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6713 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-07 14:34:21 +00:00
anders_k
2316018c0c
MS resource compiler <= VS 2005 does not like PNG compressed icons
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6644 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-27 13:25:47 +00:00
anders_k
3452e3b9b2
New nsi and nsh file type icons
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6640 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-23 10:36:58 +00:00
anders_k
1c1d1d5e12
Fixed all VS2015 warnings except C4577 ('noexcept' used with no exception handling mode specified)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6627 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-30 03:55:30 +00:00
anders_k
8577c8e9ae
* MakeNSISW symbol sets don't need movable memory
...
* Use helper functions to read&write MRU and symbol set strings
* Don't create empty MRU key when there is nothing to save
* Made some helper functions static
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6618 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-28 16:08:54 +00:00
anders_k
940277d9d8
* block_header::offset is now pointer sized in exehead
...
* Wininet.h -> wininet.h for POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6608 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 15:55:56 +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
fed52fac19
* Be extra careful with zero termination of the foreign update status string
...
* Always include Wininet.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6605 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-10 12:05:50 +00:00
anders_k
873e860f57
MakeNSISW now uses WinInet when checking for updates
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6604 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-07 21:31:50 +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
c4de0f9f59
Not all versions of MinGW have ARRAYSIZE, use our custom COUNTOF macro
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6565 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-26 18:57:52 +00:00
anders_k
9152c24610
SetCompressorStats must zero terminate the buffer from EM_GETLINE!
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6560 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 15:34:10 +00:00
anders_k
9eb4035b08
Must check if wParam matches MakensisAPI::QH_*
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6559 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-22 16:49:45 +00:00
anders_k
eb5d77214a
Patch #258 , Makensisw x64 fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6557 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-12 20:09:35 +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
d66c9a492f
Better handling of incomplete WCHAR reads from stdout
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6525 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-17 09:21:07 +00:00
anders_k
481d383c76
Fixed MakeNSISW stdout log reader when the buffer is almost full
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6523 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-16 20:22:44 +00:00
anders_k
8ed10146ef
MakeNSIS WM_COPYDATA notify messages now use the QH_OUTPUTCHARSET encoding if specified by the host. CP_ACP is the default for compatibility with old IDEs.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6490 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-11 22:01:38 +00:00
anders_k
36deb84820
64bit fixes and optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6486 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 22:03:09 +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
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
859b5d3d07
those are not available on mingw for whatever reason...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6426 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 06:59:51 +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
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
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
7f103f9e39
static const toolbar button info
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6404 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 20:39:59 +00:00
anders_k
4d46324599
Fixed MakeNSISW default pushbutton and tab order
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6403 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 19:26:03 +00:00
anders_k
9a63b529dd
MakeNsisW About dialog close button should close the dialog
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6401 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-05 14:53:57 +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
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
1cf3d5cb22
MakeNsisW: Functional size gripper and other minor fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6368 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-26 19:47:22 +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
e43d5a3b9e
Add new (optional) makensis win32 abort event to avoid multiple instance issues
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6298 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-14 18:00:00 +00:00
kichik
5289607dbd
tchar.h is already included in platform.h
...
no need to include nsis_tchar.h from exdll (this is not a plug-in anyway)
this fixes a '_tstof' redefinition warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6278 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 02:39:35 +00:00
anders_k
b76e823c5c
Remove MRU menu separator when list is empty and delete empty MRU registry items
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6271 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-16 08:12:47 +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
2d99d7ad3e
Removed unused variables and fixed GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6259 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-08 02:50:09 +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
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
24c02b97d0
Unicode port: adding UTF-16LE file functions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6089 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:11:29 +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
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
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
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
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
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