kichik
3697599cb4
big-endian compatibility for generate_unicons_offsets
...
also a bit refactored using methods from CResourceEditor
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4618 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 19:30:45 +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
7ac37fe627
original data of MakeLangID.exe, without aligned virtual section size
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4615 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 17:31:48 +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
c680fbbc04
write little-endian values in replace_icon
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4612 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 16:29:41 +00:00
kichik
c48a248f80
CHM depends on style.css, chmlink.js and nsis.hhp
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4611 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 11:46:50 +00:00
kichik
0da03576b1
minor fixes by Martin Srebotnjak
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4610 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 11:35:59 +00:00
kichik
b8ef050d64
tests for CResourceEditor and CDialogTemplate
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4609 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-24 21:32:46 +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
c6ff33d9c5
fixed compile errors and warnings in get_executable_path
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4607 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-24 18:15:53 +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
cf64cac5e8
applied patch #1456861 - PatchGenerator syntax error
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4605 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-23 17:36:48 +00:00
kichik
93d5440298
type libraries *are* supported as long as they have a version resource
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4604 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 21:23:15 +00:00
kichik
0e71cb5a78
a more accurate error message
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4603 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 21:21:18 +00:00
kichik
fb6f254183
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4602 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:55:46 +00:00
kichik
3bc88ed854
release typelib attribute structure when exiting GetLibVersion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4601 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:55:06 +00:00
kichik
4899ab09c9
added ClearErrors so an error will truly come from File as expected
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4600 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:33:59 +00:00
kichik
6a21109107
added SetFileAttribute back to remove read-only flag
...
File only removes the read-only flag when SetOverwrite mode is set to "on", not "try" as with InstallLib
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4599 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 20:07:50 +00:00
kichik
fa2fc9037c
a bit more support for non-Windows platforms
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4598 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:20:12 +00:00
kichik
2ca8151f8a
added a minimal implementation of __InstallLib_Helper_GetVersion for non-win32 platforms, using GetDLLVersionLocal
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4597 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:15:51 +00:00
kichik
e5ea6ea2f6
define NSIS_WIN32_MAKENSIS, if makensis is compiled for win32
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4596 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:14:00 +00:00
kichik
503f5c78c8
moved _NSIS_NO_INT64_SHR test to SCons/Config/ms so it'll only be called once and not for each stub and because it's a better location being a vc specific problem
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4595 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:01:17 +00:00
kichik
b430a1020e
oops, should be NSIS_CONFIG_CONST_DATA_PATH=no, as it should be relocatable and should for the files in the same directory
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4594 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-16 17:31:06 +00:00
kichik
f932bd274c
when building makensis that'd be dropped in a zipped release, use NSIS_CONFIG_CONST_DATA_PATH
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4593 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-16 17:23:52 +00:00
pabs3
7b789fbeb6
Make get_executable_path more portable and correct.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4592 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-15 06:51:31 +00:00
kichik
70f42f9901
typo
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4591 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 19:53:46 +00:00
kichik
f36bb7557e
make sure -Wl,-Map is supported by the linker
...
mingw supports it, so only check for non-cross envs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4590 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 18:22:57 +00:00
kichik
ee3369307f
should be main, not __main
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4589 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 18:21:12 +00:00
kichik
674cf5d3ba
return true if the flag is valid, not the other way around
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4588 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 18:03:43 +00:00
kichik
bc76613d85
use FlagsConfigure for -pthread
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4587 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 17:53:24 +00:00
kichik
7430499571
added FlagsConfigure for compiler and linker flags configuration
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4586 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 17:52:38 +00:00
kichik
26a6b6d96e
implemented feature request #1447766 - MUI setting for transparent header labels
...
added MUI_HEADER_TRANSPARENT_TEXT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4585 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 17:07:44 +00:00
kichik
c0826f210a
tabs to spaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4584 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 16:34:16 +00:00
kichik
15a9da0939
added a detailed explanation about File /r that can't be interpreted in more than one way
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4583 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 16:04:16 +00:00
kichik
2b364bf17c
implemented feature request #1448176 - show function support for start menu page
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4582 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 14:09:20 +00:00
kichik
062dd34c6b
links to pre-compiled versions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4581 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-14 12:29:25 +00:00
kichik
b7e10e6c80
smaller test dll for faster tests
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4580 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:31:54 +00:00
kichik
aa3bda79fb
added missing try catch block for init_res_editor calls
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4579 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:19:10 +00:00
kichik
cfe99c1c26
updated update_bitmap, replace_icon and generate_uninstall_icon_data so they'll work on big-endian platforms
...
still need to update generate_unicons_offsets
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4578 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:14:59 +00:00
kichik
d2525a34b6
made GetExports work on big-endian platforms as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4577 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:13:05 +00:00
kichik
68d58883cc
made some resource macros work with big-endian as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4576 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:12:30 +00:00
kichik
49844d4c72
moved endianity macros to Platform.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4575 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 18:11:27 +00:00
kichik
629aa42eec
fix for WaitForSingleObject POSIX implementation by codesquid
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4574 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 17:34:20 +00:00
kichik
476296ded6
no need for iNewIconSize in replace_icon
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4573 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:37:41 +00:00
kichik
e63742fbec
endianity fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4572 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:22:02 +00:00
kichik
9acac3cd12
use new writers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4571 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:21:04 +00:00
kichik
b6ca21ef48
tests for 16-bit endian conversion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4570 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:16:18 +00:00
kichik
23cbdb99f7
added 16-bit endian conversion macros
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4569 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:15:41 +00:00