-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade TclX to Tcl9 #12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to have more details on the test errors.
[Edit: I submitted comments this morning but apparently they didn't show up until I made a top level comment]
…esulting sort was problematic on the test machine)
…alls with new ones" This reverts commit 014629f.
Can you make this relative to flightaware:tclx/TCL9 so we can merge it to a new branch? |
Fixing the convlib incompatibilities ... |
All required changes have been applied.The travis ci still uses the Tcl8.6 as interpreter. I think, it makes sense to test the migrated library against the newest Tcl9 after merging. |
The decimal file modes in the chmod tests and elsewhere can be replaced by octal with 0oNNN format. |
Co-authored-by: Jeff Lawson <[email protected]>
Co-authored-by: Jeff Lawson <[email protected]>
Co-authored-by: Jeff Lawson <[email protected]>
Who can merge it ? |
I've asked @resuna to see if he has any further feedback on his earlier comments. |
Can you respond to my comments, above? |
If you have some change requests, then you can submit them then we merge and run it into the CI. BTW, the tests were green with tcl8.6 on my local machine last year.. |
#define CONST const | ||
#define VOID void | ||
#define panic Tcl_Panic | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs to build without these lines. They were not previously needed. If there are other changes necessary to make it work they need to be made elsewhere.
As I am planning to fork this project again for fixing the windows makefile, I have to close the pull request temporarily. I don't know, If it will work fine, but let's try. |
@ramikhaldi @resuna Is this compatiblity project still underway? I made some similar fixes (visible in my fork https://github.com/mwagner-webdev/tclx) before coming across this PR. I could incorporate your changes (especially the test fixes) if you want, and make a new PR |
As far as I can remember, this was ready to be merged, but nothing has happened yet. I had to close it because I needed to fork the project for another pull request. Feel free to incorporate my changes into your own PR, or alternatively, this PR can be reopened and merged. I’m open to both approaches... |
You can reopen it if Github allows that... Did you get all tests to pass already? If the tests pass I think the only task left should be removing the #defines (comment above) which is just a search/replace. So if it's easy for you to reopen the PR, it's probably faster for you to do it.
Jus a heads up, Github does support creating a PR to master/main in the original repo from a non-main branch in a fork, so you might have been able to use two different branches for this instead of a whole new fork |
Tcl9 is still in flux, so we've been hanging fire on the Tclx Tcl9 work. @bovine do you feel comfortable merging this? |
I now had the time to check out the code and play around with it a little bit. Some remaining issues I noticed on my machine, trying to build this with the latest Tcl trunk:
|
also |
I have migrated some deprecated APIs and performed some adaptations in order to get the Tclx working with Tcl9 (There are some behavior changes in Tcl9).
The Tcl version used on Travis Ci is 8.6. The good news is that, the changes made for Tcl9 compatibility are also backward compatible with Tcl8.6.