1. 11 May, 2000 2 commits
  2. 10 May, 2000 3 commits
    • Owen Taylor's avatar
      Color selection dialog rewrite. · 88286d32
      Owen Taylor authored
      Wed May 10 16:38:17 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am docs/Changes-1.4.txt gtk/gtkcolorsel.[ch]
      	gtk/gtkhsv.[ch]: Color selection dialog rewrite.
      
      	(Original triangle color selector from Simon Budig
      	<Simon.Budig@unix-ag.org>, Cleaned up and rewritten for GTK+ by
      	from Jonathan, Havoc, and Federico. Merge into GTK+ done by David
      	Santiago <mrcooger@cyberverse.com>)
      
      	* gtk/gtkcolorseldialog.[ch]: Split color selection dialog
      	out into a separate widget.
      
      	* gtk/testgtk.c: Add some checkbuttons for toggling palette
      	and opacity controls.
      
      Wed May 10 16:08:09 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (GTK_LIBS_EXTRA): Remove references to gobject that
      	snuck in prematurely.
      88286d32
    • Owen Taylor's avatar
      Remove gobject that snuck in prematurely. · ac9090ed
      Owen Taylor authored
      Wed May 10 16:08:09 2000  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in (GTK_LIBS_EXTRA): Remove gobject that snuck
              in prematurely.
      ac9090ed
    • Szabolcs Ban's avatar
      Szabolcs BAN <shooby@gnome.hu> · 2e71702a
      Szabolcs Ban authored
      * Corrected header
      2e71702a
  3. 09 May, 2000 1 commit
  4. 08 May, 2000 2 commits
  5. 07 May, 2000 1 commit
    • Tor Lillqvist's avatar
      Fix typo. I had deleted a ! operator by mistake, which caused · acc8e78c
      Tor Lillqvist authored
      2000-05-07  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix typo. I
      had deleted a ! operator by mistake, which caused
      GDK_SELECTION_CLEAR events never to be generated, which caused
      only the first copy to the clipboard from an gtkeditable to
      actually cause a copy to the Windows clipboard.
      
      2000-05-06  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkdnd-win32.c: Enable shortcut resolution for gcc
      compilation, too. Current mingw gcc distributions include the
      necessary headers. Also the necessary IIDs are now in mingw
      headers/libraries, and own definitions unnecessary.
      
      More hacking on OLE2 DND, still doesn't work though, and thus
      ifdeffed out.
      
      * gdk/win32/gdkwindow-win32.c: Remove gdk_window_clear() from
      here, too.
      acc8e78c
  6. 06 May, 2000 1 commit
    • Paolo Molaro's avatar
      Sat, 6 May 2000 13:31:34 +0200 Paolo Molaro <lupus@linuxcare.com> · 8a836c07
      Paolo Molaro authored
      
      Sat,  6 May 2000 13:31:34 +0200 Paolo Molaro <lupus@linuxcare.com>
      
      	* gdk/nanox/*: nano-X port work in progress.
      	* gdk/simple.c: simple test for Gdk.
      	* README.nanox: notes about the port: read this first!
      	* gtk/gtk{dnd,plug,selection,window}.c: minimal changes to make gtk compile
      	with nano-X.
      8a836c07
  7. 05 May, 2000 3 commits
    • Owen Taylor's avatar
      Move gdk_window_clear() into common code, implement in terms of · ea71f02a
      Owen Taylor authored
      Fri May  5 11:18:47 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c gdk/x11/gdkwindow-x11.c (gdk_window_clear): Move
      	gdk_window_clear() into common code, implement in terms of
      	gdk_window_clear_area(). (Fixes bug where gdk_window_clear() was
      	not redirected to the backing rectangle.
      
      Wed Apr 26 01:53:23 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am (EXTRA_DIST): Add OLD_STAMP into
      	EXTRA_DIST. It does not work well when the file that
      	everything depends on is not in the tarball.
      
      Tue Apr 25 22:20:41 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Fix error
      	with recursion where process_updates() is called from
      	an expose handler. (GtkTextView is highly broken in
      	doing this, but it should work, so it is a nice test
      	case.)
      
      Sun Apr 23 23:39:18 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Gracefully
      	handle the case where updates are queued during processing of
      	updates.
      
      Tue Apr 18 14:16:50 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): We already assume
      	window is on gdk_display - use that instead of segfaulting.
      ea71f02a
    • Owen Taylor's avatar
      Add beginnings of file with detailed information about the structure and · e6abb470
      Owen Taylor authored
      Fri May  5 12:16:32 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/DETAILS: Add beginnings of file with
      	detailed information about the structure and algorithms
      	of pixops so people can fix it instead of breaking it.
      
      CvS: Added Files:
      e6abb470
    • Darin Adler's avatar
      Now that Owen explained the algorithm, I think I implemented it right for · 0f038c9e
      Darin Adler authored
      	* gdk-pixbuf/pixops/pixops.c: (pixops_composite_nearest),
      	(composite_pixel), (composite_line):
      	* gdk-pixbuf/test-gdk-pixbuf.c: (simple_composite_test_one_type):
      	Now that Owen explained the algorithm, I think I implemented it
      	right for the cases where the destination pixbuf is not opaque.
      	The test does seem to confirm it.
      0f038c9e
  8. 04 May, 2000 3 commits
    • Darin Adler's avatar
      Added some tests of composite to highlight problems in the old · 24fa8a64
      Darin Adler authored
      	* gdk-pixbuf/.cvsignore:
      	* gdk-pixbuf/Makefile.am:
      	* gdk-pixbuf/test-gdk-pixbuf.c (store_pixel), (fill_with_pixel),
      	(load_pixel), (simple_composite_test_one),
      	(simple_composite_test_one_type), (simple_composite_test), (main):
      	Added some tests of composite to highlight problems in the old
      	implementation. These tests run without any user interaction.
      	Just do "make check".
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest),
      	(composite_pixel), (composite_line): Fix composite to do a textbook
      	"A over B" composite. This was clearly the intent, and it was easy
      	to fix the code to do it. (Note to those that read my earlier tries
      	at a patch; this version fixes typos that were present in all
      	my patch attempts. I checked the final version by adding more tests.)
      24fa8a64
    • Pablo Saratxaga's avatar
      Updated ca.po (changed mantainer) · fec650eb
      Pablo Saratxaga authored
      fec650eb
    • Tim Janik's avatar
      some Make 3.79 $(strip ) versions are broken and require an empty arg, · 375ed314
      Tim Janik authored
      Thu May  4 02:04:46 2000  Tim Janik  <timj@gtk.org>
      
              * configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
              broken and require an empty arg, give it to them.
      
      Fri Apr 28 19:34:32 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtklabel.h: indentation fixes.
      375ed314
  9. 03 May, 2000 1 commit
  10. 02 May, 2000 1 commit
  11. 01 May, 2000 2 commits
    • Tor Lillqvist's avatar
      New file, just a quick hack of the X11 version. · 4481ff0c
      Tor Lillqvist authored
      2000-05-02  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkgeometry-win32.c: New file, just a quick hack of
      the X11 version.
      4481ff0c
    • Tor Lillqvist's avatar
      Large changes to the Win32 backend, partially made necessary by the · 1f149b3a
      Tor Lillqvist authored
      2000-05-02  Tor Lillqvist  <tml@iki.fi>
      
      Large changes to the Win32 backend, partially made necessary by
      the changes to the backend-independent internal
      structures. Attempts to implement similar backing store stuff as
      on X11. The current (CVS) version of the Win32 backend is *not* as
      stable as it was before the no-flicker branch was merged. A
      zipfile with that version is available from
      http://www.gimp.org/win32/. That should be use by "production"
      code until this CVS version is usable. (But note, the Win32
      backend has never been claimed to be "production quality".)
      
      * README.win32: Add the above comment about versions.
      
      * gdk/gdkwindow.c: Don't use backing store for now on Win32.
      
      * gdk/gdk.def: Update.
      
      * gdk/gdkfont.h: Declare temporary Win32-only functions. Will
      presumably be replaced by some more better mechanism as 1.4 gets
      closer to release shape.
      
      * gdk/makefile.{cygwin,msc}: Update.
      
      * gdk/win32/*.c: Correct inclusions of the backend-specific and
      internal headers. Change code according to changes in these. Use
      gdk_drawable_*, not gdk_window_* where necessary.
      
      * gdk/win32/gdkdnd-win32.c: Use MISC selector for GDK_NOTE, not
      our old DND.
      
      * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_text): Don't try
      to interpret single characters as UTF-8. Thanks to Hans Breuer.
      Use correct function name in warning messages.
      
      * gdk/win32/gdkevents-win32.c: Use correct parameter lists for the
      GSourceFuncs gdk_event_prepare and gdk_event_check.
      (gdk_event_get_graphics_expose): Do implement, use
      PeekMessage. Thanks to Hans Breuer.
      (event_mask_string): Debugging function to print an GdkEventMask.
      (gdk_pointer_grab): Use it.
      
      * gdk/win32/gdkfont-win32.c: The Unicode subrange that the
      (old) book I used claimed was Hangul actually is CJK Unified
      Ideographs Extension A. Also, Hangul Syllables were missing.
      Improve logging.
      
      * gdk/win32/gdkgc-win32.c: Largish changes.
      
      * gdk/win32/gdkim-win32.c (gdk_set_locale): Use
      g_win32_getlocale() from GLib, and not setlocale() to get current
      locale name.
      
      * gdk/win32/gdkprivate-win32.h
      * gdk/win32/gdkwin32.h: Move stuff from gdkprivate-win32.h to
      gdkwin32.h, similarily as in the X11 backend.
      
      * gdk/win32/gdkwindow-win32.c (gdk_propagate_shapes): Bugfix,
      assignment was used instead of equals in if test. Thanks to Hans
      Breuer.
      
      * gdk/win32/makefile.{cygwin,msc}
      * gtk/makefile.{cygwin,msc}: Updates. Better kludge to get the
      path to the Win32 headers that works also with the mingw compiler.
      
      * gtk/gtkstyle.c: Include <string.h>.
      1f149b3a
  12. 30 Apr, 2000 1 commit
  13. 26 Apr, 2000 1 commit
  14. 25 Apr, 2000 1 commit
  15. 24 Apr, 2000 1 commit
    • Owen Taylor's avatar
      Properly offset y coordinate accordining to render_y0. · a77a3d13
      Owen Taylor authored
      2000-04-22 05:27:43 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_scale_nearest): Properly
      	offset y coordinate accordining to render_y0.
      
      	* gdk-pixbuf/gdk-pixbuf-scale.c: Properly handle nonzero
      	dest_x, dest_y.
      a77a3d13
  16. 23 Apr, 2000 2 commits
  17. 22 Apr, 2000 2 commits
  18. 18 Apr, 2000 1 commit
  19. 17 Apr, 2000 1 commit
    • Karl Eichwalder's avatar
      Add . · 9f4c9470
      Karl Eichwalder authored
      * gdk-pixbuf/Makefile.am (INCLUDES): Add .
      9f4c9470
  20. 15 Apr, 2000 2 commits
    • Havoc Pennington's avatar
      clean up enum format, remove extra comma, this keeps scanner scripts from · 4fe58c01
      Havoc Pennington authored
      2000-04-15  Havoc Pennington  <hp@pobox.com>
      
      * gdk/gdkdnd.h: clean up enum format, remove extra comma,
      this keeps scanner scripts from getting confused.
      
      * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
      data, rather than void
      4fe58c01
    • Tor Lillqvist's avatar
      gtk/gtkclist.c (gtk_clist_motion) If we get a motion event with is_hint · affbc828
      Tor Lillqvist authored
      2000-04-15  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtkclist.c (gtk_clist_motion)
      * gtk/gtklist.c (gtk_list_motion_notify): If we get a motion event
      with is_hint FALSE, get x and y from the event. They used to be
      used uninitialised. The Win32 backend never sends motion events
      marked as hints. This for instance fixes the annoying file and
      font selector behaviour in the Win32 version.
      affbc828
  21. 14 Apr, 2000 1 commit
  22. 13 Apr, 2000 3 commits
    • Tor Lillqvist's avatar
      Export the gtk_private_signals and gtk_private_n_signals variables, they · a61a5ffe
      Tor Lillqvist authored
      2000-04-14  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtksignal.c: (Win32:) Export the gtk_private_signals and
      gtk_private_n_signals variables, they are used by some software,
      sigh.
      
      * gtk/gtkrc.c (get_gtk_sysconf_directory): (Win32:) Fetch the
      installation directory from the Registry, where the installer
      should have put it.
      a61a5ffe
    • James Henstridge's avatar
      when performing the configure check to see if gmodule works, set CFLAGS to · cf1a251f
      James Henstridge authored
      2000-04-13  James Henstridge  <james@daa.com.au>
      
      	* configure.in: when performing the configure check to see if
      	gmodule works, set CFLAGS to GLIB_CFLAGS and LIBS to GLIB_LIBS,
      	rather than the other way round.  Also, call AC_MSG_RESULT in the
      	even that dynamic modules were not supported.
      cf1a251f
    • Federico Mena Quintero's avatar
      Your eyes are bloodshot. · 37ac7d59
      Federico Mena Quintero authored
      
      
      Your eyes are bloodshot.
      
      Your mouth starts to foam.
      
      Your hands are shaking.
      
      You know your need your fix.
      
      NEED MORE ABSTRACTION!
      
      2000-04-12  Federico Mena Quintero  <federico@helixcode.com>
      
      	This comes from an excellent idea by Tim Janik (timj@gtk.org) to
      	hook to the last unref operation.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_set_last_unref_handler): New
      	function to set the last unref handler for a pixbuf.
      	(gdk_pixbuf_finalize): New function to actually finalize a pixbuf.
      	It calls the pixbuf's destroy notification function and frees the
      	GdkPixbuf structure itself.
      	(gdk_pixbuf_unref): Use the last unref function of the pixbuf if
      	available.
      
      	* gdk-pixbuf/gdk-pixbuf-private.h (struct _GdkPixbuf): New fields
      	for the last unref handler and its user data.
      
      	* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use
      	g_new0() to allocate the pixbuf.
      
      	* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
      	Fixed the call to gtk_signal_new() for the "frame_done" signal; it
      	was not specifying the `frame' argument.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c
      	(gdk_pixbuf_animation_get_width): Fixed docstring.
      	(gdk_pixbuf_animation_get_height): Likewise.
      	(gdk_pixbuf_animation_get_num_frames): Likewise.
      	(gdk_pixbuf_animation_get_frames): Likewise.
      
      	* doc/gdk-pixbuf-sections.txt: Updated with the new functions and
      	types.
      
      	* doc/tmpl/gdk-pixbuf.sgml: Added the description for GdkColorspace.
      
      	* doc/tmpl/scaling.sgml: Added the description for GdkInterpType.
      
      	* doc/tmpl/refcounting.sgml: Updated with the information about
      	the last unref handler.
      
      	* doc/tmpl/*.sgml: Markup tweaks.
      
      	* gdk-pixbuf/Makefile.am (libgnomecanvaspixbuf_la_LDFLAGS): Sigh,
      	update the libtool version number for libgnomecanvaspixbuf as
      	well.
      	(libpixbufloader_*_la_LDFLAGS): The loaders need to be versioned
      	as well, or the old ones won't work with the new stuff.  Also,
      	renamed the modules as follows.
      
      	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_load_module): Now the
      	modules are called "libpixbufloader-<format>.so" instead of
      	"libpixbuf-<format>.so".  They needed renaming so that the new
      	loaders won't overwrite the old ones; even with the versioning
      	stuff, the new .so symlink to the .so.1.0.0 would overwrite the
      	old real .so file.
      37ac7d59
  23. 12 Apr, 2000 1 commit
    • Paolo Molaro's avatar
      shut up cvs. · a106984b
      Paolo Molaro authored
      
      2000-04-12  Paolo Molaro <lupus@debian.org>
      
      	* .cvsignore, src/.cvsignore: shut up cvs.
      a106984b
  24. 11 Apr, 2000 2 commits
    • Ville Hautamaki's avatar
      Pauli Virtanen updated fi.po. · 33e7c9bc
      Ville Hautamaki authored
      33e7c9bc
    • Federico Mena Quintero's avatar
      Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) · 829ed024
      Federico Mena Quintero authored
      2000-04-11  Federico Mena Quintero  <federico@helixcode.com>
      
      	Most of this patch is based on a patch by Havoc Pennington
      	(hp@redhat.com) to make GdkPixbuf's structures opaque and to
      	remove the libart dependency.
      
      	* gdk-pixbuf/gdk-pixbuf.h: Removed the public structures.
      	(GdkColorspace): New enum that for now only contains
      	GDK_COLORSPACE_RGB.
      	(GdkPixbufDestroyNotify): New type for the pixbuf's pixels destroy
      	notification function.
      	(GdkInterpType): New num with interpolation types.
      
      	* *.[ch]: Replace the libart stuff with our own stuff.
      
      	* pixops/*.[ch]: Likewise.
      
      	* gdk-pixbuf/gdk-pixbuf-private.h: New file with the private
      	declarations of the GdkPixbuf structures.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_new_from_art_pixbuf):
      	Removed function.
      	(gdk_pixbuf_get_format): Constify.
      	(gdk_pixbuf_get_n_channels): Constify.
      	(gdk_pixbuf_get_has_alpha): Constify.
      	(gdk_pixbuf_get_bits_per_sample): Constify.
      	(gdk_pixbuf_get_pixels): Constify.
      	(gdk_pixbuf_get_width): Constify.
      	(gdk_pixbuf_get_height): Constify.
      	(gdk_pixbuf_get_rowstride): Constify.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_copy): New function to copy
      	a pixbuf.
      
      	* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Added a
      	bits_per_sample argument; currently only 8 bits per sample are
      	supported.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_frame_get_pixbuf):
      	New accessor.
      	(gdk_pixbuf_frame_get_x_offset): New accessor.
      	(gdk_pixbuf_frame_get_y_offset): New accessor.
      	(gdk_pixbuf_frame_get_delay_time): New accessor.
      	(gdk_pixbuf_frame_get_action): New accessor.
      
      	* gdk-pixbuf/gdk-pixbuf-render.c
      	(gdk_pixbuf_render_pixmap_and_mask): Instead of returning a solid
      	mask rectangle for pixbufs without an alpha channel, set the
      	*mask_return to NULL.
      
      	* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_add_alpha): Constify.
      
      	* gdk-pixbuf/gdk-pixbuf-scale.c: Fix includes.
      
      	* gdk-pixbuf/gdk-pixbuf-scale.c (gdk_pixbuf_scale): Added some
      	preconditions.  Maybe we should also check for the colorspace,
      	bits per pixel, and such.
      	(gdk_pixbuf_composite): Likewise.
      	(gdk_pixbuf_composite_color): Likewise.
      	(gdk_pixbuf_scale_simple): Likewise, and fail gracefully if we
      	cannot allocate the new pixbuf.
      	(gdk_pixbuf_composite_color_simple): Likewise.
      
      	* gdk-pixbuf/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_render):
      	Use art_rgb_rgba_affine() or art_rgb_affine() since we no longer
      	have an ArtPixBuf.
      
      	* gdk-pixbuf/io-bmp.c: Fix includes.
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_scale_nearest): Fixed cast in
      	an lvalue.
      
      	* TODO: Populated.
      
      	* configure.in: Removed checks for libart.
      
      	* gdk-pixbuf/Makefile.am: Removed references to libart.
      	(noinst_HEADERS): Added gdk-pixbuf-private.h.
      
      	* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_LDFLAGS): Incremented
      	the version number of the libtool library to indicate that this
      	definitely is not compatible with the old usage.  I know you love
      	me.  I know you do.
      
      	* configure.in: Bumped version number to 0.7.0.
      
      	* README: Updated.
      
      	* gdk-pixbuf-config.in (--libs): We no longer require libart.
      
      	* DEPENDS.libgdk_pixbuf: We no longer depend on libart.
      
      	* gdk-pixbuf.spec.in: Updated, but I don't guarantee anything.
      829ed024
  25. 10 Apr, 2000 1 commit