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
249 2012-03-24 14:16:31 PointedEars /trunk/
* object.js, regexp.js, test/debug.js
  - Added SVN keywords, fixed Copyright year
 
248 2012-03-24 13:58:32 PointedEars /trunk/
* object.js
  - jsx.options.emulate can be predefined (from es-matrix)
  
* regexp.js
  - Character property class references in property classes are resolved,
    cyclic definition throws jsx.regexp.InvalidPropertyClassError
  - Renamed jsx.regexp.UnknownPropertyClassError to
    jsx.regexp.UndefinedPropertyClassError

* test/debug.js
  - jsx.debug.test(): Fixed jsx.tryThis() exception handling (for es-matrix)
 
247 2012-02-28 22:59:03 PointedEars /trunk/dom/
* dom/forms.js
  - jsx.dom.addOption(): More compatible rewrite (removed index argument)
 
246 2012-02-11 03:22:01 PointedEars /trunk/dom/
* dom/events.js
  - Added SVN keywords
 
245 2012-02-11 03:00:07 PointedEars /trunk/
* builder.php
  - Replaced tabs with spaces
  - Fixed PHPDoc
 
244 2012-02-10 19:27:07 PointedEars /trunk/
* math/bigdecimal.js
  - Distributed under GPLv3
  - jsx.math.BigDecimal.normalize(): Simplified scale computation
  - Fixed jsx.math.BigDecimal.prototype.subtract()
  - Added jsx.math.BigDecimal.prototype.negate() and .toString()

* object.js
  - Added jsx.options.emulate to make augmentation
    of built-in objects optional (default: true===yes) (for es-matrix)

* string.js
  - jsx.string.pad(): Fixed Array.prototype.join() shortcut

* test/debug.js
  - Fixed isMethod() calls
  - Fixed window.onerror
  - Removed legacy _global, use jsx.global instead

* test/test.js
  - Updated JSdoc

* types.js
  - Added support for jsx.options.emulate (default: true)
  - Removed legacy comments

* xpath.js
  - Fixed jsx.xpath.InvalidImplementationError()
  - Fixed jsx.xpath.InvalidNodeError() for strict mode
 
243 2012-02-07 15:40:51 PointedEars /trunk/test/
* test/map.php
  - Test cases for map.js
 
242 2012-02-07 15:37:53 PointedEars /trunk/
* General
  - Excluded ES-Matrix from build path

* builder.php
  - Added experimental resolveDeps() (unused)

* dom.js
  - Added jsx.dom.createElementFromObj() (from anti-SOPA.js)

* dom/audio.js
  - Fixed error-prone for-in loop

* dom/css.js
  - Added jsx.dom.css.selectors using productions from css3-selectors,
    clean-up of jsx.dom.css.SelectorList.prototype.findSimpleSelector()
  - Added jsx.dom.css.findRules() (from zattoo.user.js)
  - Added jsx.dom.css.getSpecificity()
  -  jsx.dom.css.getElemByClassName():
    + Supports context node
    + Major fix with class map
    + Improved performance
  - Added jsx.dom.css.makeInline()

* dom/timer.js
  - jsx.dom.Timer() uses Object.keys() if available

* dom/widgets.js
  - jsx.dom.widgets.SpinnerInput() rethrows unhandled exception
    (using new jsx.rethrowThis())

* http.js
  - Returns success listener return value (for synchronous handling),
    disabled server-stop code

* map.js
  - Now in strict mode, which fixed stupid bugs

* math.js
  - Fixed namespace problems in JSDT

* math/algebra.js
  - Moved to jsx.math namespace
  - Fixed matrix methods

* math/bigdecimal.js
  - Experimental arbitrary precision support

* math/float.js
  - Moved to jsx.math namespace
  - Renamed and fixed max/min/avg methods

* object.js
  - jsx.throwThis():
    + Supports (re-)throwing Errors with isPrototypeOf() checking
  - Added jsx.rethrowThis() anyway
  - Added Array.isArray() emulation (TODO: optional augmentation, see es-matrix)
  - Fixed JSdoc

* regexp.js
  - Rethrows RegExp exceptions with jsx.rethrowThis()
  - Cleaner PCRE named subpatterns support
  - Fixed JSdoc

* test/debug.js
  - jsx.debug.test() uses jsx.tryThis() instead of plain eval() (for es-matrix)

* test/regexp.html
  - Added test for PCRE named subpatterns support
  - Prints results to document (for mobiles and StackOverflow)

* test/test.js
  - Split jsx.test.assert() and jsx.test.assertTrue()
  - jsx.test.assertTrue() and .assertFalse() expect real booleans
  - Added jsx.test.assertUndefined()
  - Fixed "variable may not have been initialized" in JSDT

* xpath.js
  - Rethrows XPath exceptions with jsx.rethrowThis()
 
241 2012-01-29 02:28:47 PointedEars /trunk/test/
* test/debug.js
  - Moved test() to jsx.debug namespace (for es-matrix),
    removed bogus gauntlet
 
240 2011-12-20 00:02:21 PointedEars /trunk/test/
* test/httprequest.html
  - Adapted for live online test in MSHTML
  
* test/regexp.html
  - Adapted for live online test
 
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
 

Show All