Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 01/14/2001 14:31:12
Module Name:	pkgsrc
Committed By:	drochner
Date:		Sun Jan 14 12:31:11 UTC 2001

Modified Files:
	pkgsrc/www/amaya: Makefile
	pkgsrc/www/amaya/files: md5 patch-sum
	pkgsrc/www/amaya/patches: patch-aa patch-ab patch-ac
	pkgsrc/www/amaya/pkg: PLIST
Added Files:
	pkgsrc/www/amaya/patches: patch-ag
Removed Files:
	pkgsrc/www/amaya/patches: patch-ad patch-ae

Log Message:
update to 4.2.1
From the changelog:
                            Amaya 4.2.1

   22 December, 2000

Bug fixes

     * The Docttype was not generated for HTML documents after
       creation of a new HTML element.
     * Doing  a  transformation  on  an  HTML document crashed
       Amaya without saving the edited document.

                             Amaya 4.2

   21 December, 2000

New features

     * Amaya  is  now able to read and save UTF8 documents but
       it's   only  able  to  display  ASCII  and  ISO-latin-1
       characters  and  some  mathematical  symbols. For other
       characters  it keeps the Unicode value of the character
       and  displays  a '?'. When an encoding is not supported
       by Amaya, the document is not parsed.
     * MathML:   attributes   rowalign   and  columnalign  are
       interpreted.
     * MathML   2.0:  new  attributes  mathvariant,  mathsize,
       mathcolor, mathbackground, linebreak
     * Annotations:  new  configuration  options for disabling
       the  automatic download of local and remote annotations
       each  time  Amaya  is  started for users who frequently
       work  without network access. Note that this new option
       is  enabled  by  default; users who prefer the previous
       behavior  of  always  querying  annotation  servers can
       select  that behavior from the Annotations/Configure...
       dialog  by  unchecking  the 'Disable remote autoload at
       each startup' and checking the two 'Autoload' boxes.

Bug fixes

     * Annotations:  Annotations  didn't  work  under Windows,
       when Amaya was installed in a directory with a space on
       its  name (e.g., Program Files). Similarly, annotations
       on  local  documents  didn't  work  if the path to this
       document had a space.
     * After  doing a form POST, Amaya always proposed to save
       the  answer  sent  back by the server, even if it could
       understand  its content type (bug introduced in the 4.0
       version).
     * Since  version  4.1,  it's  possible to change the user
       preferences  directory by setting the APP_HOME variable
       in  the win-thot.rc file. However, the user preferences
       were still being read from the default location.
     * After a crash, modified documents with a space in their
       name were not restored.
     * When  Amaya  crashed  during a text insertion, the last
       inserted text was lost.
     * Configure   failed  to  read  the  version  numbers  in
       /usr/include/libjpeg.h  and  /usr/include/png.h (thanks
       to Patrik Hagglund).
     * Updating of German and Italian translations.
     * Contribution   from   Johannes   Zellner  for  enabling
       tear-off menus on Unix platforms.
     * The command Save As added the suffix ".html" to SVG and
       MathML documents.
     * Amaya  was sometimes confusing MathML and SVG elements:
       Schema  ids  were  based  on  the  compiling  time  (in
       seconds)  and  Amaya  used  ids  to  detect whether two
       elements  belong to the same schema or not. That method
       doesn't  work  with  computers that are able to compile
       more  than  one  schema  per  second. Now, Amaya checks
       schema names instead of schema ids.
     * Selection:   When   the   hyphanation  was  active  the
       selection didn't work correctly.
     * Print:  The  command  Print  crashed  when the document
       included XLink attributes.
     * Print:  In  some cases Amaya hanged during the printing
       or generated too short pages.
     * Windows: The dialogue Underline didn't work correctly.
     * Windows:  Improving drawing functions and a part of the
       program print.
     * SVG:  CSS  rules  of  the  SVG  element  style were not
       interpreted when printing.
     * SVG:  Images can be created and edited freely within an
       SVG drawing
     * SVG: When changing the xlink:href attribute of elements
       image  and  use  in SVG, those elements are redisplayed
       according to the new value of the attribute.
     * SVG:  When  the  user created a mathematical expression
       into  a  SVG, the math element was displayed before the
       user selected a position. This was confusing.
     * HTML:  Amaya  hanged  when  the  META  Content-Type was
       quoted by simple quotes.

                             Amaya 4.1

   23 November, 2000

New features

     * Annotations: localization of the Local Filter menu.
     * Windows:  It's  now possible to change the value of the
       user's  preferences  directory.  To  do  so,  edit  the
       win-thot.rc  and  add a variable called APP_HOME in the
       [amaya]  section.  The value of this variable should be
       the  path to directory. This is interesting if you want
       to  install Amaya in an NFS drive, but store the user's
       preferences locally.
     * When the encoding of a XML document is not set, it uses
       the  default  enconding  (UTF 8). This version of Amaya
       doesn't  handle  UTF  8  and this document shouldn't be
       edited  with  Amaya.  In  many  cases  these  documents
       contain  only  ASCII  characters and can be interperted
       correctly  as  ISOlatin-1encoded  documents.  It is why
       Amaya  proposes to set the ISOlatin-1encoding when it's
       not found.

Bug fixes

     * Open  the  Log  file and close it. Then open the source
       view and close it: all other wiews of that document are
       also closed
     * The  entry  "Show parsing errors" (previously "Show Log
       file") is now located in the Views menu
     * Amaya  didn't find out the encoding when it is given by
       a META element. It works now.
     * When  saving a HTML document as XML a wrong DOCTYPE was
       generated: it said the document was HTML 4.0 whereas it
       was XHTML 1.0 actually.
     * In  a  XHTML  document, if you copy and paste an anchor
       with  both  a  name  and  an id, the name of the pasted
       element was changed to make it unique, but not the id.
     * The   MakeBook  command  didn't  work  well  on  remote
       documents that included images and could crash Amaya.
     * The  default  Windows  geometry  was too small for some
       views and documents.
     * Spell  checker: some options didn't reflect the current
       value.  The  special  characters  entry  wasn't working
       under Windows.
     * MathML:  entity  LeftAngleBracket was not recognized by
       the parser
     * MathML:  the entity InvisibleTimes was displayed with a
       too large space on Windows platforms.
     * SVG:  element style is now recognized and the CSS rules
       it contains are applied as expected.
     * SVG: element use is recognized and handled correctly
     * SVG:  comments  and PIs were not displayed correctly in
       the structure view
     * SVG:  text  elements  were  displayed a bit below their
       normal position
     * SVG:  in some cases polylines and polygons were resized
       by mistake
     * SVG:  when  printing the background of the whole SVG or
       group was painted if there was a CSS rule fill
     * SVG:  elements  are  now created with the right default
       colors (fill=black, stroke=none).
     * Annotations:   the  Annotation  element  (pencil  icon)
       wasn't being skipped always when resolving an XPointer.
       This  problem  could  occur  with  orphan  and document
       annotations.
     * Annotations:   ID  attributes  were  not  always  being
       searched correctly in the document's tree.
     * Annotations:   The   Windows  annotations  project  was
       missing from the source tar package.

                             Amaya 4.0

   10 November, 2000

New features

     * Support for a subset of the SVG graphics format, namely
       basic  shapes,  text,  images,  and  foreignObject (the
       later  is  useful  to  include HTML fragments or MathML
       expressions in drawings).
     * Support for native MathML and SVG documents.
     * Support  for  collaborative  annotations, based on RDF,
       XPointer, and XLink..
     * A  single  structure  view  displays  the  structure of
       equations   and   drawings   along  with  the  document
       structure.
     * Generates XHTML document with the right charset.
     * Three  new  profiles: XHTML-transitional, XHTML-strict,
       XHTML-basic. In these profiles, Amaya checks the validy
       of  the  (X)HTML  documents it loads, and it allows the
       user   to   create   only   elements   and   attributes
       corresponding to the chosen profile.
     * MathML:  attributes  macros,  display, overflow, altimg
       and  alttext  are  now available for the top-level math
       element. Attribute alttext is rendered in the Alternate
       view.  Attribute  linethickness  allows  to control the
       aspect of fraction bars.
       Many improvements to math formatting.
       Keys  ->  and <- move the caret according to the MathML
       structure.
     * Upgraded libwww to release 5.3.1
     * Added  the  HTTP  reason  string  to the the save error
       dialog box.
     * Spanish  translation of the Amaya dialogues contributed
       by Pedro Pablo Fabrega
     * The  inline  documentation  is  now available in French
       (other translations are welcome).
     * New  menu  (Special/Create Remove IDs) to add or remove
       ID  attributes  to/from  elements,  either  globally or
       within a selection.
     * Searching is case insensitive by default.
     * The  dialog  box  of link creation allows you to browse
       local files.
     * When  the selection is within a link (an anchor with an
       attribute  href),  the  status line displays the URI of
       the target.
     * The  geometry  of  windows  is now expressed in pixels.
       Users   may   have   to   update   their  configuration
       (Special/Preferences/Window Geometry menu).

Bug fixes

     * When  the selected OPTION in a SELECT within a FORM had
       no content and no value attribute, the value posted for
       the SELECT element was some random garbage.
     * Amaya  hung  when  reading  a  textarea with an initial
       value.
     * When  converting  a  document from HTML to XHTML, Amaya
       did  not  check whether the id's it created were valid.
       For instance, it generated id's starting with a digit.
     * The charset given in the XML declaration was ignored by
       Amaya.
     * 24  bits per pixel images were not handled correctly on
       Unix platforms (thanks to Walter Bächi)
     * Saving a document source crashed Amaya when it followed
       an aborted closing of that document source.
     * When  the  BODY  element  of  an  (X)HTML  document  is
       selected,  command  Delete is no longer refused: it let
       you with an empty BODY element.
     * When  a  background  image is not repeated, Amaya takes
       into  account  the  transparency  now (Unix and Windows
       platforms).
     * After  a synchronisation Amaya considered that both the
       source view and the formatted view should be saved. Now
       the  user  can  decide to save either the source or the
       formatted view but only one of them.
     * The text editing is now more robust.
     * When  browsing a remote URL, Amaya systematically added
       a "/" end character to the URL if the URL didn't finish
       by an extension.
     * It  was  hard  to  create  an  area Polygon because the
       selection hid the associated image.
     * When  a  paragraph  with  a top margin was reformatted,
       included  lines (excepted the last one) were shifted by
       error.
     * In the Structure view, an anchor repeated the attribute
       ID of its parent.
     * Opening  an image that didn' have an extension resulted
       in a crash.

   Windows bugs
     * The  menu Background Image on Windows platforms crashed
       Amaya.
     * On  Windows  platforms,  sometimes Amaya didn't display
       background images correctly.
     * Some  colors  (like  border  colors) were not correctly
       displayed on Windows platforms.
     * Each  time  the  user clicked on the button Math, a new
       Math  palette  was  generated,  now only one palette is
       displayed.
     * It was the same for the dialogue Search/Replace.
     * When  all  entries  of  a  submenu  were  hidden in the
       current profile, the submenu entry was not removed. Now
       it works like on Unix platforms.
     * Troubles   after  a  cancel  of  the  operation  "Close
       Dcument".


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/www/amaya/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/amaya/files/md5
cvs rdiff -r1.3 -r1.4 pkgsrc/www/amaya/files/patch-sum
cvs rdiff -r1.2 -r1.3 pkgsrc/www/amaya/patches/patch-aa
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/amaya/patches/patch-ab \
    pkgsrc/www/amaya/patches/patch-ac
cvs rdiff -r1.1.1.1 -r0 pkgsrc/www/amaya/patches/patch-ad
cvs rdiff -r1.1 -r0 pkgsrc/www/amaya/patches/patch-ae
cvs rdiff -r0 -r1.1 pkgsrc/www/amaya/patches/patch-ag
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/www/amaya/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.