Commit graph

1698 commits

Author SHA1 Message Date
rolux
6847102507 fix documentation 2012-05-30 00:28:52 +02:00
rolux
c12c49d4d1 update Ox.DocPage 2012-05-30 00:28:14 +02:00
rolux
49adbe7048 fix CSS for OxSourceCode 2012-05-30 00:27:14 +02:00
rolux
f7e58b05e9 update Ox.doc; add (some) inline comments in Ox.test 2012-05-30 00:26:25 +02:00
rolux
250db05abc correct Ox.doc documentation 2012-05-29 16:19:57 +02:00
rolux
e791e93a65 update SourceCode CSS 2012-05-29 16:18:37 +02:00
rolux
5dc654ad6d Ox.doc: change test object from {statement, result} to {statement, expected}, plus some refactoring; Ox.test: allow source, file, files, docObject or docObjects as first argument, make it testable and add a test, plus some refactoring; Ox.tokenize: add error type, continue lexing on error 2012-05-29 16:18:05 +02:00
rolux
38016aa06b Ox.doc: add tests; Ox.test: add documentation 2012-05-29 13:48:54 +02:00
rolux
c5fdc1ab39 simplify escapeRegExp regexp 2012-05-29 12:59:41 +02:00
rolux
7dd9169b3f Ox.fallback -> Ox.polyfill 2012-05-29 12:20:50 +02:00
rolux
b151a0c9a8 fix formatting bugs related to optional replacements 2012-05-29 12:14:58 +02:00
rolux
8cd27bca2f 'null' and 'undefined' are primitives, too 2012-05-29 12:12:54 +02:00
j
a0646c54d3 add more documentation tooltip.show 2012-05-29 11:18:36 +02:00
j
266a0fa9df fix tooltip 2012-05-28 21:03:48 +00:00
j
91e1065aab rename Ox.UI source files, remove Ox. prefix 2012-05-28 19:44:12 +00:00
j
005d50c389 self.setOption ~> that.update 2012-05-28 19:35:41 +00:00
rolux
9ee0742b53 refactoring 2012-05-28 18:21:00 +02:00
rlx
ab68c4a54f add that.update to Ox.Element 2012-05-28 16:16:23 +00:00
rolux
2323525e25 that.update() -> that.updatePanel() 2012-05-28 17:53:21 +02:00
rolux
461a237880 .bind -> .on, .unbind -> .off 2012-05-28 16:06:22 +02:00
rolux
f45f993f42 minor reformatting 2012-05-28 16:04:50 +02:00
rolux
de9021ca0c add fixme 2012-05-28 16:04:28 +02:00
rolux
102d8dce41 in event callbacks, use this., not data._element 2012-05-28 16:03:59 +02:00
rolux
7f05af7380 allow for binding a callback to all events of an element; change the signature of event callbacks from (data) to (data, event), where event is the original jQuery event (formerly data._event) 2012-05-28 16:02:25 +02:00
rolux
8c60fef203 translate foo to <code>foo</code> 2012-05-28 15:58:10 +02:00
rolux
ef15919a3e rename the 'original event data' property of Ox.List drag & drop events from '_event' to 'event' 2012-05-28 15:55:35 +02:00
rolux
2b592a8f2d add comment 2012-05-28 15:53:38 +02:00
rolux
a80534a1bd Ox.$.bind -> Ox.$.on, Ox.$.unbind -> Ox.$.off 2012-05-28 15:53:10 +02:00
rolux
3208ab35b9 improved test 2012-05-28 15:52:27 +02:00
rolux
1b99ab0fc9 cleanup and simplify Ox.JQueryElement 2012-05-28 11:30:51 +02:00
rolux
8210a0c5cd fix a bug in sort, rename vars, re-enable Ox.api documentation 2012-05-28 07:52:46 +02:00
rolux
01493c1fe5 re-order methods 2012-05-27 23:17:40 +02:00
rolux
c09ef8b2b6 add a fixme and a semicolon 2012-05-27 23:17:02 +02:00
rolux
3fa59712c8 fix a potential bug in Ox.decodeBase32 2012-05-27 23:16:35 +02:00
rolux
9d26a4b6c3 add tests 2012-05-27 23:14:59 +02:00
rolux
b6411d485a off by one in Ox.encodeBase26 2012-05-27 22:59:43 +02:00
rolux
f030596468 remove Ox.TYPES 2012-05-27 22:09:52 +02:00
rolux
30e59f5538 when passing an array to Ox.values, return a clone, not the original array 2012-05-27 22:08:08 +02:00
rolux
9cc9a167f8 minor cleanup 2012-05-27 21:53:27 +02:00
rolux
948437b535 in Ox.doc, fix item.line; in Ox.tokenize, make line and column start at 1, not 0 2012-05-27 21:53:02 +02:00
rolux
5204ef14b4 update documentation, add test 2012-05-27 21:38:02 +02:00
rolux
5a07fc2519 typo in documentation 2012-05-27 21:34:16 +02:00
rolux
51edb6b82a add missing semicolons 2012-05-27 21:33:36 +02:00
rolux
2ea1283901 use new-style tokens 2012-05-27 21:33:04 +02:00
rolux
f98d997c4a typo in comment 2012-05-27 21:32:39 +02:00
rolux
b9f7490436 improve test 2012-05-27 21:32:08 +02:00
rolux
45942cc3f2 fix Ox.isEqual(-0, +0), update tests 2012-05-27 18:59:40 +02:00
rolux
8612218011 remove print statement, make slow tests faster 2012-05-27 18:46:59 +02:00
rolux
b44b2da4d2 use simplified async test syntax 2012-05-27 18:44:00 +02:00
rolux
ba4086bc55 Ox.noop: call the last (not the first) argument in case it is a function - this way it can be used as an async iterator 2012-05-27 18:43:12 +02:00
rolux
a811f29837 add test 2012-05-27 18:41:14 +02:00
rolux
f3b0bb6c86 simplify async test syntax, allow for files with ?random suffix 2012-05-27 18:40:51 +02:00
rolux
f996a24ce2 don't require async tests to also return synchronously 2012-05-27 17:00:18 +02:00
rolux
54694e3d7e add async test for Ox.encodeDeflate 2012-05-27 16:54:50 +02:00
rolux
27b55e2b6e update DocPage ('examples' property renamed to 'tests') 2012-05-27 16:54:20 +02:00
rolux
b4bb926c0c move Ox.parseDuration to String.js 2012-05-27 16:53:23 +02:00
rolux
6a2ac97bec in Ox.test, allow for async tests; in Ox.doc, rename the 'examples' property to 'tests' 2012-05-27 16:52:48 +02:00
rolux
6e7743efd3 move Ox.parseDuration to String.js 2012-05-27 16:51:49 +02:00
rolux
a34c406d78 Date.js: add the missing date argument to Ox.getTimezoneOffset (the current timezone's offset may have been different in the past); return '+0000', not '-0000', in Ox.getTimezoneOffsetString; correct a test for Ox.makeDate 2012-05-27 15:05:24 +02:00
rolux
4b8c1a7d6b Ox.formatDate: better tests for '%s' and '%+', fix '%s', '%Z' and '%z' 2012-05-27 15:01:22 +02:00
rolux
707899b61c add test 2012-05-27 13:42:55 +02:00
rolux
ccae6e4997 reorder regexp, add test 2012-05-27 13:40:19 +02:00
rolux
cc29f8f832 in Ox.sanitizeHTML, allow mailto: links 2012-05-27 13:28:08 +02:00
rolux
17983efc47 in Ox.sanitizeHTML, fix a bug with adding links 2012-05-27 13:11:49 +02:00
rolux
c41afd2f5d Ox.parseHTML -> Ox.sanitizeHTML, Ox.encodeHTML -> Ox.encodeHTMLEntities, Ox.decodeHTML -> Ox.decodeHTMLEntities 2012-05-27 12:40:02 +02:00
rolux
fef07dff6f rewrite formatText for clarity, and use new Ox.highlightHTML 2012-05-27 12:38:14 +02:00
rolux
40d1d021d4 remove Ox.encodeHTML and Ox.decodeHTML; move Ox.encodeHTMLEntities and Ox.decodeHTMLEntities to HTML.js 2012-05-27 12:37:09 +02:00
rolux
b93750e325 replace Ox.parseEmailAddresses and Ox.parseURLs with Ox.addLinks; rename Ox.parseHTML to Ox.sanitizeHTML; add Ox.normalizeHTML; update Ox.encodeHTMLEntities and Ox.decodeHTMLEntities so that they also cover the previous Ox.encodeHTML and Ox.decodeHTML 2012-05-27 12:36:16 +02:00
rolux
f94395d652 move Ox.parseURL to String.js and Ox.highlightHTML to HTML.js 2012-05-27 12:31:09 +02:00
rolux
68c06a76bf fix Ox.replaceRegExp 2012-05-26 23:15:09 +02:00
j
ba724933e8 fix setting position and paused state on timeline panel and player 2012-05-26 19:01:05 +00:00
j
68d50978ba trailing comma removal, 2012-05-26 15:48:19 +00:00
j
61e05f4f86 fix object stringify 2012-05-26 15:47:41 +00:00
j
0fc0e671e1 allow changing options.paused before metadata is loaded, trigger loadedmetadata event 2012-05-26 13:32:31 +00:00
rolux
6169a4e6ec in JSON.parse, throw original error 2012-05-26 15:09:57 +02:00
rolux
f37c60b31a json dates have milliseconds 2012-05-26 15:05:35 +02:00
rolux
5c2842e0d4 add Ox.splice 2012-05-26 15:05:11 +02:00
rolux
037685e738 json dates are utc 2012-05-26 14:42:59 +02:00
rolux
12ed2c93fc fix #799: use '(function() {}())', not '(function() {})()' 2012-05-26 14:38:45 +02:00
rolux
5bfc555b9e add Ox.fallback.JSON 2012-05-26 14:33:50 +02:00
j
033155cc51 expose paused as option in VideoEdito and VideoPlayerPanel 2012-05-26 11:52:08 +00:00
rolux
d9c69a0975 improve performance of DocPanel by returning tokens (not source) from Ox.doc and making Ox.SyntaxHighlighter accept tokens 2012-05-26 13:11:06 +02:00
rolux
6b12776ed9 update docs, add tests 2012-05-26 13:02:50 +02:00
rolux
e081f5b0ee use new-style (textual, not tokenized) source 2012-05-26 12:56:23 +02:00
rolux
ba4588f3fa use new-style tokens 2012-05-26 12:55:54 +02:00
rolux
6c98a82800 add Ox.KEYWORDS 2012-05-26 12:55:20 +02:00
rolux
5a2ecca0f1 improve Ox.tokenize, add Ox.identify 2012-05-26 12:54:52 +02:00
rolux
08aedd34fd update docs 2012-05-26 00:44:21 +02:00
rolux
9ffe48b526 move comment out of docs 2012-05-26 00:42:32 +02:00
rolux
093af4ee35 use loadScriptsParallel 2012-05-26 00:20:52 +02:00
rolux
5086c5da90 test for undefined 2012-05-26 00:20:43 +02:00
rolux
65c070d6b6 update test, add comments 2012-05-26 00:18:50 +02:00
rolux
463c9d9e90 rename vars 2012-05-26 00:18:08 +02:00
rolux
93cefc518a add a test 2012-05-26 00:17:32 +02:00
rolux
b4c0060861 better Ox.minify 2012-05-26 00:02:28 +02:00
j
5fa84fc9af remove trailing commas 2012-05-25 21:59:48 +00:00
j
aa8f4133be IE8 fixes 2012-05-25 21:42:10 +00:00
rolux
12dcdf13fc fix Ox.isEqual 2012-05-25 23:00:28 +02:00
rolux
c481889f3a typo 2012-05-25 22:30:17 +02:00
rolux
735b47ca8d update comment 2012-05-25 22:27:39 +02:00
rolux
b2cae84ca9 rename vars 2012-05-25 21:25:48 +02:00
rolux
5ad848c563 fix Ox.typeOf 2012-05-25 21:19:27 +02:00
rolux
f46ff46da8 re-insert closure 2012-05-25 21:13:11 +02:00
rolux
a956c8b7e1 typo 2012-05-25 21:09:52 +02:00
rolux
9aca80c3cb add nodelist type check 2012-05-25 21:08:29 +02:00
rolux
b0000b5169 check if history.pushState exists 2012-05-25 19:58:43 +02:00
rolux
e1192fd45e use Ox.filter 2012-05-25 19:46:27 +02:00
rolux
ec12eddfba use Ox.typeOf 2012-05-25 19:46:02 +02:00
rolux
80549fe4e2 handle FF 3.6 arguments 'object' 2012-05-25 19:45:07 +02:00
rolux
c8cc037ef6 in Ox.wrap, iterate over Ox.methods(Ox) 2012-05-25 19:28:39 +02:00
rolux
c56b7cc9ed fix a bug in Ox.test 2012-05-25 19:28:17 +02:00
rolux
dfbbcd113b handle FF 3.6 2012-05-25 19:09:25 +02:00
rolux
fa1b2346ef minor change 2012-05-25 19:07:40 +02:00
rolux
d14abf96fc check if history.replaceState exists 2012-05-25 18:51:26 +02:00
rolux
fe8031578a remove newline 2012-05-25 18:33:37 +02:00
rolux
873dc2e550 use global, not window 2012-05-25 18:33:12 +02:00
rolux
8a7e0dff11 don't eval tests if there is only a script tag 2012-05-25 18:32:54 +02:00
j
eb9cd1e397 IE fixes 2012-05-25 16:28:05 +00:00
rolux
d83046460f fix window.console.log for IE8/IE9 2012-05-25 18:03:02 +02:00
rolux
20564c7fab reordering functions 2012-05-25 17:46:54 +02:00
rolux
b2f392a2b5 add Array.isArray 2012-05-25 17:45:01 +02:00
rolux
2f5a99a88f add Function.prototype.bind and window.console.log.apply 2012-05-25 17:40:21 +02:00
rolux
67fcca7304 in Ox.typeOf, handie IE nodelist (htmlcollection) 2012-05-25 17:39:37 +02:00
rolux
9d4128c787 add tests 2012-05-25 16:25:41 +02:00
rolux
4c2199a820 update tests 2012-05-25 16:25:35 +02:00
rolux
aebd6aacff add Array.prototype.every and Array.prototype.some 2012-05-25 15:24:27 +02:00
rolux
223323ac82 add Array.prototype.reduceRight 2012-05-25 15:16:21 +02:00
rolux
d8a88c7f47 add Array.prototype.lastIndexOf 2012-05-25 14:49:47 +02:00
rolux
68ff06af2a use native ''.trim; rename vars 2012-05-25 14:32:17 +02:00
rolux
e480d87b34 add String.prototype.trim 2012-05-25 14:16:51 +02:00
rolux
e47f826329 minor cleanup 2012-05-25 13:42:33 +02:00
rolux
b1ff236b3f rename vars 2012-05-25 13:42:25 +02:00
rolux
84050d67a3 rename vars 2012-05-25 13:32:57 +02:00
rolux
95bfdf9b4d rename vars; improved Ox.typeOf patch for Mobile Safari 2012-05-25 13:00:40 +02:00
rolux
2dbb61c103 rename vars; in Ox.formatDimensions, use multiplication sign; more efficient version of Ox.parseDuration 2012-05-25 12:19:04 +02:00
rolux
a37949094d rename vars; more efficient version of Ox.formatDate 2012-05-25 12:08:20 +02:00
rolux
5b8f1dd3b5 rename var 2012-05-25 11:44:43 +02:00
rolux
f2be6ebcc0 typo 2012-05-25 11:44:25 +02:00
rolux
e73b7efc2f add space 2012-05-25 11:44:05 +02:00
rolux
bf02d50909 fix a bug in Ox.decodeDeflate (slice(1,-0) returns '') 2012-05-25 11:43:38 +02:00
rolux
12296c41db add space 2012-05-25 11:41:51 +02:00
rolux
e06bf4889d block less in image.forEach 2012-05-25 10:39:09 +02:00
j
d49847593b use Ox.LoadingIcon in Ox.VideoPlayer, fixes #798 2012-05-25 11:37:08 +02:00
rolux
ad3b50cb82 cleanup; rename vars; fix deflate 2012-05-25 10:37:48 +02:00
rolux
cda702d94d typo 2012-05-25 09:53:55 +02:00
rolux
e4f34b1c7d rename vars 2012-05-25 09:52:57 +02:00
rolux
147d637b7b typos 2012-05-25 09:46:34 +02:00
rolux
c30fe02850 use new Ox.find 2012-05-25 09:46:29 +02:00
rolux
565dc6ad35 rename vars; move Ox.find, Ox.getIndexById, Ox.getObjectById, Ox.makeArray and Ox.toArray to Array.js; make Ox.find accept a third argument ('leading') and return a single array; improve IE patch for Ox.toArray 2012-05-25 09:44:48 +02:00
rolux
631ad8222d rename vars 2012-05-25 09:40:27 +02:00
rolux
7f7a5aa44c in Ox.walk, pass array of keys to iterator; rename vars 2012-05-25 09:39:33 +02:00
rolux
42923bedf1 rename vars; add tests 2012-05-25 09:35:20 +02:00
rolux
26093367ec rename vars 2012-05-25 09:34:50 +02:00
rolux
61bb1c3598 typo; fix a test 2012-05-25 09:33:34 +02:00
rolux
8aa2e7f29c typo 2012-05-25 09:32:49 +02:00
rolux
7eb6ec56b8 typo 2012-05-25 09:32:32 +02:00
rolux
f48adff6c7 move Ox.getset and Ox.makeObject to Object.js 2012-05-25 09:32:11 +02:00
rolux
d21c95e9fd typo 2012-05-25 09:31:22 +02:00
rolux
801aee31b8 typo 2012-05-25 09:31:03 +02:00
rolux
d5a2588a1e use Ox.contains 2012-05-24 19:22:57 +02:00
rolux
544e117cb3 Ox.break -> Ox.Break 2012-05-24 19:20:29 +02:00
rolux
b7d9d9ba54 add comments 2012-05-24 19:13:46 +02:00
rolux
d9fa83ac29 minor change 2012-05-24 19:13:25 +02:00
rlx
458faa78da minor change 2012-05-24 17:12:02 +00:00
rlx
bdb399614f do not alias Ox.contains as Ox.in 2012-05-24 17:11:48 +00:00
rlx
d4bcc66fe8 add a semicolon 2012-05-24 17:10:51 +00:00
rlx
c4e66fbb3d rename Ox.break to Ox.Break and move it to Core.js, use storage['delete'] in order to support older IE versions 2012-05-24 17:10:29 +00:00
rlx
c8c50b9e89 rename Ox.void to Ox.noop 2012-05-24 16:20:22 +00:00
rlx
d5962a972d fix Ox.typeOf for Mobile Safari 2012-05-24 15:24:13 +00:00
rlx
e2330a0e2e fix Ox.typeOf for Mobile Safari 2012-05-24 15:16:21 +00:00
rlx
e5b46da0d5 update loading icon 2012-05-24 13:43:46 +00:00
rolux
4b454790d5 don't use animated loading icon svg (consumes 100% cpu in recent versions of chrome) 2012-05-24 14:26:52 +02:00
rlx
f033877f41 fix a regression in Ox.TreeList 2012-05-24 12:10:18 +00:00
rolux
64c01e385d remove Ox.merge 2012-05-24 12:19:47 +02:00
rolux
f6b06d0975 throw error when returning false in Ox.forEach; remove Ox.sub 2012-05-24 12:19:23 +02:00
rolux
75baeb73f8 throw error when returning false in Ox.loop; remove Ox._loop 2012-05-24 12:18:01 +02:00
rolux
d5da610c18 use Ox.break 2012-05-24 12:02:32 +02:00
rolux
1608664bb6 rather use ''.slice than ''.substr 2012-05-24 11:47:33 +02:00
rolux
f990f3b857 use [].slice, not Ox.sub 2012-05-24 11:02:59 +02:00
rlx
915e98f829 fix a bug in sort 2012-05-24 07:55:18 +00:00
rolux
a836b285cc typos 2012-05-24 09:46:42 +02:00
rolux
1c40fb007b use [].concat, not Ox.merge 2012-05-24 09:45:33 +02:00
rolux
36d0162b8b fix a bug in image.encode 2012-05-24 08:56:42 +02:00
rolux
c3c79e5f0a update non-blocking foreach/map 2012-05-24 08:54:44 +02:00
j
7138a8eaa0 add tests 2012-05-23 22:23:32 +02:00
rolux
aea2473399 update non-blocking forEach 2012-05-23 18:14:36 +02:00
rolux
77f4d8f3b9 typos 2012-05-23 17:48:17 +02:00
rolux
c949b304ba typo 2012-05-23 17:45:20 +02:00
rolux
de30af0656 in image forEach, use Ox.nonblockingForEach 2012-05-23 17:44:02 +02:00
rolux
9137607045 update docs 2012-05-23 17:43:32 +02:00
rolux
65fd7d4dd0 add async module 2012-05-23 17:43:01 +02:00
j
f97352ee61 fix use of Ox.map, Ox.loop 2012-05-23 17:13:38 +02:00
rolux
9a7e86dceb + 1 fixme 2012-05-23 09:20:06 +02:00
rolux
1c4caa4965 minor cleanup 2012-05-23 09:04:49 +02:00
rolux
5a4de0de70 + 1 fixme 2012-05-23 09:01:57 +02:00
rolux
df67c37924 update docs 2012-05-23 09:01:36 +02:00
j
1b08732fa7 - add loadAsync and use in Ox.loadFile, Ox.getJSON
- add Ox.getJSONP
- fix Ox.parseHTML
- fix Ox.Doc
- add more documentation
2012-05-23 01:17:17 +02:00
j
601a29023a minor changes 2012-05-22 19:51:07 +02:00
j
57f774ae8d fix js parser 2012-05-22 19:50:26 +02:00
j
6fcca8f3a9 remove png functions, better versions in Ox.Image 2012-05-22 19:49:29 +02:00
rolux
3f35003ac9 fix Ox.encodeHTML 2012-05-22 17:41:01 +02:00
rolux
08e1561e43 typo 2012-05-22 17:35:26 +02:00
rolux
16ab404619 fix map() in OptionGroup 2012-05-22 17:34:25 +02:00
rolux
a8c5dd4d35 typo 2012-05-22 17:15:52 +02:00
rolux
12cf77cef5 less obscure Ox.map 2012-05-22 16:29:37 +02:00
j
33390069b9 fix Ox.JQueryElement fixmes 2012-05-22 16:08:09 +02:00
j
b9e80c9d75 cleanup docs, fix children/find calls 2012-05-22 15:14:40 +02:00
j
34bf08c445 document Ox.break 2012-05-22 10:35:35 +02:00
rolux
04784630d3 use Ox.break 2012-05-22 09:11:26 +02:00
rolux
3d4a79b6a2 in Ox.every, use Ox.identity; faster Ox.filter; in Ox.forEach, allow for Ox.break, and use standard arguments for iterator function, remove Ox.getIndex and Ox.getObject; add Ox.indexOf; in Ox.makeObject, use Ox.typeOf; make sure Ox.max and Ox.min don't blow the stack; add Ox.slice; in Ox.values, use Ox.typeOf 2012-05-21 22:17:33 +02:00
rolux
bfa9394850 in Ox.api, use Ox.indexOf, not Ox.getIndex; faster Ox.merge 2012-05-21 22:10:51 +02:00
rolux
bf9a19a71e use Ox.methods 2012-05-21 22:07:40 +02:00
rolux
c5b148773f don't Ox.extend with undefined, use empty object 2012-05-21 22:07:06 +02:00
rolux
047cf5813d use 'this', not 'window', as global object; allow for Ox.break in Ox.loop 2012-05-21 22:05:49 +02:00
rolux
75558d4b9d in Ox.extend, use Ox.slice; add includePrototype argument to Ox.methods 2012-05-21 22:04:22 +02:00
rolux
f83d317407 minor changes 2012-05-21 21:24:06 +02:00
rolux
344d7ec40d use Ox.indexOf, not Ox.getObject 2012-05-21 09:41:57 +03:00
rolux
503c2b5978 use [].some, not Ox.getObject 2012-05-21 09:40:40 +03:00
rolux
bb6f6d6471 add Ox.hasOwn 2012-05-19 13:39:25 +04:00
rolux
eab834a643 fix a type check in Ox.sum 2012-05-19 13:38:49 +04:00
rolux
d3ff222a04 Ox.$: return undefined for non-existing attributes (like jQuery); fix a wrong 'this' reference 2012-05-19 13:16:04 +04:00
rolux
f793245e2e Ox.isNumber: update tests 2012-05-19 13:14:38 +04:00
rolux
8479037ab6 fix Ox.checkType 2012-05-19 12:48:01 +04:00
rolux
5692195509 swap the meaning of makeArray and toArray: makeArray, like makeObject, is a helper function for arguments processing (that wraps any non-array in an array), toArray, like in other libraries, is an alias for Array.prototype.slice.call 2012-05-19 12:40:59 +04:00
rolux
5cabb679f9 merge misc. minor changes 2012-05-19 12:30:43 +04:00
rolux
6acfd505e6 fix type check in Ox.$ 2012-05-19 12:15:28 +04:00
rolux
49fc8dc8ed base Ox.typeOf on Object.prototype.toString, add Ox.checkType, Ox.isInt and Ox.isPrimitive 2012-05-19 12:15:04 +04:00
rolux
d066501a14 add Ox.STACK_SIZE 2012-05-19 12:10:41 +04:00
rolux
03947b0d7f add Ox.identity 2012-05-19 12:09:48 +04:00
rolux
e8f7f37a8a update Collection.js: for functions, make Ox.len return undefined and Ox.isEmpty return false 2012-05-19 12:06:49 +04:00
rolux
373549a25a remove Ox.isFalsy 2012-05-19 10:36:34 +04:00
rolux
d4954db30d add Ox.escapeRegExp 2012-05-19 10:36:02 +04:00
j
520eac7a22 more documentation, more semicolons, some fixmes 2012-05-21 21:23:16 +02:00
j
509745407b add documentation stubs 2012-05-21 12:38:18 +02:00
j
2198d0b1ec pass options.timeline, there is no options.type 2012-05-19 15:24:00 +02:00
j
ac35d761ac fix AnnotationFolder 2012-05-19 15:14:04 +02:00
rolux
cb9a5fda2d in AnnotationFolder, simplify crossesPoint() 2012-05-10 12:12:34 +02:00
rlx
959a014657 fix Ox.sort so that it handles multiple numbers 2012-04-24 10:47:18 +00:00
rlx
b4fd0f01ae minor changes in Ox.Chart 2012-04-24 10:18:39 +00:00
rlx
4a210718ea in Ox.sort(), handle non-leading numbers and leading articles (fixes #723, fixes #779) 2012-04-24 10:16:58 +00:00
rlx
9790e7d6c6 in derivatives of Ox.List, make sure gainFocus, hasFocus and loseFocus work correctly 2012-04-24 08:21:00 +00:00
rlx
07b44e20c8 when positioning tooltip, make sure x is an integer 2012-04-24 08:19:05 +00:00
rlx
d7f0464ee6 add missing public togglePaused method to Ox.VideoTimelinePlayer 2012-04-24 08:18:08 +00:00
rlx
aae7ba2485 fix a bug where tooltips would not retain their width near the right edge of the screen, fixes #568 2012-04-23 11:16:46 +00:00
rlx
fa146ebbba Ox.Map: meta+click on selected place now deselects it (fixes #655) 2012-04-23 10:28:42 +00:00
rlx
c0c4031825 in video editor, rename 'posterFrameControls' option to 'enableSetPosterFrame', always include 'Go to Poster Frame' menu entry, and correctly enable/disable 'Set Poster Frame' menu entry 2012-04-23 09:53:29 +00:00
rlx
771b15c25a add (but do not enable) reset-size-on-doubleclick for split panel elements 2012-04-23 09:37:49 +00:00
rlx
43495de239 when expanding or collapsing part of a split panel, do not immediately switch the resizebar's tooltip 2012-04-23 08:29:37 +00:00
rlx
cb1fffa491 add some comments in video timeline player 2012-04-23 08:11:34 +00:00
rlx
3c253a86d5 test for , not for hasZoombar, so that the test won't fail before load 2012-04-22 13:19:08 +00:00
rlx
374508a9f1 fix a bug where in info list, the value of the sort key would not be requested when changing the sort order of the list (fixes #747) 2012-04-22 11:50:57 +00:00
rlx
a56329064d pass info event in player and timeline panels 2012-04-22 11:13:06 +00:00
rlx
a1c82cb262 don't trigger 'censored' event on doubleclick 2012-04-22 10:16:07 +00:00
rlx
f0d4043fd4 make 'censored' icon/link/tooltip configurable (fixes #252) 2012-04-22 09:57:17 +00:00
rlx
bdab9b8a7d in video editor, pass position along with in and out when triggering a point event 2012-04-22 08:54:44 +00:00
j
486e933926 add some more links to about 2012-04-19 16:09:28 +02:00
rlx
018dc69939 set width of timelines player timelines to the correct value after resize 2012-04-19 13:03:16 +00:00
rlx
ae33784cc1 correctly compute if scrollbar is visible 2012-04-19 12:25:39 +00:00
j
e765153f9c dont loop over files twice 2012-04-19 14:19:57 +02:00
j
461cd3d686 only add uid to http urls, this breaks for file:// or blob urls 2012-04-19 13:26:46 +02:00
rlx
17b17707fc minor fix in documentation 2012-04-19 11:25:12 +00:00
rlx
a943d00e20 allow for passing multiple files to Ox.getJSON 2012-04-19 11:23:24 +00:00
rlx
cf943e6466 add Ox.loadFiles 2012-04-19 11:13:43 +00:00
rlx
3db8dd4688 remove reference to pandora, fixes #594 2012-04-19 10:30:39 +00:00
rlx
88d25817c1 fix a bug in timeline player where the video would not be muted when loaded in muted state 2012-04-19 08:00:12 +00:00
rlx
fb64474545 timeline player: fix mute button, add scroll button 2012-04-19 07:54:30 +00:00
rlx
01b4840fd6 in timeline player, only show vertical scrollbar if needed - should fix #759, but can't be tested locally 2012-04-19 07:15:35 +00:00
rlx
821e8d1a4e make sure timeline player has a bottom margin of 8px (not 4px) 2012-04-19 07:00:04 +00:00
rlx
14102508e1 fix bugs in list calendar, related to selecting an event on the calendar, just after load, which is not yet in the scope of the list 2012-04-19 06:44:17 +00:00
rlx
244312aede in ListCalendar, populate duration form field, fixes #756 2012-04-19 05:48:31 +00:00
rlx
c7d8d68607 implement 'censored' option in timeline player 2012-04-18 11:21:06 +00:00
rlx
c70271573a in timeline view, react to selecting an annotation 2012-04-18 09:30:49 +00:00
rlx
db0a2394d9 append version, not random 2012-04-18 09:01:42 +00:00
rlx
2cbcb9d086 never load Ox.js and Ox.UI json files from cache 2012-04-18 08:56:31 +00:00
rlx
02696ae741 add 'uncheckItem' method to menus and menubuttons, fix toggleSize in video editor 2012-04-18 07:57:59 +00:00
rlx
132e8d2207 rename various options of video widgets to allow for different timeline types 2012-04-18 07:43:32 +00:00
rlx
71d82c87f9 pass playing/position event from video player to timeline panel 2012-04-17 14:53:21 +00:00
rlx
7d3ea51e4b slightly improved line above and below video 2012-04-17 13:52:45 +00:00
rlx
3ecfcd0f3f implement 'follow player while playing' 2012-04-17 13:42:46 +00:00
rlx
0e8bfd1348 update timeline panel and timeline player 2012-04-17 12:01:24 +00:00
rlx
dac420e021 add CSS for timeline player 2012-04-17 11:59:40 +00:00
rlx
c6bfa97c68 rename a variable in video editor 2012-04-17 11:59:08 +00:00
rlx
7e8f5bef32 fix bugs in video player: allow for setting volume from outside, only show volume control if enabled 2012-04-17 11:58:17 +00:00
rlx
8c963339fd add first version of Ox.VideoTimelinePanel, update Ox.VideoTimelinePlayer 2012-04-17 07:52:37 +00:00
rlx
c6f0308a17 in Ox.VideoPanel, use setElement(...), not that. = ... 2012-04-17 07:51:32 +00:00
rolux
606497fbdd update DocPanel and ExamplePanel 2012-04-16 09:13:22 +02:00
rolux
d060a94131 update CSS 2012-04-15 21:56:39 +02:00
rolux
0f4d72c1da in example pages, allow for setting theme from outside the iframe 2012-04-15 21:13:18 +02:00
rolux
0148701372 update Ox.$ tests 2012-04-15 21:12:48 +02:00
rolux
0a999bc4f3 update DocPage and ExamplePage 2012-04-15 20:15:14 +02:00
rolux
f5f1fde6a9 add new symbols 2012-04-15 20:14:33 +02:00
rolux
8a0cc3ee2b remove unneded files in classic theme folder 2012-04-15 14:22:19 +02:00
rolux
1d53a14cc1 in Ox.TreeList, use OxLight style for length of arrays and objects 2012-04-15 14:19:52 +02:00
rolux
c2a7902d0b add 'open in new tab' button to example pages 2012-04-15 14:18:45 +02:00
rolux
53cb716130 in Ox.UI loader, use Ox.$ and .bind() 2012-04-15 14:17:19 +02:00
rolux
5a90520186 add checkerboard background style to themes 2012-04-15 14:16:31 +02:00
rolux
ad56695694 clean up Ox.$ 2012-04-15 14:14:18 +02:00
rolux
c72031bfdf add missing symbols 2012-04-15 14:11:12 +02:00
rolux
06bb13458b in tree lists with data, add light quotes around string values, fixes #739 2012-04-14 14:15:11 +02:00
rolux
f7ed392d0f in source viewer, ignore // comments, fixes #743 2012-04-14 14:03:35 +02:00
rolux
3bfd8be160 Ox.Progressbar: make tooltips optional 2012-04-14 13:54:45 +02:00
rolux
f88c60ae15 fix bugs in progress bar 2012-04-14 13:49:22 +02:00
rolux
581b87baf9 small updates to Ox.Image 2012-04-14 11:46:23 +02:00
rolux
ecba7968c1 add val() method to Ox.$ 2012-04-14 11:45:19 +02:00
rolux
37f3bf8f51 add drawing methods to Ox.Image, allow for asynchronous image manipulation 2012-04-13 23:21:36 +02:00
rolux
b4dc9e15ba add async version of Ox.loop 2012-04-13 23:19:52 +02:00
rolux
49a16328f5 add new methods to Ox.$ (width, height, show, hide) 2012-04-12 21:21:03 +02:00
rolux
1d9bf5aacd remove some unused geo objects 2012-04-11 22:37:20 +02:00
rolux
b28eb7ec51 minor changes in sortBy 2012-04-11 22:36:27 +02:00
rolux
27d37ea601 css update (code in example page comments) 2012-04-11 22:35:33 +02:00
rolux
924a0532c2 upgrade image module (draw methods and others) 2012-04-11 22:34:55 +02:00
rolux
ebc6efffb4 minor fixes and documentation updates 2012-04-09 10:42:00 +02:00
rolux
baf0f72912 slightly improved treelist 2012-04-09 10:41:06 +02:00
rolux
ffa8f1738a faster doc panel: allow for caching of doc items 2012-04-09 10:39:56 +02:00
rolux
1651b3f565 make Ox.doc accept multiple files 2012-04-09 10:39:02 +02:00
rolux
4f63e29082 update syntax highlighter colors in modern theme 2012-04-09 10:37:41 +02:00
rolux
abfea74565 misc. minor changes and documentation updates 2012-04-08 20:22:27 +02:00
rolux
92d4b032da update code/example panels ('selected' option) 2012-04-08 20:20:58 +02:00
rolux
ad75054336 some css fixes (selected buttons) 2012-04-08 20:17:17 +02:00
rolux
e7f132f121 quick fix for treelist layout 2012-04-08 14:38:15 +02:00
rolux
7b13e834a7 add Ox.void() 2012-04-08 14:19:53 +02:00
rolux
7daf1a23a0 erroneous semicolon 2012-04-08 14:19:34 +02:00
rolux
370997c324 Ox.contains = Ox.in 2012-04-08 14:18:43 +02:00
rolux
a69970adb6 re-enable synchronous path in Ox.List for Ox.TreeList 2012-04-08 14:17:58 +02:00
rolux
e53fe8b09a remove print statement 2012-04-07 16:47:02 +02:00
rolux
1e1bd9689b display file and line as 'file:line' 2012-04-07 16:41:35 +02:00
rolux
801bfeb8dd remove deprecation warning 2012-04-07 16:40:41 +02:00
rolux
bd4b5e6880 add the synchronous version of Ox.doc() promised in its documentation 2012-04-07 16:40:07 +02:00
rolux
7474ac9783 make Ox.doc report arrays as '[...]' instead of 'array[...]', and arrays with unspecified types as '[values]' instead of 'array[any]' 2012-04-07 12:47:40 +02:00
rolux
ee5f89ca86 minor doc update 2012-04-07 12:44:53 +02:00
rolux
da8066dc73 typo in documentation 2012-04-07 12:44:12 +02:00
rolux
30f1fb65f2 typo in documentation 2012-04-07 12:43:41 +02:00
rolux
9b69d3d951 update documentation, and fix a few minor issues 2012-04-07 12:42:51 +02:00
rolux
9ad4ec6041 add bindOnce to Ox.$ 2012-04-07 01:45:51 +02:00
rolux
67a0f82266 fix a bug in TabPanel that would make it return a SplitPanel 2012-04-07 01:45:14 +02:00
rolux
37030b5d27 minor changes 2012-04-07 01:44:40 +02:00
rolux
8a447b8640 fix a bug that would make it impossible to progamatically deselect a button in a button group 2012-04-06 20:52:40 +02:00
rolux
e9f6751748 allow for replacement function in DocPanel and DocPage 2012-04-06 14:24:17 +02:00
rolux
3134b55456 remove a debugging relict from SyntaxHighlighter 2012-04-06 14:14:01 +02:00
rolux
03f4f77ce6 make SyntaxHighlighter and SourceViewer more useful by allowing replacements; remove index.json and source/Ox/png; plus some other small and/or cosmetic changes 2012-04-06 14:10:21 +02:00
rolux
24eb4bdc64 improve implementation and documentation of Ox.divideInt 2012-04-06 02:43:41 +02:00
rolux
599da178f1 add icon and logos 2012-04-05 17:42:57 +02:00
rolux
dab0963d2a add icon and logos 2012-04-05 17:42:48 +02:00
rolux
d65fafb0aa off by one in ExamplePanel 2012-04-05 17:33:22 +02:00
rolux
08a64d8695 minor changes to ExamplePage 2012-04-05 17:32:19 +02:00
rolux
5c727a1687 make DocPage more like ExamplePage 2012-04-05 17:31:32 +02:00
rolux
e951578b37 make Ox.$ more useful 2012-04-05 17:30:00 +02:00
rolux
c54574a7b7 change version number to 0.1 2012-04-05 17:29:33 +02:00
rolux
1f8f9ffa7d some quick and ugly fixes to make TreeList work again 2012-04-04 19:09:10 +02:00
rolux
fb8dd98b8a make it possible to parse keywords from documented source 2012-04-04 18:26:17 +02:00