anders_k
d799ee53d7
Basic Win64 support (MSVC)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
52a8b320ef
POSIX fixes for native and crossplatform utils
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6427 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:13:00 +00:00
anders_k
be6c7e6a1d
Major POSIX overhaul
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +00:00
anders_k
bd591bf196
200? -> 2013
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +00:00
kichik
9e0ad1187e
revert bad commit
...
TCHAR is not WCHAR on POSIX, it's wchar_t which can even be 32-bit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6318 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:39:24 +00:00
kichik
b7d9abe03b
gotta cast for gcc
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6317 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-24 06:12:24 +00:00
anders_k
7cc150c464
MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
...
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.
MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
c6fdb4436d
Fix GCC array bounds warning when accessing g_usrvars
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6258 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-06 22:43:31 +00:00
wizou
f7f4d2f033
Using standard wchar string functions instead of winchar_*
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6072 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 14:48:19 +00:00
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