Commit graph

2764 commits

Author SHA1 Message Date
rolux
ca22ed9c8a update comment 2014-02-02 13:18:09 +00:00
rolux
382f9fce79 change semantics of shift+arrow in one-dimensional lists to always mean 'move cursor' (like in grid lists); make shift+click on selected item move that item to the first position in the selection 2014-02-02 13:15:09 +00:00
rolux
e069f11c9a Lists: make most recently selected item selected[0]; add selectSelected method to change this item from outside 2014-02-02 12:34:12 +00:00
j
120a9eda41 Create tooltip only on mouseenter 2014-02-02 11:05:41 +00:00
j
37d9424ec8 only call date function if needed in Ox.formatDate 2014-02-02 08:59:45 +00:00
rolux
2077ea718a add Ox.once, fix docs 2014-02-02 02:19:19 +05:30
rolux
5a615730e9 cosmetic changes 2014-02-02 02:05:48 +05:30
j
cb6644e08d fix AnnotationFolder placeholder 2014-02-02 01:43:55 +05:30
j
d039d0c781 use Ox.debounce to fix instant list selection, fixes #2142 2014-02-02 01:17:20 +05:30
j
92a122eb0a add Ox.throttle and Ox.debounce 2014-02-02 01:15:17 +05:30
j
0df1056d3f make AnnotatoinFolder slightly async #2125 2014-02-01 15:09:05 +05:30
j
e3d8b5d3b0 make Ox.getVideoInfo more reliable on Chrome 2014-01-28 16:27:38 +05:30
j
3f4e8764f6 annotations size 2014-01-22 18:42:28 +00:00
j
d5eaed5a63 remove debug 2014-01-22 18:23:50 +00:00
j
eac549224e add annotations view to edits 2014-01-22 18:22:12 +00:00
j
e3919a72ed fix updating layers option of AnnotationPanel 2014-01-22 13:44:20 +00:00
j
d8221192d9 use timestamp if directly loading dev 2014-01-22 10:19:03 +00:00
j
2b2e8c8ef2 load Ox.js debug version with ?version 2014-01-22 10:15:29 +00:00
rolux
9a67924916 add fixme 2014-01-19 13:58:55 +05:30
rolux
1fca66f54f no iframes or images with mailto: src 2014-01-19 12:43:21 +05:30
rolux
b06386a00b cleanup sanitizeHTML 2014-01-19 12:39:53 +05:30
rolux
89f5329c8b remove reference to window.pandora in annotation panel 2014-01-19 12:04:03 +05:30
rolux
da24434260 in video panels, use self.options.itemName 2014-01-19 11:58:59 +05:30
rolux
b51dba0692 fix a bug in Ox.URL 2014-01-18 09:20:53 +00:00
rolux
86e80a2229 grid lists: support even wider lists 2014-01-18 02:23:45 +00:00
rolux
761ff5974a grid lists: more items per page for wider lists 2014-01-18 02:20:17 +00:00
rolux
836ef93e21 theme css: add 'inputDisabledColor' 2014-01-18 01:35:45 +00:00
rolux
1f51ba8589 cosmetic changes 2014-01-18 01:35:21 +00:00
rolux
7be141ce60 cosmetic changes 2014-01-18 01:34:48 +00:00
rolux
70dda8264c move add annotation entries from options menu to edit menu 2014-01-17 15:10:02 +00:00
rolux
e4b0b306b2 add 'add annotation' entries to annotation panel menu 2014-01-17 14:53:34 +00:00
j
819f803c02 trigger exportannotations 2014-01-17 13:51:44 +00:00
rolux
db05e4b403 ImageViewer: show overview only when needed (part 2, better animation) 2014-01-17 13:48:19 +00:00
rolux
c29e0c0eaf ImageViewer: show overview only when needed 2014-01-17 13:31:51 +00:00
rolux
bd46effadf fix errors when resizing item panel in map/calendar editor 2014-01-17 12:14:44 +00:00
rolux
63f06c984d video player panel: fix go to in/out 2014-01-17 11:37:27 +00:00
rolux
1ae98892cf fix 1 more typo in SplitPanel 2014-01-17 11:23:22 +00:00
rolux
2666b13ec1 fix 2 typos in SplitPanel 2014-01-17 11:17:27 +00:00
rolux
4372676f1f video annotation panel: submit on shift+enter if editor has focus 2014-01-17 09:34:21 +00:00
rolux
5119a15173 Ox.URL: format pos,in,out as in,out if pos equals in 2014-01-17 12:50:29 +05:30
j
a919b43c2e fix setting value of Ox.EditableContent while not editing 2014-01-16 14:07:36 +00:00
j
6dc3e96ff1 set cut marker image on all images at once, to improve load performance 2014-01-16 09:24:24 +00:00
rolux
3d33a16668 fix Ox.formatDimensions 2014-01-16 07:55:14 +00:00
rolux
e48b1226f4 fix typo in docs 2014-01-16 13:18:29 +05:30
rolux
32d32d218e menu: 'side' -> 'edge' 2014-01-16 12:37:21 +05:30
rolux
f3d5a739a3 fix CSS for selected and disabled file upload menu entries; update example 2014-01-16 05:33:17 +00:00
rolux
1ab4634fa1 In MenuItem, use $, not Ox.$ 2014-01-16 05:15:01 +00:00
rolux
654482832f cosmetic changes 2014-01-16 05:14:41 +00:00
rolux
cb460aa95f add missing semicolon 2014-01-16 09:17:06 +05:30
rolux
a579d08f41 fix block timeline tooltip (text is HTML) 2014-01-15 17:25:02 +05:30
j
e836071a1e dont fail if undefined is passed to Ox._ 2014-01-15 10:10:25 +00:00
rolux
0fd84ba156 fix loading css on Safari 5 and other older browser 2014-01-15 09:57:51 +00:00
rolux
8e0c2c02f6 remove double / from jquery link, fixes oxjs #218 2014-01-15 09:56:51 +00:00
rolux
145bab2267 fix undefined var in InfoList 2014-01-15 04:53:24 +05:30
j
6a133723be remove debug 2014-01-11 04:57:02 +00:00
j
0588ebe211 load modules with Ox.VERSION in build mode to make caching work 2014-01-11 04:56:12 +00:00
rolux
0be0d5fbb7 Ox.Event: don't log mousewheel event 2014-01-07 19:29:10 +05:30
rolux
066cc7cf04 update overlay css 2014-01-05 16:20:21 +05:30
rolux
6343c894e2 remove print statement; add fixme 2014-01-05 15:50:18 +05:30
rolux
31382f2513 cosmetic changes 2014-01-05 15:31:33 +05:30
rolux
c97895f55d Button: handle overlay style 2014-01-05 15:31:18 +05:30
rolux
1c281889ff ButtonGroup: add class per style 2014-01-05 15:30:46 +05:30
rolux
5341dfeba5 update CSS (overlay form elements, image viewer) 2014-01-05 15:30:19 +05:30
rolux
84e9b96562 add overlay form element CSS 2014-01-05 15:29:45 +05:30
rolux
ace14c7fca fix computation of camel-case symbol key 2014-01-05 15:29:21 +05:30
rolux
e43caaa23b add themed overlay form element styles 2014-01-05 15:28:10 +05:30
rolux
4d80bbc424 move ImageElement widget 2014-01-05 15:27:06 +05:30
rolux
6550066667 add ImageViewer widget 2014-01-05 15:26:44 +05:30
rolux
1df53b7bde Ox.List: store items in self.items 2013-12-31 13:28:36 +05:30
rolux
b86d2c200c cosmetic changes 2013-12-31 13:24:29 +05:30
rolux
b0faaa6266 add symbolEqual 2013-12-31 13:21:07 +05:30
j
6588fb26f6 dont localize title of image buttons 2013-12-27 11:36:01 +00:00
j
d9e31175bf add hindi locale 2013-12-27 10:55:00 +00:00
j
fa08e25a3e reset translations before switching to new locale 2013-12-27 10:53:35 +00:00
j
8ed3964dc0 fix loading locale 2013-12-27 10:29:07 +00:00
j
e57fa72b47 allow lang attribute in annotations 2013-12-26 16:43:03 +00:00
j
57994e657d user lager font for hindi content 2013-12-26 16:42:44 +00:00
j
155893e184 use p to break floating content, fixes #1964 2013-12-23 11:52:59 +00:00
rolux
8efec0cf76 main menu: use $, not Ox.$ 2013-12-23 13:30:54 +05:30
rolux
de1ef5a5bf in Ox.Dialog, use $ 2013-12-09 02:28:56 +01:00
rolux
daa77eec5c remove unused var, fix fixme 2013-12-09 02:28:42 +01:00
rolux
70bd7afd67 Ox.Element: make onMessage alias of bindMessage, reserve other message methods, update docs 2013-12-07 15:49:41 +01:00
rolux
348d6d3aff cosmetic changes 2013-12-07 15:47:56 +01:00
rolux
3781262837 use .on 2013-12-07 15:07:52 +01:00
rolux
4779f31171 fix Ox.Input (can't use Ox.$ yet) 2013-12-07 15:07:39 +01:00
rolux
6dbdf91259 correct docs, add comments 2013-12-07 13:03:34 +01:00
rolux
37ab78f05b use Ox.$ 2013-12-06 22:15:04 +01:00
rolux
a97170ea5b document Ox..data 2013-12-06 21:59:26 +01:00
rolux
6f183f3b49 typo 2013-12-06 21:55:45 +01:00
rolux
6acd99d74f add .data method to Ox.$, use in Ox.UI.getOxElement, don't use .attr in Ox.JQueryElement 2013-12-06 21:54:26 +01:00
rolux
94b5c5307d use Ox.$ 2013-12-06 21:52:34 +01:00
rolux
7c640519d1 use .on, not .eventname 2013-12-06 21:43:00 +01:00
rolux
81d9af2013 DocPage: append element, not text 2013-12-06 21:34:01 +01:00
rolux
0dd96d8080 use Ox.$ and .on 2013-12-06 21:17:39 +01:00
rolux
4dd3dde24e add comment 2013-12-06 21:13:35 +01:00
rolux
60fe713e65 use Ox.$, not $; use .on, not .click 2013-12-06 21:12:59 +01:00
rolux
b834bb2b4d geo module: add getAverageBearing, getBearingDifference, getClosestBearing (find straightest path, mix two hues, etc.) 2013-12-06 21:11:41 +01:00
rolux
812e95d740 cosmetic changes 2013-12-06 20:56:33 +01:00
rolux
335c374b73 add data-oxid attribute 2013-12-06 20:56:11 +01:00
rolux
27d8a6682e Ox.Element: add methods childrenElements, findElements, nextElement, nextElements, parentElement, parentElements, prevElement, prevElements 2013-12-06 20:51:59 +01:00
rolux
1bec2d29ae use Ox.documentReady; add Ox.UI.getOxElement(element) and Ox.UI.isOxElement(element) 2013-12-06 20:49:53 +01:00
rolux
7658c16b7a use .on 2013-12-06 20:48:13 +01:00
rolux
d87effda96 cleanup Ox.SplitPanel 2013-12-06 17:26:35 +01:00
rolux
caa897c698 update Ox.MODE if switching to minified on load 2013-12-06 11:11:56 +01:00
rolux
525218dc35 add Ox.MODE (build/dev), + cosmetic changes 2013-12-06 10:34:56 +01:00
rolux
ba0336f3c9 cosmetic changes 2013-12-06 10:31:33 +01:00
rolux
7516cf8c00 Ox.$: add missing methods (replace, replaceWith, siblings, text), + cosmetic changes 2013-12-06 10:26:31 +01:00
rolux
de660af394 fix typo, update docs 2013-12-05 15:53:41 +01:00
rolux
78aaaea9d3 Requests.js: update documentation 2013-12-05 00:31:18 +01:00
rolux
a737bca563 Requests.js: update documentation 2013-12-05 00:23:36 +01:00
rolux
987c7ea801 fix documentation, remove print statement 2013-12-05 00:14:10 +01:00
rolux
53cbceada4 OxJS loader: only switch to build version on load if actually from dev version 2013-12-04 23:46:20 +01:00
rolux
56c5998668 Ox.Element: add custom mousewheel event 2013-12-04 23:44:07 +01:00
rolux
9ea8e0352d Ox.$: normalize mousewheel event names 2013-12-04 23:43:07 +01:00
rolux
6cb7269ce1 OxJS loader: remove useless Ox.DEBUG, fix IE js onload, use the same code as in Constants.js to get path 2013-12-04 17:24:48 +01:00
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