kichik
5b490c9e49
removed private atoi implementations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5837 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:47:14 +00:00
kichik
f3350670fb
simpler atoi for LangDLL and Banner
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5836 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:45:03 +00:00
kichik
41836a0f4a
remove special implementation of stack operations and use plugin.lib instead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5835 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:39:35 +00:00
kichik
7ee44a65dc
some more functions, required by nsDialogs and probably more plug-ins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5834 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:37:22 +00:00
kichik
e1a741ef08
update for plugin.h and plugin.lib
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5833 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:19:45 +00:00
kichik
4ba8da04fd
switch to plugin.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5832 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:18:43 +00:00
kichik
f6800c8052
allow passing NULL to popstring() for InstallOptions and probably more plug-ins
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5831 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:13:43 +00:00
kichik
1f02b6128e
hello c++!
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5830 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:07:38 +00:00
kichik
1cb944da98
use plugin.h and try to force plugin.lib for backward compatibility
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5829 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:07:10 +00:00
kichik
f664fddb91
don't allow both "reboot now" and "reboot later" to be turned on at the same time
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5828 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 17:02:20 +00:00
kichik
d3cc90d746
update CPPPATH (include directory) as well so plug-ins can find everything
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5827 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 16:46:55 +00:00
kichik
eceb3ce333
- create plugin.lib that contains all
...
- distribute plugin.h, api.h and plugin.lib
- remove inc_c stuff because we don't really want to install win32 header files as something that can be used on linux (this should be revisited later)
- fix up MakeFileList for newer versions of SCons (should be removed in the future)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5826 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 16:33:25 +00:00
kichik
e51dfd9873
ignore sconf.h
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5825 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 16:29:05 +00:00
kichik
02c19d4141
ignore those pesky two
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5824 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-12 16:28:22 +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
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