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
5744372364
Fix bug #1080 , Unicode stubs must use RichEdit20W, otherwise EM_GETTEXTRANGE gives us ANSI strings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6410 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-15 23:14:12 +00:00
anders_k
942ea1d465
Win64 fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6405 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 23:04:23 +00:00
anders_k
bd591bf196
200? -> 2013
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +00:00
kichik
6ef6d6dfb0
"#pragma diagnostic push" only works on gcc 4.6+
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6305 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-17 00:36:07 +00:00
anders_k
dcddf977b2
Use a custom file reader with UTF8 support for nsi/nsh/nlf files and store UTF16LE or MBCS (stringblock) strings in ExeHeadStringList
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6289 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 21:25:35 +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
2d99d7ad3e
Removed unused variables and fixed GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6259 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-08 02:50:09 +00:00
anders_k
de46637e02
Changed section index is stored in $0 during .onSelChange callbacks
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6184 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-20 22:03:21 +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
57f7ff8a1c
Unicode port: Unicode version of NSIS can now generate both ANSI & Unicode installers (using new instruction UnicodeInstaller on/off).
...
Stubs & Plugins differentiation is done automatically using a 'W' suffix.
SConscripts need to be reviewed to generate both variants of Plugins & pluginapi.lib under Unicode compilation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6100 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 10:07:22 +00:00
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