AreaEdit Release Notes
by: Yermo Lamers of DTLink, LLC
Copyright: 2005 DTLink, LLC
http://www.formvista.com
---------------------------------------------------------------------
Version 0.4.5 2005-12-31
IMPORTANT: Pages that host AreaEdit need to be slightly modified to accomodate
the MSIE Operation Aborted fix. The "areaedit_init" function on the hosting
page needs to include:
. a setTimeout callback that verifies the page is completely loaded.
. HTMLArea.init() call moved to the hosting page from htmlarea.js
See areaedit/examples/simple_example.php for the updated code.
No other changes need to be made.
Changes
. (fixed!) the infamous MSIE Operation Aborted bug we've been seeing on some
installs is finally FIXED.
(ticket 234)
---------------------------------------------------------------------
Version 0.4.4 2005-12-26
This is maintenance release. Most importantly, this release now works
with FireFox 1.5.
Changes
. (added) there is now a FAQ online at:
http://www.formvista.com/otherprojects/areaedit/faq.html
. (fixed) modified HTMLArea.cloneObject() to work with FireFox 1.5.
(ticket 250)
. (in-progress) corrected many of the strict javascript warnings
generated in FireFox. Many remain.
Thanks to Chris Graham for pointers to this. http://ocportal.com/
(ticket 166)
. (fixed) ImageManager create new directory was broken
(mobie.biz ticket 254)
. (fixed) ImageManager delete directory was broken
(related to mobie.biz ticket 254)
. (workaround?) Operation Aborted and Page Expired bugs in MSIE on some
servers. At first it seemed related to lack of a
header in the hosting PHP page in combination with utf-8 encoding
while posting back to the same page. Changed the example to post back
to a separate landing page.
(ticket 234)
. (added) separate configuration file for Linker plugin.
. (fixed) Linker plugin failed to load on empty directory
(ticket 264)
---------------------------------------------------------------------
Version 0.4.3 2005-08-18
This release is a RECOMMENDED UPGRADE to all users.
There is a very serious security hole in the SpellChecker plugin in versions
prior to 0.4.3. Either delete the areaedit/plugins/SpellChecker directory
or upgrade to 0.4.3. The hole exists despite the fact that plugin is
disabled by default.
Changes:
. (added) allow_edit and allow_delete config options to the ImageManager
plugin. By default allow_edit is set to true and allow_delete to false.
(ticket 161)
. (added) backend functions now check allow_edit and allow_delete (and allow_new_dir).
(ticket 161)
. (fixed) exception popup caused by Linker plugin still processing the directory
list has been commented out (ticket 162)
. (fixed) SERIOUS security hole in SpellChecker plugin. (ticket 163)
---------------------------------------------------------------------
Version 0.4.2 2005-06-13
Known Issues:
. exception errors are generated under FireFox if the Linker plugin file
list has not finished loading when a link off page is selected. The
exception is harmless.
. EnterParagraphs leaves a great deal to be desired.
Changes:
. (Fixed) nasty exception in linker.js having to do with editor._doc.location
== about:blank.
. (Fixed) random exception in htmlarea.js now being caught.
. (Changed) Linker no longer sets http://www.example.com in dialog.
. (Changed) Better error message if linker file format doesn't parse.
. (Fixed) handles backend_url's containing query variables on upload
through ImageManager.
. (Fixed) thumbnail generation on image upload in ImageManager plugin.
. (Fixed) deleting images in ImageManager now works.
. (added) initial generated documentation included in distribution.
---------------------------------------------------------------------
Version 0.4.1 2005-05-31
First AreaEdit release.
. updated README files.
. bound EnterParagraphs to CNTRL-ENTER since it is still largely
broken.
---------------------------------------------------------------------
2005-05-17: dev snapshot change summary
examples/simple_sample.php
. removed styllist. There is some exception problem I haven't tracked
down yet.
ddt/ddt.js
. Should now work under MSIE.
htmlarea.js
. added workaround fix for NASTY FIREFOX BUG resulting in the infamous
uneditable area problem (exception on designMode="on" issue -
refer to bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=207842
and this thread:
http://xinha.gogo.co.nz/punbb/viewtopic.php?id=229
. trailing
's are no longer stripped out of the document. This
was wreaking havoc on EnterParagraphs. It's not clear whether or not
this is going to have unanticipated side-effects.
plugins/EnterParagraphs/enter-paragraphs.js
NOT FULLY FUNCTIONAL YET - DOESN'T HANDLE ALL CASES CORRECTLY,
but it's much better than it was I think.
. largely reworked.
. changed obfuscated variables names to make it more readable.
. expanded out nested (x ? y : z) constructs to make it more readable.
. added alot of comments.
. fixed a serious bug in findEachNodeUnder() that was not correctly
handling beginning and end node conditions.
. fixed design flaw that selected a non-existent insertion point for
placing the cursor.
. fixed several exceptions.
. now correctly handles lists by passing the back back to the Gecko
engine if we are in a list with the exception of being at the
first position in the first element in which case we insert
a paragraph before the list and move the cursor back to the first
item on the list.
---------------------------------------------------------------------
2005-05-09: dev snapshot change summary
plugins/linker/scan.php
. fixed misformed debug message.
---------------------------------------------------------------------
2005-05-06: dev snapshot change summary
htmlarea.js
. more debugging messages added.
. added HTMLArea.Config.linkReplacementMode which can be either
fullyqualified (the old default behavior) or absolute.
When set to fullyqualified all absolute links (e.g. /somepath) will be changed
to fullyqualified URLS (e.g. http://yoursite/somepth).
When set to absolute, all fullyqualified urls back to the current site
will be changed to absolute (e.g. http//yoursite/somepath to /somepath)
making the Xinha generated content portable between sites.
( see HTMLArea.prototype.outwardHtml() )
. bugfix - if plugin .js file has a parse error htmlarea will only try to load
it a configurable number of times before popping up an error message.
backends/backend.php
. initial unified backend created. Requests to this backend are routed
to the corresponding plugin specific backend.php file.
backends/backend_conf.php
. a central server side configuration file has been created for the use
of plugin serverside code.
. all backends hooked into this scheme must include the central config file.
ImageManager
. modified the config to allow overriding default values.
. default image directory is now xinha/examples/images
. added debugging trace messages which are tagged with the ImageManager name.
. now uses unified backend.
Linker
. includes central config.
. default directory is now the xinha/examples directory (to avoid scan.php security
problem)
. added debugging trace messages which are tagged with the Linker name.
. links selected from the tree are now displayed in absolute instead of fully qualified
fashion.
. on edit the link that was previously selected is highlighted.
. on edit the selected link is scrolled to if it's outside the viewable area.
. if scan.php returns some kind of error or invalid javascript Linker now pops up
a nice descriptive error message.
. bugfix - same pattern as in loading plugins. If there is some error in loading
the directory listing Linker will only attempt it a few times before giving up and
displaying a nice error.
dTree.js
. added clear_s() method to clear the selection
. added getNodeElement() method to return the element for a given node.
---------------------------------------------------------------------
2005-04-23: dev snapshot
CHANGES:
. The _ddt() trace system has been changed to write all trace messages
into a single popup window. This has produced a radical performance
improvement which makes Xinha with all debugging messages enabled
useable.
. a separate popup trace window is opened for each domain to avoid:
Error: uncaught exception: Permission denied to get property Window.DDT_STATUS
. the debug buttons have been removed.
. the ddtpreproc.php script has been completed which recurses through
the directory structure and patches file and line numbers into all
javascript files.
BUGS/ISSUES
. this code has not been tested using MSIE.