-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded to newer version of Lexilla and Scintilla
- Loading branch information
Showing
218 changed files
with
6,299 additions
and
1,610 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
* -text | ||
**.cxx text | ||
**.cpp text | ||
**.c text | ||
**.h text | ||
**.hpp text | ||
**.m text | ||
**.mm text | ||
**.iface text | ||
**.template text | ||
**.mk text | ||
**.py text | ||
**.rc text | ||
**.css text | ||
**.html text | ||
**.bat text | ||
**.bsh text | ||
**.zsh text | ||
**.mak text | ||
**.def text | ||
**.manifest text | ||
**.properties text | ||
**.props text | ||
**.session text | ||
**.styled text | ||
**.folded text | ||
**.adoc text | ||
**.asp text | ||
**.aspx text | ||
**.php text | ||
**.vb text | ||
**.asm text | ||
**.cob text | ||
**.cmake text | ||
**.d text | ||
**.diff text | ||
**.erl text | ||
**.f text | ||
**.gd text | ||
**.gui text | ||
**.iss text | ||
**.jl text | ||
**.json text | ||
**.lua text | ||
**.m3 text | ||
**.matlab text | ||
**.ml text | ||
**.nim text | ||
**.octave text | ||
**.pl text | ||
**.p6 text | ||
**.ps1 text | ||
**.r text | ||
**.rb text | ||
**.rs text | ||
**.sql text | ||
**.tcl text | ||
**.tsql text | ||
**.err text | ||
**.mms text | ||
**.tex text | ||
**.fs text | ||
**.vh text | ||
**.vhd text | ||
**.x12 text | ||
**.yaml text | ||
**.md text | ||
**.txt text | ||
**.pch text | ||
**.hg* text | ||
**.dsp text | ||
**.pbxproj text | ||
**.plist text | ||
**.xcworkspacedata text | ||
**.pro text | ||
**.gen text | ||
**makefile text | ||
**.bmp binary | ||
**.cur binary | ||
**.ico binary | ||
**.jpg binary | ||
**.png binary | ||
**.sh text eol=lf | ||
tgzsrc text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Build and check Lexilla on macOS" | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-11 | ||
|
||
strategy: | ||
matrix: | ||
cpp_compiler: [clang++] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Scintilla source | ||
run: | | ||
(cd .. && wget --no-verbose https://www.scintilla.org/scintilla500.zip) | ||
(cd .. && unzip scintilla500.zip) | ||
- name: Unit Test | ||
run: (cd test/unit && make DEBUG=1 CXX=${{matrix.cpp_compiler}} test) | ||
- name: Build Lexilla | ||
run: (cd src && make DEBUG=1 CXX=${{matrix.cpp_compiler}}) | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: liblexilla.dylib | ||
path: bin/liblexilla.dylib | ||
- name: Test lexing and folding | ||
run: (cd test && make DEBUG=1 CXX=${{matrix.cpp_compiler}} test) | ||
- name: CheckLexilla C Example | ||
run: (cd examples/CheckLexilla && make DEBUG=1 check) | ||
- name: SimpleLexer Example | ||
run: (cd examples/SimpleLexer && make DEBUG=1 CXX=${{matrix.cpp_compiler}} check) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: "Build and check Lexilla on Win32 with Visual C++" | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Preparing nmake | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: x64 | ||
- name: Install Scintilla source | ||
run: | | ||
pwd | ||
cd .. | ||
curl -O https://www.scintilla.org/scintilla500.zip | ||
ls | ||
7z x scintilla500.zip | ||
cd lexilla | ||
- name: Unit Test | ||
run: | | ||
cd test/unit | ||
nmake -f test.mak DEBUG=1 test | ||
cd ../.. | ||
- name: Build Lexilla | ||
run: | | ||
cd src | ||
nmake -f lexilla.mak DEBUG=1 | ||
cd .. | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: lexilla.dll | ||
path: bin/lexilla.dll | ||
- name: Test lexing and folding | ||
run: | | ||
cd test | ||
nmake -f testlexers.mak DEBUG=1 test | ||
cd .. | ||
- name: CheckLexilla C Example | ||
run: | | ||
cd examples/CheckLexilla | ||
cl CheckLexilla.c -I ../../include -Fe: CheckLexilla | ||
.\CheckLexilla.exe | ||
cd ../.. | ||
- name: SimpleLexer Example | ||
run: | | ||
cd examples/SimpleLexer | ||
cl -std:c++17 -EHsc -LD -I ../../../scintilla/include -I ../../include -I ../../lexlib SimpleLexer.cxx ../../lexlib/*.cxx | ||
cd ../.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "Build and check Lexilla on Linux" | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
cpp_compiler: [g++, clang++] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Scintilla source | ||
run: | | ||
(cd .. && wget --no-verbose https://www.scintilla.org/scintilla500.zip) | ||
(cd .. && unzip scintilla500.zip) | ||
- name: Unit Test | ||
run: (cd test/unit && make DEBUG=1 CXX=${{matrix.cpp_compiler}} test) | ||
- name: Build Lexilla | ||
run: (cd src && make DEBUG=1 CXX=${{matrix.cpp_compiler}}) | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: liblexilla-${{matrix.cpp_compiler}}.so | ||
path: bin/liblexilla.so | ||
overwrite: true | ||
- name: Test lexing and folding | ||
run: (cd test && make DEBUG=1 CXX=${{matrix.cpp_compiler}} test) | ||
- name: CheckLexilla C Example | ||
run: (cd examples/CheckLexilla && make DEBUG=1 check) | ||
- name: SimpleLexer Example | ||
run: (cd examples/SimpleLexer && make DEBUG=1 CXX=${{matrix.cpp_compiler}} check) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
*.o | ||
*.a | ||
*.lib | ||
*.obj | ||
*.iobj | ||
__pycache__ | ||
*.pyc | ||
*.dll | ||
*.so | ||
*.dylib | ||
*.framework | ||
*.pyd | ||
*.exe | ||
*.exp | ||
*.lib | ||
*.pdb | ||
*.ipdb | ||
*.res | ||
*.bak | ||
*.sbr | ||
*.suo | ||
*.aps | ||
*.sln | ||
*.vcxproj.* | ||
*.idb | ||
*.bsc | ||
*.intermediate.manifest | ||
*.lastbuildstate | ||
*.nativecodeanalysis.xml | ||
*.cache | ||
*.ilk | ||
*.ncb | ||
*.tlog | ||
*.sdf | ||
gtk/*.plist | ||
win32/*.plist | ||
*.opt | ||
*.plg | ||
*.pbxbtree | ||
*.mode1v3 | ||
*.pbxuser | ||
*.pbproj | ||
*.tgz | ||
*.log | ||
*.xcbkptlist | ||
*.xcuserstate | ||
xcuserdata/ | ||
*.xcsettings | ||
xcschememanagement.plist | ||
.DS_Store | ||
test/TestLexers | ||
Release | ||
Debug | ||
x64 | ||
ARM64 | ||
cocoa/build | ||
cocoa/ScintillaFramework/build | ||
cocoa/ScintillaTest/build | ||
macosx/SciTest/build | ||
*.cppcheck | ||
*.pro.user | ||
.qmake.stash | ||
cov-int | ||
.vs | ||
meson-private | ||
meson-logs | ||
build.ninja | ||
.ninja* | ||
compile_commands.json | ||
.vscode/ | ||
VTune Profiler Results/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Build Lexilla with gcc and clang on Linux, macOS, and Windows | ||
# Test Lexilla with gcc and clang on Linux and macOS | ||
# Windows has older versions of libraries so can't compile std::filesystem | ||
# with gcc or std::string::starts_with with clang. | ||
# On macOS, gcc is a synonym for clang so exclude gcc. | ||
os: | ||
- linux | ||
- osx | ||
- windows | ||
|
||
dist: focal | ||
|
||
osx_image: xcode12.3 | ||
|
||
language: cpp | ||
|
||
jobs: | ||
exclude: | ||
- os: osx | ||
compiler: gcc | ||
|
||
install: | ||
- cd .. | ||
- wget --no-verbose https://www.scintilla.org/scintilla500.zip | ||
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then 7z x scintilla500.zip ; else unzip scintilla500.zip ; fi | ||
- cd lexilla | ||
|
||
compiler: | ||
- gcc | ||
- clang | ||
|
||
script: | ||
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then MAKER="mingw32-make windir=1" ; else MAKER="make" ; fi | ||
- (cd src && $MAKER DEBUG=1) | ||
- cd test | ||
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then make DEBUG=1 test ; fi | ||
- (cd unit && $MAKER DEBUG=1 test) | ||
- cd .. | ||
- cd examples | ||
- (cd CheckLexilla && $MAKER DEBUG=1 check) | ||
- (cd SimpleLexer && $MAKER DEBUG=1 check) | ||
- cd .. |
Oops, something went wrong.