1. 11 Nov, 2004 1 commit
  2. 29 Oct, 2004 2 commits
  3. 19 Oct, 2004 1 commit
  4. 20 Jul, 2004 1 commit
    • David Byers's avatar
      More membership buffer improvements. · 5e6c884b
      David Byers authored
      Detailed changes:
      > 2004-07-20  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-enter-conf): Update the membership buffer
      > 	when going to a conference.
      >
      > 	* commands1.el (lyskom-go-to-empty-conf): Update the membership
      > 	buffer when going to a conference.
      >
      > 	Improve handling of hidden entries in mship-edit:
      > 	* mship-edit.el (lp--entry-set-visible): New function that handles
      > 	bookkeeping for visibility.
      > 	(lp--update-mode-line): Compute hidden information.
      > 	(lp--mode-line-hidden): New variable.
      > 	(lp--mode-line): Show number of hidden. Don't show modified
      > 	status (what would the point be).
      > 	(lp--entry-filter-after): New function.
      > 	(lp--entry-filter-before): New function.
      > 	(lp--show-all): New implementation. Moved.
      > 	(lp--show-hide-memberships-by-date): New implementation.
      > 	(lp--show-hide-read-memberships): New command.
      > 	(lp--show-hide-passive-memberships): New command.
      > 	(lp--mode): Set some local vars to nil on entry to mode.
      > 	(lp--apply-entry-filter): Preserve cursor position.
      > 	(lp--replace-entry-filter): New function.
      >
      > 	Fixed some remaining places where unreads weren't updated:
      > 	* clienttypes.el (read-list-enter-first): Maybe update unreads in
      > 	membership buffer.
      > 	(set-read-list-del-first): Same here
      > 	(set-read-list-empty): Same here
      >
      5e6c884b
  5. 19 Jul, 2004 1 commit
    • David Byers's avatar
      Update unreads in membership buffer. Position cursor correctly at end of command. · 1dcdc47e
      David Byers authored
      Detailed changes:
      > 2004-07-19  David Byers  <byers@lysator.liu.se>
      >
      > 	Nicen up lyskom-end-of-command:
      > 	* command.el (def-kom-command): Use make-symbol, not intern, to
      > 	get an uninterned symbol for the macro. Added winsym to save
      > 	selected window.
      > 	(def-kom-emacs-command): Ditto.
      > 	(def-kom-command): Select the correct window for
      > 	lyskom-end-of-command so point can be moved to the end of the
      > 	prompt in that window.
      > 	(def-kom-emacs-command): Same here.
      >
      > 	Fix problem tracking unreads in membership buffer:
      > 	* clienttypes.el (read-list-enter-text): When updating unreads,
      > 	pass conf-no, not conf-stat, to lp--maybe-update-unreads.
      >
      1dcdc47e
  6. 18 Jul, 2004 1 commit
    • David Byers's avatar
      Membership-related improvements and bug fixes · 595e3bef
      David Byers authored
      Detailed changes:
      > 	* reading.el (lyskom-membership-list-move): Return non-nil if
      > 	moved.
      > 	(lyskom-replace-membership): Sort the to-do list if the membership
      > 	moved.
      >
      > 	* mship-edit.el (lp--update-buffer): Use regular save-excursion
      > 	around the complete function, not lp--save-excursion.
      >
      > 	* reading.el (lyskom-replace-membership): Make it actually work.
      >
      > 	* lyskom-rest.el (lyskom-binsearch-internal): Use elt, not aref,
      > 	so the thing can work on lists too -- searching for elt n in C is
      > 	a lot faster than linear search in lisp.
      > 	(lyskom-binsearch): Accept comparison function.
      > 	(lyskom-binsearch-internal): User-supplied comparison function.
      >
      > 	* mship-edit.el (lp--mode-map): Added bindings for M-up and
      > 	M-down (same as M-p and M-n).
      > 	(lp--do-select-priority): Prompt for priority (defaults to
      > 	priority of current entry)
      > 	(lp--mode-map): M-# now bound to lp--deselect-priority
      > 	(lp--mode-map): M-w now bound to lp--select-region (my fingers
      > 	refuse to hit C-w when I don't want text to be deleted)
      > 	(lp--mode-map): Bound <home> and <end>
      > 	(lp--expand-entry): New function. Replaces lp--expand-all
      > 	(lp--contract-entry): New function. Replaces lp--contract-all
      >
      595e3bef
  7. 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
  8. 26 Jun, 2004 1 commit
    • David Byers's avatar
      Speed up lyskom-get-membership (a lot) · 896bc0ae
      David Byers authored
      Detailed changes:
      > 	* reading.el (lyskom-add-memberships-to-membership): Use
      > 	lyskom-membership-table.
      > 	(lyskom-insert-memberships-in-membership): Ditto.
      > 	(lyskom-do-insert-membership): Ditto.
      > 	(lyskom-do-remove-membership): Ditto.
      >
      > 	Speed up lyskom-get-membership (a lot):
      > 	* lyskom-rest.el (lyskom-membership-table): New variable
      > 	(lyskom-membership-table-add): New function.
      > 	(lyskom-membership-table-del): New function.
      > 	(lyskom-try-get-membership): Use lyskom-membership-table.
      >
      896bc0ae
  9. 30 May, 2004 1 commit
    • David Byers's avatar
      Fix bug 1326. · c6bb209f
      David Byers authored
      Detailed changes:
      > 2004-05-26  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1326:
      > 	* lyskom-rest.el (lyskom-format-html-plaintext): Corrected
      > 	arguments to lyskom-button-transform-text.
      >
      c6bb209f
  10. 25 May, 2004 1 commit
    • David Byers's avatar
      Fontify non-formatted HTML. Support w3m. Better randomization of ports for... · 4756d7ea
      David Byers authored
      Fontify non-formatted HTML. Support w3m. Better randomization of ports for ssh. More robust formatting of text number.
      
      Detailed changes:
      > 2004-05-25  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-format-aux-help): Handle non-integer
      > 	(i.e. floating point) numbers somewhat more gracefully.
      >
      > 2004-05-23  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-buttons.el (kom-button-click): Support w3m links.
      >
      > 	Support w3m; fontify urls when not rendering html:
      > 	* lyskom-rest.el (lyskom-w3m-region): New function.
      > 	(lyskom-w3-region): Use lyskom-render-html-region.
      > 	(lyskom-render-html-region): New function.
      > 	(lyskom-format-htmal-plaintext): New function.
      > 	(lyskom-format-html): Made generic.
      > 	(lyskom-format-html-w3): New function.
      > 	(lyskom-format-html-w3m): New function.
      >
      > 	* vars.el.in (lyskom-format-special): When HTML formatting is off,
      > 	fontify URLs and stuff.
      >
      > 	* lyskom-rest.el (w3-fetch): Don't call w3-finish-drawing. It used
      > 	to be necessary, but now it causes the client to hang.
      > 	(smiley-region): Support a stack of formatting functions.
      >
      > 2004-05-12  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1320:
      > 	* lyskom-rest.el (lyskom-is-loaded): Seed the randomizer.
      >
      4756d7ea
  11. 03 May, 2004 1 commit
    • David Byers's avatar
      Rewrote lyskom-read-text-no-prefix-arg. Fixed bugs. · 619994dc
      David Byers authored
      Detailed changes:
      > 2004-05-02  David Byers  <byers@lysator.liu.se>
      >
      > 	* utilities.el (lyskom-eq-dash): New function.
      > 	(lyskom-tnpa-prompt): New function.
      > 	(lyskom-tnpa-valid): New function.
      > 	(lyskom-tnpa-add-property): New function.
      > 	(lyskom-tnpa-text-no): New function.
      > 	(lyskom-tnpa-text-property): New function.
      > 	(lyskom-tnpa-apply-strategy): New function.
      > 	(lyskom-read-text-no-prefix-arg): Reimplementation.
      > 	(lyskom-maybe-get-commented-text): Emptied parameter list.
      > 	(lyskom-maybe-get-footnoted-text): Ditto.
      > 	(lyskom-get-explicit-text): Removed.
      > 	(lyskom-get-command-specified-default-text): Removed.
      > 	(lyskom-get-last-read-text): Removed parameters.
      > 	(lyskom-get-previous-text): Ditto. Get value from LysKOM buffer,
      > 	not current buffer.
      > 	(lyskom-get-text-at-point): Removed parameters. No error message
      > 	returned from here.
      > 	(lyskom-get-text-at-point-ancestor): Removed optional parameters.
      > 	No error reporting by returning strings; signal instead.
      > 	(lyskom-prompt-for-text-no): Removed.
      > 	(lyskom-get-last-text-written-by-me): Removed optional parameters.
      > 	(lyskom-get-last-written-or-read-by-me): Ditto.
      > 	(lyskom-get-text-above-point): Ditto.
      > 	(lyskom-get-text-below-point): Ditto.
      > 	(lyskom-get-text-below-point): New heuristic. Positiv arg higher
      > 	than 20 is treated literally.
      >
      > 	* vars.el.in (kom-pick-text-no-strategy-alist): New format.
      > 	(kom-old-farts-text-prompt-strategy): New format.
      >
      > 	* commands2.el (kom-add-no-comments): Removed params from
      > 	lyskom-read-text-no-prefix-arg.
      > 	(kom-add-private-answer): Ditto.
      > 	(kom-add-request-confirm): Ditto.
      > 	(kom-will-person-read-text): Ditto.
      > 	(kom-compare-texts): Ditto.
      > 	(kom-diff-texts): Ditto.
      >
      > 	* commands1.el (kom-view-previous-commented-text): Removed params
      > 	from lyskom-read-text-no-prefix-arg.
      > 	(kom-unread-previous-commented-text): Ditto.
      > 	(kom-write-footnote): Ditto.
      > 	(kom-comment-previous): Ditto.
      > 	(kom-private-answer-previous): Ditto.
      > 	(kom-set-presentation): Ditto.
      > 	(kom-set-motd-text): Ditto.
      > 	(lyskom-add-cross-reference): Ditto.
      >
      > 2004-04-28  David Byers  <byers@lysator.liu.se>
      >
      > 	* services.el (initiate-get-part-of-membership): Get the first
      > 	read range so we can figure out the last read text.
      >
      > 2004-04-27  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-buttons.el (lyskom-button-unread-text): New function.
      >
      > 	* vars.el.in (lyskom-text-buttons): Added rtsp urls.
      >
      > 2004-04-11  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-save-text): Fix bug 1307.
      >
      619994dc
  12. 29 Feb, 2004 6 commits
    • David Byers's avatar
      Updated regexps. Put / back as a delimiter. · 9dd650f1
      David Byers authored
      Detailed changes:
      > 	* lyskom-rest.el (lyskom-format-plaintext-fonts-body): Updated
      > 	revexp to reduce false positives.
      > 	(lyskom-format-plaintext-fonts-body): More features. Put / back
      > 	again, but only if it's near decent delimiters.
      >
      9dd650f1
    • David Byers's avatar
      Settings for fontification. · 9acfc925
      David Byers authored
      Detailed changes:
      > 	Make fontification turn-offable:
      > 	* option-edit.el (lyskom-customize-buffer-format): Added
      > 	kom-text-properties and kom-fontify-text.
      > 	(lyskom-custom-variables): Same here.
      >
      > 	* vars.el.in (kom-fontify-text): New variable.
      > 	(kom-text-properties): Make server-stored by default.
      >
      9acfc925
    • David Byers's avatar
      More fontification tweaks · f19296c5
      David Byers authored
      Detailed changes:
      > 	Better fontification code:
      > 	* lyskom-rest.el: (lyskom-format-plaintext-fonts-body): New macro.
      > 	For internal use only.
      > 	(lyskom-format-plaintext-fonts): Don't use / as an italics
      > 	delimiter.
      >
      f19296c5
    • David Byers's avatar
      Better fontifying regexp. · 30f914a6
      David Byers authored
      Detailed changes:
      30f914a6
    • David Byers's avatar
      Fix bug 1282. Boldify, underlinify and italicify text. · 707efe1a
      David Byers authored
      Detailed changes:
      > 	Fix bug 1282:
      > 	* services.el (initiate-query-read-texts): Call correct membership
      > 	parser. Use new names.
      > 	(initiate-get-membership): Ditto.
      > 	(initiate-get-part-of-membership): Ditto.
      >
      > 	* parse.el (lyskom-parse-membership-10) New name.
      > 	(lyskom-parse-membership-list-10): New name.
      >
      > 	Goofing off:
      > 	* lyskom-rest.el (lyskom-format-plaintext-fonts): New function.
      >
      707efe1a
    • 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
  13. 22 Feb, 2004 2 commits
    • David Byers's avatar
      Eliminate warnings in XEmacs. · 55a889f2
      David Byers authored
      Detailed changes:
      > 	Clean up for XEmacs:
      > 	* lyskom-rest.el (lyskom-startup-check-recommended-memberships):
      > 	Don't bind pers-stat. It's not used.
      > 	(smiley-region): Don't bind plaintext. It's not used.
      > 	(lyskom-fill-message): Suppress warning about variable timer.
      >
      > 	* defvar.el (def-kom-var): Don't ever do a null doc-string. XEmacs
      > 	will complain quite loudly.
      >
      55a889f2
    • David Byers's avatar
      Refactored the code that controls adding memberships to eliminate · c3e8f21f
      David Byers authored
      duplicated code in callers, to simplify callers and to make sure that
      the appropriate questions were asked in the appropriate order at the
      appropriate time regardless how one joins a conference.
      
      Detailed changes:
      > 	Fix new bug in kom-is-person-member-of-conference:
      > 	* lyskom-rest.el (lyskom-get-read-texts-for-membership): Removed
      > 	this function again. It isn't used anywhere any more.
      >
      > 	* commands2.el (kom-is-person-member-of-conference): Don't use
      > 	lyskom-get-read-texts-for-membership. Don't need it.
      >
      > 	Refactoring of adding members to simplify all callers:
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Use lyskom-add-member
      > 	to add self when going to a conference we have been invited to or
      > 	need to depassivate.
      > 	(lyskom-startup-check-recommended-memberships): Use
      > 	lyskom-add-member to accept recommendations.
      >
      > 	* commands1.el (lyskom-add-member): New function.
      > 	(kom-add-self): Use lyskom-add-member.
      > 	(kom-add-member): Use lyskom-add-member.
      > 	(lyskom-add-member-by-no): Use lyskom-add-member.
      > 	(lyskom-go-to-conf): Don't ask for number of unread here.
      > 	(lyskom-add-member-answer): Removed this junk.
      > 	(lyskom-try-add-member): Removed this junk too.
      > 	(kom-change-priority): Use lyskom-add-member. Refuse to change
      > 	priority of passive memberships.
      >
      c3e8f21f
  14. 21 Feb, 2004 1 commit
    • David Byers's avatar
      Fixed bug 1250. I hope. · bb7aca6f
      David Byers authored
      Detailed changes:
      > 2004-02-21  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1250:
      > 	* view-text.el (lyskom-text-read-at-least-once-p): Don't consider
      > 	passive memberships.
      > 	(lyskom-text-read-p): Same here.
      >
      > 	* services.el (initiate-get-part-of-membership): Don't get read texts.
      >
      > 	* lyskom-rest.el (lyskom-get-read-texts-for-membership): New
      > 	function.
      >
      > 	* commands2.el (kom-is-person-member-of-conference): Use it here.
      >
      bb7aca6f
  15. 26 Jan, 2004 1 commit
    • David Byers's avatar
      Use modern calls for get-membership. Fix bug 1259. Make review state buffer-local. · b4bfa57a
      David Byers authored
      Detailed changes:
      > 2004-01-26  David Byers  <byers@lysator.liu.se>
      >
      > 	* vars.el.in (lyskom-format-special): Explicitly format plaintext
      > 	types.
      >
      > 	* lyskom-rest.el (smiley-region): New function.
      > 	(smiley-region): Use it. Clean up some of the code.
      >
      > 2004-01-13  David Byers  <byers@lysator.liu.se>
      >
      > 	* review.el: Made all state variables (for kom-review-more)
      > 	buffer-local.
      >
      > 2004-01-12  David Byers  <byers@lysator.liu.se>
      >
      > 	* services.el (initiate-get-membership): Use call 108 when
      > 	possible.
      > 	(initiate-get-part-of-membership): Same here.
      >
      > 	* parse.el (lyskom-parse-membership-list-11): New function.
      >
      b4bfa57a
  16. 01 Jan, 2004 1 commit
    • David Byers's avatar
      Keyboard shortcuts using swedish chars in menus. Make language selection... · f52621b4
      David Byers authored
      Keyboard shortcuts using swedish chars in menus. Make language selection options clearer in the menus.
      
      Detailed changes:
      > 2004-01-01  David Byers  <byers@lysator.liu.se>
      >
      > 	* menus.el (lyskom-define-menu-xemacs): Try to use swedish
      > 	characters rather than brackets and braces for bindings that have
      > 	both.
      > 	(lyskom-define-menu-gnu): Same here.
      >
      > 	* utilities.el (lyskom-traverse-keymap): New function.
      >
      > 	* compatibility.el (map-keymap): More fixes.
      >
      > 	* menus.el (lyskom-menu-guess-shortcuts): New function.
      >
      > 	* vars.el.in (lyskom-swedish-bindings): New variable.
      > 	(lyskom-swedish-bindings-reverse): Ditto.
      >
      > 2003-12-18  David Byers  <byers@lysator.liu.se>
      >
      > 	* compatibility.el (map-keymap): I think this function will work
      > 	in Gnu Emacs now.
      >
      > 	Make language selection more available:
      > 	* swedish-strings.el (lyskom-menus): Language-related texts in
      > 	swedish and english.
      > 	(lyskom-message): Ditto.
      >
      > 	* menus.el (lyskom-menu-template): Added change local and global
      > 	language.
      >
      > 	* commands2.el (kom-change-global-language): New command.
      > 	(kom-change-local-language): New command.
      >
      > 	Commands at when-done in current language:
      > 	* language.el (lyskom-try-get-string): Added language parameter.
      > 	(lyskom-get-string): Added language parameter.
      >
      > 	* command.el (lyskom-command-name): Added language parameter.
      >
      f52621b4
  17. 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
  18. 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
  19. 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
  20. 26 Oct, 2003 1 commit
  21. 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
  22. 28 Aug, 2003 1 commit
    • 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
  23. 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
  24. 17 Aug, 2003 1 commit
    • 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
  25. 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
  26. 15 Aug, 2003 1 commit
    • David Byers's avatar
      Improved handling of initial input when reading conference names. · 2da67aeb
      David Byers authored
      Detailed changes:
      > 2003-08-15  David Byers  <byers@lysator.liu.se>
      >
      > 	* completing-read.el (lyskom-read-conf): Don't call
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-completing-read now.
      > 	(lyskom-read-session-resolve-ambiguity): Same here.
      >
      > 	* lyskom-rest.el (lyskom-verified-read-from-minibuffer): Don't
      > 	call lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-read-from-minibuffer now.
      >
      > 	* commands2.el (kom-calculate): Don't call
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-read-from-minibuffer now.
      > 	(kom-set-personal-label): Same here.
      >
      > 	* command.el (lyskom-read-extended-command): Don't use
      > 	lyskom-with-lyskom-minibuffer since it's integrated in
      > 	lyskom-completing-read now.
      >
      > 	* utilities.el (lyskom-completing-read): Moved here from
      > 	compatibility.el and turned into a regular function. Integrate
      > 	lyskom-with-lyskom-minibuffer and lyskom-with-magic-minibuffer.
      > 	(lyskom-read-from-minibuffer): Ditto.
      >
      > 	* commands1.el (kom-sub-self): Undo previous change. The new
      > 	configuration mechanism takes care of things.
      > 	(kom-go-to-conf): Same here.
      >
      > 	Even better defaults for initial conference:
      > 	* compatibility.el (lyskom-completing-read): Use defsubst in Gnu
      > 	Emacs so we can advise it.
      >
      > 	* vars.el.in (lyskom-default-conference-strategy): New variable.
      >
      > 	Rewrote magic minibuffer handling:
      > 	* utilities.el (lyskom-magic-minibuffer-pre-command): New
      > 	function.
      > 	(lyskom-magic-minibuffer-before-change): New function.
      > 	(lyskom-magic-minibuffer-post-command): New function.
      > 	(lyskom-magic-minibuffer-cancel): New function.
      > 	(lyskom-magic-minibuffer-mangle-initial): New function.
      > 	(read-from-minibuffer): New advice.
      > 	(completing-read): New advice.
      > 	(lyskom-magic-minibuffer-add-advice): New function.
      > 	(lyskom-magic-minibuffer-cancel-advice): New function.
      > 	(lyskom-with-magic-minibuffer): New macro.
      >
      2da67aeb
  27. 14 Aug, 2003 2 commits
    • David Byers's avatar
      Updates for NEWS file. Improved kom-list-new-conferences and friends. · 133d8c78
      David Byers authored
      Detailed changes:
      > 	Update NEWS file:
      > 	* NEWS-0.48: Updated to here.
      >
      > 	Don't show nil in message area when silently saving settings:
      > 	* flags.el (lyskom-save-options): Support nil message properly.
      > 	(lyskom-save-options-2): Ditto.
      > 	(lyskom-save-options-3): Ditto.
      >
      > 	Suppoert non-interactive use of kom-list-new-conferences etc:
      > 	* vars.el.in (kom-auto-confirm-new-conferences): New variable.
      >
      > 	* commands2.el (lyskom-list-new-conferences): Support
      > 	auto-confirmation.
      >
      > 	* lyskom-rest.el (lyskom-do-format): Better error reoprting
      > 	(report argument number and actual argument).
      > 	(lyskom-format-aux-help): Provide data for error reporting.
      >
      > 	* faqs.el (kom-list-server-faqs): Updated documentation.
      133d8c78
    • David Byers's avatar
      Fixed bugs 1080 and 1081. · 7218c565
      David Byers authored
      Detailed changes:
      > 2003-08-14  David Byers  <byers@lysator.liu.se>
      >
      > 	Fix bug 1080:
      > 	* commands2.el (kom-status-server): Use point-max, not point, to
      > 	figure out where insertion starts and ends (lyskom-insert always
      > 	inserts at point-max but does not always move point).
      >
      > 	Fix bug 1081:
      > 	* lyskom-rest.el (lyskom-format-aux): Set pad-length to nil when
      > 	no pad-length is specified.
      >
      7218c565
  28. 13 Aug, 2003 1 commit
  29. 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
  30. 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
  31. 30 Jul, 2003 2 commits
    • David Byers's avatar
      Worked on kom-handle-membership. · 6de83b55
      David Byers authored
      Detailed changes:
      > 	Keep membership buffer updated changing membership types:
      > 	* reading.el (lyskom-insert-membership): Added calls to
      > 	lp--update-buffer.
      > 	(lyskom-replace-membership): Added calls to lp--update-buffer.
      > 	(lyskom-remove-membership): Added calls to lp--update-buffer.
      >
      > 	* lyskom-rest.el (lyskom-check-go-to-conf): Added calls to
      > 	lp--update-buffer.
      >
      > 	* commands2.el (kom-change-message-flag): Added calls to
      > 	lp--update-buffer.
      >
      > 	* commands1.el (kom-add-self): Added calls to lp--update-buffer
      > 	when de-passivating.
      > 	(lyskom-sub-member): Added calls to lp--update-buffer.
      >
      6de83b55
    • David Byers's avatar
      Fixed problem saving language settings. · eb4af24f
      David Byers authored
      Detailed changes:
      > 2003-07-30  David Byers  <byers@lysator.liu.se>
      >
      > 	* lyskom-rest.el (lyskom-get-holerith-list): Return list in
      > 	original order.
      > 	(lyskom-split-user-area): Don't reverse the list here.
      >
      > 	* flags.el (lyskom-flag-write-symbol-list): Fixed stupid bug.
      >
      eb4af24f