Commit graph

3080 commits

Author SHA1 Message Date
rolux
9236b7fd83 update Ox.getFile docs 2013-03-02 16:01:47 +05:30
rolux
72d7a381d5 fix oxmedium theme video marker css 2013-03-02 15:02:04 +05:30
rolux
d2f3bf70d5 typo 2013-03-02 14:36:19 +05:30
rolux
2fce008f0b Ox.Calendar: change wording in menu 2013-03-02 14:28:27 +05:30
j
4b0a55b43a fix changing resolution(how long was that broken?), dont seek before item is loaded 2013-03-02 08:56:15 +00:00
j
ccc50be7de only focus if elment is in dom 2013-03-02 08:07:02 +00:00
rolux
977505e9ee cosmetic changes 2013-03-02 11:21:40 +05:30
rolux
a1b7c86f8b Ox.Calendar: add tooltips, change select type to image 2013-03-02 10:50:08 +05:30
rolux
eb1b8c8745 Ox.Map: Add loading icon (for geocode requests) 2013-03-02 10:40:56 +05:30
j
e4207b8623 add missing , 2013-03-02 03:07:49 +00:00
rolux
9dfb7bebab update CSS of icon list info objects 2013-03-02 08:18:22 +05:30
rolux
36e3dcd264 in video player, make sure poster is below loading icon 2013-03-01 17:01:21 +05:30
rolux
ceac7fa942 in form element group, don't throw if an element doesn't have a value method (which allows for adding buttons, for example) 2013-03-01 10:43:52 +05:30
j
82aeddccfe move Ox. into Message.js so it can be used standalone without Ox.UI 2013-02-28 15:42:06 +00:00
rolux
cce6c954ba update oxmedium highlight color 2013-02-28 16:51:08 +05:30
rolux
2e62f20e52 fix oxmedium highlight color 2013-02-28 16:34:32 +05:30
rolux
b5d67ace33 CheckboxGroup: handle width update 2013-02-28 14:08:46 +05:30
rolux
c630818553 update EditableContent and CSS 2013-02-28 10:33:20 +05:30
rolux
49f7f011e9 Ox.URL: fix tests 2013-02-27 16:38:51 +05:30
rolux
89408bd4be fix <a> regexp to allow for href="/" 2013-02-27 16:27:44 +05:30
rolux
65ecc61112 EditableContent: trigger edit/open events 2013-02-27 10:45:02 +00:00
rolux
90d8661641 update EditableContent 2013-02-27 10:00:28 +00:00
rolux
e7aca0c595 update EditableContent css 2013-02-27 13:03:32 +05:30
rolux
1e2301c4ac update Ox.EditableContent 2013-02-27 13:03:10 +05:30
rolux
603475b7a7 cosmetic changes 2013-02-27 13:02:51 +05:30
rolux
cd14cc517c update EditableContent 2013-02-27 09:45:18 +05:30
rolux
f1c8fb39a7 handle empty Ox.EditableContent value via CSS 2013-02-27 09:25:30 +05:30
rolux
feae953311 simplify Ox.EditableContent, update CSS 2013-02-27 08:56:55 +05:30
rolux
dfe316b76a fix OxEditableContent placeholder css 2013-02-27 08:34:55 +05:30
rolux
706517d2b9 fix OxEditable placeholder css 2013-02-27 08:29:35 +05:30
rolux
8ad1faff85 Ox.Editable/Ox.EditableContent: set placeholder class 2013-02-27 08:28:52 +05:30
rolux
ceba2a7223 update EditableContent, plus some debugging 2013-02-26 15:59:05 +00:00
rolux
72a017e106 update oxmedium theme selection color 2013-02-26 15:58:05 +00:00
rolux
5b5a133533 Ox.EditableContent: self.editing -> self.options.editiing 2013-02-26 10:42:43 +05:30
j
0aa4c42ecf fix editing empty values 2013-02-25 21:11:39 +00:00
j
0957500476 only use one element in EditableContent and toggle contenteditable: adds firefox support, allows using doubleclick handler, less code 2013-02-25 20:29:08 +00:00
rolux
559fbd9995 use bodySelectionColor 2013-02-26 00:41:40 +05:30
rolux
4dea1729cf add bodySelectedColor to themes.jsonc 2013-02-26 00:40:07 +05:30
j
fdc84965bd select all text in span and move cursor to end otherwise 2013-02-25 18:47:07 +00:00
rolux
42e30f6a0a update CSS 2013-02-25 16:41:04 +00:00
rolux
5ecfcd0046 update keyboard controller 2013-02-25 16:40:50 +00:00
rolux
ace6c3dd4d OxEditable: reorder options 2013-02-25 16:40:14 +00:00
rolux
9460f78053 add OxEditableContent 2013-02-25 16:39:46 +00:00
rolux
d2d98f49a7 remove tabs 2013-02-25 16:39:18 +00:00
rolux
071de7aca8 update oxmedium input disabled gradient 2013-02-25 14:51:11 +05:30
rolux
fde3fbf74a for message without data, send empty object 2013-02-25 12:44:22 +05:30
rolux
6787d811e6 log messages 2013-02-25 11:27:00 +05:30
rolux
cadad32440 add 'disabled' option to large video timeline 2013-02-25 11:02:18 +05:30
rolux
c417226e18 fix message controller 2013-02-25 10:24:40 +05:30
rolux
c18220cb4f typo 2013-02-24 16:28:09 +05:30
rolux
e6bc3dcdbb update Message code 2013-02-24 16:27:37 +05:30
rolux
c1f9e9d7a3 cleanup Message code 2013-02-24 15:06:08 +05:30
rolux
9c46e17b9f update oxmedium theme button disabled color and gradient; fix setting value of an Ox.SelectInput 2013-02-24 14:44:02 +05:30
j
47efc7377a add Ox.Message for message passing between frame and parent 2013-02-24 07:37:20 +00:00
rolux
916a175849 update oxmedium theme placeholder color; fix Ox.Select disableItem/enableItem return value 2013-02-24 12:49:30 +05:30
rolux
5a1dfe9821 update OxSpecialLink CSS 2013-02-22 11:47:22 +05:30
rolux
433be74844 update OxSpecialLink CSS 2013-02-22 11:05:21 +05:30
rolux
4ff6370ec9 update OxSpecialLink CSS 2013-02-22 09:10:52 +05:30
rolux
139b65dd45 add OxSpecialLink CSS 2013-02-22 09:06:07 +05:30
rolux
4a5ebd3945 add semicolon 2013-02-22 09:04:51 +05:30
rolux
31fa5f5386 Video Player: trigger timeline event 2013-02-21 13:11:20 +05:30
rolux
d98cf99714 make border of video box in video timeline player themed 2013-02-21 12:29:45 +05:30
rolux
51881d98b9 typo 2013-02-21 01:55:24 +05:30
rolux
e20fe9f2fe fix a bug in video player 2013-02-21 01:54:18 +05:30
rolux
bdddabeb3f fix a bug in video player 2013-02-21 01:44:12 +05:30
rolux
6619e971a5 update themes (videoMenuDisabledColor) 2013-02-21 01:43:16 +05:30
rolux
ac7b688302 add missing key in aqua theme json 2013-02-21 01:36:17 +05:30
rolux
6e1491eae3 update css and themes 2013-02-21 01:30:16 +05:30
rolux
35d2aecc4a VideoPlayer: add timelineType and timelineTypes options, update settings menu 2013-02-21 01:29:49 +05:30
rolux
235b47c1d1 VideoPlayer: support spaceX control, where X is an integer indicating the width 2013-02-20 23:49:21 +05:30
rolux
1c26874918 SplitPanel: trigger resizeend event on mouseup 2013-02-20 18:19:57 +05:30
rolux
25ab552dcd SplitPanel: trigger resizestart event on mousedown 2013-02-20 17:56:26 +05:30
rolux
25df7e7c7f update theme css 2013-02-20 16:59:03 +05:30
rolux
08487856e2 update large video timeline css 2013-02-20 16:52:50 +05:30
rolux
c5fe2f2cc2 update large video timeline css 2013-02-20 16:50:39 +05:30
rolux
5c7ee541d0 update large video timeline 2013-02-20 16:48:05 +05:30
rolux
dbda122326 update large video timeline css 2013-02-20 16:36:06 +05:30
rolux
2fc340d9bd add showInToOut option to LargeVideoTimeline 2013-02-20 16:27:38 +05:30
rolux
aef603bf66 typo 2013-02-20 10:25:33 +05:30
rolux
61cb8b8dcc Ox.URL: add 'getHash' option 2013-02-20 10:21:43 +05:30
rolux
1c3af5e352 classic theme: update menuDisabledColor 2013-02-19 23:44:21 +05:30
j
8dea961e09 dont open firefox quick find, fixes #1258 2013-02-19 12:53:08 +00:00
rolux
6a17a94603 fix URL controller 2013-02-19 17:12:16 +05:30
rolux
89ef5d5bbc fix URL controller 2013-02-18 19:35:16 +05:30
rolux
e96a1ef42e fix url controller 2013-02-18 17:48:46 +05:30
rolux
7aafed8d25 In Ox.URL, urldecode '<' and '>' 2013-02-18 16:26:20 +05:30
rolux
c11a0b82b9 minor changes in Ox.Editable 2013-02-18 15:01:50 +05:30
rolux
10328fc14b update URL controller 2013-02-18 14:59:15 +05:30
j
b520654e31 pass type to getItem function 2013-02-16 01:21:08 +00:00
rolux
6ecbff5fce Ox.URL: add json url part, encode '?' and '#' in values 2013-02-18 12:50:20 +05:30
rolux
5ca1c5b36c in Ox.localStorage, use native for in loop to test if the browser can iterate over localStorage 2013-02-18 12:44:40 +05:30
rolux
f44db6ff18 update tests 2013-02-18 12:43:59 +05:30
rolux
290d97cbee in serialize/unserialize, replace toNumber argument with isJSON argument 2013-02-18 11:38:31 +05:30
rolux
c718b0b8ef missing semicolon 2013-02-16 16:28:40 +05:30
rolux
2a7c20a043 in a list's init event, pass the query if the async items function immediately returns one 2013-02-16 15:01:27 +05:30
rolux
5227dbc166 in Ox.sanitizeHTML, when passing an array of replaceTags tuples, allow for the second element of that tuple to be a replace function (not just a string) 2013-02-16 12:39:16 +05:30
rolux
180b325e30 Ox.Editable: add tags and replaceTags options 2013-02-15 18:01:49 +05:30
rolux
3cdaebadee Ox.sanitizeHTML: add replaceTags option 2013-02-15 18:01:28 +05:30
rolux
092f27ca19 fix timeline tile offset 2013-02-15 11:21:17 +05:30
rolux
88981fd836 remove print statement 2013-02-15 10:53:46 +05:30
rolux
f078af1c05 in VideoPlayer, pass playInToOut as showInToOut to SmallVideoTimeline 2013-02-15 10:50:15 +05:30
rolux
57ca8e44b4 add showInToOut option to SmallVideoTimeline 2013-02-15 10:49:33 +05:30
rolux
4bdae7eb1e add showInToOut option to SmallVideoTimelineImage 2013-02-15 10:47:49 +05:30
rolux
4583f7bd77 fix video player poster aspect ratio 2013-02-14 12:42:18 +05:30
rolux
ab06286f8c document 'enableSubtitles' option 2013-02-12 13:57:22 +05:30
j
30253ddb9c dont fail if third party localStorage is not enaled, closes #1244 2013-02-12 17:58:07 +00:00
rolux
c5f038a526 typo in docs 2013-02-12 13:35:30 +05:30
rolux
fe8160484b update docs 2013-02-12 12:38:53 +05:30
rolux
4f39c96e2d typo 2013-02-12 12:33:43 +05:30
rolux
d3e74f85f8 video player: add internal getPositionWidth method 2013-02-12 12:31:13 +05:30
rolux
17bdb6ccd9 fix potential off-by-one 2013-02-12 12:10:49 +05:30
rolux
37fd8b2ce9 add 'invertHighlight' option to video player 2013-02-12 11:58:52 +05:30
rolux
abb6d2a8be pass query with list init event 2013-02-12 07:01:45 +05:30
rolux
bf09fb2d90 update docs 2013-02-12 07:01:30 +05:30
j
ab5e6061d7 update theme name in documentation 2013-02-11 10:47:55 +00:00
rolux
d1a9d5cf84 update medium theme 2013-02-11 13:09:55 +05:30
rolux
7b46102b33 update medium theme 2013-02-11 13:09:19 +05:30
rolux
ac5aa63d5a typo 2013-02-11 12:53:12 +05:30
rolux
0c2e0b7ce6 update medium theme 2013-02-11 12:44:24 +05:30
rolux
4b3d73f598 update medium theme 2013-02-11 12:43:17 +05:30
rolux
4627b2e344 rename tooltip to videoTooltip 2013-02-11 12:03:40 +05:30
rolux
c567a80a44 VideoPreview: accept tooltip function 2013-02-11 11:57:37 +05:30
rolux
61ca7657b1 VideoPreview: accept tooltip function 2013-02-11 11:56:04 +05:30
rolux
28cb9403b9 update tooltip css 2013-02-11 11:42:25 +05:30
rolux
e002e2a566 fix video preview tooltip layout 2013-02-11 11:36:24 +05:30
rolux
c0e4dc6e01 add tooltip option to Ox.VideoPreview 2013-02-11 11:19:05 +05:30
j
4d9be17e6c down show browser warning to google bot 2013-02-10 17:18:36 +00:00
rolux
d043e335bd fix box-shadow 2013-02-10 21:11:32 +05:30
rolux
a6d77425bc fix Ox.Fullscreen 2013-02-10 21:00:36 +05:30
rolux
7119f14acf fix Ox.Fullscreen 2013-02-10 20:56:37 +05:30
rolux
4c45d71f5b fix Ox.Fullscreen 2013-02-10 20:50:28 +05:30
rolux
32a10a7d69 update medium theme 2013-02-10 20:27:19 +05:30
rolux
dec65ad714 typo 2013-02-10 20:20:59 +05:30
rolux
957f012da1 update medium theme 2013-02-10 20:17:45 +05:30
rolux
498e677e79 update medium theme 2013-02-10 18:33:45 +05:30
rolux
594254e309 update medium theme 2013-02-10 18:29:46 +05:30
rolux
27857d304e update medium theme 2013-02-10 18:19:51 +05:30
rolux
1572e152a0 fix SelectableElement CSS 2013-02-10 18:01:17 +05:30
rolux
6739c75bb4 update medium theme 2013-02-10 17:57:58 +05:30
rolux
9ca871d842 update themes & images, fix SelectableElement CSS 2013-02-10 17:52:46 +05:30
rolux
0c7cf20b03 update medium theme 2013-02-10 17:40:45 +05:30
rolux
e3095e3688 update medium theme 2013-02-10 17:35:46 +05:30
rolux
fd33a3f921 add/rename themes 2013-02-10 17:18:43 +05:30
rolux
c0d62242c8 support new themes 2013-02-10 17:16:04 +05:30
rolux
74753ebb60 support new themes 2013-02-10 17:15:37 +05:30
rolux
f2d93c7001 video loading icon should always be white 2013-02-09 16:03:42 +05:30
rolux
7eed2b3f51 fix annotation textarea css 2013-02-09 14:24:44 +05:30
rolux
36491fff68 fix video controls css 2013-02-09 14:17:54 +05:30
rolux
f8cfe9f8c8 fix video controls css 2013-02-09 14:09:28 +05:30
rolux
4b46fa42da fix video controls css 2013-02-09 14:07:32 +05:30
rolux
153123e5e5 fix video controls css 2013-02-09 13:40:10 +05:30
rolux
5ba6e39c99 fix video controls css 2013-02-09 13:33:48 +05:30
rolux
32271e2578 fix column class name for table list cells 2013-02-08 17:49:27 +05:30
rolux
f64ee18aa4 fix column class name for table list cells 2013-02-08 17:44:05 +05:30
rolux
1b2c83e121 fix column class name for table list cells 2013-02-08 17:38:24 +05:30
rolux
36bb42e7bd Ox.sort: handle thousand separators 2013-02-03 12:44:40 +05:30
j
fc8368cc9f dont open links if shift key is pressed on click 2013-02-01 14:22:17 +00:00
j
7bb9afa4ed prevent popup blocker for external links 2013-02-01 14:07:20 +00:00
rolux
c9d089ce5f fix aqua theme icon lists 2013-02-01 11:47:21 +05:30
rolux
76ff39ab45 fix aqua theme icon lists 2013-02-01 11:44:22 +05:30
rolux
a263a41fc9 fix classic theme video symbol color 2013-01-31 19:23:10 +05:30
rolux
7aecaf809d fix external video controls 2013-01-31 19:19:43 +05:30
rolux
2a6766de70 fix video marker theme switch 2013-01-31 18:54:27 +05:30
rolux
8daf9446c2 fix video marker theme switch 2013-01-31 18:52:01 +05:30
rolux
30f26ebb9b fix video markers 2013-01-31 18:46:01 +05:30
rolux
233fd97e87 fix video markers 2013-01-31 18:42:36 +05:30
rolux
c50d91c0ac properly switch video button color on theme switch 2013-01-31 18:12:51 +05:30
rolux
2fe165f257 fix selected player annotation background 2013-01-31 18:08:51 +05:30
rolux
ff9cf6ec5e fix selected player annotation background 2013-01-31 18:07:33 +05:30
rolux
117034d964 fix selected player annotation background 2013-01-31 18:04:10 +05:30
rolux
dd2c26ce2c fix video inputs 2013-01-31 17:57:56 +05:30
rolux
e4d9347c5d fix symbol/video buttons 2013-01-31 17:39:41 +05:30
rolux
d5afb08636 fix symbol/video buttons 2013-01-31 17:36:21 +05:30
rolux
74f781eabd fix symbol/video buttons 2013-01-31 17:35:03 +05:30
rolux
dc8bde4f73 fix video buttons 2013-01-31 17:28:35 +05:30
rolux
788989258a fix modern theme calendar controls 2013-01-31 17:02:37 +05:30
rolux
a49fa8f57f fix background of disabled symbol buttons 2013-01-31 16:53:39 +05:30
rolux
a2ffd8e439 fix selected annotation background in aqua theme 2013-01-31 16:48:59 +05:30
rolux
9b7a4428a6 fix modern theme highlight gradient 2013-01-31 16:45:58 +05:30
rolux
ac6441bdc8 fix background of video annotation textareas 2013-01-31 16:38:54 +05:30
rolux
fba21bab64 fix modern theme highlight gradient 2013-01-31 16:25:27 +05:30
rolux
45c3ee5658 add missing OxMedia class in video panel 2013-01-31 16:11:45 +05:30
j
23833d2a11 chnage local storage test to work in FF 16+, fixes #1116 2013-01-25 07:14:37 +00:00
j
4329bd5408 support unsetting Ox.Select title 2013-01-12 06:56:00 +00:00
rolux
d7f54bc7e4 add Ox..toggleClass() method 2013-01-08 11:51:12 +01:00
rolux
728fc69fb5 fix css for icons inside info lists, also fixes #160 (icons of selected item lack loading style) 2013-01-03 16:27:17 +01:00
rolux
0d9f689605 avoid double 'if' in Ox.forEach; minor documentation cleanup 2013-01-03 15:56:55 +01:00
rolux
67f744baaf fix #138 (keep Ox.Theme from setting a non-existing theme) 2013-01-02 17:45:30 +01:00
rolux
38ae7b4e53 typo 2013-01-02 13:45:09 +01:00
rolux
f20836eacf Allow for grayscale elements in Ox.Theme.formatColor 2013-01-02 13:10:17 +01:00
rolux
6d5b254a94 in Ox.formatOrdinal, add thousand separators 2013-01-01 15:05:35 +01:00
rolux
7f76d596ba remove some whitespace 2012-12-29 17:54:58 +01:00
rolux
6f4a928bf3 add 'OxMedia' class to video widgets 2012-12-29 17:43:32 +01:00
rolux
2bc41d180e add (still unused) private 'updateImages' method to Ox.TableList 2012-12-29 17:43:03 +01:00
rolux
79cd21c69d add aqua theme 2012-12-29 17:42:13 +01:00
rolux
5fc14635a2 update theme css and jsonc 2012-12-29 17:41:39 +01:00
rolux
fe32615c6b fix colored tree list icons in doc panel 2012-12-29 16:13:07 +01:00
rolux
914d92f135 properly cache Ox.UI.getImageURL 2012-12-29 15:57:01 +01:00
rolux
5466c7208c fix css for select with label 2012-12-29 15:56:35 +01:00
rolux
f4c80f1141 update theme css 2012-12-29 15:55:45 +01:00
rolux
141ae9866d update theme jsonc 2012-12-29 15:55:25 +01:00
rolux
5bf4f59be2 add css rule for table list column head order images 2012-12-29 13:58:54 +01:00
rolux
905c7390a2 typo 2012-12-29 13:58:24 +01:00
rolux
8bc189c471 update theme css 2012-12-29 13:58:04 +01:00
rolux
8f4b90e7e3 update theme jsonc 2012-12-29 13:57:04 +01:00
rolux
100775b109 in table list column heads, use images to indicate order, not buttons 2012-12-29 13:56:04 +01:00
rolux
a9c026f6db fix for MenuButton and Select double button toggle 2012-12-29 02:18:50 +01:00
rolux
66a041ef30 don't cache getImageURL (missing theme parameter -> different return values) 2012-12-29 01:01:44 +01:00
rolux
2b65daf729 add theme css 2012-12-29 00:53:18 +01:00
rolux
d6202a433a update theme jsonc 2012-12-29 00:52:19 +01:00
rolux
5ef888b638 fix for selectable buttons 2012-12-29 00:51:46 +01:00
rolux
6364408236 use themed modes in Ox.Button, Ox.MenuButton and Ox.Select 2012-12-28 18:55:52 +01:00
rolux
fc37155e22 use '', plus minor adjustments 2012-12-28 18:54:42 +01:00
rolux
4881682b61 use new-style themes 2012-12-28 18:52:51 +01:00
rolux
edbcb916fd remove print statement 2012-12-28 18:30:28 +01:00
rolux
59757f965f add generic svgs 2012-12-28 18:24:49 +01:00
rolux
d61d061915 new-style themes 2012-12-28 18:23:08 +01:00
rolux
f54db91aaa update and refactor Ox.UI loader 2012-12-28 18:21:26 +01:00
rolux
2c2b680284 use themed mode colors for table list column head images 2012-12-28 18:02:50 +01:00
rolux
77905dc4ea use themed map marker colors 2012-12-28 18:01:13 +01:00
rolux
21d6eec580 use themed map markers 2012-12-28 18:00:34 +01:00
rolux
8b8c40d32f use themed map rectangles 2012-12-28 18:00:02 +01:00
rolux
641a3043cb use themed timeline colors 2012-12-28 17:59:34 +01:00
rolux
9efb64e620 use new getImageURL method 2012-12-28 17:58:01 +01:00
rlx
db531f7abc update column status css 2012-12-23 02:42:23 +00:00
rolux
b6d2eae8ce Ox.Geo: add/fix languages 2012-12-22 01:21:17 +01:00
rolux
85a058d7ac refactoring 2012-12-22 01:20:37 +01:00
rlx
066b434a33 temporary fix for https://code.google.com/p/chromium/issues/detail?id=167198 2012-12-21 01:40:25 +00:00
j
b20d6a6e59 trigger setSizes in VideoPlayer on Ox.Fullscreen, add Ox.Fullscreen.available to check if fullscreen support is present(i.e. in iframe) 2012-12-20 18:30:48 +00:00
rolux
251fe64350 off by one px in buttongroups with overlap 2012-12-18 22:49:31 +01:00
rolux
86019a83fb Ox.ColumnList: add public 'sort' method 2012-12-18 22:48:57 +01:00
rolux
cdf49b0bbe Ox.CustomList: implement sort update 2012-12-18 22:48:27 +01:00
rolux
716db744b9 Ox.MenuButton: add 'overlap' option 2012-12-18 22:47:57 +01:00
rolux
7ff601a0a4 Ox.AudioPlayer: support resize, move css declarations to Ox.UI.css 2012-12-18 17:46:43 +01:00
rolux
8c941edd03 Ox.ColumnList: implement query 2012-12-18 15:05:47 +01:00
rolux
e5e93d8e12 Ox.CustomList: handle query update 2012-12-18 15:04:59 +01:00
rolux
c27dc129ce Ox.api: handle missing 'options' argument 2012-12-18 15:04:22 +01:00
rolux
69506bde92 update OxCustomList CSS 2012-12-18 11:51:14 +01:00
rolux
65501544f8 Ox.ColumnList: add 'resize' option, correctly handle key_left, key_right and select, pass 'sort' option 2012-12-18 11:50:44 +01:00
rolux
087c7eb956 Ox.CustomList: add public 'selectPosition' and 'size' methods, add 'resize' option (fn(, width) that runs for each item, on resize) 2012-12-18 11:47:40 +01:00
rolux
10eafb0bd4 Ox.TableList: add public 'selectPosition' method 2012-12-18 11:45:36 +01:00
rolux
800b9ac17c Ox.List: add public 'selectPosition' method 2012-12-18 11:45:20 +01:00
rolux
293c96a97d In Ox.api, allow for sums of text fields (= number of unique values, for example: number of artists in a list of works) 2012-12-18 11:35:51 +01:00
rlx
33db20f91c update CSS 2012-12-16 16:51:39 +00:00
rlx
3973fc496a add 'setColumnTitle' public method to Ox.TableList; add 'OxColumnStatus' CSS rules 2012-12-16 16:19:10 +00:00
rolux
e3e3540ef3 fix icon list 'centered' option and animation 2012-12-13 02:25:32 +01:00
rolux
f2b2547db2 AudioPlayer: enable change-on-drag 2012-12-11 22:49:53 +01:00
rolux
10d389a9fc update ColumnList 2012-12-11 16:37:48 +01:00
rolux
51bf0498da in TableList and CustomList, expose list api 2012-12-11 16:36:38 +01:00
rolux
6fd7e99c7a update audio player 2012-12-11 16:35:45 +01:00
rolux
c2c6b8a265 fix a geo data bug 2012-12-10 18:25:33 +01:00
rolux
68aeaebe3f update CustomList and ColumnList 2012-12-10 17:46:48 +01:00
rolux
c4cf3586df TableList: set Select/Clear CSS according to scrollbar size 2012-12-10 17:44:52 +01:00
rolux
d8656d3e86 update custom scrollbar size 2012-12-10 17:44:10 +01:00
rolux
d8206391d5 modern theme: add CustomList CSS and update TableList Select CSS 2012-12-10 17:43:45 +01:00
rolux
ebcc3c674e update custom scrollbar size and table list select/clear css 2012-12-10 17:42:25 +01:00
rolux
cfca8af81e update custom scrollbar arrow images 2012-12-10 17:40:19 +01:00
rolux
344daaeaa6 update audio player 2012-12-10 01:02:42 +01:00
rolux
15601552e7 add experimental CustomList and ColumnList 2012-12-10 01:01:29 +01:00
rolux
90e72ca4db update classic css (todo: modern) 2012-12-10 01:00:04 +01:00
rolux
abcd631668 update symbols 2012-12-10 00:59:19 +01:00
rolux
7e25a7a380 update audio player and element 2012-12-09 18:12:25 +01:00
rolux
9663ccfa0f add media symbols 2012-12-09 17:33:22 +01:00
rolux
b527c2a3f4 update css 2012-12-09 01:45:07 +01:00
rolux
074b658814 add rudimentary Ox.AudioPlayer and Ox.AudioElement 2012-12-09 01:44:17 +01:00
rolux
7dac327396 add 'overlap' option to ButtonGroup 2012-12-09 01:43:33 +01:00
rolux
568119cae8 cosmetic changes 2012-12-09 01:42:57 +01:00
rolux
9a84581c2e add audio-related symbols, update example 2012-12-08 15:02:14 +01:00
rolux
34cef100ad remove some brackets 2012-11-14 15:16:49 +01:00
rolux
666815f566 update inline test 2012-11-14 15:12:08 +01:00
rolux
48f2c4f9ee add Ox.formatCount 2012-11-14 15:10:04 +01:00
rolux
c03efd71fe request controller: minor cleanup 2012-11-04 12:05:25 +01:00
rlx
abb76703ce keyboard controller: don't trigger events when input _or autocomplete menu_ has focus 2012-11-03 16:39:30 +00:00
rolux
cacd1e147f typo 2012-11-03 17:37:36 +01:00
rolux
65cd5b8afa minor changes in keyboard controller 2012-11-03 17:19:35 +01:00
rlx
985b34ac72 add css rules for fullscreen 2012-11-01 14:55:56 +00:00
rlx
aede993d74 typo 2012-11-01 14:35:16 +00:00
rlx
be0aaa2db6 add fullscreen controller 2012-11-01 14:20:28 +00:00
rlx
5075e3de7e VideoPanel: Pass down correct value on fullscreen option update 2012-11-01 12:36:00 +00:00
rolux
ed4dd70c8e Ox.URL: add hash parser, add tests 2012-10-31 12:57:55 +01:00
rolux
64085cdc04 add Ox.SortList and Ox.SortDialog 2012-10-28 15:33:29 +01:00
rolux
9c8e960546 add/update browser/system icons 2012-10-27 21:30:29 +02:00
rlx
dfde724a38 Ox.Chart: improve sorting 2012-10-27 18:51:14 +00:00
rolux
41ca92a3d1 off by one in Ox.Chart 2012-10-27 19:46:27 +02:00
rolux
dc0d652c4e add new browser and system logos 2012-10-27 18:52:12 +02:00
rolux
4ef16ef92d when computing sort values, only strip non-word characters from the beginning of the value if the result is not an empty string 2012-10-26 18:16:44 +02:00
rolux
23bd717a8a When caching sort values, make the type of the value part of the cache key (so that 9 and '9' don't collide) 2012-10-26 18:09:37 +02:00
rolux
2223fcfd2b In Ox.api, add support for values that are arrays 2012-10-26 17:27:15 +02:00
rolux
909184fbba add missing 'sums' option to IconList and InfoList 2012-10-26 16:46:14 +02:00
rlx
619f498dae Ox.Chart: make sure bars are at least 1px wide 2012-10-24 12:31:32 +00:00
rolux
cc4b2824e0 fix geo data 2012-10-19 14:01:39 +02:00
rolux
28d60f9576 update geo flags 2012-10-19 13:19:53 +02:00
rolux
a364b6436c update geo data 2012-10-19 12:54:58 +02:00
rolux
4da93006fc update geo module 2012-10-19 12:53:09 +02:00
j
790e0c4500 dont add ?rand to empty string in Ox.VideoElement 2012-10-12 13:00:22 +02:00
rolux
9916fce1f6 update css for text in icon lists 2012-10-09 10:04:39 +02:00
rolux
86a3e50ed6 add Ox.Theme.formatColorPercent 2012-10-05 14:14:58 +02:00
rlx
dc03bb506a Ox.Chart: add 'limit' option 2012-10-05 11:19:22 +00:00
rolux
83413674a5 fix for chrome 22 menu table cell truncation bug 2012-10-02 16:46:31 +02:00
j
1c02b95f82 dont reset video.src on stop, this happens in GC on dom removal now, fixes #1003 2012-09-22 22:02:00 +02:00
rlx
609d1355fe Map Editor: correctly set self.options.selected when adding or removing a place (fixes #990) 2012-09-21 09:53:05 +00:00
rlx
a392cad0bc use 'sort' property, not 'map' property, for custom sort in table lists (fixes #993) 2012-09-19 06:46:44 +00:00
rlx
03520f6b2e remove unused CalendarDate.js 2012-09-19 06:34:57 +00:00
j
2a7a6da95d sort text bins by create instead of value as 3rd sort value, fixes #995 2012-09-18 21:26:53 +02:00
j
7d4d543ee3 set created/modified adding an event, fixes #989 2012-09-18 12:21:52 +02:00
rlx
926410d663 cleanup Resizebar; make tooltips in VideoEditor, VideoPanel and VideoTimelinePanel configurable 2012-09-17 08:36:21 +00:00
rolux
6433c31002 bugfix in map editor 2012-09-10 14:36:43 +02:00
rolux
7ca44d1ada bugfix in map editor 2012-09-10 14:28:12 +02:00
rolux
20aeb914eb minor change 2012-09-10 14:25:04 +02:00
rolux
91bd0e3684 typo 2012-09-10 14:24:14 +02:00
rolux
93d511f728 minor change 2012-09-10 14:14:40 +02:00
rolux
58706d1f99 fix a potential JS error in Ox.Map 2012-09-10 14:05:11 +02:00
j
7230606a6d fix Ox.sort, was broken in changeset:oxjs,2363 2012-09-08 00:19:13 +02:00
j
d2859f10ef set src of videos to '' before removing from dom to work around chome bug #31014 2012-09-07 03:54:18 +02:00
rolux
075aac449c minor timeout voodoo 2012-09-05 12:05:01 +02:00
rlx
4105f79106 Ox.Map bugfixes & cleanup: make setting 'places' and 'selected' options at the same time work, fix meta key handler, remove misnamed 'addPlaces', fix potential JS error in 'addPlaceToPlaces', make sure self.places contains only the visible places 2012-09-05 10:04:23 +00:00
rlx
d5da93f59e fix label widths in map editor ('geoname' truncated in recent versions of Chrome on OS X) 2012-09-05 09:46:00 +00:00
rlx
e52ac44a1b On maps, only allow for creating combined places via shift-click or meta-click if the map is editable 2012-09-05 09:29:06 +00:00
rolux
db9c55ff5e in cached getSortValue function, use a cheaper args to key function 2012-09-04 00:46:55 +02:00
rolux
bed08786a1 fix dependencies 2012-09-04 00:45:43 +02:00
rolux
8bfe9f5335 fix an issue where selected 16px wide column heads of table lists would not have the correct gradient (as the invisible triangle would increase the element's height) 2012-09-03 22:49:07 +02:00
rolux
e50d4c22db In Ox.List, pass map option to Ox.api 2012-09-03 22:27:09 +02:00
rolux
a3ddc7c2d4 In Ox.TableList, add a 'sort' property for columns (a function with two arguments, the item's value for this column and the full item object), so that the sort order can now depend on other keys (and we can abandon the pattern of passing the sort value as value and a complicated format function to get the actual value) 2012-09-03 22:26:27 +02:00
rolux
8407a88af1 remove trailing whitespace 2012-09-03 22:14:53 +02:00
rolux
0d0926cbf5 In Ox.cache (which is now called onload in Array.js to cache getSortValue), remove dependency on Ox.extend (which would depend on Ox.forEach) 2012-09-03 22:14:08 +02:00
rolux
f5c320187e In Ox.api, add a map option {key: fn(value, object)}, value being object[key], so that the sort value can depend on other keys; Ox.sortBy is updated to use getSortValue (cached sort value of mapped value) instead of getSortValues (precomputed mapped sort value per value, which is no longer unique) 2012-09-03 22:11:25 +02:00
rolux
baf29d068b remove an onload dependency 2012-09-03 21:59:53 +02:00
rolux
863ddfeafa remove an onload dependency 2012-09-03 21:11:57 +02:00
rolux
f4cdfb3349 Ox.Map: add public methods getCenter and setCenter 2012-09-01 13:15:47 +02:00
rolux
dfffe99a04 Ox.Map: trigger select event if, after updating the items option, the previously selected item is no longer present 2012-09-01 11:52:26 +02:00
rolux
39708edd8b correctly compute list height in Ox.List if horizontal scrolling is disabled in Ox.TableList 2012-09-01 11:46:01 +02:00
rolux
d16f76f0da add constant Ox.EARTH_SURFACE 2012-09-01 05:51:35 +02:00
rolux
a01ab0ab58 TableList: add clearButton and clearButtonTooltip options, update CSS 2012-08-31 16:57:03 +02:00
rolux
3e57cbd785 Ox.Map: add markerTooltip option (custom format function) 2012-08-31 09:22:15 +02:00
rolux
6f545969e4 minor bugfix 2012-08-31 08:54:24 +02:00
rolux
95502a62a1 update enable/disable horizontal scrolling option in table list 2012-08-31 08:51:30 +02:00
rolux
3fcedf2b30 lists: return that from public size method 2012-08-31 00:16:26 +02:00
rolux
2d109d103e TableList: add option disableHorizontalScroll and public methods addColumn, removeColumn, getVisibleColumns, setVisibleColumns and getColumnWidth, and add setColumnWidth as alias for resizeColumn; return that from public size method 2012-08-31 00:16:09 +02:00
rolux
62a67e7b1f fix a bug preventing item title updates in menus 2012-08-30 22:25:32 +02:00
rolux
da319f0807 fix for text on buttons and in inputs being 1px too low in recent versions of chrome (fixes #924) 2012-08-30 02:35:36 +02:00
rolux
8572f93334 replace tabs with spaces 2012-08-29 17:42:50 +02:00
rolux
c4c49fd1d1 ButtonGroup: add public buttonOptions method 2012-08-29 17:42:30 +02:00
rolux
5e39926816 replace tabs with spaces; add fixme 2012-08-29 17:41:40 +02:00
rolux
b5a2e80878 fix sort value for '[article] [number or quoted string]', add test 2012-08-29 17:40:27 +02:00
rlx
0de55efb96 Menu: parse HTML entities for title property of events 2012-08-13 13:20:07 +00:00
rolux
ff1e6d4833 make Ox.compact more compact and flatten Ox.flatten 2012-07-13 15:51:49 +02:00
rolux
518a032325 detect and support webkit/ios, fixes #96 2012-07-11 16:30:31 +02:00
rolux
631c5c39c8 quick fix to detect and support chrome on iOS 2012-07-11 16:10:42 +02:00
rolux
1ac080f6dd fix a bug in Ox.Image forEach 2012-07-11 14:45:59 +02:00
j
01739e1b19 fix opera css shadow 2012-07-09 20:45:26 +02:00
rolux
bb686389ce remove print statements 2012-07-09 17:38:30 +02:00
rolux
3ea3600a23 convert some tabs to spaces 2012-07-09 16:31:04 +02:00
rolux
4818a7d617 quick fix for color pickers inside form panels 2012-07-09 16:29:45 +02:00
rolux
4b29ffe70e Ox.Checkbox: set width on init 2012-07-09 16:00:14 +02:00
rolux
c0837fb4ff Ox.FormPanel: add missing select event 2012-07-09 15:59:50 +02:00
rolux
cfa16327a5 Ox.Input: fix integer regexp 2012-07-09 15:59:28 +02:00
rolux
01717f3727 ExamplePanel/ExamplePage: add mode/selected option ('source' or 'live') 2012-07-05 21:38:02 +02:00
j
223d9470a9 add useCapture argument to addEventListener, not optional in FF 3.6 2012-07-05 19:50:01 +02:00
rolux
a155ff5487 fix Ox.localStorage for Firefox 3.6 2012-07-05 19:48:20 +02:00
rolux
b8f88958da cleanup documentation 2012-07-05 19:47:57 +02:00
rolux
f4c34d858c remove Ox.polyfill.localStorage 2012-07-05 19:47:33 +02:00
j
4b71d7c03b merge 2012-07-05 19:45:41 +02:00
j
762d5ca963 fix load on IE and Firefox 3.6 2012-07-05 19:05:52 +02:00
rolux
0f44e64885 remove some comments 2012-07-05 11:36:17 +02:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
4139e171ca fix place type detection 2012-07-05 10:42:15 +02:00
rolux
a0867f0da6 update widget documentation (arguments first) 2012-07-04 13:29:18 +02:00
rolux
daec992536 Ox.API: fix docs, return request id from API call 2012-07-04 13:15:32 +02:00
rolux
2d4ab2b32d Ox.DocPage: load inherited properties and events in collapsed state 2012-07-04 12:43:24 +02:00
rolux
459755e51f misc minor changes 2012-07-04 11:57:27 +02:00
rolux
c600c250b0 update documentation for request methods 2012-07-03 23:55:05 +02:00
rolux
6d2b95e943 DocPanel: add loading indication 2012-07-03 23:41:11 +02:00
rolux
a04eb376ed Ox.Image: fix typo in parseDrawOptions method 2012-07-03 15:41:08 +02:00
rolux
ad25f92c38 update about, fix Ox.find docs 2012-07-03 00:54:37 +02:00
rolux
0d53dfaf1a fix a bug in tree list 2012-07-02 18:24:30 +02:00
rolux
6cd9472b7c add a fixme 2012-07-02 18:23:50 +02:00
rolux
f5aa547f43 Ox.IconList: don't require 'keys' option if 'items' is a local array 2012-07-02 18:21:09 +02:00
j
2e5205fabe allow updating options.places with an array 2012-07-02 18:17:52 +02:00
rolux
487ee4626d update Ox.formatUnit 2012-07-02 16:19:36 +02:00
rolux
f6a767b6cb test for existence of before looping over it 2012-07-02 15:45:18 +02:00
rolux
0fc6e09927 Ox.App: clean up code and documentation 2012-07-02 13:29:07 +02:00
rolux
79bea33e51 Ox.Element: reformat docs 2012-07-02 13:28:42 +02:00
rlx
197f937d86 remove some list voodoo 2012-06-30 19:59:20 +00:00
rlx
f22e5a032d IconList/InfoList: keep self.options.selected in sync 2012-06-30 16:12:05 +00:00
rlx
b5d5936e59 don't trigger event after timeout, see #731 2012-06-30 16:11:29 +00:00
rlx
e68b1e163b Ox.CalendarEditor: cleanup 2012-06-30 15:06:58 +00:00
rlx
0b8ca39ba6 remove a comment 2012-06-30 15:05:57 +00:00
rlx
dc438e2427 setTimeout before triggering events 2012-06-30 15:05:35 +00:00
rlx
d57affea4a Ox.List: change 'selected' update handler 2012-06-30 15:05:05 +00:00
rlx
f5901e4a1d Ox.TableList: keep self.options.selected in sync, plus some cleanup 2012-06-30 15:03:43 +00:00
rlx
146078e7ce fix bugs in Ox.MapEditor 2012-06-30 15:01:43 +00:00
rlx
ee23db5876 Ox.Map: update signature of select event, update docs 2012-06-30 15:00:38 +00:00
rlx
d30cda0cfd bind to 'select', not 'selectplace' 2012-06-30 14:59:52 +00:00
rolux
2dc8fd19aa update docs 2012-06-30 12:29:06 +02:00
rolux
2731f8dc89 update event controller 2012-06-30 12:15:27 +02:00
rolux
b5910f5f62 Ox.Element: use new event controller 2012-06-30 11:24:38 +02:00
rolux
32f85e42e4 new event controller 2012-06-30 11:24:03 +02:00
rolux
dfa0a9b8eb set interval between 'keys' events to 250 ms 2012-06-30 11:21:23 +02:00
rolux
7df61a8ac9 simplify event passing in Ox.List derivatives 2012-06-30 11:20:37 +02:00
rolux
91275f7171 minor reformatting 2012-06-30 11:18:55 +02:00
rolux
28b9614083 update Ox.Event (intermediate state) 2012-06-29 14:24:06 +02:00
rolux
64a182ae1d lists: implement select-as-you-type 2012-06-29 14:19:34 +02:00
rolux
c211b55d3b fix bug in pixel method (arguments parsing) 2012-06-28 18:36:25 +02:00
j
864eacfbd7 Fix #873 prevent Firefox from cancling active XMLHttpRequests pressing escape 2012-06-29 10:23:59 +02:00
j
da0fb1af50 remove test element 2012-06-28 12:34:18 +02:00
j
1118938e30 Detect scrollbar width for browser that do not support scrollbar styling.
Fixes #800
2012-06-28 12:18:33 +02:00
rolux
55e2174831 in TableLists, use options.unique, not options.columns[i].unique 2012-06-27 20:38:07 +02:00
rolux
d6dcf33427 fix a bug with computing keys 2012-06-27 20:29:39 +02:00
rolux
8296d3c405 TableList: don't require 'keys' if 'items' is array 2012-06-27 20:28:59 +02:00
rolux
6e2a837f1c typo 2012-06-27 19:06:02 +02:00
rolux
c4d65facc5 fix textarea background CSS (since they may have labels) - still doesn't fix their active state 2012-06-27 19:04:34 +02:00
rolux
773311d8d7 TableList: add 'unique' option (until now, the unique id had be specified via columns, even if one had no intention to ever display it as a column) 2012-06-27 18:19:24 +02:00
rolux
bbd80ccf4f Ox.getAsync: fix docs, rename var 2012-06-27 14:55:49 +02:00
rolux
b4dc8d2d58 make doc page code css less annoying 2012-06-27 14:55:13 +02:00
rolux
73c0fc8c31 remove print statement 2012-06-27 13:21:28 +02:00
rolux
bb5a93b2ec add CSS for disabled FileInput 2012-06-27 12:57:15 +02:00
rolux
f93c575c8f FileInput: handle disabled option 2012-06-27 12:56:17 +02:00
rolux
abc6cbbb15 FileButton: add default for image options 2012-06-27 12:55:38 +02:00
rolux
4c6756c192 MenuItem: handle disabled file items 2012-06-27 12:54:46 +02:00
rolux
e72e68a1df add files symbol 2012-06-27 12:14:16 +02:00
rolux
544af185b1 MenuItem: update docs 2012-06-27 11:49:47 +02:00
rolux
f70946ff62 Menu: when clicking on file item, but next to the file input, don't trigger a click event 2012-06-27 11:49:13 +02:00
rolux
b1019a7c5d FileButton: add image option (so tooltip title becomes configurable if type is 'image') 2012-06-27 11:07:34 +02:00
rolux
0564db6ec5 allow for file buttons with 'image' type 2012-06-27 10:37:12 +02:00
j
9bb6b7bcb9 revert changes undone in #2224 2012-06-27 10:20:11 +02:00
rolux
e38a09cd42 update inline comments 2012-06-27 09:43:28 +02:00
rolux
bdebb03a45 TextList -> TableList 2012-06-27 09:41:10 +02:00
rolux
7648d2d4ac when switching version in loader, update path 2012-06-26 20:10:31 +02:00
rolux
80e0a02ea3 in ox dev loader, allow for switching to build version by passing true as first argument (can be used to avoid boilerplate when choosing build/ or dev/ dynamically) 2012-06-26 19:17:27 +02:00
j
2efbc53b33 only update list values once list has loaded 2012-06-26 16:26:32 +00:00
rolux
244591d57e appendTo(that.$element) -> appendTo(that) 2012-06-26 18:21:39 +02:00
rolux
969e0553b4 use [0] instead of .[0] 2012-06-26 18:01:47 +02:00
rolux
fb6c956250 remove debugging 2012-06-26 18:01:13 +02:00
j
75fe62730c Ox.*List do not share updateCallbacks with Ox.List, Ox.clone(self) is passed for event handler 2012-06-26 15:44:22 +00:00
rolux
69d125bc8e minor changes 2012-06-26 16:33:26 +02:00
rolux
e5652b4db1 fix misleading comment 2012-06-26 15:12:09 +02:00
rolux
b9e4f565ca Ox.Element: don't overwrite callbacks; reformatting 2012-06-26 14:54:30 +02:00
rolux
f6a7d0a059 remove unneccessary closure 2012-06-26 03:14:35 +02:00
rolux
835c848933 in ox loader, don't overwrite previous Ox 2012-06-25 21:22:20 +02:00
rolux
60c279ed1c add element id to event properties 2012-06-25 20:40:06 +02:00
rolux
f5782c475b Ox.divideInt -> Ox.splitInt 2012-06-25 16:43:03 +02:00
rolux
703003bd2b Ox.Image: correctly parse arguments of pixel method 2012-06-25 16:42:30 +02:00
rolux
446f1a0de1 minor change 2012-06-25 16:32:16 +02:00
rolux
adb3355975 DocPanel: fix example links 2012-06-25 11:26:36 +02:00
rolux
1b62ccfc4b Ox.test: fix docs 2012-06-24 19:11:59 +02:00
rolux
d29bc5569b make Ox.rgb always return integers 2012-06-24 17:41:27 +02:00
rolux
fa84921333 fix section declarations in modules 2012-06-24 17:33:13 +02:00
rolux
9f1b86ab87 Ox.test: eval all scripts; add stringifyResult method; properly stringify actual async result; in async path, rename 'result' to 'actual' 2012-06-24 15:40:48 +02:00
rolux
966ceeb1f1 Ox.parseMarkdown: don't make replacements inside code spans/blocks; Ox.sanitizeHTML: add (failing) test; remove unneccessary escaping inside [] in regular expressions 2012-06-24 15:37:46 +02:00
rolux
8312105427 comment out example scripts 2012-06-24 15:34:19 +02:00
rolux
19afdd8bea fix Ox.clone(0, deep) 2012-06-24 15:32:35 +02:00
rolux
a071d541de allow for stripping comments in doc panel (which implies hiding line numbers) 2012-06-23 20:44:13 +02:00
rolux
6338c5fc6b fix css for code blocks in source viewer comments 2012-06-23 20:25:33 +02:00
rolux
f473100875 allow for passing file to Ox.SyntaxHighlighter 2012-06-23 20:24:06 +02:00
rolux
6fcac07ee9 minor changes 2012-06-23 20:23:19 +02:00
rolux
ab11f85f26 remove log statement 2012-06-23 20:22:52 +02:00
rolux
9e8a0ca296 minor changes 2012-06-23 20:22:32 +02:00
rolux
05828db75d Ox.doc: support inline properties prefixed with '.', add FIXMEs 2012-06-23 20:22:09 +02:00
rolux
4e8c8f6310 update source viewer code block css 2012-06-23 13:31:15 +02:00
rolux
4b0a07387f fix a bug in parseMarkdown, add tests 2012-06-23 13:30:33 +02:00
rolux
0b2371e73e DocPanel: add 'expanded' option; don't fail when no element gets passed; don't fail when files is an empty array; some reformatting 2012-06-23 12:53:04 +02:00
rolux
63d12160cd add missing semicolons 2012-06-23 12:50:34 +02:00
rolux
2a5d06717e remove print statements 2012-06-23 12:50:02 +02:00
rolux
03418d2952 Ox.SourceViewer: temporary workaround for cases where the source code doesn't fill the full height 2012-06-23 12:49:18 +02:00
rolux
ec4c46cb6c Ox.sanitizeHTML: include 'em' and 'strong' in default tags (otherwise sanitizing markdown fails) 2012-06-23 12:48:17 +02:00
rolux
b272221020 Ox.doc: set 'section' to complete line, not just first word 2012-06-23 12:47:30 +02:00
rolux
1652cde0ec fix docs 2012-06-23 12:46:41 +02:00
rolux
ee1d50283f fix docs 2012-06-23 01:54:33 +02:00
rolux
5e68ebfde1 in Ox.js loader, always call Ox.load - also if no arguments precede the callback 2012-06-22 15:04:21 +02:00
rolux
f15d6cad0f change the semantics of Ox.load to call back once the DOM is ready - which wasn't the case when calling Ox.load(callback) in the built version 2012-06-22 15:02:38 +02:00
rolux
f51e5e9174 Example Panel: add item icons in list 2012-06-22 12:53:04 +02:00
rolux
e54be15936 Ox.sanitizeHTML: add test 2012-06-22 10:29:09 +02:00
rolux
0d2204ff19 update css (make sure that in source viewer, code spans inside comments don't increase the line height) 2012-06-22 10:25:41 +02:00
rolux
8ccabb349e Ox.sanitizeHTML: decode html entities before encoding html entities; Ox.parseMarkdown: encode '<' in code spans and code blocks 2012-06-22 10:24:25 +02:00
rolux
e8f3caff8e EExamplePanel: make sure items are sorted alphabetically 2012-06-22 09:54:27 +02:00
rolux
b9a4ea2e42 Example Panel: use sections 2012-06-22 09:23:38 +02:00
rolux
0200a2478b DocPanel: don't empty page when selecting module or section folder 2012-06-22 09:22:58 +02:00
rolux
c301a73e38 TreeList: load in expanded state if options.expanded is true 2012-06-22 09:22:04 +02:00
rolux
21fb4aecc0 Ox.Bar: fix docs 2012-06-21 23:15:54 +02:00
rolux
f04f6d2663 TabPanel: add 'selectTab' alias 2012-06-21 13:48:29 +02:00
rolux
93a9805da7 minor cleanup 2012-06-21 13:47:52 +02:00
rolux
d8cd59e90f add Ox.hypot 2012-06-21 13:39:19 +02:00
rolux
d04c1d3059 remove a print statement 2012-06-21 08:55:05 +02:00
rolux
71218cd61f Ox.tokenize: handle '.1' 2012-06-21 08:08:45 +02:00
rolux
625325a6e6 fix test result 2012-06-20 22:11:05 +02:00
rolux
9e35ae0be2 minor cleanup 2012-06-20 18:49:06 +02:00
rolux
9093d5f3ed update Ox.load documentation 2012-06-20 18:40:55 +02:00
rolux
68b89d7628 update Ox.load documentation 2012-06-20 18:39:31 +02:00
rolux
23684de82c minor cleanup 2012-06-20 18:30:35 +02:00
rolux
367a8227c9 update Ox.js loader 2012-06-20 18:30:06 +02:00
rolux
e88f622449 minor cleanup 2012-06-20 17:16:58 +02:00
rolux
11377c99b9 fix a bug related to displaying test results 2012-06-20 17:13:43 +02:00
rolux
bbf72ab0c7 Ox.formatRoman: add test 2012-06-20 12:03:10 +02:00
rolux
c68af487c5 typo 2012-06-20 12:02:04 +02:00
rolux
35df921fcd Ox.formatRoman: add tests 2012-06-20 12:01:32 +02:00
rolux
14d57f70bb add Ox.formatRoman 2012-06-20 11:57:22 +02:00
rolux
c575686fca minor reformatting 2012-06-20 11:37:55 +02:00
rolux
e23fbb2d35 Ox.LoadingIcon: support passing a number as size 2012-06-20 11:37:47 +02:00
rolux
a3f0a38bf2 ExamplePanel: don't fail when selecting non-existing id 2012-06-20 11:03:37 +02:00
rolux
c3d51860c3 update markdown parser and css 2012-06-20 09:23:39 +02:00
rolux
46f2fa516e fix a bug in sort/sortBy 2012-06-19 21:29:16 +02:00
rolux
5bbce78878 remove unneeded cloning 2012-06-19 19:43:19 +02:00
rolux
e1bd7d0cb3 remove log statement 2012-06-19 19:32:37 +02:00
rolux
1f4b0f7faa Ox.api: cache sort; Ox.sortBy: improve performance 2012-06-19 19:32:10 +02:00
rolux
178e2bc487 fix min/max longitude 2012-06-19 18:04:48 +02:00
rolux
7c2f8aa967 typo 2012-06-19 18:02:40 +02:00
rolux
f7b0fb6893 typo 2012-06-19 18:01:48 +02:00
rolux
a544de5c60 typo 2012-06-19 18:00:59 +02:00
rolux
98b7929fc3 typo 2012-06-19 17:59:31 +02:00
rolux
76a540e399 Ox.API: better workaround for area 2012-06-19 17:57:21 +02:00
rolux
0d802a16c9 fix a map positioning bug 2012-06-19 17:42:53 +02:00
rolux
4c3ef380b1 typo 2012-06-19 17:37:57 +02:00
rolux
f9dd2661f8 chasing a map positioning bug... 2012-06-19 17:36:08 +02:00
rolux
a4fedfd924 Ox.Map: don't fail when calling panToPlace, selectPlace or zoomToPlace before places have loaded 2012-06-19 17:05:20 +02:00
rolux
3a3354818a List: add query option; fix a bug related to Ox.api returning -1 as position (as opposed to the pandora backend, which doesn't include the id in that case); fix a bug related to determining sizes when items is an array 2012-06-19 14:18:16 +02:00
rolux
68321c7245 IconList/InfoList/TextList: add query option 2012-06-19 14:15:20 +02:00
rolux
b754d6d5bd add fixme 2012-06-18 19:11:39 +02:00
rolux
996f41c06b move Ox.stripTags from String.js to HTML.js 2012-06-18 19:11:17 +02:00
rolux
1ab5c5eca1 move Ox.isEmpty from Collection.js to Type.js 2012-06-18 19:10:41 +02:00
rolux
ba1a3c4b2a add home button to doc page and example page 2012-06-18 10:57:52 +02:00
rolux
4523ebeca3 add home symbol 2012-06-18 10:56:08 +02:00
rolux
9ae133d45b add documentation for Ox.UI 2012-06-18 10:54:39 +02:00
rolux
9a0bd1faec when clicking button, hide its tooltip 2012-06-18 10:54:08 +02:00
rolux
619bc0afb5 minor change 2012-06-18 10:53:51 +02:00
rolux
9ef4bdd0c1 avoid loop 2012-06-18 09:14:45 +02:00
j
d2e05200da document events 2012-06-18 00:38:26 +02:00
rolux
d27420d43d update file input css 2012-06-17 19:15:42 +02:00
rolux
69acb4a04e always use file button title as tooltip 2012-06-17 19:15:05 +02:00
rolux
fdb8a2b98b display correct ui for non-empty file inputs 2012-06-17 19:14:37 +02:00
rolux
fe8c97db24 in Ox.List, handle Ox.TreeList items update 2012-06-17 19:13:18 +02:00
rolux
ad368fb819 allow for updating a treelist's data option 2012-06-17 19:12:23 +02:00
rolux
36a5f5a95f clone menu items before extending them 2012-06-17 19:11:23 +02:00
rolux
9dbedf13f9 minor changes 2012-06-17 19:10:41 +02:00
rolux
23ad209561 call Ox.localStorage only once 2012-06-17 16:42:27 +02:00
rolux
175c8b23d0 Collection.js: handle localStorage object 2012-06-17 16:41:39 +02:00
rolux
d793d7857d add test for Ox.typeOf(localStorage) 2012-06-17 16:40:42 +02:00
rolux
c9474ee04e Ox.load: allow for passing array of modules 2012-06-17 15:56:13 +02:00
rolux
8d8e087e3d Ox.loadFile -> Ox.getFile 2012-06-17 15:37:21 +02:00
rolux
77adfbf7b8 Requests.js: handle errors, various other improvements 2012-06-17 15:36:55 +02:00
j
d27c1e8cd4 Ox.Geo and Ox.Unicode json files need to be loaded with Ox.VERSION too 2012-06-17 11:31:19 +02:00
rolux
48b5e9610a update symbols 2012-06-17 10:45:45 +02:00
rlx
e9579e10eb decode HTML entities before setting input value to autocomplete menu title 2012-06-16 20:48:30 +00:00
rlx
8f4e08063e in play loop, return false instead of calling Ox.Break 2012-06-16 20:47:17 +00:00
rlx
d63113d7bd remove print statements 2012-06-16 20:46:38 +00:00
rlx
9d475e6012 remove warning when returning false from Ox.loop and Ox.forEach 2012-06-16 20:46:14 +00:00
rlx
898cc702f5 highlight: several bugfixes and performance improvements; normalizeHTML: only use dom if needed 2012-06-16 20:45:05 +00:00
rlx
743a36e308 Ox.Dialog: handle window resize 2012-06-16 17:24:19 +00:00
rlx
9899f80bfb animate({...}, 0) -> css({...}) 2012-06-16 16:50:58 +00:00
rlx
3fc8a47bf4 return original string when highlight is called without query; lazy format annotation date 2012-06-16 16:17:28 +00:00
rlx
77f0c762a3 Input: submit when doubleclicking clear button; + some reformatting 2012-06-16 13:36:03 +00:00
rlx
7c7f97066e FormElementGroup: don't trigger change on submit 2012-06-16 13:35:14 +00:00
j
8c7bf418ec dont blow the stack, fixes #853 2012-06-16 18:10:19 +02:00
j
099fbc7880 dont show Run tests is showTests is false, fix documentation example 2012-06-16 14:25:08 +02:00
j
53966f3f53 fix Ox.sanitzeHTML if urls are inside an open a tag 2012-06-16 13:16:30 +02:00
rlx
cd6e17d124 minor reformatting 2012-06-16 10:09:21 +00:00
rlx
3e2c2d451e ButtonGroup: add enableButton/disableButton methods 2012-06-16 10:08:37 +00:00
rlx
dffd160ed3 TabPanel: add reloadPanel method; react to setting content option 2012-06-16 10:07:52 +00:00
rlx
165bd0457a remove log statements 2012-06-16 10:06:59 +00:00
rlx
a87d193ac4 fix #847 (<i> tag in subtitle); test for before looping over it 2012-06-15 19:50:04 +00:00
j
2a58661c9a subtitles are html, fixes #845 2012-06-15 18:26:18 +02:00
j
e443888eba dont set widht to 0 for videos that are exactly one hour 2012-06-15 17:20:17 +02:00
rlx
94355eb792 typo 2012-06-15 13:29:06 +00:00
rlx
856ea3b1d3 enable timeline types 2012-06-15 13:20:07 +00:00
rolux
fbeb434e27 remove print statements 2012-06-15 11:47:18 +02:00
rolux
64c3d3457b update ColorInput, ColorPicker and Picker 2012-06-15 11:43:11 +02:00
rolux
41f061335f remove log statement 2012-06-15 11:42:40 +02:00
rolux
4b143de951 Ox.Checkbox: change default width from 'auto' to 16 if there is neither a label nor a title 2012-06-15 11:38:25 +02:00
rolux
c8cdcc92c0 minor cleanup 2012-06-15 11:32:27 +02:00
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
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