1. 26 Jun, 2001 2 commits
    • Owen Taylor's avatar
    • Tim Janik's avatar
      hm, second attempt. it's fight CVS time again. · 0b741857
      Tim Janik authored
      Tue Jun 26 09:48:02 2001  Tim Janik  <timj@gtk.org>
      
              * Makefile.am (noinst_PROGRAMS): get rid of make-inline-pixbuf
      
              * gdk-pixbuf-data.[hc]: provide gdk_pixbuf_new_from_stream()
              instead from gdk_pixbuf_new_from_inline().
      
              * gdk-pixdata.[hc]: auxillary GdkPixdata structure, public
              installed API for applications that need to serialize/deserialize
              on their own (gimp, BEAST).
      
              * gdk-pixbuf/gdk-pixbuf-csource.c: provide publically installed
              program that can dump images in CSource format and Pixbuf
              stream format. supports RLE encoding, MACRO formatting etc...
              invoke with --help.
      
      Tue Jun 26 10:04:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkiconfactory.c:
              * gtk/gtkitemfactory.c: use gdk_pixbuf_new_from_stream(). fixed up
              item factory so inlined pixbufs actually work.
      0b741857
  2. 25 Jun, 2001 1 commit
  3. 13 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Updates · b858eb9f
      Havoc Pennington authored
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* NEWS: Updates
      
      	* configure.in (GTK_MINOR_VERSION): bump version to 1.3.6
      
      	* gtk/Makefile.am: glib_genmarshal already contains top_builddir
      b858eb9f
  4. 08 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      remove bogus g_return_if_fail · 30d3e85d
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
      	bogus g_return_if_fail
      
      	* io-gif.c (gif_get_lzw): if delay time is 0 or smaller than
      	likely timeout resolution, set it to an arbitrarily-chosen short
      	delay.
      	Fixes bug #55953 from warmenhoven@yahoo.com
      30d3e85d
  5. 07 Jun, 2001 2 commits
  6. 05 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      clamp the value to the range that was set · b32e7c9b
      Havoc Pennington authored
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_set_range): clamp the value
      	to the range that was set
      
      	* gtk/gtkrange.c: add value_changed signal, primarily
      	intended for use with GtkScale
      	(gtk_range_set_increments): new function
      	(gtk_range_set_range): new function with weird name
      	(gtk_range_set_value): new function
      	(gtk_range_get_value): new function
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_value): rename
      	from gtk_spin_button_get_value_as_float(). Compat #define
      	added for get_value_as_float.
      
      	* gtk/gtkhscale.c (gtk_hscale_new_with_range): new function
      
      	* gtk/gtkvscale.c (gtk_vscale_new_with_range): new function
      
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* test-loaders.c (main): use putenv not setenv, reported by
      	 Armin Theissen
      b32e7c9b
  7. 04 Jun, 2001 2 commits
    • Havoc Pennington's avatar
      Handle case where we need to parse the xsetting as if it were an RC file · 1b3c9214
      Havoc Pennington authored
      2001-05-10  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtksettings.c (gtk_settings_get_property): Handle case where
      	we need to parse the xsetting as if it were an RC file string.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial
      	value of palette from settings, not from static variable
      
      	* gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to
      	xsettings translation table
      
      	* gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because
      	hardcoding the toolbar style conflicts with new customizable
      	toolbar style philosophy
      	(gtk_toolbar_class_init): add settings for default toolbar style;
      	these are used unless the app specifically forces a toolbar style
      
      	* gtk/gtksettings.c (settings_install_property_parser): only
      	return at the start if we warn and parser == NULL
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the
      	palette changed handler so we don't notify dead color selections
      
      	* gtk/gtkstyle.c (gtk_default_draw_shadow): handle
      	xthickness/ythickness of 0 or 1 properly
      	(gtk_default_draw_resize_grip): clear the background behind the
      	resize grips, and align to bottom right if we square the
      	area to be drawn.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on
      	statusbar label to 1, so it doesn't make toplevels resize oddly
      	(gtk_statusbar_size_request): add grip size to request
      	(gtk_statusbar_size_allocate): hack so the hbox still works with
      	the grip size in the request
      
      	* gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix
      	bug where showing all on a toplevel makes the toolbar
      	button text appear despite the toolbar mode
      
      	* gtk/gtkmenubar.c: add internal padding style property
      
      	* gtk/gtktoolbar.c: Add internal padding style property; add
      	shadow type style property
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget
      	state; and put Container::border_width outside the frame
      
      	* gtk/gtktextview.c: don't draw focus rectangle if we're in
      	interior focus mode, we just use blinking cursor
      1b3c9214
    • Havoc Pennington's avatar
      patch from Szekeres Istvan, bug #52560 · 47af28ac
      Havoc Pennington authored
      2001-06-04  Havoc Pennington  <hp@redhat.com>
      
      	* io-pnm.c (pnm_skip_whitespace): patch from Szekeres Istvan,
      	bug #52560
      47af28ac
  8. 01 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Initial stab at getting the focus code to work. · 741c71eb
      Jonathan Blandford authored
      Fri Jun  1 18:54:47 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c: (gtk_tree_view_focus): Initial stab at
      	getting the focus code to work.
      	(gtk_tree_view_class_init): Add a bunch of keybindings.
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_set_cell_data_func):
      	s/GtkCellDataFunc/GtkTreeCellDataFunc.
      	(_gtk_tree_view_column_set_tree_view): Use "notify::model" instead
      	of "properties_changed" to help justify the death of the latter
      	signal. (-:
      
      	* tests/testtreefocus.c (main): Let some columns be focussable to
      	test focus better.
      741c71eb
  9. 29 May, 2001 1 commit
  10. 28 May, 2001 1 commit
    • Jonathan Blandford's avatar
      Patch from Helmethead <hoshem@mel.comcen.com.au> to fix up bmp decoder to: · a076a9eb
      Jonathan Blandford authored
      Mon May 28 14:21:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* io-bmp.c: Patch from Helmethead <hoshem@mel.comcen.com.au> to
      	fix up bmp decoder to:
      	 - adds 16 bpp bmp support (bug #53884)
      	 - adds OS/2 1.x format bmp support (bug #54964)
      	 - adds 4 bpp RLE compressed bmp support
      	 - adds 1 bpp colormap support
      	 - fixes negative height (top down) bmp support.
      a076a9eb
  11. 25 May, 2001 1 commit
  12. 20 May, 2001 1 commit
    • Owen Taylor's avatar
      Remove an excess $(GLIB_LIBS). · 673a7463
      Owen Taylor authored
      Sun May 20 12:53:49 2001  Owen Taylor  <otaylor@redhat.com>
      
              * Makefile.am (libgdk_pixbuf_1_3_la_LDFLAGS): Remove an
              excess $(GLIB_LIBS).
      673a7463
  13. 16 May, 2001 1 commit
    • Owen Taylor's avatar
      Require libtool-1.4, automake-1.4p1. · 55b115ac
      Owen Taylor authored
      Sun May 13 12:01:12 2001  Owen Taylor  <otaylor@redhat.com>
      
              * autogen.sh (have_automake): Require libtool-1.4,
              automake-1.4p1.
      
              * acinclude.m4: Remove libtool macros.
      
              * gdk-pixbuf/Makefile.am: Add dependencies to loade
              modules.
      
              * gdk/Makefile.am: Add dependency on libgdk_pixbuf.la
              for libgdk.
      
              * gtk/Makefile.am: Add dependency on libgdk_pixbuf.la
              libgdk.la for libgtk.
      
              * modules/input/Makefile.am: Make modules have full
              dependencies.
      55b115ac
  14. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  15. 22 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Add $(MATH_LIB). · aa25a73c
      Owen Taylor authored
      Sun Apr 22 15:51:32 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am (LDADDS): Add $(MATH_LIB).
      aa25a73c
  16. 18 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      fix to properly queue resizes when the image is set · 60b6a010
      Havoc Pennington authored
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkimage.c: fix to properly queue resizes when the image is
      	set
      
      	* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
      	if the insertion point isn't editable
      
      	* demos/gtk-demo/images.c: Added a GtkImage demo
      
      	* demos/gtk-demo/drawingarea.c: drawing area demo
      
      	* demos/gtk-demo/menus.c (create_menu): cleanups
      
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
      	given color.
      60b6a010
  17. 04 Apr, 2001 1 commit
    • Tim Janik's avatar
      Released Gtk+-1.3.3. · dcb94348
      Tim Janik authored
      Wed Apr  4 09:18:18 2001  Tim Janik  <timj@gtk.org>
      
              * Released Gtk+-1.3.3.
      
      Wed Apr  4 07:42:23 2001  Tim Janik  <timj@gtk.org>
      
              * gdk/Makefile.am (EXTRA_DIST): add makeenums.pl to EXTRA_DIST.
      dcb94348
  18. 19 Mar, 2001 1 commit
    • Tor Lillqvist's avatar
      gdk/win32/gdkdrawable-win32.c Use correct casts in debugging output. · c5f68d25
      Tor Lillqvist authored
      2001-03-19  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdrawable-win32.c
      	* gdk/win32/gdkimage-win32.c: Use correct casts in debugging
      	output.
      
      	* demos/testpixbuf-drawable.c: If GDK_WINDOWING_WIN32, include
      	gdkwin32.h.
      
      2001-03-19  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.mingw.in: Handle gdk-pixbuf-marshal.c.
      
      	* gdk_pixbuf.def: Update.
      
      	* pixbufloader_*.def: Just export the fill_vtable functions now.
      c5f68d25
  19. 18 Mar, 2001 1 commit
  20. 15 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      Delete. · 872efdd9
      Havoc Pennington authored
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkdata.h, gtk/gtkdata.c: Delete.
      
      	* gtk/gtk.h: remove gtkdata.h
      
      	* gtk/Makefile.am: remove gtkdata
      
      	* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
      	not "disconnect" on the adjustments.
      
      	* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
      	GtkData
      
      	* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
      	not GtkData
      
      	* configure.in: handle case where X render exists, but Pango lacks
      	Xft support.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
      	from gdk-pixbuf-marshal.h, fixes parallel makes.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple
      
      	* gtk/gtk.types: remove gtk_data_get_type
      872efdd9
  21. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e
  22. 20 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      prepend underscore (gdk_pixbuf_get_named_module): prepend underscore · 131aac57
      Havoc Pennington authored
      2001-02-18  Havoc Pennington  <hp@pobox.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): prepend underscore
      	(gdk_pixbuf_get_named_module): prepend underscore
      	(gdk_pixbuf_get_module): prepend underscore
      
      2001-02-18  Havoc Pennington  <hp@pobox.com>
      
      	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): add gdk-pixbuf-marshal.h
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: fixes
      131aac57
  23. 19 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      hmm, someone changed GLib without fixing GTK · 027c3154
      Havoc Pennington authored
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_valist): hmm, someone
      	changed GLib without fixing GTK
      
      	* gtk/gtkrange.h: Rename all the stupid implementation detail
      	functions to have an underscore in front. Most of them should
      	probably just go away, but for starters don't export them.
      	Bug #50482
      
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): const fix
      027c3154
  24. 18 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      docs · 1a1e293d
      Havoc Pennington authored
      2001-02-17  Havoc Pennington  <hp@pobox.com>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type): docs
      1a1e293d
  25. 07 Feb, 2001 1 commit
  26. 06 Feb, 2001 1 commit
  27. 04 Feb, 2001 1 commit
    • Tim Janik's avatar
      removed gtk_signal_init() compat define. · 89a0a894
      Tim Janik authored
      Sun Feb  4 07:55:17 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.h: removed gtk_signal_init() compat define.
      
              * gtk/gtktypeutils.[hc]: gtk_tpye_init() take an additional argument
              GTypeDebugFlags debug_flags and pass it on to g_type_init ();
              deprecated this function.
      
              * gdk/gdk.c (gdk_init_check): call g_type_init () with 0 as
              argument.
      
      Sun Feb  4 07:45:45 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkdebug.h: nuke GTK_DEBUG_OBJECTS and GTK_DEBUG_SIGNALS.
      
      Sun Feb  4 07:59:57 2001  Tim Janik  <timj@gtk.org>
      
              * gdk-pixbuf.h: DOH! don't include glib/gobject.h but glib-object.h,
              we finally need the gobject->gruntime rename.
      
              * *.c: scratched calls to g_type_init(), there's simply no point in
              doing that, use gtk_init().
      89a0a894
  28. 02 Feb, 2001 1 commit
  29. 31 Jan, 2001 1 commit
  30. 26 Jan, 2001 1 commit
  31. 22 Jan, 2001 2 commits
    • Havoc Pennington's avatar
      Add built marshaller files to support GdkPixbufLoader signals · e0fee22e
      Havoc Pennington authored
      2001-01-22  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am: Add built marshaller files to support
      	GdkPixbufLoader signals
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): have
      	GDK_PIXBUF_MODULEDIR unconditionally replace the compiled-in
      	module location, rather than acting as a fallback, because we are
      	using GDK_PIXBUF_MODULEDIR to use gdk-pixbuf before installing it.
      
      	* gdk-pixbuf.h: include gdk-pixbuf-loader.h
      
              * gdk-pixbuf-loader.h, gdk-pixbuf-loader.c: Move back over here
      	from gtk, and add error to close(), because stop_load may do
      	parsing of the image.
      
      	* pixops/have_mmx.S (_pixops_have_mmx): add newline at end of file
      
              * io-*.c: make individual operations static, and add fill_vtable
      	functions which are exported. Fix the collection of type warnings
      	that surfaced, including a number of functions that didn't
      	properly take a GError and some that weren't
      	const-correct. Involved adding error handling for a few loaders.
      
      	* gdk-pixbuf-io.h: Add error reporting to stop_load function
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): change to just look up
      	a function that fills in the GdkPixbufModule vtable, instead of
      	looking up all the image functions individually; this means we
      	can get type safety within modules for the loader functions.
      	Also it means you don't have to keep the statically compiled and
      	GModule versions in sync.
      
      	* test-gdk-pixbuf.c (main): remove gdk_pixbuf_init()
      
      	* make-inline-pixbuf.c (main): remove call to gdk_pixbuf_init()
      
      	* gdk-pixbuf.h: nuke gdk_pixbuf_init()
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_frame_get_type): g_type_init
      	() here
      
      	* gdk-pixbuf.c (gdk_pixbuf_get_type): g_type_init () here
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_get_type):
      	g_type_init() here
      
      
      2001-01-22  Havoc Pennington  <hp@redhat.com>
      
      	* demos/testanimation.c: fix to reflect gdk-pixbuf changes
      
      	* demos/testpixbuf.c: fix to reflect gdk-pixbuf changes
      
      	* gtk/gdk-pixbuf-loader.c, gtk/gdk-pixbuf-loader.h:
      	Remove, move back to gdk-pixbuf
      
      	* gtk/gtktextiter.c, gtk/gtktextiter.h: add sentence equivalents
      	to all the word functions
      
      	* gtk/gtktextview.c (gtk_text_view_start_cursor_blink): return
      	before doing anything on NULL layout or if we don't have the focus
      
      	* gtk/testtext.c (fill_example_buffer): "justification"
      
      	* gtk/gtktexttag.h, gtk/gtktexttag.c: change the tag attribute
      	to be called "justification" not "justify"
      
      	* demos/gtk-demo/textview.c (create_tags): "justification"
      
      	* gtk/gtktextlayout.c (set_para_values): Handle char-wise wrapping
      e0fee22e
    • John Harper's avatar
      new pixbuf loader, for X bitmap files. Basically a collision between · 8c9eb8b6
      John Harper authored
      2001-01-20  John Harper  <jsh@eazel.com>
      
      	* io-xbm.c: new pixbuf loader, for X bitmap files. Basically a
      	collision between Xlib's RdBitF.c and io-tiff.c
      
      	* gdk-pixbuf-io.c, Makefile.am, pixbufloader_xbm.def: added
      	io-xbm.c support
      
      	[ merged from stable gdk-pixbuf module. Untested, but it
      	compiles, and works fine in the stable module ]
      8c9eb8b6
  32. 17 Jan, 2001 2 commits
    • Tor Lillqvist's avatar
      No need to include windows.h. · f0c92577
      Tor Lillqvist authored
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf-io.c: (Win32) No need to include windows.h.
      f0c92577
    • Tor Lillqvist's avatar
      gtk/gtkmain.c Use the new · 576ef7f2
      Tor Lillqvist authored
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkmain.c
      	* gtk/gtkrc.c: (Win32) Use the new
      	g_win32_get_package_installation_(sub)directory() functions.
      
      	* config.h.win32.in: New file.
      
      	* config.h.win32: Removed.
      
      	* configure.in: Output config.h.win32.
      
      	* Makefile.am: Add it to EXTRA_DIST.
      
      	* gtk/gtk.def: Update.
      
      2001-01-16  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_show, gdk_window_hide):
      	Eliminate redraws when input-only windows are shown or
      	hidden. Thanks to jpe@archaeopteryx.com.
      
      2001-01-18  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf-io.c (get_libdir): (Win32) Use the new
      	g_win32_get_package_installation_subdirectory() function.
      	(gtk_win32_get_installation_directory): Remove this then.
      576ef7f2
  33. 02 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      Havoc Pennington <hp@redhat.com> · a7aa33f1
      Havoc Pennington authored
      	* gtk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
      
      	* gdk/Makefile.am (LDFLAGS): add @LIBTOOL_EXPORT_OPTIONS@
      
      	* configure.in (LIBTOOL_EXPORT_OPTIONS): define
      	LIBTOOL_EXPORT_OPTIONS with options to control symbol export
      a7aa33f1
  34. 30 Dec, 2000 1 commit
    • Tor Lillqvist's avatar
      New function, as in the X11 backend. (gdk_window_new, · ee4c69b6
      Tor Lillqvist authored
      2000-12-30  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkwindow-win32.c
      	(gdk_window_impl_win32_get_visible_region): New function, as in
      	the X11 backend.
      	(gdk_window_new, gdk_window_set_title): Use g_locale_from_utf8()
      	instead of duplicating the same code here.
      
      	* gdk/win32/gdkwin32.h (GDK_COLORMAP_PRIVATE_DATA): Use
      	GDK_COLORMAP macro.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_funcs): Use NULL as
      	destroy function.
      	(gdk_event_translate): Use GDK_COLORMAP_PRIVATE_DATA to correctly
      	access that.
      
      	* gtk/gtk.def: Update.
      
      	* gtk/makefile.mingw.in: Use glib-genmarshal from $(GLIB)/gobject.
      
      2000-12-26  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkvisual-win32.c (gdk_visual_init): Call g_error if
      	we are on a palettized display ("PseudoColor" in X11), as the code
      	for that doesn't work anyway, and never has.
      
      2000-12-30  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk_pixbuf.def: Update.
      ee4c69b6
  35. 17 Dec, 2000 1 commit
    • Havoc Pennington's avatar
      Port to GObject, can go back in gdk-pixbuf after setting up a · fde4fecf
      Havoc Pennington authored
      2000-12-16  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gdk-pixbuf-loader.h, gtk/gdk-pixbuf-loader.c:
      Port to GObject, can go back in gdk-pixbuf after setting up
      a gdk-pixbuf-marshal.h header over there.
      
      * gtk/gtktreeview.c: s/SEPERATOR/SEPARATOR/g;
      (gtk_tree_view_class_init): specify GTK_TYPE_ADJUSTMENT for signal
      args
      (gtk_tree_view_init): don't unset GTK_NO_WINDOW, it shouldn't be
      set
      (gtk_tree_view_realize_buttons): don't gtk_widget_show() buttons
      here, do it when we create the buttons later
      (gtk_tree_view_realize_buttons): add some g_return_if_fail
      (gtk_tree_view_map): paranoia checks that column->button is shown
      and unmapped
      (gtk_tree_view_size_request): only request visible children.
      Move header size calculation in here, for cleanliness, and
      to maintain invariants for child widgets if we eventually
      let users set different children inside the buttons
      (gtk_tree_view_map_buttons): factor out code to map buttons,
      since it was being called several times
      (gtk_tree_view_size_allocate_buttons): move_resize the drag
      windows instead of just moving them; their height may change
      if we allow random widgets in there, or the theme changes.
      (gtk_tree_view_size_allocate): move button size allocation
      above emitting the scroll signals, to ensure a sane state when we
      hit user code
      (gtk_tree_view_button_release): remove queue_resize after
      tree_view_set_size(), set_size() will handle any resize queuing
      that's needed
      (gtk_tree_view_focus_in): just queue a draw, don't fool with
      draw_focus goo
      (gtk_tree_view_focus): use gtk_get_current_event() and
      gdk_event_get_state()
      (gtk_tree_view_deleted): don't queue_resize() after calling set_size()
      (gtk_tree_view_build_tree): fix a "if (foo); {}" bug - i.e. remove
      semicolon
      (gtk_tree_view_create_button): show the button here
      (gtk_tree_view_button_clicked): actually emit the clicked signal
      on the column
      (_gtk_tree_view_set_size): return right away if the size is
      unchanged, as a cheesy optimization
      (gtk_tree_view_setup_model): rename set_model_realized to
      setup_model to match the flag that indicates whether we've
      called it
      (gtk_tree_view_get_hadjustment): create adjustment if it doesn't
      exist, because set_scroll_adjustment does that and it shouldn't
      matter what order you call these in
      (gtk_tree_view_get_vadjustment): ditto
      (gtk_tree_view_set_headers_visible): canonicalize the bool,
      for paranoia
      (gtk_tree_view_set_headers_visible): call
      gtk_tree_view_map_buttons() instead of using cut-and-paste code
      (gtk_tree_view_append_column): clarify whether the return value
      is the count of columns before or after, and do the increment
      separately from the return statement so you can tell from the code.
      (gtk_tree_view_remove_column): ditto
      (gtk_tree_view_insert_column): ditto
      (gtk_tree_view_get_column): remove g_return_if_fail for columns
      outside the existing range, the docs say that outside-range
      columns are allowed, so we handle them as documented. (Presumably
      this allows a nice loop with column != NULL as test.)
      (gtk_tree_view_move_to): document what 0.0, 0.5, 1.0 alignments
      mean (left/right/center etc.).
      (gtk_tree_view_collapse_all): only queue a draw if we're mapped
      (gtk_tree_view_expand_row): add docs
      (gtk_tree_view_collapse_row): add docs
      
      * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clicked): new
      function to emit the clicked signal on a column
      
      * gdk/gdkevents.c (gdk_event_get_state): new function, to get the
      state of an event
      (gdk_event_get_time): don't treat GDK_SCROLL
      as a button event, remove default case from switch so gcc
      will whine if we don't explicitly handle all event types
      
      * gtk/gtktreeselection.h: added some FIXME
      
      * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): rename
      "columns" to "n_columns" and "column" to "columns" for clarity
      fde4fecf