Commit graph

301 commits

Author SHA1 Message Date
wizou
5a5a3a674f warning fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6081 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:33:20 +00:00
wizou
1b5e8adbb8 Unicode port: Support for Unicode license files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6080 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-04 08:21:49 +00:00
wizou
f5df185ba2 Fix exehead unicode compil warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-13 15:01:14 +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
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
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
4859b8702e move definitions common to both plug-ins and stubs to api.h (part of patch #2359978)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:53:39 +00:00
kichik
4c30821aa5 applied patch #1912699 - "Pinned" / always loaded plugins support
this patch also adds plugin_api_version to exec_flags so your plug-in can now tell if features it needs are available
more plug-ins that need this will be converted once the patch to make both the stubs and the plug-ins use the same header file is in place

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5809 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 22:03:33 +00:00
kichik
ff063a0be9 applied patch #1982084 - wrong UI behaviour on size texts (VS2005)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5768 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 19:20:33 +00:00
kichik
223ea672e1 added and verified another condition - both GetDiskFreeSpace and GetDiskFreeSpaceEx require a trailing backslash
this needs a lot of optimization

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5678 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-12 17:11:38 +00:00
kichik
dbdba710e6 added a safety mechanism to make sure the new directory rooting loop in DirProc() doesn't loop infinitely
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5676 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-12 16:40:04 +00:00
kichik
e917306682 size optimization and a bit clearer code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5639 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-10 10:44:33 +00:00
kichik
931beb47e1 fixed bug #1946112 - Wrong free space calculation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5638 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-10 10:42:24 +00:00
kichik
da312003a8 reverted last commit
it forced usage of GetDiskFreeSpace instead of GetDiskFreeSpaceEx for non-existent directories or anything GetDiskFreeSpaceEx deemed invalid

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5602 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-18 22:08:29 +00:00
kichik
6503959ddb partial fix for bug #1946112 - Wrong free space calculation
still need to get the lowest existing directory so C:\mount-point\non-existent-dir still works

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5601 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-18 21:55:57 +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
31a9a49502 size optimization - better values for status_update
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5280 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-21 18:20:12 +00:00
kichik
266267ba61 fixed plug-in system's SetDetailsPrint usage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5277 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-18 22:02:44 +00:00
kichik
b0978fc844 move SetDetailsPrint flag to g_exec_flag and added a lastused capability to EW_SETFLAG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5268 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:20:11 +00:00
kichik
ba9dbe7dab some more information on the EN_MSGFILTER hack
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5184 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 18:54:52 +00:00
kichik
3f42fa8804 another focused invisible control problem when hitting the Show Details button that also hides that button
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5162 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-08 17:15:19 +00:00
kichik
48e7afd214 fixed bug #1733692 - Hitting any key in the instfiles page freezes under W2K
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5161 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-08 17:11:54 +00:00
kichik
acbd53f905 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5109 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-20 20:32:04 +00:00
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