Commit graph

782 commits

Author SHA1 Message Date
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
0735b7400e fixed internet shortcuts creation with CreateShortcut (thanks rex123)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3588 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-15 17:37:11 +00:00
kichik
bf4d3c6c94 DeleteRegKey fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3587 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-08 21:06:18 +00:00
kichik
a4ea07f3fa fixed unicode conversion with iconv
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3585 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-08 18:32:27 +00:00
joostverburg
40fc357e89 more things NSIS_CONFIG_PLUGIN_SUPPORT relies on
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3583 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-06 23:43:14 +00:00
kichik
8233ce2db2 made the agree radio button come before the disagree radio button in the license page's tab order so pressing the up key will move the selection up and not down
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3581 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-01 20:22:38 +00:00
kichik
5d8517c328 - extended maximum binary data for WriteRegBin to 3 * NSIS_MAX_STRLEN
- fixed FileRead setting the error flag when a null character is the first character it reads
- made File /nonfatal always produce a warning if the file can't be found
- some size optimizations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3577 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 19:53:05 +00:00
kichik
d1f241e6c8 patch #977897 by Anders - IntOp shr & shl
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3576 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 15:24:20 +00:00
kichik
d05b8bc6ad 2.0->2.01
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3575 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 11:19:17 +00:00
kichik
88c19d767d fixed a crash caused by defining a macro in a file included by another macro
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3573 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 10:16:31 +00:00
kichik
f23f6c62fb always make target dirs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3571 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 15:51:59 +00:00
kichik
9b061b5fc9 fixed compatibility with gcc 3.3 and improved makefiles
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3570 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 12:42:41 +00:00
kichik
bbd00dc276 fixed MMapBuf on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3569 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 11:44:03 +00:00
joostverburg
aeaefd9776 fixed compilation without background gradient support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3563 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-12 15:34:34 +00:00
kichik
b11c65e0f8 - added BGFont that allows setting the background text font
- made Times New Roman default font for the background text because it should always have support for the locale's language


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3560 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-11 15:33:00 +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
5c4deddee2 hCompressionThread is not an handle on POSIX, casting added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3554 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 11:52:01 +00:00
kichik
647d61ff24 SetOutPath "-" works again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3552 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 11:05:29 +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
43cfa19a94 show meaningful error strings and not just numbers for compression errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3545 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 17:40:29 +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
5f74ac58f9 print output file path on win32 too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3543 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 14:39:23 +00:00
kichik
c458fd50bc fixed ${NSISDIR} on POSIX when makensis is called with an absolute path
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3542 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 13:05:35 +00:00
kichik
890a83c2b1 fixed local include on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3541 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 11:35:21 +00:00
kichik
473d90a1bc always go forward in the POSIX implmentation of CharNext
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3540 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 11:34:31 +00:00
kichik
ebbfc6d335 use NSIS_MAX_STRLEN, not an arbitrary number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3539 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-07 11:16:18 +00:00
kichik
c5aef2646e bigger MAX_LINELENGTH
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3538 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-07 11:16:03 +00:00
kichik
23b9109203 LZMA compression should again work on Windows 95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3535 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-01 19:44:06 +00:00
kichik
33cd11c7eb - comment update for bug report #945607
- compile error fix for MinGW


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3534 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-01 12:57:57 +00:00
kichik
f9b9956dd2 - fixed bug report #945832
- fixed a crash under some POSIX platforms in the code that gets the fully qualified path to the output file


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3533 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-01 12:41:49 +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
0a30814add fixed File /r
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3528 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-17 09:29:49 +00:00
kichik
3f483e0163 Converted the LZMA decoder to a state machine like zlib and bzip2. The new method is smaller and safer because there is no need for hideous thread synchronization. The new method also works on Windows 95, unlike the previous one which was using InterlockedCompareExchange.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3527 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-16 22:44:03 +00:00
kichik
c579a1e4b0 back to 34kb for good old zlib exehead
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3526 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-16 22:36:03 +00:00
kichik
22e2a6271e is_valid_instpath: don't check the current directory, check the root directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3521 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-09 12:47:33 +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
joostverburg
98d8b5704b updated error messagebox text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3515 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-14 12:00:55 +00:00
kichik
7b8acb9237 use __fastcall for LZMA instead of __stdcall because it's smaller and should be faster
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3514 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 21:01:50 +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
a05b0f6c61 made search for .dll in plug-in names case insensitive
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3511 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-11 19:29:04 +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
4d889381ca only append the last part of the path specified using InstallDir if it is not also the first
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3504 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-27 14:13:08 +00:00
joostverburg
d3214f7466 license notes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3501 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-23 18:39:50 +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
569b4fb8e1 check if smaller than 31 (=control char) as unsigned
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3481 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 14:24:51 +00:00
kichik
95b34056d2 rc4->final
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3480 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 00:42:52 +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
eccles
5c83974226 cmdline and realcmds might not be pointing to the same string.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3466 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-05 14:06:05 +00:00