Commit graph

3925 commits

Author SHA1 Message Date
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
0c2333e69f link to GetDlgItem
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4564 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-11 10:42:03 +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
pabs3
9cc73c10ea Fix for POSIX regression due to sconf.h change.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4562 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-10 15:17:49 +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
67d892ed05 only report a successful download, if the downloading actually got past the headers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4560 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-08 20:36:49 +00:00
kichik
fc8348b5a5 fixed bug #1445735 - WinProxy headers not read by NSISdl
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4559 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-08 20:25:56 +00:00
kichik
7e6bba5c3f add new line to version.h to avoid gcc warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4558 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-08 16:44:22 +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
c07998b48c fixed bug #1440636 - invalid folder names returned by StartMenu plug-in
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4555 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:12:17 +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
b4143baf7f simpler prefixing code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4553 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-07 14:02:35 +00:00
kichik
b4413ab821 added "Cancel compilation" menu item to abort current compilation by sending ctrl+c signal
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4552 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-06 15:15:49 +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
dd306c7798 added back "v" prefix to NSIS_VERSION
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4550 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-06 15:04:27 +00:00
kichik
be936b0b3c 2.15
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4548 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-04 16:18:17 +00:00
kichik
39a1c892b8 2.15
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4547 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-04 16:12:14 +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
10257ceb5b note about building System with a cross compiler
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4545 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-03 09:27:05 +00:00
kichik
38ea0a966a link to SetBrandingImage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4544 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-02 17:21:59 +00:00
kichik
690a9f9b27 link AddBrandingImage to SetBrandingImage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4543 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-02 17:18:59 +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
5812fa78d2 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@4538 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 19:17: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