1. 30 Oct, 2000 2 commits
  2. 29 Oct, 2000 7 commits
  3. 28 Oct, 2000 4 commits
  4. 27 Oct, 2000 7 commits
  5. 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
  6. 25 Oct, 2000 6 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
    • Robert Brady's avatar
      Allow creation of new files when saving. · f5377237
      Robert Brady authored
      2000-10-25  Robert Brady  <robert@suse.co.uk>
      
      	* gtk/testtext.c (save_buffer): Allow creation of new files when
      	saving.
      
      	(fill_file_buffer): Don't die if a UTF-8 sequence is split across
      	calls to read().
      f5377237
    • Tor Lillqvist's avatar
      Include x11/gdkx.h only when building for X11. · fb212745
      Tor Lillqvist authored
      2000-10-25  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/gdkwindow.c: Include x11/gdkx.h only when building for X11.
      
      	* gdk/win32/gdkdrawable-win32.c
      	* gdk/win32/gdkimage-win32.c
      	* gdk/win32/gdkprivate-win32.h: Corresponding changes as in the
      	X11 backend.
      
      	* gdk/win32/gdkcc-win32.c
      	* gdk/win32/gdkcolor-win32.c
      	* gdk/win32/gdkfont-win32.c
      	* gdk/win32/gdkinput-win32.c
      	* gdk/win32/gdkmain-win32.c
      	* gdk/win32/gdkproperty-win32.c: Silence gcc -Wall.
      fb212745
  7. 24 Oct, 2000 6 commits
    • Havoc Pennington's avatar
      make it a static function · 2fab0eb1
      Havoc Pennington authored
      2000-10-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_scroll_to_mark_adjusted): make
      	it a static function
      
      	* gtk/gtktextbtree.c (gtk_text_btree_tag): Gee, maybe we should
      	redraw text when a tag is applied to it.
      
      	* gtk/gtktexttag.c (gtk_text_tag_affects_size)
      	(gtk_text_tag_affects_nonsize_appearance): private functions to
      	see if a tag requires various kinds of redraw/layout to be queued
      	up.
      
      	* gtk/gtktexttag.h (struct _GtkTextTag): Remove relief crackrock
      
      	* gtk/testtext.c (fill_example_buffer): Put the cursor
      	at the start of the buffer, so search works by default
      
      	* gtk/gtktextiter.c (lines_match): init match_start always
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_iter_at_line_index): New
      	function, get iter at a line + a byte index
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_line_index): New function,
      	to set byte position within a line
      	(gtk_text_iter_check): remove leftover G_BREAKPOINT thing
      2fab0eb1
    • Jorge Godoy's avatar
      updating pt_BR translations · 873b316f
      Jorge Godoy authored
      873b316f
    • Jorge Godoy's avatar
      updating translations · 2b81e358
      Jorge Godoy authored
      2b81e358
    • Jorge Godoy's avatar
      ng some potfile translations and adding some translations... · bb3d6338
      Jorge Godoy authored
      
       ng some potfile translations and adding some translations...
      
       <!--
      bb3d6338
    • Christopher R. Gabriel's avatar
      Updated Italian translation · 83316aa4
      Christopher R. Gabriel authored
      2000-10-24  Christopher R. Gabriel  <cgabriel@softwarelibero.org>
      
              * it.po: Updated Italian translation
      83316aa4
    • Havoc Pennington's avatar
      Re-enable the "find" dialog · 86b5c82a
      Havoc Pennington authored
      2000-10-23  Havoc Pennington  <hp@redhat.com>
      
              * gtk/testtext.c: Re-enable the "find" dialog
      
      	* gtk/testgtk.c: Add test for gdk_drawable_get_image
      
      	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix bug where
      	the arguments to gdk_draw_drawable were in the wrong order
      	(gdk_window_paint_init_bg): This function was ignoring the
      	init_region, instead of clipping to it, so the entire backing
      	pixmap was cleared on every begin_paint()
      	(gdk_window_begin_paint_region): Hmm, the same list-walking bug
      	was in here again, the loop kept using the same GtkWindowPaint
      	over and over.
      	(gdk_window_begin_paint_region): Fix a bug where we had two
      	x_offset instead of x_offset and y_offset
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): get composite drawable
      	before we get the image.
      	(gdk_draw_drawable): get the composite before we draw the drawable.
      	(gdk_drawable_real_get_composite_drawable): default
      	get_composite_drawable implementation that returns the drawable
      	itself
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Add
      	get_composite_drawable virtual function
      
      	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix a cheesy
      	list-walking bug
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_drawable): Add a hack to
      	make this work if the source drawable is a GdkDrawableImplX11
      	instead of a public drawable type. This is really broken; the
      	problem is that GdkDrawable needs a virtual method get_xid(), but
      	of course that doesn't work in practice. Enter RTTI.
      
      	Also, improve mismatched depth message.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_get_image): Implement get_image for
      	GdkPixmap
      
      	* gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_class_init):
      	install _gdk_x11_get_image as our implementation of get_image
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_get): Rename to
      	_gdk_x11_get_image and export for use in gdkdrawable-x11.c
      
      	* gdk/gdkimage.c (gdk_image_get): Make this just a wrapper around
      	gdk_drawable_get_image
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): call virtual get_image
      
      	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Virtualize
      	get_image
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_node): remove weird
      	trailing semicolon after for loop
      86b5c82a