Commit graph

792 commits

Author SHA1 Message Date
kichik
f2f8ac089a tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3622 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 20:01:12 +00:00
kichik
c3ec520071 patch #1005845 - Warning fix for bin2h.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3621 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 19:28:25 +00:00
kichik
f549788c32 patch #1005305 - Source/exehead/Makefile for cross compiling on POSIX systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3619 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 19:07:09 +00:00
kichik
c78720010b patch #1005299 - Source/Makefile for building on POSIX systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3618 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 18:59:01 +00:00
kichik
42f134860a Fixed the cause of bug #1004496 - Install with /NCRC hangs
The hanging disappeared along with the removal of the threaded lzma decoder, but the cause stayed. When the user specified /NCRC on the command line, loadHeaders reported the compressed data size to be 4 bytes larger than it really is. Instead of checking the header flags, it checked the combined flags (command line and header), concluded CRC checksum is disabled and therefore didn't subtract the 4 bytes of the CRC checksum from the compressed data size.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3613 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-07 15:47:12 +00:00
joostverburg
a1f64d2d4c compiles with NSIS_SUPPORT_CODECALLBACKS disabled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3600 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 21:47:14 +00:00
kichik
c5af89209c fixed handling of relative paths such as \file.ext in do_add_file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3598 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 21:29:03 +00:00
kichik
010dc75a71 converted RMDir back from SHFileOperation to the good old manual method
- RMDir can now be used with both /r and /REBOOTOK
- RMDir /r no longer leaves lots of files behind if one file removal failed
- The plug-ins directory is now always deleted, if not immediately, then after reboot
- RMDir /r prints a detailed log of its actions


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3597 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 17:03:07 +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
bb3f7be9ba added !execute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3594 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 11:29:28 +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
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