Skip to content

Commit ebd37a9

Browse files
committed
Updated LEXILLA library to version 5.4.4 and SCINTILLA library to version 5.5.6.
Signed-off-by: Stefan-Mihai MOGA <stefan-mihai@moga.doctor>
1 parent afcac15 commit ebd37a9

70 files changed

Lines changed: 5400 additions & 4433 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ReleaseNotes.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,10 @@ <h2>History</h2>
194194
<li>Updated <code>genUp4win</code> library to the latest version available. <blockquote>Added support for Italian, Spanish, German and Greek languages.<br>Added support for Russian, Turkish, Chinese and Czech languages.</blockquote></li>
195195
</ul>
196196
</li>
197-
<li>Version 1.38 (TBD):
197+
<li>Version 1.38 (April 11<sup>th</sup>, 2025):
198198
<ul>
199199
<li>Updated <code>genUp4win</code> library to the latest version available. <blockquote>Reverted back from <code>GetTempPath2</code> to <code>GetTempPath</code> to make it compatible again with Windows 10.</blockquote></li>
200+
<li>Updated <code>LEXILLA</code> library to version 5.4.4 and <code>SCINTILLA</code> library to version 5.5.6.</li>
200201
<li>Updated PJ Naughter's <code>CScintillaCtrl</code> library to the latest version available. <blockquote>Updated class to work with Scintilla v5.5.5. New messages wrapped include: <code>SCI_SETUNDOSELECTIONHISTORY</code>, <code>SCI_GETUNDOSELECTIONHISTORY</code>, <code>SCI_GETSELECTIONSERIALIZED</code> and <code>SCI_SETSELECTIONSERIALIZED</code>.</blockquote></li>
201202
</ul>
202203
</li>

SoftwareContextRegister.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h1>Software Content Register</h1>
8787

8888
<p><strong>Lexilla, Scintilla, and SciTE</strong><br>
8989
Description: <em>Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.<br>As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts.</em><br>
90-
Version: 5.5.5<br>
90+
Version: 5.5.6<br>
9191
Home Page: <a href="https://www.scintilla.org/" target="_blank">https://www.scintilla.org/</a><br>
9292
License: Custom (Neil Hodgson's license)<br>
9393
Format: source code, binary</p>

hlp/IntelliFile.chm

-6 Bytes
Binary file not shown.

lexilla/.github/workflows/build-check-win32.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,24 @@ name: "Build and check Lexilla on Win32 with Visual C++"
33
on: [push]
44

55
jobs:
6+
# Compile for amd64 and cross-compile for arm64. Tests run only for amd64.
67
build:
78

89
runs-on: windows-latest
910

11+
strategy:
12+
matrix:
13+
arch:
14+
- amd64
15+
- amd64_arm64
16+
env:
17+
TEST: ${{ matrix.arch == 'amd64' && 'test' || '' }}
1018
steps:
1119
- uses: actions/checkout@v4
1220
- name: Preparing nmake
1321
uses: ilammy/msvc-dev-cmd@v1
1422
with:
15-
arch: x64
23+
arch: ${{ matrix.arch }}
1624
- name: Install Scintilla source
1725
run: |
1826
pwd
@@ -24,7 +32,7 @@ jobs:
2432
- name: Unit Test
2533
run: |
2634
cd test/unit
27-
nmake -f test.mak DEBUG=1 test
35+
nmake -f test.mak DEBUG=1 $env:TEST
2836
cd ../..
2937
- name: Build Lexilla
3038
run: |
@@ -33,14 +41,15 @@ jobs:
3341
cd ..
3442
- uses: actions/upload-artifact@v4
3543
with:
36-
name: lexilla.dll
44+
name: lexilla${{ matrix.arch == 'amd64_arm64' && '-arm64' || '' }}.dll
3745
path: bin/lexilla.dll
3846
- name: Test lexing and folding
3947
run: |
4048
cd test
41-
nmake -f testlexers.mak DEBUG=1 test
49+
nmake -f testlexers.mak DEBUG=1 $env:TEST
4250
cd ..
4351
- name: CheckLexilla C Example
52+
if: matrix.arch == 'amd64'
4453
run: |
4554
cd examples/CheckLexilla
4655
cl -MP CheckLexilla.c -I ../../include -Fe: CheckLexilla

lexilla/access/LexillaAccess.cxx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
namespace {
3131

3232
#if defined(_WIN32)
33-
typedef FARPROC Function;
34-
typedef HMODULE Module;
33+
using Function = FARPROC;
34+
using Module = HMODULE;
3535
constexpr const char *pathSeparator = "\\";
3636
#else
37-
typedef void *Function;
38-
typedef void *Module;
37+
using Function = void *;
38+
using Module = void *;
3939
constexpr const char *pathSeparator = "/";
4040
#endif
4141

@@ -164,9 +164,10 @@ bool Lexilla::Load(std::string_view sharedLibraryPaths) {
164164
if (fnLexerCount && fnLexerName) {
165165
const int nLexers = fnLexerCount();
166166
for (int i = 0; i < nLexers; i++) {
167-
char name[100] = "";
167+
constexpr size_t lengthName = 200;
168+
char name[lengthName]{};
168169
fnLexerName(i, name, sizeof(name));
169-
lexers.push_back(name);
170+
lexers.emplace_back(name);
170171
}
171172
}
172173
CreateLexerFn fnCL = FunctionPointer<CreateLexerFn>(
@@ -268,7 +269,7 @@ std::string Lexilla::NameFromID(int identifier) {
268269
}
269270
}
270271
}
271-
return std::string();
272+
return {};
272273
}
273274

274275
std::vector<std::string> Lexilla::LibraryProperties() {

lexilla/cppcheck.suppress

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ variableScope:lexilla/lexers/LexCmake.cxx
7070
knownConditionTrueFalse:lexilla/lexers/LexCmake.cxx
7171
constParameterReference:lexilla/lexers/LexCmake.cxx
7272
constParameterReference:lexilla/lexers/LexCOBOL.cxx
73+
constVariablePointer:lexilla/lexers/LexCOBOL.cxx
7374
constParameterReference:lexilla/lexers/LexCoffeeScript.cxx
7475
constParameterPointer:lexilla/lexers/LexCoffeeScript.cxx
7576
knownConditionTrueFalse:lexilla/lexers/LexCoffeeScript.cxx
7677
constVariableReference:lexilla/lexers/LexConf.cxx
7778
constParameterReference:lexilla/lexers/LexCPP.cxx
7879
variableScope:lexilla/lexers/LexCSS.cxx
80+
constVariablePointer:lexilla/lexers/LexCSS.cxx
7981
knownConditionTrueFalse:lexilla/lexers/LexDataflex.cxx
8082
constParameterReference:lexilla/lexers/LexDataflex.cxx
8183
variableScope:lexilla/lexers/LexDataflex.cxx
@@ -118,6 +120,7 @@ unreadVariable:lexilla/lexers/LexMatlab.cxx
118120
variableScope:lexilla/lexers/LexMatlab.cxx
119121
variableScope:lexilla/lexers/LexMetapost.cxx
120122
constParameterReference:lexilla/lexers/LexModula.cxx
123+
duplicateBreak:lexilla/lexers/LexModula.cxx
121124
variableScope:lexilla/lexers/LexModula.cxx
122125
constParameterReference:lexilla/lexers/LexMPT.cxx
123126
variableScope:lexilla/lexers/LexMSSQL.cxx
@@ -140,6 +143,7 @@ constVariableReference:lexilla/lexers/LexPerl.cxx
140143
knownConditionTrueFalse:lexilla/lexers/LexPerl.cxx
141144
constParameterReference:lexilla/lexers/LexPLM.cxx
142145
constParameterReference:lexilla/lexers/LexPO.cxx
146+
constVariablePointer:lexilla/lexers/LexPOV.cxx
143147
constParameterReference:lexilla/lexers/LexPython.cxx
144148
shadowVariable:lexilla/lexers/LexPowerPro.cxx
145149
knownConditionTrueFalse:lexilla/lexers/LexPowerPro.cxx
@@ -188,7 +192,6 @@ constVariableReference:lexilla/lexers/LexX12.cxx
188192
constParameterPointer:lexilla/lexers/LexX12.cxx
189193
uselessCallsSubstr:lexilla/lexers/LexX12.cxx
190194
constParameterReference:lexilla/lexers/LexYAML.cxx
191-
constParameterPointer:lexilla/lexers/LexYAML.cxx
192195
knownConditionTrueFalse:lexilla/lexers/LexYAML.cxx
193196

194197
// These are due to Accessor::IndentAmount not declaring the callback as taking a const.

lexilla/doc/Lexilla.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta name="keywords" content="Scintilla, SciTE, Editing Component, Text Editor" />
1010
<meta name="Description"
1111
content="www.scintilla.org is the home of the Scintilla editing component and SciTE text editor application." />
12-
<meta name="Date.Modified" content="20250225" />
12+
<meta name="Date.Modified" content="20250402" />
1313
<meta name="viewport" content="width=device-width, initial-scale=1" />
1414
<style type="text/css">
1515
.logo {
@@ -51,6 +51,7 @@
5151
<title>
5252
Lexilla
5353
</title>
54+
<link rel="canonical" href="https://scintilla.org/Lexilla.html" />
5455
</head>
5556
<body bgcolor="#FFFFFF" text="#000000">
5657
<table bgcolor="#000000" width="100%" cellspacing="0" cellpadding="0" border="0">
@@ -61,8 +62,8 @@
6162
<font color="#FFCC99" size="4"> A library of language lexers for use with Scintilla</font>
6263
</td>
6364
<td width="40%" align="right">
64-
<font color="#FFCC99" size="3">Release version 5.4.3<br />
65-
Site last modified February 25 2025</font>
65+
<font color="#FFCC99" size="3">Release version 5.4.4<br />
66+
Site last modified April 2 2025</font>
6667
</td>
6768
<td width="20%">
6869
&nbsp;
@@ -77,11 +78,11 @@
7778
</tr>
7879
</table>
7980
<ul id="versionlist">
81+
<li>Version 5.4.4 fixes a problem when building for ARM654 on Windows.</li>
8082
<li>Version 5.4.3 improves C++, Modula 3, Pascal, Python, and Ruby.</li>
8183
<li>Version 5.4.2 adds Nix lexer. Improves JavaScript, PHP, Rust, TOML, and Zig.</li>
8284
<li>Version 5.4.1 adds Dart, troff, and Zig lexers. Improves C++, F#, HTML, and Smalltalk.</li>
8385
<li>Version 5.4.0 adds a TOML lexer.</li>
84-
<li>Version 5.3.3 improves HTML, JavaScript, Lua, PHP, and XML.</li>
8586
</ul>
8687
<ul id="menu">
8788
<li id="remote1"><a href="https://www.scintilla.org/SciTEImage.html">Screenshot</a></li>

lexilla/doc/LexillaDoc.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
1111

1212
<title>Lexilla Documentation</title>
13+
<link rel="canonical" href="https://scintilla.org/LexillaDoc.html" />
1314

1415
<style type="text/css">
1516
<!--

lexilla/doc/LexillaDownload.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
<table bgcolor="#CCCCCC" width="100%" cellspacing="0" cellpadding="8" border="0">
2727
<tr>
2828
<td>
29-
<font size="4"> <a href="https://www.scintilla.org/lexilla543.zip">
29+
<font size="4"> <a href="https://www.scintilla.org/lexilla544.zip">
3030
Windows</a>&nbsp;&nbsp;
31-
<a href="https://www.scintilla.org/lexilla543.tgz">
31+
<a href="https://www.scintilla.org/lexilla544.tgz">
3232
GTK/Linux</a>&nbsp;&nbsp;
3333
</font>
3434
</td>
@@ -42,16 +42,16 @@ <h2>
4242
containing very few restrictions.
4343
</p>
4444
<h3>
45-
Release 5.4.3
45+
Release 5.4.4
4646
</h3>
4747
<h4>
4848
Source Code
4949
</h4>
5050
The source code package contains all of the source code for Lexilla but no binary
5151
executable code and is available in
5252
<ul>
53-
<li><a href="https://www.scintilla.org/lexilla543.zip">zip format</a> (1.4M) commonly used on Windows</li>
54-
<li><a href="https://www.scintilla.org/lexilla543.tgz">tgz format</a> (1.0M) commonly used on Linux and compatible operating systems</li>
53+
<li><a href="https://www.scintilla.org/lexilla544.zip">zip format</a> (1.4M) commonly used on Windows</li>
54+
<li><a href="https://www.scintilla.org/lexilla544.tgz">tgz format</a> (1.0M) commonly used on Linux and compatible operating systems</li>
5555
</ul>
5656
Instructions for building on both Windows and Linux are included in the readme file.
5757
<h4>

lexilla/doc/LexillaHistory.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,22 @@ <h2>Contributors</h2>
590590
<td>Henrik S. Johansen</td>
591591
<td>Ekopalypse</td>
592592
<td>HoTschir</td>
593+
<td>Ahmet Sait</td>
593594
</tr>
594595
</table>
595596
<h2 id="Releases">Releases</h2>
597+
<h3>
598+
<a href="https://www.scintilla.org/lexilla544.zip">Release 5.4.4</a>
599+
</h3>
600+
<ul>
601+
<li>
602+
Released 2 April 2025.
603+
</li>
604+
<li>
605+
Fix building for ARM64.
606+
<a href="https://github.com/ScintillaOrg/lexilla/pull/308">Pull request #308</a>.
607+
</li>
608+
</ul>
596609
<h3>
597610
<a href="https://www.scintilla.org/lexilla543.zip">Release 5.4.3</a>
598611
</h3>

0 commit comments

Comments
 (0)