-
Notifications
You must be signed in to change notification settings - Fork 69
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
Update tar.tcl for progress bar callback #16
Open
Meshparts
wants to merge
49
commits into
tcltk:master
Choose a base branch
from
Meshparts:patch-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…cant, Brent and Chandrupatla)
… 35.2. Tests added. Documentation added.
BEWARE: textutil::wcswidth 35.2 demands Tcl 8.5+ BEWARE: struct::matrix 2.1 demands Tcl 8.5+ BEWARE: report 0.4 demands Tcl 8.5+ BEWARE: csv 0.9 demands Tcl 8.5+ textutil - B - textutil::wcswidth Fixed missing Tcl core requirements in code and docs. struct - B - struct::matrix - Ticket [360d28402f] Fixed missing handling of ANSI color sequences in format_2string. Added handling of double-wide Asian characters. Factored into a helper command. Bumped to version 2.1. report - B - Ticket [360d28402f] See above, added handling of double-wide characters. Account for double-wide and color sequences in the report template and padding as well. Bumped to version 0.4. csv - Ticket [360d28402f] Bumped to version 0.9.
Updated to IBAN v92. Bumped to version 1.8. Extended tests. Thanks to [email protected] for the ticket and patch.
textutil - wcswidth - I - replaced core type/char functions with new implementations roughly 30x faster. The new implementation uses a nested binary tree of if commands to quickly bisect the result domain. Interestingly enough this is faster than using a 2-stage table lookup. And while it is not as fast as a single-stage table lookup (~45x) it also does not come with the horrendous size overhead of the same (~120x). The research leading to this (*) is saved in sub directory `build/alternates`. See `build/alternates/README.md` for the summary. (*) Scripts, results (.csv(.xz)), GNUplot configurations, ...
simulation - montecarlo - Tkt [29e688b8fb] - D - typo fix in docs regenerated docs
tests added. version bumped to 2.0.4. regenerated docs.
…on non-list multi-line
…rl no longer opens a socket synchronously. All websocket tests now pass.
…able/visible to a Tcl version.
map - slippy::cache - I - Now requires 8.6+. Bumped to 0.3 map - slippy::fetcher - I - Now requires 8.6+. Bumped to 0.5 map - slippy - I - Internals completely reworked. Details below - Now requires Tcl 8.6+ - Removed snit as means of simulating an ensemble - Using a proper ensemble, and other 8.6 features - Added a critcl-based accelerator - Added benchmarks to compare the Tcl and C implementations - Saved benchmark results - Tcl about 2x and 4x slower for the complex calculations - Only about 1.5x slower for the simple things - Added API method to batch transform a geo location into its canvas points at all levels Bumped version to 0.6. Regenerated docs. Tcllibc - Bumped to 0.4 - EF - New map::slippy accelerator
…to add newlines to WebSocket keys.
… enters the event loop.
…an error in ::websocket::test
… a01e30ff4. Update the example to use a web server that is still live, and to close the websocket connection after use.
…ient side. Add example servers from ticket 0dd2a66f089.
…aller encounters an error, a non-zero exit code should be used.
…ed tests, docs, benchmarks. Regenerated docs. Note https://github.com/geographiclib as possible source for higher accuracy algorithms.
…ng#args tests the utility generates wrong#args tests from a set of command names and their arguments, and executes them.
added missing NULL sentinels for Tcl_SetErrorCode and Tcl_AppendResult more argument checking in the tcl code for consistent messaging - Beware: These checks make the Tcl code slower extended testsuite, tests for bogus arguments first user of the new `syntax` utility command bumped version to 0.7.1
Extended the `pt::pgen` generator package with 2 additional output formats, `snit-sa` and `oo-sa`. `sa` meaning `Stand Alone`. Plain snit/oo parsers require a runtime package implementing the PARAM virtual machine (`pt::rde`, and `pt::rde::oo`). The standalone parsers contain the necessary runtime as part of their code. Bumped `pt::pgen` to version 1.2.
Reworked and (hopefully) simplified entire API. Took zoom (level) out of all reps => Unified point and pixel reps. Proper box types (added for point boxes) Additional box methods (geo/point conversion, box/corner conversions) New methods taking lists of geo/point directly Removed need to unbox (splat) and rebox (args) lists when chaining operations Updated tests, docs, benchmarks BREAKING API CHANGES - Version 0.8
New methods for geo/point box: inside (check), center, dimensions, diameter, and perimeter Extended tests, documentation. No benchmarks yet.
New general methods: limit values (2, 3, 6 decimals), distance formatting for display Extended tests, documentation. No benchmarks yet.
New geo(box) methods: limit values (6 decimals) Extended tests, documentation. Added all missing benchmarks
New methods to validate lat/lon separately, and geo/geobox Extended documentation, tests, benchmarks
Version bumped to 0.8. Extended tests, documentation, benchmarks. BREAKING API CHANGES Reworked and (hopefully) simplified entire API. For details see the commits of the integrated branch. FEATURES Lat/lon validation - spearate, geo locations, geo boxes, and lists of. Limit geo precision, for locations, boxes, and lists of. Box operations: inside test, center, dimensions, diameter, perimeter Distance formatting
…ump. With thanks to the unknown submitter.
Fix duplication of boundary specification in mime part header section. Extended testsuite with new case for this. Bumped version to 1.7.1. With thanks to Jasper for the report.
Introduced by the simplification of commit [c2d2a4b7e60916fe]. Bumped version to 4.7.1.
…ectory Version bumped to 1.2.2 Thanks to [email protected] for report and initial patch. Changes: - different option name - reindented/formatted - simplified implementation through use of `lmap` - added documentation - added tests
…ommands Reworked initialization, moved into a single-shot apply block Bumped Tcl requirement to 8.6 in all places. Bumped version to 1.5
Update of tar.tcl to support optional progress bar callback. The new optional parameter can be added to the args list of tar::create like below: tar::create $fd $paths -chan -progress [list ::ProgressBar] The procedure ::UIProgressBar should be defined as in the case of http package, only that a token is not needed here: proc Progress {total current} { ## Update a global variable that is linked to the progress bar widget }
andreas-kupries
force-pushed
the
master
branch
from
September 19, 2024 06:42
c618ba6
to
83b7d6b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update of tar.tcl to support optional progress bar callback. The new optional parameter can be added to the args list of tar::create like below:
tar::create $fd $paths -chan -progress [list ::ProgressBar]
The procedure ::UIProgressBar should be defined as in the case of http package, only that a token is not needed here:
proc Progress {total current} {
## Update a global variable that is linked to the progress bar widget
}
Hello. Attention please
You are currently using the github mirror of the Tcllib sources.
This is not the location where Tcllib development takes place.
We are not tracking issues entered here. With the exception of the
maintainer of the mirroring setup nobody will even see such issues.
Please go to the
official location of the sources
and enter your ticket into the
official ticket tracker
instead.
Thank you for your consideration.