Commit graph

211 commits

Author SHA1 Message Date
kichik
2f8b7032c0 Only RegDLL and UnRegDLL will change the current directory so plug-ins will now work as before
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1975 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-18 20:22:35 +00:00
kichik
1fd1ebd07e Set the current directory back to the exe dir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1880 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-04 21:11:24 +00:00
kichik
e6af406ab2 RegDLL now sets the current directory to the DLL directory (Patch #646306 )
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1872 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-03 20:33:17 +00:00
kichik
5e9ede6d31 + Sections can be unselected in silent mode too
+ Some documentation fixes
+ Transition between a normal page and a custom page no longer causes a flicker (between two custom pages it still does)
+ The completed sub-caption shows again


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1853 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-30 13:15:49 +00:00
kichik
2d7e541bf6 Exec will now always work
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1821 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-22 15:46:33 +00:00
kichik
f9075a8346 Enabled SetWindowLong
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1722 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-15 13:45:12 +00:00
kichik
0276abd2b1 ShowWindow added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1719 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-15 13:15:42 +00:00
kichik
45d3d9e62f No more Reboot crash when recompiling under VC7
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1687 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-12 18:19:24 +00:00
kichik
0a81a64aec Oops... WriteIniStr now writes again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1617 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-08 11:15:25 +00:00
kichik
c0c0191dbc WriteIniStr flushing enabled
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1613 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-07 20:12:01 +00:00
kichik
6c51b44657 New paging system. All scripts must be updated, but it sure is worth it. InstallOptions has two new functions initDialog and show. Docs massively updated.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1536 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-01 20:34:55 +00:00
kichik
15cedc10f5 Now sets the error flag if DllRegisterServer fails (Bugs item #624176)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1431 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-16 16:51:58 +00:00
kichik
c9f0b33f2d 28 bytes down
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1308 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-05 16:20:13 +00:00
kichik
3d1c70f375 94 bytes saved. LangString should now work with sub-sections too.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1270 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-02 15:01:06 +00:00
kichik
f2bfa2b4b9 FindWindow $0 works again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1267 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-02 11:48:05 +00:00
kichik
2c96636160 Unprocessed strings (such as InstType) can now use LangString/$(name) too. No more "skipped" messages before plugins.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1253 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 17:16:49 +00:00
kichik
62abf21381 bzip2 header down to 34KB, 54 bytes away from 34.5KB zlib. Fixed a bug with ReadRegStr and $0.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1249 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 14:13:23 +00:00
eccles
b2dad77f69 CreateShortcut comment memory corruption
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1238 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-30 21:42:58 +00:00
kichik
bb60e32aaa Added user defined multilingual strings. Define using LangString [un.]name lang_id string, use with $(name). Can't be used inside other strings.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1214 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-29 20:25:15 +00:00
kichik
d762e60cd8 6 more bytes down
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1183 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 13:10:21 +00:00
kichik
d5dfdb900b Shortcut comment option added, 44 bytes saved.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1181 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 12:54:10 +00:00
justin1014
997ff07df8 another 30 or so bytes saved, by modifying readSelfFile to do all length checking. Not sure if I broke anything though =)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1179 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 03:34:30 +00:00
justin1014
0728c9b4c8 another 8 bytes saved
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1178 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 03:14:53 +00:00
justin1014
7dbc2a11c8 cut another 30 bytes or so off. also made atoi take negative octal/hex numbers.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1175 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 02:36:30 +00:00
justin1014
372e1f0d11 6 bytes saved (made addtrailingslash return char *)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1174 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-25 02:13:38 +00:00
eccles
83a4213bfb 60 bytes saved.
zlib exehead is now 35.5K.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1172 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-24 23:26:55 +00:00
eccles
063eade67b 200 bytes saved!
Drum-roll...  bzip2 exehead is now 37K.
Next target - 50 bytes to get zlib exehead down to 35.5K.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1169 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-24 18:49:21 +00:00
kichik
1683a1f248 18 bytes down
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1158 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-23 14:07:39 +00:00
eccles
ebd54dc8c9 4 byte saving. woooo.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1150 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-22 14:22:35 +00:00
justin1014
2093439acd woohoo 36.0kb for zlib header
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1106 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-21 06:13:15 +00:00
justin1014
bc80ceac5c another 4 byte save
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1102 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-21 02:44:49 +00:00
eccles
0910f0dd75 Shaved off another 104 bytes of code.
exehead_bzip2 is now 37.5K.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1057 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-19 22:25:15 +00:00
eccles
24977f45d0 Shaved off 208 bytes of code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1056 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-19 21:53:24 +00:00
justin1014
e327e8681a Fuxing things up making things compile/smaller when lots of options are disabled.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1034 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-18 19:08:53 +00:00
kichik
541fafa81c Back to 37KB
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1009 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-13 22:07:07 +00:00
justin1014
680c8f78af increased instruction parameter count to 6, made SendMessage support strings differently and made it support timeouts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1006 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-13 21:23:01 +00:00
justin1014
ec4e89dbf5 Changed SendMessage: WM_SETTEXT no longer implies string (hack), and lParam and wParam can pass strings if they begin with STR:
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1003 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-13 20:59:04 +00:00
kichik
3a65507878 Renamed my_alloc to my_GlobalAlloc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@954 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-07 20:49:18 +00:00
kichik
a41fe5d416 Uses my_alloc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@845 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-31 10:27:01 +00:00
kichik
260dfe3830 CreateFont gives the right size now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@820 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-29 12:24:35 +00:00
kichik
4c9029094e CallInstDLL /NOUNLOAD added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@813 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-29 10:25:45 +00:00
kichik
806f0afb91 Removed SetLanguage (back to $LANGUAGE)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@777 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 16:57:46 +00:00
kichik
c8e693e95b 0.5KB saving
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@765 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 10:08:38 +00:00
kichik
d6c4b8ac50 Added SetLanguage ($LANGUAGE is no longer a variable)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@738 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-25 16:09:42 +00:00
kichik
45ed8c86f9 Added SetStaticBkColor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@731 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-25 10:53:00 +00:00
kichik
25e248b099 Replaced SetDlgItemText by GetDlgItem
SendMessage WM_SETTEXT treats lParam as a string
Added CreateFont


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@702 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-21 16:36:09 +00:00
eccles
34db30b2ce Instant saving of 0.5K - use of stdcall calling convention to
reduce code overhead associated with managing the stack


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@694 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-19 23:18:19 +00:00
eccles
7a2cf3e5b8 Small space-saving optimisations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@693 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-19 21:24:44 +00:00
eccles
ac00a53e1a Implemented a method where LANG_* strings can be referenced
by constant id's - reducing code overhead associated with
looking up the global strings variables.  Kind of.  Just compare
the assembly output...


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@685 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-11 18:56:30 +00:00
kichik
bc6494155b Fixed a bug that caused the second plug-in DLL not to get extracted
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@677 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-09 18:59:13 +00:00