1. 26 Jul, 2000 1 commit
  2. 25 Jul, 2000 2 commits
    • Tor Lillqvist's avatar
      Include the build directory. · 6d85376b
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Include the build directory.
      
      	* configure.in: Generate build/Makefile and build/win32/Makefile.
      
      	* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Updates.
      
      	* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
      	PANGOWIN32_LIBS and gdk_pixbuf.
      
      	* gdk/win32: Compiles, but no doubt doesn't work at all.
      
      	* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
      
      	* gdk/win32/gdkinput.c: New file, temporarily.
      
      	* gdk/win32/gdkinput-win32.h: New file
      
      	* gdk/win32/gdkinputprivate.h: Remove.
      
      	* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
      	made externally visible.
      6d85376b
    • Tor Lillqvist's avatar
      makefile.cygwin Renamed. Use iconv, not native2ascii. · 333751c7
      Tor Lillqvist authored
      2000-07-25  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.cygwin
      	* makefile.mingw: Renamed. Use iconv, not native2ascii.
      333751c7
  3. 24 Jul, 2000 1 commit
  4. 22 Jul, 2000 2 commits
    • Tor Lillqvist's avatar
      Win32 build setup: · 67a4b0c3
      Tor Lillqvist authored
      2000-07-23  Tor Lillqvist  <tml@iki.fi>
      
      	Win32 build setup:
      
      	* makefile.mingw.in
      	* pixops/makefile.mingw.in
      	* pixbuf_*.def: New files.
      
      	* Makefile.am
      	* pixops/Makefile.am: Add them. Add rule to generate makefile.mingw.
      
      	* gdk-pixbuf-io.c (gtk_win32_get_installation_directory):
      	New function, to get the GTK+ installation directory from
      	the Windows Registry, where the installation program
      	for whatever software includes GTK+ has stored it.
      
      	Used to avoid having hardcoding the directory where to look for
      	loaders. This function is needed by gtk, too, so it should
      	really be just in one place. Maybe a small static library
      	one level up from here?
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file)
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
      	Open file in binary mode. This *is* standard C. (No-op on Unix,
      	of course.)
      
      	* io-jpeg.c: If we don't HAVE_SIGSETJMP, use normal setjmp().
      
      	* io-tiff.c: Use g_get_tmp_dir(). If we don't HAVE_MKSTEMP, use
      	mktemp() and open().
      	(gdk_pixbuf__tiff_image_stop_load): g_free() also the tempname.
      
      	* pixops/*.S: The Gas from mingw32 doesn't like the .type
      	pseudo-op. Conditionalise on __MINGW32__, but probably
      	should conditionalise on Gas version instead? Or could we
      	do without .type on all systems?
      
      	* pixops/timescale.c: Use g_get_current_time()
      	instead of gettimeofday().
      67a4b0c3
    • Owen Taylor's avatar
      Fix bug where redraw wasn't being done properly when height of dirty · a0e5fd24
      Owen Taylor authored
      Sat Jul 22 11:16:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c (changed_handler): Fix bug where
      	redraw wasn't being done properly when height of
      	dirty region changed.
      
      	* demos/Makefile.am: Remove various references to
      	-lgmodule
      
      	* Makefile.am (test_gdk_pixbuf_LDADD): Remove -lgmodule
      a0e5fd24
  5. 19 Jul, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Include files outside of the extern "C" block. Makes some C++ compiler · b7b90b7c
      Sebastian Wilhelmi authored
      
      2000-07-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gdk-pixbuf/gdk-pixbuf.h, gtk/gtkhsv.h, gtk/gtktextbtree.h,
      	gtk/gtktextbuffer.h, gtk/gtktextchild.h, gtk/gtktextdisplay.h,
      	gtk/gtktextiter.h, gtk/gtktextiterprivate.h, gtk/gtktextlayout.h,
      	gtk/gtktextmarkprivate.h, gtk/gtktextsegment.h, gtk/gtktexttag.h,
      	gtk/gtktexttagtable.h, gtk/gtktexttypes.h, gtk/gtktextview.h,
      	gtk/gtktypeutils.h: Include files outside of the extern "C"
      	block. Makes some C++ compiler happy. Reported by Denis Vakatov
      	<vakatov@peony.nlm.nih.gov>.
      
      	I really hope not to have caused a merging nightmare for all
      	the branches out there. Otherwise I'll be available for crucifixion.
      b7b90b7c
  6. 14 Jul, 2000 5 commits
    • Owen Taylor's avatar
      Released 1.3.1 · 6e62d57f
      Owen Taylor authored
      Fri Jul 14 18:40:39 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* Released 1.3.1
      6e62d57f
    • Owen Taylor's avatar
      include <string.h>. · 6fbfab22
      Owen Taylor authored
      Sun Jul  9 21:31:23 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c:
      	include <string.h>.
      6fbfab22
    • Owen Taylor's avatar
      use FALSE for size_only most of the time when calling · e3e30009
      Owen Taylor authored
      Fri Jul 14 16:21:26 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextlayout.c: use FALSE for size_only most
      	of the time when calling gtk_text_layout_get_line_display()
      	to avoid causing double reshapes when a redraw follows
      	immediately after.
      
      Tue Jul 11 11:13:40 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrange.c (gtk_range_default_[hv]slider_update): Invalidate
      	appropriate region and gdk_window_process_updates() so trough
      	updating doesn't lag behind the window being scrolled.
      
              * gdk/gdkgc.c: Make parent_class pointer static.
      
      Sun Jul  9 21:31:23 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c:
      	include <string.h>.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Fix
      	cut-and-paste error in computing memory offset for 4 channels.
      e3e30009
    • Owen Taylor's avatar
      Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4 · d5545a0f
      Owen Taylor authored
      Fri Jul 14 12:22:49 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am gtk-config.m4 gtk.m4: Move
      	gtk-config to gtk-config-2.0 move gtk_.m4 to
      	gtk-2.0.m4
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am demos/Makefile.am: Change
      	library names to libgtk-1.3.la, etc, so that we
      	can distinguish gtk-1.2 and gtk-2.0 on the linkline.
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am gdk/x11/Makfile.am
      	Move include files into /usr/include/gtk-2.0,
      	/usr/lib/gtk-2.0/include/
      
      	* autogen.sh acconfig.h configure.in gtk/gtkmain.c
      	gtk/gtkintl.h: Change package for gettext from
      	gtk+ to gtk20. Put hack in autogen.sh to modify
      	po/Makefile.in.in after gettextize to make this
      	possible.
      
      	* gtk+.spec: Some updates, not tested.
      
      	* gdk-pixbuf/Makefile.am: Move loaders into
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/loaders.
      
      	* gtk/Makefile.am gtk/gtkrc.c: Move RC file locations
      	$(sysconfdir)/gtk-2.0 ~/.gtkrc-2.0; theme subdir
      	to THEMENAME/gtk-2.0/. Move engine directory  to
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/engines.
      d5545a0f
    • Valek Frob's avatar
      Updated russian translation. · c8a23554
      Valek Frob authored
      c8a23554
  7. 13 Jul, 2000 1 commit
  8. 12 Jul, 2000 2 commits
  9. 11 Jul, 2000 1 commit
    • Tim Janik's avatar
      add xthickness and ythickness to GtkRcStyle and add the necessary tokens. · c698cc54
      Tim Janik authored
      Tue Jul 11 06:38:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkrc.h: add xthickness and ythickness to GtkRcStyle and
              add the necessary tokens.
      
              * gtk/gtkrc.c (gtk_rc_style_init): properly initiality the rc style.
              (gtk_rc_style_to_style): copy thicknesses.
              (gtk_rc_init_style): apply thicknesses.
              (gtk_rc_parse_style): parse xthickness and ythickness.
      
              * gdk/x11/gdkdnd-x11.c: silence compiler in switch() statements.
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new):
              (gdk_window_new):
              (_gdk_windowing_window_init):
              * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new):
              (gdk_pixmap_create_from_data):
              (gdk_bitmap_create_from_data):
              (gdk_pixmap_new):
              * gdk/x11/gdkimage-x11.c (gdk_image_get):
              (gdk_image_new):
              * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new):
              * gdk/x11/gdkdnd-x11.c (gdk_drag_context_new):
              * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get):
              (gdk_colormap_get_system):
              (gdk_colormap_new):
              * gdk/gdkwindow.c (gdk_window_init):
              * gtk/gtkstyle.c (gtk_style_new):
              * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done):
              * gdk/gdkpixmap.c (gdk_pixmap_init):
              * gtk/gtkrc.c (gtk_rc_style_new):
              use g_object_new() instead of g_type_create_instance() which
              is a private function for fundamental type implementations.
      
      Tue Jul 11 06:20:14 2000  Tim Janik  <timj@gtk.org>
      
              * io-gif.c (gdk_pixbuf__gif_image_load_animation):
              * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data):
              * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
              use g_object_new() instead of g_type_create_instance() which
              is a private function for fundamental type implementations.
      c698cc54
  10. 10 Jul, 2000 1 commit
  11. 06 Jul, 2000 2 commits
    • Owen Taylor's avatar
      Add check for db2html · bd70afb8
      Owen Taylor authored
      Thu Jul  6 16:12:14 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Add check for db2html
      
      Thu Jul  6 14:53:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktypeutils.c (gtk_type_init): Add a temporary
      	hack to set glib_debug_objects based on gtk_debug_flags.
      
      Thu Jul  6 14:12:13 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* INSTALL.in: Update the Prerequisites section.
      
      	* Makefile.am demos/Makefile.am docs/Makefile.am
      	docs/tutorial/Makefile.am gdk/x11/Makefile.am
      	gdk/linux-fb/Makefile.am: Dist fixes
      bd70afb8
    • Owen Taylor's avatar
      Use GTK+ version soname scheme for gdk-pixbuf. · c9cade8d
      Owen Taylor authored
      Thu Jul  6 11:49:47 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am (libgdk_pixbuf_la_LDFLAGS): Use GTK+ version
      	soname scheme for gdk-pixbuf.
      c9cade8d
  12. 04 Jul, 2000 1 commit
  13. 24 Jun, 2000 2 commits
    • Tim Janik's avatar
      make the current version number 1.3.1 (binary age 0, interface age 0). · a59aadf9
      Tim Janik authored
      Fri Jun 23 17:54:23 2000  Tim Janik  <timj@gtk.org>
      
              * configure.in: make the current version number 1.3.1 (binary age 0,
              interface age 0).
      
              * gtkfeatures.h, gtkfeatures.h.in: dejavue, get rid of these *again*,
              gtkcompat.h is all we want.
      
              * gtk/gtktypeutils.[hc]: define most of the primitive types in terms of
              GLib primitive types. fixed g_type_register_fundamental() argument
              ordering.
      
              * gtk-config.in (lib_gtk): add -lgdk_pixbuf so third party code
              compiles.
      
              * gdk-pixbuf-loader.[hc]: get rid of unistd.h include.
              object code cleanup, comment trigraph fixes, etc...
      a59aadf9
    • Andraz Tori's avatar
      Updated Slovenian translations · 4c1de430
      Andraz Tori authored
      4c1de430
  14. 23 Jun, 2000 1 commit
  15. 22 Jun, 2000 1 commit
    • Havoc Pennington's avatar
      Convert GdkPixbuf to GObject, leaving it opaque (i.e. derivation is not · 08f90167
      Havoc Pennington authored
      2000-06-21  Havoc Pennington  <hp@pobox.com>
      
      * gdk-pixbuf.c: Convert GdkPixbuf to GObject, leaving it opaque
      (i.e. derivation is not allowed, and there are no virtual methods
      anyway).
      (gdk_pixbuf_preinit): Call g_type_init() here.
      (gdk_pixbuf_init): Add a user-friendly init function, for users
      of standalone gdk-pixbuf
      
      * gdk-pixbuf-animation.c: Convert to GObject, in the same
      way GdkPixbufAnimation was done.
      
      * gdk-pixbuf.h: Remove gdk_pixbuf_set_unref_handler() and
      gdk_pixbuf_finalize() from API, since these are broken and don't
      make sense with new GObject stuff.
      
      2000-06-21  Havoc Pennington  <hp@pobox.com>
      
      * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Fix bug where
      we didn't check window->bg_pixmap != GDK_NO_BG.
      
      * gtk/gdk-pixbuf-loader.c: Change to reflect GObject-ification of
      gdk-pixbuf
      08f90167
  16. 21 Jun, 2000 1 commit
    • Owen Taylor's avatar
      Welcome aboard, gdk-pixbuf. · 3977f42f
      Owen Taylor authored
      Wed Jun 21 16:38:13 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf/* docs/reference/gdk-pixbuf/*: Welcome aboard,
      	gdk-pixbuf.
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
      	fixups for GObject.
      
      	* gdk/Makefile.am gdk/gdkpixbuf-render.[ch] gdk/gdkpixbuf.[ch]: Bits of
      	gdk-pixbuf with GDK dependencies moved into GDK.
      
      	* gtk/Makefile.am gtk/gdk-pixbuf-loader.[ch]: Temporarily
      	move gdk-pixbuf-loader here until GObject has signals.
      
      	* demos/: New directory of demos. Move demos from
      	gdk-pixbuf here.
      
      	* demos/pixbuf-init.c: Small bit of code to check for
      	loaders in ../gdk-pixbuf/.libs/gdk-pixbuf, and if found,
      	set GDK_PIXBUF_MODULEDIR appropriately.
      
      	* gdk/gdkcompat.h: Remove GDK_DRAWABLE_PIXMAP compat
      	define which no longer makes sense.
      3977f42f
  17. 20 Jun, 2000 1 commit
    • Elliot Lee's avatar
      (follow-on from previous commit) · ae661bcc
      Elliot Lee authored
      
      
      (follow-on from previous commit)
      2000-06-18  Elliot Lee  <sopwith@redhat.com>
      
      * gtk/gtkwindow.c: Don't allow creation of a window bigger than the screen.
      
      * gtk/gtkrange.c: Fix the mega-jumpy-with-lagged-events scrollbar
      problem by calculating event position relative to the trough
      rather than the slider.
      * gtk/gtkdnd.c, gtk/gtkcolorsel.c: Include FB headers if appropriate.
      
      * gdk/gdkgc.h: Add GDK_NOR.
      * configure.in, Makefile.am: Add modules top level dir
      * configure.in: Only use pangox library if building x11 target.
      * gdk/gdkdnd.h: Add GDK_DRAG_PROTO_LOCAL enum for future intra-app use.
      ae661bcc
  18. 09 Jun, 2000 1 commit
    • Larry Ewing's avatar
      setjmp for the png error handler. It seems setting the error handling · e8d0d8ed
      Larry Ewing authored
      2000-06-09  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-png.c (gdk_pixbuf__png_image_load_increment):
      	setjmp for the png error handler.  It seems setting the error
      	handling functions does not avoid the jump, and so not calling
      	setjmp was causing the incremental loader to jump into lala land.
      	(gdk_pixbuf__png_image_begin_load): setjmp for error handling, I'm
      	not sure this one is actually required but the docs say it must be
      	set for every call to a png_* function.
      	Also changed the comment to reflect the fact that setting the
      	error handlers does _not_ avoid the longjmp.
      e8d0d8ed
  19. 06 Jun, 2000 1 commit
    • Larry Ewing's avatar
      take frame offest into account when trying to calculate the animation · ee622ceb
      Larry Ewing authored
      2000-06-06  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done):
      	take frame offest into account when trying to calculate the
      	animation bbox.  Also set the width to the width not the height.
      	(gdk_pixbuf_loader_frame_done): cycle over the frames to calculate
      	bbox since only now do we have all the offset information for each
      	frame.
      ee622ceb
  20. 03 Jun, 2000 1 commit
  21. 31 May, 2000 1 commit
    • Not Zed's avatar
      Initialise the error handler exit routine to our own. Note this means that · 3803d51e
      Not Zed authored
      2000-05-30  Not Zed  <NotZed@HelixCode.com>
      
      	* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_begin_load):
      	Initialise the error handler exit routine to our own.  Note this
      	means that every function that accesses the jpeg lib on this
      	object MUST do a setjmp.
      	(gdk_pixbuf__jpeg_image_stop_load): setjmp before accessing jpeg
      	lib for handling fatal error.
      	(gdk_pixbuf__jpeg_image_load_increment): And here too.  So now
      	your applications dont quit if there's a jpeg error!
      3803d51e
  22. 30 May, 2000 1 commit
  23. 28 May, 2000 2 commits
  24. 23 May, 2000 1 commit
  25. 22 May, 2000 1 commit
  26. 18 May, 2000 1 commit
  27. 10 May, 2000 1 commit
  28. 08 May, 2000 1 commit
  29. 05 May, 2000 2 commits