Commit graph

1153 commits

Author SHA1 Message Date
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
daa44a760c properly calculate number of language strings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4624 212acab6-be3b-0410-9dea-997c60f758d6
2006-04-05 15:22:45 +00:00
kichik
3581eec6ee make !define /date prints act like !define /math
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4623 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-28 18:22:34 +00:00
kichik
12df15a9e5 implemented RFE #1459210 - !define /date should use UTC
added /utcdate flag


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4622 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-28 18:20:28 +00:00
kichik
411a2d5c58 fixed bug #1459789 - Incorrect FileOpen input validation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4621 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-28 17:02:23 +00:00
kichik
9079530840 big-endian compatibility for uninstall_generate
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4620 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 19:43:25 +00:00
kichik
bd9130a0c8 use new generate_unicons_offsets
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4619 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-25 19:31:54 +00:00
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
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
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
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
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
kichik
25f9b32d14 added fileform.cpp and writer.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4568 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:15:07 +00:00
kichik
ed7c1241a3 writers for header structures
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4567 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:13:50 +00:00
kichik
873e4cb481 centralized classes for writing data
this allows global changes to how data is written with one change
currently, it only converts from big-endian to little-endian
in the future, this will allow an easy transition to writing 64-bit data


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4566 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 11:13:07 +00:00
kichik
10dbd9a196 synchronize ResetEvent as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4565 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 10:47:02 +00:00
kichik
5691c3f3ff the conditions on both wIsIcon and wReserved must be met, not just on one of them
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4563 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-10 21:42:06 +00:00
kichik
3c454a4e65 return if the passed event handle is NULL and not when it's valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4561 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-10 14:55:08 +00:00
kichik
502f3c67da * never delete self on Release(), CLZMA is not a real COM class
* safer destructor


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4557 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-08 16:14:36 +00:00
kichik
015723663b export validate_filename for plug-ins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4556 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:14:25 +00:00
kichik
615ad474cb size optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4554 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:11:18 +00:00
kichik
755bc11826 accept event as ctrl+c as well, because GenerateConsoleCtrlEvent doesn't work form a non-parent-console process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4551 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-06 15:12:26 +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
04450c7dec fixed bug #1441877 - !include keeps searching include dirs even after match
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4542 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-02 17:12:40 +00:00
kichik
688b994b45 moved NSIS_STRING from config.h to fileform.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4541 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:28:51 +00:00
kichik
c6181097f2 no more need for this evil
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4540 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:21:09 +00:00
kichik
aaef4e35eb fixed bug #1434215 - #define local leaks into path settings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4539 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:19:49 +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
32a717faf5 move NSIS_VARS_SECTION to sconf.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4536 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:12:04 +00:00