Commit graph

2641 commits

Author SHA1 Message Date
anders_k
e81728a52b Display a warning if MUI_LANGDLL_DISPLAY is inserted before MUI_LANGUAGE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6612 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 13:22:52 +00:00
anders_k
5615d42881 * !AddIncludeDir displays the cpu architecture in the script message if specified as a parameter
* Removed unused SYSTEM_PARTIALCALLSUPPORT define
* Fixed minor typos
* Allow MSVC_USE_SCRIPT to be specified on the commandline or in the environment


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6611 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 23:16:34 +00:00
anders_k
940277d9d8 * block_header::offset is now pointer sized in exehead
* Wininet.h -> wininet.h for POSIX


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6608 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 15:55:56 +00:00
anders_k
286edd20c4 * Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
* Win64 fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
fed52fac19 * Be extra careful with zero termination of the foreign update status string
* Always include Wininet.h


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6605 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-10 12:05:50 +00:00
anders_k
873e860f57 MakeNSISW now uses WinInet when checking for updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6604 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-07 21:31:50 +00:00
anders_k
e58680c996 CResourceDirectoryEntry::GetName() does not need to duplicate the string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6603 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-06 20:15:56 +00:00
anders_k
1f8866ccd8 Example plugin now correctly uses string_size when allocating its example message buffer
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6602 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-06 20:03:10 +00:00
anders_k
6361cfb1f6 Minor x64 system plugin example fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6590 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 18:33:39 +00:00
anders_k
ab554ae939 Use the system link color on our custom link controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6589 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 18:24:45 +00:00
anders_k
695a478725 File treats "" as "*", don't allow empty MUI_*_BITMAP defines.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6587 212acab6-be3b-0410-9dea-997c60f758d6
2015-06-25 20:12:57 +00:00
f0rt
6cdc279244 #260 pluginapi include files are referenced twice for platforms other than Windows.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6585 212acab6-be3b-0410-9dea-997c60f758d6
2015-06-21 16:13:45 +00:00
anders_k
c89cac5262 Fixed minor issues and typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 20:17:14 +00:00
anders_k
aaa2aa2b56 German ^ClickUninstall text was cropped in IDC_INTROTEXT in the MUI installers.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6583 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 19:11:03 +00:00
anders_k
c853ef31a0 Updated copyright details
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6578 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-14 22:27:29 +00:00
anders_k
9ff4b3ef43 (C) 2015
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
4cdb1cf7d1 * mynsiscallback must return nil and not 0 to avoid warning in some versions of Delphi.
* NSISDialog only uses g_hwndParent if it is valid.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6576 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:22:31 +00:00
anders_k
544711c803 Plugin SDK Pascal fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6574 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-03 23:25:39 +00:00
anders_k
4e380605ea Moved incorrect !endif
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6573 212acab6-be3b-0410-9dea-997c60f758d6
2015-01-19 18:03:43 +00:00
anders_k
b43bef1390 Warn if MUI_LANGUAGE is inserted before MUI_[UN]PAGE_*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6572 212acab6-be3b-0410-9dea-997c60f758d6
2014-12-17 14:38:00 +00:00
anders_k
461aa4b633 Make sure MUI2 UNBITMAP*_STRETCH have default values when using custom bitmaps
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6566 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-26 23:07:24 +00:00
anders_k
c4de0f9f59 Not all versions of MinGW have ARRAYSIZE, use our custom COUNTOF macro
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6565 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-26 18:57:52 +00:00
anders_k
27828503e5 Bug #1105: MakeLangId and zip2exe must use * for processorArchitecture in the manifest
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6562 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 16:08:17 +00:00
anders_k
6adc39c848 Math plugin needs tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6561 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 16:02:16 +00:00
anders_k
9152c24610 SetCompressorStats must zero terminate the buffer from EM_GETLINE!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6560 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-23 15:34:10 +00:00
anders_k
9eb4035b08 Must check if wParam matches MakensisAPI::QH_*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6559 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-22 16:49:45 +00:00
anders_k
eb5d77214a Patch #258, Makensisw x64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6557 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-12 20:09:35 +00:00
anders_k
6d2adf744d Minor Win64 fixes (Thanks JasonFriday13)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6556 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-07 19:43:30 +00:00
kichik
df73266640 fix eol
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6552 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-07 04:30:26 +00:00
anders_k
5ae69eb9cc zip2exe: The fix for bug #1085 causes a MSVC redefinition warning when <tchar.h> is included.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6540 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-18 20:20:55 +00:00
anders_k
913d5a62b2 Remove pluginapi.c's dependency on nsis_tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6531 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 20:56:12 +00:00
anders_k
9950ce1432 Fixed MinGW (GCC 4.5.2)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6530 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 19:21:43 +00:00
kichik
bd07bbcb9e and move the files too for mingw system build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6528 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 05:08:26 +00:00
kichik
c92f94c8b0 fix mingw build of system plug-in (thanks Anders)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6527 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 05:06:25 +00:00
anders_k
d66c9a492f Better handling of incomplete WCHAR reads from stdout
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6525 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-17 09:21:07 +00:00
anders_k
efbdf196f2 New MUI2 bitmap stretch modes: FitControl, NoStretchNoCrop[NoAlign] and AspectFitHeight. *_NOSTRETCH is now deprecated.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6524 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-16 21:54:13 +00:00
anders_k
481d383c76 Fixed MakeNSISW stdout log reader when the buffer is almost full
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6523 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-16 20:22:44 +00:00
anders_k
9ed46ac829 Removed some profanity from the docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6519 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-11 21:11:11 +00:00
kichik
8508ca9953 Czech updates by Va?ek Pavl??ek to use Microsoft terminology
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6516 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-07 00:45:47 +00:00
anders_k
edd80964a7 Tabs to spaces and minor cleanup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6514 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 11:55:28 +00:00
anders_k
7ee1a114a9 Minor typo and indentation fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6510 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-02 20:03:18 +00:00
anders_k
47eadad506 System.dll 64bit fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6509 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-01 22:09:38 +00:00
anders_k
4da72aaf77 Make GCC happy and make sure Call.sx is not preprocessed by MS toolchain
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6507 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-28 19:54:51 +00:00
anders_k
2fb86bfa29 Added System::Call direct register memory access type
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6505 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-27 14:27:32 +00:00
anders_k
d43e3a717c mstoolkit toolchain should use the VC toolkit linker by default. link.exe can even stand in for lib.exe if required
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6504 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-23 19:15:59 +00:00
anders_k
6bba242764 Fixed 5 GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6502 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 18:50:54 +00:00
kichik
15fb0bd987 fix error: #pragma GCC diagnostic not allowed inside functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6500 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 02:27:18 +00:00
anders_k
8ed10146ef MakeNSIS WM_COPYDATA notify messages now use the QH_OUTPUTCHARSET encoding if specified by the host. CP_ACP is the default for compatibility with old IDEs.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6490 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-11 22:01:38 +00:00
anders_k
9c1d673c25 system_popstring can reuse the HGLOBAL, no need to allocate string storage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6489 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 20:13:54 +00:00
anders_k
36deb84820 64bit fixes and optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6486 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 22:03:09 +00:00