]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-2
Build separate runtime and developer packages.
[~andy/gtk] / ChangeLog.pre-2-2
index 51ac8c00f93a7624ae5387ace6f2ce2bb57ed3f5..447832df665ff8a4f49494ce39e048449021816a 100644 (file)
@@ -1,3 +1,345 @@
+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.
+
+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.
+
+2001-11-16  jacob berkman  <jacob@ximian.com>
+
+       * tests/testgtk.c (create_radio_buttons): add some no-indicator
+       radio buttons
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_init): since we are
+       initially active, also initially be depressed
+       (gtk_radio_button_clicked): also update our depressed state
+
+Thu Nov 15 12:54:36 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_key_press_event): Propagate
+       key press events not just to focus/window but also to
+       intermediate widgets.
+
+       * gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown
+       to switch pages. (Needs some work on handling focus
+       when switching pages.)
+
+Fri Nov 16 14:06:31 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c: Fix child allocations to be relative to 
+       widget position and some drawing bugs.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem
+       with reading uninitialized variable.
+
+Fri Nov 16 00:16:40 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c,
+       gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items
+       NO_WINDOW widgets.
+
+       * gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some
+       cleanup.
+
+       * gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume
+       we are drawing in a window when drawing the paned handle.
+
+2001-11-16  Sven Neumann  <sven@gimp.org>
+
+       * demos/gtk-demo/appwindow.c
+       * demos/gtk-demo/menus.c: reduce compiler warnings
+
+Thu Nov 15 19:47:09 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * demos/gtk-demo/main.c (button_press_event_cb): Remove 
+       unused callback to make things compile with 
+       gtk_tree_view_path_at_pos_change().
+
+Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
+
+2001-11-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)
+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
+
+Thu Nov 15 16:07:42 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.
+
+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.
+
+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)
+
+2001-11-14  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkgamma.c (button_clicked_callback): create the label with
+       a mnemonic
+
+2001-11-15  Sven Neumann  <sven@gimp.org>
+
+       * tests/testgtk.c: make it compile without warnings.
+
+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.
+
+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
+
+2001-11-14  Matthias Clasen  <matthiasc@poet.de>
+
+       * 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)
+
+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.
+
+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.
+
+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
+
+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.
+
+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.
+
+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
+
+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
+
+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
+
+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.
+
+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.
+
 Mon Nov 12 19:33:52 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn