source: ChangeLog @ 700c712

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