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. 11 Dec, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 1232, 1233 and 1234 · d5111bf8
      David Byers authored
      Detailed changes:
      > 2003-12-11  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1233:
      > 	* commands1.el (kom-change-priority): Pass old mship-type to
      > 	lyskom-add-member-answer.
      >
      > 	Fix bug 1234:
      > 	* lyskom-rest.el (lyskom-update-prompt): New prompts for when
      > 	prioritised texts are in the letterbox, or the prioritised
      > 	conference is the letterbox.
      >
      > 	Fix bug 1233:
      > 	* commands1.el (lyskom-list-clients-collect): Deal with version
      > 	set to nil.
      >
      d5111bf8
  3. 10 Dec, 2003 1 commit
    • David Byers's avatar
      Show a help link about changing languages at startup · ace5925a
      David Byers authored
      Detailed changes:
      > 2003-12-10  David Byers  <byers@lysator.liu.se>
      >
      > 	* startup.el (kom-start-anew): Show a help link when setting the
      > 	language.
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): The argument for a
      > 	conditional format is not optional, so we can handle extending
      > 	format strings with additional boolean conditionals without
      > 	altering the argument lists where they are used.
      >
      1a12,13
      >
      > 	* NEWS-0.48: Updated to here.
      ace5925a
  4. 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
  5. 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
  6. 03 Dec, 2003 1 commit
  7. 17 Nov, 2003 2 commits
    • David Byers's avatar
      Fixed bug 1142 (show mark type in message when marking) · 7153ef52
      David Byers authored
      Detailed changes:
      > 	Fix bug 1142:
      > 	* commands1.el (lyskom-mark-text): Print the mark type in the
      > 	marking message.
      >
      > 	* commands2.el (lyskom-symbolic-mark-type-string): Added argument
      > 	STRICT.
      >
      7153ef52
    • David Byers's avatar
      Fixed bugs 1174, 1213 and some problems I spotted on the way. · 50128cff
      David Byers authored
      Detailed changes:
      > 	Minor bug fixes:
      > 	* commands2.el (kom-is-person-member-of-conference): When reading
      > 	pers-to-check-mship-for, only read persons.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Fixed typo in
      > 	kom-move-text-tree.
      >
      > 	Fix bug 1174:
      > 	* commands2.el (kom-join-all-conferences): Ask about receiving
      > 	group messages in all conferences.
      >
      > 	* commands1.el (lyskom-add-member-answer): Added mship-type
      > 	parameter.
      > 	(lyskom-add-member-by-no): Added mship-type parameter.
      > 	(kom-create-conf): Added mship-type parameter in call to
      > 	lyskom-add-member-by-no
      >
      > 	Fix bug 1213:
      > 	* commands1.el (lyskom-write-text): Handle argument correctly so
      > 	both prefix arguments and menus work properly.
      > 	(lyskom-add-member-answer): Added mship-type parameter
      >
      50128cff
  8. 15 Sep, 2003 1 commit
  9. 28 Aug, 2003 3 commits
    • David Byers's avatar
      Improve handling when filling very long texts. · cff365e7
      David Byers authored
      Detailed changes:
      > 	Handle breaking very long texts:
      > 	* lyskom-rest.el (lyskom-fill-message): Added option of a timeout
      > 	for filling, replaced whitespace deletion at the end with a method
      > 	that does not rely on regexps (it seems that anchoring a regexp at
      > 	the end of the buffer does not improve performance as much as I
      > 	expected), and caused C-g to break out of the filling loop, but
      > 	not out of the function.
      >
      > 	* vars.el.in (kom-autowrap-timeout): New variable.
      >
      cff365e7
    • David Byers's avatar
      Removed kom-set-keep-commented and put the functionality in kom-set-garb-nice. · 88aacfa7
      David Byers authored
      Detailed changes:
      > 	Fix bug 1117:
      > 	* commands2.el (kom-set-garb-nice): Moved kom-set-keep-commented
      > 	into this function. It makes more sense that way.
      > 	(kom-set-keep-commented): Deleted this command.
      88aacfa7
    • David Byers's avatar
      Fixed bugs 1128 and 1125. · 4d39e9fa
      David Byers authored
      Detailed changes:
      > 2003-08-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1128:
      > 	* commands2.el (kom-limit-import): Support refusing HTML import.
      >
      > 	Fix bug 1125:
      > 	* edit-text.el (lyskom-edit-insert-miscs): Make more of the
      > 	separator line read-only, taking care (I hope) to get text
      > 	properties right so the read-only property does not affect the
      > 	subject line.
      >
      4d39e9fa
  10. 25 Aug, 2003 2 commits
    • David Byers's avatar
      Added error code 61 · 94cf510e
      David Byers authored
      Detailed changes:
      > 	* vars.el.in (lyskom-error-codes): Added error codes 55-61.
      >
      > 	* english-strings.el,swedish-strings.el: Added error codes 55-61.
      94cf510e
    • David Byers's avatar
      Added some missing error codes. · 2eb64d3c
      David Byers authored
      Detailed changes:
      > 	* vars.el.in (lyskom-error-codes): Added error codes 55-60.
      >
      > 	* english-strings.el,swedish-strings.el: Added error codes 55-60.
      >
      2eb64d3c
  11. 24 Aug, 2003 2 commits
    • David Byers's avatar
      Corrected prompts with initial values for various commands. · 1bce29ba
      David Byers authored
      Detailed changes:
      > 	* completing-read.el (lyskom-default-conference-empty): New function.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Corrected
      > 	listings for review and unread functions.
      >
      > 	* review.el (lyskom-review-by-to): Correct prompt in call to
      > 	lyskom-read-conf-no.
      > 	(lyskom-unread-by-to): Same here.
      >
      1bce29ba
    • David Byers's avatar
      Support setting keep-commented on conferences. · 487c0c87
      David Byers authored
      Detailed changes:
      > 2003-08-24  David Byers  <byers@lysator.liu.se>
      >
      > 	* NEWS-0.48: Updated to here.
      >
      > 	Support setting keep-commented:
      > 	* commands2.el (kom-set-keep-commented): New command.
      487c0c87
  12. 17 Aug, 2003 2 commits
    • David Byers's avatar
      Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat. · 8cf072e5
      David Byers authored
      Detailed changes:
      > 	Go over EMPTY and MUSTMATCH parameters to lyskom-read-conf-stat:
      > 	* startup.el (kom-start-anew): Don't allow EMPTY when logging on.
      >
      > 	* filter.el (kom-filter-subject): Don't use /=. Use not eq
      > 	instead.
      > 	(kom-filter-author): Same here.
      > 	(kom-filter-text): Same here.
      >
      > 	* commands2.el (kom-create-aux-item): Set MUSTMATCH when readinf
      > 	conference name.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): Default for
      > 	kom-set-permitted-submitters new-permitted-submitters-q is empty.
      >
      > 	* commands1.el (kom-change-presentation): Don't allow EMPTY when
      > 	reading conf name (it means the same as the default initial
      > 	value).
      > 	(kom-change-conf-motd): Same here.
      > 	(kom-set-presentation): Same here.
      > 	(kom-set-motd-text): Same here.
      > 	(kom-remove-presentation): Same here.
      > 	(kom-change-password): Same here.
      >
      8cf072e5
    • 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
  13. 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
  14. 15 Aug, 2003 3 commits
    • David Byers's avatar
      Fixed bug 301. · a947e09f
      David Byers authored
      Detailed changes:
      > 	* view-text.el (lyskom-get-text-belongs-to): New function.
      >
      > 	Fix bug 301:
      > 	* commands1.el (kom-move-text): Move attachments and footnotes
      > 	together with the text.
      > 	(kom-sub-recipient): Remove recipient from attachments and
      > 	footnotes too.
      > 	(lyskom-add-helper): Add recipients to attachments and footnotes
      > 	too.
      >
      a947e09f
    • Ulrik Haugen's avatar
      * english-strings.el (local): Changed "what conference" -> "which · 9046fb8b
      Ulrik Haugen authored
      conference" in conf-to-check-mship-of, conf-to-list-faqs.
      
      * english-strings.el, swedish-strings.el (local): Renamed
      conf-to-faq -> conf-to-list-faqs.
      
      * faqs.el (kom-list-faqs): Caller changed.
      9046fb8b
    • Ulrik Haugen's avatar
      Fix for bug 1082. · 35f70d93
      Ulrik Haugen authored
      * faqs.el (kom-list-faqs): Removed hard coded string when asking
      for conference.
      
      * english-strings.el, swedish-strings.el (local): added
      what-conf-to-faq.
      35f70d93
  15. 14 Aug, 2003 3 commits
    • David Byers's avatar
      Avoid triggering bug in Emacs 20.7. · d1acfb13
      David Byers authored
      Detailed changes:
      > 	* completing-read.el (lyskom-read-conf): Cancel magic in
      > 	minibuffer-exit-hook to avoid triggering bugs in Gnu Emacs 20.7
      > 	(and probably all earlier versions).
      >
      d1acfb13
    • David Byers's avatar
      New commands: kom-list-new-conferences and kom-list-new-persons · 79729ff4
      David Byers authored
      Detailed changes:
      > 	* services.el (initiate-first-unused-conf-no): New function.
      > 	(initiate-first-unused-text-no): New function.
      > 	(initiate-find-next-conf-no): New function.
      > 	(initiate-find-previous-conf-no): New function.
      >
      > 	* commands2.el (kom-set-personal-label): Use capitalized strings
      > 	for conf, pers and text.
      > 	(lyskom-list-new-conferences): New function.
      > 	(kom-list-new-persons): New command.
      > 	(kom-list-new-conferences): New command.
      >
      > 	* commands1.el (lyskom-read-cross-reference-and-get-aux-item): Use
      > 	capitalized strings for conf, pers and text.
      > 	(lyskom-read-link): Same here.
      >
      79729ff4
    • 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
  16. 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
  17. 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
  18. 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
  19. 28 Jul, 2003 1 commit
    • David Byers's avatar
      Some work on kom-handle-membership. Better support for message-flag and for... · 2bebbbde
      David Byers authored
      Some work on kom-handle-membership. Better support for message-flag and for setting number of unread when joining a conference.
      
      Detailed changes:
      > 2003-07-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Better support for message-flag and no-of unread when joining:
      > 	* commands1.el (lyskom-go-to-conf): Ask for number of unread when
      > 	joining.
      > 	(kom-add-self): Ask for message-flag when de-passivating.
      > 	(lyskom-add-member-answer): Ask for message-flag when adding self.
      >
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Ask for message-flag
      > 	when de-passivating a membership.
      >
      > 	Some more work for kom-handle-membership:
      > 	* mship-edit.el (lp--create-buffer): Made the header and footer
      > 	adapt to the window width like the contents do.
      > 	(lp--toggle-passive): New command. Also added binding.
      >
      > 	* check-strings.el (lcs-split-format-string): Reflect changes to
      > 	lyskom-format-format here.
      >
      > 	* lyskom-rest.el (lyskom-list-unread-mapping): Removed unused
      > 	variable.
      > 	(lyskom-format-aux-help): Added format directie l.
      > 	(lyskom-format-aux): Support arbitrary pad characters.
      >
      2bebbbde
  20. 27 Jul, 2003 3 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 747 and 709. · 14fbab3e
      David Byers authored
      Detailed changes:
      > 	Fix bug 747:
      > 	* commands2.el (lyskom-status-pers-list-one-membership): New
      > 	function.
      > 	(kom-status-person): Use it.
      >
      > 	Fix bug 709:
      > 	* faqs.el (kom-list-faqs): New command.
      > 	(kom-list-server-faqs): New command.
      > 	(lyskom-do-list-faqs): New function.
      >
      > 	* lyskom-rest.el (lyskom-next-property-bounds): New function.
      > 	(lyskom-do-special-inserts): Use it. Added end parameter.
      > 	(lyskom-do-insert): Pass end parameter.
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Do links from
      > 	kom-text-buttons after the hard-coded stuff.
      >
      14fbab3e
    • 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
  21. 23 Jul, 2003 1 commit
  22. 20 Jul, 2003 1 commit
    • David Byers's avatar
      Fixed bug 708, problem wth re-joining conferences. Sped up text lists. Fixed... · 158a703e
      David Byers authored
      Fixed bug 708, problem wth re-joining conferences. Sped up text lists. Fixed problems with fix for bug 409. Improve error reporting from callbacks.
      
      Detailed changes:
      > 2003-07-21  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 708:
      > 	* flags.el (lyskom-flag-global-variable-from-common): New function.
      > 	(lyskom-flag-global-variable-from-elisp): New function.
      > 	(lyskom-flag-write-boolean): New function.
      > 	(lyskom-flag-read-boolean): New function.
      > 	(lyskom-flag-write-symbol-list): New function.
      > 	(lyskom-flag-read-symbol-list): New function.
      > 	(lyskom-flag-read-from-string): New function.
      >
      2a14,69
      > 	Fix bug 708:
      > 	* language.el (lyskom-first-available-language): New function.
      > 	(lyskom-set-language): Use it to support setting language from a
      > 	list.
      >
      > 	* startup.el (kom-start-anew): Use lyskom-first-available-language
      > 	when dealing with kom-default-language.
      >
      > 	* defvar.el (def-kom-var): Added support for common flag. Use
      > 	lyskom-global-variables instead of the old stuff. Added support
      > 	for transition flag.
      > 	(lyskom-global-variables): New variable.
      > 	(lyskom-transition-variables): New variable.
      >
      > 	* check-strings.el (lcs-check-customize-variables): Handle new
      > 	lyskom-global-variables.
      >
      > 	* flags.el (lyskom-set-var-from-string): Added type parameter.
      > 	(lyskom-maybe-set-var-from-string): Ditto.
      > 	(lyskom-save-options): Use lyskom-global-variables, not the old
      > 	stuff.
      > 	(lyskom-maybe-set-var-from-string): Require that variable is a
      > 	symbol, not a string.
      > 	(lyskom-set-var-from-string): Ditto.
      >
      > 	* vars.el.in (lyskom-global-boolean-variables): Removed.
      > 	(lyskom-global-non-boolean-variables): Removed.
      > 	(lyskom-global-variable-types): New variable.
      >
      > 	Fix bugs adding self to conferences:
      > 	* commands1.el (kom-add-self): Handle re-joining passive
      > 	conferences and conferences with invitations (how did this slip
      > 	through).
      >
      > 	Make text-list operations more constant-time:
      > 	* komtypes.el (text-list->append): Use the tail field to make this
      > 	a constant time operation.
      > 	(text-list->delq): Support the tail field.
      > 	(text-list->trim-head): Ditto.
      > 	(set-text-list->texts): Ditto.
      > 	(text-list): Added tail field.
      > 	(text-list): Added length-internal field.
      > 	(text-list->length): Wrapper for length-internal.
      > 	(text-list->delq): Handle length-internal.
      > 	(text-list->append): Ditto.
      > 	(text-list->trim-head): Ditto.
      >
      > 	Fix for fix of bug 409:
      > 	* komtypes.el (text-mapping->remove-local): Fixed bug that made
      > 	clearing local no in a dense map impossible.
      >
      > 	Better error reporting:
      > 	* parse.el (lyskom-parse-unparsed): Do not catch non-protocol
      > 	errors. This finally allows us to get decent backtraces even for
      > 	errors in callbacks.
      >
      158a703e
  23. 02 Jul, 2003 1 commit
    • David Byers's avatar
      Fixed bug 1064 and some other minor stuff. · cc17ab00
      David Byers authored
      Detailed changes:
      > 2003-07-02  David Byers  <byers@lysator.liu.se>
      >
      > 	Removed unused variables:
      > 	* commands1.el (lyskom-get-marked-texts): Removed variable
      > 	mark-list.
      >
      > 	* commands2.el (kom-leave-all-conferences): Removed variable
      > 	unsubscribed.
      >
      > 	* lyskom-rest.el (lyskom-format-x-kom/user-area): Removed variable
      > 	tmpbuf.
      >
      > 	* lyskom-buttons.el (lyskom-generate-button): Removed variable
      > 	persno.
      >
      > 	Fixed empty lines in nameday display:
      > 	* names.el (lyskom-nameday-2): Say so when there are no namedays
      > 	(we more or less have to when showing names from more than one
      > 	list, and it ain't bad
      >
      > 	Fixed bug 1064:
      > 	* lyskom-buttons.el (kom-button-click): Handle null position
      > 	properly.
      >
      > 2003-07-01  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (lyskom-write-text): Handle prefix args correctly
      > 	(so C-u i works).
      >
      cc17ab00
  24. 01 Jun, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 750, 1038, 1046 and 1047, problems with circular comment · 4e9ea7ef
      David Byers authored
      graphs in kom-review-tree and related commands, problemw with URLs
      broken over several lines and credit for the patch for bug 1038.
      
      Detailed changes:
      > 2003-06-01  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1046:
      > 	* option-edit.el (lyskom-customize-mode): New major mode.
      > 	(kom-customize): Use it.
      >
      > 	Fix bug 1047:
      > 	* review.el (lyskom-find-root): Only visit each text once. This
      > 	also eliminates problems with cyclic structures.
      > 	(kom-find-root-review): Proper error message when the root cannot
      > 	be found (e.g. in when there are cycles in the comment graph).
      > 	(kom-find-root): Ditto.
      > 	(kom-unread-root): Ditto.
      >
      > 	* swedish-strings.el,swedish-strings.el: Completed fix of 1038.
      > 	Per Starbäck, not Magnus Bark, provided the patch. Fixed that in
      > 	this file.
      >
      > 2003-05-21  David Byers  <byers@lysator.liu.se>
      >
      > 	* vars.el.in (lyskom-text-buttons): Do RFC-compliant URLs after
      > 	doing pseudo-urls since otherwise the first line will be marked
      > 	as a pseudo URL, rather than the whole thing being marked as a
      > 	real URL.
      >
      2a28,31
      > 	Fix bug 750:
      > 	* lyskom-buttons.el (kom-button-click): Pop up the menu if there
      > 	is no button action.
      >
      11c40
      < 	accepting-recommendation (patch from Magnus Bark).
      ---
      > 	accepting-recommendation (patch from Per Starbäck).
      4e9ea7ef
  25. 17 May, 2003 1 commit
    • David Byers's avatar
      Fixed bugs 986, 1038 and 1039. · f1eabad8
      David Byers authored
      Detailed changes:
      > 2003-05-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 986:
      > 	* lyskom-buttons.el (lyskom-view-url-netscape): Support
      > 	kom-netscape-variant.
      >
      > 	* vars.el.in (kom-netscape-variant): New variable.
      >
      > 	Fix bug 1038:
      > 	* swedish-strings.el,english-strings.el: Fixed problem with
      > 	accepting-recommendation (patch from Magnus Bark).
      >
      > 	Fix bug 1039:
      > 	* commands1.el (lyskom-private-answer): Misc-list for personal
      > 	replys to our own texts were wrong.
      >
      > 2003-05-10  David Byers  <byers@lysator.liu.se>
      >
      > 	Illegal argument stringp nil when listing missing texts:
      > 	* commands2.el (lyskom-do-list-summary): Fix problem when listing
      > 	texts that don't exist.
      >
      f1eabad8
  26. 09 May, 2003 1 commit
    • David Byers's avatar
      Fixed bug 868. Minor cosmetic fix. · e1148a1f
      David Byers authored
      Detailed changes:
      > 2003-05-09  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 868:
      > 	* commands2.el (kom-add-private-answer): New function.
      >
      > 	Minor usability fix:
      > 	* english-strings.el,swedish-strings.el: Clarify error-2.
      >
      e1148a1f
  27. 25 Apr, 2003 1 commit
  28. 21 Apr, 2003 1 commit
    • David Byers's avatar
      Debugging code, some bugfixes and work on bug 868. · 1357a1c0
      David Byers authored
      Detailed changes:
      > 2003-04-21  David Byers  <byers@lysator.liu.se>
      >
      > 	More work on debugging stuff:
      > 	* macros.el (lyskom-assert-error): Handle non-LysKOM-buffer
      > 	situations smarter.
      >
      > 	Work on bug 868:
      > 	* aux-items.el (mx-refuse-import): Added this aux-item.
      > 	(lyskom-print-mx-refuse-import): New function.
      >
      > 	Microfix bugfix:
      > 	* lyskom-buttons.el (lyskom-highlight-function-get-conf-stat):
      > 	Return nil when getting conf-stat in background. Fix text for
      > 	conf-z-info.
      >
      > 	Bugfix:
      > 	* commands1.el (kom-list-created-conferences): Fixed bug where we
      > 	called conf-stat->name on an uconf-stat.
      >
      1a21,37
      >
      > 	Microfix:
      > 	* lyskom-buttons.el (lyskom-highlight-function-get-conf-stat): Get
      > 	conf-stat in background if it was not cached so it will be next
      > 	time around. Also support conf-z-info.
      >
      > 	Better debugging support (would have caught bug 1013):
      > 	* komtypes.el (def-komtype): Added assertions on data type to
      > 	accessors and mutators.
      >
      > 	* macros.el (lyskom-assert): New macro.
      >
      > 	* header.el (lyskom-debug-compile): Added definition of
      > 	lyskom-debug-compile.
      >
      > 	* komtypes.el (def-komtype): Added assertions to accessor and
      > 	mutators to check type.
      1357a1c0