~ubuntu-branches/ubuntu/vivid/gdk-pixbuf/vivid

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2004-10-06 22:10:04 UTC
  • Revision ID: james.westby@ubuntu.com-20041006221004-rma9deknj8qctu67
Tags: upstream-0.22.0
ImportĀ upstreamĀ versionĀ 0.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
If you intend to work on any of these issues, please contact 
 
2
Federico Mena-Quintero (federico@helixcode.com).
 
3
 
 
4
* The loaders don't deal with exhausted memory conditions very
 
5
  gracefully.  For example, around io-jpeg.c:466:
 
6
 
 
7
        context->pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, 
 
8
                                         FALSE,
 
9
                                         8, 
 
10
                                         cinfo->image_width,
 
11
                                         cinfo->image_height);
 
12
 
 
13
        if (context->pixbuf == NULL) {
 
14
                /* Failed to allocate memory */
 
15
                g_error ("Couldn't allocate gdkpixbuf");
 
16
        }
 
17
 
 
18
  This should *not* abort the program, but return an error condition
 
19
  to the loader instead.
 
20
 
 
21
  We do not have very good error reporting overall in the loading
 
22
  functions, either the synchronous file loaders or the progressive
 
23
  loaders.  We should figure out some common errors (out of memory,
 
24
  file not found, corrupted data, incomplete data, etc.) and add
 
25
  return values for them.  Yes, this means yet another API change.
 
26
  Live with it.
 
27
 
 
28
* The pixops functions could use better sanity checks.
 
29
 
 
30
* We could use some functions for doing full affine transformations,
 
31
  without using libart.
 
32
 
 
33
* gnome-canvas-pixbuf needs to be optimized.
 
34
 
 
35
* We need a good stress-test suite!!!  Some nongraphical regression
 
36
  tests for `make check' would be nice.
 
37
 
 
38
* We need complete programmer's documentation.