Commit graph

3088 commits

Author SHA1 Message Date
rlx
e2a42ab04e Ox -> Ox.UI 2014-09-26 14:18:11 +02:00
rlx
177693b3ce don't throw on place deselect (data is now null, not {}) 2014-09-26 13:20:48 +02:00
rlx
02da127698 don't invoke global event handlers if keyboard event and focused element is input 2014-09-26 12:56:22 +02:00
rlx
2aec28f105 use OxKeyboardFocus class for input-like elements 2014-09-26 12:24:34 +02:00
rlx
c69858ca2d Ox.Request: if data is in cache, don't fail if it gets removed before timeout 2014-09-26 11:57:50 +02:00
rlx
5424023903 keep parent and iframe from sending init messages indefinitely 2014-09-26 11:29:14 +02:00
rlx
4b84424869 Ox.List: use Ox.contains 2014-09-26 10:59:06 +02:00
rlx
cdf8aa8788 fix info list width calculation 2014-09-25 21:56:44 +02:00
rlx
1e845092c4 use jQuery to get .animate 2014-09-25 19:42:11 +02:00
rlx
ae8ee195a1 fix a bug in keyboard handler 2014-09-25 19:41:46 +02:00
rlx
f2141d792d move Ox. etc. into Core/UI.js, re-add some aliases 2014-09-25 19:41:23 +02:00
rlx
9db80ffb65 Ox.elements -> Ox. 2014-09-25 19:40:29 +02:00
rlx
0eeb4ab5e5 LoadingScreen -> UILoadingScreen 2014-09-25 19:14:05 +02:00
rlx
01f563b102 fix Ox.UI loader 2014-09-25 19:08:03 +02:00
rlx
61bb4b782e typo 2014-09-25 19:05:28 +02:00
rlx
3e6d20f6fd typo in docs 2014-09-25 19:03:13 +02:00
rlx
8e335ba4f6 Ox.elements -> Ox. 2014-09-25 18:47:29 +02:00
rlx
775aa607c8 Ox.UI -> Ox 2014-09-25 18:35:17 +02:00
rlx
eaaa8602e7 move Ox.Theme.getThemes and Ox.Theme.getThemeData into Ox.Theme; Ox.UI -> Ox 2014-09-25 18:33:02 +02:00
rlx
86bee39b51 update Ox.GarbageCollection: use .collect to collect; don't run immediately 2014-09-25 18:32:01 +02:00
rlx
86f1bad4eb Ox.parent -> Ox. 2014-09-25 18:30:49 +02:00
rlx
41bf6ac372 move Ox.UI utils into Core/UI.js 2014-09-25 18:28:49 +02:00
rlx
731f97e0f1 simplify Ox.UI loader 2014-09-25 18:28:13 +02:00
rlx
4ea696b451 Ox.UI.getImageURL -> Ox.getImageURL 2014-09-25 12:28:47 +02:00
rlx
1000cfe73e move functionality from Ox.UI.js to Core/UI.js 2014-09-25 12:28:29 +02:00
rlx
35e77e28ae add Core/UI.js 2014-09-25 12:28:03 +02:00
rlx
10415a6ae2 Ox.Bar: get rid of Ox.UI.getBarSize 2014-09-25 12:05:22 +02:00
rlx
6a5c380795 cosmetic changes; Ox.UI.isElement -> Ox.isOxElement 2014-09-25 12:04:50 +02:00
rlx
6efb08ab60 typo 2014-09-25 11:53:42 +02:00
rlx
0119a2d466 Ox.UI.symbols -> Ox.SYMBOLS 2014-09-25 11:50:41 +02:00
rlx
4a55b106de update Ox.SYMBOLS 2014-09-25 11:49:01 +02:00
rlx
1d0f0a08c1 fix keyboard handler 2014-09-24 22:45:34 +02:00
j
b665bb54d1 dont reset time to 0 on remove, fixes #1543 2014-09-24 22:32:08 +02:00
rlx
ac50af0509 fix keyboard handler 2014-09-24 22:28:56 +02:00
j
853a402a7a filter out elements no longer referenced in Ox.elements. dont set to Ox.Element, only pass on and oxid 2014-09-24 20:26:15 +02:00
rlx
d046574ac2 that..css -> that.css 2014-09-24 20:19:54 +02:00
rlx
590ba4c3f2 that. -> self. 2014-09-24 20:19:25 +02:00
rlx
ecdf80a31d that. -> self. 2014-09-24 20:18:58 +02:00
rlx
5013532d46 that. -> self. 2014-09-24 20:18:29 +02:00
rlx
f557733be6 that. -> self. 2014-09-24 20:17:57 +02:00
rlx
1520673ed3 that..find -> that.find 2014-09-24 20:17:33 +02:00
rlx
3334513b0a remove commented-out method 2014-09-24 20:17:05 +02:00
rlx
35920ee37d that..parent() -> that.parent() 2014-09-24 20:16:39 +02:00
rlx
f8336fc2c4 that.[0] -> that[0] 2014-09-24 20:15:55 +02:00
rlx
763f256e12 ..clone -> .clone 2014-09-24 20:14:57 +02:00
rlx
7dc53b7252 that..css -> that.css 2014-09-24 20:14:12 +02:00
rlx
f78fab8103 cosmetic changes 2014-09-24 18:39:30 +02:00
rlx
73cac6c4dc fix keyboard handling in case input has focus 2014-09-24 18:39:02 +02:00
rlx
3b8591c9a9 add documentation for Ox.parent, Ox.Event and Ox.Message 2014-09-24 13:58:16 +02:00
rlx
1cf1dea2f5 Ox.Element: more paranoid findElement; more documentation; catch a bug in removeElements that occurs when browsing items in oxjs documentation panel 2014-09-24 13:03:33 +02:00
rlx
8018ba499f Ox.Element: update documentation 2014-09-24 12:17:46 +02:00
rlx
02aeb4ea0c Ox.Element: update setElement; update and use findElements 2014-09-24 11:57:02 +02:00
rlx
0b5f8f9492 Ox.UI.elements -> Ox.elements 2014-09-24 10:26:51 +02:00
rlx
2d8d88b218 cosmetic changes 2014-09-24 00:33:54 +02:00
rlx
06dde25efe fix preventing defaults in keyboard handler 2014-09-24 00:33:49 +02:00
j
baeeff366e dont send messages if not an iframe 2014-09-24 00:00:00 +02:00
j
4a2751839f only send init if iframe has src 2014-09-23 23:58:53 +02:00
rlx
728d6b1b7e fix docs 2014-09-23 23:53:41 +02:00
rlx
f476bd47af Ox.UI: add 'loadCSS' load option 2014-09-23 23:15:35 +02:00
rlx
a312ed2021 remove Keyboard.js and Message.js 2014-09-23 21:21:03 +02:00
rlx
aedcb524b5 adapt Ox.Element 2014-09-23 21:16:25 +02:00
rlx
a90cc87234 new Focus handler 2014-09-23 21:13:07 +02:00
rlx
cc183b6198 unified Event/Keyboard/Message handler 2014-09-23 21:12:31 +02:00
rlx
4cf10359ef Ox.$: remove removeOxElement 2014-09-23 21:11:15 +02:00
rlx
8f5ff8c6ee use Ox.Element, not $, so that inner Ox.Elements get collected on remove; when emptying first page, collect Ox.Elements 2014-09-23 21:06:27 +02:00
rlx
2a6ea64eed fix #2489; use new focus controller method 2014-09-23 21:04:40 +02:00
rlx
06c21e0a46 VideoElement: patch removeElement, not remove 2014-09-23 21:03:32 +02:00
rlx
39d1b034ab Select: patch removeElement, not remove 2014-09-23 21:02:57 +02:00
rlx
71fdefcf9b MenuButton: patch removeElement, not remove 2014-09-23 21:02:27 +02:00
rlx
aa3a20bbc2 Menu: patch removeElement, not remove 2014-09-23 21:01:53 +02:00
rlx
ab6266f6fc in isOxElement, test data, not attr; more aliases 2014-09-23 21:00:21 +02:00
j
5f69fd35df faster timeline markers 2014-09-23 12:13:10 +02:00
rlx
be043b545b Ox.Element: remove removeElement 2014-09-22 17:38:37 +02:00
rlx
aef8e2b188 Ox.Element: fix onMouseWheel 2014-09-22 17:12:17 +02:00
rlx
fb77591a2b cosmetic changes 2014-09-22 17:10:43 +02:00
rlx
a8361bd3ac fix docs 2014-09-22 17:04:42 +02:00
rlx
ea4df1e482 remove Ox.JQueryElement 2014-09-22 16:57:12 +02:00
rlx
972ccbbfb8 prototypal Ox.Element 2014-09-22 16:56:54 +02:00
rlx
e4cb30724f GarbageCollection: use , not . 2014-09-22 16:25:43 +02:00
rlx
ac3b736e72 List: use on, not scroll; cosmetic changes 2014-09-22 16:24:11 +02:00
rlx
5314f6c73a TableList: use on, not scroll; use that, not that.; cosmetic changes 2014-09-22 16:23:21 +02:00
rlx
9eed905ff8 TreeList: cosmetic changes 2014-09-22 16:05:30 +02:00
rlx
498c5effa2 Ox.Menu: fix super binding, cosmetic changes 2014-09-22 16:03:25 +02:00
rlx
53e2126ec2 add Ox.elements alias for Ox. 2014-09-22 14:26:56 +02:00
rlx
0a6b2281b4 ListItem: that. -> that 2014-09-22 13:28:14 +02:00
rlx
36b7c15513 add fixme 2014-09-22 13:25:27 +02:00
rlx
1ac7499986 cosmetic changes 2014-09-22 13:23:42 +02:00
rlx
4a9400cbd9 IconList: that. -> self. 2014-09-22 13:20:52 +02:00
rlx
e7f9279a9d Picker: use Ox.$; use on click, not click 2014-09-22 13:18:28 +02:00
rlx
fe5dc99d26 FormPanel: use setElement 2014-09-22 13:17:35 +02:00
rlx
5e776eb6ae use Ox.$, not $ 2014-09-20 12:37:27 +02:00
rlx
f2bb021207 properly bind superRemove 2014-09-20 12:36:23 +02:00
rlx
930f9ab4e7 Ox.Tooltip: use html() or append(); test for arguments.length, not object; factor out setTitle; missing semicolon 2014-09-20 12:33:54 +02:00
rlx
7f83cd9495 make superRemove a bound function 2014-09-20 12:31:37 +02:00
rlx
2311db5aa0 missing 'px' 2014-09-20 12:31:05 +02:00
rlx
3e47fa538f make superRemove a bound function 2014-09-20 12:30:14 +02:00
rlx
94a32476c0 fix binding 2014-09-20 12:29:27 +02:00
rlx
aa1f45bef8 fix binding 2014-09-20 12:29:03 +02:00
rlx
1150a27a06 fix binding 2014-09-20 12:28:38 +02:00
rlx
70e7b5f18c fix Ox.makeArray for nodelists 2014-09-20 12:27:30 +02:00
rlx
aaa24bf309 add Ox.isNodeList 2014-09-20 12:27:04 +02:00
rolux
c106fa845e Ox.$: fix data and parent, add toggle 2014-09-22 15:55:29 +02:00
rolux
1899f470ee add Ox.isNodeList 2014-09-22 15:30:22 +02:00
rolux
55999d654c formatting 2014-09-22 14:34:44 +02:00
rolux
78c1b55d85 Ox.$: allow for passing nodelist as argument 2014-09-22 14:31:19 +02:00
rolux
c041263c79 add tests 2014-09-22 14:16:00 +02:00
rolux
5e4ac3492b missing args 2014-09-22 14:14:13 +02:00
rolux
66a4fcb9f9 Ox.$: various bugfixes and enhancements 2014-09-22 14:11:55 +02:00
rlx
ef127e1db4 FileInput: add update handler for 'label' option 2014-09-19 10:14:03 +02:00
rlx
f1120a825b allow for retrieving currently shown annotations from video annotation panel 2014-09-18 16:43:00 +02:00
rlx
ceca50ae59 add Ox.formatSRT 2014-09-18 16:42:19 +02:00
rlx
13a339d924 video annotations panel: only show selected subtitles track on timelines 2014-09-18 14:42:19 +02:00
rlx
916c194301 move import/export annotations to menu in annotations panel 2014-09-18 14:27:27 +02:00
rlx
dbd0db9b3f Ox.FileInput: add public clear method 2014-09-18 14:27:02 +02:00
rlx
619aa33d8d Ox.Dialog: add public methods to enable/disable close button 2014-09-18 14:26:08 +02:00
rlx
53a5a22fee MenuItem: correctly set OxDisabled class 2014-09-17 16:39:30 +02:00
rlx
77be06d73d FileInput: add label option, update CSS 2014-09-17 15:56:59 +02:00
rolux
22a229b3a8 fix CSS box-shadow for selected keyword in annotations 2014-09-17 13:18:12 +02:00
rolux
5fff5b6492 fix Ox.Element forEach 2014-09-16 17:05:37 +02:00
rolux
b90d6351b9 fix Firefox textarea CSS 2014-09-16 16:53:27 +02:00
j
7d4aee473e allow subtitles without tracks property 2014-09-16 13:07:55 +02:00
j
4bcb39e758 dont fail for subs without tracks 2014-09-13 23:59:55 +02:00
j
6a9b60ddca fix find 2014-09-13 15:59:44 +01:00
j
ab789fcfb4 disable unfinished Ox.Element forEach 2014-09-05 15:02:57 +02:00
rlx
028f19fd1c VideoAnnotationPanel: properly handle subtitles track change (fixes #2455) 2014-09-03 14:27:49 +02:00
rlx
5aaeda46c5 AnnotationPanel: handle case where removing languages leaves one previously disabled language (fixes #2454) 2014-09-03 13:23:19 +02:00
rlx
dd83182f22 fix links in documentation 2014-09-02 16:14:32 +02:00
rlx
28d8a0ddf0 Annotation Panel: on edit, update languages in menu 2014-09-02 16:12:55 +02:00
rlx
923a9ea706 add audio tracks submenu to timeline player 2014-09-02 14:09:34 +02:00
rlx
a04c0f2a1f add missing option/documentation 2014-09-02 14:09:12 +02:00
rolux
ce9aba28c7 typo 2014-09-02 13:35:13 +02:00
rolux
d3234ada74 add timeout 2014-09-02 13:32:40 +02:00
rolux
d5c2c7cc56 fix SplitPanel CSS regression 2014-09-02 13:23:06 +02:00
rolux
e582ee5fac fix typeOf(window) for recent version of Firefox 2014-09-02 13:21:55 +02:00
rolux
2bc7b80f0d Ox.$: support forEach over jQuery-wrapped elements 2014-08-27 12:15:34 +02:00
rolux
f524e612c7 typos in Ox.$ 2014-08-27 12:06:54 +02:00
rolux
a99ab2429e cosmetic changes 2014-08-22 18:29:15 +02:00
j
706e6d4a01 some are more than any 2014-08-27 12:04:03 +02:00
j
83f02ee417 temp fix to appendTo to load in firefox 2014-08-23 16:26:08 +02:00
j
aaf76e0a52 dont run unfinished code 2014-08-22 20:14:28 +02:00
rolux
69933ce94c typos 2014-08-21 17:55:42 +02:00
rolux
e18310fe53 temporarily disable removal of OxElements 2014-08-21 17:42:11 +02:00
rolux
62d96cd822 typo 2014-08-21 17:38:58 +02:00
rolux
6a7b2fa7d7 Make Ox.$ work with more than one element 2014-08-21 17:23:33 +02:00
rolux
d05b5ce811 OxElement: add empty forEach and removeElement methods 2014-08-21 17:13:05 +02:00
rolux
8e19b6f29b add aliases (Ox., Ox.getOxElement, Ox.isOxElement) 2014-08-21 17:11:33 +02:00
rolux
cd52a29fda remove fixme (a function's length property is no longer writable) 2014-08-21 15:52:35 +02:00
rolux
dd7f0571a9 make Ox.unique work for nodelists 2014-08-21 15:51:30 +02:00
rolux
64226b9a37 add Ox..is() 2014-08-21 13:05:41 +02:00
rolux
d030b8d764 Ox.values: make sure that for nodelists, this returns an array, not a nodelist; Ox.contains: make sure this works for nodelists too 2014-08-21 13:05:27 +02:00
rolux
835c4c92b7 new SplitPanel implementation 2014-08-21 12:14:30 +02:00
rolux
9001a45aa1 typo in docs 2014-08-21 11:55:52 +02:00
rolux
3ffe22ec0c Ox.isEmpty: add test for empty nodelists 2014-08-19 13:51:50 +02:00
rolux
c083516fad faster Ox.some 2014-08-19 13:51:29 +02:00
rolux
1b90cc6ac8 fix semicolons 2014-08-19 10:19:59 +02:00
rolux
4fbfc139b4 don't redeclare vars; fix semicolons 2014-08-19 10:18:56 +02:00
rolux
9f2dc33124 cosmetic changes; fix semicolons 2014-08-19 10:18:49 +02:00
rolux
e56333523b update Ox.AudioPlayer + CSS 2014-08-19 10:18:35 +02:00
rolux
3c71cc7a26 fix Ox..text() 2014-08-18 19:10:25 +02:00
rolux
b10d454d2c add Ox.zipObject 2014-08-18 19:09:41 +02:00
rolux
f01456e475 make sure getDaysInMonth doesn't fail if DST changes between months 2014-08-16 09:07:42 +02:00
rolux
4afdb71581 fix Ox..text() 2014-08-16 09:05:39 +02:00
rolux
41c43332c2 remove reference to jQuery in Ox.makeDate 2014-08-05 02:28:12 +02:00
rolux
00b2bafbbd fix missing argument in Ox..text() 2014-08-05 02:27:34 +02:00
j
78e285bb12 support audioTrack in VideoTimelinePanel 2014-07-24 19:47:00 +02:00
rlx
00e6367ca9 video widgets: add support for multiple audio and subtitles tracks (first pass) 2014-07-24 19:14:34 +02:00
rlx
7d7620601c update video player menu css 2014-07-24 19:07:18 +02:00
rlx
da7900abac add video player menu widget 2014-07-24 16:03:02 +02:00
rolux
c7e59c1f5a audio player: handle audio option update; cosmetic changes 2014-07-24 11:28:01 +02:00
rolux
a4849859d6 column list: trigger open event 2014-07-24 11:10:46 +02:00
rolux
b133719680 typo 2014-07-23 16:01:13 +02:00
rolux
07fdb094dd support audio and subtitle tracks (multiple languages etc), first round 2014-07-23 15:55:09 +02:00
rolux
0f6d70766f add language codes and names 2014-07-23 15:54:24 +02:00
rolux
28f221ef47 hotfix clear button css issue 2014-06-06 15:38:15 +03:00
rolux
36e4919138 Video Annotation Panel: Add 'Link to Selection' option 2014-06-06 14:10:06 +03:00
rolux
f03393f1c7 remove print statement 2014-05-26 13:17:19 +02:00
rolux
7ca27cf898 fix collapse panel CSS (don't swallow long titles) 2014-05-24 16:30:49 +02:00
rolux
767a3133b7 add Ox.trace (name still TBD): print with stack trace 2014-05-24 16:30:20 +02:00
rolux
97233d417d make bottom menus right-aligned if they wouldn't fit the window when left-aligned 2014-05-24 16:16:08 +02:00
rolux
af345b3514 Ox.Filter: make new conditions have same key and operator as previous condition; focus input 2014-05-20 01:31:33 +02:00
rolux
17120e6aec Ox.Filter: fix value reset on clicking (+) or (-), fix default value for item type 2014-05-19 01:22:41 +02:00
rolux
c593955e8c filter: add 'item' type (select), fix sizes 2014-05-18 02:46:03 +02:00
rolux
8c4e7fbe84 select input: fix size, keep input value around 2014-05-18 02:45:34 +02:00
rolux
c88ce78e32 menu button: handle items update 2014-05-18 02:42:41 +02:00
rolux
0f1fb7b154 remove unused var 2014-05-18 02:42:19 +02:00
j
c13dde17f2 fix slide panel 2014-05-17 17:32:59 +02:00
rolux
2fbc59e713 fix ticket #239 (Ox.Menu / Ox.MainMenu: setKeyboard / setItemKeyboard options are missing) 2014-05-13 01:47:09 +02:00
rolux
56468a9208 Ox.Fullscreen: allow passing an element to enter method, document.body remains default 2014-05-12 02:45:50 +02:00
rolux
b18c84a4ce IconList: add missing openPreview method 2014-05-12 02:45:04 +02:00
rolux
9986aff802 SlidePanel: update content div when setting size 2014-05-11 16:39:54 +02:00
rolux
6c1273f03a app socket: don't reconnect on error 2014-05-11 16:39:20 +02:00
rolux
75d53afed5 update CSS (CollapsePanel, SlidePanel) 2014-05-10 15:11:59 +02:00
rolux
33eff9f46d IconList: add support for icon extra (overlay) 2014-05-10 15:11:31 +02:00
rolux
6682aa9999 Input: support 'squared' style 2014-05-10 15:10:54 +02:00
rolux
c11e279803 CollapsePanel: add support for left-hand side extras 2014-05-10 15:10:27 +02:00
rolux
d31ba7a28e off by one 2014-05-10 15:09:38 +02:00
rolux
ac059ba618 main menu: handle titles that are images 2014-05-08 13:34:28 +02:00
rolux
7f410b6048 Ox.App: add web socket option 2014-05-10 15:08:08 +02:00
rolux
b7cf611b4a add 'squared' (less rounded) style 2014-05-06 00:13:25 +02:00
rolux
edc80d8bbc update ColumnList 2014-05-06 00:12:55 +02:00