source: ChangeLog @ 88736cb

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