1. 17 Nov, 2003 1 commit
    • 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
  2. 26 Oct, 2003 2 commits
  3. 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
  4. 15 Sep, 2003 1 commit
  5. 30 Aug, 2003 4 commits
  6. 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
  7. 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
  8. 27 Aug, 2003 2 commits
  9. 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
  10. 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
  11. 24 Aug, 2003 7 commits
    • David Byers's avatar
      Updated NEWS file · 3dc05d09
      David Byers authored
      3dc05d09
    • 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
      Updated NEWS file · abb18104
      David Byers authored
      abb18104
    • 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. 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
  13. 17 Aug, 2003 6 commits
    • 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
    • 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
      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
      Make lyskom-with-external-functions work when not compiled. · f532f010
      David Byers authored
      Detailed changes:
      > 	* macros.el (lyskom-with-external-functions): Work even if
      > 	byte-compile-unresolved-functions is not bound (e.g. in
      > 	check-strings.el and when not compiled).
      >
      f532f010
    • David Byers's avatar
      Fixed format string · 6cfd9707
      David Byers authored
      6cfd9707
    • 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
  14. 16 Aug, 2003 2 commits
    • David Byers's avatar
      Support server calls 118-120. · 5ed5b142
      David Byers authored
      Detailed changes:
      > 	Support for new server calls:
      > 	* parse.el (lyskom-parse-scheduling-info): New function.
      >
      > 	* komtypes.el (scheduling-info): New datatype.
      >
      > 	* services.el (initiate-get-scheduling): New function.
      > 	(initiate-set-scheduling): New function.
      > 	(initiate-set-connection-time-format): New function.
      >
      5ed5b142
    • 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