Commit graph

3256 commits

Author SHA1 Message Date
j
cbd948740a don't rebuild list item while a cell is in edit state 2018-11-14 14:35:38 +00:00
rlx
3104ccb9ec fix #3188 (clip index should be displayed starting at 1) 2018-11-14 10:03:07 +00:00
j
810b690a6c fix menu activation 2018-11-13 17:39:06 +00:00
rlx
63f298e3e2 wire up 'make selected clips editable' 2018-11-13 17:19:04 +00:00
j
278f3fa6ca support autocomplete via callback in filters 2018-11-13 15:30:30 +00:00
j
3a37d136ec don't add existing items again, only update annotations and timeline state 2018-11-12 09:43:50 +00:00
j
ad7e833519 theme scrollbars according to https://drafts.csswg.org/css-scrollbars/ 2018-11-12 09:24:05 +01:00
j
0d211dede3 cleanup docs 2018-11-12 05:27:30 +01:00
rlx
7d178278c5 fix selection after deleting empty-value annotation by selecting another one 2018-11-06 17:15:40 +01:00
rlx
8d7c5dd4d3 fix issue where selecting an annotation with another empty annotation in editing state would delete the newly selected annotation 2018-11-06 17:07:37 +01:00
rlx
222f74d1b5 missing semicolons 2018-11-06 15:31:11 +01:00
rolux
2e853ba316 Ox.Menu: deselect when mouse moves over disabled item 2018-10-13 12:06:34 +02:00
rolux
10704ccb3d Ox.Menu: listen to mouseup, not click 2018-10-13 12:03:14 +02:00
rolux
41020bb3e5 add missing keyboard shortcuts when timeline has focus in edits section 2018-10-13 10:57:11 +02:00
rolux
6eb3b0bb6f allow for annotation highlight if same value 2018-10-12 14:46:38 +02:00
rolux
9b3c7ddf20 no find-in-annotation-layer option in edits 2018-10-09 20:06:14 +02:00
rolux
5b9afde7b3 fix highlight color on timeline for newly created annotations 2018-10-09 19:44:26 +02:00
rolux
d3d7427bfe don't show tooltip while editing an arrayeditable 2018-10-09 18:56:30 +02:00
rolux
a5f7dd720a allow for grouped highlights in video annotations 2018-10-09 18:29:47 +02:00
j
56cbb3b90c trigger change event for new annotations on blur 2018-10-09 16:25:41 +02:00
j
63501ebe96 downloadframe event 2018-09-12 19:58:09 +02:00
rolux
6618809eb5 fix keyboard navigation for string annotation bins with newline separator 2018-09-12 19:49:37 +02:00
rolux
8ea30caf4d add annotation separator option to video panel 2018-09-12 19:05:02 +02:00
j
2421072d70 add option to translate text annotations for display 2018-08-13 22:28:33 +02:00
j
2480e1bd87 trigger findlayer changes 2018-08-07 17:53:56 +01:00
j
066de44cd2 move layer selection into annotation options menu 2018-08-07 17:46:33 +01:00
j
8b14537dce limit highlight to layer 2018-08-07 17:12:44 +01:00
j
03ba57f2b8 cache width=0 2018-05-12 21:30:53 +02:00
j
6040010098 srt should end with 2 newlines 2018-05-01 11:21:21 +02:00
j
2a389cfb40 dont move position is it is inside selection 2018-03-31 18:07:21 +05:30
j
92ff15c5df don't blur new annotations 2018-03-31 14:00:15 +05:30
j
b9709f6702 trigger selectannotation in ClipsPanel/VideoEditPanel 2018-03-16 13:09:12 +05:30
j
d9695f8540 also parse if only strings are allowed 2018-03-13 18:09:01 +05:30
j
a171fbebea use toggleElement, fixes #3104 2018-03-10 21:38:22 +05:30
j
80b3c02164 forward paste event 2018-03-07 13:18:21 +05:30
j
819c5c747d update area via options 2018-03-06 18:16:33 +05:30
rlx
e67ec495d2 update geo (Congo) 2018-02-14 12:00:40 +01:00
rlx
d6fe8b1c5c update user agents (Mac OS 10.2/10.3) 2018-02-14 12:00:29 +01:00
rlx
dcbee18584 Ox.Range: properly disable track 2018-01-21 09:40:05 +01:00
rlx
719cfeac13 cosmetic changes 2018-01-21 09:27:33 +01:00
rlx
b158450d17 Ox.Range: add 'disabled' option; Ox.Label: support changing 'disabled' option 2018-01-21 09:23:18 +01:00
j
43393af132 dont seek again if already seeking 2017-12-31 15:16:24 +01:00
j
de5f82045b seeked never triggers if video is paused 2017-12-31 13:16:06 +01:00
j
4544efc02c more seeking issues 2017-12-30 16:50:17 +01:00
j
d136d4b303 always set seeking=false 2017-12-30 16:25:55 +01:00
j
de72a11364 fix seeking event for multipart videos that load at the beginning of a part, fixes #3065 2017-12-30 15:29:34 +01:00
j
c02a08c8d9 typos 2017-11-13 15:53:19 +01:00
j
afea7ed9a9 followup tp 0a9c30d - .addEventListener does not have originalEvent 2017-11-13 15:16:25 +01:00
j
6cf7083665 FF complains about dead code afte return, comment out 2017-11-06 21:22:03 +02:00
j
0a9c30d1dc use passive for touch events if possible, fixes #3059 2017-11-06 07:43:18 +02:00
j
b11d6a81fe don't pass google api key, use Ox.Map.GoogleApiKey 2017-10-26 12:42:25 +02:00
j
66a130e35f element can also be removed during gainfocus 2017-07-29 22:06:27 +02:00
j
a579f47a27 clicking inside in/out input element should not move focus to editor, fixes #3032 2017-07-08 11:31:12 +02:00
j
21c94c00a9 disable add annotation menu items if layer is not editable 2017-06-15 15:58:41 +00:00
j
9b8d45ba74 _k->K 2017-06-09 09:44:28 +02:00
j
39e4224034 pass api key to map 2017-05-29 17:56:03 +02:00
j
26ebd90483 update inner width, trigger clipSize not size 2017-04-17 18:15:05 +02:00
j
c0bfe480ad use VideoElement loop in VideoPlayer 2017-04-16 22:54:40 +02:00
j
c32d50e82e typo 2017-04-15 13:47:50 +02:00
j
bfb5c3d3ef support per clip volume 2017-04-15 13:45:01 +02:00
j
34cdae0ab3 make id visible, show annotation id, also fixes link to annotation instead of in/out 2017-03-08 13:12:57 +01:00
j
6d59519c64 place could be null 2017-02-25 16:58:32 +01:00
j
07d9b9c925 ignore undefined extras 2017-02-17 09:56:57 +01:00
j
eee525a80b make sure cell exists 2017-02-14 16:04:20 +00:00
j
74f3f58942 support string span 2017-01-25 22:38:57 +01:00
j
71c163f9fb fix updating clipView 2017-01-25 22:38:57 +01:00
j
e288749077 yandex mobile 2016-11-25 22:34:17 +01:00
j
34f8ca479a yandex 2016-11-25 22:28:42 +01:00
j
927678e6be Ox.URL: support findKeys per type 2016-10-14 14:12:01 +02:00
j
67302e1a3e allow searching for substrings, i.e. do not autocomplete search for vv to first word starting with vv 2016-10-10 11:15:16 +02:00
j
9f5af680ed avoid .sort if value did not change 2016-09-20 01:15:21 +02:00
j
fde3b905f9 only animate loading interval if its actually used 2016-09-19 21:40:52 +02:00
j
0f10b4be47 don't fail if elements in focus stack are gone 2016-09-07 11:28:58 +02:00
j
310502df22 if play returns pormise, wait for it 2016-08-23 14:06:36 +02:00
j
4c54a294f6 use requestAnimationFrame for loading icon if available 2016-08-09 14:11:43 +02:00
j
f043242640 add some touch support
- fire touch(start|move|end) events after adding clinetX/Y
- use touch events in video and timeline widgets
- use touchstart to select item in ArrayEditable
2016-07-27 21:55:34 +02:00
j
72a7d54025 queue unlocked video elements asap 2016-07-27 21:55:34 +02:00
j
eac7a05584 only show one icon on load 2016-07-27 21:55:34 +02:00
adbf2dad81 ArrayEditable: replace self.$items
When shrinking the number of items, this allows the old elements to be
GCed sooner.
2016-06-23 17:56:22 +02:00
84b3c34130 Editable: avoid setTimeout
It's easily avoided and clearer without it.
2016-06-23 17:56:22 +02:00
ec85c7b458 Element: faster tooltip event binding
Even when there is no tooltip, setTooltip() accounts for about 5% of the
time spent setting the values on an ArrayEditable, of which about 2% is
Ox.filter.

There only a few possible sets of events, so use object identity rather
than calculating the set difference. In particular, this is a lot faster
when self.options.tooltip is false-y.

(I think it was actually wrong before, anyway:

    bindTooltipEvents({mouseenter, mouseleave})
    bindTooltipEvents({mousemove, mouseleave})

would (correctly) unbind mouseenter and bind mousemove, but would set
boundTooltipEvents = {mousemove} even though mouseleave is still bound.)
2016-06-23 17:56:22 +02:00
db343c382e ArrayEditable: one tooltip, not one per element
When changing the visible annotations in the bins in Pandora, creating
(and destroying) all the Ox.Tooltips takes a substantial fraction of the
time. So instead, maintain only one tooltip for each ArrayEditable.
2016-06-23 17:56:22 +02:00
869de36163
Fix Ox.Request.cancel(fn) (fixes #2932)
arguments[0] === req inside the forEach callback, so previously this
would throw

    TypeError: arguments[0] is not a function
2016-06-22 15:53:18 +01:00
j
af610a0df9 work around mobile interaction restrictions 2016-05-17 17:40:40 +02:00
j
5a40d4ef8f space 2016-05-17 17:40:40 +02:00
j
5073700241 add keyboard shortcut to toggle playback rate between 1 and 2 2016-03-29 14:57:42 +02:00
j
f2e7c75d2c add playbackRate to video elements 2016-03-29 14:26:04 +02:00
j
da08120ff4 selected item might be gone 2016-03-16 08:29:31 +01:00
j
cb875c86df fix subtitle toggle in edit panel too 2016-03-05 16:27:29 +05:30
j
ab21bdbe25 fix subtitle selection in player menu 2016-03-05 16:10:24 +05:30
j
07ec93179c disable subtitles if disabled via options.enableSubtitles, fixes #2898 2016-03-05 15:38:52 +05:30
3637b70244 Autocomplete: only replace input when a prefix matches (fixes #2753)
Previously, if the top match for "Smi" was "John Smith", the contents of
the field would be changed to "Smi[n Smith]" (where square brackets
indicate selection). On top of this, if you then type the fourth letter
("n"), the input becomes "Smin", which is not what you typed.

This preserves the "happy path" for replacing the field contents if
there is a prefix match, but without making the field unusable if
there's an infix match.
2016-03-02 17:08:45 +00:00
rlx
eaa4183e60 cosmetic changes 2016-02-22 14:56:35 +05:30
rlx
541d739fb7 cosmetic changes 2016-02-22 14:49:18 +05:30
rlx
8abbbd4791 faster Ox.every 2016-02-20 14:38:04 +05:30
rlx
75b5b76157 Ox.Image: disable tests 2016-02-18 14:45:47 +05:30
rlx
0d0ab99060 add (failing) test to Ox.minify 2016-02-18 13:47:22 +05:30
rlx
d6b7d2e949 Ox.every: add 'that' argument; make Ox.some work more like Ox.every 2016-02-18 11:00:55 +05:30
rlx
064a28da3d Ox.zipObject: support (key, value) 2016-02-18 10:59:37 +05:30
rlx
08e16d073c Ox.unique: for string argument, return string 2016-02-18 10:58:32 +05:30