+2001-01-03 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextbtree.c: Adapt to uscore-ification of gtktextiterprivate
+
+ * gtk/gtktextdisplay.c (gtk_text_layout_draw): remove use
+ of private functions; remove inclusion of private headers.
+
+ * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_line): Add this
+ function, so we don't need private functions in gtktextdisplay.c
+
+ * gtk/gtktextiterprivate.h: underscore-ification
+
+ * gtk/gtkwidget.c: Clean up a bunch of docs that said "INTERNAL"
+ to instead say "only useful to implement widgets"
+
+ * gtk/gtkenums.h (GtkMovementStep): Rename GTK_MOVEMENT_CHARS,
+ GTK_MOVEMENT_POSITIONS to GTK_MOVEMENT_LOGICAL_POSITIONS,
+ GTK_MOVEMENT_VISUAL_POSITIONS. Resolves bug 40249.
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_set_colormap):
+ This function was completely broken
+
+ * gtk/testtext.c (line_numbers_expose): use gtk_paint_layout
+
+ * gtk/gtkvscale.c (gtk_vscale_draw_value): use gtk_paint_layout
+
+ * gtk/gtkvruler.c (gtk_vruler_draw_ticks): use gtk_paint_layout
+
+ * gtk/gtklabel.c (gtk_label_expose): use gtk_paint_layout
+
+ * gtk/gtkhscale.c (gtk_hscale_draw_value): use gtk_paint_layout
+
+ * gtk/gtkhruler.c (gtk_hruler_draw_ticks): use gtk_paint_layout
+
+ * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): use
+ gtk_paint_layout
+
+ * gtk/gtkaccellabel.c (gtk_accel_label_expose_event): use
+ gtk_paint_layout
+
+ * gtk/gtkstyle.h: Add draw/paint expander to draw tree expanders.
+ Progress on bug 40103. Add draw_layout to draw a PangoLayout.
+ (struct _GtkStyleClass): Remove draw_cross, draw_oval, draw_ramp,
+ which were not implemented.
+
+ * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): Add
+ insert_pixbuf signal. Rename delete_text to delete_range since it
+ also deletes pixbufs and child anchors. This almost closes bug
+ 40245 (still need to deal with child anchors)
+
+ * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add
+ insert_pixbuf, change signal names as appropriate, change types of
+ signals taking marks/tags to have the specific type, not just
+ G_TYPE_OBJECT
+
+ * gtk/gtkmain.c (gtk_get_current_event_state): Add this function;
+ closes bug 40051
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_set_history): clean up
+ unnecessary remove_contents() call
+ (gtk_option_menu_class_init): add a "changed" signal, closes
+ bug 40039
+ (gtk_option_menu_update_contents): emit "changed" if the
+ active menu item changes
+
+ * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): fix bad
+ cast to GtkObject, reported by Jonas Borgstrom
+ (gdk_pixbuf_loader_finalize): don't close the loader on finalize;
+ we can't do stuff with side effects in finalize. Instead, spew a
+ warning if the loader isn't closed.
+
+ * gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_finalize): free
+ colormap in here, non-X ports probably need to sync to this change
+
+ * gdk/x11/gdkdrawable-x11.c (gdk_x11_set_colormap): remove
+ assertion that colormap != NULL, you can set the colormap to NULL
+ if you like.
+
+ * Makefile.am: remove gtk-config-2.0
+
+ * configure.in: Use pkg-config to locate GLib. Remove
+ separated-out GMODULE_LIBS, GMODULE_CFLAGS; these were not used,
+ and the gmodule libs/cflags were in GLIB_LIBS GLIB_CFLAGS anyhow.
+ Use pkg-config to locate Pango. Output correct Pango libs to
+ gdk-2.0.pc.in. Fix test for FREETYPE_CONFIG (typo fix).
+
+ * Makefile.am (pkgconfig_DATA): install only target-specific pc
+ files
+ (install-data-local): symlink gtk+-2.0.pc and gdk-2.0.pc to the
+ X11 pc files
+
+ * gtk+-2.0.pc.in (Requires): require the GDK for the current target
+ unref from here
+
+2001-01-03 Alexander Larsson <alla@lysator.liu.se>
+
+ * configure.in:
+ Change GTK_NO_CHECK_CASTS to G_DISABLE_CAST_CHECKS.
+
+Tue Jan 2 16:23:05 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktextlayout.c
+ (gtk_text_layout_move_iter_to_previous_line): Fix unitialized
+ variable when moving back onto a single line.
+
+2001-01-01 Havoc Pennington <hp@redhat.com>
+
+ * 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
+
+2001-01-01 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktexttagprivate.h: uscore-prepend all the stuff in here.
+
+ * gtk/gtk-boxed.defs (GtkTextAttributes): Add boxed type for
+ GtkTextAttributes
+
+ * gtk/gtktexttag.c: Fix up GtkTextAttributes copying to close bug
+ #40246
+ (gtk_text_attributes_copy_values): rename from
+ gtk_text_attributes_copy
+ (gtk_text_attributes_copy): a more standard GTK copy function,
+ which returns a new object
+
+2001-01-01 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktreeview.c: Adapt to GtkTreeSelection changes
+
+ * gtk/gtktreeselection.c (_gtk_tree_selection_set_tree_view):
+ don't fill in tree_view->priv->selection, kind of an unexpected
+ side effect
+
+ * gtk/gtkcellrenderertext.c: Remove definition of _ and include
+ gtkintl.h
+
+ * gtk/gtkcellrenderer.c: Remove definition of _ and include
+ gtkintl.h
+ (gtk_cell_renderer_get_property): remove calls to g_value_init
+
+ * gtk/gtkcellrendererpixbuf.c: Remove definition of _ and include
+ gtkintl.h
+
+ * gtk/gtkcellrenderertextpixbuf.c: Remove definition of _ macro
+ and include gtkintl.h
+ (gtk_cell_renderer_text_pixbuf_class_init): remove spaces from
+ property names
+
+ * gtk/gtktreeselection.c (_gtk_tree_selection_new): rename, return
+ GtkTreeSelection
+ (_gtk_tree_selection_new_from_with_view): rename, return
+ GtkTreeSelection
+ (_gtk_tree_selection_set_tree_view): rename with uscore
+ (gtk_tree_selection_get_selected): fill in the "model" out param
+ first, so it gets filled in even if we return at the top of the
+ function
+ (gtk_tree_selection_real_select_all): add a comment and an else{}
+ to clarify this a bit
+ (gtk_tree_selection_real_unselect_all): add the same else{}
+
+ * gtk/gtktreeselection.h: Rename new, new_with_tree_view, and
+ set_tree_view to have underscore prefixes, move them to the
+ private header, fix return type of new_with_tree_view
+ (struct _GtkTreeSelection): mark struct
+ fields private
+
+ * gtk/gtktreemodel.c (gtk_tree_model_get_flags): return
+ GtkTreeModelFlags, not a guint
+ (gtk_tree_path_prev): return gboolean not gint
+ (gtk_tree_path_up): return gboolean not gint
+
+ * gtk/gtktreemodel.h (struct _GtkTreeModelIface): make get_flags
+ return GtkTreeModelFlags, not a guint
+
+ * gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize): check
+ that child model is non-null before unrefing it
+ (g_value_int_compare_func): make this a qsort compare func, not
+ a boolean predicate
+
+ * gtk/gtktreemodelsort.h: rename gtk_tree_model_set_sort_column,
+ (add -umn to the end), and mark it unimplemented
+ (gtk_tree_model_sort_resort): remove, this wasn't implemented, and
+ I don't see what it's for - doesn't the model always sort itself?
+ (gtk_tree_model_sort_set_compare): this had the wrong signature
+
+ * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_attributes):
+ Fix the docs to say that it destructively replaces existing
+ attributes (previously said that it added attributes).
+ (gtk_tree_view_column_set_visible): canonicalize bool before
+ equality testing. Also, check for realization before
+ hiding/showing the tree_column->window; if this window could exist
+ before realization, then it's busted and needs fixing, we can't
+ create GDK resources pre-realization. Also, remove
+ superfluous queue_resize(), since set_size() does that for us.
+ (gtk_tree_view_column_set_col_type): check realization before
+ using tree_column->window
+
+ * gtk/gtktreedatalist.c: fix filename in copyright notice
+
+2000-12-31 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextview.c: Rearrange all the
+ scroll-while-dragging-or-selecting code to be different, not
+ necessarily better. ;-)
+ (gtk_text_view_scroll_to_mark): Change this
+ function to take within_margin as a fraction instead of a pixel
+ value, and to take alignment arguments (indicating where to align
+ the mark inside the visible area)
+
+ * gtk/testtextbuffer.c (fill_buffer): fix bad cast of GtkTextTag
+ to GtkObject
+
+ * gtk/gtktextiter.c (gtk_text_iter_set_line_offset): change
+ behavior so that offsets past the end of the line are not
+ allowed, and an offset equal to the line length moves the iterator
+ to the next line
+ (gtk_text_iter_set_line_index): make parallel change
+ (gtk_text_iter_get_bytes_in_line): add this function
+
+ * gtk/gtktextbtree.c (_gtk_text_line_byte_locate): change handling
+ of byte indexes off the end of the line; byte index at the end of
+ the line now returns FALSE and doesn't fill in the requested
+ values, byte index past the end of the line is an error. Also,
+ don't allow -1 offset anymore, since its meaning is unclear.
+
+ This change exposes some bug in visual cursor motion, where we
+ end up with a huge invalid byte index; needs fixing. Symptom of
+ bug is a crash when you hit up arrow.
+
+ (_gtk_text_line_char_locate): match the change to byte_locate
+
+ * gtk/gtktextiter.c (find_by_log_attrs): Handle iteration backward
+ from start of line properly. fixes bug reported by Mikael
+ Hermansson where backspace would delete all text before the
+ cursor.
+
+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-30 Havoc Pennington <hp@pobox.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_new): Set the system
+ colormap on input only windows, to avoid special cases all over
+ the code for these windows.
+
+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-22 Alexander Larsson <alexl@redhat.com>
+
+ * gdk/linux-fb/gdkkeyboard-fb.c (xlate_io):
+ Don't use isprint() for chars > 255.
+
+2000-12-21 Havoc Pennington <hp@redhat.com>
+
+ * tests/testtreeview.c: more work
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
+ * docs/README.linux-fb:
+ Update the docs to the new pangoft2 way.
+
+2000-12-21 Alexander Larsson <alexl@redhat.com>
+
+ * configure.in:
+ For linux-fb get the pangoft2 cflags and libs. This needs a recent
+ pango version.
+ Remove modules/linux-fb/Makefile.
+
+ * gdk/linux-fb/gdkdrawable-fb2.c:
+ Render glyphs using freetype.
+
+ * gdk/linux-fb/gdkfb.h:
+ Add new fb-specific functions needed for managing windows.
+
+ * gdk/linux-fb/gdkmain-fb.c:
+ Remove gdk_font_init/fini() calls.
+
+ * gdk/linux-fb/gdkpango-fb.c:
+ Remove old implementation. Use pangoft2 instead.
+
+ * gdk/linux-fb/gdkprivate-fb.h:
+ Remove PangoFBFont and related stuff.
+
+ * gdk/linux-fb/gdkwindow-fb.c:
+ Implement drawable->get_visible_region.
+ Implement support for _gdk_window_set_child_handler () and
+ _gdk_window_get_decorations().
+
+ * modules/Makefile.am:
+ Remove linux-fb subdir.
+
+ * modules/linux-fb/*:
+ Removed all.
+
+2000-12-20 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtkcellrenderer*.c (::get_property): remove g_value_init
+ calls, as they are no longer needed.
+
+ * gtk/gtktreemodelsort.c: Fix up the comparison code.
+
+ * gtk/gtktreemodel.h: Start work on ::reordered signal. Need to
+ figure out how to emit a signal on an interface.
+
+2000-12-20 Havoc Pennington <hp@redhat.com>
+
+ * tests: new directory to contain tests, gtk/test* should move
+ here sometime (with appropriate on-cvs-server hackery)
+
+ * tests/testtreeview.c, tests/Makefile.am: a test
+
+ * configure.in (AC_OUTPUT): add tests/Makefile
+
+ * gtk/gtktexttag.c (gtk_text_tag_get_property): Add "invisible"
+ and "invisible_set" which were missing
+
+ * gtk/gtkrbtree.h: some cheesy indentation fix
+
+2000-12-20 Alexander Larsson <alexl@redhat.com>
+
+ * gtk/gtkinvisible.c (gtk_invisible_realize):
+ Attach the style to the window so that the style it is not
+ leaked when unrealizing the window.
+
+2000-12-18 Havoc Pennington <hp@redhat.com>
+
+ * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
+ begin/end user action where appropriate
+ (gtk_text_view_commit_handler): add begin/end user action
+
+ * gtk/gtktextbuffer.c: add begin/end user action signals, and
+ bracket interactive operations with begin/end user action pair.
+
+ * gtk/gtktextbuffer.h (struct _GtkTextBufferClass): remove
+ "interactive" arg from insert_text and delete_text signals.
+ Add begin_user_action, end_user_action signals
+ (gtk_text_buffer_begin_user_action):
+ (gtk_text_buffer_end_user_action): New functions to delimit
+ a user-visible action
+
+ * gtk/gtkmarshal.list: update to reflect changes to gtktextbuffer
+ signals.
+
2000-12-18 Havoc Pennington <hp@redhat.com>
* gdk/gdkevents.c (gdk_event_get_state): wow, that implementation