malc [Mon, 12 Jul 2021 15:47:22 +0000 (12 18:47 +0300)]
Put bisection under build/
malc [Mon, 12 Jul 2021 15:42:23 +0000 (12 18:42 +0300)]
Initial steb at bisection helper script
malc [Mon, 12 Jul 2021 14:28:06 +0000 (12 17:28 +0300)]
Better wording
malc [Thu, 8 Jul 2021 06:38:14 +0000 (8 09:38 +0300)]
Cosmetics
malc [Tue, 6 Jul 2021 18:40:32 +0000 (6 21:40 +0300)]
Sync with upstream
malc [Tue, 6 Jul 2021 15:25:34 +0000 (6 18:25 +0300)]
Revert "Work with (and require) ocaml 4.13.0~alpha1"
Apparently there are issues when ocamlc is used as a C driver.
This reverts commit
5eaaf40c379c9f7239b3fe7660c062211ce7aa4a.
malc [Tue, 6 Jul 2021 11:55:53 +0000 (6 14:55 +0300)]
Revert "An attempt to work around an issue with outputs"
This reverts commit
c4822f770ff7d65e884e1baaec58d101bbacce3e.
malc [Tue, 6 Jul 2021 10:57:09 +0000 (6 13:57 +0300)]
An attempt to work around an issue with outputs
Noted by GitHub's CI setup.
malc [Sat, 3 Jul 2021 16:12:14 +0000 (3 19:12 +0300)]
Work with (and require) ocaml 4.13.0~alpha1
malc [Fri, 2 Jul 2021 12:58:39 +0000 (2 15:58 +0300)]
Cosmetics
malc [Mon, 28 Jun 2021 05:29:22 +0000 (28 08:29 +0300)]
Cosmetics
malc [Mon, 28 Jun 2021 02:29:18 +0000 (28 05:29 +0300)]
Pride & Precedence
This baby is eleven!
malc [Sun, 27 Jun 2021 16:17:43 +0000 (27 19:17 +0300)]
Add a visual clue for a page scaled scrolling
Guess adding it is as good as any method of finding out whether
somebody else uses scalled page scrolling.
malc [Sun, 27 Jun 2021 14:55:52 +0000 (27 17:55 +0300)]
Cosmetics
malc [Sun, 27 Jun 2021 14:54:39 +0000 (27 17:54 +0300)]
Rename clamp to add_to_y_and_clamp
malc [Sun, 27 Jun 2021 14:38:13 +0000 (27 17:38 +0300)]
Co(nsistency|smetics)
malc [Tue, 22 Jun 2021 12:30:07 +0000 (22 15:30 +0300)]
Move launchers under external commands
malc [Mon, 21 Jun 2021 09:41:50 +0000 (21 12:41 +0300)]
Remove redundant information
malc [Mon, 21 Jun 2021 09:35:27 +0000 (21 12:35 +0300)]
Consistency
malc [Mon, 21 Jun 2021 09:33:21 +0000 (21 12:33 +0300)]
Mark -dest undocumented
malc [Mon, 21 Jun 2021 08:56:16 +0000 (21 11:56 +0300)]
Remove misspelled word
malc [Mon, 21 Jun 2021 08:27:50 +0000 (21 11:27 +0300)]
Document LLPP_FALLBACK_FONT
malc [Mon, 21 Jun 2021 08:26:05 +0000 (21 11:26 +0300)]
Do not try to build llpphtml docs
malc [Sun, 20 Jun 2021 14:29:31 +0000 (20 17:29 +0300)]
Remove antiword "support"
It's easier to just use antiword by hand when uncoconv is not available.
malc [Sun, 20 Jun 2021 13:19:02 +0000 (20 16:19 +0300)]
Precede antiword1's formatted text output with a <pre>
malc [Sun, 20 Jun 2021 13:11:44 +0000 (20 16:11 +0300)]
Do not use unset variables
malc [Fri, 18 Jun 2021 14:15:04 +0000 (18 17:15 +0300)]
Handle texinfo in llppac without relying on prince
Fix a few issues along the way.
malc [Fri, 18 Jun 2021 13:29:32 +0000 (18 16:29 +0300)]
llpphtml moved out
malc [Fri, 18 Jun 2021 13:26:10 +0000 (18 16:26 +0300)]
Move to snippets
malc [Tue, 15 Jun 2021 07:21:57 +0000 (15 10:21 +0300)]
Consistency
Dmitri Iouchtchenko [Tue, 15 Jun 2021 04:18:54 +0000 (15 00:18 -0400)]
Scroll horizontally with shift
malc [Sun, 13 Jun 2021 08:39:36 +0000 (13 11:39 +0300)]
Stop selection process if pipechar does not complete successfully
malc [Sat, 12 Jun 2021 10:21:37 +0000 (12 13:21 +0300)]
Quote fontface and printf arguments
Paths[1] with spaces in them do not work otherwise.
[1] $fontpath is controlled by the user
malc [Fri, 11 Jun 2021 19:17:10 +0000 (11 22:17 +0300)]
Make it better
Thanks to Avi Halachmi.
malc [Fri, 11 Jun 2021 08:00:41 +0000 (11 11:00 +0300)]
Reformat to not confuse emacs' c-mode
malc [Fri, 11 Jun 2021 07:58:13 +0000 (11 10:58 +0300)]
Do not set diagnostic callbacks when not redirecting stderr
malc [Fri, 11 Jun 2021 07:39:16 +0000 (11 10:39 +0300)]
Add bounds checking
malc [Fri, 11 Jun 2021 07:19:55 +0000 (11 10:19 +0300)]
EPUB wrapper
To use different font (i.e. not Charis SIL)
malc [Thu, 10 Jun 2021 09:23:21 +0000 (10 12:23 +0300)]
Consistent formatting
malc [Tue, 8 Jun 2021 22:25:17 +0000 (9 01:25 +0300)]
Remove script to work around tearing
It was:
1. intel/DDX specific
2. annoying when debugging is required
malc [Tue, 8 Jun 2021 22:21:10 +0000 (9 01:21 +0300)]
Move wikipedi helpers into snippets
malc [Sat, 5 Jun 2021 22:55:03 +0000 (6 01:55 +0300)]
Use proper command for error messages (emsg)
malc [Sat, 5 Jun 2021 05:20:00 +0000 (5 08:20 +0300)]
Add -u, remove braces, manage fallout
malc [Sat, 5 Jun 2021 05:03:52 +0000 (5 08:03 +0300)]
Remove font converter
https://github.com/moosotc/snippets/blob/master/bin/fontview
malc [Fri, 4 Jun 2021 19:26:47 +0000 (4 22:26 +0300)]
More kerning
Irked while reading a paper typeset in Computer Modern.
malc [Fri, 4 Jun 2021 17:06:27 +0000 (4 20:06 +0300)]
Incorporate iosovka's legibility matrix
https://github.com/be5invis/Iosevka/blob/master/sample-text/legibility-test-matrix.txt
malc [Fri, 4 Jun 2021 17:01:42 +0000 (4 20:01 +0300)]
Oh, oh, zero!
Inspired by eponmous paper by Charles Bigelow [1]
Alos cf [2]
[1] https://tug.org/TUGboat/tb34-2/tb107bigelow-zero.pdf
[2] https://github.com/source-foundry/Hack/issues/200#issuecomment-
312452961
malc [Fri, 4 Jun 2021 11:52:15 +0000 (4 14:52 +0300)]
Change shuffstr a bit and show it verbatim too
malc [Fri, 4 Jun 2021 11:51:46 +0000 (4 14:51 +0300)]
NB
malc [Wed, 2 Jun 2021 18:07:22 +0000 (2 21:07 +0300)]
Sync with upstream
malc [Wed, 2 Jun 2021 18:07:05 +0000 (2 21:07 +0300)]
Show non-shuffled string with similar shopes too
malc [Mon, 31 May 2021 17:10:52 +0000 (31 20:10 +0300)]
Handle errors and notify the user while trying to save an attachment
malc [Mon, 31 May 2021 11:54:34 +0000 (31 14:54 +0300)]
Save attached files when
C code was mostly copy pasted from
$MUPDF/platform/gl/gl-annotate.c:save_attachment_dialog
This piggybacks on existing savepath-command.
Testing was done when savepath-command was set to "echo '%s'" and a
document from https://github.com/moosotc/llpp/issues/170 [1]. The
annotation rectangles an the fifth page overlap making it impossible
to use mouse to click on the icon with a pin (file attachment
annotation), however one can enter keyboard navigation mode (set to
insert by default) and select last/covered annotation rectangle with
the keyboard) (selecting this annotation via hint mode (bound to 'F'
by default) works too)
[1] https://github.com/moosotc/llpp/files/
6566150/CorrectionLEMAIRE_SAKURA.AMELIE_CPFR_DEV02.pdf
malc [Mon, 31 May 2021 04:42:55 +0000 (31 07:42 +0300)]
Cosmetics
malc [Mon, 31 May 2021 04:39:10 +0000 (31 07:39 +0300)]
Better text/file-attachment annotation differentiation
malc [Sun, 30 May 2021 18:39:09 +0000 (30 21:39 +0300)]
Remove stray spaces
malc [Sun, 30 May 2021 14:00:26 +0000 (30 17:00 +0300)]
Use properly typed annot variable
Some background: https://github.com/moosotc/llpp/issues/170
malc [Sun, 30 May 2021 13:53:32 +0000 (30 16:53 +0300)]
Print file attachment annotation info
This will, at least, allow user to notice their presence and use more
apt application to extract those attachments.
malc [Sun, 30 May 2021 11:20:31 +0000 (30 14:20 +0300)]
Decrease indentation of reflowable layout knobs
malc [Sun, 30 May 2021 11:18:55 +0000 (30 14:18 +0300)]
Hack around intermittent postprocess failures
How it was found:
An attempt was made to search for 'a' in an infinitely tall document
(HTML font test page produced by llppac with
Extended parameters » reflowable Layout » height
set to zero)
Searching took surprisingly long time. At some point ml_postprocess
was trying to acquire the lock, failed, schedulled a redisplay, which
failed because concurently running earch was holding it), tho "fix" is
to not even attempt postprocessing.
Maybe someday enough courage will be found to tackle the problem
"properly".
malc [Sun, 30 May 2021 11:04:43 +0000 (30 14:04 +0300)]
Do not sefgfault on "empty" regexec results
Searching for $ for instance.
malc [Sun, 30 May 2021 09:28:53 +0000 (30 12:28 +0300)]
Use Glutils explicitly in main
malc [Sun, 30 May 2021 07:09:09 +0000 (30 10:09 +0300)]
Free memory before branching
malc [Thu, 27 May 2021 22:33:57 +0000 (28 01:33 +0300)]
Add another La.. example
For some reason this one rubs me the wrong way in Charis Sil.
malc [Thu, 27 May 2021 17:55:12 +0000 (27 20:55 +0300)]
Move ||: inside the subshell
malc [Thu, 27 May 2021 17:50:48 +0000 (27 20:50 +0300)]
Generate set of similar characters dynamically
malc [Tue, 25 May 2021 00:46:29 +0000 (25 03:46 +0300)]
Use local exception instead of globally usable Exit
malc [Mon, 24 May 2021 21:38:02 +0000 (25 00:38 +0300)]
Simplify layoutready
Layout is ready when all the tiles comprising it are rendered.
malc [Mon, 24 May 2021 20:52:47 +0000 (24 23:52 +0300)]
Cosmetics
malc [Mon, 24 May 2021 15:55:09 +0000 (24 18:55 +0300)]
Continue lines properly
As for -layout-height - in setup mode one can set
Extended Parameters/reflowable layout/height
to zero and have infinitely tall font showcase.
malc [Mon, 24 May 2021 15:46:03 +0000 (24 18:46 +0300)]
Add another mime type for fonts
malc [Mon, 24 May 2021 15:16:33 +0000 (24 18:16 +0300)]
Remove -layout-height
Yet the ability to show fonts without artificial pagination should be
possible... Head scratching time3
malc [Mon, 24 May 2021 15:15:13 +0000 (24 18:15 +0300)]
Provide flags for wsi.cmi
Given that wsi/x11/wsi.mli was resurrected.
malc [Mon, 24 May 2021 03:51:30 +0000 (24 06:51 +0300)]
Bring back wsi.mli
Original raison d'être for wsi.mli and all the pains it entailed was
the ability to forego transitive compilation of the dependencies when
only minute details inside wsi.ml were changed, this restores this
ability for x11's wsi. Guess CI bots will tell we whether things still
work for cocoa.
malc [Sun, 23 May 2021 21:51:23 +0000 (24 00:51 +0300)]
Change state from record with mutable fields to module with refs
TODO: cocoa
malc [Sun, 23 May 2021 21:02:04 +0000 (24 00:02 +0300)]
Slipped through the cracks
malc [Sun, 23 May 2021 19:59:52 +0000 (23 22:59 +0300)]
Continue fighting implicit creation of compiled interface files
By (sadly) not using wsi.mli at all. ocamlc refuses to play ball when
interface is not in the same directory with the implementation [1],
and symlinking:
causes cognitive dissonance
is fragile in presence of PBMAC
[1] misc/notes/cmi.sh describes the problem (removed by this commit)
Alexander Pozdnyakov [Sun, 23 May 2021 18:52:58 +0000 (23 21:52 +0300)]
Fixing broken symlink
malc [Sun, 23 May 2021 10:37:43 +0000 (23 13:37 +0300)]
Do not use, no longer existing, -layout-height argument
malc [Sun, 23 May 2021 09:44:09 +0000 (23 12:44 +0300)]
Make sure there are no progress indicator remnants in the text area
This is a variation on
d4c080874b641218f6c8bba84f509ae50a87452b theme.
malc [Sun, 23 May 2021 09:41:08 +0000 (23 12:41 +0300)]
Take layout defaults from mupdf
malc [Sun, 23 May 2021 08:36:04 +0000 (23 11:36 +0300)]
Change reflowable layout handling
Move control over reflowable layout parameters out of the command line
into the info screen. This also moved the parameters from state into
config, thus making them persistent.
malc [Sun, 23 May 2021 07:52:56 +0000 (23 10:52 +0300)]
Remove remnants of home row remapping attempt
malc [Sat, 22 May 2021 18:48:14 +0000 (22 21:48 +0300)]
Cosmetics
malc [Sat, 22 May 2021 17:39:32 +0000 (22 20:39 +0300)]
Allow setting all fz_layout_document arguments on the command line
Use case:
a epub with a text that is laid out too wide (for me)
[grantted - it is s possible to just go and edit the .css inside the
.epub but this is, arguably, a better approach
besides layout-height Arg docstring was, probably, incorrect]
malc [Sun, 2 May 2021 07:51:13 +0000 (2 10:51 +0300)]
Remove opaque<->string operators
malc [Sun, 2 May 2021 06:30:55 +0000 (2 09:30 +0300)]
Add "interesting" sequence of letters
malc [Sun, 2 May 2021 06:30:04 +0000 (2 09:30 +0300)]
Use helper functions to extract page numbers from uris
The change upstream went unnoticed because the old way continued to
build (and work, in case of PDFs at least).
This should address
https://github.com/moosotc/llpp/issues/167 (and 168)
malc [Wed, 28 Apr 2021 16:10:05 +0000 (28 19:10 +0300)]
Another kerning sample
Kurinto News Core
malc [Mon, 19 Apr 2021 20:58:19 +0000 (19 23:58 +0300)]
Avoid extra leading space in case of empty include list
malc [Mon, 19 Apr 2021 19:24:24 +0000 (19 22:24 +0300)]
Add interface for utils module
malc [Sun, 18 Apr 2021 00:30:10 +0000 (18 03:30 +0300)]
Do not add $outd/ prefix to ocaml modules while generating makefile
malc [Sat, 17 Apr 2021 20:57:14 +0000 (17 23:57 +0300)]
Comment on parallelism todo entry
malc [Sat, 17 Apr 2021 20:50:36 +0000 (17 23:50 +0300)]
Fix makefile generation
malc [Sat, 17 Apr 2021 08:12:28 +0000 (17 11:12 +0300)]
Sync with upstream
cf. https://bugs.ghostscript.com/show_bug.cgi?id=703789
malc [Fri, 16 Apr 2021 20:44:42 +0000 (16 23:44 +0300)]
Fix dependency regression introduced in
c6fc00b5e88813e0510b2ae76fb838c21648d36d
malc [Fri, 16 Apr 2021 20:20:49 +0000 (16 23:20 +0300)]
Fix types
Points to the flaw in interface dependency management.
malc [Fri, 16 Apr 2021 19:57:11 +0000 (16 22:57 +0300)]
Trim autogenerated uiutils interface by hand
malc [Fri, 16 Apr 2021 19:47:13 +0000 (16 22:47 +0300)]
Consistency
malc [Fri, 16 Apr 2021 19:35:51 +0000 (16 22:35 +0300)]
Remove tautological interface
ffi.mli == ffi.ml.
TODO: It would have been more aesthetically pleasing to have ffi.mli
and no ffi.ml.