Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: caml-list@inria.fr
Subject: [Caml-list] [ANNOUNCE] llpp v11
Date: Tue, 28 Feb 2012 11:13:49 +0400 (MSK)	[thread overview]
Message-ID: <alpine.LNX.2.00.1202281044340.1624@linmac> (raw)

Hello,

New version of llpp is now available (tagged v11) at
http://repo.or.cz/w/llpp.git

Blurb:

llpp a graphical PDF viewer which aims to superficially resemble
less(1)

Changes:

* Removed dependency on GLUT
  (consequently native Windows and OS X support is also gone)
  (There's a win32 a binary, built just before GLUT removal at:
   http://boblycat.org/~malc/llpp.zip - 3857425 bytes)
* User modifiable key mappings
* Keyboard link navigation
* Probably more, since:

llpp$ git diff --stat v10..v11 | tail -1
 14 files changed, 4203 insertions(+), 1461 deletions(-)

(That said: keysym2ucs.c |  849 +++++++++++++++++++
 IOW 849 added lines is keysym to unicode conversion code by by Markus G. Kuhn)

How to build/run: http://www.youtube.com/watch?v=9xtIqD_mHRw

To run it one must have GLX capable X server, chances are good that if
the video card in ones machine is less than 10 years old things will run.

Known to run with:
RV280 (aka Radeon 9200)           Mesa/linux/ppc
RV730 (aka Radeon HD 4650)        Mesa/freebsd/x86[_64?]
????  (aka ???)                   Mesa/x86[_64?] [1]
NV94  (aka GeForce 9600 GT)       nouveau (Gallium 0.4 on NV94)/Mesa/x86_64 [2]
                                  binary blob by NVidia

(FWIW the card in this machine (rv280) is more than ten years old)

[1] 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

[2] Caveat emptor: with nouveau when window manager resizes windows opaquely
    things might get garbled (same thing happens with GLUT based version too)
    Workarounds:
      a. Instruct the WM to not do opaque resizes
      b. LIBGL_ALWAYS_INDIRET=1 llpp [args]
      c.
diff --git a/link.c b/link.c
index 10a9eba..8a6f872 100644
--- a/link.c
+++ b/link.c
@@ -2725,7 +2725,7 @@ CAMLprim value ml_glx (value win_v)
         caml_failwith ("glXChooseVisual");
     }
 
-    glx.ctx = glXCreateContext (glx.dpy, visual, NULL, True);
+    glx.ctx = glXCreateContext (glx.dpy, visual, NULL, False);
     if (!glx.ctx) {
         XCloseDisplay (glx.dpy);
         XFree (visual);


-- 
mailto:av1474@comtv.ru

             reply	other threads:[~2012-02-28  7:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28  7:13 malc [this message]
2012-02-28 19:14 ` Gerd Stolpmann
2012-02-28 19:29   ` Adrien
2012-02-28 19:43   ` malc
2012-02-29  7:57   ` Vu Ngoc San
2012-02-29  8:04     ` malc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1202281044340.1624@linmac \
    --to=av1474@comtv.ru \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox