Commit graph

2649 commits

Author SHA1 Message Date
rolux
d660edbe2b Ox.load: clean up documentation and properly document the optional first argument (pass true to switch from dev to build) 2013-12-04 17:23:00 +01:00
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
rlx
d05b12208a Ox.TableList: add 'droppable' option (that guarantees cells are Ox.Elements, and thus receive drop events) 2013-08-02 09:21:37 +00:00
rlx
074ee0410e video player: add go to poster frame keyboard shortcut 2013-08-01 13:11:00 +00:00
rolux
20ac4c7ff4 + update 'Macedonia' 2013-08-01 14:06:15 +02:00
rolux
d2babe94af fix 'The Netherlands' too 2013-08-01 13:55:59 +02:00
rolux
a6a421faa7 fix for google returning 'Republic of Indonesia' 2013-08-01 13:53:59 +02:00
rlx
f8a91e90ca collapse panel: gain focus on toggle button click 2013-08-01 11:32:58 +00:00
rlx
3e78580c91 collapse panel: add expand/collapse keyboard shortcuts 2013-08-01 11:28:14 +00:00
rlx
e5e8412c3a main menu: add public isSelected method 2013-08-01 10:33:35 +00:00
rlx
a0c9111f3b move menu extra style into css 2013-08-01 10:26:09 +00:00
rlx
4a635c4038 fix video player on-screen find css 2013-08-01 09:04:16 +00:00
rlx
df1bb73364 fix Ox.parseDuration for cases where duration includes days 2013-08-01 08:55:14 +00:00
rlx
687158c3fa remove print statement 2013-08-01 08:43:42 +00:00
rlx
ead18f3e0e minor cleanup 2013-08-01 08:42:14 +00:00
rlx
3b2c8a40b1 video player panel: handle cuts and loop, add play-in-to-out, add missing keyboard shortcuts 2013-08-01 08:41:43 +00:00
rlx
4eab471f9d video player: add keyboard shortcut and public method for loop, abort play-in-to-out on pause, minor cleanup 2013-08-01 08:39:20 +00:00
rlx
f7cbbb689f fix PNG filename 2013-07-30 16:26:05 +00:00
rlx
85f513af45 + additional system icons 2013-07-29 16:31:28 +00:00
rlx
dba5f268ea update loading icon 2013-07-29 10:49:48 +00:00
rlx
77319eb44f loading icon: stop animation before beginning new animation, add callback functions to start and stop, rotate back to 0 deg when stopped 2013-07-29 09:46:52 +00:00
rlx
7a20c4ca05 SplitPanel: don't toggle again while toggle animation is running 2013-07-28 23:33:12 +00:00
j
34894f8d29 add first version of arabic locale 2013-07-28 17:37:17 +02:00
rlx
9fbafd2039 Ox.Request: Only invoke callback or trigger error event for requests that have not been cancelled 2013-07-28 11:53:21 +00:00
rolux
f8da7fa1fb refactor request handling 2013-07-28 01:07:42 +02:00
rolux
e7415059f0 formatDuration: use Math.abs(seconds) 2013-07-24 16:04:59 +02:00
j
db321b583b only load one video element for videos with one part 2013-07-22 21:46:43 +00:00
rlx
e2be60c762 fix Ox.formatString 2013-07-22 17:49:50 +00:00
rlx
dc0c504809 don't close menu on enter, but submit input on enter in autocompletemenu if no menu item was selected 2013-07-22 12:58:07 +00:00
rlx
256c0cfa0d CSS: set body {cursor: default} 2013-07-22 08:54:59 +00:00
rlx
82638e1d45 OxCalendar: fix localized centuries/millennia 2013-07-22 08:39:11 +00:00
rlx
ba1a0d5ebc CSS: revert back to not setting {cursor: default} for all divs 2013-07-22 08:28:19 +00:00
rlx
b1ee9bcc06 fix table list css when dragging columns 2013-07-22 08:23:50 +00:00
rlx
ce579b8f3f table list columns: add 'addable' property (defaults to true, like removable) 2013-07-20 07:57:13 +00:00
rlx
8c6803dc0e {cursor: text} only for user-selectable elements 2013-07-19 09:31:09 +00:00
rlx
564ce69a78 exclusively handle selectability of text via .OxSelectable and body.OxDragging (to be set/unset in dragstart/dragend handlers) 2013-07-19 08:42:25 +00:00
rlx
f8816e7522 video player: update previous/next buttons 2013-07-18 14:40:43 +00:00
rlx
594a42fb11 video edit panel: don't set position when selecting clip 2013-07-18 14:07:46 +00:00
rlx
eaa23ca4c8 video edit panel: don't set in and out when selecting clip 2013-07-18 13:58:49 +00:00
rlx
196cb0f45f video edit panel: allow for clip selection via keyboard shortcuts 2013-07-18 13:56:50 +00:00
rlx
174aa87e9f cosmetic changes 2013-07-18 13:55:57 +00:00
rlx
87a7a9b5be typo 2013-07-18 13:22:13 +00:00
rlx
fe6f61f0ee video edit panel: update wording in menu, remove print statement 2013-07-18 13:14:28 +00:00
rlx
36c2314b16 video player: don't show loading icon if player has no video 2013-07-18 13:11:06 +00:00
rlx
25930a5d14 video editor: use Ox.nextValue 2013-07-18 12:56:19 +00:00
rlx
8f9473fa92 video edit panel: handle cuts, add more keyboard shortcuts 2013-07-18 12:55:42 +00:00
rlx
86b741f552 unify goToNext methods, add keyboard shortcuts for previous/next chapter 2013-07-18 12:54:14 +00:00
rlx
c4d2bb7a3d add Ox.nextValue 2013-07-18 12:52:47 +00:00
rlx
a4ab0c1eb3 video edit panel: fix view event, make icon list draggable, show milliseconds in player 2013-07-18 09:57:51 +00:00
j
54f665e39f add UI strings to locate.de.json 2013-07-17 10:20:24 +00:00
j
aa6d2de64b fix some locale strings 2013-07-17 10:19:57 +00:00