Commit graph

228 commits

Author SHA1 Message Date
anders_k
68d42b02da Unicode plugin W function suffix has been removed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6299 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-14 22:04:45 +00:00
anders_k
9b287fc648 Added /plugin parameter to ReserveFile for our multi-arc. plugin subdirectories.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6290 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 23:38:25 +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
70408e8ae4 Generate ansi and unicode plugins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6219 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-05 23:29:20 +00:00
anders_k
0617c9d3e7 Changed SetWindowLong to SetWindowLongPtr and removed WNDPROC related casts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6180 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 15:41:45 +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
23fe81e16e Unicode port: Auto-convert InstallOptions INI files to Unicode, to support Unicode texts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6095 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 13:30:27 +00:00
wizou
408a5d5169 Adapting CHAR4_TO_DWORD-style constructions. No change in exehead.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6054 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 15:51:48 +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
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
pabs3
eff14a4702 Install the pluginapi stuff in a subdirectory.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5922 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:08:31 +00:00
kichik
0aed504f4a happy new year!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
79da5e1cb5 renamed plugin.* to pluginapi.*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5856 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 08:49:26 +00:00
kichik
5ac5b3f95b deprecate SetPluginUnload and /NOUNLOAD
plug-ins are now responsible to keeping themselves loaded using the new api

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5855 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 08:17:15 +00:00
kichik
3db2839a3c no more /UNLOAD with new plug-in api
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5844 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 19:31:52 +00:00
kichik
4ba8da04fd switch to plugin.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5832 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:18:43 +00:00
kichik
2675599a31 happy new year!
bug #1855805

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
f3f0c0da09 LF -> CRLF
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5371 212acab6-be3b-0410-9dea-997c60f758d6
2007-11-14 20:10:31 +00:00
kichik
7b0674b7f5 allow multiple inclusions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5285 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-28 17:39:31 +00:00
kichik
bca4b12aef fixed bug #1786899 - MUI_PAGE_WELCOME error when use SimpChinese Lang
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5284 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-28 17:38:31 +00:00
joostverburg
13425ee143 * New header file with macros and conversion functions for use with InstallOptions
* Updated InstallOptions documentation


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5226 212acab6-be3b-0410-9dea-997c60f758d6
2007-08-09 00:53:45 +00:00
kichik
012eededc2 fixed bug #1716614 - InstallOptions TxtColor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5148 212acab6-be3b-0410-9dea-997c60f758d6
2007-05-13 18:57:43 +00:00
kichik
6720803d4a disable the X button for InstallOptions pages as well when CancelEnabled is used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5139 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-30 17:18:45 +00:00
kichik
9cb8501db4 version bump
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5132 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-27 16:57:58 +00:00
kichik
a2b1a9e178 applied patch #1683189 - [InstallOptions] new control type: "line"
added VLine and HLine


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5039 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-09 10:52:45 +00:00
kichik
3ebe1d6d61 applied patch #1683186 - [InstallOptions] support for linebreaks in link control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5035 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-03 10:57:17 +00:00
pabs3
e873b82b53 Kill some more compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5031 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-02 10:29:35 +00:00
kichik
90067aa970 version bump
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5017 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 11:29:03 +00:00
kichik
08de3671da size optimization
it's official. even msdn now says SHGetMalloc returns the same allocator CoTaskMemFree uses and a little debugging backs this even on Windows 95


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5004 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-20 21:33:28 +00:00
pabs3
747ad310e5 Kill some compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4994 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-11 15:58:46 +00:00
kichik
9478452590 fixed bug #1661677 - InstallOptions MessageBox
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4939 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:24:44 +00:00
kichik
874036d83d always terminate lpFilteredData with NULL, even if no numbers are found in lpData
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4929 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 09:12:15 +00:00
kichik
0594faf227 czi's patch for bug #1651312
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4923 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-06 20:58:44 +00:00
kichik
0221765d39 fixed bug #1652075 - ONLY_NUMBERS Flag (Install Options Plugin) bug
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4922 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-06 20:54:05 +00:00
kichik
618bfabd4a fixed bug #1651312 - InstallOptions browse button not working
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4921 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-03 18:30:55 +00:00
kichik
e62f8b50aa more patch #1634704 updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4868 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 20:47:37 +00:00
kichik
31154c4424 applied patch #1634704 - FOCUS flag for InstallOptions Plugin
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4864 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 17:33:31 +00:00
kichik
88572123e5 fixed bug #1606716 - InstallOptions might send irrelevant NOTIFY for radiobuttons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4854 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-19 19:26:04 +00:00
kichik
c145d69e55 2006 -> 2007
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
kichik
9dd05f0129 fixed nResult warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4642 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:54:17 +00:00
kichik
bb93a15df6 example moved to Examples directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4521 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-23 17:54:57 +00:00
kichik
c16ca4f9fc 2006
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4485 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-20 12:36:30 +00:00
kichik
babe73be5b updated change log
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4316 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-11 16:31:27 +00:00
kichik
d144639111 write HWND and HWND2 entries to the INI with the control's HWND
no more weird calculations when there's a browse button


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4315 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-11 16:27:04 +00:00
kichik
044532f843 Chapter4.html no longer exists
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4277 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-20 17:15:07 +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
f8062527fa typos (thanks Jamyn!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4264 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 11:27:51 +00:00