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. 16 Dec, 2003 1 commit
  3. 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
  4. 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
  5. 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
  6. 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
  7. 03 Dec, 2003 2 commits
  8. 17 Nov, 2003 3 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
    • David Byers's avatar
      Fixed bug 1132. Fixed bug 1140 and similar problems. Minor bug fixes. · 1097cc30
      David Byers authored
      Detailed changes:
      > 2003-11-17  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1132:
      > 	* commands2.el (lyskom-list-new-conferences): Made this function
      > 	asynchronous. Use lyskom-get-conf-stat since there's a good
      > 	chance, shortly after release at any rate, that this command will
      > 	cause an explosion of get-conf-stats anyway (when the client gets
      > 	the conf-stat in order to display the presentation status).
      >
      > 2003-11-14  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1140:
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): Added items to
      > 	this list corresponding to commands that have non-standard
      > 	defaults, since these were ignored.
      >
      > 	* faqs.el (kom-add-faq): Don't pass DEFAULT to
      > 	lyskom-read-text-no-prefix-arg (the default made little sense
      > 	anyway).
      > 	(kom-add-server-faq): Same here.
      >
      > 	* commands1.el (kom-set-presentation): Don't pass DEFAULT to
      > 	lyskom-read-text-no-prefix-arg (the default made little sense
      > 	anyway).
      > 	(kom-set-motd-text): Same here.
      >
      > 2003-09-21  David Byers  <byers@lysator.liu.se>
      >
      > 	* commands1.el (lyskom-read-mark-type): Improve handling of empty
      > 	string entered as mark type.
      >
      > 2003-09-17  David Byers  <byers@lysator.liu.se>
      >
      > 	* cache.el (lyskom-tell-server): Never, ever, send nil to
      > 	change-what-i-am-doing since this causes a protocol error.
      >
      1097cc30
  9. 26 Oct, 2003 2 commits
  10. 23 Oct, 2003 1 commit
    • Joel Rosdahl's avatar
      Fix bug 1137: · 777abb7b
      Joel Rosdahl authored
      * commands1.el (lyskom-read-mark-type): Handle empty
      input correctly.
      777abb7b
  11. 15 Sep, 2003 1 commit
  12. 30 Aug, 2003 3 commits
    • Johan Sundström's avatar
    • David Byers's avatar
      Fixed bug 1101. · bbebae45
      David Byers authored
      Detailed changes:
      > 	Fix bug 1101:
      > 	* komtypes.el (text-list->trim-head): The new length was computed
      > 	incorrectly, leading to problems if this function was called
      > 	without intervening calls to functions that corrected the error.
      >
      bbebae45
    • David Byers's avatar
      Fixed bug 1131. · b60afe50
      David Byers authored
      Detailed changes:
      > 2003-08-30  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1131:
      > 	* parse.el (lyskom-init-parse): Inherit inheritable variables from
      > 	lyskom-buffer since the parsers may depend on them.
      >
      b60afe50
  13. 29 Aug, 2003 1 commit
    • David Byers's avatar
      Fixed problem filling messages. · 003d7be3
      David Byers authored
      Detailed changes:
      > 2003-08-29  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-fill-message): Don't kill the last char.
      >
      003d7be3
  14. 28 Aug, 2003 4 commits
    • Ulrik Haugen's avatar
      * vars.el.in (kom-builtin-server-aliases, kom-server-aliases): Fix · 13fb699b
      Ulrik Haugen authored
      documentation string ((NICKNAME . SERVER) -> (SERVER . NICKNAME)).
      13fb699b
    • 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
  15. 27 Aug, 2003 2 commits
  16. 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
  17. 25 Aug, 2003 6 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
    • David Byers's avatar
      Updates to language handling. Fixed data type bug. · 01fdd7b0
      David Byers authored
      Detailed changes:
      > 2003-08-25  David Byers  <byers@lysator.liu.se>
      >
      > 	* startup.el (kom-start-anew): Use lyskom-default-language instead
      > 	of kom-default-language to set the initial language for the
      > 	session.
      >
      > 	* lyskom-rest.el (lyskom-is-loaded): Changed initialization of
      > 	language variables to use new function in language.el. Also do not
      > 	alter kom-default-language unless it was nil to begin with.
      > 	Convert kom-default-language from symbol to list if necessary.
      >
      > 	* language.el (lyskom-language-from-environment): Moved here from
      > 	lyskom-rest.el.
      > 	(lyskom-default-language): New function.
      >
      > 	* completing-read.el (lyskom-read-conf-internal): We use
      > 	uconf-stats internally, so don't use conf-stat accessors.
      >
      01fdd7b0
    • David Byers's avatar
      > Fix problems entering conferences in the edit buffer: · 0159b7d5
      David Byers authored
      >       * completing-read.el (lyskom-default-conference-saved): Read the
      >       value of lyskom-read-conf-saved-inputs in the LysKOM buffer.
      >       (lyskom-read-conf-save-input): Same here.
      >       (lyskom-get-initial-conf-strategy): Print warning about missing
      >       strategy in LysKOM buffer.
      >
      >       * vars.el.in (lyskom-read-conf-saved-inputs): Moved here from
      >       completing-read.el and made it buffer-local.
      >
      >       * completing-read.el (lyskom-read-conf): Create dynamic binding of
      >       lyskom-current-command to lyskom-current-command or this-command
      >       so lyskom-read-conf-guess-initial has good data to operate on even
      >       if this-command is changed during execution of lyskom-read-conf.
      0159b7d5
    • David Byers's avatar
      > 2003-08-25 David Byers <davby@ida.liu.se> · 65115ed7
      David Byers authored
      >
      >       * vars.el.in (lyskom-last-personal-message-sender): Default to
      >       nil.
      >       (lyskom-last-group-message-recipient): Default to nil.
      >
      >       * commands2.el (lyskom-default-conference-for-send-message):
      >       Return nil when there is no suitable recipient.
      65115ed7
    • David Byers's avatar
      Fixed bug in lyskom-filter-message-handler. · fd572ec6
      David Byers authored
      Detailed changes:
      > 2003-08-25  David Byers  <byers@lysator.liu.se>
      >
      > 	Fixed assertion failure when receiving broadcast messages:
      > 	* messages.el (lyskom-filter-message-handler): Filtering on
      > 	recipient used checks on sender. Filtering worked most of the time
      > 	anyway.
      >
      fd572ec6
  18. 24 Aug, 2003 5 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
      Added missing commands to lyskom-default-conference-strategy. · f86be15f
      David Byers authored
      Detailed changes:
      > 	* commands1.el (kom-status-session): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      >
      > 	* commands2.el (kom-force-logout): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      >
      > 	* remote-control.el (kom-remote-autoreply): Pass prompt to
      > 	lyskom-read-session-no as symbol.
      > 	(kom-remote-set-message): Same.
      > 	(kom-remote-list-messages): Same.
      > 	(kom-remote-erase-messages): Same.
      > 	(kom-remote-quit): Same.
      >
      f86be15f
    • 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
    • David Byers's avatar
      Ask about keep-commented when creating a conference. · 0ebcc450
      David Byers authored
      Detailed changes:
      > 	* commands1.el (kom-create-conf): Ask about keep-commented when
      > 	creating conference.
      >
      0ebcc450
    • 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
  19. 20 Aug, 2003 2 commits
    • David Byers's avatar
      More work on bug 459. · 30420195
      David Byers authored
      Detailed changes:
      > 	More work on bug 459:
      > 	* vars.el.in (lyskom-default-conference-strategy): Documented this
      > 	variable.
      >
      30420195
    • David Byers's avatar
      Support saving input in lyskom-read-conf (work on bug 459) · d9e0d204
      David Byers authored
      Detailed changes:
      > 2003-08-20  David Byers  <byers@lysator.liu.se>
      >
      > 	Support saving most recent input:
      > 	* completing-read.el (lyskom-read-conf-saved-inputs): New
      > 	variable.
      > 	(lyskom-read-conf-save-input): New function.
      > 	(lyskom-read-conf): Call it to save user input.
      > 	(lyskom-read-conf-guess-initial): Support arguments to strategy
      > 	functions.
      > 	(lyskom-default-conference-saved): New function.
      >
      d9e0d204
  20. 17 Aug, 2003 1 commit
    • David Byers's avatar
      Fix bug 1044, maybe. · c76671ae
      David Byers authored
      Detailed changes:
      > 	Fix bug 1044:
      > 	* lyskom-buttons.el (lyskom-view-url-windows): Protect execution
      > 	of w32-shell-execute from errors (e.g. caused by bad settings).
      > 	(lyskom-view-url-windows): Added a bunch of paths to iexplore.exe.
      >
      c76671ae