1. 17 Dec, 2003 1 commit
    • David Byers's avatar
      Updated menus · acd4415d
      David Byers authored
      Detailed changes:
      > 2003-12-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Update menus:
      > 	* utilities.el (lyskom-gensym): New function (it really seems that
      > 	elisp doesn't have a built-in gensym function).
      >
      > 	* menus.el (lyskom-define-menu-gnu): Use gensym to generate
      > 	separator symbols (so we can say just (hline) in the menu spec).
      > 	(lyskom-menu-template): All-new menu definitions.
      >
      acd4415d
  2. 07 Dec, 2003 1 commit
    • David Byers's avatar
      Added privilege display and manipulation code. · 5f880c3e
      David Byers authored
      Detailed changes:
      > 2003-12-07  David Byers  <byers@lysator.liu.se>
      >
      > 	Handle user privileges:
      > 	* commands2.el (kom-change-privileges): New command.
      > 	 (kom-status-person): Print privileges.
      >
      > 	* komtypes.el (pers-stat): Make privileges read-write.
      >
      > 	* utilities.el (lyskom-privilege-string): New function.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	change-conf-type, which was missing, to this list.
      >
      5f880c3e
  3. 05 Dec, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 1229 and 1228. · 652c1d22
      David Byers authored
      Detailed changes:
      > 2003-12-04  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-read-number): Use lyskom-string-to-int so
      > 	we never create floats by mistake.
      >
      > 	More features for padding and truncating formatted strings:
      > 	* commands1.el (lyskom-print-comment-like-aux): Don't print FAQ
      > 	links if the data in the aux-item is invalid.
      >
      > 	* utilities.el (lyskom-truncate-string-to-width): New simpler
      > 	implementation that only supports the features we use and supports
      > 	the TRAILER argument.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Support < > and = to
      > 	specify stuff in pad-length. Support a ... trailer for truncated
      > 	strings.
      >
      > 	Improve handling of invalid numeric data:
      > 	* aux-items.el (lyskom-status-print-faq-text): Handle invalid data
      > 	in aux item.
      > 	(lyskom-faq-for-conf-action): Use lyskom-string-to-int to convert
      > 	data and throw an error on invalid format.
      > 	(lyskom-aux-item-validate): New function.
      > 	(lyskom-status-print-faq-text): Validate aux-item data before
      > 	printing.
      > 	(lyskom-print-faq-for-conf): Same here.
      > 	(lyskom-print-send-comments-to): Same here.
      > 	(lyskom-print-recommended-conf): Same here.
      >
      > 	* utilities.el (lyskom-string-to-int): New function.
      > 	(lyskom-integer-conversion-error): New error symbol.
      >
      > 	Fix bug 1229:
      > 	* commands2.el (kom-list-new-conferences): The data got from the
      > 	server is a conf-stat, not an uconf-stat. Treat it as such...
      > 	(lyskom-list-new-conferences): Same here.
      >
      652c1d22
  4. 27 Aug, 2003 1 commit
  5. 26 Aug, 2003 1 commit
    • David Byers's avatar
      Fix problem with completing-read in XEmacs. · 1e6e2229
      David Byers authored
      Detailed changes:
      > 2003-08-26  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-magic-minibuffer-mangle-initial):
      > 	Explicitly make properties at the front of the initial value
      > 	nonsticky (mainly for XEmacs where they are sticky by default).
      > 	(completing-read): Add explicity uses for all variables to avoid
      > 	compiler warnings in XEmacs at run time.
      > 	(read-from-minibuffer): Same.
      >
      > 	* commands2.el (kom-send-message): Remoed unused variables.
      >
      1e6e2229
  6. 24 Aug, 2003 1 commit
    • David Byers's avatar
      Finish fixing bug 459 (initial values for commands). · dd2be52e
      David Byers authored
      Detailed changes:
      > 	* Makefile (TARGET): Default to debug compile.
      >
      > 	Fix bug 459:
      > 	* commands2.el (kom-send-message): Use standard strategy for
      > 	initial value when reading conf.
      > 	(lyskom-default-conference-for-send-message): New function.
      >
      > 	* async.el (lyskom-show-personal-message): Save conf-no, not name
      > 	in lyskom-last-personal-message-sender.
      > 	(lyskom-show-personal-message): Same here.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	strategy for set-keep-commented and kom-send-message.
      >
      > 	* completing-read.el (lyskom-get-initial-conf-strategy): Display a
      > 	warning if there is no prompt-specific strategy (there should be).
      > 	This only happens if compiled with debugging.
      >
      > 	* macros.el (lyskom-debug-forms): New macro.
      >
      > 	* utilities.el (lyskom-completing-read): Fix handling of default
      > 	argument (twas broken before).
      >
      > 	* commands1.el (kom-move-text-tree): Handle initial values for
      > 	reading conference names through standard strategy configuration.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Added
      > 	strategies for kom-move-text and kom-sub-recipient.
      >
      > 	* commands1.el (lyskom-default-recpt-for-sub): Removed this
      > 	function. It is implemented through the standard strategy
      > 	configuration instead.
      > 	(kom-move-text): Handle initial values for reading conference
      > 	names through standard strategy configuration.
      >
      > 	* vars.el.in (lyskom-last-added-rcpt): Removed this variable.
      > 	(lyskom-last-added-ccrcpt): Same.
      > 	(lyskom-last-added-bccrcpt): Same.
      > 	(lyskom-last-sub-rcpt): Same.
      >
      > 	* commands1.el (kom-sub-recipient): Don't save answer reading
      > 	conference. Rely on standard strategy for default initial value.
      > 	Sort the recipient list so RECPT is first.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Handle initials
      > 	formerly set in lyskom-add-helper through save strategy.
      >
      >  	* commands1.el (lyskom-add-helper): Don't explicitly save
      >	last-added stuff. Removed last-added variable parameter.
      > 	(kom-add-copy): Updated parameter list to lyskom-add-helper.
      > 	(kom-add-bcc): Same here.
      > 	(kom-add-recipient): Same here.
      dd2be52e
  7. 17 Aug, 2003 2 commits
    • David Byers's avatar
      Support (and use) UTC time format in the protocol. · b0ede6b3
      David Byers authored
      Detailed changes:
      > 	Support UTC time in the server:
      > 	* startup.el (lyskom): Select UTC time format if the server
      > 	supports it.
      >
      > 	* utilities.el (lyskom-set-connection-format): New function.
      >
      > 	* parse.el (lyskom-parse-time): Use lyskom-create-time-from-utc.
      > 	Convert day-of-year to starting from one.
      > 	(lyskom-init-parse): Add the parse buffer as a child of the main
      > 	buffer so UTC setting is propagated to it.
      >
      > 	* komtypes.el (lyskom-create-time-from-utc): Simplified. It seems
      > 	that the right thing to do is pass zero in TZ to encode-time. This
      > 	should speed things up slightly in normal cases. Handle case when
      > 	server does not use UTC.
      >
      > 	* services.el: (initiate-get-last-text): Commented out since we
      > 	can't convert local time to UTC, which this function requires.
      >
      b0ede6b3
    • David Byers's avatar
      Made initial value for reading confs more configurable. · 664b6aa5
      David Byers authored
      Detailed changes:
      > 2003-08-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Make initial value for reading confs more configurable:
      > 	* filter.el (kom-filter-author): Simplified. Initial values are
      > 	now computed in completing-read.el, not here.
      >
      > 	* completing-read.el (lyskom-read-conf-guess-initial): Added
      > 	PROMPT parameter.
      > 	(lyskom-get-initial-conf-strategy): Added PROMPT parameter.
      > 	Operate on new format. Combine prompt-specific, command-specific
      > 	and default configuration.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): New format.
      > 	Removed lyskom-default-conference-self as default.
      >
      > 	* completing-read.el (lyskom-default-conference-last-author): New
      > 	function.
      >
      > 	Pass symbols or lists to lyskom-read-conf-stat and friends:
      > 	* startup.el (kom-start-anew): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      >
      > 	* review.el (lyskom-review-by-to): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(lyskom-unread-by-to): Same.
      >
      > 	* filter.el (kom-filter-subject): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-filter-author): Same.
      > 	(kom-filter-text): Same.
      >
      > 	* faqs.el (kom-change-conf-faq): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-list-faqs): Same.
      >
      > 	* edit-text.el (kom-edit-add-recipient): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-edit-add-bcc): Same.
      > 	(kom-edit-add-copy): Same.
      > 	(kom-edit-move-text): Same.
      >
      > 	* completing-read.el (lyskom-read-conf): Support list as prompt.
      >
      > 	* commands2.el (kom-status-conf): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-status-person): Same.
      > 	(kom-set-garb-nice): Same.
      > 	(kom-set-permitted-submitters): Same.
      > 	(kom-set-super-conf): Same.
      > 	(kom-set-personal-label): Same.
      > 	(kom-is-person-member-of-conference): Same.
      > 	(kom-will-person-read-text): Same.
      >
      > 	* commands1.el (kom-delete-conf): Pass symbol as prompt to
      > 	lyskom-read-conf-stat.
      > 	(kom-review-presentation): Same.
      > 	(kom-unread-presentation): Same.
      > 	(kom-add-member): Same.
      > 	(kom-add-self): Same.
      > 	(kom-change-priority): Same.
      > 	(kom-sub-member): Same.
      > 	(kom-sub-self): Same.
      > 	(kom-change-presentation): Same.
      > 	(kom-change-conf-motd): Same.
      > 	(kom-set-presentation): Same.
      > 	(kom-set-motd-text): Same.
      > 	(kom-remove-presentation): Same.
      > 	(kom-unset-conf-motd): Same.
      > 	(kom-go-to-conf): Same.
      > 	(lyskom-write-text): Same.
      > 	(kom-change-name): Same.
      > 	(kom-change-parenthesis): Same. Also moved initial to vars.el.in.
      > 	(kom-change-supervisor): Same.
      > 	(kom-change-password): Same.
      > 	(kom-who-is-on-in-conference): Same.
      > 	(kom-who-is-present-in-conference): Same.
      > 	(lyskom-add-helper): Same.
      > 	(kom-sub-recipient): Same.
      > 	(lyskom-read-cross-reference-and-get-aux-item): Same. Also cleanup.
      > 	(lyskom-read-link): Same.
      >
      1a83,87
      >
      > 	Work on supporting UTC timestamps from the server:
      > 	* komtypes.el (lyskom-create-time-from-utc): New function.
      >
      > 	* utilities.el (lyskom-days-in-year): New function.
      664b6aa5
  8. 16 Aug, 2003 1 commit
    • David Byers's avatar
      Cleaned up compatibility code. Handle async-text-aux-changed. · 4fadea6a
      David Byers authored
      Detailed changes that consist only of name changes have been
      excluded from this message (see the ChangeLog for details).
      
      Detailed changes:
      > 2003-08-16  David Byers  <byers@lysator.liu.se>
      >
      > 	Handle async-text-aux-changed:
      > 	* async.el (lyskom-parse-async): Handle async-text-aux-changed.
      >
      > 	* aux-items.el (lyskom-aux-item-modify-list): New function.
      >
      > 	* komtypes.el (text-stat): Make aux-items field read-write.
      >
      > 	Major cleanup of compatibility code:
      > 	* compatibility.el: Cleaned up compatibility code a lot. We no
      > 	longer provide fake versions of MULE-related functions or any
      > 	other function that other code might take to mean there's some
      > 	major feature in Emacs. The only definitions we make in the
      > 	standard namespace are "safe" functions. Removed functions that
      > 	are not used. Simplified some of the macros. Moved code here from
      > 	utilities.el.
      > 	(lyskom-gnu-keysym,lyskom-xemacs-keysym): Removed swedish chars
      > 	from the lists since we don't use lyskom-keys for that any more.
      >
      > 	* compatibility.el (coding-system-type): New compatibility def.
      > 	(coding-system-property): New compatibility def.
      > 	(split-string): Provide compatibility definition for split-string.
      >
      > 	* lyskom-rest.el (lyskom-unity-text): Use compatibility functions
      > 	for MULE stuff.
      >
      > 	* macros.el (lyskom-end-of-compilation): Don't remove
      > 	compatibility definitions from the list of warnings for unresolved
      > 	functions since this serves no purpose and hides actual errors.
      >
      > 	* mship-edit.el (lp--maybe-update-unreads): Use
      > 	lyskom-next-property-bounds, not next-text-property-bounds.
      >
      > 	* lyskom-rest.el (lyskom-do-special-inserts): Use
      > 	lyskom-next-property-bounds, not next-text-property-bounds.
      >
      > 	* mime.el (lyskom-mime-string-charset): Use :mime-charset next to
      > 	mime-charset (Gnus does this ans says it is the Emacs 22 way).
      4fadea6a
  9. 15 Aug, 2003 1 commit
    • David Byers's avatar
      Improved handling of initial input when reading conference names. · 2da67aeb
      David Byers authored
      Detailed changes:
      > 2003-08-15  David Byers  <byers@lysator.liu.se>
      >
      > 	* completing-read.el (lyskom-read-conf): Don't call
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-completing-read now.
      > 	(lyskom-read-session-resolve-ambiguity): Same here.
      >
      > 	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): Don't
      > 	call lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-read-from-minibuffer now.
      >
      > 	* commands2.el (kom-calculate): Don't call
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-read-from-minibuffer now.
      > 	(kom-set-personal-label): Same here.
      >
      > 	* command.el (lyskom-read-extended-command): Don't use
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-completing-read now.
      >
      > 	* utilities.el (lyskom-completing-read): Moved here from
      > 	compatibility.el and turned into a regular function. Integrate
      > 	lyskom-with-lyskom-minibuffer and lyskom-with-magic-minibuffer.
      > 	(lyskom-read-from-minibuffer): Ditto.
      >
      > 	* commands1.el (kom-sub-self): Undo previous change. The new
      > 	configuration mechanism takes care of things.
      > 	(kom-go-to-conf): Same here.
      >
      > 	Even better defaults for initial conference:
      > 	* compatibility.el (lyskom-completing-read): Use defsubst in Gnu
      > 	Emacs so we can advise it.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): New variable.
      >
      > 	Rewrote magic minibuffer handling:
      > 	* utilities.el (lyskom-magic-minibuffer-pre-command): New
      > 	function.
      > 	(lyskom-magic-minibuffer-before-change): New function.
      > 	(lyskom-magic-minibuffer-post-command): New function.
      > 	(lyskom-magic-minibuffer-cancel): New function.
      > 	(lyskom-magic-minibuffer-mangle-initial): New function.
      > 	(read-from-minibuffer): New advice.
      > 	(completing-read): New advice.
      > 	(lyskom-magic-minibuffer-add-advice): New function.
      > 	(lyskom-magic-minibuffer-cancel-advice): New function.
      > 	(lyskom-with-magic-minibuffer): New macro.
      >
      2da67aeb
  10. 14 Aug, 2003 1 commit
    • David Byers's avatar
      Show boot time and basic server statistics in standard status display. · 1aab171c
      David Byers authored
      Make kom-extended-status-information more fine-grained, so we can have
      extended information on the server but not on confs (and so forth).
      Cache boot-time and static server information.
      
      Detailed changes:
      > 	Show more stats in non-extended display:
      > 	* commands2.el (kom-status-server): Show text, conf and person
      > 	statistics in the default display.
      >
      > 	Cace get-stats-description:
      > 	* services.el (initiate-get-stats-description): Use cache.
      >
      > 	* vars.el.in (lyskom-stats-description): New variable.
      >
      > 	* parse.el (lyskom-parse-stats-description): Cache result.
      >
      > 	Show some boottime info:
      > 	* commands2.el (kom-status-server): Show server start time and
      > 	soem basic statistics in the default display.
      >
      > 	Cache static-server-info:
      > 	* parse.el (lyskom-parse-static-server-info): Update cache.
      >
      > 	* services.el (initiate-get-boottime-info): Use cache.
      >
      > 	More fine-grained control over extended status:
      > 	* commands2.el (kom-status-server): Only show full server stats if
      > 	the appropriate extended status information is on.
      >
      > 	* utilities.el (lyskom-extended-status-information): New function.
      >
      > 	* commands2.el (kom-status-conf): Set
      > 	kom-extended-status-information to t on entry if it contains conf.
      > 	(kom-status-server): Set kom-extended-status-information to t on
      > 	entry if it contains server.
      > 	(kom-status-person): Set kom-extended-status-information to t on
      > 	entry if it contains pers.
      >
      > 	* aux-items.el (lyskom-print-elisp-client-read-faq): Use
      > 	lyskom-extended-status-information to check for extended status
      > 	information.
      >
      > 	* vars.el.in (kom-extended-status-information): Updated variable
      > 	documentation.
      >
      1aab171c
  11. 04 Aug, 2003 1 commit
    • David Byers's avatar
      Show server statistics in kom-status-server. · 0d764ad9
      David Byers authored
      Detailed changes:
      > 	* commands2.el (kom-status-server): Show statistics about the
      > 	server.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Added support for
      > 	formatting floats.
      > 	(lyskom-format-aux): Support setting fraction length for floats.
      > 	(lyskom-format-units): New function.
      >
      0d764ad9
  12. 03 Aug, 2003 1 commit
    • David Byers's avatar
      Protocol support for get-stats and get-stats-description. · 5929f556
      David Byers authored
      Detailed changes:
      > 	Support get-stats server call:
      > 	* utilities.el (lyskom-get-server-stats): New function.
      >
      > 	* komtypes.el (server-stats): New type.
      >
      > 	* parse.el (lyskom-parse-float): New function.
      > 	(lyskom-parse-stats): New function.
      >
      > 	* komtypes.el (stats-description): New type.
      > 	(stats): New type.
      >
      > 	* parse.el (lyskom-parse-stats-description): New function.
      > 	(lyskom-parse-stats-array): New function.
      >
      > 	* services.el (initiate-get-stats-description): New function.
      >
      > 	More work on bug 900 (now nags about presentations):
      5929f556
  13. 02 Aug, 2003 1 commit
    • David Byers's avatar
      Nag about missing presentation. · 3d737363
      David Byers authored
      Detailed changes:
      >
      > 	* utilities.el (lyskom-nag-about-presentation): New function.
      >
      > 	* startup.el (kom-start-anew): Use new function to nag about
      > 	presentation.
      >
      > 	* commands1.el (lyskom-write-text): Nag about presentation.
      > 	(kom-write-comment): Here too.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Added support for F
      > 	format letter (fill paragraph).
      > 	(lyskom-do-insert): Ditto.
      3d737363
  14. 27 Jul, 2003 2 commits
    • David Byers's avatar
      Fixed bug 755 (for footnotes too) and improved the read-only marking of the... · 7a9c872e
      David Byers authored
      Fixed bug 755 (for footnotes too) and improved the read-only marking of the separator line in the edit buffer
      
      Detailed changes:
      > 	Like bug 755 but for footnotes:
      > 	* utilities.el (lyskom-maybe-get-footnoted-text): New function.
      >
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added better
      > 	default for kom-sub-footnote.
      >
      > 	* commands1.el (kom-sub-comment): Print a message when there are
      > 	no comments to the text rather than continue.
      > 	(kom-sub-footnote): Ditto, for footnotes.
      >
      > 	Fix bug 755:
      > 	* utilities.el (lyskom-maybe-get-commented-text): New function.
      >
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added defaults for
      > 	kom-sub-comment.
      >
      > 	* edit-text.el (lyskom-edit-insert-miscs): Make the read-only
      > 	marking on the separator non-sticky at the end.
      >
      7a9c872e
    • David Byers's avatar
      Fixed bugs 761, 1058 and 1036. · 76661d80
      David Byers authored
      Detailed changes:
      > 2003-07-27  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 761:
      > 	* startup.el (kom-start-anew): Set lyskom-is-administrator to nil
      > 	after logging on.
      >
      > 	Fix bug 1058:
      > 	* edit-text.el (lyskom-edit-insert-miscs): Make the separator
      > 	read-only.
      >
      > 2003-07-26  David Byers  <byers@lysator.liu.se>
      >
      > 	Minor fixes:
      > 	* commands1.el (kom-sub-self): Restrict this command to
      > 	membership.
      >
      > 	Improvements to completing read:
      > 	* completing-read.el (lyskom-read-conf-internal): Added membership
      > 	predicate to lyskom-read-conf-internal.
      > 	(lyskom-read-conf): Support integer argument in initial. Default
      > 	to placing point at the start of input.
      >
      >
      > 	Fix bug 1036:
      > 	* commands2.el (kom-change-message-flag): Nwe command.
      >
      > 	* commands2.el (kom-is-person-member-of-conference): Show if a
      > 	person receives group messages to the conference.
      >
      > 	* utilities.el (lyskom-return-membership-type): Show message-flag
      > 	if it is not the default.
      >
      > 2003-07-25  David Byers  <byers@lysator.liu.se>
      >
      > 	UI support for bug 1036:
      > 	* mship-edit.el (lp--compute-format-string): Support message-flag.
      > 	(lp--format-entry): Ditto.
      > 	(lp--flag-menu-get): Ditto.
      > 	(lp--flag-menu-set): Ditto.
      > 	(lp--format-insert-entry): Ditto.
      >
      > 	Protocol support for bug 1036:
      > 	* komtypes.el (membership-type): Added message-flag.
      >
      > 	* parse.el (lyskom-parse-membership-type): Set message-flag from
      > 	message-invert.
      >
      > 	* lyskom-rest.el (lyskom-prot-a-format-membership-type): Transmit
      > 	message-invert instead of message-flag.
      >
      > 2003-07-22  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands2.el (lyskom-update-membership-buffer): Fixed typo.
      76661d80
  15. 06 Apr, 2003 1 commit
    • David Byers's avatar
      Fixed bug 678. · 28630e9f
      David Byers authored
      Detailed changes:
      > 	Fix bug 678:
      > 	* vars.el.in (lyskom-text-buttons): Made RFC-compliant URL
      > 	specifications "pseudo" URLs, since there may be incomplete URLs
      > 	inside brackets and stuff. Added validity check to RFC-compliant
      > 	URL specifications, so not anything in <> will pass.
      >
      > 	* utilities.el (lyskom-is-url): New function.
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Support match
      > 	predicates in lyskom-text-buttons.
      > 	(lyskom-button-get-pred): New function.
      >
      > 	* vars.el.in (lyskom-text-buttons): Added support for URLs
      > 	according to Appendix E in RFC2396.
      >
      28630e9f
  16. 16 Mar, 2003 3 commits
    • David Byers's avatar
      Fixed bug 854 (join/leave all conferences) · 6114fab2
      David Byers authored
      Detailed changes:
      > 	Fix bug 854:
      > 	* commands2.el (kom-join-all-conferences): New command.
      > 	(kom-leave-all-conferences): New command.
      >
      > 	* commands1.el (lyskom-add-member-by-no): Added no-of-unread
      > 	parameter.
      >
      > 	* lyskom-buttons.el (lyskom-highlight-i-am-supervisor): Use
      > 	lyskom-i-am-supervisor.
      >
      > 	* utilities.el (lyskom-i-am-supervisor): New function.
      > 	(lyskom-get-all-conferences): New function.
      >
      6114fab2
    • 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
  17. 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
  18. 08 Jan, 2003 1 commit
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 20 Oct, 2002 1 commit
  26. 15 Sep, 2002 2 commits
  27. 13 Sep, 2002 1 commit
  28. 11 Sep, 2002 1 commit
  29. 09 Aug, 2002 1 commit
  30. 06 Aug, 2002 1 commit
  31. 30 Jul, 2002 1 commit
  32. 29 Jul, 2002 1 commit
  33. 24 Jul, 2002 1 commit
  34. 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