summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-8
Commit message (Collapse)AuthorAgeFilesLines
* just go ahead and flush all the first validate stuff if it hasn't beenHavoc Pennington2002-02-131-0/+13
| | | | | | | | | | | | | | | 2002-02-13 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush all the first validate stuff if it hasn't been done, presumably someone called process_updates at a weird time. * tests/testtext.c (do_apply_colors): terminate on >= end, not > end, avoids infinite loop when end is at the end of the buffer. * gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a line data, we were adding it to the wrong line ("line" instead of "start_line")
* Don't chain up to the container's expose event. Instead callJoe Shaw2002-02-131-0/+10
| | | | | | | | | | | | 2002-02-13 Joe Shaw <joe@ximian.com> * gtk/gtktreeitem.c (gtk_tree_item_expose): Don't chain up to the container's expose event. Instead call gtk_tree_item_expose_child() on each child. Avoids a failed g_assert() in gtk_container_propagate_expose(). (gtk_tree_item_expose_child): Added. Synthesize an expose event for our children. Basically gtk_container_propagate_expose() minus the g_assert(). (#71396)
* Add some more GdkDebugFlags, for more fine-grained debugging outputTor Lillqvist2002-02-131-1/+8
| | | | | | | | | 2002-02-13 Tor Lillqvist <tml@iki.fi> * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more fine-grained debugging output (mainly used in the Win32 backend). * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
* Implement Control-F1 as toggle-tooltips-mode.Owen Taylor2002-02-131-0/+8
| | | | | | | | | | Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1 as toggle-tooltips-mode. * gtk/gtktooltips.c: Remove parsing of tooltips style string from here ... now in gtkrc.c.
* g_warning() if setting the local fails, like gdk_set_locale() did.Owen Taylor2002-02-131-0/+12
| | | | | | | | | | | | | | Wed Feb 13 12:41:44 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_init_check): g_warning() if setting the local fails, like gdk_set_locale() did. * gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list): Don't free local_list if local_count == 0. (#71241, reported by Kevin Vandersloot.) * gdk/x11/gdkselection-x11.c (gdk_text_property_to_text_list): Clean up list == NULL handling and failure.
* Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder)Owen Taylor2002-02-131-0/+5
| | | | | | | Wed Feb 13 11:27:31 2002 Owen Taylor <otaylor@redhat.com> * tests/testtreeview.c (typesystem_recurse): Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder)
* fix figuring accel path and changing behaviour.Tim Janik2002-02-131-0/+4
| | | | | | Wed Feb 13 13:26:39 2002 Tim Janik <timj@gtk.org> * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
* partly revert my recent expanding change to not expand the table if allTim Janik2002-02-131-0/+7
| | | | | | | | | Wed Feb 13 06:42:37 2002 Tim Janik <timj@gtk.org> * gtk/gtktable.c (gtk_table_size_allocate_pass1): partly revert my recent expanding change to not expand the table if all children have not epxand behaviour. this fixes palette views which often use homogeneous non-expanding tables.
* emit row_deleted before we start unreffing the nodes ourselvesKristian Rietveld2002-02-121-0/+10
| | | | | | | | | | | | Tue Feb 12 14:27:41 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): emit row_deleted before we start unreffing the nodes ourselves (gtk_tree_model_sort_increment_stamp): always increment the stamp, and not only if the stamp equals 0 (pointed out by Darin Adler) * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): we want to continue the while loop and not the nested for loop.
* always spread out the extra space allocated for the homogeneous case, asTim Janik2002-02-121-0/+7
| | | | | | | | | Tue Feb 12 02:19:49 2002 Tim Janik <timj@gtk.org> * gtk/gtktable.c (gtk_table_size_allocate_pass1): always spread out the extra space allocated for the homogeneous case, as we don't properly deal with readjusting table allocation within it. (for this purpose, a GtkAlignment can be used as table parent).
* Consider reordering the row even when there's no sort column, if there's aDarin Adler2002-02-121-0/+13
| | | | | | | | | | | | | * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_row_changed): Consider reordering the row even when there's no sort column, if there's a default sort function. (gtk_tree_model_sort_rows_reordered): Use symbolic constants. (gtk_tree_model_sort_level_find_insert): Add code to handle the case where there is no sort column, but a default sort function. (gtk_tree_model_sort_insert_value): Add code to handle the case where there is no sort column an no default sort function. (gtk_tree_model_sort_set_model): Use symbolic constant. (gtk_tree_model_sort_reset_default_sort_func): Use symbolic constant.
* Fix ChangeLogSøren Sandmann Pedersen2002-02-111-1/+1
|
* converted the "Delete File" dialog to GtkMessageDialog. Marked missingSven Neumann2002-02-111-4/+9
| | | | | | | 2002-02-11 Sven Neumann <sven@gimp.org> * gtk/gtkfilesel.c: converted the "Delete File" dialog to GtkMessageDialog. Marked missing strings for translation.
* Opaque resizing + prelighting for paned widget. move reszing logic toSoeren Sandmann2002-02-111-0/+6
| | | | | | | Mon Feb 11 22:03:15 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.[ch]: Opaque resizing + prelighting for paned widget. * gtk/gtkvpaned.c, gtk/gtkvpaned.h: move reszing logic to gtkpaned.c
* Implements DnD scrolling and fixes #71139Kristian Rietveld2002-02-111-0/+9
| | | | | | | | | | | Mon Feb 11 21:42:17 2002 Kristian Rietveld <kris@gtk.org> Implements DnD scrolling and fixes #71139 * gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): new function, (scroll_row_timeout): new function, (gtk_tree_view_drag_motion): create scroll_timeout, so scroll_row_timeout gets called
* set upper member of hadjustment correct, so the hscrollbars of listsKristian Rietveld2002-02-111-0/+6
| | | | | | | | Mon Feb 11 17:54:46 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set upper member of hadjustment correct, so the hscrollbars of lists smaller than 1 page (in width) are somewhat saner
* fix signature to match implementationjacob berkman2002-02-111-0/+5
| | | | | | | 2002-02-11 jacob berkman <jacob@ximian.com> * gdk/gdkwindow.h (gdk_get_default_root_window): fix signature to match implementation
* set value of func to NULL during initialization (we don't use func in theKristian Rietveld2002-02-111-0/+6
| | | | | | | | Mon Feb 11 16:48:34 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkliststore.c (gtk_list_store_set_valist): set value of func to NULL during initialization (we don't use func in the !SORTED case, so we just silent the compiler here) (#71029)
* install presize handler, so the validate_rows_handler will always be runKristian Rietveld2002-02-111-0/+5
| | | | | | | Mon Feb 11 16:40:44 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_set_model): install presize handler, so the validate_rows_handler will always be run (#70997)
* Add bug numberGTK_MULTIHEAD_MERGEPOINT_11_02_02Kristian Rietveld2002-02-101-1/+1
|
* increase value of new_location by one if cmp_a > 0 and we hit the end ofKristian Rietveld2002-02-101-0/+7
| | | | | | | | | Sun Feb 10 22:20:46 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): increase value of new_location by one if cmp_a > 0 and we hit the end of the list and pass NULL instead of a 'NULL-iter' with _rows_reordered
* Add three Ethiopic input methods from Daniel Yacob.Owen Taylor2002-02-101-0/+6
| | | | | | | | Sun Feb 10 12:32:44 2002 Owen Taylor <otaylor@redhat.com> * modules/input/Makefile.am modules/input/{imam-et.c, imti-er.c, imti-et.c} po/POTFILES.in: Add three Ethiopic input methods from Daniel Yacob.
* Set finalize handler; (gtk_calendar_finalize): Rename gtk_calendar_destroyAnders Carlsson2002-02-101-0/+6
| | | | | | | | 2002-02-10 Anders Carlsson <andersca@gnu.org> * gtk/gtkcalendar.c (gtk_calendar_class_init): Set finalize handler; (gtk_calendar_finalize): Rename gtk_calendar_destroy to gtk_calendar_finalize since ::destroy can be called multiple times, resulting in double-freeing memory.
* don't reduce the scroll rect size by the scroll amountHans Breuer2002-02-101-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-10 Hans Breuer <hans@breuer.org> * gdk/win32/gdkgeometry-win32.c : don't reduce the scroll rect size by the scroll amount * gdk/win32/gdkwindow-win32.c * gdk/win32/gdkselection-win32.c : added some casts to make it compile with msvc's strict type checking * gtk/fnmatch.c : #include <ctype.h> again for tolower prototype. The fnmatch() code assumes to be in the crt locale though it is feeded by utf8 strings from gtkfilesel.c * gtk/gtkfilesel.c : let ->cmpl_text be a strdup managed by _CompletionDir instead of referencing already freed memory * gtk/gtktooltips.c (gtk_tooltips_init) : fix typo to gtk_rc_parse_string (theDefaultTooltipColor) once as it was intended * tests/makefile.msc : added more tests * tests/testgtk.c (create_list) : don't try to load gtkenums.h from the current directory use ../gtk/gtkenums.h instead
* Fix a double «The» typo in a string.Kjartan Maraas2002-02-101-0/+4
| | | | | | 2002-02-10 Kjartan Maraas <kmaraas@gnome.org> * gtk/gtksizegroup.c: Fix a double «The» typo in a string.
* Avoid segfault for selectable tab labels (even without a segfault, theyMatthias Clasen2002-02-091-0/+17
| | | | | | | | | | | | | * gtk/gtknotebook.c (gtk_notebook_set_focus_child): Avoid segfault for selectable tab labels (even without a segfault, they make the notebook almost unusable, though). (#69985) * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): Silently do nothing if the parent is not a menu. (#66492) * gtk/gtkitemfactory.c (gtk_item_factory_from_widget, gtk_item_factory_path_from_widget): Try fetching the return value from menu_item->submenu as a fallback. (#69020)
* convert the iter to a child iter again, after doing _iter_children. It'sKristian Rietveld2002-02-091-0/+6
| | | | | | | | Sat Feb 9 22:57:43 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level): convert the iter to a child iter again, after doing _iter_children. It's possible that _iter_children added some rows and updated the stamp.
* Use == rather than = in sanity checks. Ouch!Daniel Elstner2002-02-091-0/+5
| | | | | | 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> * gtk/gtktextchild.c: Use == rather than = in sanity checks. Ouch!
* Add missing curled braces so that it doesn't always return. Also indentDaniel Elstner2002-02-091-0/+7
| | | | | | 2002-02-09 Daniel Elstner <daniel.elstner@gmx.net> * gtk/gtktextchild.c (CHECK_IN_BUFFER_RETURN): Add missing curled braces so that it doesn't always return. Also indent both CHECK_IN_BUFFER* macros properly, and make use of G_STMT_START/G_STMT_END.
* Add prototype for _gtk_binding_reset_parsed().Owen Taylor2002-02-091-0/+5
| | | | | | | Sat Feb 9 13:27:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.h: Add prototype for _gtk_binding_reset_parsed().
* add missed changelog entryOwen Taylor2002-02-091-1/+6
|
* Keyboard navigation for GtkPaned F6: cycle between panes. F8: focus handleSoeren Sandmann2002-02-091-0/+9
| | | | | | | | | | | Sat Feb 9 13:58:41 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.[ch]: Keyboard navigation for GtkPaned F6: cycle between panes. F8: focus handle (#53584) * tests/testgtk.c: Add test cases for GtkPaned keyboard navigation.
* XCopyArea with subwindow_mode = IncludeInferiors. (#70999)Owen Taylor2002-02-091-0/+9
| | | | | | | | | | | Sat Feb 9 00:16:31 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): XCopyArea with subwindow_mode = IncludeInferiors. (#70999) * demos/testpixbuf-save.c (configure_cb): Fix a minor memory management problem.
* Fix problem with string-valued parameters (#70012, Johan Dahlin.)Owen Taylor2002-02-091-0/+9
| | | | | | | | | | Fri Feb 8 20:24:58 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.c (binding_compose_params): Fix problem with string-valued parameters (#70012, Johan Dahlin.) * gtk/gtkentry.c (gtk_entry_delete_whitespace): Fix white space deletion.
* fix evil ref bug where the wrong row and a deleted row was unreffed. FoundJonathan Blandford2002-02-091-0/+6
| | | | | | | | Fri Feb 8 21:25:56 2002 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): fix evil ref bug where the wrong row and a deleted row was unreffed. Found by Darin Adler <darin@bentspoon.com>
* Add a function to delete all bindings add by gtk_binding_parse_binding()Owen Taylor2002-02-091-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | Fri Feb 8 18:46:13 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkbindings.[ch] (_gtk_binding_reset_parsed): Add a function to delete all bindings add by gtk_binding_parse_binding() when rereading RC files. * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Reset binding set content as well as RC content. * gtk/gtkbindings.c (binding_compose_params): Fix various GValue handling problems. * gtk/gtkentry.c (gtk_entry_class_init): Remove bindings for C-b, C-f, M-b, M-f, C-a, C-e, C-w, C-y, M-space, C-u, C-k, M-\, M-d, C-d. * gtk/gtktextview.c (gtk_text_view_class_init): Remove same bindings as GtkEntry, plus C-n, C-p, C-space * gtk/gtkrc.key.default gtk/gtkrc.key.emacs gtk/Makefile.am: Add Emacs and Default key themes.
* Remove a tiny bit more dead code.Darin Adler2002-02-091-0/+5
| | | | | * gtk/gtktreeview.c: (gtk_tree_view_map_expanded_rows_helper): Remove a tiny bit more dead code.
* Fix stale pointer bug.Darin Adler2002-02-081-0/+5
| | | | | * gtk/gtktreeview.c: (gtk_tree_view_map_expanded_rows_helper): Fix stale pointer bug.
* Return FALSE if not shoing the titles. (#70959, Thomas Leonard)Owen Taylor2002-02-081-0/+5
| | | | | | | Fri Feb 8 14:30:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (title_focus_in): Return FALSE if not shoing the titles. (#70959, Thomas Leonard)
* isspace -> g_ascii_isspace Remove gdki8n.h include. Remove <ctype.h>Darin Adler2002-02-081-0/+23
| | | | | | | | | | | | | | | | | | | | | | | * demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace * gdk/x11/gdkim-x11.c: Remove gdki8n.h include. * gdk/x11/gdkkeys-x11.c: Remove <ctype.h> include. * gdk/x11/gdkmain-x11.c: Remove <ctype.h> include. * gtk/fnmatch.c: Remove <ctype.h> include. * gtk/gtkaccelgroup.c: Remove <ctype.h> include. * gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper -> g_unichar_toupper, toupper -> g_unichar_totile * gtk/gtkbindings.c: Remove <ctype.h> include. * gtk/gtkfontsel.c: Remove <ctype.h> include. * gtk/gtkiconfactory.c: Remove <ctype.h> include. * gtk/gtkinputdialog.c: Remove <ctype.h> include. * gtk/gtklabel.c: Remove <ctype.h> include. * gtk/gtkmain.c: Remove <ctype.h> include. * gtk/gtkmenu.c: Remove <ctype.h> include. * gtk/gtkoldeditable.c: Remove <ctype.h> include. * gtk/gtkrc.c: Remove <ctype.h> include. * gtk/gtktextbtree.c: Remove <ctype.h> include. * gtk/gtktextiter.c: Remove <ctype.h> include. * gtk/gtktextsegment.c: Remove <ctype.h> include.
* gtk/gtkfilesel.c gtk/gtkgamma.c use stock labels for dialog actionSven Neumann2002-02-081-0/+6
| | | | | | | | 2002-02-08 Sven Neumann <sven@gimp.org> * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkinputdialog.c: use stock labels for dialog action buttons.
* Pass the ref_node and unref_node calls through to the child model.Darin Adler2002-02-081-0/+6
| | | | | | * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_unref_node): Pass the ref_node and unref_node calls through to the child model.
* s/__FUNCTION__/G_GNUC_FUNCTION/ dittoLaszlo Peter2002-02-081-0/+5
| | | | | | | 2002-02-08 Laszlo Peter <laca@ireland.sun.com> * gtk/gtktextchild.c: s/__FUNCTION__/G_GNUC_FUNCTION/ * gtk/gtktextview.c: ditto
* add change_value virtual function, to fix buildHavoc Pennington2002-02-081-0/+8
| | | | | | | | | | 2002-02-07 Havoc Pennington <hp@pobox.com> * gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add change_value virtual function, to fix build * gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was from GtkWidget not GtkMisc. Not that it ever mattered.
* Add ::move-focus-out signal to handle Control[-Shift]-Tab andOwen Taylor2002-02-081-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Thu Feb 7 19:52:00 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.[ch]: Add ::move-focus-out signal to handle Control[-Shift]-Tab and Control-arrow bindings and implement bindings as per #53612. * gtk/gtktextview.c (gtk_text_view_move_focus): Fix fetching the toplevel for plug-socket. * gtk/gtknotebook.c (gtk_notebook_class_init): Remove bindings for Return/Enter to select the page. * gtk/gtknotebook.c (gtk_notebook_change_current_page): Beep at ends. * gtk/gtknotebook.c (focus_tabs_move): Don't wrap around and beep at ends. * gtk/gtknotebook.c (gtk_notebook_focus): When focusing into the page with the arrow keys, focus the first widget, not the directionally closest widget.
* Convert to using binding set for doing key bindings. (#62622, Requested byOwen Taylor2002-02-081-0/+12
| | | | | | | | | | | | | | Thu Feb 7 19:00:10 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkspinbutton.c (gtk_spin_button_key_release): Convert to using binding set for doing key bindings. (#62622, Requested by Skip Montaro) * gtk/gtkwindow.c (gtk_window_class_init): Add control-arrow bindings as overrides along with control-tab bindings. * gtk/gtknotebook.c (gtk_notebook_class_init): Fix return type for ::focus_tab signal.
* Fixes #70782 and some drag dest rectangle/line issuesKristian Rietveld2002-02-071-0/+18
| | | | | | | | | | | | | | | | | | | | Thu Feb 7 19:39:27 2002 Kristian Rietveld <kris@gtk.org> Fixes #70782 and some drag dest rectangle/line issues * gtk/gtktreeview.c (gtk_tree_view_set_model): set GTK_TREE_VIEW_IS_LIST flag (we can switch from a TreeStore to a ListStore for example) (gtk_tree_view_get_path_at_pos): revert previous change, we shouldn't correct for the header, because we are taking bin_window coordinates here (gtk_tree_view_set_drag_dest_row): queue old drag_dest row and upper/lower neighbors for draw, so the drag dest rectangle/line will be cleared correctly (gtk_tree_view_get_dest_row_at_pos): correct for treeview header here, as drag_y is relative to the widget and _get_path_at_pos wants coords relative to bin_window, draw black outline rectangle after drawing the cells
* Use layout text (which may be affected by invisible char) to computeOwen Taylor2002-02-071-0/+6
| | | | | | | | Thu Feb 7 10:53:12 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_draw_text): Use layout text (which may be affected by invisible char) to compute selection bounds, not entry text. (#70733, Alex Larsson)
* Change show_help signal to return gboolean instead of void. This allowsPadraig O'Briain2002-02-071-0/+11
| | | | | | | | | | | * gtk/gtkwidget.[ch]: Change show_help signal to return gboolean instead of void. This allows the keypress which invokes the signal to be propagated to the focus widgets ancestors if not handled by the focus widget. * gtk/gtktoolips.[ch] Change _gtk_tooltips_show_tip () to return a gboolean indicating whether widget has tooltip to display.
* Change popup_menu signal to return gboolean instead of void. This allowsPadraig O'Briain2002-02-071-0/+11
| | | | | | | | | | | * gtk/gtkwidget.[ch]: Change popup_menu signal to return gboolean instead of void. This allows the keypress which invokes the signal to be propagated to the focus widgets ancestors if not handled by the focus widget. * gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtktextview.c: Change signature of popup_menu signal handler to return gboolean instead of void and return TRUE in the signal handler