source: ChangeLog @ 601a9e0

Last change on this file since 601a9e0 was 601a9e0, checked in by James M. Kretchmar <>, 20 years ago
Patch to fix memory bug in replying to CC messages If we're on Athena and have static krb (or other) libraries, use them Added "athstatic" program to the release, which handles the above Cast to an int for isspace, to make gcc -Wall quiet Added 'zlist' and 'l' to basic help.
  • Property mode set to 100644
File size: 26.7 KB
3        Patch to fix memory bug in replying to CC messages
4        If we're on Athena and have static krb (or other) libraries, use
5          them
6        Added "athstatic" program to the release, which handles the above
7        Cast to an int for isspace, to make gcc -Wall quiet
8        Added 'zlist' and 'l' to basic help.
11        'zlog in' will now take an optional thrid argument to set the
12             'tty' variable before setting the zlocation
13        There is now a 'zlist' command that acts like 'znol -l'
14        'l' is bound to 'zlist'
15        Fixed memory leak uninitialzed memory read in fmtext
16        viewwin will now say "End" instead of "More" when at the end
17        Added a debugging message indicating the result of topmsg
18          calculations
19        You can now use %me% in filters
20        The built-in personal filter is updated to do so
21        Fixed a bug in moving the poiner after an expunge
22        Fixed up the normal scrolling code.  Now it should always
23          land on a message, but it's still not optimal.
24        Added the variable 'smartstrip' which will strip kerberos
25          instances out for the 'reply' command.
26        Added -R/usr/athena/lib to the build for Athena
27        Started updating the intro document
28        Small changes to help / about
29        The 'subscribe' and 'unsubscribe' commands (and their aliases) now
30          update .zephyr.subs by default.  If either is given the '-t'
31          (for "temporary") option the .zephyr.subs will not be updated
32        Turned off beeping for hitting the top or bottom of the list of
33          messages
34        Made daemon.webzephyr a special case for smartstrip
35        Added 'out' as a default filter for outgoing messages
38        Added filters "ping", "auto" and "login" by default.
39        Added "body" as a valid field to match on in a filter.
40        Temporary fix to bug where C-SPACE would cause the key handler to
41             lock up.
42        Messages now have a direciton (in, out or none).  Filters can
43             match on this direction
44        Outbound messages are no longer type 'admin' but are of the
45             appropriate message type (i.e. 'zephyr') and are direction
46             'out'.
47        Smartnarrow now works on outgoing messages
48        'info' updated to show more information for admin and outgoing
49             messages
50        Renamed pretty_sender to short_zuser and renamed long_sender to
51             long_zuser
52        Moved zsig generation to the zwrite object
53        Print the zsig used for outgoing messages
54        The tty variable now controls the zephyr location tty name
57        Added the 'search' command.
58        '/' is a keybinding for 'search'
59        '?' is a keybinding for 'search -r'
60        Fixed stristr, which was completely broken
61        renamed owl_fmtext_ztext_stylestrip to owl_function_ztext_styletsrip
62             and put it in functions.c
63        Attempts to stay near the current message when switching views.
64             When switching from an empty view to one we've previously
65             been in, the new current message position will attempt
66             to be close to the current position from the last
67             time we visited that view.
68        Fixed bug in readconfig.c that prevented building under perl 5.005.
69        Switched "C-x C-x" to only "startcommand quit"
70        'getsubs' prints closer to the order you sub in.
71        Modified the behavior of last so that "> >" will clear the screen.
72        The new behavior of last is:
73              Moves the pointer to the last message in the view.
74              If we are already at the last message in the view,
75              blanks the screen and moves just past the end of the view
76              so that new messages will appear starting at the top
77              of the screen.
78        Fixed a typo in the help for smartzpunt.
79        Fixed functions to handle curmsg being past the end of the view.
82        New framework for command handling.
83        New framework for keymap handling.
84        Added commands for everything that is bound
85             to a key (do 'show commands' to get the full list).
86        Added 'multi' and '(' commands to allow multiple commands
87             to be specified on a line.             
88        Added user keybindings with bindkey command.
89        Added command aliases (eg, "alias foo bar").
90        Added undelete command that parallels the delete command.
91        Added additional options to delete command.
92        The reply command now takes arguments.
93        Added 'edit:insert-text' command.
94        Added 'show zpunts' to show active punt filters.
95        Added 'show variable <name>' and 'show variables'.
96        Added 'show command <name>' and 'show commands'.
97        Added 'show keymap <name>' and 'show keymaps'.
98        Added 'M-u' to undelete all messages in current view.
99        Fixed dotsend so that the zephyr will still send if there
100             is whitespace after the dot but not on the same line.
101             This should resolve an issue where dotsend wouldn't work
102             if you'd gone up and edited a zephyr.
103        Bug in page down fixed
104        C-t will transpose characters
105        Fix the scrolling bug where we would sometimes fail to scroll
106             the screen down, leaving the current message off
107             the bottom of the screen.
108        Refixed 'login or login' typo in help
109        Fixed M-u description
110        Removed 'first' and 'last' from basic command help
111        Added M-N to basic key help
112        Added M-D, M-u to basic key help
113        Fixed a quoting problem in
114        Changed top of help to use 'show' instead of M-x
115        Fixed a bug in the summary field for user-created aliases
116        Added "reply zaway" which sends a zaway response to the current msg.
117        Added "edit:delete-prev-word" command and bound M-BACKSPACE to it.
118        Some buffer overruns fixed
119        Variables now have a summary and a long description.
120                Only the summary is shown with help.
121                The long description is shown with "show variable foo".
122        Added a 'scrollmode' variable which determines how the screen
123             will scroll as the cursor moves.  The default behaves
124             identically to previous versions of owl.
125             The following modes are supported:
126             normal      - This is the owl default.  Scrolling happens
127                           when it needs to, and an attempt is made to
128                           keep the current message roughly near
129                           the middle of the screen.  (default)
130             top         - The current message will always be the
131                           the top message displayed.
132             neartop     - The current message will be one down
133                           from the top message displayed,
134                           where possible.
135             center      - An attempt is made to keep the current
136                           message near the center of the screen.
137             paged       - The top message displayed only changes
138                           when user moves the cursor to the top
139                           or bottom of the screen.  When it moves,
140                           the screen will be paged up or down and
141                           the cursor will be near the top or
142                           the bottom.
143             pagedcenter - The top message displayed only changes
144                           when user moves the cursor to the top
145                           or bottom of the screen.  When it moves,
146                           the screen will be paged up or down and
147                           the cursor will be near the center.
148        Added owl_sprintf which returns the formatted string, or NULL.
149                The caller must free this string.
150                This will allocate enough memory and thus
151                avoid potential some buffer overrun situations.
152        Simple implementation of 'zwrite -m' (doesn't yet log an outgoing
153                message as having been sent.)
154        The "Not logged in or subscribing to messages" error
155                now includes the name of the recipient.
156        The "disable-ctrl-d" variable may also be set to "middle"
157                which will result in ctrl-d only sending at the
158                end of the message.  This is now the default.
159                This also added a command "editmulti:done-or-delete".
160        Fixed a bug in the "reply -e" command.
161        Always clear the command buffer before executing the command.
162                (So that interactive commands can sanely do start-command.)
163        Fixed preservation of e->dotsend across owl_editwin_clear().
164        Added history for multiline edit windows (eg, for zephyr composition).
165                The M-n and M-p keys will cycle through the history ring.
166                In particular, it is now possible to edit the command line
167                of a zephyr being composed:  C-c it and restart it
168                and then M-p to get the aborted composition back.
169        Added owl::send_zwrite(command, message) to the perl glue
170                to allow for the direct sending of multi-line messages.
171                For example:  owl::send_zwrite("-c foo -i bar", "hello");
172        Changed owl_fmtext_print_plain to return an alloc'd string to
173                avoid buffer overrun risks.
174        Added owl::ztext_stylestrip("...") function to perlglue
175                 which returns the ztext with formatting stripped out.
176        Added colorztext variable which can be used to disable @color()
177                 strings arriving in messages after it is set.
178                 (Currently, changing its value won't reformat messages).
179        Outgoing zephyr logging now obeys the logpath variable.
180        The '~' character in logpath and classlogpath now gets
181                 replaced with the user's home directory.
182        Added simple implementation of smartnarrow-to-admin that
183                 creates a "type-admin" autofilter.
184                 This was done mostly so that M-C-n and M-C-p do something
185                 sane on admin messages.
186        Added opera to the allowed options to the webbrowser variable.
187        Fixed some buffer overruns in the "reply" command.
188        When repying to "all" on a message that begins with "CC:" (eg, sent
189                 with "zwrite -C", the reply line will be constructed
190                 from the sender and the usernames on the CC: line
191                 of the message being replied to.
192        There is no such thing as C-R, so left C-r as it is but added:
193                 M-r --- edit reply to all
194                 M-R --- edit reply to sender
195        Added RCS Id strings to all files.
196        'show keymaps' shows details of all keymaps after summary list.
197        Added --no-move option to delete command.
198                In particular, delete-and-always-move-down may now
199                be implemented with
200                '( delete --no-move ; next --skip-deleted )'.
201        Folded the nextmsg and prevmsg commands and functions together into
202                one command which takes arguments.
203                Added '--filter <name>' option (eg, for next_personal),
204                '--skip-deleted' option, and
205                '--last-if-none'/'--first-if-none' options.
206                Help updated accordingly. 
207                In particular, the 'personal' filter is now used
208                for 'next personal'. 
209                Added --smart-filter and --smart-filter-instance options
210                to the next and prev commands.
211        Updated examples/owlconf.erik with the above.
212        Made owl_function_fast*filt return a string and not do the
213                narrowing, to make it more general.
214        Added a smartfilter command that creates a filter
215                based on the current message and returns the name
216                of the filter.
217        Added M-C-n and M-C-p keybindings to "move to next message
218                matching current" and "move to previous message
219                matching current"
220        Added variables edit:maxfillcols and edit:maxwrapcols which
221                will limit how wide editing paragraphs may get before
222                they get wrapped.  This is a max and may be narrower
223                depending on the current size of the window.
224                If 0, the max is unlimited.  Default is 70 columns for
225                edit:maxfillcols and unlimited for edit:maxwrapcols.
226        Added smartzpunt command with key binding of "C-x k".
227                This starts a zpunt command filled in with
228                the proposed zpunt.
229        Fixed a memory reference bug in delete and undelete commands.
230        Added support for perl to call directly back into owl.
231        Changed the implementation of owl::command("...") to immediately
232                call back into owl.  This allows perl to get the return
233                value of strings returned by owl commands.
234        Added the getview command which returns the name of the current
235                view's filter. 
236        Added the getvar command which returns the value of a variable.
237        Added an example to examples/owlconf.erik which uses TAB to
238                narrow and restore the view. 
239        Added an example to examples/owlconf.erik which uses M-c to
240                color messages matching the current one green.
241        Integrated change to fix problem with popup blinking on new zephyrs.
242        C-l and resizes will now refresh an open viewwin (eg, help).
243        Updated doc/code.txt to include info about filters, commands,
244                contexts, and keybindings.
245        Exec commands cleaned up to not have buffer-size limitations
246                and to not mess up spaces.  exec also returns a string
247                of the output now.
248        Integrated changes from 1.1.3, and added docs for "zlocate -d"
249                and new show commands.
250        Show with arguments produces help on show.
251        Fix a bug in readconfig caught by efence (where we'd try to read before
252                the beginning of a string if it was empty).
253        The perl command doesn't do makemsg directly, but instead
254             returns the string and it will get printed if it
255             was run interactively.
258        'show subs' and 'show subscriptions' are now the same as 'getsubs'
259        zlocate now takes an optional -d argument
260        'show terminal' / 'show term'
261        '>' / last doesn't set the last message at the top of the screen now
262        implemented _followlast as an unsupported feature
263        include 'default' in the 'show colors' list
264        added help for 'zpunt' and 'zunpunt'
265        changed the bug address in the startup message
266        can now do 'show status'
267        can now do 'show version'
268        'status' / 'show status' includes the owl version number now
269        'show terminal' includes whether the terminal can change colors
270        fixed off by one bugs in paging / scrolling viewwin
271        don't downcase the sender when getting the log name for personals
272        support @owl::fields as well as @fields
273        downcase class/inst filter names in auto filters
276        Fixed memory mishandling bug
277        Fixed bug in redfining the filter attached to the current view
278        M-n will narrow to message, instance on non-personal, class
279             MESSAGE messages
280        M-N behavies like M-n except that on class messages it narrows
281            to class and instance
282        line wrap earlier, to account for tabbing
283        fixed typo in help
284        'status' command now displays info on terminal color support
285        zephyr @ formatting is now case independant
286        added support for color terminals
287        zephyr @color(foo) now works
288        'D' for deleted messages is now not bold, unless it's the current
289          message
290        F1 displays the help screen
291        added filter colors
292        added the 'colorview' command
293        added the 'show colors' command
294        users who don't have a .zephyr.subs get a simpler format for
295          incoming messages
296        If colors are available 'show filters' will show a filter in the
297          color associated with it.
298        Added the zpunt and zunpunt commands
299        Lines in the subs file starting with '-' are zpunted
300        Include login/logout messages in auto user filters
301        'V' changes to the home view ('all' by default)
304        Fixed perl, aperl, and pperl commands to deal with quoting
305              and spaces in a saner manner.
306        Removed all owl_get_* methods for booleans and switched
307              cases where they were used to owl_is_*
308        Changes to owlconf.erik to use some new features.
309        Increased the size of the help buffer (as it
310              was overflowing and truncating the help message).
311        Variables prefixed with a _ are not shown in help
312              or by printallvars (and prefixed Not Yet Implemented
313              variables with this).
314        Fix typo in help
315        include stdio.h in functions.c
316        remove stale "q to quit" from bottom of info message
317        fix downward scrolling more than a page
318        use authentication for zlocate, by default
319        fixed buffer over run in info command on long messages
320        call 'perl <file>' from Makefile to avoid hardcoding perl paths
321        in Makefile don't build owl_prototypes.h unless necessary
322        store the time for admin messages
323        display admin message time in 'info' command
324        fixed an editwin M-> last character bug
327        reply is a normal function now
328        'R' does reply to sender
329        'T' tells you how many messages were marked for deletion
330        local realm removed from login / logout messages
331        added command history
332        better runtime / starttime reporting in 'status' command
333        leave the pointer near the current message after expunge
334        C-l recenters editwin
335        implemented zlocate
336        @italic works the same as @i
337        on reply only quote class / instance when necessary
338        C-r allows you to edit the reply line
339        don't use unecessary options in reply line
340        display 'info' errors in msgwin, not popup
341        impelemnted aexec, pexec commands
342        the zsig now goes through ztext formatting
343        messages have id numbers now
344        'info' prints the msgid
345        added the 'filter' command
346        added the 'view' command
347        added the 'show filter' command
348        added the 'viewclass' (and 'vc') commands
349        added the 'viewuser' (and 'vu') commands
350        M-n will filter to the current class or user
351        'v' starts a view command
352        M-D will delete all messages in current view
353        added the 'delete' (and 'del') command
354        load-subs with no argument loads the default subs file
355        '<truncated>' is now when the *current* message is truncated
356        the reply-lockout filter (with default) specifices messages that
357           cannot be replied to.
358        in the configfile owl::receive_msg is run whenever a message is
359          received
360        added the beep command
361        added the contributors file
362        declare ZGetSubscriptions and ZGetLocations since the includes
363          don't seem to
364        fixed bug in displaying last line in popwin if no final '\n'
365        'T' uses the 'trash' filter now
366        zaway_msg, zaway_msg_default and zaway are all user variables now.
367        zsig variable overrides zsigproc
368        If there's no appendtosepbar don't interfear with the sepbar
369        Changed: owl_message_get_numlines will return 0 of m is NULL
370        Added login messages to messages marked by owl_function_delete_automsgs
371        Added owl_function_delete_by_id(id) which acts independent of view
372        Added "-id <id>" option to delete command
373        Fixed an arg checking bug in delete command
374        Added owl::id to perl namespace with message id
375        Fixed a memory corruption bug in readconfig.c (where right
376              after the strdup to "out", we'd strcat a \n onto the end.
377              This would be triggered whenever owl::format_msg returned
378              a string not ending in a newline
379        Added 'X' keybinding which expunges and then switches to
380              a view defined by the variable "view_home" which defaults
381              to "all"
382        Consolidated readconfig.c somewhat to remove duplication.
383              owl_config_execute now returns a string.
384        Added an example config file that does vt-style formatting.
385              (examples/owlconf.vtformat)
386        Added the 'perl', 'aperl', and 'pperl' commands which will
387              evaluate perl expressions.
388        Fixed bug where pclose zsigproc would cause zombies
389        Can set zsigproc or zsig to "" to disable
390        Added support for multiple browsers (galeon and none were added).
391              Configure with the "webbrowser" variable.
392        Changing typewinsize height triggers resize event.
393        Added zsig variable which will be used if no zsigproc and non-empty.
394        Added "make test" rule to Makefile which will run regression tests,
395              and added regression testing framework to tester
396        Fixed to ignore static declarations.
397        Added dict.c which contains string->ptr dictionary routines
398              and the owl_dict type.
399              These include regression tests.
400        Overhaul/rewrite of variable handling.  Variables are now managed
401              in an owl_vardict (in g.vars) which contains a dictionary
402              of owl_variable's.  Each owl_variable has dispatch functions
403              for validating values, setting it and getting it,
404              and for setting it to and from string values.
405              The variable.c file contains the list of variables.
406              Stubs for the owl_global_<varname>_get functions and friends
407              are generated from variable.c by
408              The help.c messages for variables now calls into variable.c
409              so all information about most variables is in one place.   
410        Cleaned out code from global.c and command.c that was made obselete
411              by variable overhaul.
412        The set command now takes a -q option to not log a message.
413        Fixed a bug where set and print with no arguments would
414              print "Undefined variable" in addition
415              to running owl_function_printallvars.
416        debug is now a variable that can be turned on and off.
417        Fixed mail,inbox message parsing in examples/owlconf.erik
418        Made zaway_msg and zaway_msg_default into variables
419        Changed owl_function_makemsg and owl_function_debugmsg
420               to use varargs (ie, so they can now take a format
421               string with args).
422        Don't allow " and \ characters in URLs with the "w" command.
423        Removed lots of build warnings.
424        Popwins are wider by default so help messages fit better.
425        Added an atokenize_free function.
426        Fixes to work with an older version of libzephyr.
427        Added dependencies on header files to
428        Added pageup and pagedown key bindings to message list
429        Added pageup and pagedown to viewwin
430        Added configfile section to doc/intro.txt (from example config file)
431        Added appendtosepbar variable which may contain text which will
432              be appended to the sepbar.  This allows the configfile
433              to put information about pings and logins into
434              the sepbar.  (It may be worth also providing a variable
435              which enables this by default, but for now this allows
436              for experimenting with what works well.)
437        Added doc/code.txt which gives a brief overview of the code.
438        Added tags makefile rule and added TAGS to distclean rule.
441        fix frees in loadsubs and loadloginsubs
442        don't return in owl_free
445        'print' and 'set' with no arguments prints all variables
446        Added the 'unsubscribe' and 'unsub' command
447        Renamed the 'unsub' command to 'unsuball'
448        Added the 'getsubs' command which is like zctl ret
449        Fixed bug in logging messages sent to more than one recipient
450        Support '-C', '-O', and '-n' options to zwrite
451        Fixed bug in owl_editwin_delete_char when there are no later chars
452          after the cursor
453        Make "more" and "truncated" work in the status bar
454        enable printing of zsigproc and loginsubs variables
455        only allow message scrolling if the message is actually off the
456          screen
457        'T' will mark all automated message for deletion
458        'P' will go to the next personal message
459        'M-P' will go to the previous personal message
460        replying to a login message goes to the user now
461        added a status command
462        added the intro doc to the release
463        fixed off by one bug in viewwin
464        added complete online help
465        pass $owl::realm in configfile
466        fixed editwin wordwrapping on the last line
467        fixed editwin problem with key_right past the last char
468        print an error and quit if the configfile can't be parsed
469        got rid of owl_mainwin_calculate_topmsg
470        fixed off by one error in calculating topmsg upwards
471        you can now reply to an admin message
472        don't display an error about keypress on window resize
475        fixed bug in viewing messages longer than the screen
476        indicate in the sepbar if there is a non zero vert offset
477        send on '.' on a line by itself
478        added disable-ctrl-d variable
479        fixed bug where C-k did not delete the last \n in the buffer
480        make non-character meta keys work
481        use ZSendNotice instead of ZSendList
482        implemented <, >, M-< and M-> in viewwin
483        removed the spaces at the bottom of viewwin
484        added 'about' command
485        fixed bug using 'M' with no current message
486        changed message object to use char *'s to save on memory
487        change malloc, realloc, strdup and free to use owl hooks so that
488           debugging can be added
491        fixed a trailing space bug in the parser
492        impelemented the "burning ears" feature
493        have admin messages do ztext parsing
494        fixed bug in reporting which M- key was pressed
495        C-g will now cancel commands like C-c
498        implemented owl_function_full_redisplay().
499        C-l uses owl_function_full_redisplay().
500        when a popwin exists to a full redisplay.  (fixes bug)
501        improved the owl_editwin_process_char logic
502        removed all unnecessary wrefresh's and replaced with wnoutrefesh
503        owl_editwin_redisplay now takes an argument to optionally doupdate()
504        improved the cut-and-paste speed by not doing a usleep the first
505          time through the loop after getting a keypress.
506        nuked typwin.c and associated stuff.  It's useless now.
507        added viewwin code for paging windows
508        curly braces work for zephyr formatting
509        @i in zephyr formatting will be displayed as underlined text
510        turned off idlok
511        implemented viewwin
512        implemented viewwi in popwin for pageable popwins
513        help, info now use pageable popwins
514        bound 'M' to bring the current message up in a popwin
515        return, space bar, 'b' and backspace now scroll within a message
516        turned off resize message
517        C-v and M-v page the main window
518        implemented owl_message_is_mail
519        some build cleanup
523        added owl_message_is_personal and have things use it
524        added owl_message_is_private
525        fixed 'print personalbell' and have 'set personalbell'
526           print a message
527        bold only on message_is_personal
528        display the realm if not local
529        implemented M-f, M-b, M-d, M-<, M-> in editwin
530        implemnted word wrapping in editwin
531        implemented M-q (paragraph-fill) in editwin
532        fixed bug that caused owl to segfault logging a 'weird' class
533        M-x is a keysym for ':'
534        added smart bolding and userclue
535        fixed a bug causing pings to beep even if rxping is off
538        fixed bug in logging code
541        implemented personal logging
542        implemented class logging
543        implemented resize of typewin
544        fixed the backspace problem
545        -v command line option prints the version number
548        load-subs will report error opening file
549        skip comment lines in loadsubs and loadloginsubs
550        changed internal references to rxping and txping
551        fix replying to a blank instance
552        added subscribe command
553        subscribe to login messages from .anyone by default
554        'loginsubs' variarble controlls automated login messages
555        redisplay the editwin after a resize
556        leave the cursor in the editwin if active
557        fix problems in the build system
558        added displayoutgoing variable
559        temporarily removed error printing for zlog in / out
562        fixed bug in "message sent to <foo>" for zwrite
565        help updated
566        zaway key set to caps A
567        support zephyring other realms
568        rxping variable for receiving pings
569        txping variable for sending pings
570        function in place to resize typwin
571        C-l to refresh
572        personal bell variable
573        beta message now an admin message
576        Added the debug command and flag
577        Fixed bug in printing fields in info command
578        Added owl_fmtext_append_ztext and use it
579        Better formating for pings and login zephyrs
580        make tester depends on proto
Note: See TracBrowser for help on using the repository browser.