1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 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 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 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543
|
2006-03-03 Stefan Kamphausen <http://www.skamphausen.de>
* configure.in: Version 1.35
* contrib/cdargs-bash.sh: Minor bugfix from Damon when completing
the second subdirectory.
2006-03-02 Stefan Kamphausen <http://www.skamphausen.de>
* configure.in: Version 1.34
* contrib/cdargs-bash.sh: Many changes to make completion work
with subdirectories from Damon.
2006-02-26 Stefan Kamphausen <http://www.skamphausen.de>
* src/cdargs.cc: applied patch from Claus for empty lines in
bookmark file.
* THANKS: Added Damon.
Changed email adresses to contain _at_ instead of the real at.
2005-11-12 Stefan Kamphausen <http://www.skamphausen.de>
* src/cdargs.cc(edit_list_file): Quoted filename.
2005-11-06 Stefan Kamphausen <http://www.skamphausen.de>
* cdargs.spec.in: Fixes by Oron:
- s/Copyright/License/
- Install the contrib/*.{csh,sh} into /etc/profile.d/ instead
of the documentation directory -- so they are usable to all.
- Used the %configure macro (standard in RedHat and Mandriva --
what about Suse?).
- Used DESTDIR for installation (standard in automake generated
Makefiles).
* contrib/cdargs-tcsh.csh: Changed path of csh. Actually one
should remove the path because the file must be sourced anyway.
Anyway...
2005-10-09 Stefan Kamphausen <http://www.skamphausen.de>
* configure.in: Version 1.32
* README: email to website....
* cdargs.spec.in (Vendor): email to website....
* AUTHORS: email to website....
* src/cdargs.cc: Removed references to my email address. Use
domain instead.
2005-10-01 Stefan Kamphausen <http://www.skamphausen.de>
* THANKS: added Geert
* contrib/cdargs-bash.sh: Patch by Geert: more quotes and the
sed-statement will use the first space as separater, not the last.
2005-01-04 Stefan Kamphausen <mail@skamphausen.de>
* INSTALL: signing with detached signature added.
2004-12-30 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: New curses M4, version 1.31
* src/cdargs.cc(list_to_file): Creating backup now.
(toggle_mode): Fixed a long standing bug in which you could loose
almost all your bookmarks when toggling the mode with a needle
defined.
* autogen.sh (SRCDIR): New curses M4, no "." in PATH
* m4/Makefile.am (EXTRA_DIST): New curses M4
* src/Makefile.am (LDADD): New curses M4
* THANKS: Added Miki and Claus for Cygwinification
* src/cdargs.cc(user_interaction): opt_no_resolve works in
LIST-mode, too.
2004-03-31 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.29
* INSTALL (Appendix): typo, add signing instruction - mainly for
myself.
* doc/cdargs.1: New PgKey-behaviour.
* src/cdargs.cc(user_interaction): opt_noresolv now works in LIST
mode. PageKeys now scroll the list and not the shortcut numbers,
which was kinda stupid anyway. Note, however, the we don't scroll
in screenfulls but in 10's because this is better in terminals
that are vertically large, because a screenfull of scrolling
wouldn't do anything there. In addition this scrolling won't wrap
around.
The adjust_shorties_offset function was removed from the sources.
(helpscreen): New PgKey-behaviour
2003-12-22 Stefan Kamphausen <mail@skamphausen.de>
* THANKS: changed email adress of Petra
2003-12-18 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: removed get_current_dir_name() and wrote two new
functions (get_cwd_as_charp) and (get_cwd_as_string). All this to
overcome a bug when trying to do anything in a directory that had
been removed in the meantime. Now we just exit in such a case.
This also involves another checkpoint in (list_from_dir) where an
exit was picked instead of going one directory up. It took me
hours to even track that bug down! You nasty, you!
2003-06-05 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.27
* src/cdargs.cc: renamed (abort) to (abort_cdargs) according to
debian bug and bugfix by Petra Malik.
* src/cdargs.h: renamed (abort) to (abort_cdargs) ...
2003-02-23 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.26
* contrib/cdargs.el (cdargs-warped-hook): added hint with desktop
check in docstring
* cdargs.spec.in: (re)added cdargs.el, which I had put into
cdargs.spec.
* contrib/cdargs.el: added installation
* THANKS: added Oscar
* INSTALL: Describe the variable width settings.
* src/cdargs.cc: Applied patch by Oscar to get a description of
variable length. Changed that code again to have the length fixed
for browse mode.
2003-02-16 Stefan Kamphausen <mail@skamphausen.de>
* contrib/cdargs.el: added cdargs-warped-hook, changed the file
parser from a quite perlish to a more elispish way.
2003-02-13 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc(list_from_dir): when coming to a directory which
hadn't been visited before, using ".." make the previous directory
the current directory.
2003-02-11 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.24
* src/cdargs.cc: several code cleanups, fixed the handling of a
digit-Needle again.
* src/cdargs.cc(terminate): print a bug report request on
SIGSEGV.
* doc/cdargs.1: updated keys in list mode in the COMMANDS
section.
* src/cdargs.cc(user_interaction): swapping/transposing entries
now has its own function which can also proceed the
current position afterwards: swap_two_entries. New commands m and
M move an entry up or down and move the position, too.
(helpscreen): new commands: m and M.
(swap_two_entries): new.
* doc/cdargs.1: opt_cwd ...
* src/cdargs.cc(display_list): bugfix with longer pathnames than
displayed.
(main, list_from_file, global): added opt_cwd which activates the
current working directory as the current entry on startup.
2003-02-10 Stefan Kamphausen <mail@skamphausen.de>
* INSTALL (Example): added cdargs.el
* doc/cdargs.1 (mode): added cdargs.el
* contrib/Makefile.am (EXTRA_DIST): added cdargs.el
* cdargs.spec (Buildroot): added cdargs.el
* cdargs.el: NEW
2003-02-08 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc(helpscreen): using PAGER instead of self-rolled
help-window.
2003-02-06 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.23
* doc/cdargs.1: added DISPLAY section.
* src/cdargs.cc(display_list): added marking of list entries that
point to no valid directories [using a '!' in front of the path]
and have a list item which is equal to the current working
directory stand out in bold font.
(list_from_file): changed the reading routine to correctly detect
descriptions and paths with whitespaces.
2003-02-04 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.22
* src/cdargs.cc(edit_list_file): honored Debians /usr/bin/editor
preference by stat()ing it.
* contrib/cdargs-bash.sh: Changed completion code improver from
Jochen to Robi: Jochen _detected_ and Robi (partly) solved the
bug.
2003-02-02 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc(terminate): different way to shut up the compiler
that may be cleaner?
(resizeevent) dto.
2003-01-30 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.h: copyright -2003
* src/cdargs.cc: copyright -2003
* doc/cdargs.1 (bash): more small fixes by Petra and spell
checking.
* contrib/cdargs-bash.sh (_cdargs_aliases): more bugfixes by
Jochen Voss.
2003-01-27 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc (toggle_mode): added yoffset = 0 to avoid
segfaults. This really feels ugly and makes me feel like rewriting
the whole thing even more...
* contrib/cdargs-bash.sh (_cdargs_aliases): fixed the slash bug
found and solved by Jochen Voss <voss@debian.org> with the general
problem of special characters still lurking there at the
unprepared user.
* doc/cdargs.1: small fixes by Petra Malik, extended copyright
notice to 2003.
2002-04-27 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: (list_to_file) no writing when a user was given
as option.
(main) new options: --file, --user and --output [f,u,o] to change
bookmarks and output files.
(list_from_file) uses new get_listfile()
(edit_list_file) uses new get_listfile()
(get_resultfile) new function
(get_listfile) new function
(usage) described new options
* doc/cdargs.1: Description of --file and --user and --output added
* contrib/cdargs-bash.sh: re-introduced the logical AND when
changing directories with cdargs (function cdb)
2002-04-15 Stefan Kamphausen <mail@skamphausen.de>
* cdargs.spec.in: Added RPM spec-file written by Oron Peled.
* INSTALL: described new tcsh file.
* doc/cdargs.1: described new tcsh file and added an extra not
about the shell completion.
* contrib/cdargs-tcsh.sh: added file
2002-04-12 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: (list_from_dir) added sorting of list.
2002-04-10 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: (list_from_dir) fixed long listing revisited lost
highlighter problem - hopefully.
2002-04-09 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: Version 1.19.
* (user_interaction) added vi-keybindings for HOME and END.
Moved offset handling when current position leaves the screen to
cur_pos_add().
(cur_pos_add) see above.
(visible) new function. Tests whether the given position is
visible on the screen.
2002-04-05 Stefan Kamphausen <mail@skamphausen.de>
* contrib/cdargs-bash.sh (_cdargs_exec): set last to empty string
if the last argument is an existing file, which means that no
alias/description was given. Start in browse mode then.
* src/cdargs.cc: Made the appearance of "." and ".." more
consistent with common un*x practice and more intuitive.
Added --browse/-b option to start in browse mode. Since the
optional argument handling in getopt_long() seems to be a GNU
extension and someday I want to compile on other unices I don't
enable it here - it always starts with the current directory.
2002-04-04 Stefan Kamphausen <mail@skamphausen.de>
* THANKS: Added Oron Pered.
* README: Noted the TTY-code I got from Oron Pered.
* doc/cdargs.1: Edited key labels like in (helpscreen) and added
the Emacs-style bindings.
* src/cdargs.cc: (init_curses) added code line for better handling
of cursor - effectively of not showing any cursor at all.
(helpscreen) removed alternative keybindings (now in manpage) and
corrected the key labels from 'left' to '<LEFT>'.
(user_interaction) added many many emacs-style keybindings and
TERMINFO compile tests - inspired from cscope source :-). Thank
you!
(toggle_mode) disable Needle and reread list from file when
entering LIST mode, which should only happen when someone presses
TAB twice.
(finish) clearing screen because terminals like aterm let the list
be displayed after finishing. I think this is wasted screen-room
so remove it.
2002-04-03 Stefan Kamphausen <mail@skamphausen.de>
* doc/cdargs.1: Described PageUp and PageDown.
* src/cdargs.cc: The existance of a Needle is not checked by
pointer but by size of Needle-string; this fixes a bug when called
like cdargs "" which would never save the list.
Somehow connected to this is the disabling of
deleting/adding/editing of the list when no saving will take
place. Find the tests for 'NeedleGiven'.
Added PAGE_UP and PAGE_DN keys to move the Shortcut Digits
This probably shows up everywhere where you can find a
'shorties_offset' variable. Added this to (helpscreen)
Corrected the positioning of active entry when deleting inside the
list and not the last entry.
Changed (cur_pos_add) to (cur_pos_adjust).
2002-04-01 Stefan Kamphausen <mail@skamphausen.de>
* doc/cdargs.1: Behaviour of numbers, not saving the list when
Needle is given. Changed the size of the description field from 15
to 9 (and hold your thumbs that we don't have to recalc some
things from that).
* src/cdargs.cc: Pressing numbers in BROWSE mode just makes that
the current position, not resolving anymore in
(user_interaction).
Fixes for reading and writing of bookmarks file when the list
and/or the file is empty in (list_to_file) and (list_from_file).
A small fix for the Current Position when it is somewhere outside
the displayable list in (display_list).
Show the current mode in (update_modeline).
Reflect changes in (helpscreen).
* contrib/cdargs-bash.sh: Check for existance of ~/.cdargs in
function _cdargs_get_dir. Enabled _both_ cv and cb as an alias to
the formal cdb.
2002-03-31 Stefan Kamphausen <mail@skamphausen.de>
* doc/cdargs.1: Reflect one-entry-bookmark-file behaviour.
Tell about the new bash functions.
* contrib/cdargs-bash.sh: New in the distribution. A few changes
to the version of Dan: cv instead of cb and added function ca
which does not mess with the bookmarks file. Improved creation of
a tempfile using PID and a RANDOM number from the kernel for
filename.
* src/cdargs.cc: (cur_pos_add) Added a wraparound option (default
true) in addition to the --nowrap option from the commandline.
(delete_from_default_list) fixed a bug with CurrentPosition when
deleting the last entry.
(list_from_file) Counting lines and if only one entry we show the
list in any case.
2002-03-30 Stefan Kamphausen <mail@skamphausen.de>
* doc/cdargs.1: Describe the Needle magic and the new option
--noresolve.
Description of the --add=[:desc:]path syntax.
* src/cdargs.cc: Some more Needle magic: if it matches a
description exactly that is taken unless the (new) command line
option --noresolve was given. Reflect this in helpscreen.
2002-03-29 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc(last_dirname): Fixed behaviour when there is a
trailing slash.
(add_to_list_file): Only allowing absolute paths.
Adding new colon-description-syntax to allow passing of
descriptions from command line.
An empty string from user-interaction quits the adding of a path
to the list.
(list_from_dir): Removed capitalization of dirnames.
Added empty directory listing: ".." and ".".
2002-03-28 Stefan Kamphausen <kamphausen@novelscience.com>
* src/cdargs.cc: Updated docs: mainly shell functions stuff; in
helpscreen() and in usage().
* doc/cdargs.1: Updated docs: mainly shell functions stuff.
* INSTALL: Updated docs: mainly shell functions stuff.
* THANKS: Added Juhapekka Tolvanen.
2002-03-27 Stefan Kamphausen <kamphausen@novelscience.com>
* doc/Makefile.am: brandnew and exciting: cdargs now comes with a
manpage :-)
* doc/cdargs.1: Wrote manpage. Probably this need reworking.
* src/cdargs.cc: Added '?' as a key to call for help, added the
keys 'A' and 'C' that work just like their lowercase equivalents
(i.e. adding directories to the list) but ask the user to enter a
description string. Reflect this in helpscreen() and fix a bug in
helpscreen to really display all the help.
2002-03-26 Stefan Kamphausen <kamphausen@novelscience.com>
* src/cdargs.cc: Suggestions by Dan Allen: vim/mutt-style
keybindings, i.e. h/l for left right and k/j for up/down.
The currently selected list entry is not displayed with attribute
A_BOLD but A_STANDOUT (which is the best highlighting mode of the
current terminal and I hope this works well).
Plus if the list to display (in LIST mode) contains only one entry
(usually due to filtering it) cdargs exits with that entry as the
result.
Reflect this in helpscreen, too.
2002-03-20 Stefan Kamphausen <kamphausen@novelscience.com>
* src/cdargs.cc: Version 1.14. Added capitalized_last_dirname
function which e.g. is used to insert a default description when
adding paths to the default list.
2002-02-02 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: Version 1.13. New hotkeys: '/' and '~' which
switch to browse mode and show the root or home directory. Fixed a
bug with filenames in the root directory. Changed email adress
from corporate to private.
2002-01-14 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: when Needle (search pattern) is integer the
current position is set accordingly.
2001-10-02 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: cleaned up code formatting
* src/cdargs.h: cleaned up code formatting
2001-09-28 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: version 1.11
* THANKS: Added Thanks to Tomi Ollila
* INSTALL: changed function to use return code
* src/cdargs.cc: cdargs now has a reasonable return code. So you
can use a better shell function. Wrote that to docs, too
2001-09-27 Stefan Kamphausen <mail@skamphausen.de>
* configure.in: version 1.1
* THANKS: Added Thanks to Damjan Lango
* src/cdargs.cc: Fixed a bug when adding a directory to a file
from the command line: it always added CWD because cur_list is
empty. Now this test only takes place when the (n)curses enginge
is running.
2001-09-26 Stefan Kamphausen <mail@skamphausen.de>
* src/cdargs.cc: - added 'c' key to insert current directory
- fixed a coredump in curses when adding a
directory from the command line
- rearranged the help screen for small terminal
- fixed a missing 'break' in user_interaction
which caused your listfile to shring when
viewing the helpscreen
- added history (using a C++ map) so that
the current position is set when you re-enter
an already visited directory.
|