Commit graph

5148 commits

Author SHA1 Message Date
joostverburg
ed4545aacf correct name of header file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5608 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-22 20:28:35 +00:00
kichik
e273e90ecd added missing int status_update;
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5607 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-22 17:45:25 +00:00
kichik
17c674375a fixed bug #1947388 - ${NSD_OnBack} doesn't work
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5606 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-22 13:51:59 +00:00
kichik
685aacef36 scons 0.98 with an even uglier hack to reverse the result of hhc.exe
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5605 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-22 13:42:01 +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
6146a9015e what is that doing there?
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5600 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-18 17:20:50 +00:00
kichik
5b7b4b602c Add MULTIUSER_INSTALLMODEPAGE (niwrad777)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5599 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-18 17:14:04 +00:00
kichik
8022122214 fixed bug #1939571 - LangDLL auto select with only 1 language
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5598 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-10 18:00:01 +00:00
kichik
46a9c50689 make sure at least one language is specified without creating a dialog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5597 212acab6-be3b-0410-9dea-997c60f758d6
2008-04-10 17:58:56 +00:00
kichik
0e6e08734d updates by Felipe and deguix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5595 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-31 18:46:32 +00:00
pabs3
1b313134ea Disable the System.nsi test on Unix, it requires System::Call
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5594 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-30 10:24:24 +00:00
kichik
596f211711 after-last-minutes english fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5592 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 22:36:27 +00:00
kichik
13e9fb9ac5 2.36
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5590 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 22:03:21 +00:00
kichik
520b649d58 what is this line doing there?
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5589 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 21:58:28 +00:00
kichik
9898fea42a 2.36
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5588 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 21:47:15 +00:00
joostverburg
c41952ad3a fixed error when a custom installation mode initialization function is used only for the installer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5587 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 18:22:54 +00:00
joostverburg
94ae8d4d68 fixed error when a custom installation mode initialization function is used only for the installer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5586 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 18:02:03 +00:00
kichik
b802ff0aee implemented RFE #1910005 - nsDialogs: support for ComboBox onChange
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5585 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:59:01 +00:00
kichik
f2cd51e787 fixed bug #1909458 - nsEcec: cannot handle exit code 259
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5584 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:53:23 +00:00
joostverburg
1084ca06c6 allow StrFunc.nsh to be included multiple times
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5583 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:50:54 +00:00
kichik
9a9e74490a add missing control_HWND for NSD_On* docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5582 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:34:40 +00:00
kichik
2bb286bfe4 patch #1900588 - More nsDialogs macros
- NSD_AddStyle
 - NSD_AddExStyle
 - NSD_SetTextLimit
 - NSD_CB_AddString
 - NSD_CB_SelectString
 - NSD_LB_AddString
 - NSD_LB_SelectString

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5581 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:32:24 +00:00
kichik
35187d2230 patch #1916564 - French.nlf : fix on ^ComponentsSubText1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5580 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:06:58 +00:00
kichik
ed17a8e6bf patch #1919360 - Update for Albanian language files
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5579 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 17:05:12 +00:00
kichik
304974defe added NSD_CreateNumber with ES_NUMBER
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5578 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 16:42:18 +00:00
joostverburg
f655226380 * New LangFile.nsh macro LANGFILE_INCLUDE_WITHDEFAULT to load language file with defaults being obtained from a default file. This replaces the LANGFILE_DEFAULT setting and makes it easier to use LangFile.nsh for multiple sets of languages file without having to care about the different LANGFILE_DEFAULT settings.
* Allow LangFile.nsh to be included multiple times.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5577 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-29 15:35:08 +00:00
joostverburg
0d820475ae fixed typo in MULTIUSER_NOUNINSTALL setting
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5576 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-23 21:00:53 +00:00
kichik
2b6e00ffd1 read from correct value in InstallDirRegKey
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5575 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-21 16:26:19 +00:00
kichik
dbc100af40 added missing ${MementoSectionDone}
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5574 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-16 19:42:06 +00:00
joostverburg
c851892b66 fixed bug #1913029 - default installation mode based on registry key is now set correctly
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5573 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-12 20:39:55 +00:00
kichik
93570eb5f2 labels now have click notification, so fix docs up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5572 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-07 22:23:24 +00:00
kichik
c755489823 avoid corruption messages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5571 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-07 08:57:49 +00:00
kichik
d49d18ea23 Visual Studio's files should also be CRLF or else it chokes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5570 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-07 08:55:32 +00:00
kichik
af9f04b975 fixed bug #1908732 - nsDialogs - OnClick support for static controls not working
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5569 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-06 17:32:54 +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
kichik
8297c5c021 we need regular Split() as it's not promised those lines will be separated by just \n and not \r\n
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5567 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 18:39:12 +00:00
kichik
9993add206 revert AddBrandingImage as it's not needed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5566 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 18:24:50 +00:00
pabs3
8666849f94 Fix FTBFS on Debian GNU/Linux amd64 due to not enough use of -m32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5565 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 16:33:56 +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
pabs3
b6d7dea6d2 Ignore 'Examples/Modern UI/HeaderBitmap.nsi' on Linux since AddBrandingImage is disabled for non Win32 platforms.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5563 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 12:21:21 +00:00
pabs3
c3147bc598 Use AddBrandingImage since MUI_LANGUAGE seems to indirectly use SetBrandingImage.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5562 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 12:21:07 +00:00
pabs3
edd242896b Ignore 'Examples/Modern UI/WelcomeFinish.nsi' on Linux since it uses System::Call
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5561 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 12:00:05 +00:00
pabs3
c62b08b189 Use python split instead of scons Split so we can have spaces in file names for ignored tests.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5560 212acab6-be3b-0410-9dea-997c60f758d6
2008-03-03 11:59:49 +00:00
kichik
e6f4040268 fixed #1900585 - NSD_SetText doesn't work
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5559 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-24 17:33:54 +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
kichik
e3b9d1311b update structure comments
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5556 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 15:04:53 +00:00
kichik
2fd71f8507 implemented RFE #1900226 - expose MD5 function from VPatch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5555 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 12:38:10 +00:00