Commit graph

4983 commits

Author SHA1 Message Date
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
2d06f24c5d force quoting to avoid problems with the parenthesis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5818 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 23:06:03 +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
6720f24b8f use api.h in exdll.h (part of patch #2359978)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5816 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:54:32 +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
a2d5557705 fixed bug #2386821 - MUI_CUSTOMFUNCTION_MOUSEOVERSECTION documentation error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5812 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-06 22:20:02 +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
e989777f12 get just one char for windows 9x "service pack"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5810 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-01 22:35:48 +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
9ac4ab0891 bring back WinVerGetMajor, WinVerGetMinor and WinVerGetBuild
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5808 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 21:15:01 +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
7524b7c256 oops... KillTimer is taken
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5805 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 18:05:13 +00:00
kichik
d8a75f9c10 accidentally committed the wrong version
this new version uses macros to make the script nicer

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5804 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 18:01:29 +00:00
kichik
dba6bb4210 applied patch #2135855 - Timer support for nsDialogs
also added progress bar support for the example

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5803 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 17:56:54 +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
d01c264c5e and also in calls...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5798 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 13:21:04 +00:00
kichik
8309260972 no need for outvar
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5797 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-29 13:19:14 +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
b77e8674a4 fixed bug #2053642 - WinVer 95/NT4 ambiguity
also, the last huge commit was based on a patch by Anders

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5792 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-28 20:01:18 +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
b68f87341c implemented RFE #1949260 - Windows Server 2008 support
fixed bug #2053700 - Windows XP x64 is reported as Windows 2003

added support for 9x "SP" by converting A, B, C to a SP number

also added IsServer, IsWin2003R2, IsStarterEdition, OSHasMediaCenter and OSHasTabletSupport

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5790 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-28 19:21:25 +00:00
kichik
b3d6dc00fd only save and restore ebp when stack generation is turned on (for parameters taken or returned on the nsis stack), just like in the old working code
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5789 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-23 21:15:04 +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
3495441728 no need for function usage deceleration or un. suffix anymore
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5787 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 13:26:54 +00:00
kichik
6226f58d8b no need for function usage deceleration or un. suffix anymore
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5786 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 13:22:57 +00:00
kichik
4425d93e75 fixed bug #2318670 - New System plug-in never unloads
ebp was never restored from the stack and so edi, esi, ebx and ebp were corrupted when CallProc returned

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5785 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 09:57:23 +00:00
kichik
0f01464e40 tabs to spaces
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5784 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 09:34:24 +00:00
kichik
a91ab7ab59 spaces are now frowned upon and quoted for unknown reason
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5783 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 08:47:37 +00:00
kichik
dffc61dd63 use new artificial functions to remove the need to declare usage of functions from the header files and to remove the unnecessary differentiation between install and uninstall functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5782 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 01:12:22 +00:00
kichik
7c1a3aa639 extract CallArtificialFunction to Util.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5780 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-21 00:04:05 +00:00
kichik
8e06903fc9 support for uninstaller
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5779 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 23:39:45 +00:00
kichik
0f977a9c4f extract the common artificial function code to a macro
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5778 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 22:54:05 +00:00
kichik
76f8534004 fake functions so version detection code isn't massively duplicated
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5777 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 22:37:30 +00:00
kichik
39b7d36352 implemented RFE #2315740 - Library support for ActiveX exe /regserver
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5776 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 21:54:21 +00:00
kichik
4c87ec9e83 applied patch #2193442 - port System::Call and related functions to GCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5775 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 21:04:23 +00:00
kichik
ef3c40bbfd show some progress on screen for sftp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5774 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 20:59:46 +00:00
kichik
e3c007adf0 semi-automatic purge, assuming the browser is logged on as admin
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5773 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 20:57:40 +00:00
kichik
2c212ffab2 2.41
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5770 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 20:13:12 +00:00
kichik
4284d05606 2.41
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5769 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 20:06:32 +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