Commit graph

1712 commits

Author SHA1 Message Date
rolux
b2eaf6a867 add OxDocPage and OxExamplePage CSS classes 2012-06-15 10:43:20 +02:00
rolux
144b4cdb42 remove log statement 2012-06-15 10:40:15 +02:00
rolux
1e47435058 add atob and btoa polyfills 2012-06-15 10:39:22 +02:00
j
0b60f45341 fix indent for rows without icon should in treelist 2012-06-15 10:38:32 +02:00
j
3b1fd5c38c fix TreeList rows with no icon, fixes #843 2012-06-15 10:31:38 +02:00
rolux
37ee99f884 Ox.localStorage: fix chaining, add tests 2012-06-15 09:43:55 +02:00
rolux
d2322388dc minor changes 2012-06-15 09:43:27 +02:00
rolux
43077ceb88 typo 2012-06-14 16:45:49 +02:00
rolux
cbe8f1db49 Ox.identify: update examples 2012-06-14 16:44:50 +02:00
rolux
b7129af1b4 Ox.SelectInput: focus input when switching to 'other' option 2012-06-14 16:05:17 +02:00
rolux
6bdf96fe6b DateInput/TimeInput/DateTimeInput: don't fail when options are undefined 2012-06-14 15:50:00 +02:00
rolux
91ee1419aa Ox.Spreadsheet: allow for not passing options.value.values 2012-06-14 15:46:57 +02:00
rolux
3a71cab021 fix .OxLabel.OxSquare CSS 2012-06-14 15:46:13 +02:00
rolux
3fbefa2278 Ox.Input: trigger change event when clicking arrows 2012-06-14 14:31:44 +02:00
rolux
72ed28494d cleanup 2012-06-14 14:31:00 +02:00
rolux
3d3d963ca3 .OxLabel.OxSquare should have border-radius: 0 2012-06-14 12:36:08 +02:00
rolux
14a4d48b6d explicitely set border-radius 2012-06-14 12:35:28 +02:00
rolux
c22da1cfc5 Ox.FormItem: use 'OxSelectable' class 2012-06-14 12:34:46 +02:00
rolux
38e01c26ca Ox.FormPanel: use section id, not title, as values key; use 'OxSelectable' class 2012-06-14 12:34:24 +02:00
rolux
61e425f64d update FormPanel 2012-06-13 15:56:42 +02:00
rolux
889ad7a83a in ObjectInput and ObjectArrayInput, don't set height 2012-06-13 15:55:34 +02:00
rolux
a874974f9a update CSS for ButtonGroup and CheckboxGroup 2012-06-13 15:54:43 +02:00
rolux
2b494815f2 fix a bug in select input 2012-06-13 15:53:50 +02:00
rolux
63d5f04af7 Ox.TreeList: add 'expanded' option 2012-06-13 15:53:20 +02:00
j
3087b0637d document Ox.UI and include in index.json 2012-06-13 14:15:27 +02:00
rolux
9d877800b4 Ox.DocPanel: when navigating to folder in list, don't deselect it 2012-06-13 12:08:54 +02:00
rolux
3136c8f381 Ox.DocPanel: fix bugs related to ids and selection (the panel's selected option is item name or empty string, the list's selected option is ['the/full/id']) 2012-06-13 12:05:32 +02:00
rlx
ba5bea09f0 fix #833 (JS error when collapsing sidebar in timelines view) 2012-06-13 08:37:07 +00:00
rolux
8bc8c57373 use base 10 in parseInt, use Math.floor for numbers 2012-06-13 10:28:21 +02:00
rlx
79bb322112 when updating a value in a list with an items array, pass new items array (fixes #829) 2012-06-13 08:00:02 +00:00
rlx
fbbe1e256a remove whitespace 2012-06-13 07:57:27 +00:00
rolux
cb4a32f03b minor changes 2012-06-13 09:17:39 +02:00
rolux
cd38e66240 typo in Ox.isEqual 2012-06-13 09:11:58 +02:00
rolux
110be11a05 Ox.test: handle non-null values for which JSON.stringify returns 'null' 2012-06-13 09:06:54 +02:00
rolux
4dc11cd256 Ox.isEqual(NaN, NaN) should return true 2012-06-13 09:04:54 +02:00
rolux
bc83d22850 sign(-0) is -0 according to spec; add cosh; add tests 2012-06-13 09:04:16 +02:00
rolux
a627f41755 fix Ox.sign(-0), should be 0, not -0 2012-06-13 08:16:22 +02:00
rolux
8df96dd8fb add sign and trunc 2012-06-13 08:12:01 +02:00
rolux
c2ae5d3f4c add acosh, atanh and tanh 2012-06-13 00:04:28 +02:00
rolux
fd04452db9 make sure Ox.isInt(Infinity) returns false 2012-06-13 00:02:55 +02:00
j
2e49324ede load theme json with Ox.VERSION too 2012-06-12 21:20:31 +02:00
rolux
4e119b98f1 minor cleanup 2012-06-12 18:09:25 +02:00
rolux
e415a85d06 update test 2012-06-12 17:57:20 +02:00
rolux
84d345624f update test stats ui 2012-06-12 17:37:35 +02:00
rolux
b915839305 display test stats 2012-06-12 17:24:58 +02:00
rolux
e21354d7b4 Ox.Geo: update docs 2012-06-12 17:02:36 +02:00
rolux
28075133ee save test results 2012-06-12 16:55:13 +02:00
rolux
0d2f082779 update DocPanel and DocPage UI 2012-06-12 16:41:37 +02:00
rolux
d89a8e1087 make doc page examples menu work 2012-06-12 16:26:55 +02:00
rolux
86f6123565 Ox.DocPanel: add UI to run tests 2012-06-12 15:32:34 +02:00
rolux
6db715ab87 don't modify test.statement; delete test.data when done 2012-06-12 15:31:46 +02:00
rolux
b9c74fe895 handle failed async tests 2012-06-12 15:30:58 +02:00
rolux
cc67b1110b in doc panel, parse examples and references 2012-06-12 14:32:27 +02:00
rolux
b71d9148d0 rename 'keywords' option to 'references' 2012-06-12 14:31:45 +02:00
rolux
9c044300ef integrate tests into doc panel (fixes #782) 2012-06-12 13:19:09 +02:00
rolux
6aa3f95a4d remove print statement 2012-06-12 13:17:54 +02:00
rolux
893ba67bc0 Ox.UI.getImageURL: fix color regexp 2012-06-12 13:17:35 +02:00
rolux
359a8984d3 in Ox.DocPage, display test results 2012-06-12 13:16:06 +02:00
rolux
963e594397 allow for themed colored images 2012-06-12 13:15:24 +02:00
rolux
15264c188f add custom icons to Ox.TreeList 2012-06-12 13:13:23 +02:00
rolux
721e77f01b update modern.css 2012-06-12 13:12:27 +02:00
rolux
2be7568c45 update classic.css 2012-06-12 13:11:55 +02:00
rolux
1fa22924dd update modern.json 2012-06-12 13:11:31 +02:00
rolux
bf101e5ff0 add color argument to Ox.UI.getImageURL 2012-06-11 23:49:17 +02:00
rolux
01f0fc13fd Ox.DocPage: change name of tests section to Tests; minor cleanup 2012-06-11 23:48:24 +02:00
rolux
dfe2f77615 Ox.Map: remove test 2012-06-11 23:47:06 +02:00
rolux
964923817e add color property to themes json 2012-06-11 23:46:35 +02:00
rolux
1249e7d3a1 comment out description 2012-06-11 23:45:53 +02:00
rolux
9d7549671c minor cleanup 2012-06-11 23:45:37 +02:00
rolux
8c45632dc3 remove stray var 2012-06-11 23:45:20 +02:00
rolux
75665b7d3f remove comments 2012-06-11 13:40:33 +02:00
rolux
3c9c1cc4ed fix #522: correctly pad days in Ox.formatDuration 2012-06-11 13:40:28 +02:00
j
7dd06c6d3e add test for #522 2012-06-11 10:55:10 +02:00
rolux
6a7fce5bcf cleanup 2012-06-10 20:18:03 +02:00
rlx
9c697cce7a fix bugs in CalendarEditor 2012-06-10 11:01:06 +00:00
rlx
26681d7e39 Ox.formatDateRangeDuration: avoid infinite loop when passing a start date that cannot be parsed 2012-06-10 10:27:06 +00:00
rlx
92bfb38caf in Ox.parseDate, only remove first element of values array if there was a match 2012-06-10 09:21:07 +00:00
rlx
4625b4ac36 in MapEditor, update number of matches when editing name and alternative names of result places (fixes #824) 2012-06-10 09:06:02 +00:00
rlx
806cbd1557 fix a bug in Ox.filter for objects 2012-06-10 09:00:12 +00:00
j
7382d9fbb9 also pass data to click events in submenus 2012-06-06 21:39:43 +02:00
rolux
639847da07 don't set timeline state twice 2012-06-06 16:31:44 +02:00
rlx
73551a469d fix #821: select cut correctly when an annotation is selected 2012-06-06 14:25:44 +00:00
j
57caa45bf8 write current version to Ox.json and patch Ox.VERSION if loaded via dev/Ox.js 2012-06-05 13:59:13 +02:00
rolux
01587f7348 Ox.Form: don't pass submit option, trigger submit event 2012-06-05 11:09:44 +02:00
rolux
5a47341367 update placeName when editing name, not geoname 2012-06-05 11:08:48 +02:00
rolux
6c5b8ef0b6 ListCalendar -> CalendarEditor; ListMap -> MapEditor 2012-06-05 10:25:27 +02:00
rolux
2fd3345328 update docs 2012-06-05 10:24:46 +02:00
rolux
9434c60b53 fix bugs in Image module 2012-06-04 18:35:55 +02:00
rolux
20b3508f86 add missing semicolons 2012-06-04 15:38:09 +02:00
rolux
56c6ef98c7 Ox.tokenize: handle hex numbers and numbers with exponent 2012-06-04 15:36:25 +02:00
rolux
c4ad59bdb6 Ox.IconItem: fix a regression related to highlights across linebreaks; add a class to ellipsis 2012-06-04 14:32:58 +02:00
rolux
da4e07fc2f typo in docs 2012-06-04 14:07:49 +02:00
rolux
df3a0c1c49 fix a bug in unbindEvent 2012-06-04 14:07:35 +02:00
rolux
7582a795ee use new Ox.wordwrap signature 2012-06-04 13:49:39 +02:00
rolux
6116f4b7f1 cleanup Ox.wordwrap; remove Ox.basename 2012-06-04 13:49:10 +02:00
rolux
613b594352 remove a print statement 2012-06-04 13:07:42 +02:00
rolux
fbe2513cb4 remove 'factor' argument from Ox.formatUnit 2012-06-04 12:41:40 +02:00
rolux
f0ba793a85 allow for passing milliseconds to Ox.parseDate 2012-06-04 12:02:29 +02:00
rolux
8581a3da3a remove unneeded constants 2012-06-04 11:49:27 +02:00
rolux
7282835f0d remove 'Ox.copy' alias 2012-06-04 11:26:01 +02:00
rolux
cd8b2e297d remove 'Ox.starts' and 'Ox.ends' aliases, update documentation; fix Ox.pad with negative length 2012-06-04 11:22:40 +02:00
rolux
a5c6747b57 change the signature of Ox.pad to match Ox.truncate 2012-06-04 11:08:38 +02:00
rolux
24bbf95bd5 typo 2012-06-03 11:13:39 +02:00
rolux
42092f163b Ox.parseURL: update docs & examples 2012-06-03 11:12:21 +02:00
rolux
9ce126263b change the signature of Ox.truncate to allow for passing 'position' without having to pass 'padding', change default padding from '...' to a real ellipsis 2012-06-03 11:07:39 +02:00
rolux
3ec610076a minor reformatting 2012-06-03 11:07:35 +02:00
rolux
4ba06fde41 use Ox.highlight; minor reformatting 2012-06-03 10:41:18 +02:00
rolux
90147a69fb rename Ox.highlightHTML to Ox.highlight 2012-06-03 10:40:46 +02:00
rolux
ce3c5a4a03 remove Ox.highlight 2012-06-03 10:40:25 +02:00
rolux
191d7b3099 add test 2012-06-03 10:39:59 +02:00
rolux
43558a55a3 minor changes 2012-06-02 17:00:44 +02:00
rolux
ecd84770dd make Ox.forEach(object...) return a number; remove Ox.setPropertyOnce; move Ox.last to Array.js; update documentation and tests 2012-06-02 16:08:01 +02:00
rolux
686df92efa update documentation 2012-06-02 15:17:56 +02:00
rlx
cb208f2333 fix a bug in Ox.ListMap that would keep the form for result places from showing up 2012-06-02 14:59:08 +00:00
rolux
d9b0cc5f01 update/fix documentation 2012-06-02 15:07:29 +02:00
rolux
e348acee86 parse and display inherited events 2012-06-02 14:10:59 +02:00
rolux
ea08852676 update documentation 2012-06-02 14:10:47 +02:00
rolux
73fa856900 in documentation use foo, not <code>foo</code> 2012-06-02 13:06:44 +02:00
rolux
bd5a4b6318 Ox.parseMarkdown: in code spans or block, encode '>' 2012-06-02 12:51:59 +02:00
rolux
2482cec170 update documentation 2012-06-02 12:51:24 +02:00
rolux
39c2497bc5 Ox.Element: update documentation 2012-06-02 12:37:19 +02:00
rolux
38ba971dab Ox.doc: fix regular expressions 2012-06-02 12:36:48 +02:00
rolux
ba954cfedf Ox.getset: fix documentation 2012-06-02 12:36:25 +02:00
rolux
ad338ede3b correctly handle shadowed inherited properties 2012-06-02 12:13:25 +02:00
rolux
82599aec75 correctly display 'inherited properties' section title 2012-06-02 12:01:35 +02:00
rolux
9b6b6fd356 fix toggleOption method 2012-06-02 12:00:52 +02:00
rolux
4434e063bc typo in docs 2012-06-02 11:52:36 +02:00
rolux
d78e644eb8 Ox.doc: make sure root item properties get included in inherited properties 2012-06-02 11:49:14 +02:00
rolux
6d528898d2 update docs 2012-06-02 11:48:47 +02:00
rolux
2471577cf6 update documentation 2012-06-02 11:25:52 +02:00
rolux
0cefbe1997 display inherited properties 2012-06-02 11:21:16 +02:00
rolux
55c76942f9 add fixme 2012-06-02 11:20:55 +02:00
rolux
23af95b611 correct documentation 2012-06-02 11:19:54 +02:00
rolux
9b4a046159 remove a print statement 2012-06-02 11:19:33 +02:00
rolux
4221d437ce Ox.doc: parse inherited properties 2012-06-01 01:41:38 +02:00
j
ac82c3b30e Ox.VideoPreview, make timeline optional, fix width/height if not scale to fit 2012-05-31 20:15:44 +02:00
rolux
f8ab51fa40 add alternative signature to Ox.extend 2012-05-31 12:35:09 +02:00
rolux
8c347d9009 update documentation (classes) 2012-05-31 12:32:54 +02:00
rolux
684c4ceaf2 add second parameter to Ox.count 2012-05-31 00:48:55 +02:00
rolux
54266bd3b2 minor fixes 2012-05-31 00:47:57 +02:00
rolux
3683bf3d29 refactor HTML module; add functionality to Ox.parseMarkdown; add tests 2012-05-31 00:47:19 +02:00
rolux
d6b86b518b display class 2012-05-30 22:40:34 +02:00
rolux
f39a69ccef add semicolon 2012-05-30 22:40:07 +02:00
rolux
abc6e948e0 update docs 2012-05-30 22:39:47 +02:00
rolux
b960ef3ea4 Ox.$: update documentation, add trigger method, add test 2012-05-30 22:38:48 +02:00
rolux
f1ccfa44f4 add Ox.isError, add tests 2012-05-30 22:37:23 +02:00
rolux
91026a0c77 throw warning, not error, when returning false from Ox.forEach or Ox.loop 2012-05-30 19:25:18 +02:00
rolux
95de001d8b in Ox.DocPanel, allow for passing a string as self.options.files 2012-05-30 19:24:45 +02:00
rolux
3e6e938596 trying to fix SourceViewer code block CSS 2012-05-30 19:23:23 +02:00
rolux
721989b67b cleanup 2012-05-30 19:22:24 +02:00
rolux
bff20cd96a in parseMarkdown, don't write empty class for code blocks, and don't encode their content 2012-05-30 19:21:59 +02:00
rolux
e9fb83c578 in Ox.doc, simplify and speed up parseTokens() 2012-05-30 19:19:51 +02:00
j
19dba40ec8 always set enabledUsers 2012-05-30 17:20:58 +02:00
rolux
5b6f161612 add localStorage to polyfills; slightly refactor Ox.localStorage; remove whitespace; update example 2012-05-30 16:21:07 +02:00
rolux
41a3eaacd4 remove dead code 2012-05-30 15:22:40 +02:00
rolux
8104a9100e update SourceViewer CSS 2012-05-30 15:20:15 +02:00
rolux
9c20602324 leave doc comments in the source code 2012-05-30 15:20:00 +02:00
rolux
9269b96469 use markdown 2012-05-30 13:34:57 +02:00
rolux
c831b89944 fix a bug that would keep test results from being displayed 2012-05-30 13:33:37 +02:00
rolux
07369fefec add Ox.parseMarkdown and Ox.encodeEmailAddress 2012-05-30 13:32:33 +02:00
rolux
1c98a3198a correct documentation, use markdown 2012-05-30 13:31:42 +02:00
rolux
ca05f24a6a update and fix tests 2012-05-30 10:19:30 +02:00
j
2f98800715 typo 2012-05-30 02:32:14 +02:00
j
888bf094ad only sort object keys in treelist 2012-05-30 02:29:38 +02:00
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