X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-2;h=681980af3dcb28c2eab3ac5322c302215fbf258d;hb=47dc8d4dac9987ad6f28b84b86f882d8959418dd;hp=541a77a292b4a9c5ae0ddf195b034a115cf552ab;hpb=0d5635b36613c0e5eca772e223001d1858433c28;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 541a77a29..681980af3 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,423 @@ +2001-10-29 Anders Carlsson + + * gtk/gtkiconfactory.c (get_default_icons): Fix build. + +2001-10-28 Hans Breuer + + * gdk/gdk.c gdk/gdkevents.c + gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c + gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c + gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c + gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c + gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c + gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h + gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h : + static correct-ness, underscore prefixing of library internal + functions + (applied the undisputed and the win32 part. Of the latter + I'm probably the one who will change it back again, if Owen + decides that the Gdk*Impl types should not be private to Gdk) + + * gdk/gdk.def : added the remaining exported functions + +2001-10-28 Matthias Clasen + + * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c, + gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c, + gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates. + +2001-10-28 jacob berkman + + * gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call + gtk_settings_get_default() here as that requires an X connection + (which breaks doc building with no X connection) and is not + multihead safe + (gtk_color_selection_init): delay palette loading until realize + time + (gtk_color_selection_realize): load the palette, and initialize + the global palette if it hasn't been already + + * gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the + visual/cmap fields of klass->info since they are gone + (gtk_preview_get_visual): just return gdk_rgb_get_visual () + (gtk_preview_get_cmap): just return gdk_rgb_get_colormap () + (gtk_preview_realize): don't set VISUAL and COLORMAP attributes + + * gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and + cmap fields + (gtk_preview_get_visual): + (gtk_preview_get_cmap): mark as deprecated + + * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo + changes + +Sun Oct 28 09:15:39 2001 Owen Taylor + + * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed + structure to have GObject not GtkObject as + parent_instance. (Jeff Franks.) + +2001-10-27 Matthias Clasen + + * gdk/x11/gdkinput.c: Typo fix. + +2001-10-26 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_mark_set_handler): Call + update_im_spot_location here explicitly + (gtk_text_view_reset_im_context): don't update the spot location + here + +2001-10-27 Anders Carlsson + + * gtk/gtktreemodel.c (gtk_tree_model_get): Fix typo in docs. + This fixes #62942. + + * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): + Clarify that we're returning a spin button in the _new function. + This fixes #54097. + +Fri Oct 26 20:55:57 2001 Owen Taylor + + * gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST. + Unfortunately, people apparently erroneously connect + to ::clicked for GtkToggleButton and expect + they know what happened in the default signal handler + instead of appropriately connecting to notification + signal ::toggled. When the revolution comes, such + people will be first against the wall. + + We'll just have to go back to the old less-reliable + set-it-back hacks for handling model-view check + buttons and radio buttons. :-(. + +2001-10-27 Hans Breuer + + * gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c + gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c + gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c + gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c + gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c + gtk/gtktreestore.c gtk/gtkvbbox.c : + to simplify parsing for exported functions: + - made implementation signature static, when the local + prototype already was + - put the functions return value on it's own line + - added as space between the function name and the + opening bracket + + * gtk/gtk.def : added the remaining exported functions + +2001-10-27 Anders Carlsson + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): + Add note about width having to be greater than 0. This fixes + #55574. + + * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_start): + Fix docs to say previous instead of next. + (gtk_text_iter_backward_word_start): Likewise. + This fixes bug #62980. + + * gtk/gtkcontainer.c (gtk_container_set_border_width): Mention + that the valid width is in range 0-65535 pixels. Fixes bug + #56754. + + * gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove + a dot in the documentation. Fixes bug #62632. + + * gdk/x11/gdkmain-x11.c: Replace int and guint with + long and gulong in some places to make the code 64-bit + clean. + (_gdk_windowing_init_check): Replace gint with gulong. + This patch was made by George Lebl and fixes bug #62113. + + * tests/testgtk.c (create_range_controls): Don't set a + fixed height on the hscale widget. This fixes "bug" + #55840. + (create_window_states): Set up destroy signals so that + all windows will be destroyed when one is. This fixes + bug #58133. + +2001-10-26 Anders Carlsson + + * gtk/gtktreeview.c: + (gtk_tree_view_class_init): Create new "indent_expander" + style property. + + (gtk_tree_view_get_arrow_xrange): Add a tree argument + to the function since the xrange can change depending + on where in the tree we are. + + (coords_are_over_arrow): Update function call to + gtk_tree_view_get_arrow_xrange. + (gtk_tree_view_draw_arrow): Likewise. + + (gtk_tree_view_real_expand_collapse_cursor_row): + Call real_{expand|collapse}_row, so that we'll have an + animation. + +Fri Oct 26 20:13:36 2001 Kristian Rietveld + + * tests/Makefile.am: fixed a small typo + +Fri Oct 26 18:27:11 2001 Kristian Rietveld + + * demos/gtk-demo/list_store.c (create_model): Anders + Carlsson suggested to use G_N_ELEMENTS here + +2001-10-26 Sven Neumann + + * gtk/gtkbutton.[ch] + * gtk/gtkdnd.c: fixed inline comments + + * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar. + +2001-10-26 Hans Breuer + + * gdk-pixbuf/gdk_pixbuf.def : + * gdk/gdk.def : + * gtk/gtk.def : updated externals + + * gdk/win32/gdkpixmap-win32.c : removed duplicate of + gdk_window_lookup implementation. It already was in + gdk/win32/gdkwindow-win32.c + + * gdk/win32/gdkproperty-win32.c : made it compile again + after GdkAtom API change + + * gtk/gtk/makefile.msc.in : updated + +Wed Oct 24 11:36:33 2001 Owen Taylor + + * configure.in (GTK_MICRO_VERSION): Version 1.3.10, + require GLib 1.3.10. + + * NEWS: updates. + +Thu Oct 25 16:27:29 2001 Jonathan Blandford + + * gtk/gtkrbtree.c (_gtk_rbnode_rotate_left): Add support for + invalid nodes. + (_gtk_rbnode_rotate_right): Ditto. + (_gtk_rbtree_node_mark_invalid): New function. + (_gtk_rbtree_node_mark_valid): New function. + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): We're a + GObject, not a GtkObject. + (gtk_tree_model_sort_row_has_child_toggled): Rewrote to be more + correct. + (gtk_tree_model_sort_row_deleted): ditto. + (gtk_tree_model_sort_{un,}ref_node): Fix. + + * gtk/gtktreeview.c: Protean incremental reflow support (commented + out) + + * gtk/gtktreeview.h (GtkTreeViewSearchEqualFunc): change char *key + to const char *key. + + * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper): + Important 1 line fix to fix a lot of refcounting woes. + +2001-10-25 Matt Wilson + + * gtk/gtktextview.c (gtk_text_view_destroy): call + gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which + now invalidates) so that we remove our idle functions. + (gtk_text_view_destroy_layout): remove the first_validate_idle as + well. + + * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for + the 'indent' property is G_MININT to G_MAXINT. Don't use + -G_MAXINT for the minimum of the 'rise' property, use G_MININT + instead. + +2001-10-24 Anders Carlsson + + * gtk/gtktreeview.c: + (gtk_tree_view_real_expand_row): add an animate argument + (gtk_tree_view_real_collapse_row): likewise + + (gtk_tree_view_button_press), (gtk_tree_view_button_release), + (gtk_tree_view_collapse_all), (gtk_tree_view_expand_row), + (gtk_tree_view_collapse_row): update functions that call + real_{expand|collapse}_row to set the animate argument + accordingly. + +2001-10-24 Alex Larsson + + * gdk/linux-fb/gdkfont-fb.c: + Update to new Pango APIs + + * gdk/linux-fb/gdkproperty-fb.c: + Update to new GdkAtom APIs + + * gdk/linux-fb/gdkwindow-fb.c: + Remove warnings + +Mon Oct 22 20:07:21 2001 Jonathan Blandford + + * gtk/gtktreestore.c (gtk_tree_store_prepend): Fix docs, #62808 + +Wed Oct 24 22:54:07 2001 Kristian Rietveld + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): treat + s_path as a child path + +Wed Oct 24 20:29:47 2001 Kristian Rietveld + + * gtk/gtktreemodelsort.c: more changes in an attempt to get + it right. It's not yet ready for general consumption. + + * tests/treestoretest.c: add a button and entry for the new + iter_change function + (iter_change): new function, to test + the row_changed signal implementation of the GtkTreeModelSort + + * tests/testtreesort.c: cleanups, changes to test more features + of the GtkTreeModelSort at once + +2001-10-24 Havoc Pennington + + * gtk/gtktextbuffer.c (clipboard_clipboard_buffer_received): + remove hack to strip off the bogus newline, since we killed the + bogus newline; fixes #61779 + +2001-10-24 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_update_adjustments): don't + create layout if we didn't have one + (gtk_text_view_set_buffer): invalidate so we get the idle handlers + as appropriate, avoids blanking the screen + (gtk_text_view_invalidate): new function to do invalidation, + containing old guts of invalidated_handler + +Wed Oct 24 10:29:47 2001 Owen Taylor + + * gtk/gtkalignment.c (gtk_alignment_class_init): Improve + dreadful tooltips. + +Tue Oct 23 17:31:42 2001 Owen Taylor + + * gdk/x11/gdkwindow-x11.c gdk/win32/gdkwindow-win32.c: Always + set window->parent (except or the root window itself); if + the window's parent is not a GdkWindow, or is a window of + type GDK_WINDOW_FOREIGN, set window->parent to the root parent. + + * gdk/gdkwindow.c (gdk_window_get_toplevels): Don't include + windows of type GDK_WINDOW_FOREIGN. + +2001-10-24 Havoc Pennington + + * gtk/gtktextiter.c (gtk_text_iter_backward_chars): if we move to + the front of a segment, use the "slow" technique for moving + backward, so we don't mess up the any_segment field in the iter. + Fixes #57707 + + * tests/testtextbuffer.c: add code to detect #57707, to avoid + regression + +2001-10-23 Havoc Pennington + + * gtk/gtktextview.c (popup_targets_received): only sensitize Cut + if selection contains some editable text, #60975 + (gtk_text_view_scroll_to_iter): remove warning about scrolling + prior to map; it should actually be OK to do so in many cases, + it would be nice to warn about scrolling when many lines have + height 0, but I don't know what to do about that. Perhaps + move part of flush_scroll into this function? comment added + to consider this. + +2001-10-23 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Correctly keep the same + text on the top of the screen, considering that the changed region + may have overlapped the first paragraph. Should fix msw's "text + widget scrolled to wrong place on map" bug, and probably some + other scrolling cases as well. + (gtk_text_view_set_scroll_adjustments): start adjustments at 0.0, + instead of some random value + + * gtk/gtktextview.c (gtk_text_view_class_init): actually override + grab_focus, so #59708 is really fixed + +2001-10-24 Anders Carlsson + + * gtk/gtkentry.c: (append_action_signal): Use an image menu item here + (popup_targets_received): Call append_action_signal with stock items + + * gtk/gtklabel.c: (append_action_signal): Use an image menu item here + (gtk_label_do_popup): Call append_action_signal with stock items + + * gtk/gtktextview.c: (append_action_signal): Use an image menu item here + (popup_targets_received): Call append_action_signal with stock items + +2001-10-23 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): queue a resize here; will + temporarily slow down the widget a lot, until we figure out how to + optimize to avoid full redraw everytime we queue a resize. + +2001-10-23 Havoc Pennington + + * gtk/gtktextiter.c (test_log_attrs): handle case where offset == + 0 and char_len == 0, bug #61729 + +2001-10-23 Havoc Pennington + + * gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix + return value, #61714 (Vitaly Tishkov) + (gtk_text_iter_backward_sentence_starts): ditto + (gtk_text_iter_backward_word_starts): ditto + (gtk_text_iter_forward_word_ends): ditto + (gtk_text_iter_forward_sentence_ends): ditto + (gtk_text_iter_backward_cursor_positions): ditto + +2001-10-23 Havoc Pennington + + * gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_pixel): Apply + fix from Dov Grobgeld, #61858 + +2001-10-23 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_update_im_spot_location): + Update IM spot location at appropriate times, #50626 + (Hidetoshi Tajima) + +2001-10-23 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_grab_focus): scroll to cursor + on grab focus, unless it's caused by button click, #59708 + +Tue Oct 23 11:53:00 2001 Owen Taylor + + * gtk/Makefile.am (INCLUDES): Remove G_DISABLE_CONST_RETURNS. + + * gtk/gtkfontsel.[ch]: Make gtk_font_selection_get_font() + G_CONST_RETURN. (Murray Cumming) + + * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_preview_text): + Make G_CONST_RETURN. + + * gtk/gtkfilesel.c (open_user_dir): Fix bug with freeing + results of g_get_home_dir(). + + * gtk/gtkfilesel.c: Make filesel->fileop_file a duplicated + copy. Storing the return from gtk_entry_get_text() is evil. + + * gtk/gtkcombo.c gtk/gtkcellrenderertext.c gtk/gtkbindings.c + gtk/gtkfilesel.c gtk/gtkfontsel.c gtk/gtkimmodule.c + gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtktreedatalist.c + gtk/gtksignal.c: Add const. + + * gdk/x11/gdkkeys-x11.c (get_direction): Add missing const. + + * gtk/gtktreeview.c: Namespace object data keys to be safe, even + if we are setting them on private widgets. + + * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): + Duplicate entry->text before setting it as object data. + 2001-10-22 Havoc Pennington * gtk/gtktextbuffer.c (gtk_text_buffer_place_cursor): don't back @@ -58,12 +478,13 @@ Mon Oct 22 11:47:47 2001 Owen Taylor * gtk/gtklabel.c: Add cursor-position, selection-bound - properties. (#62148, Reported by Padraig O'briain) + properties. (#62148, reported by Padraig O'Briain) * gtk/gtkentry.c (gtk_entry_class_init): Rename text_position to cursor_position. (1.3.x addition, text_position is an awful name.) Make cursor_position read-only to avoid sticky questions - of interaction with selection_bound. + of interaction with selection_bound. (#62636, reported by + Padraig O'Briain) Mon Oct 22 16:25:12 2001 Owen Taylor @@ -532,7 +953,6 @@ Fri Oct 5 19:06:07 2001 Kristian Rietveld it instead of "search-dialog" (when getting/setting the search dialog widget). ->>>>>>> 1.2409 2001-10-05 Jakub Steiner * gtk/stock-icons/stock_broken_image.png: broken images icon