Commit graph

177 commits

Author SHA1 Message Date
kichik
ed8c349736 Better error handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3138 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-14 13:44:26 +00:00
ramon18
359868c88e Reverted "Examples\Modern UI\StartMenu.nsi" and "Plugins\StartMenu.dll" to previous version, little size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3117 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-09 23:10:04 +00:00
ramon18
48a62f51e8 Added new function LockWindow for flickering problems workaround, fixed crash on NSISdl, fixed focus button redraw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3115 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-09 22:45:25 +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
b2574f6b3b 1. Unary-Pre operators detection fixed.
2. Unary Minus operator added (now legal, worked before?).
3. GetReference operator (&). For example (a=&b; *a=3;) will set b=3.
4. Operators precedence added (C-like), much more intellectual expressions parsing.
5. Functions redefenition added, use "#name", like "func()(1); #func()(2);".


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2950 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-22 22:56:52 +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
754af5bd4b Another cool plug-in by brainsucker, a calculator :)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2920 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-15 23:20:36 +00:00
kichik
a488b62950 New and improved banner:
- No more crashes
- Responds to messages (and thus redraws itself)
- Doesn't put the main window on the background
- Some new /set tricks by brainsucker


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2909 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 16:45:22 +00:00
joostverburg
73870f0e8e 1. Supports any bpp for transparent images
2. Windows XP at bpp < 32 possible bug fixed
3. Removed transparency by pallete color index (always use RGB value)
4. shrinked a bit (0.5 kb)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2903 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 14:01:29 +00:00
kichik
de5c3d3561 release 5 by brainsucker:
1. u flag - unload dll after procedure call.
2. some changes to asm to turn on Whole Program Optimization.
3. Dll shrinked for 1 kb.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2902 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 13:58:36 +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
d0fcfb423e Adjusted to latest CVS version - added ShowWindow(hwndDlg,SW_SHOW);
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2844 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 19:26:20 +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
fabf2f79ea Empty lines were not printed (this time it's really fixed)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2794 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-08 13:56:41 +00:00
kichik
bf197d80e5 - Empty lines were not printed
- CR or LF alone were not handled
- Tab conversion removed the next char


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2793 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-08 13:39:39 +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
ramon18
d2e8774e24 Removed debug msgbox
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2784 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-03 23:47:53 +00:00
kichik
73708b6fd3 It seems Windows 98 doesn't check ranges...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2783 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-03 23:32:56 +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
kichik
6ad030eea6 Patch #781254 applied - thanks Andrey Cherezov
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2780 212acab6-be3b-0410-9dea-997c60f758d6
2003-08-03 13:07:02 +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
ramon18
d6c88c52c8 removed IMAGE_FILE_RELOCS_STRIPPED
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2767 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-24 00:34:59 +00:00
ramon18
d692d11772 temp console app now returns correct exitcode from spawned process, temp file is deleted on end
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2766 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-23 18:19:13 +00:00
ramon18
f7f575a8cb nsExec create a temp console app to spawn commands, can run applications with user interface and also 16bit DOS
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2765 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-23 09:38:05 +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
a0a7ca8a09 Fixed stuck up windows on Windows 98
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2724 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-16 20:31:51 +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
ramon18
cf0a0762a5 Small bug with structures fixed (thanks brainsucker)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2689 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-03 21:53:38 +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
kichik
9adf1acb50 Find all directories and make sure found entries are directories
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2666 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-22 13:44:02 +00:00
ramon18
45a9eb4ae7 Control "LINK" example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2651 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-16 19:02:27 +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
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
kichik
fea14ee723 Back to the old version
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2591 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-29 12:55:37 +00:00
kichik
f36051ff3c - Errors from JNetLib now show again
- Shows a dialog with ShowInstDetails hide too


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2586 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-27 18:47:18 +00:00
kichik
4cb488964d Threads safer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2574 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-26 17:05:13 +00:00
kichik
3c29d31593 - NSISdl will now take the installer's style
- Little typo in script.cpp


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2569 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 17:10:14 +00:00
kichik
409385923a Refresh banner's text when erased and minize along with the installer window
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2568 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-25 15:33:48 +00:00
joostverburg
fbc323c3db VPatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2556 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-21 12:24:22 +00:00