Debian Codegraph @

ChangeLog

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