Commit graph

63 commits

Author SHA1 Message Date
anders_k
6adc39c848 Math plugin needs tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6561 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 16:02:16 +00:00
anders_k
edd80964a7 Tabs to spaces and minor cleanup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6514 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 11:55:28 +00:00
anders_k
da7d67e69d CreateShortCut > CreateShortcut
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6453 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:21:39 +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
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
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
wizou
74ffaada4e Merging various fixes from latest Jim Park repository
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6096 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 14:09: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
wizou
cdf7735a77 Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +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
anders_k
e2a4c90c12 Fixed bug #2939230 - Enable NextBtn with skip create checked and empty name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6024 212acab6-be3b-0410-9dea-997c60f758d6
2010-01-30 18:16:25 +00:00
kichik
40cf7e1686 fixed bug #2810188 - Weird (erroneous) behavior of Menu Start selection page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6006 212acab6-be3b-0410-9dea-997c60f758d6
2009-12-05 22:12:37 +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
f50bc2fab7 initialize everything when creating a new dialog to avoid setting leaking from the last dialog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5846 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 19:57:11 +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
1079a297e4 signed/unsigned mismatch warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5060 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:46:01 +00:00
kichik
089dfb7da9 don't enter message loop when window failed creation (because of input error or anything else)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5007 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-20 22:28:55 +00:00
kichik
c6caf04ec7 fixed bug #1684751 - StartMenu accepts empty paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5006 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-20 21:44:19 +00:00
kichik
de7ebfe3ce better error handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5005 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-20 21:42:07 +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
9cbba1c7ba fixed bug #1670741 - NSIS Menu can't be built on linux due to .rc & .cpp -> .o
added automatic code that changes the target name of resource files to something slightly unique


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4960 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-01 21:05:43 +00:00
kichik
c07998b48c fixed bug #1440636 - invalid folder names returned by StartMenu plug-in
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4555 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:12:17 +00:00
kichik
b4143baf7f simpler prefixing code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4553 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:02:35 +00:00
kichik
8e9a79a4b7 applied patch #1434174 - GCC 4.2 patches
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4533 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:19:55 +00:00
kichik
d7592d0f84 replaced by scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4047 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-21 16:21:32 +00:00
kichik
53fa1d20ac install and distribute examples, contribs and documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4005 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-30 18:04:55 +00:00
kichik
52fe1643d2 no need for afxres.h, windows.h is enough
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4001 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-24 20:02:44 +00:00
kichik
4a77cdc9fe less code in SConscripts, more shared code in SConstruct
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3986 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-22 16:51:00 +00:00
kichik
b604cdfe3f new build system using SCons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3969 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:48:50 +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
e9efbba1a2 implemented feature request #711900 - StartMenu SetCtlColors support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3916 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-04 13:04:14 +00:00
kichik
fcd2c16685 - fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both.
- made log window respond to the context menu key and not just right click
- set back the default style for the next after it's re-enabled
- set focus on main controls for every page (can still hit enter for next)
- added code to prevent weird usage of WM_COMMAND which can cause weird behavior such as disabled next button on the components page
- eccles fixed a bug which caused beeping when the space key is hit on the components tree


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3351 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:05:03 +00:00
kichik
45c040b909 - fixed bug #848868 - StartMenu trims 3 lines of text
- made StartMenu treat different fonts better, it will not resize according to the selected font


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3261 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-08 12:53:32 +00:00
kichik
4eb2881b5b - Better RTL support:
* use RTL reading wherever possible (shows the dots, commas, etc. in the correct order)
  * Message boxes are now RTL too
  * Fixed RTL for links in InstallOptions
- Fixed tab order in StartMenu
- Made StartMenu use SHGetSpecialFolderLocation (soon to be in NSIS core too)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3259 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-06 20:45:35 +00:00
kichik
f915329242 Call the same DllMain for debug and release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3133 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 20:24:53 +00:00
kichik
896ba172d5 - Fixed uninstaller not showing anything when installer is silent
- Improved CResourceEditor - should be more tolerant now
- Removed legacy code from InstallOptions and StartMenu


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2882 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 13:54:01 +00:00
kichik
74ea2dc585 * PageEx - every page can be used everywhere and as many times as needed
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620)
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494)
* fixed ifnewer readonly file problem (patch #783782)
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
ramon18
8bf75b3634 LINK, dirreq, filereq and browse button in dirpage can be opened using ENTER KEY (WM_COMMAND events forward to inner dialogs), fixed problem with focus on Close/Finish button which was generating wierd beeps if user attempted to finish the installer with ENTER key.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2707 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-10 00:28:05 +00:00
kichik
9adf1acb50 Find all directories and make sure found entries are directories
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2666 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-22 13:44:02 +00:00
kichik
56507e9e34 Custom leave function updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2336 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 15:51:01 +00:00
kichik
070d1f136a Leave function for custom pages too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2335 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 15:45:25 +00:00
kichik
37a03e4fac No more problems for directories with a name starting with "error"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2096 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-30 18:42:36 +00:00
kichik
2887407beb No more flickering, cross your fingers for no bugs...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1905 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-06 15:43:35 +00:00
kichik
5e9ede6d31 + Sections can be unselected in silent mode too
+ Some documentation fixes
+ Transition between a normal page and a custom page no longer causes a flicker (between two custom pages it still does)
+ The completed sub-caption shows again


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1853 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-30 13:15:49 +00:00
kichik
2d191db096 No warning when compiling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1828 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-24 17:50:45 +00:00
kichik
04e4f0f129 Something a bit more useful
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1813 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-22 10:07:08 +00:00