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
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
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
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
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
dd8a4388ac
fixed a bunch of bugs that caused lzma and bzip2 not to function without solid compression
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3362 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-06 00:53:12 +00:00
kichik
21d8b1cd46
fixed compile errors without NSIS_CONFIG_COMPONENTPAGE, NSIS_CONFIG_PLUGIN_SUPPORT or NSIS_SUPPORT_HWNDS
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3352 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:25:59 +00:00
kichik
fcd2c16685
- fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both.
...
- made log window respond to the context menu key and not just right click
- set back the default style for the next after it's re-enabled
- set focus on main controls for every page (can still hit enter for next)
- added code to prevent weird usage of WM_COMMAND which can cause weird behavior such as disabled next button on the components page
- eccles fixed a bug which caused beeping when the space key is hit on the components tree
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3351 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:05:03 +00:00
kichik
0c7981ef60
- Disabled DirShow as it hasn't been working since b0 which was released more than a year ago.
...
- Rewrote token placement checks to prevent a crash with:
"Section uninstall
InstallDir something"
and to make it a bit more comfortable.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3305 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-24 15:54:06 +00:00
kichik
c385a40332
Back to former exehead overheads (zlib, bzip2 - 34, lzma - 34.5)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3299 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 18:50:47 +00:00
ramon18
2589a5fc85
Code clean up, removed NSIS_SUPPORT_NAMED_USERVARS and NSIS_SUPPORT_LANG_IN_STRINGS
...
Added support for many new constants which get shell folders path without using the registry
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3296 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-22 00:28:30 +00:00
kichik
db34beb248
there is no pre function for custom pages, only create function
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3283 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-14 22:09:18 +00:00
kichik
1ad157554c
accept different order in install and uninstall icon files, as long as all of the sizes and color depths match
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3260 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-08 09:32:30 +00:00
kichik
7bfcfac3c2
build plug-in table only when needed. this also fixes warnings when using something like makensis.exe /X"OutFile bla.exe" /XSection /XSectionEnd
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3236 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-30 18:00:39 +00:00
kichik
ef1901d5aa
Smaller memory requirements on compile time (dict * 2 + 5MB)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3218 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-26 20:27:36 +00:00
kichik
ec5f289696
- More path validation (drive id is an english letter, no chars under 32 in a path)
...
- Fixed bug #839214 - message box shown in silent mode if a file can't be opened for writing. Now it will skip the file if AllowSkipFiles is on and abort if it's not.
- Added /SD parameter for MessageBox. Allows to set default for silent installers (MessageBox MB_OKCANCEL "OK? Cancel?" /SD IDOK IDOK doOK IDCANCEL doCancel)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3208 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 17:07:40 +00:00
kichik
b6a98d86c3
Parse LangString using the codepage specified in NLF of the language. This helps avoid warnings about unknown variables with LangStrings that contain dollar signs but are not encoded with the system's current codepage.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3204 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 05:55:18 +00:00
kichik
893a6970f8
Backwards compatibilty - sections that use SectionIn RO and no other SectionIn should be in all installation types
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3200 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 19:36:15 +00:00
kichik
0ef7fcd98b
Uninstaller data offset is saved as EW_WRITEUNINSTALLER's parameters. A step forward to multiple uninstallers and smaller exehead.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3192 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 13:11:35 +00:00
kichik
594c3ed0f6
- First LZMA enhanced NSIS version - experimental
...
- Added SetCompressorDictSize (only works for LZMA)
- Added SetCompressionLevel (only "works" for zlib and bzip2) - doesn't work for now
- Section is only supposed to get 4 parameters if /o is specified
- Updated version numbers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3190 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-24 00:08:58 +00:00
kichik
79a298aee3
- Fixed bug #844989 - multiple uninstaller subsections problems
...
- Removed "(CVS)" from version number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3168 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-19 13:11:07 +00:00
kichik
97cde160db
Close the compressor before starting to optimize to lower memory usage
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2958 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:56:58 +00:00
kichik
6d63dd3a58
- Fixed ComponentText without InstTypes
...
- Made it impossible to install to non-existing drives/removable drives with no media
- Fixed a crash caused by using a LangString in InstallDir
- No more Windows error message when a registered DLL dependency can't be found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2957 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-23 19:01:19 +00:00
kichik
f0ce1f740f
NLF_[U]CAPTION is always required, not only with a UI
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2938 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-20 10:03:02 +00:00
kichik
19da4bb2b1
Fixed CRC error on bzip2 uninstallers - thanks psyke
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2927 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-19 11:57:09 +00:00
kichik
d5a975b464
Fixed a dumb bug with the data block optimizer that caused the compiler to crash if something was actually optimized
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2924 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 19:07:29 +00:00
kichik
31a45d7031
fixed add_db_data crashing on empty inputs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2921 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-16 09:19:39 +00:00
kichik
de0104cc39
- Improved file mapping so you can now esaily compile installers up to 2GB with a minimum requirment of memory (changable by FileBufSize)
...
- Fixed DirText
- Fixed new browse dialog style problems (thanks LIGHTNING UK!)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2919 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-15 22:05:06 +00:00
kichik
103b31643e
- Fixed SpaceText none
...
- Fixed a crash that occured if LicenseData was not used and Page license was
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2910 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 21:40:33 +00:00
kichik
41808c26be
More memory clean-ups
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +00:00
kichik
896ba172d5
- Fixed uninstaller not showing anything when installer is silent
...
- Improved CResourceEditor - should be more tolerant now
- Removed legacy code from InstallOptions and StartMenu
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2882 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 13:54:01 +00:00