| 1 | Release Notes - Xinha Unified Backend Branch |
|---|
| 2 | |
|---|
| 3 | by: Yermo Lamers of DTLink, LLC |
|---|
| 4 | http://www.formvista.com/contact.html |
|---|
| 5 | |
|---|
| 6 | --------------------------------------------------------------------- |
|---|
| 7 | 2005-05-17: dev snapshot change summary |
|---|
| 8 | |
|---|
| 9 | examples/simple_sample.php |
|---|
| 10 | |
|---|
| 11 | . removed styllist. There is some exception problem I haven't tracked |
|---|
| 12 | down yet. |
|---|
| 13 | |
|---|
| 14 | ddt/ddt.js |
|---|
| 15 | |
|---|
| 16 | . Should now work under MSIE. |
|---|
| 17 | |
|---|
| 18 | htmlarea.js |
|---|
| 19 | |
|---|
| 20 | . added workaround fix for NASTY FIREFOX BUG resulting in the infamous |
|---|
| 21 | uneditable area problem (exception on designMode="on" issue - |
|---|
| 22 | refer to bug: |
|---|
| 23 | |
|---|
| 24 | https://bugzilla.mozilla.org/show_bug.cgi?id=207842 |
|---|
| 25 | |
|---|
| 26 | and this thread: |
|---|
| 27 | |
|---|
| 28 | http://xinha.gogo.co.nz/punbb/viewtopic.php?id=229 |
|---|
| 29 | |
|---|
| 30 | . trailing <BR>'s are no longer stripped out of the document. This |
|---|
| 31 | was wreaking havoc on EnterParagraphs. It's not clear whether or not |
|---|
| 32 | this is going to have unanticipated side-effects. |
|---|
| 33 | |
|---|
| 34 | plugins/EnterParagraphs/enter-paragraphs.js |
|---|
| 35 | |
|---|
| 36 | NOT FULLY FUNCTIONAL YET - DOESN'T HANDLE ALL CASES CORRECTLY, |
|---|
| 37 | but it's much better than it was I think. |
|---|
| 38 | |
|---|
| 39 | . largely reworked. |
|---|
| 40 | . changed obfuscated variables names to make it more readable. |
|---|
| 41 | . expanded out nested (x ? y : z) constructs to make it more readable. |
|---|
| 42 | . added alot of comments. |
|---|
| 43 | . fixed a serious bug in findEachNodeUnder() that was not correctly |
|---|
| 44 | handling beginning and end node conditions. |
|---|
| 45 | . fixed design flaw that selected a non-existent insertion point for |
|---|
| 46 | placing the cursor. |
|---|
| 47 | . fixed several exceptions. |
|---|
| 48 | . now correctly handles lists by passing the back back to the Gecko |
|---|
| 49 | engine if we are in a list with the exception of being at the |
|---|
| 50 | first position in the first element in which case we insert |
|---|
| 51 | a paragraph before the list and move the cursor back to the first |
|---|
| 52 | item on the list. |
|---|
| 53 | |
|---|
| 54 | --------------------------------------------------------------------- |
|---|
| 55 | 2005-05-09: dev snapshot change summary |
|---|
| 56 | |
|---|
| 57 | plugins/linker/scan.php |
|---|
| 58 | |
|---|
| 59 | . fixed misformed debug message. |
|---|
| 60 | |
|---|
| 61 | --------------------------------------------------------------------- |
|---|
| 62 | 2005-05-06: dev snapshot change summary |
|---|
| 63 | |
|---|
| 64 | htmlarea.js |
|---|
| 65 | |
|---|
| 66 | . more debugging messages added. |
|---|
| 67 | . added HTMLArea.Config.linkReplacementMode which can be either |
|---|
| 68 | fullyqualified (the old default behavior) or absolute. |
|---|
| 69 | |
|---|
| 70 | When set to fullyqualified all absolute links (e.g. /somepath) will be changed |
|---|
| 71 | to fullyqualified URLS (e.g. http://yoursite/somepth). |
|---|
| 72 | |
|---|
| 73 | When set to absolute, all fullyqualified urls back to the current site |
|---|
| 74 | will be changed to absolute (e.g. http//yoursite/somepath to /somepath) |
|---|
| 75 | making the Xinha generated content portable between sites. |
|---|
| 76 | |
|---|
| 77 | ( see HTMLArea.prototype.outwardHtml() ) |
|---|
| 78 | |
|---|
| 79 | . bugfix - if plugin .js file has a parse error htmlarea will only try to load |
|---|
| 80 | it a configurable number of times before popping up an error message. |
|---|
| 81 | |
|---|
| 82 | backends/backend.php |
|---|
| 83 | |
|---|
| 84 | . initial unified backend created. Requests to this backend are routed |
|---|
| 85 | to the corresponding plugin specific backend.php file. |
|---|
| 86 | |
|---|
| 87 | backends/backend_conf.php |
|---|
| 88 | |
|---|
| 89 | . a central server side configuration file has been created for the use |
|---|
| 90 | of plugin serverside code. |
|---|
| 91 | . all backends hooked into this scheme must include the central config file. |
|---|
| 92 | |
|---|
| 93 | ImageManager |
|---|
| 94 | |
|---|
| 95 | . modified the config to allow overriding default values. |
|---|
| 96 | . default image directory is now xinha/examples/images |
|---|
| 97 | . added debugging trace messages which are tagged with the ImageManager name. |
|---|
| 98 | . now uses unified backend. |
|---|
| 99 | |
|---|
| 100 | Linker |
|---|
| 101 | |
|---|
| 102 | . includes central config. |
|---|
| 103 | . default directory is now the xinha/examples directory (to avoid scan.php security |
|---|
| 104 | problem) |
|---|
| 105 | . added debugging trace messages which are tagged with the Linker name. |
|---|
| 106 | . links selected from the tree are now displayed in absolute instead of fully qualified |
|---|
| 107 | fashion. |
|---|
| 108 | . on edit the link that was previously selected is highlighted. |
|---|
| 109 | . on edit the selected link is scrolled to if it's outside the viewable area. |
|---|
| 110 | . if scan.php returns some kind of error or invalid javascript Linker now pops up |
|---|
| 111 | a nice descriptive error message. |
|---|
| 112 | |
|---|
| 113 | . bugfix - same pattern as in loading plugins. If there is some error in loading |
|---|
| 114 | the directory listing Linker will only attempt it a few times before giving up and |
|---|
| 115 | displaying a nice error. |
|---|
| 116 | |
|---|
| 117 | dTree.js |
|---|
| 118 | |
|---|
| 119 | . added clear_s() method to clear the selection |
|---|
| 120 | . added getNodeElement() method to return the <a ..> element for a given node. |
|---|
| 121 | |
|---|
| 122 | --------------------------------------------------------------------- |
|---|
| 123 | 2005-04-23: dev snapshot |
|---|
| 124 | |
|---|
| 125 | CHANGES: |
|---|
| 126 | |
|---|
| 127 | . The _ddt() trace system has been changed to write all trace messages |
|---|
| 128 | into a single popup window. This has produced a radical performance |
|---|
| 129 | improvement which makes Xinha with all debugging messages enabled |
|---|
| 130 | useable. |
|---|
| 131 | |
|---|
| 132 | . a separate popup trace window is opened for each domain to avoid: |
|---|
| 133 | |
|---|
| 134 | Error: uncaught exception: Permission denied to get property Window.DDT_STATUS |
|---|
| 135 | |
|---|
| 136 | . the debug buttons have been removed. |
|---|
| 137 | |
|---|
| 138 | . the ddtpreproc.php script has been completed which recurses through |
|---|
| 139 | the directory structure and patches file and line numbers into all |
|---|
| 140 | javascript files. |
|---|
| 141 | |
|---|
| 142 | BUGS/ISSUES |
|---|
| 143 | |
|---|
| 144 | . this code has not been tested using MSIE. |
|---|
| 145 | |
|---|