Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
da0043a
ANSIfy
resuna Oct 13, 2026
0097399
Update to use gcc 11
resuna Oct 13, 2026
00ff4e5
Patch copied from FreeBSD ports.
resuna Oct 13, 2026
ea26174
Create tcl9 CI
resuna Oct 13, 2026
5683e90
Remove "_ANSI_ARGS_" stuff
resuna Oct 13, 2026
7566c71
Remove generated _ANSI_ARGS
resuna Oct 13, 2026
5053915
Remove more ANSI_ARGS shenanigans
resuna Oct 13, 2026
a5ae96c
More ANSI_ARGS shenanigans
resuna Oct 13, 2026
94b8474
Get rid of CONST
resuna Oct 13, 2026
93689c2
Typo
resuna Oct 13, 2026
28c23d5
Probe
resuna Oct 13, 2026
a1b0f9c
Undo const patch from FREEEBSD
resuna Oct 13, 2026
b0f4e1e
Dumb typo, don't hack mad.
resuna Oct 13, 2026
02b039a
Tcl_Size and handle TIP 543: Eliminate TCL_INTERP_DESTROYED flag value
resuna Oct 13, 2026
66a6fef
Put Tcl_Size in its own file because we have a twisty maze of includes
resuna Oct 13, 2026
9332fac
Don't double reference tclsize.h
resuna Oct 13, 2026
718e8ac
OK, try the other configure line
resuna Oct 13, 2026
29f7701
Missing ;
resuna Oct 13, 2026
85ed47a
Restore test for LIBXML_VERSION, fix a bunch of Tcl_Size declarations.
resuna Oct 13, 2026
c330577
Update checkoput version
resuna Oct 13, 2026
1827cd4
Let's try v6
resuna Oct 13, 2026
79ab50e
Revert "Restore test for LIBXML_VERSION, fix a bunch of Tcl_Size decl…
resuna Oct 13, 2026
12b9a0d
Reapply "Restore test for LIBXML_VERSION, fix a bunch of Tcl_Size dec…
resuna Oct 13, 2026
2769967
Try just putting the error const code in tclxml-libxml2Decls.h becaus…
resuna Oct 14, 2026
9b9870d
Move cribbed FreeBSD patch to a common .h file
resuna Oct 14, 2026
6765252
Lose a level of typedef.
resuna Oct 14, 2026
b3d189c
Cargo cult fix - assume localRVTList is just a rename of localRVT.
resuna Oct 14, 2026
342557b
Support both localRVT and localRVTList
resuna Oct 14, 2026
8cfb013
Explicitly install libxslt
resuna Oct 14, 2026
02ed1e3
Linux tar doesn't understand xz format#
resuna Oct 14, 2026
7a2444d
Get the package name right
resuna Oct 14, 2026
5f66928
Back out no-longer-required localRVT hack.
resuna Oct 14, 2026
6c4c580
Save state earlier because of the early go to error.
resuna Oct 15, 2026
d0a8cb1
xmlGenericError arg 2 is a format string.
resuna Oct 15, 2026
28568f5
More int->Tcl_Size and one Tcl_Size -> int
resuna Oct 15, 2026
3a6a4b0
Enable tests
resuna Oct 15, 2026
45a2778
Allow Tcl9 versions in tests.
resuna Oct 15, 2026
2f0bd75
TclInitStubs version fix
resuna Oct 15, 2026
1bbfe95
Debug tests
resuna Oct 15, 2026
8312395
Enable tcl8 tests
resuna Oct 15, 2026
27d5ca0
Update version of xmldefs
resuna Oct 15, 2026
eafc181
Update package provides to match versions.
resuna Oct 15, 2026
b620305
Remove RCS IDs, pass TESTOPTS to make tests, and make tcl9 makefile r…
resuna Oct 15, 2026
04fd65d
Update 'package provide' with correct version.
resuna Oct 15, 2026
7667d54
PROBE
resuna Oct 15, 2026
db5d85a
More tcl8 shenanigans
resuna Oct 15, 2026
c424cd9
Don't run tcl8 tclxslt tests
resuna Oct 16, 2026
90db46e
Drop tcl9 tests back to debug 1
resuna Oct 16, 2026
8acf059
DEBUG logging
resuna Oct 26, 2026
386da27
DEBUG log calling arguments for ::xml::parserclass
resuna Oct 26, 2026
eabd14f
Turn on DEBUG in tcl8 tests
resuna Oct 26, 2026
9953c32
Remove debugging.
resuna Oct 27, 2026
28644ea
Rename tests to eliminate duplicates.
resuna Oct 27, 2026
9e663a8
More test name fixes.
resuna Oct 27, 2026
3a8c495
Typo in error message.
resuna Oct 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Linux CI
name: Linux tcl8 build and install

# Controls when the action will run.
on:
Expand All @@ -21,18 +21,19 @@ jobs:
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install -y gcc-7 g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo apt-get install -y gcc-11 g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11
sudo apt-get install -y tcl8.6-dev tcllib libxml2-dev libxslt-dev
- name: configure
run: |
autoreconf -vi
./configure --with-tcl=/usr/lib/tcl8.6
- name: make
run: make
run: |
make genstubs
make
- name: install
run: sudo make install

# TODO: multiple tests currently fail and/or hang.
# - name: test
# run: make test
- name: test
run: make TESTOPTS="-debug 1" test-tclxml test-tcldom
48 changes: 48 additions & 0 deletions .github/workflows/linux-tcl9-build-install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is a basic workflow to help you get started with Actions

name: Linux tcl9 build and install

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-26.04

steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install -y gcc-11 g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11
sudo apt-get install -y tcl9.0-dev tcllib libxml2-dev xz-utils
# We install this version because we don't want the debian patches
curl -O https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.45.tar.xz
unxz libxslt-1.1.45.tar.xz
tar xvf libxslt-1.1.45.tar
cd libxslt-1.1.45
autoreconf -vi
./configure
make
sudo make install
- name: configure
run: |
autoreconf -vi
./configure --with-tcl=/usr/lib/tcl9.0
- name: make
run: |
make genstubs
make
- name: install
run: sudo make install
# TODO: multiple tests currently fail and/or hang.
- name: test
run: make TESTOPTS="-debug 1" test-tclxml test-tcldom
6 changes: 3 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,13 @@ testshell = $(TCLSH_PROG) $(srcdir)/testshell
test: test-tclxml test-tcldom test-tclxslt

test-tclxml:
(cd $(srcdir)/tests/tclxml; $(TCLSH) all.tcl)
(cd $(srcdir)/tests/tclxml; $(TCLSH) all.tcl $(TESTOPTS))

test-tcldom:
(cd $(srcdir)/tests/tcldom; $(TCLSH) all.tcl)
(cd $(srcdir)/tests/tcldom; $(TCLSH) all.tcl $(TESTOPTS))

test-tclxslt:
(cd $(srcdir)/tests/tclxslt; $(TCLSH) all.tcl)
(cd $(srcdir)/tests/tclxslt; $(TCLSH) all.tcl $(TESTOPTS))

shell: binaries libraries
@$(TCLSH) $(SCRIPT)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ and a wrapper for the Gnome libxml2 C library.
The TclXML package now incorporates the TclDOM and TclXSLT packages.
TclDOM and TclXSLT were previously distributed as separate packages.
The three packages may still be used as if they were standalone.

Note: the latest Debian releases of libxslt has a huge patch that changes it from the
gnome baseline, this code base has not been updated to that change.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TEA_SETUP_COMPILER
#-----------------------------------------------------------------------

TEA_ADD_SOURCES([tclxml.c docObj.c tclxml-libxml2.c nodeObj.c tcldom-libxml2.c tclxslt-libxslt.c])
TEA_ADD_HEADERS([include/tclxml-libxml2/docObj.h include/tclxml-libxml2/tclxml-libxml2.h include/tcldom/tcldom.h include/tcldom-libxml2/tcldom-libxml2.h include/tclxslt/tclxslt.h])
TEA_ADD_HEADERS([include/tclxml/tclsize.h include/tclxml-libxml2/docObj.h include/tclxml-libxml2/tclxml-libxml2.h include/tcldom/tcldom.h include/tcldom-libxml2/tcldom-libxml2.h include/tclxslt/tclxslt.h])
TEA_ADD_INCLUDES([-Iinclude])
#TEA_ADD_LIBS([-lexslt])
TEA_ADD_LIBS([])
Expand Down
Loading
Loading