Commit graph

408 commits

Author SHA1 Message Date
rolux
5119a15173 Ox.URL: format pos,in,out as in,out if pos equals in 2014-01-17 12:50:29 +05:30
rolux
0be0d5fbb7 Ox.Event: don't log mousewheel event 2014-01-07 19:29:10 +05:30
rolux
31382f2513 cosmetic changes 2014-01-05 15:31:33 +05:30
rolux
4d80bbc424 move ImageElement widget 2014-01-05 15:27:06 +05:30
rolux
b86d2c200c cosmetic changes 2013-12-31 13:24:29 +05:30
rolux
70bd7afd67 Ox.Element: make onMessage alias of bindMessage, reserve other message methods, update docs 2013-12-07 15:49:41 +01:00
rolux
6dbdf91259 correct docs, add comments 2013-12-07 13:03:34 +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
7c640519d1 use .on, not .eventname 2013-12-06 21:43:00 +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
987c7ea801 fix documentation, remove print statement 2013-12-05 00:14:10 +01:00
rolux
56c5998668 Ox.Element: add custom mousewheel event 2013-12-04 23:44:07 +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
aff40b0154 cosmetic changes 2013-11-29 21:07:37 +01:00
rolux
1f926c83ea Ox.ImageElement: handle image error, use new LoadingScreen (start/stop) 2013-11-20 09:11:53 +01:00
rolux
3429ac3319 Ox.LoadingScreen: use proper LoadingIcon, add start and stop methods 2013-11-20 09:10:37 +01:00
j
fda5c7eaa2 string spans can contain spaces, encode in url 2013-11-11 09:20:04 +00:00
rlx
00bbbd6af9 Ox.URL: allow for 'string' as a span type 2013-11-08 17:26:54 +00: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
ab765a6f70 add that.options getsetter to Ox.URL 2013-10-07 19:16:23 +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
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
j
610720254d also replace %20 in item id in url 2013-08-17 15:48:01 +02: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
j
6548cf6841 add -ms css prefix, move declaration without prefix to end 2013-08-08 14:21:44 +02: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
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
31d54403fb add Ox.History 2013-08-03 13:58:36 +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
43502c42a1 Ox.Clipboard: add public 'items' method (returns number of items) 2013-08-02 12:23:15 +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
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
rlx
f27f11ab58 cosmetic changes 2013-07-15 11:34:08 +00:00
j
5549377541 preven default for control_shift_c to make copyadd work on linux, Chrome opens Inspect Element otherwise 2013-07-15 11:33:17 +00:00
j
c0eff8edf3 use jquery .live on drag to also get elements added after drag started 2013-07-15 11:32:28 +00:00
rlx
27bbbdbd83 Ox.Clipboard: add events; Ox.Request: cleanup; Ox.MainMenu: use OxHighlight class; Themes: add bar highlight color and gradient 2013-07-15 09:10:08 +00:00
rlx
18d100f978 rewrite clipboard controller 2013-07-13 21:03:29 +00:00
rlx
a5ad4466a4 Ox.URL: serialize hash as JSON 2013-07-12 12:02:17 +00:00
rolux
fadf032592 Ox.URL: invoke getSpan for durations 2013-07-12 11:00:51 +02:00
rlx
a2fb27d469 Ox.URL: add getPart option (page sections) 2013-07-11 15:13:10 +00:00
rolux
f820e06455 Ox.API: pass api to callback (todo: don't return api) 2013-06-01 13:59:01 +02:00
rolux
541af0917a cosmetic changes 2013-05-30 23:02:03 +02:00
rolux
0fa77bd167 remove print statement 2013-03-24 20:23:38 +05:30
j
852641335d add Ox.Cookie, send X-CSRFToken if csrftoken cookie is set 2013-03-16 17:24:43 +05:30
rolux
43d5bee70a add auto variant of loading screen and image element 2013-03-08 08:48:49 +00:00
rolux
6c29a1c5cd handle setting css of image element, add image loading gradient css for dialogs 2013-03-07 13:26:22 +05:30
rolux
0d784b3dc4 add Ox.LoadingScreen and Ox.ImageElement, update CSS 2013-03-07 12:50:54 +05:30
rlx
1115a33a5f Ox.URL: don't treat 7-digit numbers as dates 2013-03-06 10:00:41 +00:00
rolux
c869231d34 fix a bug in Ox.URL 2013-03-05 14:31:21 +00:00
rlx
35947ab77b Ox.URL: fix and update tests 2013-03-05 06:05:35 +00:00
rlx
fcd3089329 fix a bug in Ox.URL 2013-03-04 11:57:20 +00:00
rlx
4f9192f140 Ox.URL: correctly handle number spans 2013-03-04 11:19:09 +00:00
rlx
0989a41c8e update URL controller (handle hash, simplify getItem/getSpan/getHash) 2013-03-04 10:06:32 +00:00
rolux
978d44135a fix a typo in Ox.URL 2013-03-03 11:02:44 +00:00
j
b31a7d5be4 remove debug 2013-03-02 13:58:49 +00:00
j
326098c54f use first view if no view is set to construct span 2013-03-02 13:54:07 +00:00
j
fbf02bc0b2 add span type number, pass state.type to getSpan 2013-03-02 12:52:27 +00:00
rolux
aefc3e3a93 fix a bug in Ox.URL 2013-03-02 16:23:19 +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
49f7f011e9 Ox.URL: fix tests 2013-02-27 16:38:51 +05:30
rolux
5ecfcd0046 update keyboard controller 2013-02-25 16:40:50 +00:00
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
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
j
47efc7377a add Ox.Message for message passing between frame and parent 2013-02-24 07:37:20 +00:00
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
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
10328fc14b update URL controller 2013-02-18 14:59:15 +05:30