Commit graph

201 commits

Author SHA1 Message Date
kichik
9acac3cd12 use new writers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4571 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:21:04 +00:00
kichik
aaef4e35eb fixed bug #1434215 - #define local leaks into path settings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4539 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:19:49 +00:00
kichik
578065d849 use NSIS_VERSION from the new automatically genereated version.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4537 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:14:18 +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
cfec122ba1 pass NSIS_CONFIG_LOG_ODS to script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4509 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:51:57 +00:00
kichik
dcc5a3c002 moved VARS_SECTION_NAME from config.h to config.py and renamed it to NSIS_VARS_SECTION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4495 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:17:28 +00:00
pabs3
0913023f33 Merge patch for better installs on POSIX platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4486 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 09:54:23 +00:00
kichik
cec469059a applied patch #1374675 - made error message for already defined label clearer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4439 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-09 13:15:21 +00:00
icemank
174feaed16 Fixed comment handling.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4328 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-16 05:37:13 +00:00
kichik
8424e074e9 fixed build errors and warnings caused by latest merge
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4233 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-30 16:30:48 +00:00
oripel
57ad3c18b3 merged from PIEPIEPIE branch:
- min/max macros removed
- Plugins refactored
- more functions in util.{h,cpp}


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4232 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-27 19:56:00 +00:00
kichik
f85a88852c made NSIS_VERSION a define set by the scons script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4024 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-12 16:27:35 +00:00
kichik
7e8e0b95dd implemented RFE #1172123 - $LOCALAPPDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4015 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-07 05:33:55 +00:00
kichik
29f0e71be0 fixed bug #1123353 - WindowIcon off crashes makensis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3957 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 16:57:08 +00:00
kichik
9613c8988f - stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
38b94f19a5 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 20:44:31 +00:00
kichik
0c691fe4f8 fixed compile error without NSIS_CONFIG_CRC_SUPPORT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3918 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-05 16:56:41 +00:00
kichik
ac0e85db40 fixed bug #1144763 - more than 3 files in uninstall, cannot compile
data was added to udata after setro(TRUE) was used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3917 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-05 12:07:13 +00:00
kichik
a7e4a69bb4 fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-18 13:39:42 +00:00
kichik
6de9916400 string first in output for compression errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3878 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-18 17:56:58 +00:00
kichik
c70cfb5ac2 initialize section name with zeros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3867 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-14 15:11:56 +00:00
kichik
f2cba8c2cb renamed SubSection to SectionGroup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3852 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 12:43:52 +00:00
kichik
8c51026a67 fixed 1095761 - File /r changes $0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3839 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 13:40:42 +00:00
kichik
0e74cc0391 fixed bug #1075363 - nsisconf.nsh not included when using makensisw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3798 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-30 18:00:27 +00:00
kichik
10b5e3c5c8 added NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE to the script define list
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3791 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 22:53:15 +00:00
kichik
7c07f12463 added NSIS_LZMA_COMPRESS_WHOLE to the script define list
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3774 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 20:21:41 +00:00
kichik
75b4c66de6 fixed an access violation in case of a script jump beyond the last entry
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3772 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 15:02:08 +00:00
kichik
335fd47066 made the Reboot command first quit and then reboot
- fixed bug #989690
 - the installer now denies reboots while running
 - the Reboot instruction no longer returns or sets the error flag
 - added .onRebootFailed which is called when Reboot fails
 - installer should now always clean-up when rebooting


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3729 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 13:56:02 +00:00
kichik
29d152247f renamed exeheader_size to exehead_original_size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3727 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-13 16:58:04 +00:00
kichik
a33cecb337 added dict_size parameter to Compressor::Init() so a cast to CLZMA won't be required to pass a dictionary size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3708 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 14:26:13 +00:00
kichik
85b2ea48a3 moved implementation of CLZMA into clzma.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3704 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-10 20:58:33 +00:00
kichik
ba8a64a806 refactoring:
- added CEXEBuild::update_exehead() and made everyone use it
 - renamed some variables (of the *exeheader* variety)
bug fix:
 - uninstaller CRC-check failed if !packhdr created a non-512-bytes-aligned exehead


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3695 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 18:04:41 +00:00
kichik
60aa307741 refactoring: split strlist.h classes into separate {h,cpp} files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3694 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 15:17:00 +00:00
kichik
a4cad316e7 - converted ctime_r to ctime for better portability
- more refactoring


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3691 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 19:52:56 +00:00
kichik
c8e7f13742 more refactoring
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3683 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 20:25:33 +00:00
kichik
efcb38d737 refactoring
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3680 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:48:03 +00:00
kichik
3a4b7e326c fixed unsigned/signed comparison warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3677 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 11:20:28 +00:00
kichik
5e960e1fd3 relative jumps now work with instructions that add multiple entries (including plug-in calls)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3670 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 13:35:03 +00:00
kichik
f4089b9d60 added a cache to the datablock optimizer so it wouldn't need to read the entire datablock to find its optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3667 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:09:53 +00:00
kichik
98caca8be1 - auto conversion of paths on POSIX platforms - based on patch #1005673
- LoadLanguageFile error message improvement


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3636 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 15:40: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
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
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
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
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
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
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
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