Commit Graph

41 Commits

Author SHA1 Message Date
Don Ho 02e4202d68 Reduce Appveyor building time
Keep only x64 release build in Appveyor.
2023-11-03 23:26:44 +01:00
Don HO 7f2c303ac6
Update appveyor.yml
Disable FunctionList Unit tests.
2023-11-02 13:32:41 +01:00
ArkadiuszMichalski cbb1375f65 CI enhancement: Add ini files to exclusions
Close #13217
2023-02-24 17:07:42 +01:00
ArkadiuszMichalski f8593916a9 Fix CI problem: Some commits are treated as "XML changes only
Use more precise path inside $folders_onejob.

Fix #12810, close #12813
2023-01-20 15:13:03 +01:00
ArkadiuszMichalski bbe70f55a6 [xml][force xml] Switch to Python311-x64 and use prebuild lxml for CI 2022-12-14 16:25:23 +01:00
ArkadiuszMichalski e596baad11 [xml][force xml] Optimize AppVeyor for test files
Close #12628
2022-12-12 21:01:02 +01:00
ArkadiuszMichalski adf2ad0f4f Reduce CI build time (for md/txt/log)
Handle md/txt/log by appveyor in a special way.

Close #12592
2022-12-01 03:35:57 +01:00
Arkadiusz Michalski 785b3417b6 Reduce CI (AppVeyor) build time
Reduce traslation PR validation time.

Fix #12457, close #12454
2022-11-29 20:53:55 +01:00
Arkadiusz Michalski 238aadb87f Adjust build GCC
Close #12485
2022-11-10 14:02:44 +01:00
Arkadiusz Michalski f4419f2be9 Fix CI 32 build failure in GCC
And update appveyor.yml and BUILD.md to reflect the migration to MSYS2

Fix #12447, close #12450, close #12481
2022-11-09 19:47:35 +01:00
ozone10 bcaf0f00b5 Update CI env to have GCC 12 for using c++20
1. Update Makefile to use c++20.
2. Update appveyor.yml to use MSYS2 (GCC 12).

Close #12292
2022-10-06 17:34:19 +02:00
Don Ho 3b8446d8ce Fix CI system error due to the project build env update 2022-10-06 14:17:38 +02:00
Don Ho 3cbbb42933 Revert "Fix CI system error due to the project build env update"
This reverts commit c64049a1e6.
2022-10-06 14:15:16 +02:00
Don Ho c64049a1e6 Fix CI system error due to the project build env update
And use C++20 for string::ends_with() function.
2022-10-05 17:28:21 +02:00
chcg 2041c515c4 Update appveyor.yml
Use newer python 3.10 instead of 3.8 for xml checks

Close #12272
2022-10-04 03:40:43 +02:00
Christian Grasser ed4bb1a93e Update lexilla to 5.1.7 & Scintilla to 5.2.3
Use new interfaces SCI_FORMATRANGEFULL, SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL from scintilla 5.2.3

Close #11734
2022-06-28 16:19:19 +02:00
ArkadiuszMichalski 8498e06193 Fix Debug builds missing
Fix #11728, close #11730
2022-05-27 14:55:33 +02:00
Robert Di Pardo d6595ad836 Make Plugins Admin work with MinGW in debug mode binary
Convert path to nppPluginList.json with ::wstring2string().

Unlike MSVC [1], MinGW GCC doesn't provide file stream constructors
for wchar_t* paths [2].

 ---
 [1] https://stackoverflow.com/a/822032
 [2] https://sourceforge.net/p/mingw-w64/mailman/message/34249829

Fixes #11687, close #11701
2022-05-25 18:37:21 +02:00
Christian Grasser a61b03ea88 Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5
Update with https://www.scintilla.org/scintilla521.zip
            https://www.scintilla.org/lexilla515.zip

- fix setting to bring Scintilla::PositionCR from ScintillaStructures.h inline with Sci_Position.h Sci_PositionCR
- add workaround to enable lexer for searchResult
commented out SCI_SETILEXER call on searchResult to get one result which is correctly handled by the lexer,
added comment about the current problem with property @MarkingsStruct which seems to disappear after call to SCI_SETILEXER or CreateLexer
- corrected usage of ObjC lexer
- removed unnecessary filter stuff
- use own sections for scintilla and lexilla build targets and allow parallel builds
- as libscilex is no longer existing, changed to libscintilla
- adapt makefiles and cmake
- use VS2019
- started simple changes for createlexer adaptations, nullpointercheck missing on return of lexer name from deprecated LexerNameFromID -> undefined behaviour
- movement from id -> lexer name, mostly done via LexerNameFromID + switching off corresponding compiler warning
- changed to SCI_SETILEXER from SCI_SETLEXER, SCI_SETLEXERLANGUAGE needs to be corrected, see Scintilla5Migration.html
- just commented out: SCI_LOADLEXERLIBRARY

Fix #10504, close #11419
2022-03-27 17:12:53 +02:00
Ivan Ustûžanin 049ededf9f Add gcc 32-bit build and improve build process
1. Include SciLexer build in Notepad++ build.
2. Remove -fpermissive, auto -j in make.

Fix #9989, close #10540
2021-09-13 23:17:11 +02:00
Christian Grasser f428fbab13 Fix building MinGW release twice in appveyor builds
Improve also MinGW build (toolbar appears) by adding changes from patch https://github.com/notepad-plus-plus/notepad-plus-plus/files/6947163/notepad-gcc-build.patch.txt

Fix #10328, fix #10185, close #10469
2021-09-01 11:54:00 +02:00
mere-human 52c73f92dc Remove "Unicode" from build configuration names
Rename "Unicode Debug" => "Debug", "Unicode Release" => "Release"
since there is no non-Unicode version.
Also, fix the name in other configs for Git, AppVeyor and in the docs.

Fix #10114, close #10278
2021-07-29 15:14:55 +02:00
Don Ho 14a0a43b16 Add global regex unitTest via UDL way
Use User Defined Language to have function list on Unit-tests.
It could reduce regression happening while the code of boost regex or the related code is changed.

And also make build system be aware of unit-test result.

Close #10108
2021-07-07 03:37:43 +02:00
Christian Grasser 2e0d358cdc Adapt for VS2019 builds with toolkit v142
Fix #9922, close #9942
2021-06-25 15:26:27 +02:00
Christian Grasser ab58c8ee3e One button to compile them all
1. Build Notepad++ with Scintilla static lib (libscintilla.lib) and Boost (v1.76) RegExpr.
2. ARM64 build is available.

Fix #5158, close #9594
2021-04-17 05:55:10 +02:00
Christian Grasser 10b091b54d
Use the generated SciLexer.dll which contains regExpr of Boost
Currently in Appveyor build, we download SciLixer.dll from the latest release for Unit tests (of function list especially).
In PR #9574 the boost is included in Appveyor build.

In this PR:
- Remove the download last release part from Appveyor script and use the generated SciLexer.dll
- Remove SUPPORT_XP from the script

Fix #9581, close #9591
2021-02-27 19:57:32 +01:00
Udo Hoffmann d6c6a49d1b
Include Boost in appveyor build
Close #9574
2021-02-25 18:24:58 +01:00
Christian Grasser e24ad94ddd
Move script validator_xml.py to "Test" folder
Fix #9330 part 2
Close #9345
2021-01-04 01:42:57 +01:00
Christian Grasser d17fa02a6f
Check XML validation in Notepad++ build system
1. Added xml syntax check via python script just for the win32 debug build because there already the functionlist check happens.
2. Fixed an issue found for perl.

Fix #9330, close #9339
2021-01-03 01:52:23 +01:00
Don HO 0405e230eb
Remove redundant unitTestLauncher.ps1 command 2020-11-11 03:52:39 +01:00
Udo Hoffmann 9cd6e6513f
Test tool to verify URL parser
Close #9059
2020-10-26 14:38:47 +01:00
Don HO c0c070abaf
Split functionList.xml into multifile in "functionList" Folder
New "functionList" will be added beside of notepad++.exe or "%APPDATA%\Notepad++\", according the installation mode. If the portable package is used, after removing "doLocalConf.xml", the "functionList" folder should be copied manually from Notepad++ installed directory to "%APPDATA%\Notepad++\" to make function list work again.

All splited files are localized in this folder with the explicit language name.

"overrideMap.xml" is optional for overriding the default functionList parse rule files, and for adding UDL parse rule files.

Close #4896
2020-10-21 18:05:08 +02:00
Christian Grasser 648e6eb891 Integrate unit-tests for function list into appveyor CI
- run unitTestLauncher.ps1 on win32 debug builds (release is not possible due to missing scintilla crypto signing)
- SciLexer.dll needs to be taken from an official build, because boost is required for functionlist to be functional
- slightly optimized test script, added timing traces

It's for #8762

Close #8816
2020-09-07 01:43:06 +02:00
Christian Grasser c741f83bde
Update makefile for mingw gcc builds
Close #4145
2019-11-07 22:13:47 +01:00
Christian Grasser 3fb6db3e53
Uupdate for build with updated scintilla 4.1.4 and vs2017
Close #5635
2019-05-10 13:52:30 +02:00
Christian Grasser 28c9bb6d31 correct appveyor.yml VS vcxproj after rename
add logger to see warnings/errors in the message tab

Closes #3825
2017-10-19 23:29:10 +02:00
Don HO 59234b91a7 Switch to VS 2015 2017-09-11 15:48:26 +02:00
Don HO ef3ad5d909 Use VS2015 for appveyor instead of VS2013 2017-09-11 09:36:38 +02:00
Don HO 79028b3341 Appveyor artifacts debug and release for x86 & x64
Fixes #1942 Closes #2079
2016-07-15 00:10:15 +02:00
Christophe Meriaux d26f910ece Add nighty build in AppVeyor
Add appveyor artifacts
Close #1726, closes#1725
2016-05-21 20:08:12 +02:00
squarefractal@gmail.com e32d678703 Continuous integration with Appveyor
Closes #1526
2016-03-23 17:13:39 +01:00