Rev |
Age |
Author |
Path |
Log message |
Diff |
274 |
2012-09-14 04:36:32 |
PointedEars |
/trunk/ |
* regexp.js
- Use jsx.object.getDataObject() instead of plain Object literals
- Use local aliases for more efficient access
- jsx.regexp.RegExp();
+ `this' is discarded anyway, so avoid it
+ Added .patternGroups (maps group index to pattern group)
+ Added .names (maps name to group index)
+ Added .flags (similar to Python)
+ Renamed .originalSource to .pattern (like Python),
fixed init position
+ Duplicate symbolic names throw SyntaxError
+ Unicode mode: Leading \b matches are properly trimmed
* regexp.php
- jsx.regexp.RegExp as global RegExp2, jsx.regexp.String as String2,
for easier testing (may be reverted)
- Added test case for Unicode mode flag |
|
273 |
2012-09-13 00:58:23 |
PointedEars |
/trunk/ |
* regexp.js
- Fixed jsx.regexp.toString2(): Support RegExp.prototype method
- jsx.regexp.concat(): Fixed flag merging
- jsx.regexp.intersect(): Several bugfixes
- jsx.regexp.RegExp():
+ Supports special \b expansion in Unicode mode
+ Added unicodeMode property
- jsx.regexp.RegExp.exec(), jsx.regexp.String.match():
+ Use jsx.object.getDataObject() for .groups
+ Access to anonymous groups via .groups[index:int]
+ Trim \b prefix matches
- jsx.regexp.UCDLoadError (),
jsx.regexp.UndefinedPropertyClassError(),
jsx.regexp.InvalidPropertyClassError():
+ Use more distinct local aliases to avoid name collision
with borken JScript versions
- Compiles in ES 5 strict mode
* test/regexp.php
- Refined unit test |
|
272 |
2012-09-12 00:57:35 |
PointedEars |
/trunk/ |
* regexp.js
- Added support for single-line comments with PCRE_EXTENDED
* test/regexp.php
- Modified PCRE_EXTENDED test case
- Emphasized error console info
* test/test.js
- Use vertical-align: top as fallback for the default `baseline'
(works better with border-bottom) |
|
271 |
2012-09-11 22:10:47 |
PointedEars |
/trunk/ |
* regexp.js
- Use \p{Word} from UCD instead of hard-coded value
- Renamed test case from test/regexp.html to test/regexp.php
(referred without suffix -- "Cool URIs don't change")
* test/regexp.php
- Fixed invalid markup
- Added help for acronyms
- Added "View source" link
* UnicodeData.js (UCD)
- All property classes are alphabetically sorted by property name
- Added `N' (numbers) property class
- Added `Word' property class to include numbers (\p{N}) |
|
270 |
2012-09-11 18:51:38 |
PointedEars |
/trunk/test/ |
* test/regexp.html
- Added `feature' specification
- Clarified Unicode mode
- Removed extra console.log() call
* test/test.js
- Added support for `feature' specification property (for regexp.js) |
|
269 |
2012-09-11 18:12:20 |
PointedEars |
/trunk/ |
* regexp.js
- Supports Unicode mode where \w matches non-ASCII letters too
- Static methods use `this' (support import of owner only)
- Constructors are safe-mode compatible
* string/parser.js
- Fixed jsx.regexp.RegExp support
- Fixed _longestMatchWins
- Warns if Parser() does not get passed a Lexer
- Fixed JSdoc
* test/debug.js
- Improved jsx.xpath support
- Minor optimizations
* test/object.html
- Added more specific test cases
* test/regexp.html
- Added test cases for Unicode mode
* UnicodeData.js
- Added L and M property classes
- Added SVN Id keyword |
|
268 |
2012-09-07 18:47:06 |
PointedEars |
/trunk/string/ |
* string/parser.js
- Fixed jsx.regexp.RegExp support
(native RegExp throws on unsupported flags) |
|
267 |
2012-09-07 17:36:41 |
PointedEars |
/trunk/ |
* General
- Added string/parser.js (generic parser
using generic jsx.regexp.RegExp- or RegExp-based lexer)
* doc/tree.html
- Generate tree from loaded JSX objects
* dom.js
- Modified for dom/xpath.js support
- Fixed JSdoc, types.js no longer required
* dom/xpath.js
- Moved xpath.js to dom/ and jsx.dom.xpath namespace
- Modified testcase: test/xpath.html
* http.js
- Support setting extra request header fields
- Setters return `this' for possible chaining
- Updated JSdoc
* math/float.js
- Added jsx.math.getValue() for improved
jsx.math.max(), jsx.math.min() and jsx.math.avg()
- Added jsx.math.median()
* object.js
- jsx.object._hasOwnProperty(): Fixed typo
- Added jsx.object.getDoc()
- Pretty printing
* regexp.js
- jsx.regexp.UndefinedPropertyClassError and
jsx.regexp.InvalidPropertyClassError use own messages
- Fixed markup in JSdoc
* string.js
- Added unit test: test/string.html
- Pretty printing
* test/debug.js
- synhl() modified for dom/xpath.js support
* test/httprequest.html
- Modified for dom/xpath.js support
* test/test.js (Unit testing library)
- Optimized stylesheet creation
- Added support for `feature' spec and test property
- Added jsx.test.runner.setFile()
- Display failure/success percentages
- Support `desc' as shorthand for `description' test property
- jsx.test.runner setters return `this' for possible chaining |
|
266 |
2012-08-23 17:47:02 |
PointedEars |
/trunk/ |
* object.js
- Added jsx.error() and corresponding jsx.dmsg() constant
(for improved test/test.js)
* test/regexp.html
- Updated for improved test/test.js
* test/test.js (Unit Testing library)
- Added SVN keywords
- Added jsx.test.version property
- Additionally generates HTML result table onload by default
(disable with {updateDocument: false})
- Support new specification properties:
+ file to specify filename containing the tested feature
+ For test cases: file (overrides specification),
feature (for the tested feature),
description (deprecates `name')
- Exceptions generate error msg (better visible)
- Summary generates info msg and table footer |
|
265 |
2012-08-23 10:51:33 |
PointedEars |
/trunk/ |
* General
- Prepared commit of ObjectInspector
- Updated compatibility layer (compat.js)
* ani.js
- Fixed JSdoc
* dom.js
- jsx.dom.getElemByTagName(): Use jsx_object alias consistently
- jsx.dom.createElementFromObj() supports elementType property
* dom/widgets.js
- Supports ES 5 strict mode
- Names of properties that should not be accessed from public context
are prefixed with _ (underscore)
- update():
+ Use jsx.dom.css.setStyleProperty() to handle `float' property properly
+ Fixed JSdoc
- jsx.dom.widgets.Widget.prototype.render() calls this.update() first
- Methods return `this' for possible chaining
- Added jsx.dom.widgets.Container for features cmmon to container widgets
(buttons, lists, trees)
- Added list widgets
* map.js
- Relocated jsx.object.isObject() import
* math/float.js
- Fixed gradian (gon) support
- Fixed radian/gradian JSdoc (thanks to John Stockton,
<news:yQajd4FkHTNQFwFR@invalid.uk.co.demon.merlyn.invalid>)
* object.js
- jsx.object.getDataObject(): Fixed JSdoc
* search.js
- SearchString(): Fixed isMethodType() call
* string.js
- hashCode(): Fixed JSdoc |
|
264 |
2012-08-17 20:07:33 |
PointedEars |
/trunk/ |
* dom.js (backported from commercial project)
- jsx.dom.appendChildren() and jsx.dom.removeChildren()
return null or Array of appended/removed Nodes
instead of booleans |
|
263 |
2012-08-17 20:05:31 |
PointedEars |
/trunk/ |
* dom.js (backported from commercial project)
- jsx.dom.createElementFromObj():
+ Supports creation of Array of Nodes
+ Added createNodeFromObj(), createNodesFromObj() aliases
+ Supports ES 5 strict mode
- Added jsx.dom.appendChildren(), jsx.dom.removeChildren()
- jsx.dom.hyphenate() uses jsx.object.isArray()
- Fixed bogus declarations and assignments
- Updated doc comments |
|
262 |
2012-08-12 22:21:25 |
PointedEars |
/trunk/dom/ |
* dom/widgets.js
- Added jsx.dom.widgets.Table (can RegExp-filter
table rows; backported from commercial project)
- Added JSdoc |
|
261 |
2012-07-20 20:35:06 |
PointedEars |
/trunk/ |
* dom/css/color.js
- jsx.dom.css.Color.prototype.toHSL():
Try to jsx.importOnce() requirements
* map.js
- Imports from object.js
- Supports object references as keys, based on Tim Down's jshashtable 1.0
* object.js
- Added methods:
+ jsx.importOnce()
+ jsx.object.getDataObject()
+ jsx.object.isObject()
+ jsx.require()
- Object.defineProperties() emulation uses Object.defineProperty()
- jsx.object.inheritFrom(): Fixed empty prototype chain
- Function.prototype.extend(): Renamed private properties
- Several optimizations
- Added JSdoc
* test/map.php
- Added test cases for object key
* test/test.js
- jsx.test.AssertionError(): Use ._super to refer to call super-constructor |
|
260 |
2012-07-13 16:26:36 |
PointedEars |
/trunk/ |
* dom/events.js
- jsx.dom.createEventListener(): Added support for `which' property
(backported from commercial project)
* dom/widgets.js
- jsx.dom.widgets.NumberInput():
+ Fixed bogus type test
+ Added support for `min' and `max' properties (HTML5)
+ Default value is 0
* object.js
- Object.getOwnPropertyNames():
Fixed bad closure in emulation
(backported from commercial project) |
|
259 |
2012-06-25 21:33:24 |
PointedEars |
/trunk/dom/css/ |
* dom/css/color.js
- Support float values (according to CSS3 Values WD) |
|
258 |
2012-06-25 20:32:19 |
PointedEars |
/trunk/dom/css/ |
* dom/css/color.js
- jsx.dom.css.Color.prototype.diff(): Fixed JSdoc |
|
257 |
2012-06-25 20:27:32 |
PointedEars |
/trunk/ |
* ani.js
- Optimized imports
* dom/css/color.js
- Clean-up:
+ jsx.dom.css.Color(): Fixed return value when first parameter is a Color
+ Added jsx.dom.css.Color.diff(), removed second paramter from
jsx.dom.css.Color.prototype.diff()
+ Organized methods
+ Optimized imports
+ Renamed local variables
+ Fixed/Updated JSdoc |
|
256 |
2012-06-25 05:21:50 |
PointedEars |
/trunk/dom/css/ |
* dom/css/color.js
- jsx.dom.css.Color.prototype.getWebSafe():
+ Speed optimization of getNearestSafeValue()
+ Renamed local variables |
|
255 |
2012-06-25 04:55:27 |
PointedEars |
/trunk/ |
* builder.php
- Generate cache-controlling header fields
* dom/css.js
- Auto-import dependencies (EXPERIMENTAL)
* dom/css/color.js
- Distributed under GPLv3
- Use strict mode
- Auto-import dependencies (EXPERIMENTAL)
- jsx.dom.css.Color(): Fixed parameter names
- Added jsx.dom.css.Color.MIN_VALUE, .MAX_VALUE
- Fixed jsx.dom.css.Color.prototype.hsv2rgb() and made it
static, calling new jsx.dom.css.HSVColor.prototype.toRGB()
- Use Function.prototype.extend() from (smaller footprint)
- Added jsx.dom.css.HSVColor, .HSLColor
- Fixed JSdoc
- Added SVN keywords
* grammar.js
- Added experimental jsx.grammar.Grammar2
- Added test case (test/grammar.html)
* http.js
- Never fetch resources from HTTP/1.1 caches (up-to-date, but slower; FIXME)
* float.js
- Fixed bogus isArray() call with jsx.object.isArray()
* object.js
- Added jsx.absPath()
- jsx.importFrom():
+ Stores URI of last import, for auto-imports
+ Supports document.head from HTML5 WD
* string.js
- Copied leadingZero to jsx.string namespace
- Fixed obsolete pad() calls with jsx.string.pad()
* test/object.html
- Include http.js to test jsx.importFrom() |
|