Commit graph

344 commits

Author SHA1 Message Date
kichik
833b9ab873 use TreeView_* instead of TVM_*, it looks nicer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4362 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-25 14:32:34 +00:00
kichik
9ab47b62b5 fixed bug #1328629 - Explicitly setting $LANGUAGE does not operate as expected
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4331 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-17 13:39:18 +00:00
kichik
bb87348150 use Int64ShrlMod32 on compiles that generate a call to __aullshr from 64-bit shift
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4268 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 16:27:43 +00:00
kichik
71254ce61c better and uniform rounding of required/available size display
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4266 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-16 16:05:12 +00:00
kichik
cd8934d15c - avoid overflow when calculating the digit after the decimal dot
- use BOOL isntead of int in SetSizeText


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4259 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 19:12:49 +00:00
kichik
a882a03f74 moved "shlwapi.dll" and "SHAutoComplete" to .rdata from .data (constified them)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4258 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 17:26:32 +00:00
kichik
c904e65ff7 break glass in case of emergency (e.g. .rdata overflows)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4257 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:45:03 +00:00
kichik
d6367e4125 my_GlobalAlloc no longer reduces the size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4255 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:08:44 +00:00
kichik
8b91e361ca round required space up instead of down (thanks Ippi)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4252 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 12:13:32 +00:00
kichik
82ec0a3db2 fixed SHACF_FILESYSTEM redefinition warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4250 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 08:42:54 +00:00
kichik
86ccf99b80 added auto completion to the directory page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4236 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 11:35:45 +00:00
kichik
f5105a50b1 size optimization: added __stdcall wrapper for lstrcat
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:47:46 +00:00
kichik
d1c225ba8f reset $INSTDIR if user clicked cancel in the browse dialog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4029 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-17 19:52:44 +00:00
kichik
4fa0dc6087 fixed bug #1168711 - when leaving the directory page, only set log_dolog if the check box was created
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3954 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:36:19 +00:00
kichik
326556f0e3 fixed bug #1155060 - Install type drop down box not showing default InstType
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3925 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 11:56:23 +00:00
kichik
b9ecd8f65c size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3912 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 15:28:37 +00:00
kichik
4bb5e9b310 available variable in DirProc's WM_IN_UPDATEMSG handler wasn't properly initialized
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3911 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 14:19:00 +00:00
kichik
48f6cfb392 added FORCE_INLINE to RefreshComponents
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3901 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:49:00 +00:00
kichik
282cd1ef72 if the first section was a section group, following section groups didn't behave correctly
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3900 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:45:02 +00:00
kichik
5a37bd4e68 fixed compile error with logging enabled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3896 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 15:31:57 +00:00
kichik
1ecd52511c fixed bug #1114876 - "Space Available" shows bad value "258.-2GB"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3888 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-03 18:24:48 +00:00
kichik
057a91aa70 made SectionGetText work in .onInit too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3871 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:24:51 +00:00
kichik
f558c99c2c use new section name space
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3868 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:13:47 +00:00
kichik
b4e31e321e update the inner page if the leave function aborted, something might have changed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3861 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:54:59 +00:00
kichik
840ab03222 use new component functions to enable toggling of partially selected sections and fix bug #1045722
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3857 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:38:48 +00:00
kichik
f2cba8c2cb renamed SubSection to SectionGroup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3852 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 12:43:52 +00:00
kichik
dfd8dc1227 2005
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3831 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-04 14:54:48 +00:00
kichik
ea1c67af6b fixed bug #1073363 - keyboard navigation in MUI_PAGE_INSTFILES
keyboard navigation doesn't work while the focus is set on a disabled control


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3778 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-25 22:31:08 +00:00
kichik
76dcceb87a made the gradient background window not pretend to be the installer dialog so the "unpacking" window will show even if it is used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3775 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-20 15:23:37 +00:00
kichik
0677224b1f size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3731 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 21:33:33 +00:00
kichik
335fd47066 made the Reboot command first quit and then reboot
- fixed bug #989690
 - the installer now denies reboots while running
 - the Reboot instruction no longer returns or sets the error flag
 - added .onRebootFailed which is called when Reboot fails
 - installer should now always clean-up when rebooting


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3729 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 13:56:02 +00:00
kichik
0ba42540df updated some comments
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3682 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:50:04 +00:00
kichik
66ad756138 added NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3669 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 11:22:46 +00:00
kichik
e82748702c - added GetErrorLevel and SetErrorLevl
- fixed some inconsistencies in the error levels the installer/uninstaller set


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3668 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:49:08 +00:00
kichik
91af95e1ef don't forward WM_COMMAND if it was handled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3644 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-03 12:52:29 +00:00
kichik
7270abe8d3 close installer on WM_QUERYENDSESSION instead of trying to clean up on WM_ENDSESSION which doesn't work if there's an active plug-in (for example, when the finish page is showing)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3596 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 16:47:19 +00:00
kichik
3181bf4b4d size optimization - lzma exehead is now 33.5kb
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3593 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 11:05:48 +00:00
kichik
c50e17955c case changes for #include lines for cross compiling (Michiel Ephraim)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3558 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-11 11:24:09 +00:00
kichik
73ba4f376b fixed the next/back buttons bug caused by the last fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3548 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-15 11:22:48 +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
kichik
037da48cd1 GetDiskFreeSpaceEx on NT4 doesn't seem to like NULLs, even though MSDN says it should
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3532 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-24 19:16:10 +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
kichik
f4a1f17299 - updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
- fixed errors and warnings given by gcc


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
kichik
d18cea205c - lzma exehead is now 34kb instead of 34.5kb thanks to the new LZMA C SDK and should be much faster due to removal of critical section usage (not tested too much, test before usage)
- applied some parts of patch #875485


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3508 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 18:37:19 +00:00
eccles
ca9582c925 Windows 95 (OSR2)/98/ME no longer see drive free space capped to 2GB.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3507 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 12:31:26 +00:00
kichik
b4f63105e1 AllowRootDirInstall should now work along with InstallDirRegKey when the specified registry value contains a root directory without a trailing backslash. When writing $INSTDIR as is, this will always be the case.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3494 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-20 15:13:13 +00:00
kichik
4a8e19199a only free the PIDL in DirProc, don't parse it too so g_tmp gets overwritten with the entire path instaed of just the display name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3472 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 22:37:46 +00:00
kichik
4e3f2c485e made the command line parser cut right on /D= and _?= and not one char before. this way foo.exe "bla"/D=..., which appears to be valid in other applications, will not get the last quote cut off.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3468 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 16:31:32 +00:00
kichik
b1a527c4ce made the command line parser not ignore any switch just before it didn't have a switch before it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
976e1f7097 - fixed two bugs which caused MBCS chars to be treated wrongly in validate_filename and therefore trim too much when validating a path
- converted minus ones to INVALID_FILE_ATTRIBUTES


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3439 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 23:51:31 +00:00