Commit graph

51 commits

Author SHA1 Message Date
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
kichik
7103ff882f Fixed a bug with the uninstaller creation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@675 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-09 15:26:42 +00:00
kichik
2c01f3ae15 Back to 37KB
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@673 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-09 14:21:45 +00:00
kichik
c3c52d4f4c Improved Sunjammer's code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@666 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-08 15:04:45 +00:00
kichik
7894df4758 no message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@660 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-07 18:12:30 +00:00
kichik
329f59cbd1 ChangeUI can change any dialog. Added UseOuterUIItem
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@656 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-07 15:14:40 +00:00
sunjammerx
7e6be3cf1e - Fixed a bug in the dll export scanner (spotted and cured by CodeSquid)
- Fixed a bug in the installer runtime (spotted by CodeSquid)
- Renamed all usage of ExternalCommand to Plugin
- Added a compile time PluginDir command


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@650 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-05 19:13:52 +00:00
sunjammerx
31ad4513e9 Added automatic use of dll commands (see config.h for more details)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@645 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-05 02:05:00 +00:00
kichik
8ef7b8fe3c nothing new, cvs just assumes so...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@644 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-04 21:24:37 +00:00
kichik
058656de50 Full multilingual support!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@640 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-04 20:25:10 +00:00
kichik
4c1780d9f0 no message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@638 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-03 23:06:10 +00:00