[core] mv hard-coded zip utils (forked and adapted) to builtins - #22993
[core] mv hard-coded zip utils (forked and adapted) to builtins#22993ferdymercury wants to merge 1 commit into
Conversation
This is a C code that was copy-pasted from zip 2.0 and unzip 5.12 in 1993-1994 It was then slightly adapted for ROOT but most of the structure is the same. Here, the code is put into the builtins directory. This is done for several reasons: - consistency with libafterimage, mathtext, glad: they have been all forked from upstream and fixed / adapted for ROOT. Likewise for core/zip - better separates C code from C++ code, separate folders - makes it clearer to deal with licensing and copyright notices by better separating source of the code - gives more recognition to original authors (before adaptions and modifications) - when a bug is found, it easens the opportunity to crosscheck with upstream whether it was fixed there - it allows in the future a more easy drop-in replacemente with a more up-to-date library or even a real zlib-based builtin rather than a hard-coded copy paste
Test Results 23 files 23 suites 3d 15h 41m 42s ⏱️ For more details on these failures, see this check. Results for commit 8580b4d. ♻️ This comment has been updated with latest results. |
|
Thanks for finding this! Looking at it, I'm wondering if usage of these files can be stopped entirely. When @jblomer is back, we will have a look if we can survive without them. |
Currently it's being used (at least) by net/http/src/THttpCallArg.cxx, io/io/src/TBufferJSON.cxx and graf3d/gl/src/TGLSdfFontMaker.cxx @linev can maybe comment on this, he recently fixed two bugs on these files Maybe those bugs were no longer there in more-upstream versions of those files.
Of course, no hurries. |
|
Are the failure understood (and/or spurious)? This is a 'core' PR and thus (essentially) requires all test to pass before being merged. |
yes, they seem known (unrelated) and spurious. |
This Pull request:
Changes or fixes:
This is a C code that was copy-pasted from zip 2.0 and unzip 5.12 in 1993-1994 It was then slightly adapted for ROOT but most of the structure is the same.
Here, the code is put into the builtins directory. This is done for several reasons:
Checklist: