1. 01 Nov, 2000 2 commits
    • Havoc Pennington's avatar
      New function to create a pixbuf pointing to a subregion of another pixbuf. · fe9f9d03
      Havoc Pennington authored
      2000-11-01  Havoc Pennington  <hp@pobox.com>
      
      * gdk-pixbuf.c (gdk_pixbuf_new_subpixbuf): New function to create
      a pixbuf pointing to a subregion of another pixbuf.
      
      2000-11-01  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtklabel.c (gtk_label_set_attributes): Set a PangoAttrList
      on a label
      (gtk_label_finalize): unref the attr list if any.
      
      * gtk/testgtk.c (create_get_image): close test on second click
      (make_message_dialog): close dialog if it exists
      
      * gdk/gdkpango.c (gdk_draw_layout): Handle rise attribute
      
      * gdk-2.0.pc.in (Requires): Make it require gdk-pixbuf-2.0 not
      gdk-pixbuf
      
      * gtk/gtklabel.c (gtk_label_set_markup): new function to set label
      from Pango markup format
      (gtk_label_set_markup_with_accel): ditto but with accelerator
      parsing
      
      * gtk/gtkimage.c (gtk_image_expose): reformatting.
      
      * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): Hack to
      reflect current state of GDK - use gdk_drawable_get_colormap, etc.
      Check GDK_IS_WINDOW() not !GDK_IS_PIXMAP() to decide whether to
      call gdk_window_get_origin().
      
      * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      implement GDK_PIXBUF_ALPHA_FULL
      fe9f9d03
    • Tim Janik's avatar
      make use of g_signal_handlers_block_matched, · da5fdc13
      Tim Janik authored
      Wed Nov  1 03:43:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_compat_matched): make use of
              g_signal_handlers_block_matched, g_signal_handlers_unblock_matched and
              g_signal_handlers_disconnect_matched to block/unblock and disconnect
              multiple handlers respectively, instead of only treating the
              first handler found (bug reported by owen).
      da5fdc13
  2. 30 Oct, 2000 8 commits
    • Jonathan Blandford's avatar
      New function. · c42cee3e
      Jonathan Blandford authored
      Mon Oct 30 19:23:50 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_expand_row): New function.
      
      	* gtk/gtktreeview.c (gtk_tree_view_collapse_row): New function.
      
      	* gtk/gtktreeview.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c
      	gtk/gtktreestore.h, gtk/gtktreeview.h, gtk/gtktreeviewcolumn.c,
      	gtk/gtktreeviewcolumn.h: Fixed inline docs.
      
      	* docs/reference/gtk/tree_widget.sgml: Proto intro to the tree
      	widget.  Needs writing someday.
      
      	* docs/reference/gtk/tmpl/gtktree*sgml: Added the tree widget to
      	the docs.
      c42cee3e
    • Robert Brady's avatar
      s/utf-8/UTF-8/ · 72284e34
      Robert Brady authored
      72284e34
    • Valek Frob's avatar
      Updated russian translation. · 242b4755
      Valek Frob authored
      242b4755
    • Havoc Pennington's avatar
      Rename delete_at_cursor delete_from_cursor, and move to move_cursor. · 94110fac
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.h, gtk/gtktextview.c:
      	Rename delete_at_cursor delete_from_cursor, and
      	move to move_cursor.
      94110fac
    • Havoc Pennington's avatar
      Massive reindentation and reformatting. Arg alignment and comments still · 5190c739
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtktextbtree.c, gtktextbtree.h, gtktextbuffer.c,
      	gtktextbuffer.h, gtktextchild.c, gtktextchild.h,
      	gtktextchildprivate.h, gtktextdisplay.c, gtktextdisplay.h,
      	gtktextiter.c, gtktextiter.h, gtktextiterprivate.h,
      	gtktextlayout.c, gtktextlayout.h, gtktextmark.c, gtktextmark.h,
      	gtktextmarkprivate.h, gtktextsegment.c, gtktextsegment.h,
      	gtktexttag.c, gtktexttag.h, gtktexttagprivate.h,
      	gtktexttagtable.c, gtktexttagtable.h, gtktexttypes.c,
      	gtktexttypes.h, gtktextview.c, gtktextview.h:
      
      	Massive reindentation and reformatting. Arg alignment and comments
      	still need fixing in various places.
      5190c739
    • Havoc Pennington's avatar
      Change run action signals to be named insert_at_cursor and · ad8cdea4
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.h, gtk/gtktextview.c: Change run action signals
      	to be named insert_at_cursor and delete_at_cursor so C++ can
      	handle them.
      ad8cdea4
    • Chyla Zbigniew's avatar
      Updated Polish translation · d556aaa2
      Chyla Zbigniew authored
      d556aaa2
    • Jorge Godoy's avatar
      Updating some pt_BR translations. (Update-Gnome.sh script) · 5d295bc4
      Jorge Godoy authored
       any problem ricardo@conectiva.com.br please
      5d295bc4
  3. 29 Oct, 2000 7 commits
  4. 28 Oct, 2000 4 commits
  5. 27 Oct, 2000 7 commits
  6. 26 Oct, 2000 8 commits
    • Havoc Pennington's avatar
      fix constness warning · 36059302
      Havoc Pennington authored
      2000-10-26  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtktextiter.c (my_strrstr): fix constness warning
      
              Fixed output of:
              nm -g -l .libs/libgtk-x11-1.3.so | grep ' T ' | grep -v gtk_ | grep -v GTK_
      
              * gtk/gtktextsegment.c (char_segment_new): rename
              (_char_segment_new_from_two_strings): rename
              (_toggle_segment_new): rename
      
              * gtk/gtkclipboard.c (ensure_clipboard_widget): make this static
              (make_clipboard_widget): make it static
              (text_get_func): static
              (text_clear_func): static
      
              * gtk/gtkcolorsel.c (adjustment_changed): make this function
              static
              (hex_changed): make it static
              (hsv_changed): make it static
              (opacity_entry_changed): make it static
      
              * gtk/gtktextbtree.c (change_node_toggle_count): rename with _gtk
              (toggle_segment_check_func): rename with _gtk
      
              * gtk/gtktextchild.c (_pixbuf_segment_new): rename with _gtk
              (_widget_segment_new): rename
              (_widget_segment_add): rename
              (_widget_segment_remove): rename
              (_widget_segment_ref): rename
              (_widget_segment_unref): rename
      
              * gtk/gtktextmark.c (_mark_segment_new): Rename
              _gtk_mark_segment_new
      36059302
    • Havoc Pennington's avatar
      add new marshallers used by the text widget · a291b0be
      Havoc Pennington authored
      2000-10-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkmarshal.list: add new marshallers used by the text widget
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init): fix marshaller
      	types
      
      	* gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): fix
      	marshaller types
      
      	* gtk/gtktextlayout.h, gtk/gtktextlayout.c, gtk/gtktextdisplay.h,
      	gtk/gtktextdisplay.c: We need to preserve Tk copyrights and
      	license on these files.
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_search): Make this
      	work.
      
      	* gtk/gtktextbtree.c (gtk_text_btree_new): init stamps to
      	runtime random number different for each tree, instead of
      	a constant I made up.
      a291b0be
    • Jorge Godoy's avatar
      updating some pt_BR <ricardo@conectiva.com.br> · e279178d
      Jorge Godoy authored
      any problem, just tell me, and i reverse the commit.
      e279178d
    • Chih-Wei Huang's avatar
      zh_TW po update · 86b646a8
      Chih-Wei Huang authored
      86b646a8
    • Tim Janik's avatar
      buncha cleanups, kludged build sources dependencies with a Makefile: · 6700994c
      Tim Janik authored
      Thu Oct 26 07:36:16 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/Makefile.am: buncha cleanups, kludged build sources
              dependencies with a Makefile: oldest-source-stamp dependancy
              for the moment. automake is really fighting us here, with
              intentionally not allowing user-defined rules or dependancies
              prior to it's -include $(DEP_FILES) statement. sucks rocks!
      
              * gtk/Makefile.am: added gtktextlayout.h and gtktextdisplay.h
              to public headers. tehy have a comment stating that they are
              "semi-public" aren't included by gtk.h and if enums popup there,
              they can be /*< skip >*/-ed.
      
              * gtk/gtktextlayout.h:
              * gtk/gtktextdisplay.h: indentation fixes, comment fixes,
              added LGPL... <SIGH>
      6700994c
    • Tim Janik's avatar
      add this, it'S reall what it says · f12ddea3
      Tim Janik authored
      f12ddea3
    • Jonathan Blandford's avatar
      Got rid of GtkTreeNode, and changed it to GtkTreeIter. Added iterators · ef7b510f
      Jonathan Blandford authored
      Wed Oct 25 20:40:25 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h: Got rid of GtkTreeNode, and changed it to
      	GtkTreeIter.  Added iterators everywhere.
      
      	* gtk/gtktreeviewcolumn.c: Changed to use the iterators.
      
      	* gtk/gtktreeviewselection.c: Changed to use the iterators.
      
      	* gtk/gtktreestore.c: Changed to use the iterators.
      
      	* gtk/gtkliststore.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/gtkmodelsimple.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/treestoretest.c: Changed to use iterators.
      
      	* demos/testgtk/main.c: Moved to use the new iterator system.
      ef7b510f
    • Tim Janik's avatar
      invoke maketypes.awk with LC_ALL=C to avoid localization misbehaviour. · aaee9100
      Tim Janik authored
      Thu Oct 26 02:10:32 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
              localization misbehaviour.
      
              * gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
              a useless type without copy/free.
      
              * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
              of GTK_TYPE_CTREE_NODE.
      aaee9100
  7. 25 Oct, 2000 4 commits
    • Tim Janik's avatar
      use g_value_set_static_{string|boxed} where applicable. · 49631b29
      Tim Janik authored
      Thu Oct 26 00:51:52 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c:
              (gtk_signal_emitv): use g_value_set_static_{string|boxed} where
              applicable.
      
              * gtk/gtk-boxed.defs (GtkSelectionData): specify
              gtk_selection_data_copy and gtk_selection_data_free
              do GtkSelectionData work as params in signals.
      49631b29
    • Tim Janik's avatar
      urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if · d69496c0
      Tim Janik authored
      Wed Oct 25 20:47:41 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): urg, removed
              implementation of gtk_marshal_VOID__INT_INT_INT_INT. if people do that,
              couldn't they at least give it a non-standard name?
      
              * gtk/gtktextlayout.c: arg! yet another implementation of
              gtk_marshal_VOID__INT_INT_INT_INT(), is this a conspiracy?
      
              * gtk/gtktextbuffer.c: gotcha! captured a vagabonding
              gtk_marshal_VOID__INT_POINTER_INT() implementation, braught it back
              home. now i know this _is_ a conspiracy.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): marshaller fixups for
              ::state-changed.
      
              * gtk/gtkaccelgroup.c (gtk_accel_group_create_remove):
              (gtk_accel_group_create_add): marshaller signature fixups.
      
              * gtk/gtklistitem.c (gtk_list_item_class_init): signal creation fixups,
              pass in GTK_TYPE_SCROLL_TYPE instead of GTK_TYPE_ENUM.
      
              * gtk/gtkobject.[hc]: removed GTK_CONNECTED flag, it's not valid
              anymore.
      
      Tue Oct 24 23:59:21 2000  Tim Janik  <timj@gtk.org>
      
              * docs/reference/Makefile.am: disabled SUBDIRS for the moment, since
              due to the signal system changes, it wouldn't build currently. to
              be fixed soon.
      
              * docs/Changes-2.0.txt: GtkSignal/GSignal updates.
      
              * gtk/gtkwidget.c: ::direction_changed takes an enum as argument,
              so it needs gtk_marshal_VOID__ENUM() instead of
              gtk_marshal_NONE__UINT().
      
              * gdk/gdk*.c: adapted type registration functions.
      
              * gtk/gtkbindings.c:
              * gtk/gtkaccelgroup.c: operate on GSignalQuery, GtkSignalQuery is
              gone.
      
              * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType.
      
              * gtk/gtkobject.c:
              (gtk_object_destroy):
              (gtk_object_shutdown): fixed recursion guards. basically we have to
              catch the case where any of GObject.shutdown() or gtk_object_destroy()
              is called during ::destroy, and avoid recursion there.
      
              * gtk/gtktypeutils.c:
              * gtk/maketypes.awk: awk-script hackup to provide gtk_type_init() with
              boxed_copy/boxed_free. this needs a more general solution based on a
              publically installed code-generator utility.
      
              * gtk/gtktypeutils.[hc]: compat aliased GTK_TYPE_BOXED to G_TYPE_BOXED,
              glib's gobject has support for that now.
              define GtkSignalMarshaller in terms of GSignalCMarshaller.
      
      
      Mon Oct 23 09:36:42 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.[hc]:
              * gtk/gtkmarshal.[hc]:
              * gtk/Makefile.am: generate marshallers with glib-genmarshal and don't
              compile gtkmarshal.c on its own anymore, just include it in gtksignal.c.
              removed #include <gtkmarshal.h>s all over the place, gtksignal.h takes
              care of that.
      
              * *.c: marshaller name fixups.
      
              * gtk/gtkmarshal.list: added a comment briefing the format.
      
      Sun Oct 22 23:14:39 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.[hc]: nuked old implementation. we mostly have
              compatibility macros here now. more specifically, most of
              the API is preserved (yes, _most_, nonwithstanding the
              following exceptions listed, the API is stil lHUGE ;)
              things that got removed completely:
              GtkSignalQuery, gtk_signal_query(), gtk_signal_n_emissions(),
              gtk_signal_n_emissions_by_name(), gtk_signal_handlers_destroy(),
              gtk_signal_set_funcs(), gtk_signal_handler_pending_by_id(),
              gtk_signal_add_emission_hook(), gtk_signal_add_emission_hook_full(),
              gtk_signal_remove_emission_hook().
              non-functional functions variants:
              gtk_signal_add_emission_hook(), gtk_signal_remove_emission_hook().
              the GtkCallbackMarshal argument to gtk_signal_connect_full() is
              not supported anymore.
              (gtk_signal_compat_matched): new internal function to aid
              implementation of the compatibility macros, it  provides
              functionality to block/unblock/disconnect handlers based
              on func/data.
      
              * gtk/gtkenums.h: define GtkSignalRunType in terms of GSignalType,
      
              * *.c: adaptions to new type registration API signatures.
      
      
      Fri Oct 20 15:26:33 2000  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.[hc]: removed G_TYPE_GTK_POINTER cludge.
      d69496c0
    • Robert Brady's avatar
      If window == NULL, assume the root window. (restoring the behaviour that · 7ae3922d
      Robert Brady authored
      2000-10-25  Robert Brady  <robert@suse.co.uk>
      
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
      	gdk_property_delete): If window == NULL, assume the root window.
      	(restoring the behaviour that was in 1.2).
      --------------------------------------------------------------------
      7ae3922d
    • Robert Brady's avatar
      ChangeLog entry. · aa9f7517
      Robert Brady authored
      aa9f7517