1. 08 Jun, 2007 1 commit
  2. 14 Feb, 2005 2 commits
    • David Byers's avatar
      Fix lossage when there is no default server. · 75b45810
      David Byers authored
      Detailed changes:
      > 	Fix ugliness when default server is unset:
      > 	* startup.el (lyskom): New calling conventions for
      > 	lyskom-read-server-name.
      > 	(lyskom-read-server-name): New parameter list. Do not accept empty
      > 	input. Use initial value and magic minibuffer instead of default
      > 	value.
      >
      75b45810
    • David Byers's avatar
      Fix bug 1533 and another bug too. · f25a1a57
      David Byers authored
      Detailed changes:
      > 2005-02-14  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1533:
      > 	* commands2.el (lyskom-list-summary): Copy the read-list before
      > 	passing it to lyskom-list-text-summary.
      >
      > 2005-01-23  David Byers  <byers@lysator.liu.se>
      >
      > 	* startup.el (kom-start-anew): Init membership structures really
      > 	early since there is a race condition during first logon otherwise.
      >
      f25a1a57
  3. 09 Jan, 2005 1 commit
    • David Byers's avatar
      Documentation fixes, minor bugfixes and naming fixes. · 94506c0c
      David Byers authored
      Detailed changes:
      > 2005-01-08  David Byers  <byers@lysator.liu.se>
      >
      > 	* vars.el.in: Documentation updates in preparation for generating
      > 	DocBook from the documentation strings.
      >
      > 	* startup.el (lyskom-refetch): We were prefetching unread confs in
      > 	the reverse order, which was stupid as it slows down starting to
      > 	read and may cause us to read texts in the wrong order.
      >
      > 2005-01-07  David Byers  <byers@lysator.liu.se>
      >
      > 	* mship-edit.el (lyskom-change-membership-position): Removed
      > 	binding of old-position (it was never used).
      >
      > 	* english-strings.el (lyskom-en-edit-mode-map): Changed key
      > 	bindings to explicitly use prefixes.
      >
      > 	* swedish-strings.el (lyskom-sv-edit-mode-map): Changed key
      > 	bindings to explicitly use prefixes. Better variants of the
      > 	swedish key binding. Use lyskom-try-define-key for swedish
      > 	bindings.
      >
      > 	* edit-text.el: Updated documentation for most commands so that it
      > 	can be extracted into the user manual in the future. All commands
      > 	with the prefix `kom-edit-' are expected to be documented unless
      > 	the documentation string ends in "Excluded from manual."
      > 	(kom-ispell-message): Renamed to
      > 	kom-edit-ispell-message.
      > 	(kom-yank-info-nodename): Renamed to kom-edit-yank-info-nodename.
      >
      > 	* filter-edit.el (kom-filter-edit): Wrote docstring.
      >
      > 	* review.el: Various docstring updates (changed "text" to article
      > 	in several places).
      >
      > 	* vars.el.in (kom-unread-mode-line-type): Updated docstring.
      >
      94506c0c
  4. 04 Dec, 2004 1 commit
  5. 11 Nov, 2004 1 commit
  6. 03 Nov, 2004 1 commit
  7. 19 Oct, 2004 2 commits
  8. 15 Jul, 2004 1 commit
    • David Byers's avatar
      Clean up XEmacs compile. Fix some issues in mship-edit. Fix failure to... · a2376eaf
      David Byers authored
      Clean up XEmacs compile. Fix some issues in mship-edit. Fix failure to register all read texts. Fix problem logging in with notice.
      
      Detailed changes:
      > 2004-07-15  David Byers  <byers@lysator.liu.se>
      >
      > 	* startup.el (lyskom-refetch): Prefetch membership *after*
      > 	prefetching unread confs. This should let us get started reading
      > 	just a little quicker.
      >
      > 	* prefetch.el (lyskom-prefetch-read-texts-handler): If we get here
      > 	and already have a cached membership, then replace its read-texts
      > 	field since the membership we have may come from a call where we
      > 	didn't ask for read texts.
      >
      > 2004-07-13  David Byers  <byers@lysator.liu.se>
      >
      > 	* mship-edit.el (lp--update-buffer): Call lp--remove-from-list
      > 	with the correct parameters.
      >
      > 	Removed obsolete backwards compatibility setting:
      > 	* vars.el.in (kom-default-session-priority): Changed default
      > 	session priority to zero. By now everyone who used the old
      > 	convention of priority zero meaning passive memberships should
      > 	have saved their settings at least once, so they'll still have one
      > 	as the default. New users shouldn't be burdened (or confused) by
      > 	old baggage.
      >
      > 	Clean up XEmacs compile:
      > 	* prefetch.el (lyskom-prefetch-one-item): Eliminate compiler
      > 	warnings from XEmacs.
      >
      > 	* avltree.el (lyskom-elib-avl-enter-balance1): Eliminate compiler
      > 	warnings from XEmacs.
      >
      > 	* utilities.el (lyskom-list-text-summary): Eliminate compiler
      > 	warnings from XEmacs.
      >
      > 	Fix membership cache related bug:
      > 	* startup.el (kom-start-anew): Call lyskom-init-membership here
      > 	since a valid cache structure may be needed before we get to
      > 	lyskom-refetch.
      >
      > 	Extend status information:
      > 	* commands2.el (kom-is-person-member-of-conference): Show
      > 	membership priority.
      >
      a2376eaf
  9. 12 Jul, 2004 1 commit
    • David Byers's avatar
      Fixed a bunch of compatibility issues. · 0cf739fc
      David Byers authored
      Detailed changes:
      > 	Deal with changes in 21.4 widget package:
      > 	* option-edit.el (lyskom-create-widget): Don't mask errors when
      > 	creating the storage widget. Changed args for the storage widget
      > 	to a list.
      > 	(lyskom-widget-number-value-to-external): Convert from pretty much
      > 	anything to numbers.
      > 	(lyskom-widget-number-value-to-internal): Convert from pretty much
      > 	anything to strings.
      > 	(lyskom-ding-widget): Set values to numbers, not strings.
      > 	(lyskom-number-widget): Provide a default value.
      >
      > 	Deal with Gnu Emacs 19.34:
      > 	* menus.el (lyskom-define-menu-gnu): Use
      > 	lyskom-encode-coding-string instead of encode-coding-string.
      >
      > 	Eliminate warnings when compiling with Gnu Emacs 21.4:
      > 	* compatibility.el (function-obsolete-p): New alias.
      > 	(set-process-query-on-exit-flag): New alias.
      > 	(make-local-hook): New alias.
      > 	(lyskom-make-self-evaluating): New implementation that works in
      > 	all Emacsen yet doesn't generate warnings in 21.4
      >
      > 	* startup.el (lyskom): Use lyskom-set-process-query-on-exit
      > 	instead of process-kill-without-query.
      > 	(lyskom-setup-ssh-relay): Same here.
      >
      > 	* defvar.el (lyskom-clientversion-long): We don't treat
      > 	lyskom-clientversion-long as a constant in the rest of the code,
      > 	so let's not pretend that it is one, shall we?
      >
      > 	Work on porting kom-handle-membership to new membership cache:
      > 	* mship-edit.el (lyskom-change-membership-priority): Don't attempt
      > 	to sort the membership list. Just replace the membership in the
      > 	cache to put it in the correct position. Explicitly sort the to-do
      > 	list since we no longer call lyskom-sort-membership.
      > 	(lyskom-change-membership-position): Use lyskom-replace-membership
      > 	to move the membership in the membership list.
      >
      > 	* macros.el (lyskom-traverse-membership): Ensure that we get
      > 	lyskom-mship-cache from the right buffer.
      >
      > 	* prioritize.el: Removed lyskom-prioritize-add-membership,
      > 	lyskom-prioritize-remove-membership and
      > 	lyskom-prioritize-replace-membership. As a result the prioritize
      > 	buffer can no longer deal with new, removed and altered
      > 	memberships.
      >
      0cf739fc
  10. 11 Jul, 2004 1 commit
    • David Byers's avatar
      Major performance improvements. Minor bug fixes. · d8a8cb58
      David Byers authored
      Detailed changes:
      > 2004-07-11  David Byers  <byers@lysator.liu.se>
      >
      > 	Performance improvements:
      > 	* prefetch.el: Completely new implementation.
      >
      > 	New implementation of lyskom-membership using AVL trees:
      > 	* commands2.el (kom-list-news): Use lyskom-traverse-membership
      > 	instead of mapping over lyskom-membership.
      > 	(lyskom-update-membership-buffer): Use lyskom-traverse-membership
      > 	instead of traversing lyskom-membership
      >
      > 	* stack-m.el: New file. Copied from elib with modifications.
      >
      > 	* elib-node.el: New file. Copied from elib with modifications.
      >
      > 	* avltree.el: New file. Copied from elib with modifications.
      >
      > 	* prefetch.el (lyskom-prefetch-membership-handler): Use
      > 	lyskom-add-memberships-to-membership since this function now
      > 	maintains a sorted membership list.
      >
      > 	* reading.el (lyskom-membership-<): Moved here from lyskom-rest.el.
      > 	(lyskom-membership-length): New function.
      > 	(lyskom-init-membership): New function.
      > 	(lyskom-membership-position): New implementation.
      > 	(lyskom-remove-membership): New implementation.
      > 	(lyskom-replace-membership): New implementation.
      > 	(lyskom-insert-membership): New implementation.
      > 	(lyskom-add-memberships-to-membership): New implementation.
      > 	(lyskom-update-membership-positions): New implementation.
      > 	(lyskom-mship-cache-del): New function.
      > 	(lyskom-mship-cache-put): New function.
      > 	(lyskom-mship-cache-get): New function.
      > 	(lyskom-mship-cache-create): New function.
      > 	(lyskom-mship-cache-data): New function.
      > 	(lyskom-mship-cache-index): New function.
      > 	(lyskom-mship-cache): New variable.
      > 	(lyskom-get-membership): Moved here from lyskom-rest.el. New
      > 	implementation.
      > 	(lyskom-try-get-membership): Ditto.
      >
      > 	* commands1.el (lyskom-add-member): Reimplement position
      > 	calculation using lyskom-traverse-membership and possibly fixing a
      > 	bug along the way.
      >
      > 	* macros.el (lyskom-traverse): New implementation using catch and
      > 	no hard-coded variable names.
      > 	(lyskom-traverse-break): New implementation using throw.
      > 	(lyskom-traverse-aux): New implementation using catch and
      > 	new-style backqoutes.
      > 	(lyskom-traverse-membership): New macro.
      >
      > 	* commands1.el (kom-delete-conf): Don't manipulate
      > 	lyskom-membership directly.
      > 	(lyskom-add-member): Ditto.
      >
      > 	* startup.el (lyskom-set-membership): Removed. Not used.
      > 	(lyskom-clear-vars): Don't save lyskom-membership or
      > 	lyskom-membership-is read. They're overwritten anyway.
      >
      > 	* macros.el (lyskom-with-lyskom-buffer): New macro.
      >
      > 2004-06-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix a bug where texts were not marked as read when they got a new
      > 	recipient and also weren't placed in the read-list:
      > 	* view-text.el (lyskom-mark-as-read): Use lyskom-recpt-types-list
      > 	instead of hard-coding the list.
      >
      > 	* async.el (lyskom-async-new-recipient): When processing a new
      > 	recipient, call mark-as-read with the text's local number, not
      > 	it's global number.
      >
      d8a8cb58
  11. 29 Feb, 2004 1 commit
    • David Byers's avatar
      Don't lose unknown settings. Store client version with settings. Perhaps fixed... · e625f4ff
      David Byers authored
      Don't lose unknown settings. Store client version with settings. Perhaps fixed bug 744. Better content-type decoding.
      
      Detailed changes:
      > 2004-02-29  David Byers  <byers@lysator.liu.se>
      >
      > 	* macros.el (lyskom-mime-content-type-get): Moved here from
      > 	mime.el.
      > 	(lyskom-mime-content-type): Moved here from mime.el.
      >
      > 	Fix bug 744 (I think):
      > 	* flags.el (lyskom-save-options): Save unknown variables too.
      > 	(lyskom-save-options): Encode variable names too. Despite them
      > 	being all ASCII, Emacs will sometimes think one is a multibyte
      > 	string, and then convert everything back to multibyte format,
      > 	which will break the user area. Refuse to save if any part of the
      > 	user area is a multibyte string.
      >
      > 	Don't throw away contents of unknown variables:
      > 	* vars.el.in (lyskom-saved-unknown-variables): New variable.
      > 	(lyskom-settings-version): New variable.
      >
      > 	* flags.el (kom-copy-options): Don't discard unknown variables.
      >
      > 	* startup.el (kom-start-anew): Tell the user that unknown
      > 	variables may be due to changing client versions (if settings were
      > 	saved in a different version than we're running right now).
      >
      > 	* flags.el (kom-save-options): Accept prefix argument to delete
      > 	unknown variables.
      >
      > 	* async.el (lyskom-async-new-user-area): Tell the user when
      > 	re-reading settings from the server. Don't discard unknown
      > 	variables.
      >
      > 	* flags.el (lyskom-read-options-eval): The list of ignored
      > 	variables is an alist of name and value.
      >
      > 	* startup.el (kom-start-anew): lyskom-read-flags now returns a
      > 	alist for ignored variables. Don't discard unknown variables.
      >
      > 2004-02-28  David Byers  <byers@lysator.liu.se>
      >
      > 	Prepare for dealing with format=flowed texts:
      > 	* komtypes.el (text->decoded-text-mass): Use new content-type
      > 	functions and format.
      >
      > 	* edit-text.el (lyskom-edit-send): Use new content-type functions
      > 	and format.
      >
      > 	* mime.el (lyskom-mime-decode-content-type): Rewrote to handle
      > 	arbitrary parameters to the content type.
      > 	(lyskom-mime-content-type): New function.
      > 	(lyskom-mime-content-type-get): New function.
      >
      2a54
      > 	Fix bug 1281 and related issues:
      e625f4ff
  12. 21 Feb, 2004 1 commit
    • David Byers's avatar
      Fixed bug 1276 · d7ea496a
      David Byers authored
      Detailed changes:
      > 2004-02-22  David Byers  <byers@lysator.liu.se>
      >
      > 	* option-edit.el: Added kom-auto-confirm-new-conferences to the
      > 	settings buffer.
      >
      2a8,13
      > 	Fix bug 1276:
      > 	* startup.el (lyskom-setup-ssh-relay): Use kom-ssh-command instead
      > 	of hardcoding the ssh command name.
      >
      > 	* vars.el.in (kom-ssh-command): New variable.
      >
      20c31
      <
      ---
      >
      d7ea496a
  13. 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
  14. 25 Aug, 2003 1 commit
    • 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
  15. 17 Aug, 2003 3 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
      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
  16. 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
  17. 13 Aug, 2003 1 commit
    • David Byers's avatar
      Probably fixed bug 1078. Worked on bug 1075. · 2db56f73
      David Byers authored
      Detailed changes:
      > 	Work on bug 1075:
      > 	* parse.el (lyskom-parse-static-server-info): New function.
      >
      > 	* services.el (initiate-get-boottime-info): New function.
      >
      > 	* vars.el.in (lyskom-static-server-info): New variable.
      >
      > 	* komtypes.el (static-server-info): New type.
      >
      > 	Fix bug 1078:
      > 	* vars.el.in (lyskom-global-variable-types): Change read of
      > 	integer.
      > 	(kom-default-mark): Put this both in the common area and the elisp
      > 	area. This is a good thing when we set it to values that are not
      > 	legal according to the protocol specification.
      >
      > 	* flags.el (lyskom-flag-read-integer): When reading integers,
      > 	accept nil too.
      >
      2db56f73
  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. 27 Jul, 2003 1 commit
    • 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
  20. 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
  21. 16 Mar, 2003 2 commits
    • David Byers's avatar
      Fixed language bug. Fixed bug 260 (ask for unread when joining). · 37ce0144
      David Byers authored
      Detailed changes:
      > 	Fix bug 260:
      > 	* commands1.el (kom-add-self): Ask for number of unread.
      > 	 (lyskom-try-add-member): Show no-of-unread in text.
      > 	 (lyskom-add-member-answer): Set unread if requested.
      >
      > 	* lyskom-rest.el (lyskom-read-num-range-or-date): Added initial,
      > 	empty and default arguments.
      >
      > 	Language-dependent variables were set incorrectly in all but the
      > 	first session:
      > 	* startup.el (kom-start-anew): Unconditionally set the language,
      > 	even if it looks like we're already on the right page.
      >
      > 	* language.el (lyskom-set-language-vars): When setting the
      > 	language globally, muck with the default values of variables too.
      >
      37ce0144
    • 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
  22. 06 Jan, 2003 1 commit
    • David Byers's avatar
      Handle async-new-user-area message. Fixed parsing of text-mapping. · 7e7857db
      David Byers authored
      Detailed changes:
      > 	Handle async-new-user-area message:
      > 	* startup.el (lyskom-accept-async): Accept async 19.
      >
      > 	* async.el (lyskom-parse-async): Parse async type 19. Update
      > 	pers-stat based on results.
      > 	(lyskom-async-new-user-area): New function updates cache and
      > 	re-reads options if necessary.
      > 	(lyskom-parse-async): Call it.
      >
      > 	* flags.el (lyskom-read-options-eval): Set
      > 	lyskom-current-user-area.
      >
      > 	* vars.el.in (lyskom-current-user-area): New variable.
      >
      > 	* flags.el (lyskom-save-options-3): Don't delete the person from
      > 	the cache; just set the user-area. Set lyskom-current-user-area.
      >
      > 	* komtypes.el (pers-stat): user-area is no longre read-only.
      >
      > 	Fix parse of text-mapping (I thought I did this a year ago):
      > 	* parse.el (lyskom-parse-list): Read the terminating brace in the
      > 	list.
      > 	(lyskom-parse-local-to-global-block): The array length is a
      > 	number, not a string.
      >
      7e7857db
  23. 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
  24. 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
  25. 01 Jan, 2003 1 commit
    • David Byers's avatar
      Work on new face code. Face schemes are out and face variables are · 5b04897f
      David Byers authored
      in. This means that you can have different settings for different
      sessions and servers. Your old settings should do nothing useful any
      more. Everything will be customizable through kom-customize, but
      that's not done yet.
      
      You should restart Emacs to load these changes. Attempting to load
      over a running elisp client will probably only lead to grief.
      
      This commit has not been tested very much. You have been warned.
      
      
      Detailed changes:
      > 	Work on new face code:
      > 	* view-text.el (lyskom-view-text): Send evaluated face properties
      > 	to lyskom-format.
      > 	(lyskom-print-text): Ditto.
      >
      > 	* utilities.el (lyskom-check-configuration): Send evaluated face
      > 	properties to lyskom-format.
      >
      > 	* startup.el (lyskom): Send evaluated face properties to
      > 	lyskom-format.
      >
      > 	* commands2.el (kom-status-conf): Send evaluated face properties
      > 	to lyskom-format.
      > 	(kom-status-person): Ditto.
      > 	(lyskom-send-message): Ditto.
      > 	(kom-obsolete-extended-command-binding): Ditto.
      >
      > 	* commands1.el (kom-delete-text): Send evaluated face properties
      > 	to lyskom-format.
      >
      > 	* async.el (lyskom-show-logged-in-person): Send evaluated face
      > 	properties to lyskom-format.
      > 	(lyskom-show-logged-out-person): Ditto.
      > 	(lyskom-format-as-personal-message): Ditto.
      >
      > 	* check-strings.el (lyskom-check-strings): Removed all
      > 	face-related goop.
      >
      > 	* vars.el.in: Removed all face-related goop.
      >
      > 	* faces.el: New file.
      >
      > 	* startup.el (lyskom): Call lyskom-setup-faces-for-buffer, not
      > 	lyskom-setup-faces.
      >
      > 	* option-edit.el (kom-customize): Evaluate face variables instead
      > 	of quoting face names.
      >
      > 	* mship-edit.el (lp--format-entry): Evaluate face variables
      > 	instead of quoting face names.
      > 	(lp--redraw-entry-mark): Ditto.
      >
      > 	* lyskom-rest.el (kom-next-command): Evaluate face variables
      > 	instead of quoting face names
      > 	(lyskom-format-aux-help): Ditto.
      >
      > 	* lyskom-buttons.el (lyskom-button-add-links): Evaluate face
      > 	variable kom-url-face instead of quoting face name.
      > 	(lyskom-button-get-face): Evaluate the face found for the button
      > 	type.
      > 	(lyskom-generate-button): Evaluate face variables instead of
      > 	quoting face names
      > 	(lyskom-default-button): Ditto.
      >
      > 	* keyboard-menu.el (lyskom-keyboard-menu-highlight-selected):
      > 	Evaluate face variable, instead of quoting face name
      > 	kom-mark-face.
      >
      > 	More flexible date parser:
      > 	* utilities.el (lyskom-all-prefixes): New function.
      > 	(lyskom-parse-date): Permit prefixes for "days", "years",
      > 	"months". Allow whitespace before and after input. Do not require
      > 	minus sign when specifying number of days. Do not require
      > 	whitespace separators in several places. Permit spaces around
      > 	separators. Accept space as a separator.
      >
      5b04897f
  26. 16 Dec, 2002 1 commit
    • Ulrik Haugen's avatar
      Hoppas det här inte krockar med något David redan fixat... · 5427fd68
      Ulrik Haugen authored
              * startup.el (lyskom-read-server-name): Updated docstring wrt.
      	kom-builtin-server-aliases.
      
      	* lyskom-rest.el (lyskom-update-prompt, lyskom-format-prompt)
      	(lyskom-mode-name-from-host): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* commands2.el (kom-modeline-select-unread-kom)
      	(kom-status-server): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      
      	* async.el (lyskom-show-logged-in-person)
      	(lyskom-show-logged-out-person): Use both kom-server-aliases and
      	kom-builtin-server-aliases.
      5427fd68
  27. 13 Dec, 2002 1 commit
    • David Byers's avatar
      > Bug 915: · dda69a38
      David Byers authored
      > 	* vars.el.in (kom-builtin-server-aliases): Renamed from
      > 	kom-server-aliases.
      > 	(kom-server-aliases): New variable.
      >
      > 	* startup.el (lyskom-read-server-name): Use both
      > 	kom-server-aliases and kom-builtin-server-aliases.
      > 	(lyskom): Same here.
      >
      > 	Fix obsoleteness:
      dda69a38
  28. 20 Oct, 2002 1 commit
  29. 18 Sep, 2002 1 commit
  30. 12 Aug, 2002 1 commit
  31. 06 Aug, 2002 1 commit
  32. 01 Aug, 2002 1 commit
  33. 30 Jul, 2002 1 commit
  34. 29 Jul, 2002 1 commit
  35. 22 Jun, 2002 1 commit