source: ChangeLog @ be97670

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