Commit graph

401 commits

Author SHA1 Message Date
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
j
b520654e31 pass type to getItem function 2013-02-16 01:21:08 +00:00
rolux
6ecbff5fce Ox.URL: add json url part, encode '?' and '#' in values 2013-02-18 12:50:20 +05:30
rolux
c718b0b8ef missing semicolon 2013-02-16 16:28:40 +05:30
rolux
4c45d71f5b fix Ox.Fullscreen 2013-02-10 20:50:28 +05:30
rolux
f2d93c7001 video loading icon should always be white 2013-02-09 16:03:42 +05:30
rolux
c50d91c0ac properly switch video button color on theme switch 2013-01-31 18:12:51 +05:30
rolux
67f744baaf fix #138 (keep Ox.Theme from setting a non-existing theme) 2013-01-02 17:45:30 +01:00
rolux
f20836eacf Allow for grayscale elements in Ox.Theme.formatColor 2013-01-02 13:10:17 +01:00
rolux
fe32615c6b fix colored tree list icons in doc panel 2012-12-29 16:13:07 +01:00
rolux
905c7390a2 typo 2012-12-29 13:58:24 +01:00
rolux
4881682b61 use new-style themes 2012-12-28 18:52:51 +01:00
j
b20d6a6e59 trigger setSizes in VideoPlayer on Ox.Fullscreen, add Ox.Fullscreen.available to check if fullscreen support is present(i.e. in iframe) 2012-12-20 18:30:48 +00:00
rolux
c03efd71fe request controller: minor cleanup 2012-11-04 12:05:25 +01:00
rlx
abb76703ce keyboard controller: don't trigger events when input _or autocomplete menu_ has focus 2012-11-03 16:39:30 +00:00
rolux
cacd1e147f typo 2012-11-03 17:37:36 +01:00
rolux
65cd5b8afa minor changes in keyboard controller 2012-11-03 17:19:35 +01:00
rlx
aede993d74 typo 2012-11-01 14:35:16 +00:00
rlx
be0aaa2db6 add fullscreen controller 2012-11-01 14:20:28 +00:00
rolux
ed4dd70c8e Ox.URL: add hash parser, add tests 2012-10-31 12:57:55 +01:00
rolux
86a3e50ed6 add Ox.Theme.formatColorPercent 2012-10-05 14:14:58 +02:00
j
d2859f10ef set src of videos to '' before removing from dom to work around chome bug #31014 2012-09-07 03:54:18 +02:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
a0867f0da6 update widget documentation (arguments first) 2012-07-04 13:29:18 +02:00
rolux
daec992536 Ox.API: fix docs, return request id from API call 2012-07-04 13:15:32 +02:00
rolux
0fc6e09927 Ox.App: clean up code and documentation 2012-07-02 13:29:07 +02:00
rolux
79bea33e51 Ox.Element: reformat docs 2012-07-02 13:28:42 +02:00
rlx
b5d5936e59 don't trigger event after timeout, see #731 2012-06-30 16:11:29 +00:00
rlx
dc438e2427 setTimeout before triggering events 2012-06-30 15:05:35 +00:00
rolux
2dc8fd19aa update docs 2012-06-30 12:29:06 +02:00
rolux
2731f8dc89 update event controller 2012-06-30 12:15:27 +02:00
rolux
b5910f5f62 Ox.Element: use new event controller 2012-06-30 11:24:38 +02:00
rolux
32f85e42e4 new event controller 2012-06-30 11:24:03 +02:00
rolux
dfa0a9b8eb set interval between 'keys' events to 250 ms 2012-06-30 11:21:23 +02:00
rolux
28b9614083 update Ox.Event (intermediate state) 2012-06-29 14:24:06 +02:00
j
864eacfbd7 Fix #873 prevent Firefox from cancling active XMLHttpRequests pressing escape 2012-06-29 10:23:59 +02:00
rolux
969e0553b4 use [0] instead of .[0] 2012-06-26 18:01:47 +02:00
rolux
fb6c956250 remove debugging 2012-06-26 18:01:13 +02:00
rolux
69d125bc8e minor changes 2012-06-26 16:33:26 +02:00
rolux
e5652b4db1 fix misleading comment 2012-06-26 15:12:09 +02:00
rolux
b9e4f565ca Ox.Element: don't overwrite callbacks; reformatting 2012-06-26 14:54:30 +02:00
rolux
60c279ed1c add element id to event properties 2012-06-25 20:40:06 +02:00
rolux
446f1a0de1 minor change 2012-06-25 16:32:16 +02:00
rolux
d29bc5569b make Ox.rgb always return integers 2012-06-24 17:41:27 +02:00
rolux
6fcac07ee9 minor changes 2012-06-23 20:23:19 +02:00
rolux
ee1d50283f fix docs 2012-06-23 01:54:33 +02:00
rolux
e23fbb2d35 Ox.LoadingIcon: support passing a number as size 2012-06-20 11:37:47 +02:00
j
d2e05200da document events 2012-06-18 00:38:26 +02:00
rolux
23ad209561 call Ox.localStorage only once 2012-06-17 16:42:27 +02:00
j
8c7bf418ec dont blow the stack, fixes #853 2012-06-16 18:10:19 +02:00
rolux
6aa3f95a4d remove print statement 2012-06-12 13:17:54 +02:00
rolux
963e594397 allow for themed colored images 2012-06-12 13:15:24 +02:00
rolux
df3a0c1c49 fix a bug in unbindEvent 2012-06-04 14:07:35 +02:00
rolux
ea08852676 update documentation 2012-06-02 14:10:47 +02:00
rolux
73fa856900 in documentation use foo, not <code>foo</code> 2012-06-02 13:06:44 +02:00
rolux
39c2497bc5 Ox.Element: update documentation 2012-06-02 12:37:19 +02:00
rolux
9b6b6fd356 fix toggleOption method 2012-06-02 12:00:52 +02:00
rolux
6d528898d2 update docs 2012-06-02 11:48:47 +02:00
rolux
8c347d9009 update documentation (classes) 2012-05-31 12:32:54 +02:00
rolux
6847102507 fix documentation 2012-05-30 00:28:52 +02:00
j
91e1065aab rename Ox.UI source files, remove Ox. prefix 2012-05-28 19:44:12 +00:00
j
005d50c389 self.setOption ~> that.update 2012-05-28 19:35:41 +00:00
rlx
ab68c4a54f add that.update to Ox.Element 2012-05-28 16:16:23 +00:00
rolux
461a237880 .bind -> .on, .unbind -> .off 2012-05-28 16:06:22 +02:00
rolux
f45f993f42 minor reformatting 2012-05-28 16:04:50 +02:00
rolux
de9021ca0c add fixme 2012-05-28 16:04:28 +02:00
rolux
7f05af7380 allow for binding a callback to all events of an element; change the signature of event callbacks from (data) to (data, event), where event is the original jQuery event (formerly data._event) 2012-05-28 16:02:25 +02:00
rolux
1b99ab0fc9 cleanup and simplify Ox.JQueryElement 2012-05-28 11:30:51 +02:00
rolux
12ed2c93fc fix #799: use '(function() {}())', not '(function() {})()' 2012-05-26 14:38:45 +02:00
j
aa8f4133be IE8 fixes 2012-05-25 21:42:10 +00:00
rolux
b0000b5169 check if history.pushState exists 2012-05-25 19:58:43 +02:00
rolux
ec12eddfba use Ox.typeOf 2012-05-25 19:46:02 +02:00
rolux
d14abf96fc check if history.replaceState exists 2012-05-25 18:51:26 +02:00
j
eb9cd1e397 IE fixes 2012-05-25 16:28:05 +00:00
rolux
5b8f1dd3b5 rename var 2012-05-25 11:44:43 +02:00
rolux
147d637b7b typos 2012-05-25 09:46:34 +02:00
rolux
544e117cb3 Ox.break -> Ox.Break 2012-05-24 19:20:29 +02:00
rolux
b7d9d9ba54 add comments 2012-05-24 19:13:46 +02:00
rlx
458faa78da minor change 2012-05-24 17:12:02 +00:00
rlx
e5b46da0d5 update loading icon 2012-05-24 13:43:46 +00:00
rolux
4b454790d5 don't use animated loading icon svg (consumes 100% cpu in recent versions of chrome) 2012-05-24 14:26:52 +02:00
rolux
1608664bb6 rather use ''.slice than ''.substr 2012-05-24 11:47:33 +02:00
rolux
f990f3b857 use [].slice, not Ox.sub 2012-05-24 11:02:59 +02:00
rolux
12cf77cef5 less obscure Ox.map 2012-05-22 16:29:37 +02:00
j
33390069b9 fix Ox.JQueryElement fixmes 2012-05-22 16:08:09 +02:00
j
b9e80c9d75 cleanup docs, fix children/find calls 2012-05-22 15:14:40 +02:00
rolux
04784630d3 use Ox.break 2012-05-22 09:11:26 +02:00
rolux
bf9a19a71e use Ox.methods 2012-05-21 22:07:40 +02:00
rolux
c5b148773f don't Ox.extend with undefined, use empty object 2012-05-21 22:07:06 +02:00
rolux
5692195509 swap the meaning of makeArray and toArray: makeArray, like makeObject, is a helper function for arguments processing (that wraps any non-array in an array), toArray, like in other libraries, is an alias for Array.prototype.slice.call 2012-05-19 12:40:59 +04:00
j
520eac7a22 more documentation, more semicolons, some fixmes 2012-05-21 21:23:16 +02:00
j
509745407b add documentation stubs 2012-05-21 12:38:18 +02:00
rlx
fa146ebbba Ox.Map: meta+click on selected place now deselects it (fixes #655) 2012-04-23 10:28:42 +00:00
rolux
801bfeb8dd remove deprecation warning 2012-04-07 16:40:41 +02:00
rolux
ef0e161ab0 add docco-style Ox.SourceViewer, Ox.ExamplePage and Ox.ExamplePanel, and a demo 2012-04-04 16:59:58 +02:00
rlx
4c3b0c41b1 use 'foo=bar,baz' for 'is between', and make sure this gets only parsed for number-like find keys 2012-02-19 17:21:23 +00:00
rlx
b9a86e2620 fix #227 (the fork bomb bug) 2012-02-19 15:38:08 +00:00
j
23c319d95a remove special case for FF3.6, Ox.isArguments is fixed 2012-02-17 10:32:32 +00:00
j
f919d64044 fix Ox.App in Firefox 3.6 to show loading screen, fixes #393 2012-02-17 10:24:42 +00:00
j
d13d0e3d3f uri decode map query value, fixes #432 2012-02-16 21:46:12 +05:30
rlx
08423110e9 omit country name from map tooltip (fixes #396) 2012-02-15 10:43:40 +00:00
rlx
63a6bf2cb8 in app, send location.href on init (fixes #352) 2012-02-05 03:10:26 +00:00
rlx
76466e7eeb fix video editor bugs 2012-02-04 11:44:19 +00:00
rlx
3c94f44a99 fix bugs in video editor; begin to implement new list map mode that allows for defining/clearing places 2012-02-04 08:58:46 +00:00
j
e51c4aa847 call gc before focus/blur to remove elements from focus stack that are no longer around 2012-01-21 11:30:16 +00:00
j
ed4f7f0c2d various focus/selection fixes 2012-01-27 23:58:44 +05:30
rlx
a7a3f167c9 various annotation-related bugfixes 2012-01-27 19:59:11 +05:30
j
129b8154fb dont fail if no error events are bound 2012-01-21 20:45:31 +05:30