Commit graph

249 commits

Author SHA1 Message Date
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
kichik
21d0160dba No need for ATL
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2738 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 13:05:53 +00:00
kichik
e971cc9b40 No default libraries needed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2737 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 12:28:23 +00:00
ramon18
8bf75b3634 LINK, dirreq, filereq and browse button in dirpage can be opened using ENTER KEY (WM_COMMAND events forward to inner dialogs), fixed problem with focus on Close/Finish button which was generating wierd beeps if user attempted to finish the installer with ENTER key.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2707 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-10 00:28:05 +00:00
ramon18
00926155b9 Fixed LINK control problem on Win9X and improved tabstop handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2703 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-07 21:08:26 +00:00
kichik
c6b7e9f9a2 LINK disabled until crashes under Windows 98 are resolved
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2692 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-05 16:55:54 +00:00
kichik
c3fb01e1d4 ResizeToFit flag should now work for bitmap controls too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2684 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-27 12:48:52 +00:00
ramon18
3f4c97dc96 Fixes problems with LINK
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2671 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 21:48:45 +00:00
joostverburg
7fdfd8a0c5 format
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2668 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 12:51:31 +00:00
o_owd
c6fcdeb6ba corrected link on "NSIS documentation" that goes to Chapter
"Chapter3.html#3.5" instead of "Chapter4.html#4.5"


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2667 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 12:04:03 +00:00
ramon18
2ff0e96a38 Completing documentations for installoptions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2655 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-17 19:06:13 +00:00
ramon18
1f2a811c47 Documentation of link control and new options for text control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2654 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-17 18:55:34 +00:00
ramon18
c8cc81303a Added new control "LINK" and example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2650 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 18:49:23 +00:00
ramon18
361dbff6bc READONLY in text box
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2631 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-11 23:57:24 +00:00
joostverburg
cde1bec3d3 font size setting for older browsers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2630 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-11 16:32:10 +00:00
ramon18
8270d8bdca Added MULTILINE support for edit box, better tab order between ReqFile, DirReq and it's browse button
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2626 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-10 13:18:07 +00:00
kichik
7144cb0f97 750338 again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2620 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-08 13:41:48 +00:00
kichik
a798cabcff Safer "bug" report 750338
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2618 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-07 10:59:11 +00:00
kichik
76243e8769 Bug #747445 fixed - FileRequest "..." button does nothing on some State values
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2604 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-02 14:26:15 +00:00
kichik
8dace3977a Fixed flags collisions (thanks Ramon) and added the ONLY_NUMBERS flag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2597 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-30 13:35:47 +00:00
joostverburg
b06d2531d5 wrong variable
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2535 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-07 14:56:17 +00:00