kichik
35eea140f5
GlobalAlloc should get GPTR not LPTR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5853 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 07:54:05 +00:00
justin1014
4ed3f49268
Added !searchreplace preprocessor command for compiletime text search/replaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5852 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 07:22:25 +00:00
kichik
b35dbfae72
HMODULE is used in api.h which is included by build.cpp which is also built on POSIX
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5822 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:18:02 +00:00
kichik
8793b9c05a
now with proper #include
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5821 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:13:51 +00:00
kichik
7dd5c2a795
that need not be here (kills LibraryLocal build on gcc)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5820 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:11:40 +00:00
kichik
4f8b10e589
gcc fixes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5819 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:10:07 +00:00
kichik
316bfe61ae
move definitions common to both plug-ins and stubs to api.h (part of patch #2359978 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5817 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:01:36 +00:00
kichik
4859b8702e
move definitions common to both plug-ins and stubs to api.h (part of patch #2359978 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5815 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:53:39 +00:00
kichik
f6e4fefbf5
moved NSISCALL detection to scons
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5814 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:42:12 +00:00
kichik
61530710bc
add standard license headers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5813 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:20:59 +00:00
kichik
837c688597
more tests from the forum
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5811 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-02 22:41:59 +00:00
kichik
4c30821aa5
applied patch #1912699 - "Pinned" / always loaded plugins support
...
this patch also adds plugin_api_version to exec_flags so your plug-in can now tell if features it needs are available
more plug-ins that need this will be converted once the patch to make both the stubs and the plug-ins use the same header file is in place
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5809 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 22:03:33 +00:00
kichik
f1cd865190
make ${WinVerGetServicePackLevel} accept an output variable again
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5807 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 21:03:55 +00:00
kichik
bbba2aaa6e
vista sp1
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5802 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 13:53:46 +00:00
kichik
c8e1f7c104
windows 2003 test
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5801 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 13:43:58 +00:00
kichik
f06a75de34
allocate 156 bytes so non-existing fields will be zero for OSVERSIONINFO
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5800 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 13:26:59 +00:00
kichik
c8d0cfb4ea
test service pack inequality as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5799 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 13:21:34 +00:00
kichik
96327d2335
remove some code duplication
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5796 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 12:23:59 +00:00
kichik
ffdb62d0c6
missing !include
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5795 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 12:18:10 +00:00
kichik
27fea27260
and update expected failure as well...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5794 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 01:35:20 +00:00
kichik
8bfe0d57d3
update expected results
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5793 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-28 23:28:26 +00:00
kichik
038830677d
new test infrastructure for WinVer so I don't have to power up a zillion virtual machines for every little change
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5791 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-28 19:25:43 +00:00
kichik
c102675112
fixed bug #2323452 - Grammar, License Agreement
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5788 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-22 20:16:23 +00:00
kichik
ff063a0be9
applied patch #1982084 - wrong UI behaviour on size texts (VS2005)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5768 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 19:20:33 +00:00
kichik
d2d0bd0a67
fixed bug #2167958 - Big-Endian issue in ResourceEditor
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5760 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-07 22:04:33 +00:00
kichik
6501ad74fd
fixed bug #2166401 - Uninstaller icon errors on big-endian system
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5759 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-07 22:02:38 +00:00
kichik
e050cc9aaa
use the test as well...
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5750 212acab6-be3b-0410-9dea-997c60f758d6
2008-10-10 21:13:47 +00:00
kichik
75bef37109
basic winver tests to avoid another 2.39-ish disgrace
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5749 212acab6-be3b-0410-9dea-997c60f758d6
2008-10-10 21:11:26 +00:00
justin1014
8794e84cf1
!searchparse and !define /file support
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5682 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-13 00:37:11 +00:00
kichik
223ea672e1
added and verified another condition - both GetDiskFreeSpace and GetDiskFreeSpaceEx require a trailing backslash
...
this needs a lot of optimization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5678 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-12 17:11:38 +00:00
kichik
dbdba710e6
added a safety mechanism to make sure the new directory rooting loop in DirProc() doesn't loop infinitely
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5676 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-12 16:40:04 +00:00
kichik
c6de6bced3
that define no longer exists
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5657 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-07 23:55:11 +00:00
kichik
f45c62e9a4
applied patch #1992325 - Logging - Change CreateDirectory logging to show recursion
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5651 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 17:25:03 +00:00
kichik
c382bd2071
applied patch #1986692 - Close LOG file when LogSet is set to Off.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5647 212acab6-be3b-0410-9dea-997c60f758d6
2008-06-13 16:31:14 +00:00
kichik
e917306682
size optimization and a bit clearer code
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5639 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-10 10:44:33 +00:00
kichik
931beb47e1
fixed bug #1946112 - Wrong free space calculation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5638 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-10 10:42:24 +00:00
kichik
be25de5c8d
and m_iMappedSize as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5637 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-08 10:28:34 +00:00
kichik
09df47d0f2
mutable instead of const_cast for nicer code
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5636 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-08 10:27:32 +00:00
pabs3
4b5022d646
fixed bug #1951417 - fix and re-enable the HeaderBitmap.nsi test on Linux
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5634 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-04 08:30:07 +00:00
kichik
93804ed01c
massive icon tester
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5621 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 19:07:40 +00:00
kichik
edff962162
applied patch #1948700 - support for files between 1.6 and 2 GB
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5620 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 19:04:36 +00:00
kichik
8939702c68
fixed bug #1956350 - wrong icon order since 2.32
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5618 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 18:21:13 +00:00
kichik
4f7546cd9d
added IconPairs typedef
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5617 212acab6-be3b-0410-9dea-997c60f758d6
2008-05-02 16:47:28 +00:00
kichik
3d28b97c82
fixed bug #1947702 - Wrong default for PROGRAMFILES64 on Win2000
...
default to $PROGRAMFIELS if $PROGRAMFILES64 can't be found instead of "C:\Program Files"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5604 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-21 23:01:21 +00:00
kichik
da312003a8
reverted last commit
...
it forced usage of GetDiskFreeSpace instead of GetDiskFreeSpaceEx for non-existent directories or anything GetDiskFreeSpaceEx deemed invalid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5602 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-18 22:08:29 +00:00
kichik
6503959ddb
partial fix for bug #1946112 - Wrong free space calculation
...
still need to get the lowest existing directory so C:\mount-point\non-existent-dir still works
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5601 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-18 21:55:57 +00:00
kichik
4294faad18
already using namespace std
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5568 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-04 16:59:51 +00:00
pabs3
98909c6884
Fix Debian bug #456082 : fix FTBFS with GCC 4.3
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5564 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 14:04:53 +00:00
kichik
77e9be5dcc
use CPPUNIT_ASSERT_EQUAL
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5558 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 16:32:43 +00:00
kichik
2efd32160b
fixed bug #1874297 - Error decompressing data! Corrupted installer?
...
problem was that decompression ended prematurely. instead of waiting for zlib to return Z_STREAM_END, it checked if no more output was required. this could cause a case where zlib wouldn't read its entire stream. in this particular case, the compressed headers were 0x4001 bytes long and compressed data input buffer size is only 0x4000. instead of waiting for another run of inflate() to read the last byte, which is probably eof, _dodecmop() broke the loop and didn't read that extra byte. since loadHeaders() relays on _dodecomp() to read the entire header so it can calculate where the data block begins, all reads from the data block suddenly became off by one, causing "decompression errors".
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5557 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 16:28:23 +00:00