Overview
Comment: | Apply the Debian patchset Debian source package: tcl-tclreadline 2.1.0-12 Fully applied patches: * complete_nontcl.patch * completion_matches.patch * completion_pbug.patch * memuse.patch * tclshpath.patch * varnames.patch Partially applied patches: * manpage.patch * tinfo.patch Dropped patches: * kfreebsd.patch * link.patch * tclrldir.patch |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk | origin/devel |
Files: | files | file ages | folders |
SHA1: |
41d16f099d370ea0b288f09dd724e12b |
User & Date: | quentin@minster.io on 2014-02-18 23:09:10.000 |
Other Links: | branch diff | manifest | tags |
Context
2014-02-19
| ||
00:07 | Apply the Gentoo patchset Gentoo ebuild: dev-tcltk/tclreadline-2.1.0-r4 Fully applied patches: * direct sed patches from the ebuild * tclreadline-2.1.0-gold.patch * tclreadline-2.1.0-rl-executing-macro.patch * tclreadline-2.1.0-rl-history-expand.patch * tclreadline-2.1.0-rl-prompt.patch Partially applied patches: * tclreadline-2.1.0-alloc-free.patch check-in: f61c58e424 user: quentin@minster.io tags: trunk, origin/devel | |
2014-02-18
| ||
23:09 | Apply the Debian patchset Debian source package: tcl-tclreadline 2.1.0-12 Fully applied patches: * complete_nontcl.patch * completion_matches.patch * completion_pbug.patch * memuse.patch * tclshpath.patch * varnames.patch Partially applied patches: * manpage.patch * tinfo.patch Dropped patches: * kfreebsd.patch * link.patch * tclrldir.patch check-in: 41d16f099d user: quentin@minster.io tags: trunk, origin/devel | |
22:32 | Add the 'ident' attribute to all files check-in: fa523361f5 user: quentin@minster.io tags: trunk, origin/devel | |
Changes
Modified configure.in
from [f10843c742]
to [72c6a348ad].
︙ | |||
118 119 120 121 122 123 124 | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | - - - - - - - - - - - - - - - - - - - - - - - - - - | if test -z "$TCL_INCLUDE_DIR"; then AC_MSG_ERROR([ Can't find tcl.h. Use --with-tcl-includes to specify the directory containing tcl.h on your system.]) else AC_MSG_RESULT($TCL_INCLUDE_DIR/tcl.h) fi |
︙ |
Modified pkgIndex.tcl.in
from [8cc3f9dc8d]
to [e32c88be89].
| 1 2 3 4 5 6 7 | - |
|
︙ |
Modified tclreadline.c
from [5166ffcdb3]
to [8df3bd02ad].
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | - - + + | #endif #include "tclreadline.h" static const char* tclrl_library = TCLRL_LIBRARY; static const char* tclrl_version_str = TCLRL_VERSION_STR; static const char* tclrl_patchlevel_str = TCLRL_PATCHLEVEL_STR; |
︙ | |||
741 742 743 744 745 746 747 | 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 | - + | matches[i] = (char*) NULL; /* terminate */ } Tcl_ResetResult(tclrl_interp); /* clear result space */ } if (!matches && tclrl_use_builtin_completer) { |
︙ |
Modified tclreadline.n.in
from [d9f3f38a64]
to [561d62d80a].
︙ | |||
69 70 71 72 73 74 75 | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - + | to modify your .tclshrc according to the section \fBFILES\fP. For the functionality of the GNU readline you should refer to the readline's documentation. .PP The following list will give all commands, which are currently |
︙ | |||
141 142 143 144 145 146 147 | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | - + | of the line). The default for this script is "puts {}; exit". Setting this to an empty value disables any action on eof. \fBtclreadline::readline eof\fP returns the current eof script. .TP 5 \fB::tclreadline::readline initialize\fP \fIhistoryfile\fP initialize the tclreadline interface and read the history from |
︙ | |||
207 208 209 210 211 212 213 | 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | - + + + + + + - + - + - + | it is probably a good idea to start with tclreadline::Loop (see the file tclreadlineSetup.tcl). .TP 5 \fB::tclreadline::prompt1\fP a proc which is called by ::tclreadline::Loop and returns a string which will be displayed as the primary prompt. This prompt will be |
︙ |
Modified tclreadlineCompleter.tcl
from [d56a0206cd]
to [cf379af2f8].
︙ | |||
621 622 623 624 625 626 627 | 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 | - + | return 0 } } else { return 0 } } } |
︙ | |||
1456 1457 1458 1459 1460 1461 1462 | 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 | - + | set alias [uplevel [info level] \ subst [lindex [lindex [QuoteQuotes ${line}] 0] 0]] # make `alias' a fully qualified name. # this can raise an error, if alias is # no valid command. # |
︙ | |||
3038 3039 3040 3041 3042 3043 3044 | 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 | - + | # proc complete(regexp) {text start end line pos mod} { # We're not on windoze here ... # } proc complete(regsub) {text start end line pos mod} { set prev [PreviousWord ${start} ${line}] if {[llength ${prev}] && "--" != $prev && \ |
︙ | |||
3445 3446 3447 3448 3449 3450 3451 | 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 | - + | return [CompleteFromList ${text} [RemoveUsedOptions ${line} { -nobackslashes -nocommands -novariables <string>}]] } proc complete(switch) {text start end line pos mod} { set prev [PreviousWord ${start} ${line}] if {[llength ${prev}] && "--" != ${prev} && \ |
︙ |
Modified tclreadlineInit.tcl.in
from [9814e2f545]
to [56eefa1686].
| 1 2 3 4 5 6 7 | - |
|
︙ |
Modified tclreadlineSetup.tcl.in
from [b96052aeac]
to [91dcec21a3].
| 1 2 3 4 5 6 7 | - |
|
︙ | |||
132 133 134 135 136 137 138 | 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - + | uplevel #0 { if {"" == [info commands ::tclreadline::readline]} { ::tclreadline::Init } |
︙ | |||
166 167 168 169 170 171 172 173 174 175 176 177 178 179 | 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | + + + + + + + + + + | regsub $env(HOME) $pwd "~" pwd } return "$prompt_string \[$pwd\]" } } # puts body=[info body ::tclreadline::prompt1] } if {"" == [info procs ::tclreadline::prompt2] && [info nameofexecutable] != ""} { if {"" == [info procs ::tclreadline::prompt2]} { proc ::tclreadline::prompt2 {} { return ">" } } # puts body=[info body ::tclreadline::prompt2] } if {"" == [info procs exit]} { catch {rename ::tclreadline::Exit ""} rename exit ::tclreadline::Exit proc exit {args} { |
︙ | |||
259 260 261 262 263 264 265 | 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | - - - - - - - + - + - - - + + + + + + + + + - - + + - - - + + + - + - + | eval Setup ${args} uplevel #0 { while {1} { |
︙ |