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
779e0354d2
MMapFile test
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3693 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 13:07:07 +00:00
kichik
32dfb7e181
both _=? and /D= now require a space before them so they can safely remove the space from $CMDLINE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3692 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 21:15:24 +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
80f062d8ce
- fixed bug #1022399 - Only initial banner is in foreground
...
- added a few more checks
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3690 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 13:14:13 +00:00
kichik
6427fe2c78
#include <pthread.h>
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3689 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 11:18:07 +00:00
kichik
a4b59e7bec
fixed bug #1038255 - CopyFiles usage checking problem
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3688 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 09:57:01 +00:00
kichik
0c5cabbed4
define DS_SHELLFONT for win32 too
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3687 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-01 09:45:37 +00:00
kichik
7411f18a9b
only close file handle once in MMapFile::clear()
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3686 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 22:47:28 +00:00
kichik
a0b6163f51
dir in do_add_files can be "." on windows too
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3685 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 22:46:33 +00:00
kichik
9031d6c9de
updated
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3684 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 22:07:38 +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
0ba42540df
updated some comments
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3682 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:50:04 +00:00
kichik
0f37987c0d
added endian macros
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3681 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:49:03 +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
2da10af05b
first-ever CppUnit unit tests
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3679 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 18:36:08 +00:00
kichik
bec8d601c2
added DEBUG and PROFILING flags
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3678 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 13:15:22 +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
4964bf6ef3
case change for language name
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3676 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-30 10:37:39 +00:00
kichik
006083f626
fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3675 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-29 16:36:00 +00:00
kichik
b57f43ce92
added shl and shr to IntOp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3674 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-28 21:25:08 +00:00
kichik
8759dcc315
fixed gcc 3.4 compile errors
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3673 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 18:05:16 +00:00
kichik
3e7c2c464d
added information about uninstallers and error levels
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3672 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 14:56:59 +00:00
kichik
010dd61226
return 0 if the uninstaller was successfully copied and executed, not -1
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3671 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 14:56:16 +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
66ad756138
added NSIS_CONFIG_COMPONENTPAGE_ALTERNATIVE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3669 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 11:22:46 +00:00
kichik
e82748702c
- added GetErrorLevel and SetErrorLevl
...
- fixed some inconsistencies in the error levels the installer/uninstaller set
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3668 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-25 10:49:08 +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
15e6286454
fixed compile error on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3665 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 14:32:58 +00:00
kichik
6c5208649f
updated history
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3664 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 14:05:12 +00:00
kichik
d02eae4d94
String Functions 1.07
...
- StrStrAdv and StrCase have their functions remodeled with LogicLib. Functions have a lesser chance to have bugs.
- Added case-sensitive comparation option for StrStrAdv.
- StrCase now uses System.dll which makes case convertions effective with all latin letters (i.e. ?).
- StrClbSet and StrClbGet removed, added StrClb.
- Made compact the most usual operations inside the header file. File size reduced.
- Added "!verbose" to header file -> faster compilation and header file output organized (code borrowed from LogicLib.nsh).
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3663 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 13:59:03 +00:00
kichik
92d5893afa
added an optional flag called USE_PRECOMPILED_EXEHEADS
...
set it to 1 to force the makefile to use the precompiled exehead .h files that come with NSIS releases
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3662 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 13:27:56 +00:00
kichik
efce592be4
use RegCreateKeyEx instead of RegCreateKey to hopefully solve the 64-bit Windows 2003 Server problem with WriteRegStr
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3661 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 12:58:43 +00:00
kichik
28c2e72073
Library fixes and improvements:
...
- always register DLL/TLB, even if the installer didn't copy it there
- only copy one RegTool and use it to register all of the DLLs and TLBs
- extract the RegTool as an .exe so explorer won't complain it doesn't know how to open the file
- fixed REGDLLTLB registering just as a TLB
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3660 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 12:38:23 +00:00
kichik
d7ca86c446
don't try to delete a directory after reboot if it's not even valid
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3659 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-24 11:26:35 +00:00
kichik
64c1b0f05e
fixed a bug in the handling of wCreateDataSize in CDialogTemplate::Save (thanks Sven Ritter)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3658 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-22 16:23:05 +00:00
ramon18
9c8af69119
#1008509 - Fixed compilation of plugin NSISdl under VS.NET
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3657 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-17 22:53:34 +00:00
kichik
b3d872ee65
SetCtlColors /BRANDING wasn't working right, if just one of the background or text color were specified
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3656 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-17 16:48:38 +00:00
kichik
c9aa2a4ffc
applied patch #1028028 - POSIX-built installers install files w incorrect timestamps.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3655 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-14 19:26:37 +00:00
kichik
a84b5fe2b1
- fixed "already defined" error
...
- fixed unused label warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3654 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-11 15:44:17 +00:00
kichik
38d7adce15
implemented GetDLLVersionLocal for non Win32 platforms
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3653 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-11 11:25:19 +00:00
joostverburg
7e893b2a80
corrected spelling of "Welcome" (patch 1026048)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3652 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-10 21:09:37 +00:00
kichik
f57a919c54
typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3651 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-10 13:54:59 +00:00
kichik
2849e0d88b
typo
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3650 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-09 17:19:47 +00:00
kichik
eb0e1fa14d
close all open file handles when one of them fail to open
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3649 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-07 19:50:13 +00:00
joostverburg
776eb349c0
filename corrections
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3648 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-05 12:21:17 +00:00
joostverburg
f1ac2cc1ba
fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3647 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-04 14:26:54 +00:00
kichik
ba4e09bc04
1*2000 is not 1000
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3646 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-03 13:14:26 +00:00
kichik
bfeb898451
three functions, not two
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3645 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-03 13:13:36 +00:00