summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-4/+4
| | | | TclNewIntObj or Tcl_NewWideIntObj)
* More TCL_UNUSED.dgp2020-03-081-6/+3
|
* Merge 8.7jan.nijtmans2019-12-031-3/+3
|\
| * Eliminate excess eol-spacingjan.nijtmans2019-12-021-3/+3
| |
* | Merge 8.7jan.nijtmans2019-11-071-118/+79
|\ \ | |/
| * Rewrite documentation of IO subsystem.pooryorick2019-11-061-118/+79
| |
* | Merge 8.7jan.nijtmans2019-11-041-0/+1
|\ \ | |/
| * More simple fix for [bcd100410465], stale cached file FsPath object.pooryorick2019-10-261-0/+1
| |
| * Backout [0f2870649c804dd8], since testcase encoding-2.2 failsjan.nijtmans2019-10-241-60/+7
| |\
| * | Fix breakage from previous commit (still one test-case, encoding-2.2, is ↵jan.nijtmans2019-10-221-1/+1
| | | | | | | | | | | | failing)
| * | Fix for [bcd1004104]pooryorick2019-10-221-7/+60
| |\ \ | | |/
* | | Mark more unused parametersjan.nijtmans2019-09-031-3/+6
| | |
* | | Merge tip-548jan.nijtmans2019-08-151-1/+1
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2019-08-141-1/+1
| |\ \
| * | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-1/+1
| | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Add some "const" keywords, in places where strings are really const.jan.nijtmans2019-07-301-1/+1
| |/ /
* | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-7/+7
|/ /
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-18/+8
| | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-11/+11
| | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill.
* | merge 8.6sebres2018-11-221-36/+41
|\ \ | |/
| * merge 8.5: fixes segfault [7a9dc52b29] and wrong normalization (inside ↵sebres2018-11-221-36/+41
| |\ | | | | | | | | | TclJoinPath) for pure relative path-segments; test-cases extended and several windows-related are fixed.
| | * prepare merge: TclJoinPath is in internal API (MODULE_SCOPE) since 8.6 and ↵sebres2018-11-221-8/+10
| | | | | | | | | | | | static (used locally in tclPathObj) in 8.5
| | * refactoring normalize in case of second path starting with tilde (~/~foo) - ↵sebres2018-11-201-34/+31
| | | | | | | | | | | | | | | force second path as relative by join (provide normalize flag for TclJoinPath); test cases extended
| | * fixes segfault [7a9dc52b29]: unexpected decrement of the ref-count after ↵sebres2018-11-201-2/+6
| | | | | | | | | | | | TclJoinPath
* | | merge 8.6dgp2018-11-161-0/+1
|\ \ \ | |/ /
| * | Clear up a bunch of small issues found by Coverity analysis.dkf2018-11-161-0/+1
| | |
* | | Plug memory leak handling circular path values.dgp2018-04-251-8/+6
| | |
* | | merge 8.7dgp2017-12-061-3/+2
|\ \ \
| * \ \ [ce3a211dcb] Failed file normalize when tail is empty string.dgp2017-12-061-3/+2
| |\ \ \ | | |/ /
| | * | [ce3a211dcb] Failed file normalize when tail is empty string.dgp2017-12-061-3/+2
| | |\ \ | | | |/
| | | * [ce3a211dcb] Failed file normalize when tail is empty string.dgp2017-12-061-3/+2
| | | |
* | | | More TIP 445 conversion of the "path" Tcl_ObjType.dgp2017-09-221-35/+5
| | | |
* | | | Partial conversion of the "path" Tcl_ObjType to TIP 445 contributed bydgp2017-09-221-130/+64
| | | | | | | | | | | | | | | | | | | | Cyan Ogilvie. This reworking also eliminates circular references in the "path" values. Test suite indicates the change works. Don't know what, if anything, was lost compared to the original Darley design.
* | | | merge trunkdgp2017-07-061-33/+31
|\ \ \ \ | |/ / /
| * | | merge 8.6dgp2017-07-061-39/+43
| |\ \ \ | | |/ /
| | * | Pull out of the loop a block of code that can only run in first iteration.dgp2017-07-061-18/+19
| | | |
| | * | Alternative fix for memleaks in fs path join machinery.dgp2017-07-061-17/+16
| | | |
| * | | merge core-8-6-branchjan.nijtmans2017-07-031-32/+26
| |\ \ \
| | * \ \ tclPathObj: fixed TclJoinPath - usage of released object and object leakage.sebres2017-07-031-32/+26
| | |\ \ \ | | | |/ / | | |/| / | | | |/ closes [adb198c256df8c4192838cc3c1112fb2821314e9]
| | | * tclPathObj: fixed TclJoinPath (backported from 8.6) - usage of released ↵sebres2017-07-031-84/+70
| | | | | | | | | | | | | | | | | | | | object and object leakage. closes [adb198c256df8c4192838cc3c1112fb2821314e9]
* | | | merge trunkdgp2017-05-081-1/+18
|\ \ \ \ | |/ / /
| * | | Revert the colorful debug garbage mistakenly committed.dgp2017-05-011-8/+2
| | | |
| * | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-3/+19
| |\ \ \ | | |/ /
| | * | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-1/+11
| | |\ \ | | | |/
| | | * [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-1/+11
| | | |
| * | | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
| |\ \ \ | | |/ / | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | * | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
| | |\ \ | | | |/ | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | | * [f34cf83dd0] An optimization was being taken in a case where it produceddgp2017-04-281-0/+7
| | | | | | | | | | | | | | | | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.