Commit graph

104 commits

Author SHA1 Message Date
wizou
64a0f32e52 more simple TCHARs fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +00:00
wizou
f4f18f9469 a little bit more TCHARs and minor fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6042 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 15:32:24 +00:00
f0rt
8ab72b9ece #1753070: Enable that makensis and its related utilities can be built natively for 64-bit systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6040 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-27 19:20:16 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
a203e2e981 got rid of a zillion warnings on gcc
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5958 212acab6-be3b-0410-9dea-997c60f758d6
2009-03-28 10:20:04 +00:00
pabs3
f41ba95bab fix bug #2497148 - allow out of tree builds on POSIX platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5921 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:05:48 +00:00
kichik
0aed504f4a happy new year!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
c102675112 fixed bug #2323452 - Grammar, License Agreement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5788 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-22 20:16:23 +00:00
kichik
2675599a31 happy new year!
bug #1855805

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
8e1b521859 real implementation for IsValidCodePage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5211 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-18 19:26:16 +00:00
kichik
eee3006998 removed code duplication for installer/uninstaller in GenerateLangTables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5128 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-26 20:49:14 +00:00
kichik
acaecfdade implemented RFE #1235616 - Variable to get language *name*
added $(^Language)


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5079 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 22:30:31 +00:00
kichik
5dcb76d379 fixed some warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5055 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 21:27:19 +00:00
pabs3
baa898b952 Missed a warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4995 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-11 16:49:02 +00:00
kichik
c037ecfeed fixed bug #1083492 - resource editor unicode conversion is lossy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4878 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 15:19:29 +00:00
kichik
db0d67633b fixed bug #1626504 - VIAddVersionKey causes problems with localized installers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4869 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-23 21:21:30 +00:00
kichik
c145d69e55 2006 -> 2007
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
joostverburg
e497d771b1 * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
09a13d02ec directory edit box should not be rtl as it contains mostly english
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4546 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-04 13:48:43 +00:00
kichik
578065d849 use NSIS_VERSION from the new automatically genereated version.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4537 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:14:18 +00:00
kichik
7ac5477abc use NLF_STRINGS_NO_SPECIAL instead of NLF_STRINGS - 3, as the number three can easily change
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4334 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-18 13:12:47 +00:00
oripel
57ad3c18b3 merged from PIEPIEPIE branch:
- min/max macros removed
- Plugins refactored
- more functions in util.{h,cpp}


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4232 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-27 19:56:00 +00:00
kichik
0a19777905 use language name in missing LangString warning, if possible
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4182 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-22 17:37:26 +00:00
kichik
f85a88852c made NSIS_VERSION a define set by the scons script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4024 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-12 16:27:35 +00:00
kichik
8bc1169798 free return value of CDialogTemplate::Save() using delete[]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4021 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 16:20:18 +00:00
kichik
c1faddf1fa moved implementation of LangStringList and StringsArray into lang.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3722 212acab6-be3b-0410-9dea-997c60f758d6
2004-10-12 21:22:55 +00:00
kichik
98caca8be1 - auto conversion of paths on POSIX platforms - based on patch #1005673
- LoadLanguageFile error message improvement


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3636 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-20 15:40:38 +00:00
kichik
4c5f8a30eb - makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)
- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-29 20:21:00 +00:00
joostverburg
98d8b5704b updated error messagebox text
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3515 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-14 12:00:55 +00:00
kichik
f4a1f17299 - updated the makefiles and code to allow compliation with MinGW once again (some of patch #875485 by perditionc)
- fixed errors and warnings given by gcc


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3513 212acab6-be3b-0410-9dea-997c60f758d6
2004-03-12 20:43:54 +00:00
kichik
d07ec8774f fixed some mismatched new and delete operators
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3465 212acab6-be3b-0410-9dea-997c60f758d6
2004-02-05 12:19:02 +00:00
kichik
bd25e070c8 - compiles without PSDK again
- moved all defines that are missing without PSDK to Platform.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3436 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-30 22:04:10 +00:00
eccles
31e10cd7d3 Installer would crash with certain combinations of language files when certain language strings were not referenced in all languages.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3404 212acab6-be3b-0410-9dea-997c60f758d6
2004-01-20 23:20:44 +00:00
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