source: trunk/third/gdk-pixbuf/TODO @ 17117

Revision 17117, 1.2 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17116, which included commits to RCS files with non-trunk default branches.
Line 
1If you intend to work on any of these issues, please contact
2Federico 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. 
Note: See TracBrowser for help on using the repository browser.