Commit graph

269 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1855c9f7a5 bug report #1005303 - NSIS build warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3630 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-18 16:14:44 +00:00
kichik
c5af89209c fixed handling of relative paths such as \file.ext in do_add_file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3598 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 21:29:03 +00:00
kichik
010dc75a71 converted RMDir back from SHFileOperation to the good old manual method
- RMDir can now be used with both /r and /REBOOTOK
- RMDir /r no longer leaves lots of files behind if one file removal failed
- The plug-ins directory is now always deleted, if not immediately, then after reboot
- RMDir /r prints a detailed log of its actions


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3597 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 17:03:07 +00:00
kichik
bb3f7be9ba added !execute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3594 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 11:29:28 +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
kichik
d1f241e6c8 patch #977897 by Anders - IntOp shr & shl
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3576 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 15:24:20 +00:00
kichik
d05b8bc6ad 2.0->2.01
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3575 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 11:19:17 +00:00
kichik
88c19d767d fixed a crash caused by defining a macro in a file included by another macro
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3573 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-25 10:16:31 +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
647d61ff24 SetOutPath "-" works again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3552 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-04 11:05:29 +00:00
kichik
890a83c2b1 fixed local include on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3541 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 11:35:21 +00:00
kichik
c5aef2646e bigger MAX_LINELENGTH
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3538 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-07 11:16:03 +00:00
kichik
0a30814add fixed File /r
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3528 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-17 09:29: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
a05b0f6c61 made search for .dll in plug-in names case insensitive
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3511 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-11 19:29:04 +00:00
kichik
4d889381ca only append the last part of the path specified using InstallDir if it is not also the first
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3504 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-27 14:13:08 +00:00
kichik
95b34056d2 rc4->final
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3480 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 00:42:52 +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
dec6634222 rc3->rc4
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3449 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-02 15:09:40 +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