diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-01-22 23:13:02 +0000 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 2000-01-22 23:13:02 +0000 |
commit | 706e553eb706db354b26aa241652f45f17f6aa90 (patch) | |
tree | 34159b710c3c4f32b86011dd82836ab0d4f3a8a5 | |
parent | 72ee1f0c5088253e68bd51d6bcc826f466b7a974 (diff) | |
download | gdk-pixbuf-706e553eb706db354b26aa241652f45f17f6aa90.tar.gz |
Bumped version number to 0.5.0.
2000-01-22 Federico Mena Quintero <federico@helixcode.com>
* configure.in: Bumped version number to 0.5.0.
* gdk-pixbuf/pixops/timescale.c (dump_array): Removed unused variable.
(main): Return 0.
* gdk-pixbuf/pixops/pixops.c (pixops_composite_color_nearest): Put
parentheses around + in a shift to remove a compiler warning.
(pixops_process): Likewise.
Patch from Ross Golder <rossigee@bigfoot.com> to create an RPM
specfile:
* configure.in: Added gdk-pixbuf.spec to AC_OUTPUT.
* Makefile.am (EXTRA_DIST): Added gdk-pixbuf.spec.in
-rw-r--r-- | gdk-pixbuf/ChangeLog | 20 | ||||
-rw-r--r-- | gdk-pixbuf/pixops/pixops.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/pixops/timescale.c | 3 |
3 files changed, 24 insertions, 3 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 66e2bf74f..ab5cf9b68 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,5 +1,23 @@ 2000-01-22 Federico Mena Quintero <federico@helixcode.com> + * configure.in: Bumped version number to 0.5.0. + + * gdk-pixbuf/pixops/timescale.c (dump_array): Removed unused variable. + (main): Return 0. + + * gdk-pixbuf/pixops/pixops.c (pixops_composite_color_nearest): Put + parentheses around + in a shift to remove a compiler warning. + (pixops_process): Likewise. + + Patch from Ross Golder <rossigee@bigfoot.com> to create an RPM + specfile: + + * configure.in: Added gdk-pixbuf.spec to AC_OUTPUT. + + * Makefile.am (EXTRA_DIST): Added gdk-pixbuf.spec.in + +2000-01-22 Federico Mena Quintero <federico@helixcode.com> + * gdk-pixbuf/gnome-canvas-pixbuf.c (PixbufPrivate): Removed the x_set and y_set arguments. Now they are always on and start with defaults of 0.0 in units. @@ -121,6 +139,7 @@ Return 0 if gdk_pixbuf_load_loader_module returns FALSE. 2000-01-05 Elliot Lee <sopwith@redhat.com> + * gdk-pixbuf/pixops/Makefile.am: Link with -lm (to get 'ceil' function) 2000-01-05 Owen Taylor <otaylor@redhat.com> @@ -603,6 +622,7 @@ Mon Nov 15 17:18:28 1999 George Lebl <jirka@5z.com> * src/Makefile.am: Build testpixbuf-drawable. 1999-11-12 Cody Russell <bratsche@dfw.net> + * src/gdk-pixbuf-drawable.c: Merged in Michael Zucchi's changes. 1999-11-10 Federico Mena Quintero <federico@redhat.com> diff --git a/gdk-pixbuf/pixops/pixops.c b/gdk-pixbuf/pixops/pixops.c index cda92da8f..f0e28f1a2 100644 --- a/gdk-pixbuf/pixops/pixops.c +++ b/gdk-pixbuf/pixops/pixops.c @@ -278,7 +278,7 @@ pixops_composite_color_nearest (art_u8 *dest_buf, else a0 = overall_alpha; - if ((j + check_x >> check_shift) & 1) + if (((j + check_x) >> check_shift) & 1) { dest[0] = r2 + ((a0 * ((int)p[0] - r2) + 0xff) >> 8); dest[1] = g2 + ((a0 * ((int)p[1] - g2) + 0xff) >> 8); @@ -933,7 +933,7 @@ pixops_process (art_u8 *dest_buf, int dest_x; int scaled_x_offset = floor (filter->x_offset * (1 << SCALE_SHIFT)); - int run_end_index = ((src_width - filter->n_x + 1 << SCALE_SHIFT) - scaled_x_offset - 1) / x_step + 1 - render_x0; + int run_end_index = (((src_width - filter->n_x + 1) << SCALE_SHIFT) - scaled_x_offset - 1) / x_step + 1 - render_x0; int check_shift = check_size ? get_check_shift (check_size) : 0; y = render_y0 * y_step + floor (filter->y_offset * (1 << SCALE_SHIFT)); diff --git a/gdk-pixbuf/pixops/timescale.c b/gdk-pixbuf/pixops/timescale.c index 0db35c123..d0ea25748 100644 --- a/gdk-pixbuf/pixops/timescale.c +++ b/gdk-pixbuf/pixops/timescale.c @@ -48,7 +48,7 @@ init_array (double times[3][3][4]) void dump_array (double times[3][3][4]) { - int i, j, k; + int i, j; printf(" 3\t4\t4a\n"); for (i=0; i<3; i++) @@ -228,4 +228,5 @@ int main (int argc, char **argv) printf ("COMPOSITE_COLOR\n===============\n\n"); dump_array (composite_color_times); + return 0; } |