1. 16 Mar, 2003 2 commits
    • David Byers's avatar
      Fixed bugs 591 (use call 107) and 859 (improved question in kom-status-conf) · a8c9ceb0
      David Byers authored
      Detailed changes:
      > 	Fix bug 859:
      > 	* swedish-strings.el,english-string.el (lyskom-messages): Fixed
      > 	show-membership-info-q.
      >
      > 	Fix bug 591:
      > 	* feature.el (read-ranges): New feature variable.
      >
      > 	* parse.el (lyskom-parse-membership-11): New function.
      > 	(lyskom-convert-read-ranges-to-map): New function.
      >
      > 	* startup.el (lyskom-setup-client-for-server-version): Added
      > 	features for protocol version 11.
      >
      > 	* utilities.el (lyskom-is-member): Pass want-read-ranges nil.
      >
      > 	* user-hooks.el (kom-read-last-text-hook): Pass want-read-ranges
      > 	t.
      >
      > 	* prefetch.el (lyskom-prefetch-one-request): Pass want-read-ranges
      > 	t.
      >
      > 	* mship-edit.el (lyskom-prioritize-flag-toggle): Pass
      > 	want-read-ranges t.
      >
      > 	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
      > 	Pass want-read-ranges nil.
      > 	(lyskom-get-membership): Pass want-read-ranges t.
      >
      > 	* edit-text.el (lyskom-edit-send-check-recipients): Pass
      > 	want-read-ranges nil.
      >
      > 	* commands2.el (kom-status-conf): Pass want-read-ranges t.
      > 	(kom-set-unread): Ditto.
      >
      > 	* async.el (lyskom-parse-async): Pass want-read-ranges t.
      >
      > 	* commands1.el (lyskom-add-member-answer): Pass want-read-ranges
      > 	t.
      >
      > 	* services.el (initiate-query-read-texts): Use call 107 when
      > 	possible.
      >
      a8c9ceb0
    • David Byers's avatar
      Fixed bug 983 (show supervised conferences with different font) · 603bb798
      David Byers authored
      Detailed changes:
      > 	Fix bug 983:
      > 	* vars.el.in (kom-highlight-conferences): Added highlighting of no
      > 	presentation and supervised conferences to the default.
      >
      > 	* faces.el (kom-active-strikethrough-face): New face.
      > 	(kom-active-highlight-face): New face.
      > 	(kom-face--default--active-strikethrough-face): New face.
      > 	(kom-face--default--active-highlight-face): New face.
      > 	(kom-face--user-defined--active-strikethrough-face): New face.
      > 	(kom-face--user-defined--active-highlight-face): New face.
      >
      > 	* lyskom-buttons.el (lyskom-highlight-has-no-presentation): New
      > 	function.
      > 	(lyskom-highlight-i-am-supervisor): New function.
      > 	(lyskom-highlight-function-get-conf-stat): New function.
      >
      > 	* option-edit.el (lyskom-face-widget): Handle explicit list of
      > 	faces.
      >
      > 	* lyskom-buttons.el (lyskom-default-button): Pass
      > 	conf-stat/uconf-stat/whatever to lyskom-default-button. Use
      > 	uconf-stat instead of conf-stat when looking in the cache.
      > 	(lyskom-generate-button): Support functions in
      > 	kom-highlight-conferences.
      >
      603bb798
  2. 13 Mar, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 979, 995, 987, 745. Work on bug 983. · 7bee7316
      David Byers authored
      > 2003-03-13  David Byers  <david.byers@swipnet.se>
      >
      > 	Some work on bug 983:
      > 	* option-edit.el (lyskom-custom-variables): Added
      > 	kom-highlight-conferences.
      >
      > 	* lyskom-buttons.el (lyskom-generate-button): Allow explicit lists
      > 	of numbers as the key in kom-highlight-conferences.
      >
      > 	Fix bug 745 (Patch from C C Magnus Gustavsson):
      > 	* review.el (kom-review-converted): New command.
      >
      > 	* vars.el.in (lyskom-commands): Added kom-review-converted.
      > 	(lyskom-button-actions): Added lyskom-button-review-converted.
      >
      > 	* lyskom-buttons.el (lyskom-button-review-converted): New
      > 	function.
      >
      > 	Fix bug 987:
      > 	* commands1.el (kom-list-conferences): Print legend.
      >
      > 	Fix bug 995:
      > 	* utilities.el (lyskom-get-send-comments-to): Handle CONF-NO set
      > 	to nil.
      >
      > 	Fix bug 979:
      > 	* option-edit.el (lyskom-customize-buffer-format): Added
      > 	kom-show-sync-messages.
      > 	(lyskom-custom-variables): Ditto.
      >
      > 	* vars.el.in (kom-show-sync-messages): New variable.
      >
      > 	* async.el (lyskom-parse-async): Use it.
      >
      > 2003-03-11  David Byers  <david.byers@swipnet.se>
      >
      > 	* utilities.el (lyskom-buffer-display-message): New function.
      >
      > 2003-02-09  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-generate-button): Use
      > 	kom-highlight-conferences instead of kom-friends and kom-morons.
      >
      > 	* vars.el.in (kom-highlight-conferences): New variable
      >
      7bee7316
  3. 08 Jan, 2003 1 commit
  4. 07 Jan, 2003 1 commit
    • David Byers's avatar
      Fixed bug 962. Updated command documentation. Started on the NEWS file. · 6184772e
      David Byers authored
      Detailed changes:
      > 2003-01-07  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 962:
      > 	* edit-text.el (lyskom-edit-send-check-recipients): Use
      > 	lyskom-get-send-comments-to.
      >
      > 	* utilities.el (lyskom-get-send-comments-to): New function.
      >
      > 	* commands1.el (kom-write-text): Add sender as recipient when
      > 	sending to a conference the sender is not a member of. Respect
      > 	send-comments-to.
      > 	(lyskom-comment-recipients): Respect send-comments.to when adding
      > 	lyskom-pers-no as a recipient.
      >
      > 	Started working on a command reference manual:
      > 	* commands2.el: Wrote user documentation for all commands in the
      > 	docstrings. Lisp-level documentation, where it still exists, is
      > 	placed after the user-level documentation, below the legend "Lisp
      > 	documentation". I intend to generate the english command reference
      > 	from the source code.
      >
      1a23,31
      >
      > 	Started working on a command reference manual:
      > 	* commands1.el: Wrote user documentation for all commands in the
      > 	docstrings. Lisp-level documentation, where it still exists, is
      > 	placed after the user-level documentation, below the legend "Lisp
      > 	documentation". I intend to generate the english command reference
      > 	from the source code.
      >
      > 	* NEWS-0.48: Synched up to here.
      6184772e
  5. 05 Jan, 2003 1 commit
    • David Byers's avatar
      Major code cleanup. · fe48d131
      David Byers authored
      I have made lots of changes, including transitioning most data
      structures to use def-komtype, removing functions that weren't used
      (there are several left), removing almost all the remaining who-buffer
      remnants and generally messing with things.
      
      Chances are I broke something. I haven't figured out what yet, but do
      let me know if you spot anything.
      
      
      Detailed changes:
      > 	* I have cleaned up all over the place. There are no ChangeLog
      > 	entries for most of the changes. Changes include: converting types
      > 	to use def-komtype; removing who-buffer code; removing who-info
      > 	cache; removing dead code; removing commented-out code.
      >
      > 	* mship-edit.el (lp--hide-memberships-by-date): Call
      > 	lyskom-read-date.
      >
      > 	Code cleanup:
      > 	* prefetch.el (lyskom-prefetch-whobuffer-handler): Commented out
      > 	the code since thw who buffer is gone.
      >
      > 	* commands2.el (kom-bury): Removed who-buffer code.
      >
      > 	* cache.el: Removed who-info cache.
      >
      > 	* async.el (lyskom-parse-async): Removed who-buffer code.
      > 	(lyskom-parse-async): Don't cache who info.
      >
      > 	* filter-edit.el (filter-entry): Redefined using def-komtype.
      >
      > 	* komtypes.el (conf-no-list): Redefined using def-komtype.
      >
      > 	* prioritize.el (prioritize-entry): Redefined using def-komtype.
      >
      > 	* clienttypes.el: Removed format-props and who-buffer-related
      > 	types.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Removed something about
      > 	format-props, which aren't used anywhere.
      >
      > 	* komtypes.el,deferred-insert.el,clienttypes.el,mship-edit.el,names.el,
      > 	regexp.el,tree-edit.el: Rewrote all uses of def-komtype. Defined
      > 	more datatypes using def-komtype. Removed unused functions.
      >
      > 	* clienttypes.el (format-state): Renamed argl to args, since
      > 	that's what we actually use.
      > 	(format-state): Converted to new def-komtype syntax.
      >
      > 	* lyskom-rest.el (lyskom-membership-highest-index): Unused.
      > 	Removed.
      >
      > 	* komtypes.el (def-komtype): Added support for &optional in the
      > 	arg list and for default values.
      > 	(privs): Re-implemented with def-komtype.
      > 	(pers-stat): Ditto.
      > 	(text-stat): Ditto.
      > 	(conf-stat): Ditto.
      > 	(flags): Ditto.
      > 	(map): Ditto.
      > 	(membership): Ditto.
      > 	(conf-list): Ditto.
      > 	(text): Ditto.
      > 	(misc-info): Ditto.
      > 	(mark): Ditto.
      > 	(lyskom-create-who-info): Ditto.
      > 	(session-info): Ditto.
      > 	(conf-type): Ditto.
      > 	(server-info): Ditto.
      > 	(version-info): Ditto.
      > 	(conf-z-info-list): Ditto.
      >
      > 	* deferred-insert.el (defer-info): Re-implemented with
      > 	def-komtype.
      >
      > 	* language.el (lyskom-string-check-category): Unused. Removed.
      >
      > 	* async.el (lyskom-show-changed-person): Unused. Removed.
      >
      > 	* utilities.el (lyskom-set-face-foreground): Unused. Removed.
      > 	(lyskom-set-face-background): Unused. Removed.
      >
      > 	* lyskom-buttons.el (lyskom-set-default-button-action): Unused.
      > 	Removed.
      >
      > 	* startup.el (lyskom-print-name): Unused. Removed.
      >
      > 	* lyskom-buttons.el (lyskom-menu-selection): Unused. Removed.
      >
      > 	* aux-items.el (lyskom-map-aux-items): Unused. Removed.
      >
      > 	* view-text.el (lyskom-fetch-author-for-cache): Unused. Removed.
      >
      > 	* utilities.el (lyskom-emacs-version): Unused. Removed.
      >
      > 	* view-text.el (lyskom-fetch-text-for-cache): Unused. Removed.
      >
      > 	* utilities.el (lyskom-face-resource): Unused. Removed.
      > 	(lyskom-modify-face): Unused. Removed.
      >
      > 	* startup.el (lyskom-extract-persons): Unused. Removed.
      > 	(lyskom-extract-confs): Unused. Removed.
      > 	(lyskom-do-extract-persons-or-confs): Unused. Removed.
      >
      > 	* edit-text.el (lyskom-edit-goto-char): Unused. Removed.
      > 	(lyskom-edit-on-aux-item): Unused. Removed.
      >
      > 	* utilities.el (lyskom-background-mode): Unused. Removed.
      >
      fe48d131
  6. 02 Jan, 2003 1 commit
    • David Byers's avatar
      New face selection scheme is now fully in operation. · 092b3de6
      David Byers authored
      Detailed changes:
      > 2003-01-03  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-default-button): Use default, not
      > 	kom-text-face for timestamp buttons since kom-text-face is no
      > 	more.
      >
      > 	Implement face customization:
      > 	* option-edit.el (lyskom-face-widget, lyskom-face-widget): New
      > 	widget type.
      > 	(lyskom-widget-functions): Added face widget to the list.
      >
      > 	* view-text.el (lyskom-print-text): Get generated faces if the
      > 	user hasn't selected any specific faces.
      >
      > 	* startup.el (lyskom): Get generated faces if the user hasn't
      > 	selected any specific faces.
      >
      > 	* commands2.el (lyskom-send-message): Get generated faces if the
      > 	user hasn't selected any specific faces.
      >
      > 	* async.el (lyskom-format-as-personal-message): Get generated
      > 	faces if the user hasn't selected any specific faces.
      >
      1a25,34
      >
      > 	Implement face customization:
      > 	* faces.el (lyskom-setup-faces-for-buffer): Don't muck with the
      > 	user-selectable values.
      >
      > 	* option-edit.el: Added var parameter to all widget conversion
      > 	functions.
      >
      > 	* utilities.el (lyskom-current-client-time): Removed some
      > 	comments.
      092b3de6
  7. 01 Jan, 2003 2 commits
    • David Byers's avatar
      Work on new face code. Face schemes are out and face variables are · 5b04897f
      David Byers authored
      in. This means that you can have different settings for different
      sessions and servers. Your old settings should do nothing useful any
      more. Everything will be customizable through kom-customize, but
      that's not done yet.
      
      You should restart Emacs to load these changes. Attempting to load
      over a running elisp client will probably only lead to grief.
      
      This commit has not been tested very much. You have been warned.
      
      
      Detailed changes:
      > 	Work on new face code:
      > 	* view-text.el (lyskom-view-text): Send evaluated face properties
      > 	to lyskom-format.
      > 	(lyskom-print-text): Ditto.
      >
      > 	* utilities.el (lyskom-check-configuration): Send evaluated face
      > 	properties to lyskom-format.
      >
      > 	* startup.el (lyskom): Send evaluated face properties to
      > 	lyskom-format.
      >
      > 	* commands2.el (kom-status-conf): Send evaluated face properties
      > 	to lyskom-format.
      > 	(kom-status-person): Ditto.
      > 	(lyskom-send-message): Ditto.
      > 	(kom-obsolete-extended-command-binding): Ditto.
      >
      > 	* commands1.el (kom-delete-text): Send evaluated face properties
      > 	to lyskom-format.
      >
      > 	* async.el (lyskom-show-logged-in-person): Send evaluated face
      > 	properties to lyskom-format.
      > 	(lyskom-show-logged-out-person): Ditto.
      > 	(lyskom-format-as-personal-message): Ditto.
      >
      > 	* check-strings.el (lyskom-check-strings): Removed all
      > 	face-related goop.
      >
      > 	* vars.el.in: Removed all face-related goop.
      >
      > 	* faces.el: New file.
      >
      > 	* startup.el (lyskom): Call lyskom-setup-faces-for-buffer, not
      > 	lyskom-setup-faces.
      >
      > 	* option-edit.el (kom-customize): Evaluate face variables instead
      > 	of quoting face names.
      >
      > 	* mship-edit.el (lp--format-entry): Evaluate face variables
      > 	instead of quoting face names.
      > 	(lp--redraw-entry-mark): Ditto.
      >
      > 	* lyskom-rest.el (kom-next-command): Evaluate face variables
      > 	instead of quoting face names
      > 	(lyskom-format-aux-help): Ditto.
      >
      > 	* lyskom-buttons.el (lyskom-button-add-links): Evaluate face
      > 	variable kom-url-face instead of quoting face name.
      > 	(lyskom-button-get-face): Evaluate the face found for the button
      > 	type.
      > 	(lyskom-generate-button): Evaluate face variables instead of
      > 	quoting face names
      > 	(lyskom-default-button): Ditto.
      >
      > 	* keyboard-menu.el (lyskom-keyboard-menu-highlight-selected):
      > 	Evaluate face variable, instead of quoting face name
      > 	kom-mark-face.
      >
      > 	More flexible date parser:
      > 	* utilities.el (lyskom-all-prefixes): New function.
      > 	(lyskom-parse-date): Permit prefixes for "days", "years",
      > 	"months". Allow whitespace before and after input. Do not require
      > 	minus sign when specifying number of days. Do not require
      > 	whitespace separators in several places. Permit spaces around
      > 	separators. Accept space as a separator.
      >
      5b04897f
    • David Byers's avatar
      Fix bug 291. · 523cd195
      David Byers authored
      Detailed changes:
      > 2003-01-01  David Byers  <david.byers@swipnet.se>
      >
      > 	Fix bug 291:
      > 	* vars.el.in (lyskom-language): Added to minibuffer variables or
      > 	lyskom-get-string will fail in predicate functions used in
      > 	lyskom-verified-read-from-minibuffer.
      >
      > 	* commands2.el (kom-set-unread): Allow date entry in addition to
      > 	number entry.
      >
      > 	Implement date input (for bug 291):
      > 	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): New function.
      > 	(lyskom-verified-read-map): New variable.
      > 	(lyskom-verified-read-enter): New function.
      > 	(lyskom-verified-read-predicate): New variable.
      > 	(lyskom-read-num-range-or-date): Nre function.
      >
      > 	* utilities.el (lyskom-read-date): New function.
      >
      >
      1a22,31
      >
      > 	Implement date parsing (for bug 291):
      > 	* utilities.el (lyskom-parse-date): Implemented the remaining
      > 	branches in the parser. Fixed various bugs. Validate results
      > 	before returning. This function should work now.
      > 	(lyskom-is-leap-year): New function (date-leap-year-p doesn't
      > 	exist in Emacs 19, so this is needed).
      > 	(lyskom-days-in-month): New function.
      > 	(lyskom-adjust-day-for-date): New function.
      > 	(lyskom-month-limits): New variable.
      523cd195
  8. 31 Dec, 2002 1 commit
    • David Byers's avatar
      Fixed bugs 817, 879; added kom-text-links to customization buffer. · 54a094b2
      David Byers authored
      Detailed changes:
      > 	Fix bug 879:
      > 	* utilities.el (lyskom-read-text-no-prefix-arg): When new-default
      > 	is computed successfully, set default to new-default. I *think*
      > 	that's the right thing to do...
      >
      > 	Fix bug 817:
      > 	* vars.el.in (kom-send-text-hook): Updated docstring.
      >
      > 	* edit-text.el (lyskom-edit-send): Run kom-send-text-hook before
      > 	doing anything else so it can manipulate headers.
      >
      > 	More work on text links:
      > 	* option-edit.el (lyskom-custom-variables): Added kom-text-links.
      > 	(lyskom-customize-buffer-format): Ditto.
      > 	(lyskom-widget-functions): Added `list' widget type.
      > 	(lyskom-list-widget): New function.
      54a094b2
  9. 16 Dec, 2002 1 commit
    • David Byers's avatar
      > Fix bug 701: · 13e44c33
      David Byers authored
      > 	* utilities.el (lyskom-get-ancestors-of-text): Provide completions
      > 	when reading text numbers.
      >
      > 	* lyskom-rest.el (lyskom-read-number): Set require-match when
      > 	reading numbers with completion.
      >
      13e44c33
  10. 20 Oct, 2002 1 commit
  11. 15 Sep, 2002 2 commits
  12. 13 Sep, 2002 1 commit
  13. 11 Sep, 2002 1 commit
  14. 09 Aug, 2002 1 commit
  15. 06 Aug, 2002 1 commit
  16. 30 Jul, 2002 1 commit
  17. 29 Jul, 2002 1 commit
  18. 24 Jul, 2002 1 commit
  19. 23 Jul, 2002 1 commit
    • David Byers's avatar
      Bugfixes · cc2316b2
      David Byers authored
      Updates to tree-edit.el
      Better selection of charset for texts in Gnu Emacs
      Limit number of overlays in buffer
      Fixed default value when prompting for text numbers
      Fixed text-no strategy for kom-private-answer-previous
      cc2316b2
  20. 15 Jul, 2002 1 commit
  21. 13 Jul, 2002 3 commits
  22. 11 Jul, 2002 1 commit
  23. 12 Jun, 2002 1 commit
    • David Byers's avatar
      Fixed bug 457, 244. · 85583bff
      David Byers authored
      Set content type on user area.
      Fixed formatting problem with help.
      Fixed prompt in kom-add-bcc.
      Fixed settings menu for kom-server-priority-breaks.
      85583bff
  24. 03 Jun, 2002 1 commit
  25. 25 May, 2002 1 commit
  26. 21 May, 2002 1 commit
  27. 08 May, 2002 1 commit
  28. 07 May, 2002 2 commits
    • David Byers's avatar
      Implemented color model conversions that can be used to calculate highilght · 191f96cd
      David Byers authored
      colors for arbitrary backgrounds. Seems to work for every single combination
      of foreground and background I know that people use in LysKOM.
      191f96cd
    • David Byers's avatar
      Loads of changes. · f274a6c4
      David Byers authored
      Implemented kom-* synonyms for almost all lyskom-* hooks. The old names
      shall be considered obsolede.
      
      Highilghting of asynchronous messages as with texts.
      
      Support overlays when doing lyskom-insert on the result of lyskom-format.
      
      Fix lyskom-insert to handle special-insert properties that are adjacent to each other.
      
      Fix lyskom-unicase so it isn't fooled by a lying Emacs.
      
      Hopefully guard against missing diff command when calling ediff-buffers.
      
      Added user-hooks.el, a new place for hook functions that users
      might want to use elsewhere. Added some kom-change-conf-hook and
      kom-after-change-conf-hook functions to this file.
      f274a6c4
  29. 01 May, 2002 1 commit
    • David Byers's avatar
      Fixed bugs: · bb4a0cd9
      David Byers authored
      First line overlay not visible in XEmacs
      Started work on automatic computation of background colors
      Removed extra space around names of imported message senders
      Updated presentation-form
      Fixed some variable documentation
      Updated first-greeting
      Fixed problem when changing presentation or FAQ
      Improved communications loggins
      Improved parser error detection and recovery
      
      New command: kom-move-text-tree.
      bb4a0cd9
  30. 22 Apr, 2002 1 commit
    • David Byers's avatar
      Separate background color on texts. · a85880b3
      David Byers authored
      WARNING: This version will NOT work with XEmacs. It uses overlays.
      Overlays are not supported in XEmacs and I have not written code
      that falls back on extents if overlays are not available.
      a85880b3
  31. 13 Apr, 2002 2 commits
  32. 11 Apr, 2002 1 commit
  33. 03 Mar, 2002 1 commit