Commit graph

2598 commits

Author SHA1 Message Date
rolux
4d5291c340 clean up Ox.PATH 2013-12-04 17:21:27 +01:00
rolux
10a5481d47 remove comment 2013-12-04 17:04:40 +01:00
rolux
ca388e9adc Ox.getFile: refactor, fix IE css/js onload, handle errors, don't always append ?random in dev version; add Ox.getImage, Ox.getScript and Ox.getStylesheet (extension check is unreliable, google api js doesn't end in '.js', '...#.js' is ugly) 2013-12-04 16:59:51 +01:00
rolux
9554d22fa8 Ox.Async: fix return value 2013-12-04 16:49:42 +01:00
rolux
6e5105025c in Ox.values, handle nodelists (so that Ox.some(nodelist, test) doesn't fail) 2013-12-04 12:59:29 +01:00
rolux
4471a8657f Refactor Polyfill.js, use Object.defineProperty if available 2013-12-04 09:47:35 +01:00
rolux
828e814812 add Ox.codePointAt and Ox.fromCodePoint 2013-12-04 09:46:16 +01:00
rolux
779463072d make Ox.hypot n-ary 2013-12-03 20:57:00 +01:00
rolux
05f8ed7a48 add missing typecheck in Ox.polyfill.trim 2013-12-03 18:14:59 +01:00
rolux
4d1fbb8533 cosmetic changes 2013-12-03 18:14:36 +01:00
rolux
73b04f384a don't return undefined from non-iframe element postMessage method 2013-12-03 18:14:11 +01:00
rolux
ead592d063 Ox.Element: on mousedown, unconditionally trigger mousedown 2013-12-01 15:41:51 +01:00
rolux
031aa4367b Ox.toArray -> Ox.slice 2013-12-01 14:57:52 +01:00
rolux
3a28b08d46 Ox.InfoList: make value method accept (id, {key: value}) 2013-12-01 14:55:57 +01:00
rolux
9d189c55da Ox.IconList: make value method accept (id, {key: value}) 2013-12-01 14:55:37 +01:00
rolux
5001a47cf8 Ox.TableList: make value method accept (id, {key: value}) 2013-12-01 14:55:10 +01:00
rolux
a5baff8319 Ox.List: make value method accept (id, {key: value}) 2013-12-01 14:54:42 +01:00
rolux
41af852f17 fix Ox.PATH 2013-12-01 13:24:59 +01:00
rolux
acbc0f4e59 Ox.cache: don't use Ox.extend before it's available 2013-12-01 13:24:37 +01:00
rolux
adea34c84e Ox.cache: extend options only once 2013-12-01 13:12:07 +01:00
rolux
fe40220d0b remove comment 2013-12-01 13:10:44 +01:00
rolux
3619316f78 Ox.PATH: remove onload dependency on Ox.slice 2013-12-01 13:10:00 +01:00
rolux
137124a903 modify comment for Ox.slice, use Ox.slice 2013-12-01 13:08:25 +01:00
rolux
ab3711cfad added comment 2013-11-30 19:40:48 +01:00
rolux
16b6811b75 request methods: don't throw if no callback is passed 2013-11-30 19:40:27 +01:00
rolux
2fd1892890 Ox.$: fix append and prepend 2013-11-29 22:19:01 +01:00
rolux
77594f0046 catch() requires argument 2013-11-29 21:21:38 +01:00
rolux
d0aee8c737 Ox.$: add children, find, insertAfter, insertBefore, next, nextAll, parent, parents, prepend, prependTo, prev, and prevAll, fix attr and one 2013-11-29 21:19:09 +01:00
rolux
84bfd1222e add comment; remove separate Ox.toArray 2013-11-29 21:15:36 +01:00
rolux
d9b25c6fae add missing semicolon; make Ox.toArray an alias of Ox.slice, and handle the IE NodeLists case 2013-11-29 21:15:02 +01:00
rolux
5eb1b96e4a add comment; fix Ox.extend if called with two arguments, add test 2013-11-29 21:13:04 +01:00
rolux
3ad31125b3 add missing semicolon; less expensive Ox.print, with updated documentation; make sure Ox.uid never returns falsy ids 2013-11-29 21:11:36 +01:00
rolux
420dd7f266 add Ox.time 2013-11-29 21:09:33 +01:00
rolux
ef07c50fff update documentation 2013-11-29 21:09:10 +01:00
rolux
aff40b0154 cosmetic changes 2013-11-29 21:07:37 +01:00
rolux
37dfe0fc86 added comment 2013-11-29 21:07:03 +01:00
rolux
1f926c83ea Ox.ImageElement: handle image error, use new LoadingScreen (start/stop) 2013-11-20 09:11:53 +01:00
rolux
94a18a2711 update LoadingScreen CSS (text not visible on load) 2013-11-20 09:11:10 +01:00
rolux
3429ac3319 Ox.LoadingScreen: use proper LoadingIcon, add start and stop methods 2013-11-20 09:10:37 +01:00
rolux
e1134f2f4c fix Ox.queue cancel + clear 2013-11-20 00:55:08 +01:00
rolux
29950d2a10 fix a bug where events would appear twice on a DocPage 2013-11-16 20:46:57 +01:00
rolux
13246cc15b Ox.Range: add 'arrowTooltips' option 2013-11-16 20:27:19 +01:00
rolux
3005d4a4aa cosmetic changes 2013-11-16 16:16:04 +01:00
rolux
eb4808d4c1 Ox.queue: add 'cancel' and 'reset' (=cancel+clear) methods 2013-11-16 16:13:41 +01:00
rolux
7bd38b3bb9 fix typo in 'widget design patterns' example; cosmetic changes 2013-11-16 02:37:28 +01:00
rolux
5b492db461 Ox.Label: don't fail if title is undefined 2013-11-16 00:23:23 +01:00
rolux
3cbacd85ff cosmetic changes 2013-11-11 14:17:39 +01:00
rolux
85ef28078b update Ox.encodeEmailAddress 2013-11-11 14:17:09 +01:00
j
fda5c7eaa2 string spans can contain spaces, encode in url 2013-11-11 09:20:04 +00:00
j
fee4339d11 rewrite sanitizeHTML to support global attributes 2013-11-10 21:59:36 +00:00
rolux
5f807a3ad4 fix #1925 (large timeline not functional) 2013-11-08 20:26:41 +01:00
rlx
70f3b8f965 fix #1925 (large timeline not functional) 2013-11-08 19:16:08 +00:00
rolux
25a5b9d712 cosmetic changes 2013-11-08 18:56:29 +01:00
rlx
00bbbd6af9 Ox.URL: allow for 'string' as a span type 2013-11-08 17:26:54 +00:00
j
aa178fc551 fix player size leaving fullscreen 2013-11-04 15:44:27 +00:00
rolux
44b7e5796f fix checkbox group value change handler 2013-10-31 14:20:49 +01:00
rolux
397dc8b903 cosmetic changes 2013-10-31 14:15:50 +01:00
rolux
b043cca751 fix form panel layout bug 2013-10-31 13:50:59 +01:00
rolux
2c595008fd Ox.CheckboxGroup: handle value change 2013-10-31 13:47:12 +01:00
rolux
c9bbdec039 Ox.FormPanel: add listSize option 2013-10-31 13:46:51 +01:00
rolux
92566171e8 Ox.Progressbar: allow for setting progress to indeterminate 2013-10-29 14:35:00 +01:00
rolux
2fc8c3094d Ox.queue: add clear method, cleanup documentation 2013-10-29 14:34:15 +01:00
j
19ae3c591a get rid of black background in chrome fullscreen mode; dont update url in fullscreen mode, fixes #1910 2013-10-25 13:49:14 +00:00
j
42fa5a7a3c minify does not like comments without comment 2013-10-25 12:38:11 +00:00
j
e6eb5ea1c7 allow iframes 2013-10-24 16:39:26 +00:00
rlx
0873d27f92 fix #1891 (update subtitles on edit) 2013-10-22 17:43:38 +00:00
rolux
cd5b1ac367 update timeline overlay, too 2013-10-22 17:58:47 +02:00
rolux
3a17fcfe62 video annotation panel: update subtitles on edit / remove 2013-10-22 17:48:29 +02:00
rolux
e533af5cff video player: support subtitles options update 2013-10-22 17:37:58 +02:00
rolux
c7b03030bd rename video panels 2013-10-22 16:45:17 +02:00
rolux
24e6330265 remove unused widget 2013-10-22 16:40:45 +02:00
j
768d4fe160 dont seek to end of file after playInToOut in editor view, fixes #1858 2013-10-07 20:46:12 +00:00
j
ab765a6f70 add that.options getsetter to Ox.URL 2013-10-07 19:16:23 +00:00
j
961a3c0850 keep cursor if not collapseToEnd 2013-09-30 09:40:47 +00:00
j
a9a804887a better newline matching 2013-09-27 14:29:34 +00:00
j
dab68de1f0 Fix pasting html into EditableContent 2013-09-27 14:17:16 +00:00
j
2189301b3c Linewrapping in Firefox, fixes #1892 2013-09-27 14:16:53 +00:00
j
1246beb4da make collapseToEnd optional 2013-09-26 21:35:28 +00:00
j
6e6da8e000 paste text/plain instead of html in Ox.EditableContent 2013-09-26 21:35:05 +00:00
j
bc792641e6 images in Ox.EditableContent should ont overflow 2013-09-20 11:38:38 +00:00
j
e1d71b27bc only force reload in debug mode, use version otherwise 2013-09-05 11:09:30 +00:00
rlx
c7e25dc528 Ox.URL: encode/decode '<' and '>' (fixes #1837) 2013-08-27 15:12:19 +00:00
rlx
0c60ca25da Ox.URL: fix a bug when decoding multiple tabs in url 2013-08-27 15:02:23 +00:00
rlx
a0dc7500ca Ox.Request: add cache option 2013-08-27 14:26:52 +00:00
rlx
e93b196e67 player/timeline: differentiate between drag (positioning event) and dragend (position event), fixes #1657 2013-08-27 11:38:01 +00:00
rlx
a9c60fe05f cancel autocomplete on submit, cancel autocomplete callback if new autocomplete is running 2013-08-27 10:38:30 +00:00
rlx
f16bbebfd4 fix a bug in Ox.decodeURI/Ox.decodeURIComponent 2013-08-27 09:07:17 +00:00
rlx
0f5d475c78 fix a bug in Ox.decodeUTF8; move Ox.decodeURI/Ox.decodeURIComponent to encoding module 2013-08-27 08:56:07 +00:00
j
0c76680864 add more html5 tags, fixes #1444 2013-08-27 08:52:22 +00:00
rlx
7693079b8c Ox.decodeURI/Ox.decodeURIComponent: replace all '%' with '%25' that are not part of valid UTF8 sequence (fixes #1841) 2013-08-26 23:18:05 +00:00
rlx
4c390cc236 cosmetic changes 2013-08-26 17:15:56 +00:00
rlx
9c0cc7fb40 cosmetic changes 2013-08-26 17:15:12 +00:00
rlx
ed127b0259 make sure queries that both start and end with '*' are not interpreted as starts/ends with 2013-08-26 17:09:50 +00:00
rlx
0378c58d26 fix #1836 (don't translate /* to /$)' 2013-08-26 17:03:38 +00:00
rlx
3c45a928c3 fix #1835 (in URLs, encode # in edit/text name or query) 2013-08-26 16:47:21 +00:00
rlx
d524d16508 fix #1830 (in URLs, encode slashes in edit/text titles) 2013-08-26 15:32:03 +00:00
rlx
c1cf48852b fix #1820 ('foo (bar)' query becomes 'foo (0)') 2013-08-26 15:21:02 +00:00
rolux
3c0e7e7bf5 Geo module: add Ox.splitGeoname method 2013-08-18 12:01:20 +02:00
rolux
6937155dfc remove unused var 2013-08-18 12:00:57 +02:00
j
610720254d also replace %20 in item id in url 2013-08-17 15:48:01 +02:00
rlx
c5a8d7a79e Ox.decodeURI/Ox.decodeURIComponent: handle multi-byte escapes 2013-08-14 20:00:14 +00:00
rlx
b0280295d2 _do_ encode '%' in values (to allow searching for the literal string '%5F') 2013-08-14 19:32:29 +00:00
rlx
5afbd57823 Ox.URL: encode ' ' as '_' and '_' as '%09' (tab) 2013-08-14 19:26:14 +00:00
rlx
08256a078f revert r2999 (no need to encode '%' if we can properly decode it) 2013-08-14 19:03:40 +00:00
rlx
51215c1cbe add and use Ox.decodeURI and Ox.decodeURIComponent 2013-08-14 18:53:13 +00:00
j
7576654e0d escape % in urls, fixes #1817 2013-08-14 18:31:50 +00:00
rlx
6d823bd7aa typo 2013-08-12 12:31:13 +00:00
rlx
310b43df5e edit panel / clip panel: add 'selectAll' and 'invertSelection' methods 2013-08-12 10:34:46 +00:00
rlx
2fb2876fd2 Ox.Input: add 'clearTooltip' option 2013-08-11 09:50:43 +00:00
rlx
0a5ae83f35 fix table cell input css 2013-08-11 08:28:03 +00:00
rlx
a2f6e18900 table list: when editing cell, make next click blur, but not cause new click or edit 2013-08-11 08:22:29 +00:00
rlx
24adbd3894 don't update table list cell value while editing cell 2013-08-11 08:10:26 +00:00
rlx
607106ac67 clip panel: handle 'selected' 2013-08-11 07:44:35 +00:00
rlx
026574c43f fix a bug in join clips 2013-08-10 11:22:38 +00:00
rlx
5f06d88238 split panel: implement join 2013-08-10 11:09:12 +00:00
j
ef03d9ada9 fix json 2013-08-09 23:58:04 +00:00
rlx
3187d70972 don't set icon list container overflow-y to hidden when filling first page, finally fixes #538 (scrollbars disappear on search results view) 2013-08-09 20:56:05 +00:00
j
edf1e01903 update locale.ar.json 2013-08-09 21:16:42 +02:00
rlx
951e658003 don't clone items passed to list (fixes update) 2013-08-09 18:38:47 +00:00
rlx
af3bcc67dd clip panel: change wording, update formatting, check values on submit 2013-08-09 16:05:52 +00:00
rlx
9f64f3e064 clip panel: implement split 2013-08-09 12:52:18 +00:00
rlx
288086bcfd video edit panel: pass split and join events, update self.options.clips on that.updateClip 2013-08-09 12:50:52 +00:00
rlx
e3be29e6ef update video preview tooltip css 2013-08-08 13:51:48 +00:00
rlx
f9d7b30021 update user symbol 2013-08-08 13:39:00 +00:00
j
6548cf6841 add -ms css prefix, move declaration without prefix to end 2013-08-08 14:21:44 +02:00
rlx
4b0b11e3d4 tree list: encode html entities 2013-08-07 10:27:10 +00:00
rlx
0d40620a68 video timeline panel: set self.options.paused on paused event 2013-08-07 09:59:47 +00:00
rlx
b095385d14 remove Ox.ListPage 2013-08-07 07:45:12 +00:00
rlx
8202aaa6e1 clipboard: fix paste event; dont pass data with events 2013-08-06 19:55:15 +00:00
rlx
99672fc039 make sure history state is correct when triggering events 2013-08-06 19:07:09 +00:00
rlx
bcb7e3f720 fix clipboard unbind; add history events 2013-08-06 18:59:15 +00:00
rlx
da7b637948 large timeline: use ints in subtitle css 2013-08-06 18:18:08 +00:00
rlx
709e8d2474 video player panel: fix in/out/annotation select 2013-08-06 10:49:54 +00:00
rlx
fcaa9ab755 video editor panel: handle loop, update menu 2013-08-06 09:56:50 +00:00
rlx
cbd2143714 video player panel: react to loop update 2013-08-06 09:56:00 +00:00
rlx
95a9a6274e fix positioning of icon items in lists 2013-08-05 22:02:16 +00:00
rlx
81be40b7a1 cosmetic changes 2013-08-05 22:01:32 +00:00
rlx
a082d10b03 cosmetic changes 2013-08-04 09:45:20 +00:00
rlx
09a114230a allow for multiple Ox.Clipboards (more like Ox.History) 2013-08-03 15:01:16 +00:00
rlx
66ee836c13 fix control_x handler in Ox.List 2013-08-03 14:47:25 +00:00
rlx
31d54403fb add Ox.History 2013-08-03 13:58:36 +00:00
rlx
20137da742 trigger cut and cutadd events (consumer of list events may want to differentiate between cut and delete) 2013-08-03 13:57:55 +00:00
rlx
989cb2c945 pass cut and cutadd events, remove event -> delete event 2013-08-03 13:57:03 +00:00
rlx
ee40d049dc trigger delete event, not remove event (more in line with clipboard and history) 2013-08-03 13:56:27 +00:00
rlx
e3abfd2702 Ox.Clipboard: enforce uniqueness of items on add 2013-08-02 19:13:36 +00:00
rlx
e6541b2b32 Ox.Clipboard: ignore copy/add in case zero items get passed 2013-08-02 16:41:08 +00:00
rlx
8273b8654a Ox.Clipboard: allow for copying/adding a single item (not wrapped in array) 2013-08-02 15:03:20 +00:00
rlx
1fc0a0191b Lists: add public 'selectAll' and 'invertSelection' methods 2013-08-02 12:23:43 +00:00
rlx
43502c42a1 Ox.Clipboard: add public 'items' method (returns number of items) 2013-08-02 12:23:15 +00:00
rlx
2435dd2804 add CSS color for cell borders of drop targets 2013-08-02 09:22:19 +00:00