Commit graph

4563 commits

Author SHA1 Message Date
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
kichik
f9b8b44682 more credit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4527 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:09:18 +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
0bcee34186 applied patch #1416988 - small italian translation bug
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4525 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 11:49:47 +00:00
kichik
eb62434d0b applied patch #1427189 - Czech grammar mistakes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4524 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 11:48:32 +00:00
kichik
d114d2e55a fixed bug #1432423 - section 4.9.14.8 IsWindow example incorrect
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4523 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 11:44:15 +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
kichik
bb93a15df6 example moved to Examples directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4521 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-23 17:54:57 +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
24511de6f6 added Nop
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4519 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-11 18:54:04 +00:00
kichik
7332ff04d7 Updates by Instructor:
- Added /NOUNLOAD flag for the system plugin calls. Functions that uses system plugin calls several times, now 25-75% faster.
 - Added tests for new WordReplace options "{", "}", "{*", "}*"


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4518 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-10 10:51:26 +00:00
kichik
aa43f0c349 Updates by Instructor
1. "WordReplace"
   -Added options "{", "}", "{*", "}*"

2. "GetOptions"
   -Now sets error flag if option does not found

3. "ConfigRead"
   -Now sets error flag if entry does not found

4. New case sensitive functions:
      "WordFindS", "WordFind2XS", "WordFind3XS", "WordReplaceS",
      "WordAddS", "WordInsertS", "StrFilterS", "TextCompareS",
      "ConfigReadS", "ConfigWriteS", "GetOptionsS"


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4517 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-10 10:46:57 +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