From: Francois V. <fvo...@fr...> - 2024-11-10 21:49:33
|
Le 08/11/2024 à 18:09, Donald Porter via Tcl-Core a écrit : >> On Nov 8, 2024, at 12:00 PM, Harald Oehlmann<har...@el...> wrote: >> >> Don is asking to raise the question of decoupeling Tcl and Tk - we will do. As this was already adressed last time with the result: yes, Tk minor releases without Tcl possible - what is your additional question? > At the previous meeting, we were all nodding in agreement about what we thought was a good idea without the actual major players in Tk development present to offer their perspective. Looking for confirmation and formation of whatever needs forming to carry out the plans. Hi all, I won't attend the call, sorry. That said let me take this opportunity to inform everybody I have created a repository called 'rtext' which is a first embryonic attempt at providing the revised text widget as a TEA package. See: https://chiselapp.com/user/fvogel/repository/rtext Current state is that it builds for Windows, but there is nothing more at all. It does not build on Linux or mac. On any platform, the tests do not run, the man page does not get built, and so on. The next thing to solve is that it crashes during revised text widget instantiation because tkStubsPtr is NULL. I know nothing about stubs so far, and would be happy to get some help here. Thanks. If you want to check this out on Windows, please see recipe pasted below. The big advantage of this TEA approach is that one should be able to have both the legacy and the revised versions of the text widget at the same time. And it saves us from making the terrible decision to replace the legacy widget by the revised version in the distributed Tk. As I said, this is *very* embryonic --> Don't expect anything at this stage. Help to push this forward is very welcome. Regards, Francois --------------------- My build recipe for Windows with Visual Studio (please adapt as needed): REM Tcl /Tk 9 must have been built and installed first. REM Tcl 9 and Tk 9 source code directories set MYTCL="C:\Users\francois\Documents\Development\tcltk-fossil\tcl" set MYTK="C:\Users\francois\Documents\Development\tcltk-fossil\tk" REM Tcl/Tk 9 installation directory set MYTCLTK="C:\Users\francois\Documents\Development\tcltk-fossil\tcltk" set DEBUGRELEASE="symbols" CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 cd C:\Users\francois\Documents\Development\tcltk-fossil\rtext\win nmake -f makefile.vc TCLDIR=%MYTCL% TKDIR=%MYTK% INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE% clean nmake -f makefile.vc TCLDIR=%MYTCL% TKDIR=%MYTK% INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE% nmake -f makefile.vc TCLDIR=%MYTCL% TKDIR=%MYTK% INSTALLDIR=%MYTCLTK% OPTS=%DEBUGRELEASE% install Then fire tclsh90.exe and run: package require Tk package require rtext rtext::build-info ::tk::text .lt ; # legacy text .rt ; # revised (crashes at this stage) |