root/mochikit/trunk/doc/rst/MochiKit/VersionHistory.rst @ 605

Revision 605, 10.3 KB (checked in by bob@…, 5 years ago)

New MochiKit-based SimpleTest? test runner as a replacement for Test.Simple

Line 
12006-XX-XX      v1.3
2
3- New MochiKit-based SimpleTest test runner as a replacement for Test.Simple
4- MochiKit.Base.isNull no longer matches undefined
5- example doctypes changed to HTML4
6- isDateLike no longer throws error on null
7- New MochiKit.Signal module, modeled after the slot/signal mechanism in Qt
8- updated elementDimensions to calculate width from offsetWidth instead
9  of clientWidth
10- formContents now works with FORM tags that have a name attribute
11- Documentation now uses MochiKit to generate a function index
12
132006-01-26      v1.2 "the ocho"
14
15- Fixed MochiKit.Color.Color.lighterColorWithLevel
16- Added new MochiKit.Base.findIdentical function to find the index of an
17  element in an Array-like object.  Uses === for identity comparison.
18- Added new MochiKit.Base.find function to find the index of an element in
19  an Array-like object.  Uses compare for rich comparison.
20- MochiKit.Base.bind will accept a string for func, which will be immediately
21  looked up as self[func].
22- MochiKit.DOM.formContents no longer skips empty form elements for Zope
23  compatibility
24- MochiKit.Iter.forEach will now catch StopIteration to break
25- New MochiKit.DOM.elementDimensions(element) for determining the width and
26  height of an element in the document
27- MochiKit.DOM's initialization is now compatible with
28  HTMLUnit + JWebUnit + Rhino
29- MochiKit.LoggingPane will now re-use a ``_MochiKit_LoggingPane`` DIV element
30  currently in the document instead of always creating one.
31- MochiKit.Base now has operator.mul
32- MochiKit.DOM.formContents correctly handles unchecked checkboxes that have
33  a custom value attribute
34- Added new MochiKit.Color constructors fromComputedStyle and fromText
35- MochiKit.DOM.setNodeAttribute should work now
36- MochiKit.DOM now has a workaround for an IE bug when setting the style
37  property to a string
38- MochiKit.DOM.createDOM now has workarounds for IE bugs when setting the
39  name and for properties
40- MochiKit.DOM.scrapeText now walks the DOM tree in-order
41- MochiKit.LoggingPane now sanitizes the window name to work around IE bug
42- MochiKit.DOM now translates usemap to useMap to work around IE bug
43- MochiKit.Logging is now resistant to Prototype's dumb Object.prototype hacks
44- Added new MochiKit.DOM documentation on element visibility
45- New MochiKit.DOM.elementPosition(element[, relativeTo={x: 0, y: 0}])
46  for determining the position of an element in the document
47- Added new MochiKit.DOM createDOMFunc aliases: CANVAS, STRONG
48
492005-11-14      v1.1
50
51- Fixed a bug in numberFormatter with large numbers
52- Massively overhauled documentation
53- Fast-path for primitives in MochiKit.Base.compare
54- New groupby and groupby_as_array in MochiKit.Iter
55- Added iterator factory adapter for objects that implement iterateNext()
56- Fixed isoTimestamp to handle timestamps with time zone correctly
57- Added new MochiKit.DOM createDOMFunc aliases: SELECT, OPTION, OPTGROUP,
58  LEGEND, FIELDSET
59- New MochiKit.DOM formContents and enhancement to queryString to support it
60- Updated view_source example to use dp.SyntaxHighlighter 1.3.0
61- MochiKit.LoggingPane now uses named windows based on the URL so that
62  a given URL will get the same LoggingPane window after a reload
63  (at the same position, etc.)
64- MochiKit.DOM now has currentWindow() and currentDocument() context
65  variables that are set with withWindow() and withDocument().  These
66  context variables affect all MochiKit.DOM functionality (getElement,
67  createDOM, etc.)
68- MochiKit.Base.items will now catch and ignore exceptions for properties
69  that are enumerable but not accessible (e.g. permission denied)
70- MochiKit.Async.Deferred's addCallback/addErrback/addBoth
71  now accept additional arguments that are used to create a partially
72  applied function.  This differs from Twisted in that the callback/errback
73  result becomes the *last* argument, not the first when this feature
74  is used.
75- MochiKit.Async's doSimpleXMLHttpRequest will now accept additional
76  arguments which are used to create a GET query string
77- Did some refactoring to reduce the footprint of MochiKit by a few
78  kilobytes
79- escapeHTML to longer escapes ' (apos) and now uses
80  String.replace instead of iterating over every char.
81- Added DeferredLock to Async
82- Renamed getElementsComputedStyle to computedStyle and moved
83  it from MochiKit.Visual to MochiKit.DOM
84- Moved all color support out of MochiKit.Visual and into MochiKit.Color
85- Fixed range() to accept a negative step
86- New alias to MochiKit.swapDOM called removeElement
87- New MochiKit.DOM.setNodeAttribute(node, attr, value) which sets
88  an attribute on a node without raising, roughly equivalent to:
89  updateNodeAttributes(node, {attr: value})
90- New MochiKit.DOM.getNodeAttribute(node, attr) which gets the value of
91  a node's attribute or returns null without raising
92- Fixed a potential IE memory leak if using MochiKit.DOM.addToCallStack
93  directly (addLoadEvent did not leak, since it clears the handler)
94
952005-10-24      v1.0
96
97- New interpreter example that shows usage of MochiKit.DOM  to make
98  an interactive JavaScript interpreter
99- New MochiKit.LoggingPane for use with the MochiKit.Logging
100  debuggingBookmarklet, with logging_pane example to show its usage
101- New mochiregexp example that demonstrates MochiKit.DOM and MochiKit.Async
102  in order to provide a live regular expression matching tool
103- Added advanced number formatting capabilities to MochiKit.Format:
104  numberFormatter(pattern, placeholder="", locale="default") and
105  formatLocale(locale="default")
106- Added updatetree(self, obj[, ...]) to MochiKit.Base, and changed
107  MochiKit.DOM's updateNodeAttributes(node, attrs) to use it when appropiate.
108- Added new MochiKit.DOM createDOMFunc aliases: BUTTON, TT, PRE
109- Added truncToFixed(aNumber, precision) and roundToFixed(aNumber, precision)
110  to MochiKit.Format
111- MochiKit.DateTime can now handle full ISO 8601 timestamps, specifically
112  isoTimestamp(isoString) will convert them to Date objects, and
113  toISOTimestamp(date, true) will return an ISO 8601 timestamp in UTC
114- Fixed missing errback for sendXMLHttpRequest when the server does not
115  respond
116- Fixed infinite recusion bug when using roundClass("DIV", ...)
117- Fixed a bug in MochiKit.Async wait (and callLater) that prevented them
118  from being cancelled properly
119- Workaround in MochiKit.Base bind (and partial) for functions that don't
120  have an apply method, such as alert
121- Reliably return null from the string parsing/manipulation functions if
122  the input can't be coerced to a string (s + "") or the input makes no sense;
123  e.g. isoTimestamp(null) and isoTimestamp("") return null
124
1252005-10-08      v0.90
126
127- Fixed ISO compliance with toISODate
128- Added missing operator.sub
129- Placated Mozilla's strict warnings a bit
130- Added JSON serialization and unserialization support to MochiKit.Base:
131  serializeJSON, evalJSON, registerJSON.  This is very similar to the repr
132  API.
133- Fixed a bug in the script loader that failed in some scenarios when a script
134  tag did not have a "src" attribute (thanks Ian!)
135- Added new MochiKit.DOM createDOMFunc aliases: H1, H2, H3, BR, HR, TEXTAREA,
136  P, FORM
137- Use encodeURIComponent / decodeURIComponent for MochiKit.Base urlEncode
138  and parseQueryString, when available.
139
1402005-08-12      v0.80
141
142- Source highlighting in all examples, moved to a view-source example
143- Added some experimental syntax highlighting for the Rounded Corners example,
144  via the LGPL dp.SyntaxHighlighter 1.2.0 now included in examples/common/lib
145- Use an indirect binding for the logger conveniences, so that the global
146  logger could be replaced by setting MochiKit.Logger.logger to something else
147  (though an observer is probably a better choice).
148- Allow MochiKit.DOM.getElementsByTagAndClassName to take a string for parent,
149  which will be looked up with getElement
150- Fixed bug in MochiKit.Color.fromBackground (was using node.parent instead of
151  node.parentNode)
152- Consider a 304 (NOT_MODIFIED) response from XMLHttpRequest to be success
153- Disabled Mozilla map(...) fast-path due to Deer Park compatibility issues
154- Possible workaround for Safari issue with swapDOM, where it would get
155  confused because two elements were in the DOM at the same time with the
156  same id
157- Added missing THEAD convenience function to MochiKit.DOM
158- Added lstrip, rstrip, strip to MochiKit.Format
159- Added updateNodeAttributes, appendChildNodes, replaceChildNodes to
160  MochiKit.DOM
161- MochiKit.Iter.iextend now has a fast-path for array-like objects
162- Added HSV color space support to MochiKit.Visual
163- Fixed a bug in the sortable_tables example, it now converts types
164  correctly
165- Fixed a bug where MochiKit.DOM referenced MochiKit.Iter.next from global
166  scope
167
1682005-08-04      v0.70
169
170- New ajax_tables example, which shows off XMLHttpRequest, ajax, json, and
171  a little TAL-ish DOM templating attribute language.
172- sendXMLHttpRequest and functions that use it (loadJSONDoc, etc.) no longer
173  ignore requests with status == 0, which seems to happen for cached or local
174  requests
175- Added sendXMLHttpRequest to MochiKit.Async.EXPORT, d'oh.
176- Changed scrapeText API to return a string by default.  This is API-breaking!
177  It was dumb to have the default return value be the form you almost never
178  want.  Sorry.
179- Added special form to swapDOM(dest, src).  If src is null, dest is removed
180  (where previously you'd likely get a DOM exception).
181- Added three new functions to MochiKit.Base for dealing with URL query
182  strings: urlEncode, queryString, parseQueryString
183- MochiKit.DOM.createDOM will now use attr[k] = v for all browsers if the name
184  starts with "on" (e.g. "onclick").  If v is a string, it will set it to
185  new Function(v).
186- Another workaround for Internet "worst browser ever" Explorer's setAttribute
187  usage in MochiKit.DOM.createDOM (checked -> defaultChecked).
188- Added UL, OL, LI convenience createDOM aliases to MochiKit.DOM
189- Packing is now done by Dojo's custom Rhino interpreter, so it's much smaller
190  now!
191
1922005-07-29      v0.60
193
194- Beefed up the MochiKit.DOM test suite
195- Fixed return value for MochiKit.DOM.swapElementClass, could return
196  false unexpectedly before
197- Added an optional "parent" argument to
198  MochiKit.DOM.getElementsByTagAndClassName
199- Added a "packed" version in packed/MochiKit/MochiKit.js
200- Changed build script to rewrite the URLs in tests to account for the
201  JSAN-required reorganization
202- MochiKit.Compat to potentially work around IE 5.5 issues
203  (5.0 still not supported).  Test.Simple doesn't seem to work there,
204  though.
205- Several minor documentation corrections
206
2072005-07-27      v0.50
208
209- Initial Release
Note: See TracBrowser for help on using the browser.