llpp.git
2 years ago*** empty log message ***master
malc [Sun, 3 Apr 2022 11:12:03 +0000 (3 14:12 +0300)]
*** empty log message ***

2 years agoUbuntu CI: make apt update before apt install
Nicolás Ojeda Bär [Sun, 13 Mar 2022 21:16:44 +0000 (13 22:16 +0100)]
Ubuntu CI: make apt update before apt install

2 years agoChange the way C compiler warnings are handled
malc [Wed, 9 Mar 2022 17:48:17 +0000 (9 20:48 +0300)]
Change the way C compiler warnings are handled

Before:
 if sufficiently new clang
   add -Weverything and then add a bunch of -Wno-... suppressions

Now:
   if LLPARANOIDP is defined do the -Weverything dance

(Let's see if this passes github's CI, works here on Linux with gcc 11.2.0 and
 clang 13.0.1)

2 years agoRevert "Reference macros without defining a function"
malc [Wed, 9 Mar 2022 17:14:21 +0000 (9 20:14 +0300)]
Revert "Reference macros without defining a function"

This reverts commit 375bbf2fadf2a45b0c2af0b5ecc3635c5b29b597.

2 years agoReference macros without defining a function
malc [Wed, 9 Mar 2022 17:07:05 +0000 (9 20:07 +0300)]
Reference macros without defining a function

2 years agoUse OCaml 4.14.0 RC1
malc [Wed, 9 Mar 2022 17:06:07 +0000 (9 20:06 +0300)]
Use OCaml 4.14.0 RC1

2 years agoUse OCaml 4.14 beta1
malc [Fri, 25 Feb 2022 20:03:55 +0000 (25 23:03 +0300)]
Use OCaml 4.14 beta1

2 years agoChange placeholder's color when colors are globally inverted
malc [Mon, 21 Feb 2022 10:04:42 +0000 (21 13:04 +0300)]
Change placeholder's color when colors are globally inverted

2 years agoReplace %p with a page number when invoking path launcher
malc [Sat, 5 Feb 2022 13:56:26 +0000 (5 16:56 +0300)]
Replace %p with a page number when invoking path launcher

for details see:
 https://github.com/moosotc/llpp/issues/45#issuecomment-1028683741

2 years agoMatch the reality
malc [Fri, 4 Feb 2022 05:05:07 +0000 (4 08:05 +0300)]
Match the reality

2 years agoRemove bogus(?) assert
malc [Fri, 28 Jan 2022 20:20:52 +0000 (28 23:20 +0300)]
Remove bogus(?) assert

01ff5cb4ce0471bd4974e60d8a8eaaf4ce71d994 commented out redisplay and
added assert, without specifying why, will err on the side of "it was
a debugging leftover" (after all the commit in question was a WIP) and
return things to the way they were (i.e. post redisplay instead of
dying)

Currently the assert can be triggered while navigating ML2015-talk.pdf
in presentation mode.

2 years agoUpdate
malc [Sat, 22 Jan 2022 19:33:18 +0000 (22 22:33 +0300)]
Update

2 years agoUse 4.14 alpha1 and fix the fallout
malc [Sat, 22 Jan 2022 19:32:26 +0000 (22 22:32 +0300)]
Use 4.14 alpha1 and fix the fallout

2 years agoCosmetics
malc [Sat, 8 Jan 2022 22:46:29 +0000 (9 01:46 +0300)]
Cosmetics

2 years agoBehave sanely when $HOME/.config does not exist
malc [Sat, 8 Jan 2022 22:31:18 +0000 (9 01:31 +0300)]
Behave sanely when $HOME/.config does not exist

cf. https://github.com/moosotc/llpp/issues/180

2 years agowip#1
malc [Tue, 7 Dec 2021 23:09:49 +0000 (8 02:09 +0300)]
wip#1

rename layoutready to alltilesrendered
as this is what the funciton returns

2 years agoRename garbage collection function more aptly describing its argumentpreload
malc [Mon, 6 Dec 2021 17:20:27 +0000 (6 20:20 +0300)]
Rename garbage collection function more aptly describing its argument

2 years agoMagic
malc [Mon, 6 Dec 2021 14:48:17 +0000 (6 17:48 +0300)]
Magic

There is rational explanation for gotohist changes in my mind, there
isn't one for the layout in gc.

2 years agoRedisplay when visible tile is rendered
malc [Sun, 5 Dec 2021 19:51:12 +0000 (5 22:51 +0300)]
Redisplay when visible tile is rendered

2 years agoDo not start preloading unless current layout has been renderedv35
malc [Sun, 5 Dec 2021 19:15:18 +0000 (5 22:15 +0300)]
Do not start preloading unless current layout has been rendered

Addresses problems that so far has only been seen in split columns mode.

2 years agoAdd reproducer config
malc [Fri, 26 Nov 2021 13:57:59 +0000 (26 16:57 +0300)]
Add reproducer config

2 years agoPaper over preloading issue
malc [Fri, 26 Nov 2021 13:44:18 +0000 (26 16:44 +0300)]
Paper over preloading issue

This bug has me running for cover, without a clue why the code enters
vicious render/throw-away cycle. For the time being this band-aid will
do.

2 years agoConsistency and correct(erer)ness
malc [Fri, 26 Nov 2021 12:59:03 +0000 (26 15:59 +0300)]
Consistency and correct(erer)ness

2 years agotodo split columns and vicious lead/evict cycle
malc [Fri, 26 Nov 2021 12:57:34 +0000 (26 15:57 +0300)]
todo split columns and vicious lead/evict cycle

2 years agoMention split columns issue
malc [Mon, 22 Nov 2021 07:33:56 +0000 (22 10:33 +0300)]
Mention split columns issue

2 years agoStay within 80 columns
malc [Sun, 21 Nov 2021 12:41:17 +0000 (21 15:41 +0300)]
Stay within 80 columns

2 years agoDo not use spaces in argument names
malc [Sun, 21 Nov 2021 12:40:06 +0000 (21 15:40 +0300)]
Do not use spaces in argument names

2 years agoAdd another (pgdn) Page_Down alias
malc [Sun, 7 Nov 2021 13:30:12 +0000 (7 16:30 +0300)]
Add another (pgdn) Page_Down alias

2 years agoLook for modification date in docinfo
malc [Thu, 4 Nov 2021 13:48:33 +0000 (4 16:48 +0300)]
Look for modification date in docinfo

2 years agoUse an alias to access creation date tag
malc [Thu, 4 Nov 2021 13:45:11 +0000 (4 16:45 +0300)]
Use an alias to access creation date tag

2 years agoFix F9 binding
malc [Tue, 19 Oct 2021 01:17:49 +0000 (19 04:17 +0300)]
Fix F9 binding

Guard binds to the pattern in a surprising (to me) way.

2 years agoUse OCaml 4.13.1
malc [Sun, 17 Oct 2021 00:56:45 +0000 (17 03:56 +0300)]
Use OCaml 4.13.1

2 years agoAllow selecting text in split columns mode
malc [Thu, 14 Oct 2021 15:51:07 +0000 (14 18:51 +0300)]
Allow selecting text in split columns mode

There likely to be ton of pitfalls, but it does work. Furthermore the
book i'm currently reading has two columns and so i split them due to
<reasons> furthermore at times i cut interesting portions. This lovely
commit makes things that much easier for me.

https://www.youtube.com/watch?v=8z8SpgmF0sA (It's good to be The King)

2 years agoClearer wording
malc [Thu, 14 Oct 2021 15:44:41 +0000 (14 18:44 +0300)]
Clearer wording

2 years agoUse --reference-if-able instead of --reference
malc [Thu, 14 Oct 2021 07:07:34 +0000 (14 10:07 +0300)]
Use --reference-if-able instead of --reference

2 years agoCosmetics (on the surface)
malc [Wed, 13 Oct 2021 14:37:24 +0000 (13 17:37 +0300)]
Cosmetics (on the surface)

... helps avoiding psABI notes from older GCCs on ELFv2 PPC32s.

Met dank aan Segher Boessenkool.

2 years agoCut down on euphemisms
malc [Wed, 13 Oct 2021 03:15:46 +0000 (13 06:15 +0300)]
Cut down on euphemisms

2 years agoSync with upstream
malc [Tue, 12 Oct 2021 18:33:51 +0000 (12 21:33 +0300)]
Sync with upstream

mupdf's build should be quieter on some machines.

2 years agoCosmetics
malc [Tue, 12 Oct 2021 12:27:45 +0000 (12 15:27 +0300)]
Cosmetics

2 years agoCosmetics
malc [Tue, 12 Oct 2021 08:12:37 +0000 (12 11:12 +0300)]
Cosmetics

2 years agoExpand
malc [Tue, 12 Oct 2021 05:56:38 +0000 (12 08:56 +0300)]
Expand

2 years agoAdd safety nets around outline loading
malc [Tue, 12 Oct 2021 05:39:11 +0000 (12 08:39 +0300)]
Add safety nets around outline loading

2 years agoSync with upstream...
malc [Mon, 11 Oct 2021 16:41:03 +0000 (11 19:41 +0300)]
Sync with upstream...

...and double check that things _do_ build/run.

2 years agoAdd another fz_var warpper
malc [Sat, 9 Oct 2021 11:58:39 +0000 (9 14:58 +0300)]
Add another fz_var warpper

... thus making sure that llpp continues to be buildable in the cradle
of awesomeness linux running on 7747A

gcc version 4.9.0 (GCC)

2 years agoUse gerontophile mupdf
malc [Fri, 8 Oct 2021 12:06:39 +0000 (8 15:06 +0300)]
Use gerontophile mupdf

2 years agoMake things build with older gccs
malc [Fri, 8 Oct 2021 06:34:32 +0000 (8 09:34 +0300)]
Make things build with older gccs

4.8.5 for instance.

2 years agoMake sure that github's robot is happy
malc [Thu, 7 Oct 2021 12:55:11 +0000 (7 15:55 +0300)]
Make sure that github's robot is happy

... and deal with cfarm by specifying u= when getmupdfing.

2 years agoSync with upstream
malc [Thu, 7 Oct 2021 12:35:48 +0000 (7 15:35 +0300)]
Sync with upstream

2 years agoCosmetics
malc [Wed, 6 Oct 2021 07:17:00 +0000 (6 10:17 +0300)]
Cosmetics

2 years agoConsistency
malc [Wed, 6 Oct 2021 00:09:21 +0000 (6 03:09 +0300)]
Consistency

2 years agoSync with upstream
malc [Tue, 5 Oct 2021 17:53:24 +0000 (5 20:53 +0300)]
Sync with upstream

This includes fix for tesseractless builds.

2 years agoWhoops
malc [Tue, 5 Oct 2021 17:50:12 +0000 (5 20:50 +0300)]
Whoops

2 years agoSync with upstreamv34
malc [Tue, 5 Oct 2021 12:57:12 +0000 (5 15:57 +0300)]
Sync with upstream

1.19.0 for all intents and purposes.

2 years agoCosmetics
malc [Fri, 1 Oct 2021 05:43:09 +0000 (1 08:43 +0300)]
Cosmetics

2 years agoTrim
malc [Wed, 29 Sep 2021 22:56:36 +0000 (30 01:56 +0300)]
Trim

Horrible grammar.
Lapsed stuff.

2 years agoRepository addressing
malc [Tue, 28 Sep 2021 00:30:32 +0000 (28 03:30 +0300)]
Repository addressing

a. ability to use user-supplied repository address
b. (again) switch to github's mirror

2 years agoDo not silence wget
malc [Tue, 28 Sep 2021 00:22:31 +0000 (28 03:22 +0300)]
Do not silence wget

Otherwise lack of output from initial mupdf checkout is jarring.

2 years agoC/ML consistency/harmony
malc [Mon, 27 Sep 2021 23:23:26 +0000 (28 02:23 +0300)]
C/ML consistency/harmony

2 years agoTreat underlying condition instead of papering over symptoms
malc [Mon, 27 Sep 2021 06:57:53 +0000 (27 09:57 +0300)]
Treat underlying condition instead of papering over symptoms

2 years agoAdd -g to glTex's flags
malc [Mon, 27 Sep 2021 06:37:19 +0000 (27 09:37 +0300)]
Add -g to glTex's flags

It was accidentally removed by the previous change.

2 years agobuild.bash is awesome, take full advantage of this fact
malc [Mon, 27 Sep 2021 06:34:06 +0000 (27 09:34 +0300)]
build.bash is awesome, take full advantage of this fact

2 years agoUtilize OCaml 4.13.0
malc [Mon, 27 Sep 2021 06:24:41 +0000 (27 09:24 +0300)]
Utilize OCaml 4.13.0

2 years agoAvoid catastrophic failure when fz_count_pages returns negative value
malc [Fri, 24 Sep 2021 08:52:04 +0000 (24 11:52 +0300)]
Avoid catastrophic failure when fz_count_pages returns negative value

2 years agoUse second release candidate of OCaml 4.13
malc [Mon, 20 Sep 2021 18:07:22 +0000 (20 21:07 +0300)]
Use second release candidate of OCaml 4.13

2 years agoAdd the ability to specify mime type
malc [Wed, 15 Sep 2021 11:14:34 +0000 (15 14:14 +0300)]
Add the ability to specify mime type

Otherwise mupdf will guess document type based on the file extension,
falling back to PDF.

2 years agoUse first release candidate
malc [Mon, 13 Sep 2021 16:47:59 +0000 (13 19:47 +0300)]
Use first release candidate

2 years agoCosmetics
malc [Fri, 10 Sep 2021 09:48:44 +0000 (10 12:48 +0300)]
Cosmetics

2 years agoDraw vertical separators for all pages in the layout
malc [Fri, 10 Sep 2021 09:02:48 +0000 (10 12:02 +0300)]
Draw vertical separators for all pages in the layout

... when using page scaling factor.

2 years agoParenthesize
malc [Sun, 5 Sep 2021 06:41:35 +0000 (5 09:41 +0300)]
Parenthesize

Better safe than sorry.

2 years agoUse OCaml 4.13.0 beta1
malc [Wed, 1 Sep 2021 02:16:11 +0000 (1 05:16 +0300)]
Use OCaml 4.13.0 beta1

2 years agoComment out flag change logging
malc [Wed, 11 Aug 2021 03:25:53 +0000 (11 06:25 +0300)]
Comment out flag change logging

2 years agoTypo...
malc [Tue, 10 Aug 2021 14:39:40 +0000 (10 17:39 +0300)]
Typo...

2 years agoMake sure things build and run on macOS running on the M1
malc [Mon, 9 Aug 2021 07:30:34 +0000 (9 10:30 +0300)]
Make sure things build and run on macOS running on the M1

А вы Данир Фалер-оглы аказываедзя засланный казачок! Не чего,
очевидно, аффстрало-азоффцам делать, как бедных рассиян заставлять
сидр покупать, ради исправления адной строчки... Sigh..

2 years agoFingers crossed
malc [Thu, 5 Aug 2021 06:40:27 +0000 (5 09:40 +0300)]
Fingers crossed

2 years agoAdapt to latest mupdf changes
malc [Wed, 4 Aug 2021 14:57:53 +0000 (4 17:57 +0300)]
Adapt to latest mupdf changes

Latest mupdf changes made 'make -q' inside mupdf's source tree always
return non zero.

2 years agoReformat to stay within 80 columns.
malc [Sat, 31 Jul 2021 15:57:16 +0000 (31 18:57 +0300)]
Reformat to stay within 80 columns.

2 years agoAnd so it did
malc [Sat, 31 Jul 2021 14:52:13 +0000 (31 17:52 +0300)]
And so it did

Try to pacify gcc on ubuntu, attempt #1.

2 years agoCI will shout
malc [Sat, 31 Jul 2021 14:18:32 +0000 (31 17:18 +0300)]
CI will shout

2 years agoAll hail Argentina
malc [Sat, 31 Jul 2021 05:03:51 +0000 (31 08:03 +0300)]
All hail Argentina

2 years agobuild.bash: adapt compilation flags to OCaml 4.13
Nicolás Ojeda Bär [Sat, 31 Jul 2021 04:38:52 +0000 (31 06:38 +0200)]
build.bash: adapt compilation flags to OCaml 4.13

2 years agoMention build issue
malc [Fri, 30 Jul 2021 04:28:42 +0000 (30 07:28 +0300)]
Mention build issue

Affects, at least, gcc (GCC) 11.1.0

2 years agoCosmetics
malc [Thu, 29 Jul 2021 05:31:06 +0000 (29 08:31 +0300)]
Cosmetics

2 years agoUse OCaml 4.13 alpha2
malc [Fri, 23 Jul 2021 16:59:41 +0000 (23 19:59 +0300)]
Use OCaml 4.13 alpha2

2 years agoRemove, no longer needed, diagnostic suppression
malc [Wed, 21 Jul 2021 12:04:11 +0000 (21 15:04 +0300)]
Remove, no longer needed, diagnostic suppression

2 years agoSync with upstream
malc [Wed, 21 Jul 2021 11:21:52 +0000 (21 14:21 +0300)]
Sync with upstream

2 years agoSwitch to generic example
malc [Sun, 18 Jul 2021 04:01:16 +0000 (18 07:01 +0300)]
Switch to generic example

2 years agoRemove superfluous entry
malc [Tue, 13 Jul 2021 02:57:47 +0000 (13 05:57 +0300)]
Remove superfluous entry

2 years agoShorten some type names
malc [Tue, 13 Jul 2021 00:26:46 +0000 (13 03:26 +0300)]
Shorten some type names

2 years agoNo CI macOS for now
malc [Mon, 12 Jul 2021 18:51:40 +0000 (12 21:51 +0300)]
No CI macOS for now

2 years agoInstall ccache on linux and do not require one on macos
malc [Mon, 12 Jul 2021 18:50:10 +0000 (12 21:50 +0300)]
Install ccache on linux and do not require one on macos

I have only very vague idea how all of this supposed to work.

2 years agoCI
malc [Mon, 12 Jul 2021 18:45:09 +0000 (12 21:45 +0300)]
CI

2 years agoBuild with ahbs and by extension with ccache
malc [Mon, 12 Jul 2021 18:26:00 +0000 (12 21:26 +0300)]
Build with ahbs and by extension with ccache

2 years agoRemove, shot in the dark, attempt to pacify GH CI robot.
malc [Mon, 12 Jul 2021 18:01:43 +0000 (12 21:01 +0300)]
Remove, shot in the dark, attempt to pacify GH CI robot.

2 years agoImprove stderr redirection again
malc [Mon, 12 Jul 2021 17:41:36 +0000 (12 20:41 +0300)]
Improve stderr redirection again

2 years agoAnother stab at 4.13 incorporation.
malc [Mon, 12 Jul 2021 15:54:56 +0000 (12 18:54 +0300)]
Another stab at 4.13 incorporation.

2 years agoImprove comment and clean things up...
malc [Mon, 12 Jul 2021 15:51:07 +0000 (12 18:51 +0300)]
Improve comment and clean things up...

Let's see if cleaning will help with trying 4.13~alpha1 again.

2 years agoPut bisect under build/
malc [Mon, 12 Jul 2021 15:48:16 +0000 (12 18:48 +0300)]
Put bisect under build/

2 years agoPut bisection under build/
malc [Mon, 12 Jul 2021 15:47:22 +0000 (12 18:47 +0300)]
Put bisection under build/

2 years agoInitial steb at bisection helper script
malc [Mon, 12 Jul 2021 15:42:23 +0000 (12 18:42 +0300)]
Initial steb at bisection helper script

2 years agoBetter wording
malc [Mon, 12 Jul 2021 14:28:06 +0000 (12 17:28 +0300)]
Better wording