1. 01 Jun, 2003 1 commit
    • David Byers's avatar
      Fix bug 584. · 6c122f87
      David Byers authored
      Detailed changes:
      > 	Fix bug 587:
      > 	* lyskom-rest.el (lyskom-format-x-kom/user-area): New function.
      >
      > 	* view-text.el (lyskom-print-text): Special patch for user area
      > 	(which has no subject line).
      >
      > 	* flags.el (lyskom-get-holerith): New function that does what
      > 	lyskom-read-options-eval-get-holerith does, but does it without
      > 	side effects in lyskom-options-text.
      >
      6c122f87
  2. 07 Apr, 2003 1 commit
  3. 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
  4. 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
  5. 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
  6. 31 Dec, 2002 1 commit
    • David Byers's avatar
      > 2002-12-31 David Byers <david.byers@swipnet.se> · df58bdfd
      David Byers authored
      >
      > 	Improve kom-list-summary:
      > 	* commands2.el (lyskom-do-list-summary): Damn. Already midnight.
      > 	Don't print the subject on comments more than once in a row.
      > 	(lyskom-print-summary-line): Don't compute subject here. Get it in
      > 	a param instead.
      >
      > 2002-12-30  David Byers  <david.byers@swipnet.se>
      >
      > 	Improve kom-list-summary:
      > 	* commands2.el (lyskom-print-summary-line): Print deep comment
      > 	levels without additional indent, like nn does.
      >
      > 	Remove bugzilla links (text links supersede these):
      > 	* lyskom-buttons.el (lyskom-button-transform-text): De-implemented
      > 	bugzilla links.
      > 	(lyskom-button-show-bugzilla-bug): Removed this function.
      >
      > 	* vars.el.in (kom-my-bugzilla): Removed this variable. Text links
      > 	generalize bugzilla links.
      > 	(lyskom-text-buttons): Removed bugzilla text buttons.
      > 	(lyskom-button-actions): Same here.
      >
      > 	More text links:
      > 	* lyskom-buttons.el (lyskom-button-add-links): New function.
      > 	(lyskom-button-transform-text): Call it to create links from
      > 	kom-text-links.
      >
      > 	* vars.el.in (kom-text-links): New variable.
      >
      > 	* clienttypes.el (lyskom-create-lyskom-text-link): New function.
      > 	(lyskom-text-link->pattern): New function.
      > 	(lyskom-text-link->replacement): New function.
      > 	(lyskom-text-link->highlight): New function.
      > 	(lyskom-text-link->ignore-case): New function.
      >
      > 	New nameday lists from Hans Persson:
      > 	* names.el (sv-1993): New nameday list.
      > 	(sv-pre-1901): Renamed nameday list from sv-1901
      > 	(sv-1901): New nameday list.
      > 	(sv-1986): New nameday list.
      >
      > 2002-12-22  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 946:
      > 	* commands2.el (lyskom-do-list-summary): Display texts in comment
      > 	order with indentation.
      > 	(lyskom-print-summary-line): Support indentation.
      >
      > 2002-12-18  David Byers  <david.byers@swipnet.se>
      >
      > 	* lyskom-buttons.el (lyskom-button-transform-text): Added
      > 	text-stat argument.
      >
      > 	Implement text links:
      > 	* lyskom-rest.el (lyskom-format-ö): Pass text-stat to
      > 	lyskom-button-transform-text.
      > 	(lyskom-format-enriched): Ditto.
      > 	(lyskom-format-text-body): Ditto.
      > 	(lyskom-format-aux-help): Handle cons in format-letter r.
      >
      > 	* view-text.el: Send the text-stat when formatting subject.
      >
      > 2002-12-17  David Byers  <david.byers@swipnet.se>
      >
      > 	Work on bug 753:
      > 	* flags.el (lyskom-read-options): Added optional buffer argument
      > 	to support reading settings from a different session.
      >
      df58bdfd
  7. 12 Jun, 2002 2 commits
  8. 21 May, 2002 1 commit
  9. 07 May, 2002 1 commit
    • David Byers's avatar
      Loads of changes. · f274a6c4
      David Byers authored
      Implemented kom-* synonyms for almost all lyskom-* hooks. The old names
      shall be considered obsolede.
      
      Highilghting of asynchronous messages as with texts.
      
      Support overlays when doing lyskom-insert on the result of lyskom-format.
      
      Fix lyskom-insert to handle special-insert properties that are adjacent to each other.
      
      Fix lyskom-unicase so it isn't fooled by a lying Emacs.
      
      Hopefully guard against missing diff command when calling ediff-buffers.
      
      Added user-hooks.el, a new place for hook functions that users
      might want to use elsewhere. Added some kom-change-conf-hook and
      kom-after-change-conf-hook functions to this file.
      f274a6c4
  10. 01 May, 2002 1 commit
    • David Byers's avatar
      Fixed bugs: · bb4a0cd9
      David Byers authored
      First line overlay not visible in XEmacs
      Started work on automatic computation of background colors
      Removed extra space around names of imported message senders
      Updated presentation-form
      Fixed some variable documentation
      Updated first-greeting
      Fixed problem when changing presentation or FAQ
      Improved communications loggins
      Improved parser error detection and recovery
      
      New command: kom-move-text-tree.
      bb4a0cd9
  11. 25 Apr, 2002 1 commit
  12. 24 Apr, 2002 1 commit
  13. 22 Apr, 2002 1 commit
    • David Byers's avatar
      Separate background color on texts. · a85880b3
      David Byers authored
      WARNING: This version will NOT work with XEmacs. It uses overlays.
      Overlays are not supported in XEmacs and I have not written code
      that falls back on extents if overlays are not available.
      a85880b3
  14. 24 Feb, 2002 1 commit
  15. 04 Feb, 2002 1 commit
  16. 30 Jan, 2002 1 commit
  17. 04 Nov, 2001 1 commit
  18. 30 May, 2001 1 commit
  19. 24 May, 2001 1 commit
    • David Byers's avatar
      Better support for change conf hooks. · 43038725
      David Byers authored
      Bug fixes: can change presentation even when old one is missing and
      can handle prehistoric dates on imported e-mails (calendar reported
      negative day-of-week)
      43038725
  20. 21 May, 2001 1 commit
  21. 25 Apr, 2001 2 commits
  22. 23 Apr, 2001 1 commit
    • Joel Rosdahl's avatar
      Clean-up of time handling and time formatting functions. Essentially, · ac1c1c88
      Joel Rosdahl authored
      lyskom-format-time, lyskom-client-date-string and
      lyskom-return-date-and-time have been replaced with a single function:
      lyskom-format-time.  Also, the internal time representation now has
      years that are relative to year 0 and months that start with 1 for
      January.
      
      New variables: kom-print-relative-dates and
      kom-print-seconds-in-time-strings.
      ac1c1c88
  23. 01 Apr, 2001 1 commit
  24. 25 Feb, 2001 1 commit
  25. 28 Jan, 2001 1 commit
  26. 18 Jan, 2001 1 commit
  27. 03 Jan, 2001 1 commit
  28. 01 Jan, 2001 1 commit
  29. 03 Jul, 2000 1 commit
  30. 10 Jun, 2000 1 commit
  31. 05 Jun, 2000 1 commit
  32. 31 May, 2000 1 commit
  33. 30 May, 2000 1 commit
  34. 29 May, 2000 1 commit
  35. 04 May, 2000 1 commit
  36. 07 Apr, 2000 1 commit
    • David Byers's avatar
      Bug fixes. · c8654a86
      David Byers authored
      Better support for hiding entries in kom-edit-membership
      c8654a86
  37. 15 Mar, 2000 1 commit
  38. 05 Dec, 1999 1 commit