Nicolas Ojeda Bar
a91e3520d4
Add .merlin
2016-07-18 18:39:09 +02:00
Nicolas Ojeda Bar
bad2532b75
Clear text on scroll
2016-07-18 18:32:48 +02:00
Nicolas Ojeda Bar
d1acb14449
Revert last commit for now
2016-07-18 17:50:38 +02:00
Nicolas Ojeda Bar
3b389fd289
Restrict horiz scroll further.
...
Do not allow to page edges to separate from window edges.
The scroll bar needs fixing.
2016-07-18 17:31:26 +02:00
Nicolas Ojeda Bar
a214616cbd
Continue restrict horiz scroll
2016-07-18 16:53:49 +02:00
Nicolas Ojeda Bar
2fd438c5b7
Do not allow horiz scroll when pdf width < win width
2016-07-18 16:47:37 +02:00
Nicolas Ojeda Bar
354804784d
Fix Makefile
2016-07-18 14:58:21 +02:00
Nicolas Ojeda Bar
91240c9953
Simplify Makefile
2016-07-18 14:54:49 +02:00
Nicolas Ojeda Bar
20259b3c0d
Indent
2016-07-18 13:58:19 +02:00
Nicolas Ojeda Bar
b662603d4a
Experiment with trackpad zoom
2016-07-18 13:54:35 +02:00
Nicolas Ojeda Bar
1ba5d2c243
Fix
2016-07-18 13:45:50 +02:00
Nicolas Ojeda Bar
5f1b30e9bf
Cleanup
2016-07-18 12:05:16 +02:00
Nicolas Ojeda Bar
17bdb9333d
Use enums instead of #defines
2016-07-18 09:40:08 +02:00
Nicolas Ojeda Bar
1c9c425106
Cleanup
2016-07-18 09:38:09 +02:00
Nicolas Ojeda Bar
34fbeaf368
Cleanup
2016-07-18 07:39:18 +02:00
Nicolas Ojeda Bar
18ce27099c
Cleanup, reduce diff with upstream
2016-07-18 07:28:20 +02:00
Nicolas Ojeda Bar
e928c022fc
Divide RGB values by 255.0, not 256.0
2016-07-18 07:18:31 +02:00
Nicolas Ojeda Bar
296fc1e936
First try at horizontal trackpad scroll
2016-07-18 00:43:19 +02:00
Nicolas Ojeda Bar
9f0e1ad45a
Sync with upstream
2016-07-18 00:15:39 +02:00
Nicolas Ojeda Bar
f30c2a48cd
Fix .gitignore
2016-07-18 00:13:48 +02:00
Nicolas Ojeda Bar
7b4fd47b38
Transmit scroll arg as int
2016-07-17 23:53:20 +02:00
Nicolas Ojeda Bar
732006b897
Add .ocp-indent
2016-07-17 23:37:28 +02:00
Nicolas Ojeda Bar
f56ffdf842
Scroll speed x 2 if retina
2016-07-17 23:37:03 +02:00
Nicolas Ojeda Bar
2af85bc0a1
Cleanup
2016-07-17 23:35:17 +02:00
Nicolas Ojeda Bar
7f72adf8bd
Buffer reads from Cocoa server.
...
This solves the lag when 2-finger scrolling.
2016-07-17 23:28:30 +02:00
Nicolas Ojeda Bar
b8001c56d7
Simplify
2016-07-17 17:16:15 +02:00
malc
cb0c9e6115
Just lock, do not warn buyers
2016-07-15 12:58:00 +03:00
malc
f84e2ddc75
Drop timed lock inside post-processing
...
This introduced nasty usability regression - any failure to take the
lock during post-processing results in a "freeze" so to speak. Hence
indicate the failure due to magical -1 post-processing return code and
schedule re-display if seen from the OCaml side, meaning the display
and post-processing will be triggered on any future event (most likely
the notification from the rendering/loading side that will likely
release the lock and allow forward progress)
Things work fine with original offender (visualFAQ.pdf -
http://tug.ctan.org/info/visualFAQ/visualFAQ.pdf ) as does scrolling
around (mainly horizontally) in sufficiently large and zoomed in
image, such as:
https://upload.wikimedia.org/wikipedia/commons/c/c4/Vasily_Surikov_-_%D0%91%D0%BE%D1%8F%D1%80%D1%8B%D0%BD%D1%8F_%D0%9C%D0%BE%D1%80%D0%BE%D0%B7%D0%BE%D0%B2%D0%B0_-_Google_Art_Project.jpg )
2016-07-14 23:21:59 +03:00
malc
b92d9bf309
Robustify
2016-07-14 15:57:06 +03:00
malc
37a2e492ea
Sync with upstream
2016-07-14 05:01:12 +03:00
Nicolas Ojeda Bar
765a4d63f4
Typo
2016-07-13 23:18:25 +02:00
Nicolas Ojeda Bar
cec1a7515a
Add Wsi.t#scroll, used to implement 'inertial scrolling' in OS X
2016-07-13 23:12:36 +02:00
Nicolas Ojeda Bar
f10b28cdef
Try to fix Wsi_cocoa.{keyname,namekey}
2016-07-13 10:19:18 +02:00
Nicolas Ojeda Bar
cb3c163d48
Remove debug output
2016-07-13 10:10:40 +02:00
Nicolas Ojeda Bar
1f7aaec35e
Unrecognized -> Code of int
2016-07-13 10:06:07 +02:00
malc
069efdcf40
Give ml_postprocess a chance to succeed
...
Admittedly this is fugly, but no clean solution immediately springs to
mind.
(Register continuation that will be called upon unlock and will notify
caml code to retry? Use cloned contexts? Something else?)
All other trylocks are just as ugly, but probably much less noticeable.
2016-07-13 02:58:42 +03:00
malc
755587b164
Fix locking
2016-07-13 01:30:33 +03:00
Nicolas Ojeda Bar
b4470f36ef
Improve trackpad scrolling (still more way to go...)
2016-07-13 00:09:21 +02:00
malc
4dd4c85f69
Add clang guard
2016-07-13 00:46:16 +03:00
Nicolas Ojeda Bar
73eafbd15d
Sync with upstream
2016-07-12 21:15:16 +02:00
Nicolas Ojeda Bar
3c8eac3e03
Fix Retina font scaling, bis
2016-07-12 20:23:00 +02:00
malc
5258606dc6
Update ignore list
...
Tramp auxiliary files.
2016-07-12 20:26:58 +03:00
malc
7c66c5b602
Sync with upstream
...
Also fix some issues reported by valgrind.
2016-07-12 20:26:20 +03:00
Nicolas Ojeda Bar
3c70f8d447
Typo
2016-07-12 18:29:29 +02:00
Nicolas Ojeda Bar
2cd8624049
Open Keys locally
2016-07-12 18:25:35 +02:00
Nicolas Ojeda Bar
f46a2e1e06
Add keys.ml
2016-07-12 18:16:11 +02:00
Nicolas Ojeda Bar
b98be7357b
Get rid of pp.sed
2016-07-12 16:55:52 +02:00
malc
0d4bb2720f
Revert a bunch of syncs
...
Things are rather sad. Segfaults, compilation problems, etc, on top of
that Tor is on vaccation. So let's take it slow and stick to a
slightly outdated mupdf, but at least it works (that's not to say that
those are mupdf problems)
2016-07-12 14:44:22 +03:00
malc
ba1468ec6f
Safety net
...
null pointer dereference with "Frank Frazetta - Fantasy Illustrated #2.pdf"
2016-07-12 14:11:54 +03:00
malc
3d484220ec
"Fix" trimctm
...
I don't have any idea what's going on here. Details:
mupdf 834243dbfc8ab3e9269b7a789d61e3fe0f8e71f7 - good
e2a85460370a3110b89fb838bc924c73f87f5b3c - bad
Most things work with either of those, except for:
http://www.gly.uga.edu/railsback/11111misc/SizeofThings36.pdf
2016-07-12 13:39:23 +03:00