gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz ./TODO metacode/pegboard.py doc/pegboard/vo...


From: Asko Soukka
Subject: [Gzz-commits] gzz ./TODO metacode/pegboard.py doc/pegboard/vo...
Date: Mon, 11 Nov 2002 10:39:28 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Asko Soukka <address@hidden>    02/11/11 10:39:27

Modified files:
        .              : TODO 
        metacode       : pegboard.py 
        doc/pegboard/vobcoorder_culling--humppake: peg.rst 

Log message:
        Enhancing pegboard, updating peg vobcoord_cullingcoordsys

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.388&tr2=1.389&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/metacode/pegboard.py.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/vobcoorder_culling--humppake/peg.rst.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.388 gzz/TODO:1.389
--- gzz/TODO:1.388      Mon Nov 11 08:15:02 2002
+++ gzz/TODO    Mon Nov 11 10:39:26 2002
@@ -48,10 +48,6 @@
        + PEG asynch ms blocks
            + asynch xu links?
     humppake:
-        - at least xupdf crashes: problems with new dynamic 
-         allocation of memory in paperquad? Although, according
-          to JVM, it crashes during getInverse()
-          * try to make test for this using only paperquad
        + PEGBOARD: columns:
            NAME - PEG name (e.g. '1020', 'vobscene_twids--tjl')
                    - *this* is the link to the .html version of the peg.
@@ -62,7 +58,6 @@
            FILES - line breaks between file names
            STATUS - status, small font, linebreak between first word and [] 
-part
                    (needs to be narrow)
-           
     tuukkah:
        - release engineering 
            - list main changes 
@@ -201,6 +196,14 @@
        + speed up tests: currently too much execfile().. could
          pre-compile and exec compiled in the same globals().
     humppake:
+       + failing test to detect utf8 string non-null end bug found by Benja
+       + fix the way nonlinearity of coordsys is handled.
+         Needs a slightly better approach, with also 
+         direction of nonlinearity taken into account.
+         If we can save a lot of dicing by thinking a little
+         more, we probably should.
+         Need to have alternative algorithms (fast/good) though, for 
+         different cases.
        + more about PEG1018 - generalizing VobVanishingClient
         + rethink interfaces between PlainVanishing and VobScene
            - learn Box
@@ -210,14 +213,6 @@
        + port Mind* views from 0.6
            - make LollipopCellVobFactory use fixed dimensions for ball
        + new PEG for bubbleview, with some sketches
-       + fix the way nonlinearity of coordsys is handled.
-         Needs a slightly better approach, with also 
-         direction of nonlinearity taken into account.
-         If we can save a lot of dicing by thinking a little
-         more, we probably should.
-         Need to have alternative algorithms (fast/good) though, for 
-         different cases.
-       + failing test to detect utf8 string non-null end bug found by Benja
        + implement Paper TexGenEmboss::setUp_explicit
        + better algorithm for CullingCoordSys. Uses now parallel
           bounding boxes. Fast, but not very efficient.
Index: gzz/doc/pegboard/vobcoorder_culling--humppake/peg.rst
diff -u gzz/doc/pegboard/vobcoorder_culling--humppake/peg.rst:1.4 
gzz/doc/pegboard/vobcoorder_culling--humppake/peg.rst:1.5
--- gzz/doc/pegboard/vobcoorder_culling--humppake/peg.rst:1.4   Fri Nov  8 
08:06:24 2002
+++ gzz/doc/pegboard/vobcoorder_culling--humppake/peg.rst       Mon Nov 11 
10:39:27 2002
@@ -1,19 +1,19 @@
 
================================================================================
-PEG ``vobcoorder_culling--humppake``: Interface for creating 
``CullingCoordSys``
+PEG vobcoorder_culling--humppake: Interface for creating ``CullingCoordSys``
 
================================================================================
 
 :Authors:   Asko Soukka
 :Stakeholders: Tuomas Lukka
-:Date:     $Date: 2002/11/08 13:06:24 $
-:Revision: $Revision: 1.4 $
-:Status:   Incomplete
+:Date:     $Date: 2002/11/11 15:39:27 $
+:Revision: $Revision: 1.5 $
+:Status:   Current
 :Date-Created: 2002-11-05
 :Scope:    Minor
 :Type:     Feature
 
 ``CullingCoordSys`` can be currently created through its interface
-in ``GLVobCoorder``. This peg is about making culling also as a part of
-general ``VobCoorder`` interface.
+in ``GLVobCoorder``. This peg is about making culling also as a part
+of general ``VobCoorder`` interface.
 
 Changes
 -------
@@ -24,13 +24,15 @@
         * coordinate systems. The CullingCoordSys works mainly as its
         * parent CoordSys. Although, it will be drawn always when boxes 
         * of its test and clip coordinate systems do intersect. When
-        * the boxes don't intersect, the CullingCoordSys should not be drawn.
-        * @param parent ID of the coordinate system which points which points
-        *               will be transformed, if CullingCoordSys is shown
-        * @param test ID of the coordinate system which box is tested against
-        *             the clip coordinate system.
-        * @param clip ID of the coordinate system which box is tested against
-         *             the test coordinate system.
+        * the boxes don't intersect, the CullingCoordSys should not be 
+        * drawn.
+        * @param parent ID of the coordinate system which points which 
+        *               points will be transformed, if CullingCoordSys 
+        *               is shown
+        * @param test ID of the coordinate system which box is tested 
+        *             against the clip coordinate system.
+        * @param clip ID of the coordinate system which box is tested
+        *             against the test coordinate system.
         */
        public int cull(int parent, int test, int clip) {
        }
@@ -42,10 +44,14 @@
        public int cull(int parent, int clip) {
        }
 
-After changing ``gzz.vob.VobCoorder`` these methods should be implemented
-in the following classes, because they inherit ``gzz.vob.VobCoorder``
-(please, note that culling is already implemented in 
-``gzz.gfx.gl.GLVobCoorder``):
+After changing ``gzz.vob.VobCoorder`` these methods should also be 
+implemented in all implementing classes, which inherit 
+``gzz.vob.VobCoorder``. Because culling is already implemented in 
+``gzz.gfx.gl.GLVobCoorder``, currently classes left seem to be:
 
 * ``gzz.vob.impl.OrthoCoorder``
-
+  
+  **NOTE:** ``CullingCoordsys`` is currently implemented only on the
+  C++ side, but ``OrthoCoorder`` is not allowed to use JNI. *Dummy*
+  ``CullingCoordSys`` can be implented on the Java side as 
+  ``translate(parent, 0, 0)``.
Index: gzz/metacode/pegboard.py
diff -u gzz/metacode/pegboard.py:1.14 gzz/metacode/pegboard.py:1.15
--- gzz/metacode/pegboard.py:1.14       Thu Nov  7 06:09:13 2002
+++ gzz/metacode/pegboard.py    Mon Nov 11 10:39:26 2002
@@ -235,7 +235,7 @@
 
         replace_str = '<table class=\"pegboard\">\n<tr>\n'
 #        replace_str += '\t<th>Date</th>\n'
-        replace_str += '\t<th>Status</th>\n\t<th>Topic</th>\n'
+        replace_str += '\t<th>Status</th>\n\t<th>Name</th>\n\t<th>Topic</th>\n'
         replace_str += 
'\t<th>Authors</th>\n\t<th>Stakeholders</th>\n\t<th>Files</th>\n'
         replace_str += '</tr>\n'
         
@@ -246,10 +246,17 @@
             else:
                 replace_str += '<tr>\n'
 #            replace_str += '\t<td>' + peg['date'] + '</td>\n'
+            replace_str += '\t<td><small>' + status;
+            if len(status) > 1:
+                replace_str += 
'<br/><em>'+peg['status'][len(status)+1:len(peg['status'])]+'</em>'
+            replace_str += '</small></td>\n'
             replace_str += '\t<td><a href=\"'+peg['dir']+'/'+peg['html']+'\">' 
\
-                           + status + '</a>'\
-                           + 
peg['status'][len(status):len(peg['status'])]+'</td>\n'
-            replace_str += '\t<td>' + peg['topic'] + '</td>\n'
+                           + peg['dir'].split('--')[0] + '</a></td>\n'
+            if peg['topic'].find(':') > -1:
+                replace_str += '\t<td>' + 
peg['topic'][peg['topic'].find(':')+1:len(peg['topic'])] \
+                               + '</td>\n'
+            else:
+                replace_str += '\t<td>' + peg['topic'] + '</td>\n'
             replace_str += '\t<td>'
             for author in peg['authors']:
                 if peg['authors'].index(author) > 0:
@@ -268,8 +275,10 @@
             replace_str += '\t<td>\n'
             for file in peg['files']:
                 replace_str += '\t\t<a href=\"'+peg['dir']+'/'+file+'\">' \
-                               +file+'</a>\n'
-            replace_str += '\t<td>\n'
+                               +file+'</a>'
+                if peg['files'].index(file) < len(peg['files']) -1:
+                    replace_str += '<br/>'
+            replace_str += '\n\t<td>\n'
             replace_str += '</tr>\n'
 
         replace_str += '</table>\n'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]