[cairo-commit] [cairo-www] 3 commits - src/todo.mdwn

Chris Wilson ickle at freedesktop.org
Fri Oct 10 16:38:21 PDT 2008


 src/todo.mdwn |   20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

New commits:
commit fbc5f1fc10f8896e8f78145ed5dd0df1ae300292
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Oct 11 00:07:27 2008 +0100

    Add fixed-point unit tests.
    
    Source https://bugs.freedesktop.org/show_bug.cgi?id=7821

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 4063fcf..9357b56 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -328,6 +328,12 @@ Test-suite improvements
 
  * Wide integer unit tests
 
+   An introductory set of fixed-point tests can be found in
+   <https://bugs.freedesktop.org/attachment.cgi?id=6504>, but that currently
+   requires using private headers from the test-suite.  The best idea so far
+   is to have unit tests inline with the code and conditionally compiled in
+   for tests cases built alongside the library main (i.e. -DMAIN).
+
 
 Integration improvements
 -----------------------
commit ca83a60a0d70650f88f3a85f84dace1a7a1592d6
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Oct 10 23:15:27 2008 +0100

    Update online docs.
    
    Remember to automatically regenerate API manuals.

diff --git a/src/todo.mdwn b/src/todo.mdwn
index c2d7327..4063fcf 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -9,7 +9,8 @@ Website improvements
    programs](http://webcvs.cairographics.org/cairo-demo/) into the
    wiki proper
 
- * Integrate existing [reference manual](/manual) into the wiki proper
+ * Integrate existing [reference manual](/manual) into the wiki proper and
+   enable auto-updating from source code comments.
 
  * Fix these broken links (if any): [[brokenlinks ]]
 
commit f2c824a2123fe37a945360dff84f2ddd66868b8c
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Oct 10 23:12:33 2008 +0100

    Fixed->double testing.
    
    From https://bugs.freedesktop.org/show_bug.cgi?id=2379

diff --git a/src/todo.mdwn b/src/todo.mdwn
index 7d611dd..c2d7327 100644
--- a/src/todo.mdwn
+++ b/src/todo.mdwn
@@ -316,6 +316,17 @@ Test-suite improvements
      parameters are increasing.  Marking tests as having text is probably
      one thing we want to do.
 
+ * Exercise double->fixed, fixed->double
+
+   Possible test case:
+     * Take primitives, draw them at integer - epsilon integer + epsilon
+       test that the result is pixel-the-same.
+
+   Review double => integer conversion when calling the backend interfaces,
+   which take integers (should be a case for static analysis).
+
+ * Wide integer unit tests
+
 
 Integration improvements
 -----------------------


More information about the cairo-commit mailing list