Subversion Repositories JSX

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
239 2011-12-19 22:54:24 PointedEars /trunk/
* builder.php
  - Removes single-line comments
  
* http.js
  - Use self-documenting variable identifiers

* object.js
  - jsx.throwThis(): Fixed uninitialized variable

* regexp.js
  - jsx.regexp.RegExp(): Fixed bogus optional argument processing

* xpath.js
  - Make DOM exception recoverable in WebCore
  - Fixed JSdoc

* test/httprequest.html
  - Refined test case

* test/regexp.html
  - Refined test case

* test/test.js
  - Supports named tests
  - Shows simple test summary
 
238 2011-12-16 09:20:45 PointedEars /trunk/dom/
* widgets.js
 
237 2011-12-14 21:16:52 PointedEars /trunk/dom/
 
236 2011-12-13 14:22:59 PointedEars /trunk/
* xpath.js
  - jsx.xpath.evaluate():
    + More efficient jsx.object.isMethod() import
    + jsx.xpath.createDefaultNSResolver is cached
    + Fixed: Not importable (uses `this')
    + Fixed: Always returns `false' if primitive values are unavailable
  - jsx.xpath.collectNamespaces():
    + Fixed: Empty URI in default NS decl. is not considered null NS
  - Fixed and updated JSdoc
 
235 2011-12-13 04:21:51 PointedEars /trunk/
* xpath.js
  - jsx.xpath.evaluate():
    + Return null on error
    + Uses local alias for XPathResult (faster access)
  - jsx,xpath.collectNamespaces():
    + Uses `name' and `value' instead of deprecated
      `nodeName' and `nodeValue' for attribute nodes
    + Removed extra RegExp capture
  - jsx.xpath.createFullNSResolver() caches jsx.xpath.collectNamespaces()
  - Updated JSdoc

* test/httprequest.html
  - Uses jsx.test.runner

* test/test.js
  - Uses jsx.object.isNativeMethod()
 
234 2011-12-12 15:51:01 PointedEars /trunk/
* dom.js
  - Added jsx.dom.isDescendantOfOrSelf()

* dom/css.js
  - jsx.dom.css.getComputedStyle():
    + Caches document.defaultView
    + Throws exception if document.defaultView is available,
      but getPropertyValue() is unavailable

* dom/events.js
  - jsx.dom.addEventListener() uses jsx.object.isNativeMethod();
    thanks to Esailija @ StackOverflow.com

* dom/timeout.js
  - Added missing jsx.dom.timeout namespace definition
  - Renamed jsx.dom.runLater() to jsx.dom.timeout.runAsync()

* dom/widgets.js
  - jsx.dom.widgets.Widget():
    + Added comment, clarified variable names
  - jsx.dom.widgets.Widget.prototype.update() updates
    style and is called by inheriting types
  - jsx.dom.widgets.SpinnerInput():
    + Sets width of HTML5-like buttons
    + Fixed: Double decrement/increment with HTML5
    + Fixed: Bogus e.keyIdentifier switch-case fall-through

* object.js
  - Split isMethod() into isHostMethod() and isNativeMethod(),
    keeping aliases (see dom/events.js)

* test/dom/countdown/index.php
  - Added `input' element width to test
    jsx.dom.widgets.Widget.prototype.update()

* httprequest.html
  - Modified to test jsx.xpath.createFullNSResolver()

* xpath.js
  - Now strict mode code
  - jsx.xpath.evaluate()
    + Support implicit default namespace with MSXML
    + Fixed "implied global": res
  - Added jsx.xpath.createFullNSResolver() to use
    new jsx.xpath.collectNamespaces(); both throw
    new jsx.xpath.InvalidNodeError

* test/test.xml.php
  - Added from temporary directory
 
233 2011-11-10 12:01:00 PointedEars /trunk/dom/
* events.js
  - jsx.dom.createEventListener(): Fixed: `this' in listener always refers to event target
 
232 2011-11-01 04:08:24 PointedEars /trunk/
* array.js
  - Moved to jsx.array namespace, renamed all methods
  - jsx.array.toUpperCase() (formerly, array_toUpperCase()):
    Fixed wrong changeCase() call
  - Moved global splice() to jsx.array.splice()  
  - Fixed JSdoc

* builder.php, test/builder-test.html
  - Added PHPDoc; now under GPL v3
  - Reverted file_get_contents() change to support PHP-generated resources
  - Speed optimizations
  - Added test case

* dom/css/css/compat.js
  - Added compatibility layer

* dom/timeout.js
  - Added jsx.dom.timeout.Timeout and jsx.dom.timeout.TimeoutList
  - jsx.dom.runLater() uses jsx.dom.timeout.Timeout

* dom/widgets.js, test/dom/countdown/index.php
  - Moved widgets to jsx.dom.widgets namespace, renamed .InputWidget to .Input
  - Added support for explicit getters and setters
  - Split applyProperties() into init() and update() 
  - Added methods and parent argument from windowed widgets (widgets2.js)
  - Added Button widget
  - SpinnerInput rewrite to use HTML5 if possible
  - Fixed handleKeypress() to use namespaced methods
  - Added/fixed JSdoc
  - Updated test case

* dom/widgets2.js
  - Added JSdoc

* map.js
  - Added JSdoc; now under GPL v3
  - Moved to jsx.map namespace
  - Fixed bogus exception references
  - putAll() and clone() are prototype methods now
  - Exceptions: Replaced explicit super references with implicit ones (DRY) 

* object.js
  - jsx.dmsg() appends stack trace if type is not "info"
  - Added jsx.object.hasPropertyValue()
  - jsx.object.getFunctionName(): Return empty string for `null' or `undefined'
  - jsx.getStackTrace():
    + Disabled bogus stack trace mangling from jsUnit
    + Speed optimization
    + No need for strict inequality with definitive strings on either side
  - jsx.object.getClass():
    + Always use native toString()
    + Removed support for proprietary matches
  - Function.prototype.extend():
    + Moved `this' alias declaration to top
    + Warns if `undefined' is passed for constructor (`null' means intentional)
  - Added Array.prototype.indexOf() emulation

* python.js
  - Added/fixed JSdoc; now under GPL v3
  - Fixed SVN keywords 
  - jsx.python.set() uses slice() if available
  - jsx.python.extend() uses `for' instead of for-in iteration (order matters)

* regexp.js
  - Added support for PCRE `x' modifier

* string.js
  - Added String.prototype.format = jsx.string.format as experimental
    ECMAScript implementation of Python 3.0's default string.format();
    keeping jsx.string.sprintf()

* test/test.js
  - Added JSdoc
 
231 2011-10-05 16:09:27 PointedEars /trunk/
Added experimental widgets with test case
 
230 2011-10-01 19:00:32 PointedEars /trunk/
* .project, .buildpath
  - Fixed project for JSDT and PDT

* ani.js
  - Renamed framerate to frameRate
  - Force frame rate and number of frames to be integer
  - Clarified variable names

* builder.php
  - Added PHPdoc for $_typeMap
  - Added debug and verbose mode
  - Removed unnecessary `else' statements
  - Refined output comments
  
* dom/css.js
  - Optimized jsx.dom.hoverImg()
  - Fixed jsx.dom.css.SelectorList inheritance
  - Fixed JSdoc for jsx.dom.css.SelectorList.prototype.get() return

* dom/events.js
  - jsx.dom.addEventListener():
    + Returns null on failure (previously: false)
    + Handles exceptions of native addEventListener (touch event support)
  - jsx.dom.createEventListener():
    + Added clientX, clientY, offsetX, offsetY properties to wrapped event object
    + Removed unnecessary `else' statements
    + Fixed: `this' in created listener does not refer to event target
  
* object.js
  - Removed obsolete comments
  - jsx.object.defineProperties(): Clarified variable names
  - jsx.tryThis(): Abandon inefficient eval-always approach for now
    (TODO: backwards compatibility of try..catch)
  - jsx.throwThis(): Fixed string escaping
  - Clarified variable names
  - extend() calls in seperate statements (works better with JSDT)

* python.js
  - Fixed JSdoc
  - Added jsx.python.extend()

* regexp.js
  - Ignores exceptions thrown by jsx.importFrom(), throws jsx.regexp.UCDLoadError later

* search.js
  - Replaced deprecated method calls

* style.css
  - Removed selectors specific to the es-matrix

* test/ani.html
  - Removed unnecessary script references

* test/test.js
  - Prints stack trace of exception-throwing test case

* test/regexp.html
  - Added test case
 
229 2011-09-08 09:39:52 PointedEars /trunk/
* builder.php
  - Fixed syntax error
 
228 2011-08-26 23:00:13 PointedEars /trunk/
* builder.php (ResourceBuilder)
  - Added lcfirst() emulation for PHP < 5.3
  - Fixed stack overflow with non-greedy PCRE
  - Added prefix support
  - Default "text/javascript" set by initialization
  - file_get_contents() instead of buffered include
 
227 2011-08-18 11:20:51 PointedEars /trunk/
Added experimental ResourceBuilder
 
226 2011-07-14 10:16:30 PointedEars /trunk/test/
* test/ani.html
  - Added ani.js test case
 
225 2011-07-14 10:15:03 PointedEars /trunk/
* object.js
  - isMethod(): Fixed: null and undefined property names should return false
 
224 2011-07-13 22:23:02 PointedEars /trunk/
* dom/css/color.js
  - Color.prototype.set():
    + Renamed argument
    + Fixed opacity initialization
  - Color.prototype._setComponent():
    + Added percent support
    + Fixed parseInt()
  - Color.prototype.setOpacity(): Fixed to comply with CSS (floats)
  - Color.prototype.inc(): Fixed switch-case fall-through
  - Added RGBA support: Color.prototype.setRGB(), Color.prototype.toRGBAString();
    Color.prototype.toString() now returns the same as Color.prototype.toRGBAString(),
    keeping Color.prototype.toRGBString()
  - Renamed Color.prototype.HSVtoRGB() to Color.prototype.hsv2rgb()
  - Clarified identifiers
  
* object.js
  - jsx.throwThis(): Stack trace now follows error message
  - jsx.object.PropertyError(): Removed single quotes from message
    (does not work well with inheriting types)

* regexp.js
  - jsx.regexp.RegExp():
    + Removed replaces that triggered unnecessary UCD (XHR) requirement
    + Throws special jsx.regexp.UnknownPropertyClassError if property class
      reference cannot be resolved
    + Supports named subpatterns with `(?<name>), `(?'name')' (Perl),
      or `?P<name>' (Python) as specified in pcrepattern(3) 
    + Renamed `subpatterns' property to `groups' (concise and Python-friendly)
  - jsx.regexp.RegExp.exec() und jsx.regexp.String.prototype.match()
    define `groups' property (Object only) to keep matches namespace clean
    (also Python-friendly)
 
223 2011-07-12 10:02:06 PointedEars /trunk/
* ani.js
  - Fixed namespace references
  
* dom/css.js
  - jsx.dom.css.getElemByClassName(): whitespace definition by closure
  
* dom/css/color.js
  - Fixed optional opacity
  - Prepared RGBA support
  
* object.js
  - jsx.object.isInstanceOf(): Disabled error-prone [[Class]]-based fallback
 
222 2011-07-12 09:54:13 PointedEars /trunk/
* collection.js
  - Fixed braces
  
* object.js
  - removed unnecessary `else'
  
* regexp.js
  - Clarified comment
 
221 2011-07-08 13:57:25 PointedEars /trunk/
* types.js
  - bracketsToDots() supports double-quotes
 
220 2011-06-29 21:39:35 PointedEars /trunk/
* dom/css.js
  - Fixed invalid getElemByClassName() definition
  
* object.js
  - jsx.Error(): Fixed uninitialized variable warning
  
* regexp.js
  - jsx.regexp.RegExp(): Fixed XHR refactoring  bug
  - Added jsx.regexp.String.prototype.toString()/.valueOf()
  - Fixed JSdoc
  
* string.js
  - Removed bogus comment (already refactored)
 

Show All