Commit graph

71 commits

Author SHA1 Message Date
kichik
fcd2c16685 - fixed limit on LangStrings and user variables number which was lower than designed. limit is now 16383 for both.
- made log window respond to the context menu key and not just right click
- set back the default style for the next after it's re-enabled
- set focus on main controls for every page (can still hit enter for next)
- added code to prevent weird usage of WM_COMMAND which can cause weird behavior such as disabled next button on the components page
- eccles fixed a bug which caused beeping when the space key is hit on the components tree


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3351 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-04 17:05:03 +00:00
kichik
672e695976 - Added SS_NOPREFIX for the static control above the install log so both will show the same when an ampersand is present in the string
- Added another parameter for Name. It will be used in places where doubled ampersands are required for text to render as expected. Use it if you have an ampersand in your name. See the updated documentation about the Name command for more information about usage.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3288 212acab6-be3b-0410-9dea-997c60f758d6
2003-12-17 23:22:14 +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
kichik
b6a98d86c3 Parse LangString using the codepage specified in NLF of the language. This helps avoid warnings about unknown variables with LangStrings that contain dollar signs but are not encoded with the system's current codepage.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3204 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-25 05:55:18 +00:00
kichik
d487c5f0dd Font goes in $(^Font), font size goes in $(^FontSize)...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3165 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-18 22:35:51 +00:00
kichik
836f699592 ^Font and ^FontSize
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3134 212acab6-be3b-0410-9dea-997c60f758d6
2003-11-12 22:38:46 +00:00
kichik
103b31643e - Fixed SpaceText none
- Fixed a crash that occured if LicenseData was not used and Page license was


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2910 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 21:40:33 +00:00
kichik
41808c26be More memory clean-ups
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-12 11:16:33 +00:00
kichik
8380534b1d - Fixed a crash caused by clicking cancel on a directory page (thanks pengyou)
- Fixed some extraction progress issues


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2900 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-11 20:46:20 +00:00
kichik
bb927a6230 - fixed a typo in inner langstrings name - [un]LicenseTextRB
- Finnish language files updated
- made SetStlColors able to set background color with /BRANDING
- some optimizations
- fixed progress showing for WriteUninstaller


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2870 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-07 08:53:22 +00:00
kichik
04234ccac2 - Fixed and improved SetFont
- Fixed WindowIcon


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2852 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-06 09:59:02 +00:00
kichik
010c03d0c6 Removed debug message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2846 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-05 19:50:39 +00:00
kichik
9fddafacdb signed/unsigned mismatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2825 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-04 19:08: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
4fbd8b1991 Fixed bug #769598 - problems with InstType /COMPONENTSONLYONCUSTOM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2746 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-18 17:39:45 +00:00
kichik
e6dd2ada8a tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2713 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-12 15:19:49 +00:00
kichik
e67f48952f LicenseForceSelection strings now default to English too if string is missing from the NLF
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2690 212acab6-be3b-0410-9dea-997c60f758d6
2003-07-04 12:48:40 +00:00
joostverburg
2bc0b98a67 latest translation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2679 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-25 12:08:37 +00:00
kichik
2b611d8f70 All acceptable warnings now contain a file name and a line number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2614 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-05 21:53:52 +00:00
kichik
7c03da12b8 kilo, mega, giga and byte are not processed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2606 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-02 14:58:51 +00:00
kichik
c38b889fe8 Added AllowSkipFiles - thanks Ramon!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2576 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-26 17:55:15 +00:00
kichik
564ca077d8 - Improved installation types behaviour
- .onSelChange no longer called when the components page is created
- First section is selected at compile time - changes in .onInit stick
- Added SectionSetSize / SectionGetSize
- Added SetCurInstType / GetCurInstType
- Added InstTypeSetText / InstTypeGetText - ability to change (and add and remove) installation types on runtime
- NSIS_MAX_INST_TYPES is now 32 by default
- InstType texts are now processed ($0, $1, etc. can be used)
- Added /o switch for Section - unselected by default


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2563 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-24 13:50:24 +00:00
kichik
30ce5f1c45 ADD_FONT not SET_FONT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2539 212acab6-be3b-0410-9dea-997c60f758d6
2003-05-09 18:33:02 +00:00
kichik
5dde782d41 Padding, padding, padding...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2492 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-23 20:33:23 +00:00
kichik
cf01b06e62 - More strings translatable (K/M/G Byte, registering, unregistering)
- Language specific fonts
- $\t now works too
- More to do


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2475 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-21 13:32:34 +00:00
kichik
e720007649 Faster compilation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2464 212acab6-be3b-0410-9dea-997c60f758d6
2003-04-17 15:27:12 +00:00
kichik
7df19c4d58 Old language files will work too...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2364 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-26 18:18:55 +00:00
kichik
5afc7ec7d4 Added LicenseForceSelection radiobuttons|checkbox
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2362 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-26 17:47:46 +00:00
kichik
bad48f1a0a Some space saving changes, /NOCUSTOM and /COMPONENTSONLYONCUSTOM work together and infastructures for future changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2338 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 20:36:52 +00:00
kichik
0aed08e3f7 + Leave function for pages
+ Components page text always shown if Page components used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2080 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-24 19:40:20 +00:00
kichik
dba09fcf5e + IO works with new SetStaticBkColor
+ IO doesn't crash when a label has empty text
+ LangStrings now really start as "" when not defined


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2055 212acab6-be3b-0410-9dea-997c60f758d6
2003-01-10 15:05:46 +00:00
kichik
bc10503375 Unsigned/signed warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1992 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-21 23:13:50 +00:00
kichik
2cc17651a3 A warning if a LangString is not present in all language tables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1986 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-20 23:23:31 +00:00
kichik
88cfbb4702 OK, LangStrings can now really be defined after they are used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1984 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-20 19:14:57 +00:00
kichik
352c5a87ab LangStrings now act as functions, they don't need to be defined before used. Uninstaller LangStrings must now be refernced with un.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1982 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-20 15:12:23 +00:00
kichik
56d17cbbd8 More VC7 compatibility fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1893 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-05 18:30:22 +00:00
kichik
fba4c4d342 Type mismatches
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1884 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-05 14:49:00 +00:00
kichik
d307f6ef3c Delete File: should have a space after it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1877 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-04 19:22:59 +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
1a865438f0 Next button text is now always added when needed, instfiles dialog is destroyed when needed.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1832 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-25 16:50:05 +00:00
kichik
85ee7cbd0a Some bytes off, zlib is still 34.5 =/
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1680 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-11 19:19:02 +00:00
kichik
fd99a585a2 Install and next button texts should always be added when needed now.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1612 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-07 15:50:30 +00:00
kichik
6e237675ed WORD->LANGID
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1593 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-05 16:14:32 +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
460b057813 English is no longer always created
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1462 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-24 21:02:32 +00:00
joostverburg
c5bdc29afe accelerator keys
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1423 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-15 18:44:27 +00:00
kichik
1ffbd1351b Some more safety measures with LangString
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1319 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-07 20:07:28 +00:00
kichik
616518505b Fixed weird LangString behavior and made SectionSetFlags "understand" SF_BOLD
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1306 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-04 20:41:43 +00:00
kichik
210e2d4e5e Added an option for unprocessed user multilingual strings (LangStringUP). Use it if you see weird squares before and special character in your LangString.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1298 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-04 10:27:46 +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