Commit graph

73 commits

Author SHA1 Message Date
anders_k
f69251d87e (C) 2021
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7245 212acab6-be3b-0410-9dea-997c60f758d6
2021-01-01 20:27:52 +00:00
anders_k
89fb04d0f6 (C) 2020
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7148 212acab6-be3b-0410-9dea-997c60f758d6
2020-01-01 21:13:57 +00:00
anders_k
62d9a4c2f7 (C) 2019
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7072 212acab6-be3b-0410-9dea-997c60f758d6
2019-01-07 14:30:06 +00:00
anders_k
9bd98cc4fa POSIX does not have SIZE type but that is OK because we never call that overload
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7037 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-01 23:38:37 +00:00
anders_k
5122047639 Moved POSIX dialog unit calcilation function stubs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7036 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-01 23:09:07 +00:00
anders_k
49471b3d84 (C) 2018
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6962 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-02 01:51:26 +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
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
c853ef31a0 Updated copyright details
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6578 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-14 22:27:29 +00:00
anders_k
fd6400d44d * ChangeUI should warn when it cannot find a dialog.
* CDialogTemplate::Save needs to free the template with the correct function.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6535 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-05 13:53:20 +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
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
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
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
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
e041a0a32c Unicode port: Turn RichEdit20A controls into RichEdit20W automatically
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6090 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:46:21 +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
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
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
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
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
668fe450a4 fixed bug #1841573 - RTL components & instfiles page
WS_EX_LAYOUTRTL can be used for individual controls

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5387 212acab6-be3b-0410-9dea-997c60f758d6
2007-11-30 09:54:13 +00:00
kichik
be3c7fe39c use current codepage to convert font name to unicode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5122 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-25 19:20:41 +00:00
kichik
4249c6107b don't delete if it wasn't allocated
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5020 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 13:36:25 +00:00
kichik
5107637e7e fixed access violation in case m_vItems[i]->szClass is an int resource
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5014 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 09:21:51 +00:00
kichik
f496cc464f fixed bug #1662190 - dialog template unicode conversion is lossy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4937 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:11:12 +00:00
kichik
eb157fcacd more typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4928 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-16 18:30:36 +00:00
kichik
a0ebce4256 typo (thanks kk)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4926 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-15 20:01:25 +00:00
kichik
783ad89ca8 winchar_toansi requires WCHAR* not WORD*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4914 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-30 18:50:57 +00:00
kichik
249903acc8 use winchar
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4887 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 13:07:28 +00:00
joostverburg
e497d771b1 * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
5d0149966e big-endian compatibility
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4608 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-24 18:36:24 +00:00
kichik
93af198570 fixed compile warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4282 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-22 20:20:12 +00:00
kichik
6a76589a72 fixed bug #1283528 - WS_EX_LEFTSCROLLBAR missing in RTL mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4274 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 09:55:17 +00:00
kichik
0deba887fc include util.h for Unicode conversion functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4157 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 16:40:33 +00:00
kichik
9f5e637d21 no using namespace in header file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4137 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 15:49:39 +00:00
kichik
49739cf0af no need for #include "util.h"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4136 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 15:44:41 +00:00
kichik
bfc2b56cbf limit MultiByteToWideChar to the real size available, not the total
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4135 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 13:12:03 +00:00
kichik
0b5ea752a9 use DEFAULT_CHARSET for dialog fonts by default
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4023 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 17:20:32 +00:00
kichik
f79be84c4a fixed string skip in ReadVarLenArr
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4022 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 16:50:49 +00:00
kichik
0856e2a3c4 applied patch #1179116 - debian amd64/gcc-4.0 build fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3955 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:45:14 +00:00
kichik
f9016b2bb5 fixed two problematic string length measurements
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3933 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 17:07:48 +00:00
kichik
2b53221b64 fixed bug #1159700 - SetFont doesn't work well with RTL on Windows 9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3919 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-10 18:53:34 +00:00
kichik
34db7b90f2 use new MultiByteToWideChar and WideCharToMultiByte implementation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3824 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:10:28 +00:00
kichik
64c1b0f05e fixed a bug in the handling of wCreateDataSize in CDialogTemplate::Save (thanks Sven Ritter)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3658 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-22 16:23:05 +00:00
kichik
efa2113031 throw exception instead of failing silently when iconv fails
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3627 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-14 13:45:05 +00:00
kichik
a4ea07f3fa fixed unicode conversion with iconv
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3585 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-08 18:32:27 +00:00
kichik
4c5f8a30eb - makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)
- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-29 20:21:00 +00:00