Commit graph

92 commits

Author SHA1 Message Date
anders_k
3c3d929aad Optimize known conditions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7330 212acab6-be3b-0410-9dea-997c60f758d6
2021-09-19 21:10:16 +00:00
anders_k
52d6782447 Added GetWinVer instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7309 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-29 18:39:07 +00:00
anders_k
cdffbfe870 NT4 < SP6 test must be client, not server
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7308 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-27 18:23:35 +00:00
anders_k
887d9f8723 Added LineParser::gettoken_intx with basic arithmetic expression handling for LoadAndSetImage, SectionSetFlags and SectionSetInstTypes.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7180 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-02 21:53:41 +00:00
anders_k
e1141d9277 Added !define /intfmt
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7173 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-22 21:14:55 +00:00
anders_k
978ac79a5d Added PEAddResource and PERemoveResource
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7079 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-10 20:45:40 +00:00
anders_k
b278e8975d Fixed !macroundef of last defined macro bug
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6998 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-01 17:28:41 +00:00
anders_k
565386c71f Added some integer tests
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6997 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-01 16:33:13 +00:00
anders_k
a6b869aeea Test !searchparse and !searchreplace
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6996 212acab6-be3b-0410-9dea-997c60f758d6
2018-05-31 20:54:35 +00:00
kichik
80bc65beb1 support python 3 for building
python 2.6 is no longer supported

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6921 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 18:23:05 +00:00
anders_k
ca009c196b Added !pragma warning error <#|all>, warning #, disable all, enable all, default all
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6898 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-01 23:06:48 +00:00
anders_k
62b8ca9bb5 A more aggressive workaround for bug #1156
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6804 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-25 21:35:28 +00:00
anders_k
7339c8c795 Temporary workaround for bug #1156
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6803 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 17:10:12 +00:00
anders_k
27ed0e502b Unify g_output and console initialization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6802 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 15:42:20 +00:00
anders_k
d698d166d5 Use a common helper macro to declare some UI output related variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6800 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 23:11:33 +00:00
f0rt
a190b4fc84 Make WinWStrDupFromWC endian agnostic (Patch #273)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6783 212acab6-be3b-0410-9dea-997c60f758d6
2016-09-06 18:48:32 +00:00
kichik
14fcfbe1a8 fixed bug #1098 so test-code works on ubuntu now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6545 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 21:52:03 +00:00
anders_k
fd6400d44d * ChangeUI should warn when it cannot find a dialog.
* CDialogTemplate::Save needs to free the template with the correct function.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6535 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-05 13:53:20 +00:00
anders_k
03405bcd96 Fixed winchar tests
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6430 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-22 09:54:21 +00:00
anders_k
e63fa6c53b Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6413 212acab6-be3b-0410-9dea-997c60f758d6
2013-09-06 23:48:59 +00:00
kichik
49920eb39c there is only one winver.nsi now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6335 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 08:48:21 +00:00
wizou
f7f4d2f033 Using standard wchar string functions instead of winchar_*
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6072 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-30 14:48:19 +00:00
wizou
70ccef9cbc Unicode: Fixed some scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6068 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-21 08:55:35 +00:00
wizou
64a0f32e52 more simple TCHARs fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6047 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-12 16:00:17 +00:00
wizou
cdf7735a77 Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
f0rt
c39ffff404 applied patch #2918870 - use of the zlib compression library provided by the system
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6030 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-07 21:24:09 +00:00
kichik
85d3e9688e added win7 x64 rtm
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5999 212acab6-be3b-0410-9dea-997c60f758d6
2009-08-26 16:38:24 +00:00
kichik
e75f03ab8f 2008 r2 testing
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5991 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-10 18:50:12 +00:00
kichik
88af5d9d89 win7
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5968 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-05 18:02:00 +00:00
kichik
0823306f59 some 7 loving
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5967 212acab6-be3b-0410-9dea-997c60f758d6
2009-05-17 21:56:04 +00:00
kichik
77e6de242f comparison tests for win7/2008r2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5963 212acab6-be3b-0410-9dea-997c60f758d6
2009-05-13 18:11:00 +00:00
kichik
f4a282b8eb basic icon tests to avoid bugs like #2572035
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5936 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-06 14:15:39 +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
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
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
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
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
9841c1ec97 fixed bug #1753063 - CVS test failure on hppa
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5205 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-16 18:28:18 +00:00
kichik
a87208a617 test content as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5194 212acab6-be3b-0410-9dea-997c60f758d6
2007-07-07 09:30:14 +00:00