1. 13 Aug, 2003 1 commit
    • David Byers's avatar
      Handle new asyncs. Clear initial value when typing a conference name. · 00ac77f8
      David Byers authored
      Detailed changes:
      > 2003-08-13  David Byers  <byers@lysator.liu.se>
      >
      > 	Delete initial value on change:
      > 	* completing-read.el (lyskom-read-from-minibuffer-clear-initial):
      > 	New function.
      > 	(lyskom-read-conf): Put it into before-change-functions in
      > 	minibuffer-setup-hook.
      >
      > 2003-08-12  David Byers  <byers@lysator.liu.se>
      >
      > 	* async.el (lyskom-parse-async): Handle async 20.
      > 	(lyskom-parse-async): Handle async 21.
      >
      00ac77f8
  2. 05 Apr, 2003 1 commit
    • David Byers's avatar
      Fixed bug 664. · f266826b
      David Byers authored
      Detailed changes:
      > 	Fix bug 664:
      > 	* option-edit.el (lyskom-custom-variables): Support third value
      > 	for kom-pop-personal-messages.
      >
      > 	* async.el (lyskom-handle-as-personal-message): If
      > 	kom-pop-personal-messages is non-nil and non-t, don't pop up
      > 	the frame.
      >
      > 	* buffers.el (lyskom-display-buffer): Added parameter
      > 	keep-frame-iconfiied.
      >
      f266826b
  3. 16 Mar, 2003 1 commit
    • 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
  4. 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
  5. 06 Jan, 2003 1 commit
    • David Byers's avatar
      Handle async-new-user-area message. Fixed parsing of text-mapping. · 7e7857db
      David Byers authored
      Detailed changes:
      > 	Handle async-new-user-area message:
      > 	* startup.el (lyskom-accept-async): Accept async 19.
      >
      > 	* async.el (lyskom-parse-async): Parse async type 19. Update
      > 	pers-stat based on results.
      > 	(lyskom-async-new-user-area): New function updates cache and
      > 	re-reads options if necessary.
      > 	(lyskom-parse-async): Call it.
      >
      > 	* flags.el (lyskom-read-options-eval): Set
      > 	lyskom-current-user-area.
      >
      > 	* vars.el.in (lyskom-current-user-area): New variable.
      >
      > 	* flags.el (lyskom-save-options-3): Don't delete the person from
      > 	the cache; just set the user-area. Set lyskom-current-user-area.
      >
      > 	* komtypes.el (pers-stat): user-area is no longre read-only.
      >
      > 	Fix parse of text-mapping (I thought I did this a year ago):
      > 	* parse.el (lyskom-parse-list): Read the terminating brace in the
      > 	list.
      > 	(lyskom-parse-local-to-global-block): The array length is a
      > 	number, not a string.
      >
      7e7857db
  6. 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
  7. 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
  8. 01 Jan, 2003 1 commit
    • 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
  9. 16 Dec, 2002 1 commit
    • Ulrik Haugen's avatar
      Hoppas det här inte krockar med något David redan fixat... · 5427fd68
      Ulrik Haugen authored
              * startup.el (lyskom-read-server-name): Updated docstring wrt.
      	kom-builtin-server-aliases.
      
      	* lyskom-rest.el (lyskom-update-prompt, lyskom-format-prompt)
      	(lyskom-mode-name-from-host): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* commands2.el (kom-modeline-select-unread-kom)
      	(kom-status-server): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* async.el (lyskom-show-logged-in-person)
      	(lyskom-show-logged-out-person): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      5427fd68
  10. 20 Oct, 2002 1 commit
  11. 05 Aug, 2002 2 commits
  12. 09 Jun, 2002 1 commit
    • David Byers's avatar
      Fix bug 583. · abab5542
      David Byers authored
      Fix bug 582.
      Enable creating texts with iso-8859-15
      abab5542
  13. 03 Jun, 2002 1 commit
  14. 07 May, 2002 1 commit
    • 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
  15. 10 Apr, 2002 1 commit
    • David Byers's avatar
      Fixed bug 302 · e9e74ede
      David Byers authored
      Also fixed that declining an invitation would result in creating a passive
      membership instead of completely unsubscribing.
      e9e74ede
  16. 24 Feb, 2002 1 commit
  17. 06 Sep, 2001 1 commit
  18. 02 May, 2001 1 commit
  19. 23 Apr, 2001 1 commit
    • Joel Rosdahl's avatar
      Clean-up of time handling and time formatting functions. Essentially, · ac1c1c88
      Joel Rosdahl authored
      lyskom-format-time, lyskom-client-date-string and
      lyskom-return-date-and-time have been replaced with a single function:
      lyskom-format-time.  Also, the internal time representation now has
      years that are relative to year 0 and months that start with 1 for
      January.
      
      New variables: kom-print-relative-dates and
      kom-print-seconds-in-time-strings.
      ac1c1c88
  20. 03 Jan, 2001 1 commit
  21. 01 Jan, 2001 1 commit
  22. 28 Aug, 2000 1 commit
  23. 15 Aug, 2000 1 commit
  24. 03 Jul, 2000 1 commit
  25. 23 May, 2000 1 commit
  26. 04 May, 2000 1 commit
  27. 26 Mar, 2000 1 commit
  28. 10 Jan, 2000 1 commit
  29. 17 Nov, 1999 1 commit
    • David Byers's avatar
      Coding system fix · d215629c
      David Byers authored
      Better error messages when adding members
      Try to keep buffer lists updated
      d215629c
  30. 08 Nov, 1999 1 commit
  31. 15 Oct, 1999 1 commit
  32. 11 Oct, 1999 1 commit
  33. 09 Oct, 1999 2 commits
  34. 25 Aug, 1999 1 commit
    • David Byers's avatar
      Bug fixes: · adc6da82
      David Byers authored
      Slow commands work better.
      kom-next-unread-kom works better.
      lyskom-ignoring-async works
      More tolerance in lyskom-get-tell-string
      Membership sorting updates positions
      Sorting the membership also sorts the to do list
      adc6da82
  35. 29 Jun, 1999 2 commits
  36. 28 Jun, 1999 1 commit
  37. 26 Jun, 1999 1 commit
    • David Byers's avatar
      Bug fixes: · 544fb484
      David Byers authored
          initiate-get-unread-confs works
          Prioritize kind of works, sometimes
          Fixed bug in kom-review-stack
      
      Improvements:
          Use get-unread-confs at startup to speed things up a lot
          Do not get empty maps at startup
          Smileys at end of texts work :-)
          Passive memberships are almost fully supported
      544fb484