Commit graph

768 commits

Author SHA1 Message Date
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
kichik
d07ec8774f fixed some mismatched new and delete operators
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3465 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-05 12:19:02 +00:00
kichik
d08b963619 fixed uninstallers (thanks again eccles ;)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3464 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 23:12:54 +00:00
kichik
ff74ffb34b fixed $CMDLINE corruption (thanks eccles)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3463 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 22:40:36 +00:00
kichik
b1a527c4ce made the command line parser not ignore any switch just before it didn't have a switch before it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
fa355ff0e3 updated /hdrinfo to include information about lzma too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3457 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-03 13:51:27 +00:00
kichik
e5280834ac Some system I tested on didn't quite get the END part and seeked beyond the end of the file which caused the CRC checksum to be written in a place where the exehead didn't expect it. Because of this, all solid installers compiled on that system failed CRC.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3456 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-03 13:44:03 +00:00
kichik
dec6634222 rc3->rc4
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3449 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-02 15:09:40 +00:00
kichik
976e1f7097 - fixed two bugs which caused MBCS chars to be treated wrongly in validate_filename and therefore trim too much when validating a path
- converted minus ones to INVALID_FILE_ATTRIBUTES


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3439 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 23:51:31 +00:00
kichik
44ea5c2787 - compiles without PSDK again
- moved all defines that are missing without PSDK to Platform.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3438 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:31:58 +00:00
kichik
fc41843fa0 - compiles without PSDK again
- moved all defines that are missing without PSDK to Platform.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3437 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:25:39 +00:00
kichik
bd25e070c8 - compiles without PSDK again
- moved all defines that are missing without PSDK to Platform.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:04:10 +00:00
kichik
de15ecd44b forced a clean-up of the plugins dir and solid installer's temp file on reboot since the regular one wasn't called on windows 9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3434 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-29 23:18:32 +00:00
kichik
851032d22a fixed some compile errors caused by removing some config.h options
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3429 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-29 01:23:24 +00:00
kichik
bb4413a2c6 fixed logging
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3424 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-27 18:44:31 +00:00