Commit graph

278 commits

Author SHA1 Message Date
kichik
04cb60bc69 don't start showing pages if quit was called in the show function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5096 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-17 19:12:24 +00:00
kichik
68907347f5 don't pass ".dll" to myGetProcAddress as GetModuleHandle and LoadLibrary add that automatically
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5076 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 16:05:43 +00:00
kichik
427d583f68 added $PROGRAMFILES32, $PROGRAMFILES64, $COMMONFILES32 and $COMMONFILES64
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5072 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 13:54:47 +00:00
kichik
bcf3899e68 instead of forwarding the X button to the Next button when the Cancel button is disabled on the last page, simply disable the X button when the Cancel button is disabled (part of bug #1267491)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5067 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 19:59:30 +00:00
kichik
122d84ddf2 no more need for char* cast
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5042 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-09 19:44:16 +00:00
kichik
6ea14b45da 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@4978 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 20:35:53 +00:00
kichik
781c8aa1b8 size optimization - use don't add "Locale" twice to data section
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4972 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:19:30 +00:00
kichik
0c4ba9481a fixed bug #1664428 - LicenseForceSelection validation check can be easily skipped
rollback 1.269 as lParam can be NULL, as in this case


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4946 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-20 21:34:32 +00:00
kichik
f47023d9df fixed bug #1174184 - end of InstallDir appended after browse with custom dir var
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4875 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 13:08:18 +00:00
kichik
b4a00a8ede size optimization - no need for GetDlgItem, WM_COMMAND comes with the lParam = HWND
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4853 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-19 18:30:56 +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
9f37ece536 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4821 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 10:51:00 +00:00
kichik
d13749922d size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4820 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 10:28:32 +00:00
kichik
e06fba9e3b fixed bug #1115825 - install pg/Show details/rt clk popup not destroyed on finish
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4819 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 10:17:26 +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
70e426839a fixed bug #1504297 - .onVerifyInstDir changes browsing text
script executed in .onVerifyInstDir changes ps_tmpbuf which is returned by GetNSISStringTT and is used for the browsing text


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4694 212acab6-be3b-0410-9dea-997c60f758d6
2006-06-16 13:15:01 +00:00
kichik
2af8b64f00 fixed bug #1400995 - MB_TOPMOST doesn't work as first sections' instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4534 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 18:15:35 +00:00
kichik
94f7f3b673 added NSIS_CONFIG_LOG_STDOUT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
a889217375 richedit controls automatically set the hand cursor for links, no need to do it manually
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4507 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 15:44:40 +00:00
kichik
75d0211ffd check g_tmp[0] not state_language[2]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4500 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:57:50 +00:00
kichik
b747052c7f fixed bug #1412159 - NSIS 2.13 doesn't work on Win 95/98/NT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4498 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:54:35 +00:00
kichik
80cca71694 g_tmp should be at least twice NSIS_MAX_STRLEN, no matter what NSIS_MAX_STRLEN is
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4497 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:31:24 +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
d96ca6b2f7 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4483 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 16:03:53 +00:00
kichik
8be4c6a45d size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4482 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:55:37 +00:00
kichik
df250ef20d size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4481 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:42:15 +00:00
kichik
b682277db5 added a comment explaining the workaround
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4480 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:32:56 +00:00
kichik
4a9416330d fixed bug #1397031 - masked checkboxes don't redraw on Windows 95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4479 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 15:22:49 +00:00
kichik
494a87fd0c TreeView doesn't automatically scroll to newly added items, there's no need to manually scroll back to the top.
I'd keep it just to be on the safe side, but on Windows 95, it crashes when there are no items in the TreeView.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4478 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-14 13:35:12 +00:00
kichik
09e44a9feb size optimization (zlib is back to 34)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4477 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 20:44:51 +00:00
kichik
a1f2413942 fixed bug #1209843 - $INSTDIR is empty in directory page show callback function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4476 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 19:56:03 +00:00
kichik
e43d521307 fixed bug #1324734 - $LANGUAGE based on locale rather than UI language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4463 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-30 15:47:47 +00:00
kichik
03ffaef32d fixed bug #1331292 - browsed network root directory isn't accepted
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4432 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-26 13:06:08 +00:00
kichik
3b1ff15cb0 fixed bug #1314004 - Copy details to clipboard can crash
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4365 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-27 20:41:37 +00:00
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