Commit graph

1129 commits

Author SHA1 Message Date
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
kichik
94f7f3b673 added NSIS_CONFIG_LOG_STDOUT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
cfec122ba1 pass NSIS_CONFIG_LOG_ODS to script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4509 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:51:57 +00:00
kichik
a94a7b67e3 fixed bug #1174742 - Icon error message is uninformative
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4508 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 15:57:56 +00:00
kichik
a889217375 richedit controls automatically set the hand cursor for links, no need to do it manually
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4507 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 15:44:40 +00:00
kichik
75d0211ffd check g_tmp[0] not state_language[2]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4500 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:57:50 +00:00
kichik
b747052c7f fixed bug #1412159 - NSIS 2.13 doesn't work on Win 95/98/NT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4498 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:54:35 +00:00
kichik
80cca71694 g_tmp should be at least twice NSIS_MAX_STRLEN, no matter what NSIS_MAX_STRLEN is
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4497 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-24 17:31:24 +00:00
kichik
9f93fcfa18 oops, quoting problems, back to config.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4496 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:59:33 +00:00
kichik
dcc5a3c002 moved VARS_SECTION_NAME from config.h to config.py and renamed it to NSIS_VARS_SECTION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4495 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 15:17:28 +00:00
pabs3
0913023f33 Merge patch for better installs on POSIX platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4486 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-21 09:54:23 +00:00