Commit graph

54 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
acf9a8c21f Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +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
668fe450a4 fixed bug #1841573 - RTL components & instfiles page
WS_EX_LAYOUTRTL can be used for individual controls

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5387 212acab6-be3b-0410-9dea-997c60f758d6
2007-11-30 09:54:13 +00:00
kichik
be3c7fe39c use current codepage to convert font name to unicode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5122 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-25 19:20:41 +00:00
kichik
4249c6107b don't delete if it wasn't allocated
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5020 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 13:36:25 +00:00
kichik
5107637e7e fixed access violation in case m_vItems[i]->szClass is an int resource
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5014 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-31 09:21:51 +00:00
kichik
f496cc464f fixed bug #1662190 - dialog template unicode conversion is lossy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4937 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:11:12 +00:00
kichik
eb157fcacd more typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4928 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-16 18:30:36 +00:00
kichik
a0ebce4256 typo (thanks kk)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4926 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-15 20:01:25 +00:00
kichik
783ad89ca8 winchar_toansi requires WCHAR* not WORD*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4914 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-30 18:50:57 +00:00
kichik
249903acc8 use winchar
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4887 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 13:07:28 +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
5d0149966e big-endian compatibility
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4608 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-24 18:36:24 +00:00
kichik
93af198570 fixed compile warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4282 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-22 20:20:12 +00:00
kichik
6a76589a72 fixed bug #1283528 - WS_EX_LEFTSCROLLBAR missing in RTL mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4274 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 09:55:17 +00:00
kichik
0deba887fc include util.h for Unicode conversion functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4157 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 16:40:33 +00:00
kichik
9f5e637d21 no using namespace in header file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4137 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 15:49:39 +00:00
kichik
49739cf0af no need for #include "util.h"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4136 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 15:44:41 +00:00
kichik
bfc2b56cbf limit MultiByteToWideChar to the real size available, not the total
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4135 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 13:12:03 +00:00
kichik
0b5ea752a9 use DEFAULT_CHARSET for dialog fonts by default
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4023 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 17:20:32 +00:00
kichik
f79be84c4a fixed string skip in ReadVarLenArr
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4022 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 16:50:49 +00:00
kichik
0856e2a3c4 applied patch #1179116 - debian amd64/gcc-4.0 build fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3955 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:45:14 +00:00
kichik
f9016b2bb5 fixed two problematic string length measurements
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3933 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 17:07:48 +00:00
kichik
2b53221b64 fixed bug #1159700 - SetFont doesn't work well with RTL on Windows 9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3919 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-10 18:53:34 +00:00
kichik
34db7b90f2 use new MultiByteToWideChar and WideCharToMultiByte implementation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3824 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:10:28 +00:00
kichik
64c1b0f05e fixed a bug in the handling of wCreateDataSize in CDialogTemplate::Save (thanks Sven Ritter)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3658 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-22 16:23:05 +00:00
kichik
efa2113031 throw exception instead of failing silently when iconv fails
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3627 212acab6-be3b-0410-9dea-997c60f758d6
2004-08-14 13:45:05 +00:00
kichik
a4ea07f3fa fixed unicode conversion with iconv
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3585 212acab6-be3b-0410-9dea-997c60f758d6
2004-07-08 18:32:27 +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
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
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
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
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
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
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
d20612bdb2 tsk tsk tsk... Memory problems fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2688 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-28 12:31:43 +00:00
kichik
973a61fbcf Standard tabing
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2675 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-24 19:17:51 +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
156648c9d5 AddBrandingImage doesn't depend on the UI now. Can now set the branding image on the bottom and on the right too, and set a custom padding value
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2334 212acab6-be3b-0410-9dea-997c60f758d6
2003-03-18 13:53:29 +00:00
kichik
6189c91047 SetFont "MS Shell Dlg" adds the DS_SHELLFONT style
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1941 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-12 15:51:03 +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
77dd6eed7f DS_SHELLFONT fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1843 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-28 13:13:06 +00:00
kichik
1fc6f94b86 Temporary solution to make SetFont work again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1811 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-21 23:32:05 +00:00
kichik
04fbea4aef Now works with DIALOGEX (not thanks to MS docs)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1781 212acab6-be3b-0410-9dea-997c60f758d6
2002-11-18 14:19:45 +00:00
kichik
5c3f9f97c3 Better RTL, not perfect yet
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@918 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-04 18:27:12 +00:00
kichik
d748d6f5ae Right-to-left UIs support added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@861 212acab6-be3b-0410-9dea-997c60f758d6
2002-09-02 11:28:36 +00:00
kichik
2053e07fe5 Trim now works like it should
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@790 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 20:15:58 +00:00
kichik
4f1efc6c40 Trimming added
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@764 212acab6-be3b-0410-9dea-997c60f758d6
2002-08-28 10:07:30 +00:00