kichik
7450c0f23b
new interface for reading directories which helps getting some preprocessor clutter outside of script.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3781 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 15:37:31 +00:00
kichik
c2c907b2bf
added get_file_name which extracts the file name from a path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3780 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 15:26:49 +00:00
kichik
ea1c67af6b
fixed bug #1073363 - keyboard navigation in MUI_PAGE_INSTFILES
...
keyboard navigation doesn't work while the focus is set on a disabled control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3778 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-25 22:31:08 +00:00
kichik
76dcceb87a
made the gradient background window not pretend to be the installer dialog so the "unpacking" window will show even if it is used
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3775 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-20 15:23:37 +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
821fca5066
better description of command line usage (bug report #1065322 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3771 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 14:38:33 +00:00
kichik
1e93f9983f
more of patch #1055553 - Absolute path of *.nsi not accepted on posix (-- separator between options and files for posix)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3770 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-19 13:45:22 +00:00
kichik
f38fb13b98
applied patch #1055553 (with some changes) - Absolute path of *.nsi not accepted on posix
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3765 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-12 13:58:21 +00:00
kichik
0657260dbe
* applied patch #1055553 (with some changes) - Absolute path of *.nsi not accepted on posix
...
* updated license line breaking to fit better
* added /VERSION to the usage information text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3764 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-12 13:58:11 +00:00
kichik
2b0c2f2787
Only use the GetModuleHandle trick for plug-ins, otherwise just load and unload. If RegDLL uses /NOUNLOAD, unloading will be skipped, but GetModuleHandle won't be used.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3763 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-11 21:28:25 +00:00
kichik
424322a142
Always increase the load count of registered dlls if /NOUNLOAD is not specified. This should fix some problems with registering many COM dlls in a row.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3762 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-11 20:34:50 +00:00
kichik
a213c56d8e
include unistd.h for chdir()
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3758 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-25 23:34:07 +00:00
kichik
45bc724d43
include unistd.h for chdir()
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3756 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-25 17:51:55 +00:00
kichik
89d3581649
Added another parameter to plug-in functions. This parameter is a structure with pointers to exec_flags and ExecuteCodeSegment. This is backward compatible with older plug-ins because plug-in functions use the __cdecl calling convention which means NSIS clears the stack.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3751 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-23 17:43:08 +00:00
kichik
b2556bb9bd
2.01->2.02
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3738 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-18 23:05:16 +00:00
oripel
6c6902a8b6
Using new resource management syntax, e.g. MANAGE_WITH(buffer, free)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3736 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-15 03:59:46 +00:00
oripel
92da5605ea
Reworked the ResourceManager concepts
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3735 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-15 03:58:18 +00:00
oripel
74b120f50c
Imported and modified some sources from Boost ( http://www.boost.org )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3734 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-15 03:40:07 +00:00
oripel
4e26b2777a
Added missing #include "Platform.h"
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3733 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-15 03:23:13 +00:00
kichik
b7f9b6525b
added a comment
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3732 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 21:34:17 +00:00
kichik
0677224b1f
size optimizations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3731 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-14 21:33:33 +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
45390f68d7
some more cross compiler prefixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3724 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 22:40:58 +00:00
kichik
8d496ae1be
moved implementation of PluginsList into Plugins.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3723 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 21:27:09 +00:00
kichik
c1faddf1fa
moved implementation of LangStringList and StringsArray into lang.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3722 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 21:22:55 +00:00
kichik
021336133c
moved implementation of ConstantsStringList into ShConstants.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3721 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 21:05:59 +00:00
kichik
11571a1de9
missing includes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3720 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 21:01:45 +00:00
kichik
5edfe8c5af
int to size_t
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3718 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 20:26:23 +00:00
kichik
bdd68d623f
silly typo fixed
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3717 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 20:09:22 +00:00
kichik
184e058e74
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3716 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 19:57:18 +00:00
oripel
df2695bba1
Added support for different prefixes for gcc on non-Windows platforms
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3715 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:26:08 +00:00
oripel
b23141bbaf
Added template class ResourceManager and friends
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3714 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:25:30 +00:00
oripel
a9fdc1423e
Added missing #include statements for Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3713 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:24:54 +00:00
oripel
fe3fbd361d
Liberal use of ResourceManager
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3712 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:24:33 +00:00
oripel
939a936a44
added missing #include statement for Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3711 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:21:24 +00:00
oripel
856feff066
- added target 'depend' using makedepend
...
- object files are placed in $(BUILDDIR)
- OBJS is calculated from SRCS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3710 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 21:20:49 +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
93f4ad3d6b
moved implementation of CVersionStrigList into ResourceVersionInfo.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3707 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 14:23:45 +00:00
kichik
a0e67e3e8a
moved implementation of LineParser into lineparse.cpp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3706 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-11 11:45:15 +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
07eb9b6425
removed extra %s from TOK_GETCURRENTADDR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3702 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-10 18:17:14 +00:00
kichik
ca1929afb7
use mmap.cpp instead of strlist.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3696 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-02 18:26:23 +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
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
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