1999-10-14  Lennart Staflin  <lennarts@infotek.no>

	* psgml-parse.el (sgml-log-entity-stack): don't use
	sgml-pop-entity, just loop thru the entity stack and print out the
	files. 
	(sgml-load-ecat): bind sgml-xml-p while parsing catalog

1999-10-13  Lennart Staflin  <lennarts@infotek.no>

	* psgml-parse.el (sgml-current-file): New variable, holds the name
	of file name (if any) of the entity beeing parsed in the buffer.
	(sgml-parse-warning): New func. Log a parser warning, a warning
	including information about where the error occured. Mostly for
	DTD parsing.
	(sgml-log-entity-stack): new factored function.
	(*) Replaces some sgml-parse-error and sgml-log-warning with
	sgml-parse-warning.
	(sgml-parse-catalog-buffer): bind sgml-xml-p while parsing catalog 
	
Sun Oct 10 15:53:12 1999  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.2 released

Wed Oct  6 00:43:37 1999  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.1.7 released	
	
	* psgml-parse.el (sgml-push-to-entity): carry XML-ness to parsed
	text entities.
	
	* psgml-charent.el (sgml-display-char-list-filename): new default
	is "iso8859.map" in the same directory where psgml is installed.

Wed Sep 22 19:34:08 1999  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el: Apply sgml-general-case to attribute name for
 	interactive sgml-insert-attribute. Don't test for non empty asl in
 	sgml-edit-attrib. A lot of changes in handling text attributes
 	when in attribute edit mode.

Sat Aug 14 22:34:59 1999  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-tag-regexp): Recognize XMLs empty tags.

1998-11-16  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (sgml-set-local-variable): insert "mode: xml" for
	xml-mode and "mode: sgml" otherwise

	* psgml-edit.el (sgml-add-element-to-element): add end-tag to
	empty xml-elements before inserting an element

1998-11-15  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.1.6 released

	* psgml-parse.el (sgml-char-int): from XEmacs
	(sgml-read-octet): modified for XEmacs
	(sgml-read-peek): dito.
	(sgml-read-number): dito.

	* psgml.el (sgml-option-value-indicator): moved here.
	(sgml-mode): activate-menubar-hook can't be local in XEmacs and 
	sgml-build-custom-menus need to be after the easy-menu-adds.
	
1998-11-14  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el, psgml-edit.el: Fix from David Megginson to some
	regexps for _: in names.
	(sgml-build-custom-menus): Do not call easy-menu-change with empty
	menu.

	* psgml-edit.el (sgml-do-set-option): Don't modify the *Help*
	buffer directly, call sgml-append-to-help-buffer. Fixes problem
	with read-only buffer.
	(sgml-append-to-help-buffer): new func.
	
	* psgml.el (sgml-main-menu):  Options handling changed after
	suggestion and code from Matthias Clasen
	(sgml-update-all-options-menus): new func. called by
	activate-menubar-hook
	
Thu Nov  5 20:59:08 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-parse-processing-instruction): removed let
	of sgml-markup-start. Was probably wrong solution to problem with
	sgml-markup-start beeing nil. Added in-declaration parameter. If
	in a declaration, no fontification should be done.
	(sgml-parse-prolog): do not call sgml-skip-ds, rather call
	parse-s, parse-pi as this is what "other prolog" contains.

1998-10-31  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.1.5 released

	* psgml-parse.el (sgml-declared-value-notation): change 'notation
	to 'NOTATION
	
Sat Oct 31 20:00:22 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-cache-catalog): Use file-truename for
	file-attributes, to get modification time from real file and not
	from symlink.

	* psgml.el (xml-mode): Do not build a syntax table
	(sgml-dtd-menu): moved Custom DTD's to submenu
	(sgml-markup-menu): moved Custom Markup to submenu
	(sgml-build-custom-menus): Make submenus for Custom DTD and Markup

	* psgml-parse.el (xml-parser-syntax): build special syntax table
	for XML.
	(sgml-with-parser-syntax): Use sgml-parser-syntax or
	xml-parser-syntax depending on sgml-xml-p

Wed Oct 28 23:15:38 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-read-element-type): use
	let (completion-ignore-case sgml-namecase-general)

Sat Oct 24 13:13:48 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (sgml-build-custom-menus): Construct sub-menus for
	custom DTD and custom Markup insert, only if
	easy-menu-filter-return is not defined otherwise use the :filter
	facility to build menu when needed.

	* psgml-edit.el (sgml-what-element): Guard call to
	sgml-deref-shortmap

1998-10-20  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-edit-external-entity): fix from Matthias Clasen

	* psgml.el (sgml-validate-error-regexps): modify regexp to work in
	Emacs 20.3

1998-09-30  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.1.4 release

Mon Aug 31 21:53:45 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-bdtd-load): Increase version number
	(sgml-read-dtd): Increase version number

	* psgml-dtd.el (sgml-write-dtd): Increase version number

Sat Aug 15 18:58:25 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-complete): add completion of #-reserved words

Fri Jul  3 18:14:21 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.1.3

	* Makefile.in: Call install with only one source file.
	
Fri Jul  3 17:54:06 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-complete): ignore case

	* psgml-parse.el (sgml-push-to-entity): use setf to set 
	sgml-entity-marked-undefined-p.
	(setf sgml-entity-marked-undefined-p): define setf method
	
Tue Jun 30 22:06:20 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-do-set-option): Added file-list and
	file-or-nil types contributed by Matthias Clasen
	<mclasen@sun2.mathematik.uni-freiburg.de>
	
Tue Jun 30 21:48:39 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (sgml-mode-map): C-c C-i calls sgml-add-element-to-element

	* psgml-edit.el (sgml-add-element-to-element): New command.
	
Wed Jun 24 23:23:38 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-attribute-buffer): Fixed another victim of
	the case change.
	(sgml-change-element-name): fix bug with empty XML element

Mon Jun 22 19:58:43 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (psgml-version): Version 1.1.2

	* Installed patch from Matthias Clasen
	<clasen@pong.mathematik.uni-freiburg.de>.
	Adding notation to entities and a sgml-notation-handlers variable
	used by sgml-edit-external-entity.

	* psgml-edit.el (sgml-indent-line): Previous change of
	sgml-indent-line did not work well with OMITTAG. Restore old
	functionallity.
	
Fri Jun 19 18:54:27 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-attribute-buffer): 
	changed case of default value type, here and in many other functions.
	(sgml-translate-attribute-specification-list): changed case for
	declared value

	* psgml-parse.el (sgml-parse-attribute-specification-list):
	changed case of default value type

1998-06-16  Dave Love  <d.love@dl.ac.uk>

	* psgml-edit.el (sgml-read-element-name,
	sgml-read-attribute-value, sgml-insert-attribute,
	sgml-custom-markup): Use sgml-namecase-general to set
	completion-ignore-case.
	
1998-06-16  Dave Love  <d.love@dl.ac.uk>

	* psgml-parse.el (sgml-push-to-entity): Don't use save-excursion
	around insert-file-contents -- may break in Emacs 20.3.

Fri Jun 19 10:40:53 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-dtd.el (sgml-check-declared-value): upcase NOTATION

	* psgml-parse.el (sgml-read-element-name): bind
	completion-ignore-case as suggested by Mark Eichin. Also present
	element names in the insert case.

Tue Jun 16 00:31:03 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (sgml-command-post): added ignore-errors

	* psgml-parse.el (sgml-get-delim-string): new func.
	(sgml-delim): changed to macro.
	(sgml-do-usemap): upcase #EMPTY
	(sgml-parse-xml-comment): set markup type

	* psgml-dtd.el (sgml-validate-default-value-rn): upcase keywords
	(sgml-declare-entity): remove case fiddling

	* psgml-parse.el (sgml-check-case): remove case fiddling -- retain
	check.

	* psgml-dtd.el (sgml-validate-declared-value): upcase attribute types
	(sgml-check-default-value): remove case fiddling -- reserved names
	should be in upper case.

	* psgml-parse.el (sgml-push-to-entity): use syntax table from
	current buffer in entity buffer and not the sgml-parser-syntax as
	XML will use another syntax table.

Wed Jun 10 23:28:42 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-catalog-lookup): Take additional catalogs
	in right order.

Thu May 14 20:02:42 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* Version 1.1.1

	* psgml.el (psgml-version): new version 1.1.1

	* psgml-dtd.el (sgml-parse-character-reference): upcase funchar
	names.

	* psgml-edit.el (sgml-indent-line): compute indentation from
	context, not element under point. Removed special handling of
	start-tag and document context. Extra indentation if in markup.

	* psgml-parse.el (sgml-parse-external): use upper case keywords.
	(sgml-check-case): use upper case instead of lower case.

Wed May 13 06:13:05 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-do-marked-section): Change keyword strings
	to upper case.
	(sgml-general-case): Use Upcase instead of Downcase.
	(sgml-parse-markup-declaration): upcase keywords.

Sat Mar 14 21:31:09 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-do-processing-instruction): Added
	recognition of PSGML NOFILL.
	(sgml-parse-catalog-buffer): add catalog as a noname entry
	(sgml-catalog-lookup): handle catalog entries

Thu Mar 12 00:04:52 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-current-element-name): make buffer local

Wed Mar 11 22:11:01 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-insert-start-tag): extended meaning of NET
	paramenter to insert XML-TAGCE if XML.
	(sgml-change-start-tag): keep XML-TAGCE

	* psgml-parse.el (sgml-read-element-name): use completing read on
	all defined element types if in an ANY context.
	(sgml-check-tag-close): removed check for XML-TAGCE
	(sgml-do-start-tag): added check for XML-TAGCE
	(sgml-element-empty): In XML no special handling of elements with
	declared content of EMPTY, but use conref to signal empty element tag.

	* psgml-dtd.el (sgml-merge-attlists): reverse the list

Tue Mar 10 20:13:11 1998  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el: Merged David Megginson's latest xml modifications.

Sat Nov 15 20:50:35 1997  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-parse-attribute-value-specification): New func.
	(sgml-parse-attribute-specification-list): use new func. This
	changes an error to a warning to make better error recovery when
	illegal characters occurs in starttag.

Sun Aug 17 20:22:28 1997  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-cache-catalog): remove file-truename. This
	made relative filenames refer to the wrong directory if the
	catalog file was a symlink.

Thu Jul 24 22:36:15 1997  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-modify-dtd): fixed bug in handling
	sgml-parent-document.

Mon May 19 18:43:32 1997  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-edit.el (sgml-expand-entity-reference): changed to allow
	point to be within entity referens, not only at start of ref. As
	suggested by Matthias Clasen.
	(sgml-edit-external-entity): new command contributed by Matthias
	Clasen <clasen@netzservice.de>

	* psgml-charent.el (sgml-charent-to-display-char): fix bug in regexp.

Sat Mar 15 19:20:57 1997  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml-parse.el (sgml-check-tag-close): change sgml-error to
 	sgml-log-warning

Sun Jan 12 19:15:32 1997  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (psgml-version): bump version

Fri Nov 22 20:29:44 1996  Lennart Staflin  <lenst@lysator.liu.se>

	* psgml.el (sgml-parse-colon-path): use path-separator if
	available.
