1. 20 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      create some stock buttons with the default accel group (create_image): · 1c9f0c0b
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testgtk.c (create_buttons): create some stock buttons
      	with the default accel group
      	(create_image): test some new GtkImage features
      	(make_message_dialog): test GtkMessageDialog
      	(create_modal_window): fix someone's bizzarro indentation
      
              * gtk/gtkwindow.h, gtk/gtkwindow.c: Implement
      	GTK_WIN_POS_CENTER_ON_PARENT.
      	Add "destroy with parent" setting, which means the window goes
      	away with its transient parent.
      	(gtk_window_get_default_accel_group): get the default accel group
      	for the window.
      	(gtk_window_set_destroy_with_parent): set/unset destroy with
      	parent flag
      	(gtk_window_read_rcfiles): invalidate icon set caches
      	after reloading rcfiles
      
      	* gtk/gtkenums.h (GtkWindowPosition): add
      	GTK_WIN_POS_CENTER_ON_PARENT, which centers a dialog
      	on its parent window when the dialog is mapped for the first time.
      
              * gtk/gtkmessagedialog.h, gtk/gtkmessagedialog.c: Add
      	a simple message dialog class
      
      	* gtk/gtkdialog.c (gtk_dialog_init): Connect delete event
      	handler to emit response signal, and maybe later it would
      	honor a hide_on_delete flag - though that isn't there yet.
      	Set border width on the vbox to 2, so we get some padding.
      	Use a button box for the action area.
      	(gtk_dialog_key_press): synthesize a delete event if Esc
      	is pressed and the GtkWidget key press handler didn't
      	handle the escape key.
      	(gtk_dialog_new_with_buttons): new function creates a dialog
      	with some default buttons in it.
      	(gtk_dialog_add_action_widget): add an activatable widget
      	as a button in the dialog - you can also add a non-activatable
      	widget by accessing the action area directly.
      	(gtk_dialog_add_button): add a simple button - stock ID or
      	label - to the action area
      	(gtk_dialog_response): emit response signal
      	(gtk_dialog_run): block waiting for the dialog, return
      	the response. Override normal delete_event behavior, so that
      	delete_event does nothing inside gtk_dialog_run().
      
      	* gtk/gtkdialog.h, gtk/gtkdialog.c: Add "response" signal
      	emitted when an action widget is clicked or the dialog gets
      	delete_event
      
      	* gtk/gtk.h: add gtkmessagedialog.h
      
      	* gtk/Makefile.am: add gtkmessagedialog.[hc]
      
      2000-10-20  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Add dialog docs
      1c9f0c0b
  2. 19 Oct, 2000 2 commits
  3. 18 Oct, 2000 6 commits
    • Havoc Pennington's avatar
      Some updates · 7a4c6893
      Havoc Pennington authored
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Some updates
      
      	* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
      	GdkPixbufClass/GdkAnimationClass since those are private
      
      	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers
      
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug
      	where any number of empty lines would get skipped
      
      	* gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the
      	edge.
      
      	* gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the
      	warning about invalid iterators (explain more thoroughly)
      	(gtk_text_iter_in_region): rename gtk_text_iter_in_range
      
      	* gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less
      	big
      
      	* demos/*.c: Add error handling
      
      	* gtk/gtktextbuffer.c: don't modify const iterators
      
      	* gtk/gdk-pixbuf-loader.c: Add full error handling here
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): ignore errors
      	on file load
      
      	* gtk/gtkiconfactory.c: Update to reflect addition of error
      	handling to gdk-pixbuf loaders
      
      2000-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_get_module)
      	(gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module):
      	add error reporting here also
      
      	* make-inline-pixbuf.c (main): use GError
      
      	* io-xpm.c: include unistd.h
      
      	* gdk-pixbuf-util.c: include string.h
      
      	* io-*.c: add error reporting
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add
      	error reporting
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting
      
      	* gdk-pixbuf-io.h: Add GError** to load_increment and load
      	methods
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return
      	a G_FILE_ERROR if we fail to write or close the file.
      
      	* gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use
      	G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following
      	the GError naming rules. Add GError** to load functions.
      7a4c6893
    • Owen Taylor's avatar
      Start of work to move to new modularized testgtk. · 74209088
      Owen Taylor authored
      Wed Oct 18 11:14:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in demos/Makefile.am demos/testgtk/*: Start of work to
      	move to new modularized testgtk.
      74209088
    • Jonathan Blandford's avatar
      Add my name to the ChangeLog. · 92bbfd05
      Jonathan Blandford authored
      92bbfd05
    • Owen Taylor's avatar
      cvsignore updates · 3f908d03
      Owen Taylor authored
      3f908d03
    • Owen Taylor's avatar
      remove generated files · a1a44c99
      Owen Taylor authored
      a1a44c99
    • Owen Taylor's avatar
      1bb41ea9
  4. 17 Oct, 2000 3 commits
    • 7's avatar
      Draw the arrows correctly. · 3b42e087
      7 authored
      2000-10-17    <jrb@redhat.com>
      
      	* gtk/gtktreeview.c: Draw the arrows correctly.
      
      Also, commit a few minor fixes so Havoc can make a model.
      3b42e087
    • 7's avatar
      Added user docs. · 10e9727a
      7 authored
      2000-10-17    <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c: Added user docs.
      
      	* gtk/gtk.h: remove gtktreedatalist.h.
      10e9727a
    • 7's avatar
      Get the correct parent when generating my type. · 77d01658
      7 authored
      2000-10-17    <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_type): Get the correct
      	parent when generating my type.
      
      	* gtk/gtkmarshal.list: Added four more marshallers: INT:NONE,
      	POINTER:NONE, POINTER:POINTER, and POINTER:POINTER,INT.
      77d01658
  5. 16 Oct, 2000 5 commits
  6. 15 Oct, 2000 3 commits
    • Robert Brady's avatar
      s/utf-8/UTF-8 · 25734b92
      Robert Brady authored
      25734b92
    • 5's avatar
      Fix GtkTreeNode *node ->GtkTreeNode node issue. · e6b9f291
      5 authored
      2000-10-15    <jrb@redhat.com>
      
      	* gtk/gtktreeview.c, gtk/gtktreeview.h, gtk/gtktreestore.h,
      	gtk/gtktreestore.c, gtk/gtkliststore.h, gtk/gtkliststore.c,
      	gtk/gtkmodelsimple.c, gtk/gtkmodelsimple.h, gtk/gtktreedatalist.c,
      	gtk/gtktreemodel.h, gtk/gtktreeselection.c,
      	gtk/gtktreeselection.h: Fix GtkTreeNode *node ->GtkTreeNode node
      	issue.
      e6b9f291
    • Tor Lillqvist's avatar
      Remove leftover CVS conflict indicator lines (>>>>>>>). · 3cd1330d
      Tor Lillqvist authored
      2000-10-15  Tor Lillqvist  <tml@iki.fi>
      
      	* ChangeLog: Remove leftover CVS conflict indicator lines (>>>>>>>).
      
      	* makefile.mingw: Add rules for fa, he, sp and sr.
      3cd1330d
  7. 14 Oct, 2000 1 commit
  8. 13 Oct, 2000 3 commits
  9. 10 Oct, 2000 1 commit
  10. 09 Oct, 2000 3 commits
    • Tor Lillqvist's avatar
      Update. · 658b4b1d
      Tor Lillqvist authored
      2000-10-09  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update.
      
      	* gdk/win32/gdkgeometry-win32.c (gdk_window_clip_changed): Add two
      	lines that had been deleted by mistake (?).
      
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Handle
      	also the case fg==white and bg==black (but still not randomly
      	coloured cursors). Thanks to Wolfgang Sourdeau.
      
      	* gdk/win32/*.c: Silence gcc -Wall.
      
      	* gtk/gtk.def: Add missing entry points.
      
      	Fixes by Hans Breuer:
      
      	* gdk/makefile.msc
      	* gdk/win32/makefile.msc: Update.
      
      	* gdk/testgdk.c: If compiling with debugging (with _DEBUG defined,
      	some MSVC thing, presumably), cause breakpoint on failures. Add
      	GDK_NOR case. Call g_log_set_always_fatal.
      
      	* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_insert): Handle
      	should be pased by reference.
      
      	* gdk/win32/gdkprivate-win32.h: Correct declaration accordingly.
      
      	* gdk/win32/*.c: Correct calls to gdk_win32_handle_table_insert.
      
      	* gdk/win32/gdkevents-win32.c
      	* gdk/win32/gdkwindow-win32.c: Handle WM_CREATE.
      
      	* gdk/win32/gdkgc-win32.c: Fix mixups of drawable and
      	implementation object.
      
      	* gdk/win32/gdkimage-win32.c (gdk_image_get): Handle drawables,
      	not just windows.
      
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize):
      	Use the wrapper object.
      658b4b1d
    • Havoc Pennington's avatar
      ea708d50
    • Havoc Pennington's avatar
      contrib subdir · 518f32d9
      Havoc Pennington authored
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (SRC_SUBDIRS): contrib subdir
      
      	* gdk/gdkpixbuf.h: Move GdkPixbufAlphaMode to gdk-pixbuf library,
      	so it can be used in Xlib version
      
      	* demos/testpixbuf.c (update_timeout): error checking from 1.0
      	tree
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_pixbuf): Sync
      	change from 1.0 tree that returns first frame of animation
      	if the loaded file is an animation.
      
              * contrib: add new directory to hold stuff that comes with GTK+
      	but isn't really part of GTK+ (for now, gdk-pixbuf-xlib)
      
      	* configure.in: add contrib/*
      
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.h: add GdkPixbufAlphaMode
      
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
              This entry is a summary of the merged-in changes from 1.0.
      	Relevant original ChangeLog entries are spliced in after
      	this entry; the files they refer to are from the 1.0
      	gdk-pixbuf sources.
      
      	* pixops/pixops.c (pixops_composite_nearest): sync a small fix
      	from 1.0
      
      	* io-xpm.c (xpm_seek_string): add fscanf error check from 1.0
      	Add progressive loader from 1.0
      
      	* io-tiff.c (gdk_pixbuf__tiff_image_begin_load): mem leak fixes
      	from 1.0 tree
      
      	* io-pnm.c: new version from 1.0 tree
      
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_load): sync from 1.0, use
      	malloc not g_malloc
      
      	* io-gif.c (lzw_read_byte): sync from 1.0, change a g_error to
      	g_warning
      	(gif_get_next_step): return 0 here, sync from 1.0
      
      	* gdk-pixbuf-util.c: sync email address change for Cody
      	Russell
      
      2000-09-11  Jeffrey Stedfast  <fejj@helixcode.com>
      
      	* gdk-pixbuf/io-pnm.c: Pretty much totally rewrote again because
      	last nights code was still "broken". Should now properly handle
      	all error conditions gracefully.
      
      2000-09-10  Jeffrey Stedfast  <fejj@helixcode.com>
      
      	* gdk-pixbuf/io-pnm.c: Rewrote.
      
      2000-09-09  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): Compute
      	the correct dest offset.
      
      2000-08-25  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/io-xpm.c: #include <unistd.h>
      
      2000-08-05  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-tiff.c: stop leaking context->tempname.
      
      	* gdk-pixbuf/io-xpm.c: same as above.
      
      2000-07-26  Michael Meeks  <michael@helixcode.com>
      
      	* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load): make
      	g_malloc a malloc.
      
      2000-07-21  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-xpm.c: add a fake progressive loader so that
      	xpm at least supports the progressive interface like the one in
      	io-tiff.c. This should be reimplemented as an actual progressive
      	loader.
      
      2000-07-19  Jonathan Blandford  <jrb@redhat.com>
      
      	* demo/pixbuf-demo.c (update_timeout): changed scaling level to
      	make it look better.
      	* gdk-pixbuf/testpixbuf.c (update_timeout): Patch from michael
      	meeks to handle errors better.
      518f32d9
  11. 08 Oct, 2000 1 commit
  12. 06 Oct, 2000 6 commits
    • Tor Lillqvist's avatar
      gdk_pixbuf.def pixbufloader_jpeg.def Add new entry points. · a79259ee
      Tor Lillqvist authored
      2000-10-07  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk_pixbuf.def
      	* pixbufloader_jpeg.def
      	* pixbufloader_png.def: Add new entry points.
      
      	* makefile.mingw.in: Use libintl.
      a79259ee
    • Havoc Pennington's avatar
      s/format/type/g to be consistent with gdk_pixbuf_loader_new_with_type(). · 286931ed
      Havoc Pennington authored
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save): s/format/type/g to be
      	consistent with gdk_pixbuf_loader_new_with_type().
      	Return runtime error if a module is missing.
      
      	* gdk-pixbuf.h: add GDK_PIXBUF_ERROR_UNKNOWN_TYPE
      286931ed
    • Havoc Pennington's avatar
      Pixbuf saving, patch from David Welton. · 6b9f9072
      Havoc Pennington authored
      2000-10-05  Havoc Pennington  <hp@redhat.com>
      
              Pixbuf saving, patch from David Welton.
      
      	* Makefile.am (GDK_PIXBUF_LIBS): add INTLLIBS
      	(libgdk_pixbuf_1_3_la_SOURCES): add gdk-pixbuf-i18n.h
      
      	* gdk-pixbuf-i18n.h: Add _() to gdk-pixbuf
      
      	* io-png.c (gdk_pixbuf__png_image_save): PNG save routine.
      
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_save): JPEG save routine.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save):
      	(gdk_pixbuf_savev): Implement pixbuf saving routines
      
      	* gdk-pixbuf.c (gdk_pixbuf_error_quark): pixbuf error quark
      	function
      
      	* gdk-pixbuf.h: Add public save routines; add pixbuf error
      	types
      
      	* gdk-pixbuf-io.h: Add save function to GdkPixbufModule
      
      2000-10-05  Havoc Pennington  <hp@redhat.com>
      
              * demos/testpixbuf-save.c: add pixbuf save test
      
      	* demos/Makefile.am: add testpixbuf-save.c
      6b9f9072
    • Yukihiro Nakai's avatar
      ja.po: Update Japanese translation. · a7e20093
      Yukihiro Nakai authored
      a7e20093
    • Jonathan Blandford's avatar
      Forgot this file · 45178fc5
      Jonathan Blandford authored
      45178fc5
    • Jonathan Blandford's avatar
      Replaced with GTK_TREE_SELECTION_OLD to prevent conflict with · 6b6e6763
      Jonathan Blandford authored
      2000-10-05  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktree.h (GTK_TREE_SELECTION): Replaced with
      	GTK_TREE_SELECTION_OLD to prevent conflict with gtktreeselection.c
      	* gtk/testgtk.c: s/GTK_TREE_SELECTION/GTK_TREE_SELECTION_OLD/
      	* gtk/gtktreeselection.[ch]: Replaced
      	"node_selected"/"node_unselected" signal with "selection_changed"
      	signal.
      6b6e6763
  13. 05 Oct, 2000 2 commits
  14. 04 Oct, 2000 3 commits
    • Jonathan Blandford's avatar
      Fix obvious bug in circle drawing. · 76806e9a
      Jonathan Blandford authored
      2000-10-04  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle
      	drawing.
      76806e9a
    • Owen Taylor's avatar
      Move list pointer forwards before removing item from list. (Crash reported · 468689e3
      Owen Taylor authored
      Wed Oct  4 15:52:15 2000    <otaylor@redhat.com>
      
      	* gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed):
      	Move list pointer forwards before removing item from
      	list. (Crash reported by Salmaso Raffaele)
      
      	* gdk/gdkwindow.h: Remove spurious trailing ,
      
      	* gdk/Makefile.am (LDFLAGS): You can't do interlibrary
      	dependencies on uninstalled libraries, sorry folks.
      468689e3
    • Havoc Pennington's avatar
      Fix copyrights · b90b621e
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c: Fix copyrights
      
      	* demos/testpixbuf.c: add inline pixbuf test
      b90b621e