1. 17 Nov, 2001 5 commits
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
    • Murray Cumming's avatar
      gtk/gtktexttagtable.c (gtk_text_tag_table_class_init): · 3a346802
      Murray Cumming authored
      The first parameters of the signals are now registered as GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT.
      3a346802
    • Tor Lillqvist's avatar
      Build separate runtime and developer packages. · 6eace48c
      Tor Lillqvist authored
      2001-11-17  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Build separate runtime and developer
      	packages.
      
      	* gtk/gtk.def: Reflect recent accelerator-related changes.
      6eace48c
    • Owen Taylor's avatar
      Move notification of "has_default" to here, so it is safe to call · 61b2f259
      Owen Taylor authored
      Fri Nov 16 19:44:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_default): Move
      	notification of "has_default" to here, so it
      	is safe to call gtk_window_set_default() instead
      	of gtk_widget_grab_default().
      
      	* gtk/gtkwindow.c (gtk_window_set_focus): Make it call
      	gtk_widget_grab_focus(), which then calls
      	_gtk_widget_internal_set_focus(). This makes
      	gtk_window_set_focus() a safe way of both setting
      	and unsetting the focus widget.
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state): Use
      	gtk_widget_get_toplevel(), instead of gtk_widget_ancestor
      	to find the toplevel.
      
      	* gtk/gtkwindow.h: Move gtk_window_set_focus/default
      	from the "internal functions" section.
      61b2f259
    • Matthias Clasen's avatar
      Updates. · f2d5aec4
      Matthias Clasen authored
              * gdk/tmpl/event_structs.sgml: Updates.
      
              * gdk/tmpl/windows.sgml: Document GdkFilterFunction, GdkFilterReturn
              and GdkXEvent, add markup.
      f2d5aec4
  2. 16 Nov, 2001 9 commits
  3. 15 Nov, 2001 7 commits
    • Jonathan Blandford's avatar
      maybe fix #64160 Also, forgot to save gtktreeview.h · 16049019
      Jonathan Blandford authored
      Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
      Also, forgot to save gtktreeview.h
      16049019
    • Matthias Clasen's avatar
      Move '.' out of quote. (#64407) · cea7df47
      Matthias Clasen authored
              * gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)
      cea7df47
    • Jonathan Blandford's avatar
      New function to get a GdkWindow to compare event->window to. · 2fdf3018
      Jonathan Blandford authored
      Thu Nov 15 16:24:55 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
      	to get a GdkWindow to compare event->window to.
      
      	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
      	the signal for lateral motion too, #64361
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
      	arg as it is useless, #64137
      2fdf3018
    • Owen Taylor's avatar
      Some small drawing fixes for scroll arrows. · 91a34f5d
      Owen Taylor authored
      Thu Nov 15 16:07:42 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.
      91a34f5d
    • Owen Taylor's avatar
      Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann) · b27345fe
      Owen Taylor authored
      Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
       	gdk_window_invalidate_maybe_recurse() for recursion.
       	(Soeren Sandmann)
      
       	* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
      
      	* gtk/gtkcontainer.c (gtk_container_expose): Call
      	gtk_container_forall() not _foreach() to propagate,
      	since we need to propagate exposes to internal children
      	as well.
      
      	* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
      	Remove the restriction of only being able to call these
      	on window widgets, since we have lots of NO_WINDOW widgets
      	with windows now; for add events, recurse over the children
      	of widget->window to find one owned by the widget.
      
      	* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
      	window to catch events.
      
      	* gtk/gtktogglebutton.[ch]: Remove the code for switching
      	between NO_WINDOW and WINDOW widgets based on the mode.
      
      	* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
      	gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
      
      	* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
      
      	* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
      	change for range.
      
      	* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
      
      	* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
      b27345fe
    • Matthias Clasen's avatar
      Go back to DocBook 3.0 to get the autobuilder on developer.gnome.org back · 41f14d35
      Matthias Clasen authored
              * gtk/gtk-docs.sgml: Go back to DocBook 3.0 to get the
              autobuilder on developer.gnome.org back to work, but add
              the png notation for the stock icons.
      41f14d35
    • Owen Taylor's avatar
      Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT · 701df64d
      Owen Taylor authored
      Thu Nov 15 11:59:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkmessagedialog.c: Patch from Murray Cumming to add
      	"message_type" and "buttons" CONSTRUCT properties. (#64069)
      
      	* tests/testsocket.c: Expand tests to add a "local passive
      	child" (Test case for #64428)
      701df64d
  4. 14 Nov, 2001 15 commits
    • jacob berkman's avatar
      create the label with a mnemonic · d5ff32d7
      jacob berkman authored
      2001-11-14  jacob berkman  <jacob@ximian.com>
      
      	* gtk/gtkgamma.c (button_clicked_callback): create the label with
      	a mnemonic
      d5ff32d7
    • Sven Neumann's avatar
      make it compile without warnings. · a1361b57
      Sven Neumann authored
      2001-11-15  Sven Neumann  <sven@gimp.org>
      
      	* tests/testgtk.c: make it compile without warnings.
      a1361b57
    • Alexander Larsson's avatar
      Don't recalculate the layout on each gkt_label_ensure_layout () for · cfb30b2d
      Alexander Larsson authored
      2001-11-14  Alex Larsson  <alexl@redhat.com>
      
      	* gtk/gtklabel.c:
      	Don't recalculate the layout on each gkt_label_ensure_layout () for
      	wrapped labels.
      cfb30b2d
    • Jonathan Blandford's avatar
      Return the currently selected column when we get the column, #64380 · 99fea7f9
      Jonathan Blandford authored
      Wed Nov 14 17:40:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_expander_column): Return
      	the currently selected column when we get the column, #64380
      
      	* gtk/gtkentry.c (gtk_cell_editable_key_press_event): Handle Esc
      	to cancel CellRendererText editting, #63613
      
      	* gtk/gtkcellrenderertext.c: ditto
      
      	* gtk/gtkcellrenderertext.h: formatting changes
      99fea7f9
    • Matthias Clasen's avatar
      Add --sgml-mode. · e874c429
      Matthias Clasen authored
              * docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
              docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
              docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
      
              * docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
              docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
              docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent shor
      e874c429
    • Matthias Clasen's avatar
      Rearrange docs (#64566) · 3470c634
      Matthias Clasen authored
              * gtk/gtkbutton.c (gtk_button_get_label): Rearrange docs (#64566)
      
              * gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): Typo fix (#64474)
      
              * gtk/gtkruler.c (gtk_ruler_get_metric): Typo fix (#64470)
      
              * gtk/gtknotebook.c (gtk_notebook_prepend_page): Typo fix (#64467)
      
              * gtk/gtklabel.c: Documentation fixes (#64452)
      
              * docs/reference/gdk/Makefile.am (MKDB_OPTIONS),
              docs/reference/gdk-pixbuf/Makefile.am (MKDB_OPTIONS),
              docs/reference/gtk/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
      
              * docs/reference/gdk-pixbuf/tmpl/file-saving.sgml,
              docs/reference/gdk-pixbuf/tmpl/module_interface.sgml,
              docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-xlib-rgb.sgml: Consistent short descriptions.
              * docs/reference/gtk/tmpl/gtkprogressbar.sgml: Remove duplicate docs. (#64469)
      
              * docs/reference/gtk/gtk-sections.txt: Add missing TITLEs (#64459, #6456
      3470c634
    • Daniel Egger's avatar
      Remove unused static function. (xpm_skip_string): Dito. · 5694bcb0
      Daniel Egger authored
      2001-11-14  Daniel Egger  <degger@fhm.edu>
      
      	* gdk-pixbuf/io-xpm.c:
      	(xpm_skip_whitespaces): Remove unused static function.
      	(xpm_skip_string): Dito.
      	(xpm_extract_color): Declare const variable const to avoid warnings.
      
      	* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
      
      	* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
      
      	* gtk/gtksocket.c: Change type of mask to g_message to %ld for
      	a long.
      5694bcb0
    • Owen Taylor's avatar
      Back out accidental commit of debugging timing code · 82a6dc93
      Owen Taylor authored
      Wed Nov 14 15:14:48 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
      	out accidental commit of debugging timing code
      82a6dc93
    • Havoc Pennington's avatar
      fix Control-E so it doesn't move to a new line each time you press it · a433d5c5
      Havoc Pennington authored
      2001-11-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor): fix Control-E so
      	it doesn't move to a new line each time you press it
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix
      	return value, #62987
      a433d5c5
    • Havoc Pennington's avatar
      bulk of the tests were commented out, oops. · 419f3e9b
      Havoc Pennington authored
      2001-11-14  Havoc Pennington  <hp@redhat.com>
      
      	* tests/testtextbuffer.c (main): bulk of the tests were commented
      	out, oops.
      
      	* gtk/gtktextiter.c (find_paragraph_delimiter_for_line): make this
      	function work, should resolve #63426
      	(gtk_text_iter_ends_line): return TRUE for the end iterator
      
      	* gtk/gtktextiter.h: put padding back in GtkTextIter, I thought of
      	a couple things that might get cached in here.
      419f3e9b
    • Kjartan Maraas's avatar
      Updated Norwegian (bokml) translation. · dcff7a6a
      Kjartan Maraas authored
      2001-11-14  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* no.po: Updated Norwegian (bokml) translation.
      dcff7a6a
    • Tim Janik's avatar
      param spec fix · 5bf92100
      Tim Janik authored
      5bf92100
    • Jonathan Blandford's avatar
      new "model" construct property for language bindings. · 43d46397
      Jonathan Blandford authored
      Tue Nov 13 21:00:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new
      	"model" construct property for language bindings.
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_column_types): New
      	function to let you set the column types of a GtkTreeStore for
      	language bindings.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.
      43d46397
    • Havoc Pennington's avatar
      add set_border_width for testing · e9c62bf6
      Havoc Pennington authored
      e9c62bf6
    • Havoc Pennington's avatar
      docs including reference to bugzilla bug about how we should have a better · 7fcf41b4
      Havoc Pennington authored
      2001-11-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_add_child_in_window): docs
      	including reference to bugzilla bug about how we should have
      	a better way of positioning children
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add some padding
      
      	* gtk/gtktextview.c (gtk_text_view_size_allocate): assign zero
      	size to side rects if they don't exist, #63438
      7fcf41b4
  5. 13 Nov, 2001 4 commits
    • Havoc Pennington's avatar
      fix to properly replace selection with Return or Tab · 8befd2f8
      Havoc Pennington authored
      2001-11-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): fix to
      	properly replace selection with Return or Tab
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): fix broken code
      	that didn't locate the end of the line correctly, should fix #63800
      8befd2f8
    • Havoc Pennington's avatar
      add border width to requisition, request non-anchored children · 10b3db08
      Havoc Pennington authored
      2001-11-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): add border width
      	to requisition, request non-anchored children
      	(gtk_text_view_size_allocate): handle border width, allocate
      	non-anchored children
      	(text_view_child_new_window): set the child as object data
      	(gtk_text_view_move_child): allow children at negative
      	coordinates, no reason why not
      	(gtk_text_view_forall): make it copy the list of children before
      	walking it, to avoid reentrancy issues
      	(gtk_text_view_move_child): short-circuit if position is unchanged
      	(changed_handler): only queue_resize if requisition has changed
      	(gtk_text_view_init): don't redraw_on_allocate, since we can do
      	a better job of invalidation ourselves
      
      	* tests/testtext.c: add tests for the fixed-position children
      10b3db08
    • Tim Janik's avatar
      protect idle handle with gdk threads macro. · a272e833
      Tim Janik authored
      Tue Nov 13 19:51:43 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.c (handle_accels_changed): protect idle handle
              with gdk threads macro.
      a272e833
    • Tim Janik's avatar
      added gtkaccelmap.sgml. other updates. · d07573c0
      Tim Janik authored
      Mon Nov 12 23:06:38 2001  Tim Janik  <timj@gtk.org>
      
              * added gtkaccelmap.sgml. other updates.
      
      Mon Nov 12 23:08:37 2001  Tim Janik  <timj@gtk.org>
      
      	* gtk/maketypes.awk: fix type utils generation on unix.
      
      	* gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator
      	registry.
      
      	* gtk/gtkaccelgroup.[hc]: major API/implementation revamp:
      	removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default,
      	gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry,
      	gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove,
      	gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object.
      	introduced ::accel_changed signal for change notification, and
      	gtk_accel_group_connect/disconnect to connect closures to accel groups.
      	made gtk_accel_group_attach/detach and gtk_accel_group_activate private
      	functions.
      	deprecated gtk_accel_group_ref/unref.
      
      	* gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention
      	to accel group changed notification and basically operate on closures.
      	removed gtk_accel_label_get_accel_object and
      	gtk_accel_label_set_accel_object.
      	introduced gtk_accel_label_set_accel_closure, and for convenience,
      	gtk_accel_label_set_accel_widget.
      
      	* gtk/gtkitemfactory.[hc]: removed accelerator propagation code
      	which mostly moved into gtkaccelmap.[hc].
      	removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_*
      	and gtk_item_factory_print_func.
      
      	* gtk/gtkmain.c: call _gtk_accel_map_init().
      
      	* gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(),
      	that associates an accelerator path with menu items, through which
      	persistent accelerator settings on menu items are enabled.
      
      	* gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator
      	paths of menu item can be default constructed to allow installation
      	of accelerators on menu items that don't come with an accelerator
      	binding by default.
      
      	* gtk/gtksettings.c: fix STRING type rc settings by special casing
      	them appropriately in the parser.
      
      	* gtk/gtksignal.[hc]: allow a class function offset of 0 for
      	gtk_signal_newv().
      
      	* gtk/gtkwidget.[hc]: accelerator API revamp.
      	removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal,
      	gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and
      	gtk_widget_(un)lock_accelerators.
      	accelerators maintained through gtk_widget_add/remove_accelerator()
      	are not runtime changable now, the correct sequence to setup a
      	widget for runtime changable accelerators is now:
      	  gtk_accel_map_add_entry(accel_path, key, mods);
      	  _gtk_widget_set_accel_path(widget, accel_path, accel_group);
      
      	* gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel
      	group changes (as well as mnemonic changes) through the new signal
      	::accels_changed.
      
      Sat Nov 10 12:08:56 2001  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle
      	GString->string conversions.
      d07573c0