1. 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
  2. 16 Oct, 2000 5 commits
  3. 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
  4. 14 Oct, 2000 1 commit
  5. 13 Oct, 2000 3 commits
  6. 10 Oct, 2000 1 commit
  7. 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
  8. 08 Oct, 2000 1 commit
  9. 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
  10. 05 Oct, 2000 2 commits
  11. 04 Oct, 2000 6 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
    • Owen Taylor's avatar
      Add gdk_window_iconify. · 0d158864
      Owen Taylor authored
      Mon Sep 25 15:05:17 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c (gdk_window_iconify):
      	Add gdk_window_iconify.
      
      	* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c
      	(gdk_window_set_geometry_hints): Add win_gravity
      	to geometry structure.
      
      	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
      	Implement _NET_WM_PING.
      
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check):
      	Set _NET_WM_PID on the client leader.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_name):
      	Handle UTF-8 better.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_title): Handle
      	UTF-8 better, set _NET_WM_NAME as well. Only set
      	icon name if it hasn't previously been explicitely
      	set.
      0d158864
    • Havoc Pennington's avatar
      Fix copyrights · 502e5a88
      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
      502e5a88
    • Havoc Pennington's avatar
      clean up trailing whitespace, add extensive tests for tag toggle · 928c0698
      Havoc Pennington authored
      2000-10-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/testtextbuffer.c: clean up trailing whitespace,
      	add extensive tests for tag toggle iteration.
      
      	* gtk/gtktextiter.c (MAX_LINEAR_SCAN): decrease linear scan
      	distance
      
      	* gtk/gtktextbtree.c (gtk_text_line_next_could_contain_tag):
      	optimize case where the tag root is on level 1
      	(gtk_text_line_previous_could_contain_tag): attempt to implement
      	(gtk_text_line_next_could_contain_tag): Abstract out node_compare
      	functionality
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_to_tag_toggle):
      	Implement this, though not very efficiently.
      
      	* gtk/gtktextiterprivate.h: reformat
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_char): return 0 on the end
      	iterator
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Fix
      	this to properly revalidate the iterators.
      
      	* gtk/gtktextview.c (gtk_text_view_delete): fix control-K to work
      	properly at the end of the line (and therefore on empty lines)
      
      	* gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Gee,
      	maybe we should return a value...
      928c0698
  12. 03 Oct, 2000 2 commits
    • Tor Lillqvist's avatar
      Guard definition of alloca(). glib.h now handles that. · 69ac9451
      Tor Lillqvist authored
      2000-10-03  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32: Guard definition of alloca(). glib.h now handles
      	that.
      
      	* gdk/gdk.def
      	* gtk/gtk.def: Add new entry points.
      
      	Changes just to make GTK+ build without errors on Win32. No hope
      	of it working in its current state, though...:
      
      	* gdk/win32/gdkselection-win32.c: Remove gcc -Wall warnings.  Add
      	some functions from the X11 backend, just to make GTK+ build.
      
      	* gdk/makefile.mingw.in
      	* gtk/makefile.mingw.in: Use correct gdk_pixbuf version
      	number. Add new object files.
      
      	* gtk/gtkclipboard.c: Include gdkwin32.h on Win32. Use
      	GetMessageTime to get timestamp (where on X11 uses
      	gdk_x11_get_server_time()).
      69ac9451
    • Tor Lillqvist's avatar
      Add rule for make-inline-pixbuf. Use gdk-pixbuf's version number in the · 74d7c917
      Tor Lillqvist authored
      2000-10-03  Tor Lillqvist  <tml@iki.fi>
      
      	* makefile.mingw.in: Add rule for make-inline-pixbuf. Use
      	gdk-pixbuf's version number in the rule for makefile.mingw itself.
      
      	* gdk_pixbuf.def: Add new entry points.
      74d7c917
  13. 02 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      text_window_* weren't static and should have been. Start work on child · 8ebf77d1
      Havoc Pennington authored
      2000-10-02  Havoc Pennington  <hp@pobox.com>
      
              * gtk/gtktextview.c: text_window_* weren't static and should have
      	        been.
      		        Start work on child widgets; not yet complete,
      syncing to
              office computer.
      
      	        * gtk/gtktextchild.h: change this to contain a public interface,
      		starting work on child interfaces.
      		        * gtk/gtktextchildprivate.h: move private interfaces here
      
      			* gtk/Makefile.am: update to reflect gtktextchildprivate.h
      
      			* gtk/gtktextview.h, gtk/gtktextview.c, gtk/gtktextbuffer.h,
      			gtk/gtktextbuffer.c, gtk/gtktextiter.h, gtk/gtk/textiter.c,
      			gtk/gtktextmark.c: copyright notices
      
      			* gtk/gtktextmarkprivate.h: reformat, and put _ in
      front of
              internal functions
      
      	* gtk/gtktextchild.c (_pixbuf_segment_new): put _ in front of
      	internal function
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
      	Reformatting
      8ebf77d1
  14. 30 Sep, 2000 3 commits
    • Havoc Pennington's avatar
      Handle NULL start/end pointers · 632fda6f
      Havoc Pennington authored
      2000-09-30  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Handle
      NULL start/end pointers
      
      * gtk/gtktextbuffer.c: Write some docs
      (gtk_text_buffer_get_selection_bounds): Allow start/end to be
      NULL, so you can just check whether there's a selection.
      
      * gtk/gtktextbtree.c (gtk_text_btree_remove_mark): No need to
      cleanup_line or segments_changed ourselves, it gets done
      in unlink_segment
      
      * gtk/gtktextmark.h:
      s/gtk_text_mark_deleted/gtk_text_mark_get_deleted/
      
      * gtk/gtktextsegment.h: Clean up some indentation and naming mess
      
      * gtk/gtktextmark.c: delete some more old Tk cruft
      
      * gtk/gtktextbuffer.c (gtk_text_buffer_delete_mark): add ref to
      mark before removing it, so we can emit MARK_DELETED with a valid
      pointer.
      (gtk_text_buffer_mark_set): hold ref across signal emission
      
      * gtk/gtktextbtree.c (gtk_text_btree_remove_mark): improve
      whining about attempts to delete special marks
      
      * gtk/gtktextbuffer.c (_gtk_text_buffer_spew): Prepend with
      underscore, since it's internal.
      
      * gtk/gtktextbuffer.h: Remove find_string prototype, this is
      now implemented in terms of iterators in gtktextiter.h
      
      * gtk/gtktextbuffer.c (gtk_text_buffer_set_text):
      New function, destructively sets contents of buffer. Also
      a convenient way to clear the buffer by setting text to ""
      
      * gtk/gtktextiter.c (gtk_text_iter_make_surreal): reformat
      multiline string literal
      
      * gtk/testtext.c (text_changed_callback): Redraw line numbers if
      text changes.
      
      * gtk/gtktextiter.c (forward_char): Return FALSE if new location
      is not dereferenceable
      (gtk_text_iter_forward_lines): fix return value
      632fda6f
    • Martin Baulig's avatar
      Put the pkg-config scripts back to the correct pkg-config syntax · f717bda1
      Martin Baulig authored
      (the pkg-config that comes with the RedHat 7.0 glib-gtkbeta RPM and
       not the one from pkgconfig.sourceforge.net which is old).
      f717bda1
    • Havoc Pennington's avatar
      fix indentation · 244996ff
      Havoc Pennington authored
      2000-09-29  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation
      
              * gtk/gtktextview.c: Implement drag thresholding; change functions
      	that set border window size to have nicer name
      	(gtk_text_view_mark_set_handler):  Fix this to have the
      	right signature.
      
      	* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes
      
      	* gtk/testtext.c: Update with API changes, put line numbers on
      	both sides.
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
      	with this
      
      	* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
      	pixbuf; delete a big block of #if 0 Tk code
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
      	insert_pixmap with insert_pixbuf
      244996ff