Commit graph

913 commits

Author SHA1 Message Date
kichik
b4e31e321e update the inner page if the leave function aborted, something might have changed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3861 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:54:59 +00:00
kichik
840ab03222 use new component functions to enable toggling of partially selected sections and fix bug #1045722
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3857 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:38:48 +00:00
kichik
d8225671ad use new components functions so SetCurInstType will take affect immediately and so setting a section group's flags will affect its children too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3856 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:33:12 +00:00
kichik
c73d4d43b4 - deprecated cur_insttype and insttype_changed
- added SF_TOGGLED section flag


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3855 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:29:29 +00:00
kichik
6173889411 components functions that don't rely on the TreeView
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3854 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-11 16:28:10 +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
ca83176be0 removed debug message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3850 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-10 11:40:06 +00:00
kichik
4385e976a2 Igor requested the paragraph to be removed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3849 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-09 12:56:36 +00:00
kichik
ccbc8ecd45 2.03->2.04
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3842 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 17:11:49 +00:00
kichik
61ae6c590d better fix for bug #1096104
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3840 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 16:36:05 +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
a7c465cc9e descending message wasn't being displayed when the directory itself matched
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3838 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 13:01:07 +00:00
kichik
520f6f1281 fixed bug #1096104 - File /r under unix creates incorrect dirs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3836 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 12:37:55 +00:00
kichik
b65e514035 compare to string::npos, not 0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3835 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-05 12:02:29 +00:00
kichik
dfd8dc1227 2005
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3831 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-04 14:54:48 +00:00
kichik
34db7b90f2 use new MultiByteToWideChar and WideCharToMultiByte implementation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3824 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:10:28 +00:00
kichik
7440f82655 updated copyright year
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3823 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:09:29 +00:00
kichik
2a005401f4 use new, correct, MultiByteToWideChar and WideCharToMultiByte implementation on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3822 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:09:23 +00:00
kichik
a0920c7b1d added implementation of Unicode conversion functions for POSIX, based on iconv
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3821 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:06:17 +00:00
kichik
8cf1113c5b fixed bug #1082017 - Problem with empty dir in File /r
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3819 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-10 11:09:10 +00:00
kichik
eb24f3cb99 added a test for dir_reader::matches
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3817 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-10 10:35:40 +00:00
kichik
fb60920df7 fixed bug #1080810 - const_iterators cannot be null in g++ (3.4.2)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3816 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-10 10:21:50 +00:00
kichik
0de534de59 fixed vc7.1 compile error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3815 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-06 17:15:03 +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
ca624dc184 use stat to find out if the file is a directory or not since it's more portable
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3790 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 20:28:18 +00:00
kichik
6c3ce8f436 * diropen, dirread -> opendir, readdir
* fixed warnings


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3789 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 20:07:27 +00:00
kichik
f95af4cb45 added dirreader.cpp and updated dependencies
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3788 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 20:02:46 +00:00
kichik
444221504c fixed compile error under gcc-2.95
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3787 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 19:49:05 +00:00
kichik
6d438d0f34 2.02->2.03
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3786 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 19:30:01 +00:00
kichik
5acba7ec75 added /date switch to !define for definition of date and time constants
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3785 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 18:49:50 +00:00
kichik
2a9a9ac72a added /x switch for File and ReserveFile to exclude files and directories
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3783 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 17:18:10 +00:00
kichik
ee703bab52 * use new dir_reader
* only warn once about /a on POSIX
* made /R search for matches inside subdirectories even wildcards were not used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3782 212acab6-be3b-0410-9dea-997c60f758d6
2004-11-26 15:44:02 +00:00
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