Commit graph

58 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
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
8d5bca8080 signed/unsigned comparison
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5925 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-05 00:50:12 +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
608701ccc8 fixed bug #2533431 - Script compiling fails with !packhdr, but succeeds without?!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5909 212acab6-be3b-0410-9dea-997c60f758d6
2009-01-31 15:46:54 +00:00
kichik
d2d0bd0a67 fixed bug #2167958 - Big-Endian issue in ResourceEditor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5760 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-07 22:04:33 +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
a9cf8ee77d fixed GetResourceOffsetA's return type
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5306 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 17:04:08 +00:00
kichik
36683c9f87 added GetResourceOffsetA/W()
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5305 212acab6-be3b-0410-9dea-997c60f758d6
2007-10-03 17:01:19 +00:00
kichik
8e716ed458 applied patch #1758863 - Patch for building on GCC and aCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5217 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-23 18:43:07 +00:00
kichik
81afed0591 applied patch #1714416 - patch to build on hpux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5181 212acab6-be3b-0410-9dea-997c60f758d6
2007-06-27 14:15:00 +00:00
kichik
7074b59044 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5093 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-16 22:12:48 +00:00
kichik
b8cc7d57d6 use winchar_strdup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4938 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 15:11:33 +00:00
kichik
e194176ec3 align strings on 4 byte boundary and don't write NULL termination twice
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4931 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-17 10:49:50 +00:00
kichik
313cfdd331 fixed gcc conversion warning/error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4891 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 13:22:27 +00:00
kichik
01ebc199ef CreateUnicodeString -> winchar_fromansi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4888 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 13:08:32 +00:00
kichik
ac156f5ebe GetResourceSize -> GetResourceSizeA/GetResourceSizeW
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4885 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 13:02:50 +00:00
kichik
5b01b17f11 wcs* use wchar_t on POSIX, which is not the same as WCHAR
so, winchar_* is introduced which uses WCHAR


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4883 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-25 12:57:44 +00:00
kichik
35ae3cca66 applied patch #1643633 - 64bit PE support for CResourceEditor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4880 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 15:55:36 +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
3e66b3771a make sure the PE is 32-bit and not 64-bit (PE32+)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4873 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-24 11:37:18 +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
90422d4789 another sanity check
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4630 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:40:09 +00:00
kichik
6ca7033812 fixed a crash while adding resources when there are named resources
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4629 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 18:39:12 +00:00
kichik
eebbf93155 extracted GetResourceDirectory and made it and GetNTHeaders public
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4617 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 18:50:51 +00:00
kichik
668e245a5d fixed virtual address adjustment calculation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4616 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 17:44:17 +00:00
kichik
f579ca1e7e set resource section's virtual size to its unaligned size
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4614 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 17:30:57 +00:00
kichik
0907fb648b big-endian compatibility
could have been better, but due to lack of time, original code base and the fact that it works, i'm happy with it


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4613 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 17:24:28 +00:00
kichik
f0bc9907e5 fixed test for resource section existence
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4606 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-24 16:26:40 +00:00
kichik
c16ca4f9fc 2006
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4485 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-20 12:36:30 +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
dfd8dc1227 2005
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3831 212acab6-be3b-0410-9dea-997c60f758d6
2005-01-04 14:54:48 +00:00
kichik
2a005401f4 use new, correct, MultiByteToWideChar and WideCharToMultiByte implementation on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3822 212acab6-be3b-0410-9dea-997c60f758d6
2004-12-11 16:09:23 +00:00
kichik
38d7adce15 implemented GetDLLVersionLocal for non Win32 platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3653 212acab6-be3b-0410-9dea-997c60f758d6
2004-09-11 11:25:19 +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
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
c9d75dbcbf signed/unsigned mismatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2887 212acab6-be3b-0410-9dea-997c60f758d6
2003-09-08 15:28:16 +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
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
ramon18
054db45f63 Special section of data for user vars, whitch allow compiler to assign the right size and no code needed in exehead for mem allocs. Warnings for unreferenced user vars. (758773) Error, if temp file not available, now directory is created if not exist.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2673 212acab6-be3b-0410-9dea-997c60f758d6
2003-06-23 22:40:11 +00:00
kichik
73fa1160d3 No more random compression ratios. Don't you just love Microsoft standards?
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2114 212acab6-be3b-0410-9dea-997c60f758d6
2003-02-07 12:48:11 +00:00
kichik
54240fcfc6 Last icon used counts, all others deleted
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2012 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-29 19:46:29 +00:00
kichik
980c38e909 Now works with EXEs that have data tacked after the PE sections (like NSIS installation data)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2005 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-27 11:54:48 +00:00
kichik
ca8fd6774c Tabs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1994 212acab6-be3b-0410-9dea-997c60f758d6
2002-12-22 20:53:34 +00:00