[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ff-cvs] fenfire/org/fenfire fenpdf/BUGS fenpdf/fenpdfco...
From: |
Tuomas J. Lukka |
Subject: |
[ff-cvs] fenfire/org/fenfire fenpdf/BUGS fenpdf/fenpdfco... |
Date: |
Mon, 18 Aug 2003 16:07:20 -0400 |
CVSROOT: /cvsroot/fenfire
Module name: fenfire
Branch:
Changes by: Tuomas J. Lukka <address@hidden> 03/08/18 16:07:19
Modified files:
org/fenfire/fenpdf: BUGS fenpdfcontext.py importpdf.py
org/fenfire/view: CanvasView2D.java
Log message:
Allow importing directoryfuls
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/fenpdf/BUGS.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/fenpdf/fenpdfcontext.py.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/fenpdf/importpdf.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/view/CanvasView2D.java.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
Patches:
Index: fenfire/org/fenfire/fenpdf/BUGS
diff -u fenfire/org/fenfire/fenpdf/BUGS:1.15
fenfire/org/fenfire/fenpdf/BUGS:1.16
--- fenfire/org/fenfire/fenpdf/BUGS:1.15 Mon Aug 18 04:43:03 2003
+++ fenfire/org/fenfire/fenpdf/BUGS Mon Aug 18 16:07:19 2003
@@ -11,6 +11,10 @@
- Instability. Have seen it crash in renderImpl.
+- menu and clicks do not go to the viewport that is in front:
+ often, the lower viewport doesn't get events even though the upper
+ one is rendered behind it. GAR!
+
IMPORTANT:
- startup takes far too long. [slightly mitigated already
@@ -27,6 +31,15 @@
- need proper grab framework
+- tmpimg generation and mipzip making needs to be in a separate thread
+
+- .dsc info needs to be cached
+
+- I got a BLACK paper from papermill?!?!?!?!
+
+ - no, shows sometimes as a different paper, but then overwritten
+ as black. What's going on with these texture ids?
+
ANNOYANCE
---------
@@ -68,6 +81,15 @@
- importing PDFs from URLs; a helper application/script for mozilla
that opens PDFs in FenPDF would be nice
+- contrast / brightness adjustment for PDFs - some are much lighter than
+ others.
+
+- when importing a directory, ability to transclude first pages of all
imported docs to
+ a canvas. Would make easier - did it manually with HT02, not fun.
+
+- more than two foci, some push/pop/foo arrangement.
+
+- cloning a focus
ALREADY FIXED, BUT SYMPTOM OF DEEPER ARCHITECTURAL PROBLEM
----------------------------------------------------------
Index: fenfire/org/fenfire/fenpdf/fenpdfcontext.py
diff -u fenfire/org/fenfire/fenpdf/fenpdfcontext.py:1.15
fenfire/org/fenfire/fenpdf/fenpdfcontext.py:1.16
--- fenfire/org/fenfire/fenpdf/fenpdfcontext.py:1.15 Mon Aug 18 11:23:33 2003
+++ fenfire/org/fenfire/fenpdf/fenpdfcontext.py Mon Aug 18 16:07:19 2003
@@ -426,7 +426,7 @@
elif key == "SAVE":
self.save()
return 1
- else:
+ else:
p('key', key)
return 0
Index: fenfire/org/fenfire/fenpdf/importpdf.py
diff -u fenfire/org/fenfire/fenpdf/importpdf.py:1.2
fenfire/org/fenfire/fenpdf/importpdf.py:1.3
--- fenfire/org/fenfire/fenpdf/importpdf.py:1.2 Sun Aug 17 12:47:01 2003
+++ fenfire/org/fenfire/fenpdf/importpdf.py Mon Aug 18 16:07:19 2003
@@ -13,11 +13,20 @@
"""Show a file selection dialog and import a file.
"""
- file = selectFile("Select PS/PDF file to import")
+ file = selectFile("Select PS/PDF file to import, or directory for all
files in it")
p("ps/pdf to be added: ",file)
- if file == None: return None
+ if file == None or not file.exists(): return None
- return importPDF(fen, treetime, file)
+ lastFile = None
+ if file.isDirectory():
+ for f in file.listFiles():
+ try:
+ if f.isDirectory(): continue
+ importPDF(fen, treetime, f)
+ except exception:
+ print "EXCEPTION LOADING",f,":",sys.exc_info()
+ else:
+ return importPDF(fen, treetime, file)
def selectFile(string):
"""Select a file using an AWT dialog, with the given prompt.
Index: fenfire/org/fenfire/view/CanvasView2D.java
diff -u fenfire/org/fenfire/view/CanvasView2D.java:1.25
fenfire/org/fenfire/view/CanvasView2D.java:1.26
--- fenfire/org/fenfire/view/CanvasView2D.java:1.25 Wed Aug 13 12:56:28 2003
+++ fenfire/org/fenfire/view/CanvasView2D.java Mon Aug 18 16:07:19 2003
@@ -45,7 +45,7 @@
/** A View2D of a CANVAS2D, with a given node function.
*/
public class CanvasView2D extends View2D implements NodedView2D,
org.fenfire.view.lava.FastView {
-public static final String rcsid = "$Id: CanvasView2D.java,v 1.25 2003/08/13
16:56:28 tjl Exp $";
+public static final String rcsid = "$Id: CanvasView2D.java,v 1.26 2003/08/18
20:07:19 tjl Exp $";
public static boolean dbg = false;
private static void p(String s) { System.out.println("CanvasView2D:: "+s);
}
@@ -77,7 +77,7 @@
int matchingParent, int box2screen, int box2plane)
{
if (!RDFUtil.isNodeType(fen.graph, container, CANVAS2D.Canvas))
- throw new Error("plane is NOT a container!");
+ throw new Error("plane is NOT a container! " + container);
int paper2box = vs.invertCS(box2plane, "canvasview_INv");
int paper2screen = vs.concatCS(box2screen, "canvasview_conc",