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
kichik
7a5163ea59
write all defines to sconf.h which is included by config.h instead of passing them on the command line
...
write the freaquently changing NSIS_VERSION to a separate file named version.h so only files that really need it will include it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4535 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:10:42 +00:00
kichik
2af8b64f00
fixed bug #1400995 - MB_TOPMOST doesn't work as first sections' instruction
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4534 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 18:15:35 +00:00
kichik
8e9a79a4b7
applied patch #1434174 - GCC 4.2 patches
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4533 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:19:55 +00:00
kichik
9ec765a72b
wrong strcmp for !define /math division
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4532 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:10:38 +00:00
kichik
9aaf2bd9a2
fixed error messages and removed useless !undef's
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4531 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:08:28 +00:00
kichik
0bed8171f5
sprintf into a buffer, not a random address
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4530 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 16:00:23 +00:00
kichik
740fe7af2b
removed stray parenthesis
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4529 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:55:51 +00:00
kichik
2b3aa18846
applied patch #1372561 - !define /math compile time enhancement
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4528 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:52:40 +00:00
kichik
b1dc917843
applied patch #1412982 - "!if" - enhanced compile time flow control
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4526 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:06:30 +00:00
kichik
940af5f963
fixed bug #1431593 - dir_reader::matches uses iterator that is at end
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4522 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 11:41:22 +00:00
pabs3
7e0ba02822
Fix 1431958: Properly convert !addincludedir paths on POSIX platforms.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4520 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-23 11:27:56 +00:00
kichik
082160fb3e
throw runtime_error as it's more appropriate and has the required constructor on libstdc++ as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4516 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-04 15:01:18 +00:00
kichik
90301110cc
fixed bug #1420657 - RMDIR doesn't delete file with double dots prefix
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4512 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-31 18:27:28 +00:00
kichik
2c7ee57a18
check if log_dolog is set for NSIS_CONFIG_LOG_STDOUT as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4511 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 18:06:46 +00:00