Commit graph

219 commits

Author SHA1 Message Date
kichik
d34f8c32e9 update
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3885 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-22 17:14:36 +00:00
kichik
d91e1e68f3 updated change log
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3883 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-21 19:17:49 +00:00
kichik
98b17e1276 example of displaying images and icons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3882 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-21 19:14:52 +00:00
kichik
31542c6ea4 added TRANSPARENT flag for BITMAP fields
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3881 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-21 19:12:47 +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
46d41fb79c DirRequest's title is set by Text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3623 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-13 21:14:14 +00:00
joostverburg
f6e096dd36 DLL version 2.41
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3603 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-06 22:06:39 +00:00
kichik
af6951c0d3 should be $R0, not $0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3550 212acab6-be3b-0410-9dea-997c60f758d6
2004-05-28 14:03:24 +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
joostverburg
ee36f61aa3 return value info
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3503 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-26 17:03:29 +00:00
eccles
4f02d7930c Note about BITMAPs being centered.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3498 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-21 15:42:24 +00:00
eccles
6f96381818 We now centre bitmaps manually, to avoid differences in behaviour between XP and everything else.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3496 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-21 15:18:22 +00:00
anoncvs_ezcontents
2fed742279 Calling show after a failed initDialog caused a freeze.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3488 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-10 23:29:49 +00:00
joostverburg
0b4e16ef1e design
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3474 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-06 23:03:59 +00:00
kichik
ebd0852b60 fixed mishandling of MBCS chars
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3441 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-31 19:54:45 +00:00
kichik
8dbe4f1203 fixed a bug that was present since at least 1.3, which caused IO to read heap memory beyond pszListItems and possibly to crash
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3435 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 20:37:43 +00:00
kichik
91d6d7e391 Add the disabled flag too so when we return to this page it's disabled again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3422 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-27 15:23:42 +00:00
eccles
6429ab2452 Now ignores WM_COMMAND messages received while the dialog is in the process of being created.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3388 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-12 23:23:36 +00:00
joostverburg
15c28d8f68 copyrights
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3363 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-06 17:07:49 +00:00
eccles
e9919e7f89 Links and Buttons no longer receive the initial keyboard focus as they take over the Enter key.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3361 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-05 21:53:06 +00:00
eccles
9298dd089c Focus is now set when control initialisation is complete (e.g. after Link control HWNDPROC has been changed)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3353 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 18:14:18 +00:00
eccles
e1c4b80991 DLL version 2.4 (1/4/2004)
* Initial focus is set in "initDialog" making it possible to override it from NSIS prior to calling "show"
- When initial focus is to a Text field InstallOptions now follows standard Windows behaviour by having the text selected
- Label and other static fields no longer have State= written to the INI file when leaving the dialog
- NOTIFY flag can now be used with Link fields (State should be omitted in this case)
- Likewise, State can now be used with Button fields (behaves the same as with Link fields)
- NOTIFY flag can also now be used with ListBox and DropList fields to have NSIS notified when the selection changes
- Meaning of RIGHT flag is now reversed in right-to-left language mode
- HSCROLL and VSCROLL flags are no longer restricted to Text fields
- Various Link field fixes
- Text box colour bug fix


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3350 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 14:06:39 +00:00
kichik
466e93ea11 - made NSIS ignore WM_COMMAND from disabled controls
- made NSISdl set the cancel button as the default button


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3330 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-29 15:12:41 +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
kichik
2144a90eed - Escape now works when focused on a link control
- Fixed a link control bug that allowed the user to activate the link by clicking outside of the text


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3301 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-23 16:29:16 +00:00
kichik
18519e3e79 include winresrc.h instead of afxresh which is not available on non Microsoft compilers (part of MFC it seems)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3300 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-23 14:24:28 +00:00
kichik
d1c5ef3af7 patches by PerditionC for compatibly with PSDK-less VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3295 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-21 21:00:37 +00:00
eccles
c31682240d Only validate if pressing the Next button.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3271 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-13 17:17:03 +00:00
joostverburg
516667fc1b updated reserve file info, fixes, html structure
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3265 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-09 19:33:48 +00:00
kichik
03acdc2211 First verify fields and then, only if all are valid, call the leave function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3262 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-08 14:06:24 +00:00
kichik
4eb2881b5b - Better RTL support:
* use RTL reading wherever possible (shows the dots, commas, etc. in the correct order)
  * Message boxes are now RTL too
  * Fixed RTL for links in InstallOptions
- Fixed tab order in StartMenu
- Made StartMenu use SHGetSpecialFolderLocation (soon to be in NSIS core too)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3259 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-06 20:45:35 +00:00
eccles
6b73b0e490 - Added new control type "Button"
- Added new flag "NOTIFY"
- Added new flag "NOWORDWRAP" for multi-line text boxes
- Reduced size down to 12K


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3254 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-04 22:12:25 +00:00
joostverburg
0d00e6b8a9 html structure
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3161 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-18 17:01:34 +00:00
kichik
b0d4888c3a - PROMPT_CREATE doesn't work with REQ_SAVE
- Example INI file had old flag names


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3149 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-16 19:37:07 +00:00
kichik
f915329242 Call the same DllMain for debug and release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3133 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 20:24:53 +00:00
eccles
ddeda1ce45 More info about escaping special characters.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3085 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-01 19:56:08 +00:00
eccles
764bdc8f87 A backslash typed into a Text field with MULTILINE flag was not being escaped when saved back to State.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3082 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-01 00:17:19 +00:00
eccles
a7ed10087c - Icon and bitmap controls were being passed the file name string on creation which the control would interpret as the name of a resource, and fail.
- Now passes hInstance to LoadImage call which seems to solve a bizarre sporadic possible Windows bug where the LR_LOADFROMFILE parameter seems to be ignored.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3078 212acab6-be3b-0410-9dea-997c60f758d6
2003-10-30 23:51:44 +00:00
eccles
75adac3e89 - Initial keyboard focus set to first (tab-able) field.
- Multi-line text boxes now wrap long lines unless horizontal scroll bar is enabled.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2979 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-28 15:24:55 +00:00
kichik
f28bb70254 a bit more testing
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2945 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-21 16:22:34 +00:00
kichik
896ba172d5 - Fixed uninstaller not showing anything when installer is silent
- Improved CResourceEditor - should be more tolerant now
- Removed legacy code from InstallOptions and StartMenu


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2882 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 13:54:01 +00:00
kichik
19556df888 Temporary workaround to FindControlIdx returning -1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2874 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 14:36:03 +00:00
kichik
74ea2dc585 * PageEx - every page can be used everywhere and as many times as needed
* DirVar - easy way to add another dir page
* default strings in the language file (Page directory is enough, no need for DirText)
* strings from the language file are now LangStrings that can be used in the script
* no more /LANG - one string for all languages
* any lang strings can be used everywhere, installer or uninstaller (no un.)
* no more unprocessed strings - variables can be used almost everywhere (except in licenseData and InstallDirRegKey)
* DirText parm for browse dialog text
* SetBkColor -> SetCtlColors - can now set text color too
* fixed SetOutPath and File /r bug
* fixed File /a /oname bug
* added $_CLICK for pages
* added quotes support in lang files (patch #752620)
* extraction progress
* separate RTL dialogs for RTL langs (improved RTL too)
* InstallOptions RTL
* StartMenu RTL
* fixed RegDLL?
* added IfSilent and SetSilent (SetSilent only works from .onInit)
* fixed verify window (it never showed) (bug #792494)
* fixed ifnewer readonly file problem (patch #783782)
* fixed wininit.ini manipulation when there is another section after [rename]
* fixed some ClearType issues
* fixed a minor bug in the resource editor
* fixed !ifdef/!endif stuff, rewritten
* lots of code and comments clean ups
* got rid of some useless exceptions handling and STL classes (still much more to go)
* lots of optimizations, of course ;)
* updated system.dll with support for GUID, WCHAR, and fast VTable calling (i.e. COM ready)
* minor bug fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2823 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 18:25:57 +00:00
kichik
7093dc3b2d No need to read STATE twice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2789 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-05 15:30:31 +00:00
kichik
d5c0749312 - Removed SS_NOPREFIX
- Made IO return error instead of crashing if there are no fields in the INI


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2788 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-05 15:05:49 +00:00
kichik
1478517f26 pszState can't be null (thanks Case for the patch)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2782 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-03 22:04:31 +00:00
ramon18
79a49562b3 SS_NOPREFIX for all STATIC controls, now is possible to name the installer as "My company & CO" for example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2776 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-29 20:25:42 +00:00
joostverburg
f179c288ad Link control TxtColor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2772 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-26 12:15:04 +00:00
ramon18
21f668de9c Fixed problem in IO dirreq/filereq, optimized code, nsExec with /CMD param to allow execute 16Bits DOS applications
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2762 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-21 19:48:48 +00:00
ramon18
6395ec3c8c IO support for LINK control text color (TxtColor). Fixed problem with ClearType fonts in XP
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2752 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-19 00:42:13 +00:00