Commit graph

128 commits

Author SHA1 Message Date
kichik
6ea14b45da size optimization
it's official. even msdn now says SHGetMalloc returns the same allocator CoTaskMemFree uses and a little debugging backs this even on Windows 95


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4978 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 20:35:53 +00:00
kichik
05d910c289 size optimization - use GetNSISString to do complicated stirng processing
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4971 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-03 14:18:49 +00:00
kichik
fac39f2435 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4930 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 09:56:21 +00:00
kichik
0117e3138e try CSIDL before resorting to registry or API for paths
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4867 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 19:41:28 +00:00
kichik
c145d69e55 2006 -> 2007
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
kichik
0e0bc68e58 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4823 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 11:37:59 +00:00
kichik
a92506d828 fixed bug #1542530 - WriteUninstaller fails to overwrite read-only uninstallers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4822 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-25 11:32:19 +00:00
joostverburg
e497d771b1 * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
a7d42ace7e fixed bug #1481664 - RMDir can't delete read-only folders
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4667 212acab6-be3b-0410-9dea-997c60f758d6
2006-05-19 07:49:16 +00:00
kichik
580c98a100 implemented RFE #1460586 - Put time stamps in the install log
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4635 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:45:03 +00:00
kichik
615ad474cb size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4554 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:11:18 +00:00
kichik
90301110cc fixed bug #1420657 - RMDIR doesn't delete file with double dots prefix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4512 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-31 18:27:28 +00:00
kichik
2c7ee57a18 check if log_dolog is set for NSIS_CONFIG_LOG_STDOUT as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4511 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 18:06:46 +00:00
kichik
94f7f3b673 added NSIS_CONFIG_LOG_STDOUT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
dcc5a3c002 moved VARS_SECTION_NAME from config.h to config.py and renamed it to NSIS_VARS_SECTION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4495 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:17:28 +00:00
kichik
2296afc187 fixed bug #1378785 - RMDir /r does not remove files with Unicode names
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4475 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-13 18:45:52 +00:00
kichik
3f18dc0b75 use normal file functions for wininit.ini modification
- according to msdn, mmap operations can raise an exception which wasn't handled
 - free up a lot of bytes from .data section (no mmap API functions)
 - mmap size is, like allocation of a buffer, limited by available memory


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4462 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-30 13:51:02 +00:00
kichik
7a4bdcf90f size optimization (zlib is back to 34/35)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4459 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:39:02 +00:00
kichik
ad3d61c837 size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4458 212acab6-be3b-0410-9dea-997c60f758d6
2005-12-24 16:28:54 +00:00
kichik
d0f1bae314 applied patch #1340255 - nicer registry commands log
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4415 212acab6-be3b-0410-9dea-997c60f758d6
2005-11-24 16:45:04 +00:00
kichik
f3d46b8cb5 typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4318 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-11 20:04:17 +00:00
kichik
e0e4e54cea validate_filename was called before skip_root in is_valid_instpath and so no root directory was ever valid, even with AllowRootDirInstall
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4293 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-04 11:18:43 +00:00
kichik
d6367e4125 my_GlobalAlloc no longer reduces the size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4255 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 16:08:44 +00:00
kichik
8e3f7ed623 size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4254 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-09 15:21:45 +00:00
kichik
86ccf99b80 added auto completion to the directory page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4236 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-02 11:35:45 +00:00
kichik
f5105a50b1 size optimization: added __stdcall wrapper for lstrcat
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:47:46 +00:00
kichik
d41f11b8d1 get rid of extra spaces in is_valid_instpath so "C:\ " will not be valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4203 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-30 12:33:20 +00:00
kichik
dbb7153d65 set error flag for invalid directories passed to myDelete (fixes bug #1227553)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4150 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-30 20:47:27 +00:00
kichik
add9fa0bee SCons/Config/gnu now takes care of adding memcpy if it's needed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4008 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-05 20:25:46 +00:00
kichik
9fdd4fbfc0 fixed bug #1073792 - RMDir /REBOOTOK sets reboot flag when folder doesn't exist
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3958 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 17:41:22 +00:00
kichik
38b94f19a5 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 20:44:31 +00:00
kichik
a7e4a69bb4 fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-18 13:39:42 +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
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
d855dafe58 fixed build warnings (including bug report #1005303 )
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3628 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-14 17:35:05 +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
9b061b5fc9 fixed compatibility with gcc 3.3 and improved makefiles
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3570 212acab6-be3b-0410-9dea-997c60f758d6
2004-06-19 12:42:41 +00:00
kichik
499fa0e764 fixed a bug which prevented enabling the next button from the leave function of InstallOptions pages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3544 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-08 16:07:22 +00:00
kichik
22e2a6271e is_valid_instpath: don't check the current directory, check the root directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3521 212acab6-be3b-0410-9dea-997c60f758d6
2004-04-09 12:47:33 +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
eccles
ca9582c925 Windows 95 (OSR2)/98/ME no longer see drive free space capped to 2GB.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3507 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-06 12:31:26 +00:00
kichik
569b4fb8e1 check if smaller than 31 (=control char) as unsigned
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3481 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-07 14:24:51 +00:00
kichik
4a8e19199a only free the PIDL in DirProc, don't parse it too so g_tmp gets overwritten with the entire path instaed of just the display name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3472 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 22:37:46 +00:00
kichik
b1a527c4ce made the command line parser not ignore any switch just before it didn't have a switch before it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3461 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-04 20:03:30 +00:00
kichik
976e1f7097 - fixed two bugs which caused MBCS chars to be treated wrongly in validate_filename and therefore trim too much when validating a path
- converted minus ones to INVALID_FILE_ATTRIBUTES


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3439 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 23:51:31 +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
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
8a85e1c0dd fixed branding text background color not updating when the system's color change
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3329 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 14:27:33 +00:00