Commit graph

136 commits

Author SHA1 Message Date
anders_k
9ed46ac829 Removed some profanity from the docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6519 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-11 21:11:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
68ff07805b fixed bug #1287731 - FileRequest alters working directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4260 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-13 19:19:05 +00:00
kichik
d8c3489bd4 wParam should be of type WPARAM, not LPARAM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4184 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-22 18:47:44 +00:00
kichik
ccf2bb96a5 applied patch #1164307 - Fixes to allow building Contrib/ on debian (minus Makefiles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3923 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 21:26:59 +00:00
kichik
31542c6ea4 added TRANSPARENT flag for BITMAP fields
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3881 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-21 19:12:47 +00:00
kichik
499fa0e764 fixed a bug which prevented enabling the next button from the leave function of InstallOptions pages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3544 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 16:07:22 +00:00
eccles
6f96381818 We now centre bitmaps manually, to avoid differences in behaviour between XP and everything else.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3496 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-21 15:18:22 +00:00
anoncvs_ezcontents
2fed742279 Calling show after a failed initDialog caused a freeze.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3488 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-10 23:29:49 +00:00
kichik
ebd0852b60 fixed mishandling of MBCS chars
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3441 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-31 19:54:45 +00:00
kichik
8dbe4f1203 fixed a bug that was present since at least 1.3, which caused IO to read heap memory beyond pszListItems and possibly to crash
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3435 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 20:37:43 +00:00
eccles
6429ab2452 Now ignores WM_COMMAND messages received while the dialog is in the process of being created.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3388 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-12 23:23:36 +00:00
eccles
e9919e7f89 Links and Buttons no longer receive the initial keyboard focus as they take over the Enter key.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3361 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-05 21:53:06 +00:00
eccles
9298dd089c Focus is now set when control initialisation is complete (e.g. after Link control HWNDPROC has been changed)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3353 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 18:14:18 +00:00
eccles
e1c4b80991 DLL version 2.4 (1/4/2004)
* Initial focus is set in "initDialog" making it possible to override it from NSIS prior to calling "show"
- When initial focus is to a Text field InstallOptions now follows standard Windows behaviour by having the text selected
- Label and other static fields no longer have State= written to the INI file when leaving the dialog
- NOTIFY flag can now be used with Link fields (State should be omitted in this case)
- Likewise, State can now be used with Button fields (behaves the same as with Link fields)
- NOTIFY flag can also now be used with ListBox and DropList fields to have NSIS notified when the selection changes
- Meaning of RIGHT flag is now reversed in right-to-left language mode
- HSCROLL and VSCROLL flags are no longer restricted to Text fields
- Various Link field fixes
- Text box colour bug fix


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3350 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 14:06:39 +00:00
kichik
466e93ea11 - made NSIS ignore WM_COMMAND from disabled controls
- made NSISdl set the cancel button as the default button


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3330 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 15:12:41 +00:00
kichik
8a85e1c0dd fixed branding text background color not updating when the system's color change
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3329 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 14:27:33 +00:00
kichik
2144a90eed - Escape now works when focused on a link control
- Fixed a link control bug that allowed the user to activate the link by clicking outside of the text


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3301 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-23 16:29:16 +00:00
kichik
d1c5ef3af7 patches by PerditionC for compatibly with PSDK-less VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3295 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-21 21:00:37 +00:00
eccles
c31682240d Only validate if pressing the Next button.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3271 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-13 17:17:03 +00:00