1 Thu Aug 1 19:09:39 2002 Owen Taylor <otaylor@redhat.com>
3 * demos/gtk-demo/changedisplay.c: New demo for
4 window migration between different displays and screens.
6 * gtk/gtkrc.c gtkstyle.[ch]: Add
7 _gtk_style_init_for_settings(), so that gtkrc.c
8 can initialize the styles it creates for the
11 * gdk/gdkdisplaymanager.c (gdk_screen_get_default)
12 * gtk/gtksettings.c (gtk_settings_get_default)
13 * gtk/gtkstyle.c (gtk_style_init): Handle absence of
16 * gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
17 Handle display == NULL.x
19 * gdk/gdkdisplay.c (gdk_display_dispose): Free the
22 * gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
23 Remove the event source when closing a display.
25 * gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
26 isn't convenient enough by itself.
28 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
29 Create foreign windows for watch windows if there isn't
30 an existing window, instead of installing a global filter.
32 * gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
33 gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
34 Clean up the xsettings_client when we are done with
37 * gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
38 excess call to _gdk_x11_events_init_screen()
40 2002-08-01 Sven Neumann <sven@gimp.org>
44 * gdk/gdkrgb.c: trivial changes to some debug code so it compiles
45 with VERBOSE being defined.
47 Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
49 * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:
50 Start implementing display/screen closing scheme; keep a
51 flag for whether displays and screens are closed,
52 call g_object_run_dispose(). Remove public gdk_screen_close().
54 * gdk/x11/gdkdisplay-x11.c gdk/x11/gdkscreen-x11.c: Add
55 dispose() methods; move appropriate parts of the finalize
58 * gdk/x11/gdkcolor-x11.c gdk/x11/gdkimage-x11.c
59 gdk/x11/gdkmain-x11.c gdk/x11/gdkpango-x11.c
60 gdk/x11/gdkpixmap-x11.c gdk/x11/gdkproperty-x11.c
61 gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.c:
62 Start of making everything correctly ignore operations
63 when a display has been closed.
65 * gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations):
66 Handle decorations == NULL.
68 * gdk/x11/gdkcolor-x11.c (gdk_colormap_remove):
69 Remove unnecessary hash table creation.
71 * gdk/x11/gdkinput.c gdk/x11/gdkinput-x11.c gdk/win32/gdkinput.c
72 Fix up gdk_device_get_history - handle events, n_events == NULL,
75 * gdk/x11/gdkproperty-x11.c (gdk_property_get):
76 Handle failure better.
78 * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
79 Handle failure better, handle data == NULL, move docs
80 here, remove an excess round trip by asking for
81 all selection data at once.
83 * gdk/gdkselection.c gdk/win32/{x11,win32}/gdkselection-{x11,win32}.c
84 gdk/{x11,win32}/gdkmain-{x11,win32}.c gdk/gdkdisplay.c: Move
85 gdk_text_property_to_text_list(), gdk_string_to_compound_text(),
86 gdk_display_set_sm_client_id() to display-independent part of GDK.
88 * gdk/Makefile.am (gdk_c_sources): Sort gdkdisplay/screen.[ch]
91 2002-07-31 jacob berkman <jacob@ximian.com>
93 * gtk/queryimmodules.c (print_escaped): escape_string() only takes
96 Wed Jul 31 12:50:51 2002 Owen Taylor <otaylor@redhat.com>
98 * gtk/queryimmodules.c: Avoid using g_strescape(),
99 since it mangles UTF-8, (#89479, Yao Zhang.)
101 Tue Jul 30 19:09:46 2002 Owen Taylor <otaylor@redhat.com>
103 * gtk/gtkrange.c (gtk_range_scroll_event): Handle
104 inverted ranges correctly (#85436, fix from
107 Tue Jul 30 16:36:53 2002 Owen Taylor <otaylor@redhat.com>
109 * tests/testgtk.c: Fix bug in the selection mode option
110 menus which were setting the wrong values.
111 (#85763, Manuel Op de Coul)
113 Tue Jul 30 15:39:06 2002 Owen Taylor <otaylor@redhat.com>
115 * demos/Makefile.am: Honor GDK_PIXBUF_CSOURCE from
116 configure.in when cross-compiling. (#87099,
119 Mon Jul 29 16:42:30 2002 Owen Taylor <otaylor@redhat.com>
121 * gtk/gtkimcontext.c (gtk_im_context_real_get_surrounding):
122 Unset gtk-im-surrounding-info object data again.
123 (Fix from Yao Zhang, #86811)
125 Fri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com>
127 * configure.in: Replace uses of grep \(A\|B\) ... with
128 egrep (A|B). (#84872, Arnaud Charlet)
130 Fri Jul 26 22:53:37 2002 Kristian Rietveld <kris@gtk.org>
132 API additions: _move, _reorder and _swap for stores, path
135 * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
137 * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
138 gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
140 * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
141 gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
143 Fri Jul 26 22:32:57 2002 Kristian Rietveld <kris@gtk.org>
147 * gtk/gtktreestore.c (node_free): return FALSE,
148 (gtk_tree_store_finalize): use g_node_traverse instead of
149 g_node_children_foreach, so the whole tree will be freed (#88854,
150 patch from Emmanuel Briot).
152 Fri Jul 26 22:32:24 2002 Kristian Rietveld <kris@gtk.org>
156 * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
157 (#84426, patch from Matthias Clasen).
159 Fri Jul 26 22:31:25 2002 Kristian Rietveld <kris@gtk.org>
163 * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
164 check shouldn't be in g_return_return_val_if_fail (pointed out by
166 (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
167 for each column when we unset the model (part of #82484),
168 (gtk_tree_view_get_cell_area): return if we ran out of tree or
169 if we got an invalid path (#82376).
171 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
173 * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
174 which disconnects the sort_column_changed_signal (part of #82484).
176 * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
177 given postion is off the end of the tree (#85813).
179 * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
180 2-space indent, commit changes if up/down keys has been pressed,
181 this overrides the focus key foo so the user won't be surprised
184 Fri Jul 26 16:34:34 2002 Shivram U <shivaram.upadhyayula@wipro.com>
186 * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable),
187 (gdk_pixbuf_get_from_image), (rgbconvert), (convert_real_slow):
188 Check if depth of the source is not equal to the depth of the colormap
191 2002-07-25 Matthias Clasen <maclas@gmx.de>
193 * gdk/gdkrgb.c (gdk_rgb_select_conv): Use gdk_rgb_convert_4,
194 not gdk_rgb_convert_8 for depth 4, bpp 8, PseudoColor visuals.
197 Thu Jul 25 14:14:46 2002 Owen Taylor <otaylor@redhat.com>
199 * gtk/gtkmenushell.c: When a menubar is up, use F10 to cycle
200 menubars, not Control-Tab (#87159, Calum Benson. Patch from
203 * gtk/gtkmenubar.c: When cycling menu bars, cancel
204 after the last instead of wrapping around.
206 Thu Jul 25 11:57:57 2002 Owen Taylor <otaylor@redhat.com>
208 [ Patch from Padraig O'Briain, #87904 ]
210 * gtk/gtkwidget.c (gtk_widget_class_init): Cleanup -
211 use G_SIGNAL_RUN_LAST not GTK_RUN_LAST when using
214 * gtk/gtktogglebutton.c (gtk_toggle_button_mnemonic_activate):
215 Always focus the widget, even when we are activating
218 2002-07-24 Havoc Pennington <hp@pobox.com>
220 * gtk/gtktextview.c: Apply patch from Gustavo
221 Giraldez for bug #78513
223 Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
225 * gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
226 GTK_RC_FILES, since it causes problems with what KDE (etc.)
227 does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
229 2002-07-16 Federico Mena Quintero <federico@ximian.com>
231 * gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.
234 2002-07-16 Sven Neumann <sven@gimp.org>
238 * gdk/win32/gdkmain-win32.c
239 * gdk/x11/gdkmain-x11.c: pass argc and argv to the GDK backend in
240 _gdk_windowing_init() so that the backend has a chance to process
241 the command-line arguments (GTK+-DirectFB needs this).
243 2002-07-10 jacob berkman <jacob@ximian.com>
245 * gtk/gtkoptionmenu.c (gtk_option_menu_scroll_event): activate the
246 menu item so old apps work properly
248 Wed Jul 10 14:27:14 2002 Owen Taylor <otaylor@redhat.com>
250 * modules/input/gtkimcontextxim.c gtk/gtkcolorsel.c
251 gtk/gtkdialog.c gtk/gtktextbtree.c: Fix some cases
252 where signal connection IDs where being assigned to
253 guint rather than gulong. (part of #87281, Shivram U)
255 Fri Jul 5 20:18:23 2002 Owen Taylor <otaylor@redhat.com>
257 * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
258 gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
259 to _gtk_menu_item_select_first() to allow us to choose
260 whether we want to select the first item predictably
261 or to select the first sensitive item. Fixes problem
262 with insensitive menu items and keynav. (#85796,
263 reported by Bill Haneman and others.)
265 Fri Jul 5 02:50:24 2002 Jonathan Blandford <jrb@gnome.org>
267 * gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning.
268 (gtk_tree_view_search_iter): fix warning, #85884
270 * gtk/gtktreestore.c (gtk_tree_store_get_flags): change return
271 value to GtkTreeModelFlags to fix compiler warning, #85883
273 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change
274 return value to GtkTreeModelFlags to fix compiler warning, #85882
276 * gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler
279 Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
283 * gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
286 2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
288 * gtk/gtksocket.c (gtk_socket_hierarchy_changed):
289 Use hyphen instead of underscore in signal names in calls to
290 g_signal_connect_swapped (Fixes bug #86339)
292 Tue Jul 2 00:33:26 2002 Jonathan Blandford <jrb@gnome.org>
294 * gtk/gtktreeview.c (validate_visible_area): only validate the
295 visible area if we've ever been requisitioned.
297 Mon Jul 1 17:04:09 2002 Jonathan Blandford <jrb@redhat.com>
299 * gtk/gtkliststore.c (gtk_list_store_real_set_value): sync up
300 white space/variable names to match tree_store equiv.
302 * gtk/gtktreestore.c (gtk_tree_store_real_set_value): sort if we
305 Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
307 * contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
308 (xlib_window_is_viewable):
309 Fixed failure of assertion when drawable is root window.
311 Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
313 * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
316 gdk_get_default_display => gdk_display_get_default
317 gdk_get_default_screen => gdk_screen_get_default
318 gdk_open_display => gdk_display_open
320 Thu Jun 20 16:49:00 2002 Owen Taylor <otaylor@redhat.com>
322 * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
323 gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
324 gdk/win32/gdkdisplay-win32.c: Add a singleton object that
325 we can use to get notification when displays
326 appear / disappear or the default display changes.
328 gdk_set_default_display() => gdk_display_manager_set_default_display()
329 gdk_list_displays() => gdk_display_manager_list_displays().
332 * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
335 * gdk/gdkintl.h: Add this.
337 * gtk/gtkmain.c: Add gtk_parse_args() that initializes
338 GTK+ without opening a display.
340 * gtk/gtkmain.c: Set things up so if a module
341 exports gtk_module_init() and gtk_module_display_init(),
342 then we treat it as multihead aware, otherwise,
343 we only initialize it after the default display is set.
345 Thu Jun 20 15:53:21 2002 Owen Taylor <otaylor@redhat.com>
347 Patch from Erwann Chenede.
349 * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkprivate-x11.h:
350 Introduce a yes/no/unknown GdkTristate, use it
351 in a couple of places. (#79962)
353 * gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.h: Make
354 gravity_works per-display. (#79963)
356 Thu Jun 20 15:36:40 2002 Owen Taylor <otaylor@redhat.com>
358 * gtk/gtkselection.c (gtk_selection_owner_set): Get
359 the owner from the display if !NULL. Otherwise, warn for
362 Thu Jun 20 15:17:14 2002 Owen Taylor <otaylor@redhat.com>
364 * gtk/gtkstyle.[ch]: Get rid of gtk_style_get_font_for_display(),
365 make gtk_style_get_font() warn for multihead if called
366 on an unattached style. (#80277)
368 * gtk/gtktext.c: Remove use of gtk_style_get_font_for_display();
369 this makes gtktext not multihead safe, but it doesn't matter;
370 it's ENABLE_BROKEN anyways.
372 * gtk/gtkmain.c gtk/gtkdebug.h: Add GTK_NOTE(MULTIHEAD,[])
374 Thu Jun 20 14:51:30 2002 Owen Taylor <otaylor@redhat.com>
376 * gtk/gtksettings.c (gtk_settings_notify): Only
377 change the double click time if the screen for
378 the notification is screen 0 of the display.
381 * gdk/gdkevents.c (gdk_display_set_double_click_time): Fix
384 Thu Jun 20 12:16:00 2002 Owen Taylor <otaylor@redhat.com>
386 * gtk/gtkinvisible.c (gtk_invisible_set_screen): Add
387 notification for screen property. (#80280)
389 Wed Jun 19 19:30:45 2002 Owen Taylor <otaylor@redhat.com>
391 * gtk/gtkrc.c: Keep a global list of strings and
392 RC files to reparse, make gtk_rc_parse_string(),
393 gtk_rc_parse() add to the list, and parse the
394 string or file in _all_ contexts.
396 * gtk/gtkrc.c (gtk_rc_reparse_all): Reparse all
397 contexts, not just the default context.
399 Tue Jun 18 19:38:08 2002 Owen Taylor <otaylor@redhat.com>
401 * gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
404 * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
405 missing check for mv_resize == NULL.
407 Tue Jun 18 19:30:25 2002 Owen Taylor <otaylor@redhat.com>
409 * gtk/gtktreeview.c: Typo fix.
411 Tue Jun 18 19:11:51 2002 Owen Taylor <otaylor@redhat.com>
413 * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h
414 gdk/gdkinternals.h gdk/win32/gdkevents-win32.c
415 gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c
416 gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h:
417 Make the core pointer object per-display. (#85698)
419 * gtk/gtkdnd.c gtk/gtktreeview.c: Adapt to above change.
421 2002-06-18 Yanko Kaneti <yaneti@declera.com>
423 * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
425 Tue Jun 18 14:41:48 2002 Owen Taylor <otaylor@redhat.com>
427 * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
428 gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
429 gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
432 * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
433 gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
434 gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
435 gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
436 Adapt to above change.
438 Tue Jun 18 12:04:10 2002 Owen Taylor <otaylor@redhat.com>
440 * gdk/gdk.c (gdk_init_check): Change handling
441 of gdk_intialized(), so that gdk_parse_args(),
442 gdk_init_check() sequence works.
444 Tue Jun 18 11:46:33 2002 Owen Taylor <otaylor@redhat.com>
446 * gdk/x11/gdkwindow-x11.c (get_move_resize_data): Add
447 a gboolean create argument, so we don't create the
448 structure unless we actually emulate move-resize
451 Sat Jun 15 23:53:03 2002 Owen Taylor <otaylor@redhat.com>
453 * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
454 Actually use the UTF-8 filename, so we actually
457 * tests/testgtk.c: Remember the directory as a
458 test of gtk_file_selection_set_filename().
460 Sat Jun 15 23:05:19 2002 Owen Taylor <otaylor@redhat.com>
462 * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
463 Fix backwards asssertion. (#85434)
465 Sat Jun 15 16:10:00 2002 James M. Cape <jcape@ignore-your.tv>
467 * gtk/gtktexttag.c (gtk_text_tag_set_property):
468 Notify about "background-full-height-set", not
469 "bg_full_height_set". (#83336)
471 Fri Jun 14 15:41:50 2002 Jonathan Blandford <jrb@redhat.com>
473 * gtk/gtktreeview.c: Fix bug #84268, where validate_rows sometimes
474 didn't remove itself correctly. Thanks to Dave Camp for the fix.
476 Fri Jun 14 15:09:11 2002 Jonathan Blandford <jrb@redhat.com>
478 * gtk/gtktreeview.c (gtk_tree_view_set_adjustments):
479 disconnect_by_func instead of disconnect_by_data. Someone else
480 could use the same data as us.
482 * gtk/gtktreeview.c (do_validate_rows): update the adjustment
483 immediately after we update the size. Fixes some scroll_to bugs.
484 (validate_visible_area): ditto
486 Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
488 * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
489 Ignore state change events for windows that aren't
490 our toplevels. (#84482, Thomas Leonard)
492 Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
494 * gdk/gdkwindow.c (gdk_window_update_idle): Add
495 missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
496 (Report of non-thread-safety from Nicholas Allen)
498 * gtk/gtkmain.c (rewrite_events_translate): Fix sign
499 problem with coordinate translation. (Fix from
502 Thu Jun 13 19:41:56 2002 Owen Taylor <otaylor@redhat.com>
504 * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
505 gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
506 gtk/gtkwidget.c: Fix type names for GtkIconSet,
507 GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
508 GtkTextAttributes, GtkTreePath, GtkTreeIter,
509 GtkRequisition, which were all registered as GtkType*.
510 (#84634, James Henstridge; patch from Jonathan Blandford.)
512 Thu Jun 13 18:48:14 2002 Owen Taylor <otaylor@redhat.com>
514 * gdk/x11/gdkcolor-x11.c: Make work
515 gdk_colormap_sync() work for DirectColor visuals
516 as well. Fill in the ->colors array in
517 gdk_screen_get_system_colormap () for DirectColor visuals.
518 (#81954, Based on a patch from shivaram.upadhyayula@wipro.com)
520 Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
522 * gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
523 CUA cut/copy/paste bindings. (#79078)
525 * gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
526 a synonym for for Backspace. (#80302, Jeff Waugh)
528 Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
530 * gdk/x11/gdkdnd-x11.c: Ignore all client events that
531 were sent to a window that we don't know about or
532 to a foreign window. (#81543, Young-Ho, Cha)
534 Thu Jun 13 12:24:09 2002 Owen Taylor <otaylor@redhat.com>
536 * gtk/gtkfilesel.c (gtk_file_selection_set_filename):
537 Fix so that the encoding of the filename is handled
538 properly in the case of non-UTF-8 filesystems;
539 document the encoding. (#77948, Sebastian Ritau)
541 * gtk/gtkfilesel.c (filenames_drag_get): Remove
542 debug printf. Fix UTF-8 / filename encoding
545 2002-06-13 Christian Rose <menthos@menthos.com>
547 * Makefile.am (EXTRA_DIST): Remove po/README.tools, po/desk.pl
550 Thu Jun 13 12:01:36 2002 Owen Taylor <otaylor@redhat.com>
552 * gtk/gtkentry.c (gtk_entry_drag_motion): Don't return
553 a positive status unless there is a text target in
554 the drag. (#83386, Thomas Leonard.)
556 Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
558 * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
559 the initial grab time, use that when changing the
560 pointer. (#83052, help from Dave Camp tracking it down.)
562 Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
564 * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
565 not just the leafs (pointed out by Josh Parsons)
567 2002-06-12 Havoc Pennington <hp@redhat.com>
569 * configure.in: check that pango has Xft2 support, instead of
570 checking whether Xft2 exists.
572 Wed Jun 12 17:46:53 2002 Owen Taylor <otaylor@redhat.com>
574 * gtk/gtkentry.c (blink_cb): Add an informative
575 g_warning() when the entry has lost a focus-out-event.
576 (#78305, Michel Selten)
578 Wed Jun 12 17:31:15 2002 Owen Taylor <otaylor@redhat.com>
580 * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
581 Check to see if the menu item is selectable before
582 setting menu_shell->active_menu_item. This hopefully
583 will keep gail from getting confused.
584 (#84115, Remus Draica)
586 Wed Jun 12 17:13:13 2002 Owen Taylor <otaylor@redhat.com>
588 * gtk/gtkwindow.c (gtk_window_move_resize): Fix bug
589 where if CENTER_ON_PARENT was set, but there was
590 no parent, GDK_HINT_POS would be set, resulting
591 in a dialog at 0,0. (#83479, Havoc Pennington)
593 Wed Jun 12 16:34:13 2002 Owen Taylor <otaylor@redhat.com>
595 * gtk/gtkmenubar.c: When fetching the menubars for
596 the window for F10 handling, only add viewable menu
597 bars. (Apparently, people sometimes put menu bars
598 in notebook pages!) (Tim Janik, #82627)
600 Wed Jun 12 16:21:38 2002 Owen Taylor <otaylor@redhat.com>
602 * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate):
603 Clamp size of child to at least 1x1. (#82431,
606 Wed Jun 12 15:43:38 2002 Owen Taylor <otaylor@redhat.com>
608 * gtk/gtkspinbutton.c (gtk_spin_button_snap): Handle
609 0 increment, to fix division-by-zero problem.
610 (#82816, George Lebl.)
612 Wed Jun 12 15:38:01 2002 Owen Taylor <otaylor@redhat.com>
614 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
615 Fix memory leak. (Patch from Matthias Clasen, #84926)
617 * gtk/gtkrange.c (gtk_range_init): Initialize
618 mouse_x, mouse_y to -1,-1. (#84871, Garrett Lesage)
620 Wed Jun 12 15:08:37 2002 Owen Taylor <otaylor@redhat.com>
622 * gtk/gtkrc.c (gtk_rc_get_style_by_paths): Allow
623 NULL for widget path or class path as documented.
624 (#83150, Sergey Kuzminov)
626 Wed Jun 12 15:02:30 2002 Owen Taylor <otaylor@redhat.com>
628 * gtk/gtktextutil.c: Fix ZWJ => ZWN typo.
629 (#83092, Tino Meinen)
631 Wed Jun 12 14:41:43 2002 Owen Taylor <otaylor@redhat.com>
633 * configure.in: Fix some problems with case statements
634 for checking for omitted deps. (#84202, Jacob Berkman.)
636 * configure.in: Remove USE_X11R6_XIM checks since we
639 Wed Jun 12 14:18:45 2002 Owen Taylor <otaylor@redhat.com>
641 * gtk/gtkimcontextsimple.c: Add compose sequences
642 of dead_acute + c/C => C WITH CEDDILLA.
643 (Nano Golveia, #83492)
645 2002-06-10 Hans Breuer <hans@breuer.org>
647 * gdk/makefile.msc : added gdkdisplay and gdkscreen
649 * gdk/win32/gdkdisplay-win32.c (gdk_open_display) :
650 need to gdk_screen_set_default_colormap(). Also un-static
651 some exported gdk_display_*() functions
653 * gdk/win32/gdkdrawable-win32.c : added "gdkscreen.h"
655 * gdk/win32/gdkscreen-win32.c : implement
656 gdk_screen_get_number, fixed typo, added rewuired headers
658 [merge from 2.0.x branch, should we really manifest
659 GtkPlug as being an X11 only thing this way? See #58541]
660 * gtk/gtkwindow.c (gtk_window_show): Conditionalize
661 GTK_IS_PLUG() check on GDK_WINDOWING_X11. (Problem
662 reported by Sven Neumann)
664 2002-06-10 Tor Lillqvist <tml@iki.fi>
666 [ merge from stable ]
668 * gdk/win32/gdkmain-win32.c (gdk_screen_get_width_mm,
669 gdk_screen_get_height_mm): Use the "logical dpi" to calculate
670 (pseudo) physical sizes. Similar to the use of "logical dpi" in
671 Pango as suggested by Joaquin Cuenca Abela.
673 Two fixes by Florent Duguet:
675 * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Correct
676 semantics for setting cursor to NULL (should use cursor of parent
679 * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Plug memory
682 2002-06-10 Naba Kumar <kh_naba@users.sourceforge.net>
684 * configure.in: Added hi in ALL_LINGUAS
686 2002-06-09 Matthias Clasen <maclas@gmx.de>
688 * gtk/gtktextbtree.c (_gtk_text_btree_unref): Don't leak
689 child_anchor_table. (#84425)
691 * gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't leak
692 one_display_cache. (#84424)
694 Fri Jun 7 23:11:42 2002 Jonathan Blandford <jrb@gnome.org>
696 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): Fix sizing
699 * docs/reference/gtk/tmpl/gtkbutton.sgml: Remove ^M's.
701 2002-06-07 Matthias Clasen <maclas@gmx.de>
703 * gtk/gtktreeviewcolumn.c
704 (gtk_tree_view_column_clear_attributes_by_info): New function,
705 split off from gtk_tree_view_column_clear_attributes.
706 (gtk_tree_view_column_clear_attributes):
707 (gtk_tree_view_column_finalize): Call the new function, avoid
708 recalculating the info from the renderer. (#84413)
710 * gtk/gtktextview.c (text_view_child_new_anchored): Initialize
711 vc->type in order to avoid a later UMR. (#84415)
713 2002-06-07 Mark McLoughlin <mark@skynet.ie>
715 * gtk/gtkwindow.c: (gtk_window_compute_configure_request): use
716 the RootWindow of this screen for gdk_window_get_pointer.
718 2002-06-06 Matthias Clasen <maclas@gmx.de>
720 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Set
721 hardware_keycode for KeyRelease events. (#84305)
723 Thu May 23 15:44:30 2002 Owen Taylor <otaylor@redhat.com>
725 * gtk/gtktextview.c (changed_handler): Don't redraw
726 when the area is completely above the visible area.
728 Fri May 17 17:27:21 2002 Owen Taylor <otaylor@redhat.com>
730 * gtk/gtkwindow.c gtk/gtkwidget.c: Add a "is_focus"
731 property indicating whether a widget is the focus
732 widget within the toplevel.
734 * gtk/gtkwindow.[ch]: Add "is_active" "has_toplevel_focus"
735 properties to indicate (separately) the idea of
736 being the part of the toplevel with the input focus
737 and being the active widget. (Needed for full XEMBED
740 * gtk/gtkplug.c gtk/gtksocket.c: Update to work
741 in terms of is_active/has_toplevel_focus, and thus
742 handle the active/focused XEMBED distinction
745 * gtk/gtkplug.c (gtk_plug_realize): Remove
746 FOCUS_CHANGE_MASK, since we don't need it.
748 Fri May 17 18:07:34 2002 Owen Taylor <otaylor@redhat.com>
750 * gtk/gtksocket.c (gtk_socket_add_window): Send
751 XEMBED_EMBEDDED_NOTIFY.
753 * gtk/gtksocket.c: Assume windows without _XEMBED_INFO
754 property want to be mapped, for better
755 current-Qt compatibility.
757 Thu Jun 6 17:27:01 2002 Kristian Rietveld <kris@gtk.org>
759 * gtk/gtkrbtree.c (_gtk_rbtree_reorder): don't leak the GArray
760 (figured out by Matthias Clasen, fixes #82026).
762 Wed Jun 5 18:34:47 2002 Owen Taylor <otaylor@redhat.com>
764 Changes multihead reorganizing code for win32 support,
765 mostly from a patch by Hans Breuer.
767 * gdk/gdkcolor.c gdk/x11/gdkcolor-x11.c gdk/gdkcursor.c
768 gdk/x11/gdkcursor-x11.c gdk/gdkevents.c gdk/x11/gdkevents-x11.c
769 gdk/gdkfont.c gdk/x11/gdkfont-x11.c gdk/gdkkeys.c
770 gdk/x11/gdkkeys-x11.c gdk/gdkimage.c gdk/x11/gdkimage-x11.c
771 gdk/gdkscreen.c gdk/x11/gdkmain-x11.c
772 gdk/gdkdisplay.c gdk/gdkevents-x11.c gdk/gdkpango.c
773 gdk/x11/gdkpango-x11.c gdk/gdkselection.c
774 gdk/x11/gdkselection-x11.c gdk/gdkwindow.c
775 gdk/x11/gdkwindow-x11.c gdk/gdkvisual.c gdk/x11/gdkvisual-x11.c:
776 Move port-independent singlehead wrapper functions into
777 port-independent part of GDK. (#80009)
779 * gdk/win32/gdkcolor-win32.c gdk/win32/gdkcursor-win32.c
780 gdk/win32/gdkevents-win32.c gdk/win32/gdkfont-win32.c
781 gdk/win32/gdkimage-win32.c gdk/win32/gdkkeys-win32.c
782 gdk/win32/gdkmain-win32.c gdk/win32/gdkproperty-win32.c
783 gdk/win32/gdkselection-win32.c gdk/win32/gkwindow-win32.c:
784 Turn singlehead functions into "multihead" functions that ignore
785 their GdkDisplay or GdkScreen arguments.
787 * gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
788 gdk/win32/gdkinput-win32.c gdk/win32/gdkprivate-win32.h:
789 Misc multihead-compatibility changes.
791 * gtk/gtk.def gdk/gdk.def: Update for multihead functions.
793 * gdk/gdkcolormap.h gdk/gdkvisual.h gdk/x11/gdkcolormap-x11.c
794 gdk/x11/gdkvisual-x11.c: Remove the screen fields
795 from the public parts of the colormap/visual structures, add accessors
798 * gdk/gdkpixbuf-render.c gdk/gdkpixmap.c gdk/gdkrgb.c
799 gdk/x11/gdkcolormap-x11.c gdk/x11/gdkimage-x11.c
800 gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.h gtk/gtkgc.c
801 gtk/gtkstyle.c gtk/gtkwidget.c: Use accessors to get the screen
802 for colormaps, visuals; move the fields into the private
803 structures for the x11 backend.
805 * gdk/gdkdisplay.[ch] gdk/x11/gdkdisplay-x11.[ch]
806 gdk/gdkscreen.[ch] gdk/x11/gdkscreen-x11.c:
807 Remove virtualization of screen and display functions.
808 (#79990, patch from Erwann Chenede)
810 * gdk/win32/gdkdisplay-x11.c gdk/win32/gdkscreen-win32.c
811 gdk/win32/{Makefile.am, makefile.msc, makefile.mingw}:
812 New files containing stub implementations of Display,
815 * gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
816 gdk/x11/gdkx.h: Clean up function exports and what
817 headers they are in. (#79954)
819 * gdk/x11/gdkx.h: Fix macro that was referring to a non-existant
820 screen->screen_num. (In the patch for #79972, Erwann Chenede)
822 * gdk/gdkscreen.c gdk/gdkwindow.c gdk/x11/gdkinternals.h
823 gdk/x11/gdkscreen-x11.c: Fix gdk_screen_get_window_at_pointer()
824 to use window hooks. (#79972, patch partly from Erwann Chenede)
826 * gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c: Fix
829 Wed Jun 5 23:29:41 2002 Kristian Rietveld <kris@gtk.org>
831 Related bugs: #76252, #76396, #80866.
833 * gtk/gtktreeselection.[ch]: added
834 gtk_tree_selection_get_selected_rows(),
835 added gtk_tree_selection_count_selected_rows(),
836 renamed gtk_tree_selection_real_select_range() to
837 gtk_tree_selection_real_modify_range(), and added mode parameter,
838 added gtk_tree_selection_unselect_range().
840 Tue Jun 4 17:39:34 2002 Owen Taylor <otaylor@redhat.com>
842 * configure.in: If we have xft .pc file, use that
843 when checking for Xft/Xrender. (Still need to separate
844 out HAVE_XFT, HAVE_RENDER)
846 * configure.in: Make sure Xft cflags come before X cflags.
848 Tue Jun 4 21:13:57 2002 Kristian Rietveld <kris@gtk.org>
850 * gtk/gtktreeview.[ch]: added gtk_tree_view_expand_to_path.
852 Tue Jun 4 19:24:41 2002 Kristian Rietveld <kris@gtk.org>
856 * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
857 added gtk_list_store_iter_is_valid.
859 * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
860 added gtk_tree_store_iter_is_valid.
862 * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
863 and treestore sources, added gtk_tree_model_sort_iter_is_valid.
865 Tue Jun 4 19:18:20 2002 Kristian Rietveld <kris@gtk.org>
867 * gtk/gtktreemodel.[ch]: add gtk_tree_model_get_string_from_iter
870 2002-06-04 Daniel Elstner <daniel.elstner@gmx.net>
872 [ merge from stable ]
874 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
875 Really fix #83796: Revert jrb's last patch, and move the second
876 if-clause into the fist one's else-branch. This is also what
877 the other cell renderers do.
879 2002-06-03 Federico Mena Quintero <federico@ximian.com>
881 * gdk/gdkpixbuf-drawable.c (rgb565msb): Fix the MSB -> MSB case.
884 Sat Jun 1 10:43:28 2002 Jonathan Blandford <jrb@gnome.org>
886 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
887 add missing flag, #83796
889 2002-05-30 Michael Meeks <michael@ximian.com>
891 * gtk/gtkmenu.c (gtk_menu_popup): destroy the transfer
892 window if the grab fails so we don't get events on this
893 window after the menu is finalized with a duff GtkWidget
896 Mon May 28 13:28:10 Shivram U <shivaram.upadhyayula@wipro.com>
898 * gtk/gtktextbuffer.c (selection_data_get_buffer): Check if the owner
899 got is of type GDK_WINDOW_FOREIGN. If so the owner is not in-process,
902 2002-05-24 Michael Meeks <michael@ximian.com>
904 * gtk/gtkmain.c (_gtk_find_module): don't leak the paths.
906 Thu May 30 07:59:38 2002 Soeren Sandmann <sandmann@daimi.au.dk>
908 * gtk/gtkmenu.c (gtk_menu_style_set): add
909 gtk_menu_style_set(). fixes #79345
911 2002-05-29 Dave Camp <dave@ximian.com>
913 * gtk/gtkdnd.c (gtk_drag_end): Disconnect from keypress events.
915 2002-05-28 Matthias Clasen <maclas@gmx.de>
917 * gtk/gtkwindow.c (gtk_window_move): Markup fixes
919 * gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.
921 * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
924 2002-05-27 Daniel Elstner <daniel.elstner@gmx.net>
926 [ merge from stable ]
930 * gtk/gtktreedatalist.h (_GtkTreeDataList::data): Add missing
931 fields to anonymous union: glong, gulong, gint64 and guint64.
932 This is an internal header file, so it should not affect ABI
933 or API compatibility.
935 * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value):
936 Implement missing support for glong, gulong, gint64 and guint64
937 fundamental types. Use data.v_uint instead of data.v_int for
938 G_TYPE_FLAGS, as GValue does.
939 (_gtk_tree_data_list_value_to_node): ditto
940 (_gtk_tree_data_list_node_copy): Add case labels for missing
941 fundamental types, and reorder them to match the other functions.
942 (gtk_tree_data_list_compare_func): Implement comparison for
943 glong, gulong, gint64 and guint64. Use g_value_get_enum()
944 for G_TYPE_ENUM and g_value_get_flags() for G_TYPE_FLAGS, rather
945 than accessing them as gint/guint. The G_VALUE_HOLDS() check
946 probably won't like this.
948 2002-05-24 Dave Camp <dave@ximian.com>
950 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
951 Built an iter directly instead of using
952 gtk_tree_model_sort_elt_get_path(), since that returns a path for
955 2002-05-24 Dave Camp <dave@ximian.com>
957 * gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
958 rather than level->array->len > indices[i] in the bounds check.
960 2002-05-23 Tor Lillqvist <tml@iki.fi>
962 * gtk-zip.sh.in: Use correct path to the loaders and immodules
963 directories (GTK_BINARY_VERSION, not GTK_VERSION).
965 Wed May 22 16:12:38 2002 Owen Taylor <otaylor@redhat.com>
967 * configure.in: Require autoconf-2.52 explicitely,
968 since otherwise Debian will process it with 2.13 (ugh!).
970 Wed May 22 12:29:20 2002 Jonathan Blandford <jrb@redhat.com>
972 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): remove
973 GTK_RESIZE_QUEUE setting.
975 Tue May 21 16:46:15 2002 Owen Taylor <otaylor@redhat.com>
977 * gdk/x11/gdkdisplay-x11.c (gdk_internal_connection_watch):
978 Fix missing dereference. (HideToshi Tajima)
980 Mon May 20 15:02:21 2002 Owen Taylor <otaylor@redhat.com>
982 * gdk/x11/gdkdisplay-x11.c: Patch from HideToshi Tajima
983 to handle Xlib internal connections. (#76681)
985 Mon May 20 12:59:14 2002 Owen Taylor <otaylor@redhat.com>
987 * gtk/gtktooltips.c: Set the private LEAVE_PENDING
988 flag to fix problem where with menu items with
989 submenus, tooltips were getting stuck. (Effectively
990 disables tooltips for menu items with submenus.)
991 (Bug #75961, Soeren Sandmann)
993 * tests/testgtk.c: Set a tooltip on a menu item
996 Mon May 20 11:47:59 2002 Owen Taylor <otaylor@redhat.com>
998 * gtk/gtkplug.c: Undo an accidental revert of
999 fixes of May 16. (Caught by Padraig O'Briain)
1001 * gtk/gtkctree.c (cell_size_request): Fix bug where
1002 size request for text cells was being overwritten.
1003 (#82264, Graham Swallow.)
1005 2002-05-18 Matthias Clasen <maclas@gmx.de>
1007 * configure.in: Check for endianness. Sorry about REBUILD_PNGS...
1009 Fri May 17 16:05:34 2002 Owen Taylor <otaylor@redhat.com>
1011 * configure.in (REBUILD_PNGS): Re-add REBUILD_PNGS
1012 definition that got accidentally removed.
1014 Fri May 17 14:40:24 2002 Owen Taylor <otaylor@redhat.com>
1016 * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
1017 Protect against reentrancy problems by emitting
1018 ::preedit_changed at the end, fixing input context
1021 * modules/input/gtkimcontextxim.c (status_window_free):
1022 Patch from Federico Mena Quintero to fix problem where
1023 references to IMContextXIM were kept around after
1024 module was unloaded. (#77008)
1026 * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize
1029 Fri May 17 13:56:23 2002 Owen Taylor <otaylor@redhat.com>
1031 * gtk/gtkplug.c (gtk_plug_filter_func): Fix a missing
1032 unref in the local/passive case. (#82067, Michael
1035 * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Fix
1036 reference leak on the plug window.
1038 * tests/testsocket.c (add_child): Fix memory leak.
1040 * gtk/gtkdnd.c (gtk_drag_dest_site_destroy): Unref
1043 Thu May 16 19:49:24 2002 Owen Taylor <otaylor@redhat.com>
1045 * gtk/gtkwindow.c (gtk_window_configure_event): Only
1046 optimize out the full configure handling if we got
1047 a gratuitous configure event(configure_request_count == 0)
1048 and the size didn't change.
1050 * gtk/gtkwindow.c (gtk_window_move_resize): Use
1051 g_message(), not g_print() for debug spew.b
1053 * gtk/gtkwindow.c (gtk_window_real_set_focus): Ref
1054 the old and new focus widgets for the scope of
1057 * gtk/gtksocket.c gtkplug.c: Remove various #if 0'd
1060 Thu May 16 18:47:29 2002 Owen Taylor <otaylor@redhat.com>
1062 * gtk/gtkwindow.c (gtk_window_show): Disable the
1063 focus-some-widget code for GtkPlug descendants.
1065 * gtk/gtkplug.c (gtk_plug_focus_event): Eat
1066 focus-in/out events since they can be generated
1067 by keyboard grabs, but are spurious for an embeddded
1068 widget. (#79196, Padraig O'Briain)
1070 * gtk/gtksocket.c (gtk_socket_size_request): Only
1071 pay attention to the minimum size hints, and changes
1072 to that ... ignore the default size.
1074 * gtk/gtksocket.c (gtk_socket_send_configure_event):
1075 Pass in root-window relative coordinates as per
1078 * gtk/gtksocket.c (gtk_socket_size_allocate): Send
1079 as many synthetic configures as necessary to make
1080 up for ConfigureRequest events we got. (#78799,
1083 Thu May 16 23:59:56 2002 Kristian Rietveld <kris@gtk.org>
1085 Merged from gtk-2-0.
1087 * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): set the prev
1088 of the next node correctly, so we don't corrupt the list and cause
1089 bad things. (fixes #71374)
1091 Thu May 16 17:29:08 2002 Jonathan Blandford <jrb@redhat.com>
1093 * gtk/gtkrbtree.c (_gtk_rbtree_remove): include missing #ifdef G_ENABLE_DEBUG
1095 Thu May 16 15:44:15 2002 Owen Taylor <otaylor@redhat.com>
1097 * demos/gtk-demo/editable_cells.c (cell_edited): Fix
1098 typo in earlier patch.
1100 Tue May 7 15:50:51 2002 Owen Taylor <otaylor@redhat.com>
1102 * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
1103 Don't filter control-shift+[non-hex].
1104 (#80252, reported by Nalin Dahyabhai)
1106 Thu May 16 14:51:14 2002 Owen Taylor <otaylor@redhat.com>
1110 * gtk/gtkrbtree.c demos/gtk-demo/editable-cells.c:
1111 Fix some 64-bit warning problems. (Patch from Matthias
1114 * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew_helper): Surround
1115 a bunch of debug code with G_ENABLE_DEBUG.
1117 * configure.in demos/gtk-demo/main.c: Replace
1118 #ifndef G_OS_WIN32 with proper #ifdef HAVE_FLOCKFILE.
1120 Thu May 16 12:56:38 2002 Owen Taylor <otaylor@redhat.com>
1122 * gtk/gtkrange.c (gtk_range_calc_layout): Fix a missed
1123 check for division by zero. (#77820, Gareth Pearce)
1125 Thu May 16 12:50:13 2002 Owen Taylor <otaylor@redhat.com>
1127 * gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
1128 gdk_event_put() copies the event and setting name,
1129 so we don't have to strdup() it here. (Fix from
1130 Michael Meeks, #81953)
1132 2002-05-16 Ettore Perazzoli <ettore@ximian.com>
1134 * gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
1135 up, and some of the widget area is empty, don't fill it in with
1136 GTK_SHADOW_IN rectangles that make it looks strange. Fixes
1139 Wed May 15 18:15:45 2002 Owen Taylor <otaylor@redhat.com>
1141 * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Don't
1142 call gdk_pointer_grab() to change the cursor if we've
1143 already ungrabbed on button release / escape.
1146 Wed May 15 17:12:50 2002 Owen Taylor <otaylor@redhat.com>
1148 * gtk/gtktooltips.c: Special case menu items to
1149 pop down on motion. (#75961)
1151 * tests/testgtk.c (create_item_factory): Add tooltips
1154 * gtk/gtkentry.c (update_im_cursor_location): Fix
1155 cursor locations passed to the IM context.
1158 Wed May 15 16:52:57 2002 Owen Taylor <otaylor@redhat.com>
1160 * gtk/gtkfontsel.c: Update from contents of size entry
1161 on focus out. (#76493, Lauris Kaplinski)
1163 * gtk/gtkclipboard.c (selection_get_cb): Fix backwads
1164 info/time arguments. (#80226)
1166 Wed May 15 11:13:19 2002 Owen Taylor <otaylor@redhat.com>
1168 * configure.in gtk/stock-icons/Makefile.am: If not
1169 building libpng, don't rebuild gtkstockpixbufs.h
1170 (#81819, Bill Janssen)
1172 2002-05-15 jacob berkman <jacob@ximian.com>
1174 * demos/gtk-demo/Makefile.am (demos.h): just run perl on the
1175 geninclude script manually
1177 Tue May 14 19:53:15 2002 Owen Taylor <otaylor@redhat.com>
1179 * demos/gtk-demo/geninclude.pl.in configure.in:
1180 Subsitute in @PERL@ instead of hardcoded
1181 /usr/bin/perl. (#78355, Gareth Pearce. Fix based
1182 on patch from Matthias Clasen)
1184 * gdk/Makefile.am: Patch from Daniel Elstner to use glib-mkenums
1185 instead of makeenums.pl.
1187 * gdk/{x11,linux-fb,win32}/Makefile.am: Hack to
1188 get gdkenumtypes.h built first.
1190 Tue May 14 18:41:58 2002 Owen Taylor <otaylor@redhat.com>
1192 * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
1193 Remove the result file on error. (#79929, David
1196 * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
1197 If the menu is currently active, cancel it before
1198 setting the new menu. (#79162, Jonathan Blandford.)
1200 Tue May 14 18:13:10 2002 Owen Taylor <otaylor@redhat.com>
1202 * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix
1203 prepending at the start of the list. (#56349,
1206 * gtk/gtksignal.h (gtk_signal_disconnect_by_func): Add
1207 explicit casts to GSignalMatchType for C++ compatibility.
1210 Tue May 14 18:02:37 2002 Owen Taylor <otaylor@redhat.com>
1212 * gtk/gtkwindow.c (gtk_window_realize): Fix
1213 frame_right/frame_top screwup. (Detlef Reichl,
1216 * gtk/Makefile.am (install-data-local): Use
1217 $(INSTALL_DATA) not $(INSTALL) when installing
1218 theme files. (#77094, Ben Liblit)
1220 Tue May 14 17:30:57 2002 Owen Taylor <otaylor@redhat.com>
1222 * gtk/gtkctree.c gtk/gtkclist.c: Fix format of
1223 selection data to be 8 rather than GTK_TYPE_POINTER.
1224 (#79751, James Henstridge)
1226 * gtk/gtkmenu.c (gtk_menu_key_press): Call
1227 gtk_accelerator_valid() with cleaned up
1228 accel_key/accel_mods, not the raw values from
1229 the event. (#80513, Havoc Pennington.)
1231 * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Remove
1232 some dead code that set the tearoff window not
1233 resizable and removed decorations. (#80235)
1235 Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
1237 * gtk/gtklabel.c (gtk_label_ensure_layout): Set
1238 the width of the layout to the actual wrap width
1239 (our requisition) not the width we set when calculating
1240 the width. This results in the lines being justified
1241 within the correct area. (#79157, Anders Carlsson)
1243 * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
1244 registered parameter types of "accel_activate" and
1245 "accel_changed" signals. (Patch from Murray Cumming, #78798)
1247 * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
1248 binary-version and type to correspond to the
1249 current ordering in _gtk_get_module_path.
1250 (#78746, Sergey Kuzminov)
1252 * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
1253 pointing to the GTK_PATH documentation.
1255 * gtk/Makefile.am (uninstall-local): Delete
1256 key themes as well. (#81286, Kristian Rietveld.)
1258 Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
1260 * gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
1261 Add a sanity g_return_if_fail() check for the depths
1262 for the window and pixmap. (#79191, Shivaram Upadhyayula)
1264 Tue May 14 15:09:33 2002 Owen Taylor <otaylor@redhat.com>
1266 * gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define
1267 for XkbKeySymEntry to make up for OSF broken
1268 XKB extension. (#77819, Gareth Pearce)
1270 * gtk/gtklayout.c: Clamp the upper values in response
1271 to ::size-allocate if necessary. (#81290, Christophe Saout)
1273 * gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle
1274 combo being destroyed before idle fires.
1275 (#81396, Timo Sirainen)
1277 Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
1279 * gdk/x11/gdkevents-x11.c (gdk_event_translate):
1280 Discard configure events from SubstructureNotify.
1281 (#81760, Rich Burridge)
1283 * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
1286 * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
1287 width of child allocation to >= 1. (Fixes warnings from
1288 #77639, Martin Schulze)
1290 2002-05-14 Matthias Clasen <maclas@gmx.de>
1292 * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
1293 (gtk_container_class_find_child_property):
1294 (gtk_container_class_list_child_properties):
1295 * gtk/gtkwidget.c (gtk_widget_class_find_style_property):
1296 (gtk_widget_class_list_style_properties): Change parameter names
1297 to match the header file and the documentation.
1299 2002-05-13 Vitaly Tishkov <tvv@sparc.spb.su>
1305 a few typos in docs were fixed
1307 2002-05-10 Daniel Elstner <daniel.elstner@gmx.net>
1309 [ merge from stable ]
1311 * gtk/gtktreemodel.c: #define INITIALIZE_TREE_ITER(),
1312 which zeroes out all GtkTreeIter fields. (#81380)
1313 (gtk_tree_model_get_iter): Use it.
1314 (gtk_tree_model_iter_children): ditto
1315 (gtk_tree_model_iter_nth_child): ditto
1316 (gtk_tree_model_iter_parent): ditto
1318 2002-05-08 Michael Natterer <mitch@gimp.org>
1320 * configure.in: fixed yesterdays fix for cross compiling: simply
1321 check the variable "cross_compiling" which gets set by autoconf.
1323 Wed May 8 16:14:49 2002 Soeren Sandmann <sandmann@daimi.au.dk>
1326 (gtk_tree_view_init): set_redraw_on_allocate (FALSE);
1327 (gtk_tree_view_size_allocate): invalidate last column if width
1329 (gtk_tree_view_bin_expose): skip over cells that aren't in
1332 Tue May 7 18:36:03 2002 Owen Taylor <otaylor@redhat.com>
1334 * gdk/x11/xsettings-client.c (xsettings_client_process_event):
1335 Check for selection_atom, not property name atom.
1337 2002-05-07 Michael Natterer <mitch@gimp.org>
1339 * configure.in: added a new conditional CROSS_COMPILING which
1340 indicates ($build != $host). If it is set, look for
1341 gdk-pixbuf-csource in PATH. Error out if it was not found.
1343 * gtk/stock-icons/Makefile.am: use the gdk-pixbuf-csource found at
1344 configure time if CROSS_COMPILING is set, use the one which was
1345 just built otherwise.
1347 2002-05-07 Anders Carlsson <andersca@gnu.org>
1349 * gdk/x11/xsettings-client.c (xsettings_client_process_event):
1350 Only process manager events with the correct atom.
1352 2002-05-07 Matthias Clasen <maclas@gmx.de>
1356 * gdk/x11/gdkwindow-x11.c (gdk_window_new):
1357 (gdk_window_set_events): Always select for property notify for
1358 maintaining window state.
1360 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Only propagate
1361 property notifys if they were selected by gdk_window_set_events.
1363 Mon May 6 23:48:14 2002 Kristian Rietveld <kris@gtk.org>
1365 * gtk/gtktreeview.c (gtk_tree_view_map_expanded_rows_helper): call
1366 func on current node before the child nodes.
1368 Mon May 6 23:17:42 2002 Kristian Rietveld <kris@gtk.org>
1370 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow):
1371 unset user_data before destroying the window. (fixes #80065).
1373 Mon May 6 12:17:14 2002 Owen Taylor <otaylor@redhat.com>
1375 * configure.in: Fix versioning to avoid changing the
1378 [ merge from stable ]
1380 * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
1382 * m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
1383 compiling "what went wrong" test case. (#79329)
1385 * m4macros/gtk-2.0.m4: Remove reference to editing
1386 pkg-config script. (From Jim Gettys)
1388 02-05-05 Matthias Clasen <maclas@gmx.de>
1390 * configure.in: Bump version to 2.1.0, binary, interface age 0.
1392 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
1393 (gtk_container_class_find_child_property): Document.
1396 * gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
1397 and gtk_widget_class_find_child_property. (#80652)
1399 Sun May 5 15:56:50 2002 Owen Taylor <otaylor@redhat.com>
1401 * configure.in: Fix problem with == in test argument.
1402 (#80732, Hidetoshi Tajima)
1404 Sun May 5 16:42:32 2002 Kristian Rietveld <kris@gtk.org>
1406 The "big treeview focus patch". Fixes several issues and adds some
1407 goodies. Related bugs: #73676, #73734, #78660.
1409 * gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell
1411 * gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell
1413 (gtk_tree_view_bin_expose): set_cell_data before iterating columns,
1414 add support for row-spanning focus rectangles,
1415 (gtk_tree_view_has_special_cell): new function,
1416 (gtk_tree_view_move_cursor_left_right): add support for multiple
1417 focusable cells in one column,
1418 (gtk_tree_view_set_cursor): call _set_cursor_on_cell now,
1419 (gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended
1420 with focus_cell parameter,
1421 (gtk_tree_view_search_iter): removed unused column variable,
1422 (gtk_tree_view_start_editing): add neighbor size code to allow
1423 for multiple editable cells in one column.
1425 * gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add
1426 in_editing_mode field,
1427 (gtk_tree_view_column_get_edited_cell): new function, removed
1429 (_gtk_tree_view_column_get_cell_at_pos): new function,
1430 (gtk_tree_view_column_pack_end): s/g_new/g_new0/ ...,
1431 (gtk_tree_view_column_cell_process_action): loads of changes to get
1432 it right and to allow for multiple special cells, etc,
1433 (gtk_tree_view_column_cell_first): new function,
1434 (gtk_tree_view_column_cell_last): ditto,
1435 (gtk_tree_view_column_cell_next): ditto,
1436 (gtk_tree_view_column_cell_prev): ditto,
1437 (gtk_tree_view_column_cell_focus): add left and right parameters,
1438 allow for multiple special cells,
1439 (gtk_tree_view_column_cell_is_visible): add assertion,
1440 (gtk_tree_view_column_focus_cell): new function,
1441 (gtk_tree_view_column_stop_editing): unset in_editing_mode flag,
1442 (_gtk_tree_view_column_get_neighbor_sizes): iterate through cells
1445 * gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell
1447 * gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add
1448 _gtk_tree_view_column_get_cell_at_pos, add new parameters to
1449 _gtk_tree_view_column_cell_focus.
1451 * tests/testtreeedit.c: add some cells in order to test new code.
1453 Sun May 5 02:22:59 2002 Soeren Sandmann <sandmann@daimi.au.dk>
1455 * tests/test-images/*: image files for testing pixbuf loaders
1456 * tests/pixbuf-*.c: the old test-loaders.c split into four
1458 * tests/Makefile.am: add new pixbuf tests
1460 2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
1462 * gdk/x11/gdkvisual-x11.c:
1463 * gdk/x11/gdkwindow-x11.c:
1464 * gdk/x11/gdkdisplay-x11.[hc] (gdk_open_display) :
1465 Rationalized the screen initialization process,
1466 changed the GdkDisplayX11 screen list to an array.
1468 * gdk/x11/gdkscreen-x11.[hc] (_gdk_x11_screen_new) :
1469 Moved the xinerama init functions to gdkdisplay-x11.c to
1470 this file, create a single function to fully initialize
1473 2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
1475 * gtk/gtkplug.[hc] (gtk_plug_construct_for_display):
1476 changed the order of the arguments. #80278
1478 2002-05-02 Matthias Clasen <maclas@gmx.de>
1480 * gdk/gdkscreen.c (gdk_screen_get_monitor_at_window): Fix doc comment.
1482 * gdk/x11/gdkdisplay-x11.c (gdk_open_display):
1483 * gdk/x11/gdkkeys-x11.c (gdk_keymap_get_default):
1484 * gdk/x11/gdkfont-x11.c (gdk_fontset_load_for_display):
1485 * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
1486 * gdk/x11/gdkfont-x11.c (gdk_font_load_for_display):
1487 * gdk/x11/gdkscreen-x11.c (gdk_x11_screen_get_xscreen):
1488 * gdk/x11/gdkscreen-x11.c (gdk_x11_screen_get_screen_number):
1489 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay):
1490 * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): Document.
1492 * gtk/gtknotebook.c (gtk_notebook_set_show_border): Typo fix.
1494 * gtk/gtkwidget.c (gtk_widget_class_init): Correct the
1495 composite_child blurb.
1497 * gtk/gtknotebook.c (gtk_notebook_set_show_border): Clarify docs. (#73093)
1499 2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
1501 * gdk/gdkscreen.c (gdk_screen_get_monitor_at_point):
1503 * gdk/x11/gdkscreen-x11.c :
1504 make gdk_screen_get_monitor_at_point cross platform instead
1505 of backend dependant. #80480
1506 * tests/testxinerama.c (main):
1507 changed the warning message.
1509 2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
1511 * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
1512 removed unneeded ref. #79977
1513 * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
1514 * gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
1515 removed gdk_screen_use_virtual_screen function and
1516 use_virtual_screen member variable from GdkScreenX11. #79957
1518 2002-05-02 Matthias Clasen <maclas@gmx.de>
1520 * gtk/gtktable.c (gtk_table_class_init):
1521 * gtk/gtknotebook.c (gtk_notebook_class_init):
1522 * gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
1523 child properties. (#57143)
1525 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
1527 * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
1528 * x11/gdkpixmap-x11.c:
1529 removed that function as gdk_drawable_get_screen
1530 does the job. #79964
1532 2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
1534 * gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
1535 remove virtualization and made it cross platform. #79961
1536 * gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
1537 fixed initialization bugs.
1538 * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
1539 * tests/testxinerama.c:
1540 * gtk/gtkwindow.c (gtk_window_compute_configure_request):
1541 * gtk/gtkmenu.c (gtk_menu_position):
1542 take a GdkRectangle argument instead of returning
1543 a GdkRectangle * and propagated the changes. #79974
1545 2002-05-01 Anders Carlsson <andersca@gnu.org>
1547 * gdk/x11/gdkevents-x11.c
1548 (gdk_x11_screen_supports_net_wm_hint): Use the same
1549 key when setting and getting NetWmSupportedAtoms.
1551 Tue Apr 30 18:42:25 2002 Owen Taylor <otaylor@redhat.com>
1553 * gtk/gtkwindow.c (gtk_window_set_screen): Make it
1554 work, even if the window is already realized or
1557 * tests/testgtk.c: Erwann's multihead changes, slightly
1558 dumbed down. (Removed logic for pulling windows onto
1559 the current screen, people can click twice on the demo
1560 to destroy and create again.)
1562 * tests/prop-editor.c: Set the screen on the property
1563 editor if the edited object is a widget.
1565 2002-05-01 Matthias Clasen <maclas@gmx.de>
1567 * gtk/gtkcontainer.c (gtk_container_class_install_child_property):
1570 * gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken
1571 and redundant doc comment.
1573 2002-04-30 Matthias Clasen <maclas@gmx.de>
1575 * gtk/gtkprogress.c (gtk_progress_class_init):
1576 * gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
1577 * gtk/gtktexttag.c (gtk_text_tag_class_init):
1578 * gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs,
1579 incorporating stuff from the doc templates.
1581 * gtk/gtkplug.c (gtk_plug_construct): Fix docs.
1583 Tue Apr 30 15:59:53 2002 Owen Taylor <otaylor@redhat.com>
1585 * tests/testmultiscreen.c: Multi-screen test case
1586 form multihead branch with a few cleanups. (Get rid
1587 of use of g_object_connect())
1589 * tests/testmultidisplay.c: Multi-display test case
1590 from multihead branch with a few improvements.
1591 (Allow the other display name to be passed on
1592 the command line, use a GtkDialog to get more attractive
1595 Tue Apr 30 14:23:43 2002 Owen Taylor <otaylor@redhat.com>
1597 * gdk/x11/gdkdisplay-x11.c (gdk_open_display): fix
1598 problem with finalizing non-initialized fully display
1599 when failing to open display.
1601 * tests/testxinerama.c: Xinerama test case from
1602 multihead branch, with some cleanups. (Start even
1603 if there is only one monitor, for one.)
1605 Tue Apr 30 14:15:14 2002 Owen Taylor <otaylor@redhat.com>
1607 * gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes.
1609 2002-04-30 Erwann Chenede - <erwann.chenede@sun.com>
1611 * gdk/x11/gdkimage-x11.c : rationalized multihead code
1612 in _gdk_x11_copy_to_image. fixes #80256 and ungrab problems.
1614 2002-04-30 Havoc Pennington <hp@redhat.com>
1616 * gtk/gtktextlayout.c (gtk_text_layout_real_free_line_data): use
1617 gtk_text_layout_invalidate_cache instead of cut-and-paste
1618 (gtk_text_layout_real_invalidate): always invalidate cache, even
1619 if the line has no stored line data. #78573
1621 * gtk/gtktextview.c (gtk_text_view_get_iter_location): add call to
1622 gtk_text_view_ensure_layout, #77388
1623 (gtk_text_view_get_iter_at_location): ditto
1624 (gtk_text_view_get_line_yrange): ditto
1625 (gtk_text_view_get_line_at_y): ditto
1627 2002-04-30 Havoc Pennington <hp@redhat.com>
1629 * gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): assign
1630 something to "prev" so that removing tag info succeeds.
1633 * gtk/gtktextbtree.c (_gtk_text_btree_unref): reorder so that it
1634 unrefs the tag table first, so that the btree is in a consistent
1635 state when we're removing tags from it.
1637 Tue Apr 30 12:28:27 2002 Owen Taylor <otaylor@redhat.com>
1639 * gdk/gdkdisplay.c gdk/gdkpango.c gdk/gdkpixmap.c
1640 gdk/x11/gdkdisplay-x11.c gdk/x11/gdkevents-x11.c
1641 gdk/x11/gdkpixmap-x11.c gdk/x11/gdkx.h: Doc fixes.
1643 Tue Apr 30 11:37:09 2002 Owen Taylor <otaylor@redhat.com>
1645 * modules/input/gtkimcontextxim.c: Make multihead-safe;
1646 use a different IM context per display.
1648 * configure.in acconfig.h: Add Xinerama checks from
1649 multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA.
1651 * gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA.
1653 2002-04-29 Alex Larsson <alexl@redhat.com>
1655 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
1656 Use tmp also if foreground is set.
1658 Mon Apr 29 18:28:00 2002 Owen Taylor <otaylor@redhat.com>
1660 Integrate Erwann Chenede's multihead changes for the gtk/ directory.
1662 * gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
1663 make internals multihead aware.
1665 * gtk/gtkcolorsel.[ch]: Add
1666 gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
1667 make up for non-multihead safety of
1668 gtk_color_selection_set_change_palette_hook()
1670 * gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
1671 gtk_{invisible,menu,window}_set_screen(); add "screen" properties
1672 for GtkWindow and GtkMenu.
1674 * gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
1675 gtk_plug_new_for_display(). Multihead fixes.
1677 * gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
1678 make internals multihead aware.
1680 * gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
1681 rid of now-useless gtk_settings_constructor().
1683 * gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
1684 check/radio button indicators bitmap handling to be multihead
1687 * gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
1688 gtk_widget_get_display(), gtk_widget_get_clipboard(),
1689 gtk_widget_get_root_window().
1691 * gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
1692 gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
1693 gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
1694 gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
1695 gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
1696 gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
1697 gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
1698 gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
1699 misc mechanical multihead-safety fixes.
1701 * gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
1702 the dropper, look up the color palette only at realization time,
1703 other multihead fixes.
1705 * gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
1708 * gtk/gtkentry.c: Only claim ownership of the primary selection
1709 when realized, misc multihead fixes.
1711 * gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
1712 fix gtk_font_selection_get_font() for multihead.
1714 * gtk/gtkgc.c: make the depth => drawable hash per-screen.
1716 * gtk/gtkinvisible.c: Add a constructor that realizes the
1717 widget, so we get a realized widget with g_object_new() as
1718 well gtk_invisible_new() as before.
1720 * gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
1723 * gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
1724 are used on the wrong screen.
1726 * gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
1727 read properties and connect to settings when the screen is changed,
1728 rather than on init/finalize.
1730 * gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
1731 default icon pixmaps/mask are only shared between windows on the
1732 same screen. Misc multihead fixes.
1734 Sat Apr 27 13:49:53 2002 Owen Taylor <otaylor@redhat.com>
1736 * gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
1737 Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
1739 2002-04-29 Alex Larsson <alexl@redhat.com>
1741 * gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
1742 Fix silly bug, noticed by Sven Neumann.
1744 Sun Apr 28 22:43:55 2002 Jonathan Blandford <jrb@gnome.org>
1746 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
1747 so that you can set a new sort func.
1749 2002-04-27 Anders Carlsson <andersca@gnu.org>
1751 * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new_for_display):
1752 Use GDK_DISPLAY_XDISPLAY instead of GDK_SCREEN_XDISPLAY since
1753 we pass in a GdkDisplay * in the macro.
1755 2002-04-26 Anders Carlsson <andersca@gnu.org>
1757 * gdk/gdkdisplay.c: (gdk_set_default_display):
1758 Call _gdk_windowing_set_default_display.
1760 * gdk/gdkinternals.h:
1761 * gdk/x11/gdkmain-x11.c: (_gdk_windowing_set_default_display):
1762 New function that sets gdk_display to the default display.
1765 Fri Apr 26 21:58:16 2002 Kristian Rietveld <kris@gtk.org>
1767 * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): if the
1768 deleted node was "below" this path, then do not unref all nodes
1769 between the deleted parent and the node this rowref is pointing too
1770 (see added comment in gtk_tree_row_ref_deleted_callback),
1773 2002-04-26 Sven Neumann <sven@gimp.org>
1775 * tests/testtreecolumns.c
1776 * tests/testtreeview.c: quit the main loop when the window is
1777 destroyed. Removed compiler warnings about wrong format in printf().
1779 Fri Apr 26 21:46:42 2002 Kristian Rietveld <kris@gtk.org>
1781 This commit fixes binary compatibility, which I broke with my
1782 recent cell renderer commits :/.
1784 * gtk/gtkcellrenderer.h: move cell_background out of _GtkCellRenderer
1786 * gtk/gtkcellrenderer.c: create GtkCellRendererInfo, with the
1787 cell_background field and use this as object data. This way we keep
1788 the field private and dont break ABI.
1790 * gtk/gtkcellrendererpixbuf.h: remove stock_id, stock_size and
1791 stock_detail from _GtkCellRendererPixbuf
1793 * gtk/gtkcellrendererpixbuf.c: create a GtkCellRendererPixbufInfo
1794 with above mentioned fields. And update everything.
1796 Fri Apr 26 21:42:02 2002 Kristian Rietveld <kris@gtk.org>
1798 * gdk/x11/gdkdrawable-x11.h: include X11/Xlib.h, fixes the build
1800 Fri Apr 26 10:34:15 2002 Owen Taylor <otaylor@redhat.com>
1802 * gdk/x11/Makefile.am (libgdk_x11_la_SOURCES): Add
1803 missing gdkscreen/display-x11.h files.
1805 Thu Apr 25 16:51:40 2002 Owen Taylor <otaylor@redhat.com>
1807 Start of integration of Erwann Chenede's multihead work
1808 from the gtk-multihead branch.
1810 * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
1811 gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
1812 New classes representing a set of screens with attached
1813 input devices and a single contiguous area, respectively.
1815 * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
1816 gdk/x11/gdkprivate-x11.h: Make the initialization interface
1817 simple _gdk_windowing_init() and do the rest in
1818 gdk_open_display() calls.
1820 * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
1821 to do the display-independent part of initialization
1822 instead of gdk_init_[check].
1824 * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
1825 gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
1826 Add multihead variants (_for_display(), for_screen()) of functions
1827 getting information specific to a particular screen screen or
1830 * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
1831 like gdk_rgb_get_colormap() that used to get/list global
1834 * gdk/x11/gdkx.h: Add functions for converting GdkScreen
1835 and GdkDisplay into the X equivalents.
1837 * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
1838 not in the headers and unused.
1840 * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
1841 Remove gxid support ... has not been tested for a long time...
1842 "xfree" support is more portable to non XFree86.
1844 * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
1845 used to turn off functions that are inherently non-multihead
1848 * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
1849 are used in non-multihead-safe ways.
1851 * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
1854 Thu Apr 25 23:49:01 2002 Kristian Rietveld <kris@gtk.org>
1858 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_count_special_cells
1860 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell),
1861 (_gtk_tree_view_column_get_editable_cell): remove a space which made
1863 (_gtk_tree_view_column_count_special_cells): new function,
1864 (gtk_tree_view_column_cell_process_action): if there's only one
1865 activatable cell, the whole column will activate that renderer.
1867 Thu Apr 25 23:36:55 2002 Kristian Rietveld <kris@gtk.org>
1869 * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search
1870 dialog not scroll horizontally (prolly fixes #74806).
1872 2002-04-25 Matthias Clasen <maclas@gmx.de>
1874 * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible
1875 division by zero. (#77820)
1877 Thu Apr 25 20:24:37 2002 Soeren Sandmann <sandmann@daimi.au.dk>
1879 * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): use the child's
1880 requisition.height, not allocation.height, as width of submenu
1883 Thu Apr 25 00:26:34 2002 Kristian Rietveld <kris@gtk.org>
1885 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func):
1886 resort if we're already in 'unsorted' state, and update the docs
1888 2002-04-24 Matthias Clasen <maclas@gmx.de>
1890 * gtk/gtktreeview.c (gtk_tree_view_stop_editing): Remove doc
1891 comment markers on freeform comments.
1893 Wed Apr 24 17:34:16 2002 Kristian Rietveld <kris@gtk.org>
1895 * gtk/gtktreeview.c (gtk_tree_view_stop_editing): temporarily set
1896 ->priv->edited_column to NULL. Pleas read the comment in this
1897 function for an explanation (fixes #79632).
1899 2002-04-23 Matthias Clasen <maclas@gmx.de>
1901 * gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords):
1902 (gtk_text_view_window_to_buffer_coords): Improve docs. (#62359)
1904 Tue Apr 23 18:35:34 2002 Kristian Rietveld <kris@gtk.org>
1906 This commit adds a cell_background property for cell renderers. With
1907 this property you can make your TreeView look incredibly ugly.
1909 * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and
1910 cell_background_set properties,
1911 (set_cell_bg_color): new function,
1912 (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property):
1913 support for new properties,
1914 (gtk_cell_renderer_render): render a background when set.
1916 * gtk/gtkcellrenderer.h: add cell_background_set and cell_background
1919 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1920 when rendering, pass in just the background_area of the cell and not
1921 the background_area of the entire column.
1923 2002-04-22 Anders Carlsson <andersca@gnu.org>
1925 * gtk/gtkentry.c (gtk_entry_drag_data_get): Use
1926 gtk_entry_get_public_chars.
1927 Fixes #79532 (Reported by Ovidiu Gheorghioiu).
1929 Mon Apr 22 19:24:29 2002 Kristian Rietveld <kris@gtk.org>
1931 This commit adds stock icon functionality to GtkCellRendererPixbuf
1932 which is totally cool.
1934 * gtk/gtkcellrendererpixbuf.h: add some fields
1936 * gtk/gtkcellrendererpixbuf.c: add finalize method, add some
1937 properties, add some stock icon rendering code.
1939 * demos/gtk-demo/stock_browser.c: modified to use the stock
1940 icon stuff in the cellrendererpixbuf instead of its own stock icon
1943 2002-04-21 Alexander Larsson <alla@lysator.liu.se>
1945 * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
1946 Save x and y in window_private.
1948 * gtk/gtkplug.c (_gtk_plug_add_to_socket):
1949 Move plug window outside the visible area to avoid flashing until
1950 the first size_allocate.
1952 2002-04-21 Matthias Clasen <maclas@gmx.de>
1954 * gtk/gtktextiter.c (gtk_text_iter_forward_search): More verbose
1955 description of match_start and match_end return values. (#57929)
1957 * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
1958 * gtk/gtktreeview.c (_gtk_tree_view_column_autosize): Remove doc
1959 comment markers on freeform comments.
1961 * gtk/gtktreemodelsort.c
1962 (gtk_tree_model_sort_convert_path_to_child_path): Doc fixes. (#68404)
1964 Sat Apr 20 21:15:11 2002 Soeren Sandmann <sandmann@daimi.au.dk>
1966 * gtk/gtkmenuitem.c: add "selected_shadow_type" style property
1968 Sat Apr 20 12:07:14 2002 Owen Taylor <otaylor@redhat.com>
1970 * gtk/gtkwidget.c (gtk_widget_modify_color_component): Accept
1971 NULL for color to mean "unmodify"
1973 * gtk/gtkwidget.c (gtk_widget_modify_font): Accept NULL for
1974 font_desc to mean "unmodify".
1976 Sat Apr 20 16:49:26 2002 Kristian Rietveld <kris@gtk.org>
1978 * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_new): replace GDK_IS_WINDOW
1979 with GDK_IS_DRAWABLE in the assert, only check GDK_WINDOW_DESTROYED
1980 if window is a GdkWindow,
1981 (gdk_bitmap_create_from_data): ditto,
1982 (gdk_pixmap_create_from_data): ditto
1984 Fri Apr 19 23:38:16 2002 Kristian Rietveld <kris@gtk.org>
1988 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_autosize
1990 * gtk/gtktreeview.c: privately export _gtk_tree_view_column_autosize,
1991 and add a small note about that function,
1992 (gtk_tree_view_button_press): check for double click and
1993 "not having an autosize" column before autosizing the column,
1995 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_min_width):
1996 call _gtk_tree_view_column_autosize to update autosized column width
1997 (gtk_tree_view_column_set_max_width): ditto
1999 2002-04-20 Matthias Clasen <maclas@gmx.de>
2001 * TODO, TODO.xml, README.nanox, docs/Changes-1.2.txt,
2002 docs/Changes-2.0.txt, docs/gtk-config.txt, docs/debugging.txt,
2003 gdk/TODO: Remove some files whose content is either obsolete or
2004 has been moved elsewhere.
2006 * Makefile.am, gtk+.spec.in, docs/Makefile.am: Remove references
2009 Fri Apr 19 21:31:04 2002 Kristian Rietveld <kris@gtk.org>
2011 * gtk/gtktreeview.c (gtk_tree_view_row_changed): cancel editing
2012 if tree_view->priv->edited_column != NULL (fixes #76066)
2014 Fri Apr 19 21:06:39 2002 Kristian Rietveld <kris@gtk.org>
2016 * gtk/gtktreeview.c (gtk_tree_view_size_allocate): subtract
2017 TREE_VIEW_HEADER_HEIGHT from allocation->height to get the real
2018 size for the tree (fixes #72729),
2019 (gtk_tree_view_real_start_editing): correct cell_area->y for
2020 scrolling due to gtk_tree_view_real_set_cursor (fixes #75687)
2022 Fri Apr 19 16:30:09 2002 Kristian Rietveld <kris@gtk.org>
2024 * gtk/gtktreeprivate.h, gtk/gtktreeview.c: rename
2025 last_single_clicked{,_2} to last_button_press{,_2}, as the latter
2026 is a more sane name.
2028 * gtk/gtktreeview.c (gtk_tree_view_button_press): use ->priv->anchor
2029 instead of ->priv->cursor, check for the anchor at another place, as
2030 you can go in edit mode without having an anchor.
2032 2002-04-18 Matthias Clasen <maclas@gmx.de>
2034 * gtk/gtkitemfactory.c:
2035 * gtk/gtkiconfactory.c:
2039 * gtk/gtktreeviewcolumn.c:
2041 * gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
2042 documentation to bring the produced Docbook closer to XML.
2044 2002-04-18 Tor Lillqvist <tml@iki.fi>
2046 * gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
2047 * gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo,
2048 thanks to David Sterba for noticing.
2051 * gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In
2052 GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on
2053 Win32 whether compiled with -fnative-struct or not. Unfortunately
2054 this wan't noticed until now. So, from now on, check some other
2055 struct, too, for which the use of -fnative-struct still
2056 matters. GtkBox is one such.
2058 Thu Apr 18 00:23:31 2002 Kristian Rietveld <kris@gtk.org>
2060 * gtk/gtktreemodelsort.c
2061 (gtk_tree_model_sort_convert_path_to_child_path): so this function
2062 was completely broken. Fix it and improve readability.
2064 2002-04-17 Anders Carlsson <andersca@gnu.org>
2066 * tests/testtreeedit.c (button_press_event): Add a small
2069 Wed Apr 17 00:21:36 2002 Kristian Rietveld <kris@gtk.org>
2071 * gtk/gtktreestore.c (gtk_tree_store_insert_before): fix docs
2073 Tue Apr 16 17:28:21 2002 Kristian Rietveld <kris@gtk.org>
2075 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): check
2076 ->priv->cursor and ->priv->anchor rowrefs before removing
2077 node->children from the rbtree. Also check the
2078 ->priv->last_single_clicked and ->priv->last_single_clicked_2 rowrefs
2079 (I think I really need to rename those two someday).
2081 Tue Apr 16 07:53:49 2002 Tim Janik <timj@gtk.org>
2083 * gtk/gtkmenu.c (gtk_menu_key_press): don't install/change accelerators
2084 from locked accel groups.
2086 * gtk/gtkwidget.c (_gtk_widget_get_accel_path): export whether the
2087 accel path is from a locked accel group.
2089 Mon Apr 15 15:41:56 2002 Jonathan Blandford <jrb@redhat.com>
2091 * gtk/gtkcontainer.c (gtk_container_focus): include internal
2092 children when doing focus.
2093 (gtk_container_get_all_children): new static function to include
2094 internal children when making a list of them.
2096 Sun Apr 14 16:56:59 2002 Kristian Rietveld <kris@gtk.org>
2098 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_editable_cell and
2099 _gtk_tree_view_column_get_neighbor_sizes
2101 * gtk/gtktreeviewcolumn.c (struct _GtkTreeViewColumnCellInfo): add
2103 (_gtk_tree_view_column_get_editable_cell): implement,
2104 (gtk_tree_view_column_cell_process_action): fill info->real_width
2105 (_gtk_tree_view_column_get_neighbor_sizes): implement
2107 * gtk/gtktreeview.c (gtk_tree_view_button_press): make the "editable
2108 widget" show up with the same size as the actual cell, so it doesnt
2109 cover the complete column if there are any other cells in that column.
2111 2002-04-14 Abigail Brady <morwen@evilmagic.org>
2113 * gtk/gtkfilesel.c: Fix typo in message.
2115 2002-04-13 Havoc Pennington <hp@pobox.com>
2117 * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): create
2118 the target pixbuf AFTER filling in width/height, so that
2119 passing in -1 for width/height will work.
2121 Sat Apr 13 22:49:45 2002 Kristian Rietveld <kris@gtk.org>
2125 * gtk/gtktreeselection.c (gtk_tree_selection_get_selected): make this
2126 function work correctly and more sane
2128 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): remove
2129 node->children from rbtree before emitting GtkTreeSelection::changed
2131 Sat Apr 13 17:15:12 2002 Kristian Rietveld <kris@gtk.org>
2133 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init): dont set
2134 the mode to GTK_CELL_RENDERER_MODE_EDITABLE by default,
2135 (gtk_cell_renderer_text_class_init): for some reason our default for
2136 editable was TRUE, of course this is FALSE.
2137 (gtk_cell_renderer_text_set_property): update mode when editable
2140 2002-04-12 jacob berkman <jacob@ximian.com>
2142 * gdk/x11/xsettings-client.c (fetch_card8): fix cut-n-paste bug
2143 which breaks big-endian machines (fixes #73585)
2145 2002-04-12 Havoc Pennington <hp@redhat.com>
2147 * gtk/gtknotebook.c (gtk_notebook_real_remove): relocate the
2148 remove_weak_pointer to just before we free the page, to be sure
2149 it doesn't get re-added. #75282
2151 Fri Apr 12 18:32:46 2002 Kristian Rietveld <kris@gtk.org>
2153 * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): add
2155 (toplevel): update usages of gtk_tree_view_real_set_cursor,
2156 (gtk_tree_view_focus_to_cursor): don't let
2157 gtk_tree_view_real_set_cursor clamp the node, so you won't get
2158 unexpected scrolling
2160 2002-04-11 Michael Meeks <michael@ximian.com>
2163 (gtk_label_parse_uline, gtk_label_set_text),
2164 (gtk_label_set_text_with_mnemonic): add freeze / thaws
2165 to stop deluge of 'notify' signals.
2167 Sat Apr 6 06:57:00 2002 Owen Taylor <otaylor@redhat.com>
2169 * gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export
2170 private _gtk_menu_shell_activate() to encapsulate
2173 * gtk/gtkmenubar.c: Select the first item on the menu bar
2174 for F10 rather than acting as if the user pressed <Alt>F
2175 to select the file manager.
2177 Tue Apr 9 19:01:28 2002 Owen Taylor <otaylor@redhat.com>
2179 Fix problems with HandleBox and focusing - #78232
2181 * gtk/gtkwidget.c (gtk_widget_translate_coordinates): Handle
2182 GtkHandleBox / GnomeDock style window heirarchy / widget
2183 heirarchy disconnects. :-(.
2185 * gtk/gtkcontainer.c: Handle failures from
2186 gtk_widget_translate_coordinates (Focusing is not right, but at
2187 least it doesn't go into infinite loops.)
2189 Tue Apr 9 18:34:58 2002 Owen Taylor <otaylor@redhat.com>
2191 * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
2192 set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
2193 even if we aren't currently in a resize container... we need
2194 this to properly handle size changes to widgets that are
2195 being moved from one heirarchy to another. (#78226)
2197 Tue Apr 9 21:41:24 2002 Kristian Rietveld <kris@gtk.org>
2201 * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
2202 add override_browse_mode argument and implement,
2203 (gtk_tree_selection_unselect_path): always unselect the path,
2204 (toplevel): update uses of _gtk_tree_selection_internal_select_node
2206 * gtk/gtktreeview.c: update uses of
2207 _gtk_tree_selection_internal_select_node
2209 * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
2212 Tue Apr 9 21:39:44 2002 Kristian Rietveld <kris@gtk.org>
2216 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
2218 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
2221 * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
2222 on first click when cell isn't editable
2224 Tue Apr 9 21:37:31 2002 Kristian Rietveld <kris@gtk.org>
2226 * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
2227 types which were missing and useful to use (fixes #77870)
2229 2002-04-09 Anders Carlsson <andersca@gnu.org>
2231 * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2233 2002-04-08 Manish Singh <yosh@gimp.org>
2235 * tests/testgtk.c: really revert testgtk.c
2237 Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
2239 * gtk/gtktreeselection.c (gtk_tree_selection_select_path),
2240 (gtk_tree_selection_unselect_path),
2241 (gtk_tree_selection_path_is_selected): check the return value of
2242 _gtk_tree_view_find_node and return if it's TRUE. This makes those
2243 functions work somewhat saner on non-expanded trees.
2245 Fri Apr 5 18:28:56 2002 Kristian Rietveld <kris@gtk.org>
2247 * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
2248 anchor row reference after unselecting the selection (fixes #76272)
2250 Fri Apr 5 18:27:48 2002 Kristian Rietveld <kris@gtk.org>
2252 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
2253 when we don't have to open all children (fixes #75736)
2255 Fri Apr 5 18:24:24 2002 Kristian Rietveld <kris@gtk.org>
2257 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
2258 cellrenderer after clearing the attributes of the renderer (fixes
2261 Fri Apr 5 05:55:14 2002 Jonathan Blandford <jrb@gnome.org>
2263 * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
2264 (gtk_tree_view_move_cursor_up_down): check for focus
2265 (gtk_tree_view_move_cursor_page_up_down): ditto
2266 (gtk_tree_view_move_cursor_left_right): ditto
2267 (gtk_tree_view_move_cursor_start_end): ditto
2268 (gtk_tree_view_real_select_all): ditto
2269 (gtk_tree_view_real_unselect_all): ditto
2270 (gtk_tree_view_real_select_cursor_row): ditto
2271 (gtk_tree_view_real_toggle_cursor_row): ditto
2272 (gtk_tree_view_real_expand_collapse_cursor_row): ditto
2273 (gtk_tree_view_real_select_cursor_parent): ditto
2274 (gtk_tree_view_real_start_interactive_search): ditto
2276 * gtk/gtktreeviewcolumn.c: grab focus
2278 2002-04-05 Alex Larsson <alexl@redhat.com>
2280 * gdk/linux-fb/gdkkeyboard-fb.c (write_string):
2281 Fix undefined variable typo.
2282 Patch from Simon Floery <simon.floery@gmx.at>
2284 Fri Apr 5 01:06:15 2002 Tim Janik <timj@gtk.org>
2286 * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
2287 upon NULL return from gdk_utf8_to_string_target().
2289 * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
2290 return value comment to mention NULL returns upon EMFILE.
2292 Thu Apr 4 22:35:42 2002 Soeren Sandmann <sandmann@daimi.au.dk>
2294 * tests/testgtk.c (menu_items): revert accidentally commited
2297 Thu Apr 4 22:28:08 2002 Soeren Sandmann <sandmann@daimi.au.dk>
2299 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu
2300 titles being clipped (#75948)
2302 2002-04-04 Tor Lillqvist <tml@iki.fi>
2304 * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
2306 (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
2307 pixel) static visuals (fixes #858).
2309 (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
2310 same bugs in both functions: Odd start coordinate (partial byte)
2311 was not handled correctly. Also a partial final byte was not
2314 (gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
2315 (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
2316 colorcube only for depths 3 and 4. For static color, use it for
2317 depths 3..7 like before. (Depth 5..7 pseudocolor probably never
2318 occurs on X11. It doesn't normally occur on Win32 either, but
2319 there is experimental code in gdkvisual-win32.c to let the user
2320 restrict the size of palette used.)
2321 (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
2323 (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
2324 and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
2327 Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
2329 * gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
2330 sort_func correctly, 77030
2332 Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
2334 * configure.in: update version to 2.0.2, binary age 2, interface
2337 * NEWS: updates for 2.0.2.
2339 Mon Apr 1 22:20:24 2002 Kristian Rietveld <kris@gtk.org>
2341 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
2342 check for y > tree_view->priv->height (fixes #76974)
2344 Mon Apr 1 22:19:39 2002 Kristian Rietveld <kris@gtk.org>
2346 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
2347 the stamp changes right this time
2349 Mon Apr 1 22:13:24 2002 Kristian Rietveld <kris@gtk.org>
2351 * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
2352 disconnect the ref callbacks when model == proxy (Thanks go to
2353 Manuel Clos Crespo for the remote debugging)
2355 Sat Mar 30 15:19:24 2002 Kristian Rietveld <kris@gtk.org>
2357 * gtk/gtktreemodelsort.c: revert the latest stamp increment changes,
2358 as it broke stuff for trees
2360 Fri Mar 29 18:15:12 2002 Owen Taylor <otaylor@redhat.com>
2362 * ===== Released 2.0.1 ======
2364 Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
2366 * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
2367 gdk_keyval_to_lower() on the key passed in, since we
2368 lowercase all other key vals passed in, so querying
2369 keyvals will otherwise fail if the caller used
2370 an uppercase accelerators (#76899, Vitaly Tishkov)
2372 Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
2374 * gtk/gtkmain.c (load_modules): Fix screwup in handling
2375 of module path that was resulting in freed memory being
2376 accessed when both GTK_MODULES and a theme were set.
2377 (#76902, Johan Dahlin)
2379 Fri Mar 29 17:57:36 2002 Owen Taylor <otaylor@redhat.com>
2381 * gtk/gtkiconfactory.c (get_default_icons): Fix wrong
2382 stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
2384 2002-03-29 Hans Breuer <hans@breuer.org>
2386 * gtk/gtkmain.h : fix typo in gtk_init_check macro, which
2387 caused crashes if argc != 0
2389 * gtk/stock-icons/makefile.msc : added new icons
2391 Fri Mar 29 20:17:35 2002 Kristian Rietveld <kris@gtk.org>
2393 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
2394 remove call to gtk_tree_model_sort_increment_stamp
2395 (gtk_tree_model_sort_sort_level): always increment the stamp
2397 Fri Mar 29 00:19:41 2002 Owen Taylor <otaylor@redhat.com>
2401 * configure.in: Version 2.0.1, binary, interface age 1.
2403 * configure.in (GDK_PIXBUF_VERSION): Up required versions
2406 * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
2407 Add stock_add/remove_16.
2409 Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
2411 * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
2412 Don't show the window unless the widget is mapped.
2413 (#76742, Dennis Björklund, Soeren Sandmann)
2415 2002-03-29 Hans Breuer <hans@breuer.org>
2417 Fixed dashed line issues (#74441) to an IMO reasonable extend.
2418 That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
2419 to be with lines width > 50); Render horizontal and vertical
2420 dashed lines on Win9x 'by hand'. Dotted selection rectangles
2421 and Dia look nice ...
2423 * gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
2424 num_pen_dashes to _GdkGCWin32
2425 * gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
2426 the guesses from dashes to windoze line styles.
2427 (predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
2428 Win9x, which does not support PS_USERSTYLE.
2429 * gdk/win32/gdkdrawable-win32.c : new functions render_line_
2430 <horizontal|vertical>. Use them if not running on NT in
2431 gdk_win32_draw_<rectangle|segments|lines> ()
2433 * gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
2434 for keyval == 0 to avoid to have zeros in all menu entries
2435 without accelerator.
2437 2002-03-29 Jakub Steiner <jimmac@ximian.com>
2439 * gtk/stock-icons/stock_add_24.png:
2440 * gtk/stock-icons/stock_add_16.png:
2441 * gtk/stock-icons/stock_remove_24.png:
2442 * gtk/stock-icons/stock_remove_16.png: use a simple '+' and '-',
2443 works better. the old box was too clumsy
2445 Thu Mar 28 21:11:04 2002 Tim Janik <timj@gtk.org>
2447 * gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file
2448 names, alert the user with g_message() instead of g_warning() and
2449 put out the actual conversion error.
2451 2002-03-28 Dave Camp <dave@ximian.com>
2453 * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
2454 the handler if the widget isn't realized.
2456 2002-03-28 Jakub Steiner <jimmac@ximian.com>
2458 * gtk/stock-icons/stock_font*:
2459 * gtk/stock-icons/stock_align*:
2460 * gtk/stock-icons/stock_text*: better solution to the dark theme
2461 problem. Also looks more pretty IMHO
2463 2002-03-27 Matthias Clasen <maclas@gmx.de>
2465 * configure.in: Try to find libpng via pkg-config first,
2466 since libpng-1.2.2 will come with a .pc file.
2468 Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
2470 * gtk/gtknotebook.c (gtk_notebook_real_remove): Set
2471 page->last_focus_child to NULL as well as removing the
2472 weak reference, to deal with reentrancy in set_focus_child().
2473 (#76634, Dennis Björklund)
2475 2002-03-27 Murray Cumming <murrayc@usa.net>
2477 * gtk/gtktreeview.c: Corrected registered return type of
2478 "move-cursor" signal. Had to add a marshaller to
2479 gtk/gtkmarshalers.list.
2481 Tue Mar 26 14:46:50 2002 Owen Taylor <otaylor@redhat.com>
2483 * gtk/gtkmenu.c (gtk_menu_popup): Shuffle the ordering around
2484 some more (position before realizing) fixing problems with
2485 arrows popping up at the wrong time (#73386), hopefully not
2486 introducing other problems. (Reported by Ettore Perrazoli, others)
2488 2002-03-26 Dave Camp <dave@ximian.com>
2490 * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
2491 after calling gtk_tree_view_row_activated() rather than before.
2493 2002-03-25 Sven Neumann <sven@gimp.org>
2495 * gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
2496 font_description before assigning a new one.
2497 (gtk_rc_parse_stock): always unref the created icon_set. #76289
2499 2002-03-25 Mark McLoughlin <mark@skynet.ie>
2501 * gtk/gtkbindings.c: (gtk_binding_entry_add_signal),
2502 kill code duplicated in gtk_binding_entry_add_signall.
2504 Sun Mar 24 10:32:38 2002 Jonathan Blandford <jrb@redhat.com>
2506 * gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
2508 * gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
2511 * gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
2512 when we emit row_activated so that listeners of this signal can
2513 grab the mouse, #75629
2515 2002-03-23 Havoc Pennington <hp@pobox.com>
2517 * gtk/gtktextlayout.c (gtk_text_layout_real_invalidate):
2518 invalidate the line containing start, even if the [start,end)
2519 range is empty (just invalidate [start,end], essentially).
2520 Partially fixes #72374
2522 2002-03-23 Havoc Pennington <hp@pobox.com>
2524 * gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in
2525 progress, patch from db@zigo.dhs.org, #74620
2527 2002-03-23 Havoc Pennington <hp@pobox.com>
2529 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend
2530 selection for pageup/pagedown and ctrl+pageup/pagedown if
2531 shift is held. more of #53934
2533 2002-03-23 Havoc Pennington <hp@pobox.com>
2535 * gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect
2536 layout handlers earlier in the function, to avoid possible
2538 (gtk_text_view_invalidate): Don't install idle handlers if
2539 layout == NULL, otherwise we get problems during finalization
2540 since clearing the buffer invalidates and puts the idle handlers
2541 back after we destroy the layout. #74660
2542 (gtk_text_view_ensure_layout): Install the validation handlers
2543 right after creating the layout.
2545 * gtk/gtktexttagtable.c (foreach_unref): call
2546 _gtk_text_buffer_notify_will_remove_tag(), #75126
2548 2002-03-22 Havoc Pennington <hp@pobox.com>
2550 * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
2551 text to the error message about missing charsets, and use
2552 g_printerr() not g_warning() since this is typically not a
2553 programming error (we do not export any API to ask whether
2554 a font set will have missing charsets so apps realistically can't
2555 do anything other than try the gdk_fontset_load())
2557 * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
2558 if the text view isn't editable and the user presses Return,
2559 so default buttons and such can be activated, #74937
2561 * gtk/gtktextbuffer.c (paste_from_buffer): don't insert
2562 if the insertion point is not editable and the paste
2563 is interactive, #74125
2565 * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
2568 * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
2569 cut/copied data right before replacing it, when we know we are
2570 going to replace it. Fixes #74049
2572 2002-03-22 Richard Hult <rhult@codefactory.se>
2574 * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
2575 value was assigned to both x and y.
2577 Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com>
2579 Partial fix for problem where keypad keys acted
2580 as shift-arrows in an entry rather than arrows (#74327)
2582 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
2583 results by number of modifiers in the entry. Fixes
2584 problem where if a key matched both modified and unmodified
2585 key bindings ... e.g., the distinguishing key binding
2586 was consumed, then it was random which was used.
2588 * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
2589 Catch the case where there are multiple entries from the
2590 same bindingset (with different modifiers), and use only
2591 the first entry, which, with the change in _gtk_key_hash_lookup()
2592 will be the preferred value.
2594 Fri Mar 22 10:56:19 2002 Owen Taylor <otaylor@redhat.com>
2596 * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
2597 leak. (#74400, Morten Welinder.)
2599 * gtk/gtkaccelmap.c: Properly handle short returns from
2600 write() calls. (Handling EINTR isn't enough... that only
2601 handles the case where you were interrupted before you
2602 wrote a single byte.)
2604 * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
2605 Robustify against short returns from write() calls.
2607 Fri Mar 22 10:12:10 2002 Owen Taylor <otaylor@redhat.com>
2609 * gtk/gtktextview.c (gtk_text_view_paint): Change
2610 G_BREAKPOINT() to g_assert_not_reached ().
2611 (#75865, Ashok Venkiteswaran)
2613 2002-03-22 Tor Lillqvist <tml@iki.fi>
2615 * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
2616 all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
2617 but that is just the special case of one-pixel wide one-pixel
2618 on-off dotted lines. To fully implement generic X11 style dashed
2619 lines a major rewrite would be needed.
2621 2002-03-21 Matthias Clasen <maclas@gmx.de>
2623 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
2624 fix. (Vitaly Tishkov, #75726)
2626 Thu Mar 21 10:04:05 2002 Owen Taylor <otaylor@redhat.com>
2628 * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
2629 some left over debugging code with a G_BREAKPOINT()
2632 Wed Mar 20 19:33:31 2002 Owen Taylor <otaylor@redhat.com>
2634 * gtk/gtkcalendar.c (gtk_calendar_main_button): When
2635 changing months when the user clicks on a prev-month
2636 or next-month day, focus and select the new day.
2637 Ignore double clicks on prev-month, next-month days.
2638 (Based on suggestions from Andras Salamon, #74173)
2640 * gtk/gtkcalendar.c: Implement the focused/unfocused
2641 selected color change.
2643 2002-03-20 Alex Larsson <alexl@redhat.com>
2645 Patches from Carlo E. Prelz <fluido@fluido.as>
2646 Now gtkfb at least compiles and mostly works. The keyboard
2647 stuff needs more loving.
2649 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval,
2650 xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode):
2651 At least set the out parameters for these calls.
2653 * gdk/linux-fb/gdkmain-fb.c:
2654 (gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
2655 Implement new functions.
2657 Wed Mar 20 19:00:03 2002 Owen Taylor <otaylor@redhat.com>
2659 * gtk/gtkentry.c (gtk_entry_set_text): Short-circuit
2660 the text to the exact same thing, so we don't
2661 unexpectedly change the selection or cursor position.
2662 (#74290, John Ellis.)
2664 Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
2666 * gtk/gtktreeview.c (gtk_tree_view_get_background_area),
2667 (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
2669 Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
2671 * gtk/gtkrc.c: Patch from Richard Hestilow to fix
2672 gtk-font-name changes for widgets that get the actual
2673 default style. (#73709)
2675 Wed Mar 20 22:59:23 2002 Kristian Rietveld <kris@gtk.org>
2677 * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
2679 * gtk/gtktreeprivate.h: add fixed_height_check field
2681 * gtk/gtktreeview.c (gtk_tree_view_init): initialize
2682 scroll_sync_timer and fixed_height_check
2683 (do_validate_rows): add fixed_height_check. If all validated rows
2684 in the first cycle have the same height, then we set that height for
2685 the entire tree. This is some sort of 'fake' optimization, but helps
2686 a lot for the common case. We keep validating the entire tree in
2687 the background though.
2688 (gtk_tree_view_set_model): reset fixed_height_check
2690 Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com>
2692 * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
2693 a lot of warnings with Forte CC, mostly implicit
2694 casts between void * and function pointers.
2696 * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
2697 state field is not a GdkModifierType. (Also #73900)
2699 Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
2701 * gtk/gtkwidget.c (gtk_widget_grab_default): Remove
2702 leftover notification of has-default. (#75508, Jacob
2705 Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
2707 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
2708 arrow keys as accelerators, as long as some modifier
2709 is pressed. (#75495)
2711 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
2712 incorrect example in the docs.
2714 Wed Mar 20 12:06:30 2002 Owen Taylor <otaylor@redhat.com>
2716 * gtk/gtkwidget.c (gtk_widget_set_child_visible):
2717 Fix segfault when widget->parent is NULL.
2718 (#75615, Alexey A. Malyshev)
2720 Wed Mar 20 11:32:07 2002 Owen Taylor <otaylor@redhat.com>
2722 * gtk/gtkentry.c: Improve test to prevent infinite
2723 loop. (#74952, Thomas Leonard)
2725 * gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus):
2726 Fix warning when toplevel menu shell isn't a menu
2727 bar. (Thomas Leonard, #75602)
2729 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
2731 * configure.in: Use $PKG_CONFIG, not pkg-config.
2732 (LEE Sau Dan, #75572)
2734 Wed Mar 20 10:55:56 2002 Owen Taylor <otaylor@redhat.com>
2736 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
2737 of time in scroll events. (Sven Neumann, #75574)
2739 2002-03-20 Tor Lillqvist <tml@iki.fi>
2741 * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
2742 gdk_window_get_toplevel(), as it is the top-level windows that are
2745 * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
2747 2002-03-19 jacob berkman <jacob@ximian.com>
2749 * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
2750 gtk_combo_func() returns NULL (bug #75464)
2752 2002-03-18 jacob berkman <jacob@ximian.com>
2754 * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
2755 correct min/max values for the ratio property (fixes #75331)
2757 Mon Mar 18 11:55:03 2002 Owen Taylor <otaylor@redhat.com>
2759 * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
2760 Patch from Yao Zhang fixing reference count leak.
2762 * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
2763 not if (!entry->editable).
2765 Mon Mar 18 11:09:17 2002 Owen Taylor <otaylor@redhat.com>
2767 * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect):
2768 Fix backwards conditional. (#75019, Dan Winship.)
2770 Sun Mar 17 01:11:16 2002 Kristian Rietveld <kris@gtk.org>
2772 * gtk/gtktreeview.c (gtk_tree_view_size_request): use
2773 do_validate_rows instead of validate_rows_handler (fix by
2774 Mike Pieper, #74126)
2776 Sat Mar 16 23:54:56 2002 Kristian Rietveld <kris@gtk.org>
2778 * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
2779 return when we have an input_only window (fix by Owen Taylor)
2781 * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
2784 * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
2785 (scroll_sync_handler): ditto,
2786 (gtk_tree_view_unrealize): take scroll_sync_timer into account
2787 (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
2788 calling top_row_to_dy/dy_to_top_row directly
2789 -- this greatly speeds up clearing the model (#73199)
2791 * gtk/gtktreemodelsort.c
2792 (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
2793 for some reason I really screwed it up (fixes #74663)
2795 2002-03-16 Sven Neumann <sven@gimp.org>
2797 * configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS)
2798 (GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0
2799 so that the libs work correctly in a threaded environment.
2801 Fri Mar 15 12:51:42 2002 Jonathan Blandford <jrb@redhat.com>
2803 * gtk/gtktreeviewcolumn.c
2804 (gtk_tree_view_column_new_with_attributes): add example to docs,
2805 as people are seeming to have trouble with this function.
2807 2002-03-15 Tor Lillqvist <tml@iki.fi>
2809 * configure.in: Set MATH_LIB to empty also on Win32.
2811 Fri Mar 15 15:37:01 2002 Owen Taylor <otaylor@redhat.com>
2813 * gdk/x11/gdkdrawable-x11.c (convert_to_format):
2814 Fix byte shift arithmetic for big-endian. (Tracked
2815 down with help from Tuomas Kuosmanen)
2817 Fri Mar 15 11:28:41 2002 Jonathan Blandford <jrb@redhat.com>
2819 * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
2820 make args const, 74159
2821 (gtk_tree_view_insert_column_with_attributes): ditto
2823 * gtk/gtktreeviewcolumn.c
2824 (gtk_tree_view_column_cell_process_action): remov unused variables.
2826 Fri Mar 15 13:31:51 2002 Soeren Sandmann <sandmann@daimi.au.dk>
2828 * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
2831 2002-03-15 Padraig O'Briain <padraig.obriain@sun.com>
2833 * gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower
2834 upper case variants if there is only a single keysym per keycode and
2835 the key symbol has upper and lower case variants (#74512)
2837 Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
2839 * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
2840 improbable reentrancy problem if a window is destroyed
2841 while updates are being processed on another window. (Noticed
2842 by Michael Meeks, #74708)
2844 2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
2846 * gtk/gtktreemodelsort.c
2847 typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
2850 Thu Mar 14 11:17:18 2002 Owen Taylor <otaylor@redhat.com>
2852 * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When
2853 removing keys from the key hash, reinsert the right list
2854 back into the hash. (Dave Camp, #74571)
2856 Wed Mar 13 17:17:40 2002 Owen Taylor <otaylor@redhat.com>
2858 * gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED
2859 macro that was defined in terms of the now-gone GTK_CONNECTED
2860 flag. (Seth Burgess, #74028)
2862 Wed Mar 13 17:11:10 2002 Owen Taylor <otaylor@redhat.com>
2864 * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset
2865 the acceleratable_groups qdata because qdata isn't removed
2866 on ->dispose but rather on ->finalize. (#74569, found
2869 Tue Mar 12 23:14:23 2002 Jonathan Blandford <jrb@redhat.com>
2871 * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
2874 Sat Mar 9 18:23:25 2002 Richard Hestilow <hestilow@ximian.com>
2876 * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
2879 Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
2881 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
2882 Fix incorrect return value, filter out returns of 0x7f for
2883 the delete key. (#74179, Kang Jeong-He)
2885 Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
2887 * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
2890 2002-03-11 Matthias Clasen <maclas@gmx.de>
2892 * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
2893 gtk_{menu_item,widget}_set_accel_path() as the recommended API.
2896 2002-03-11 James Henstridge <james@daa.com.au>
2898 * configure.in: set CCAS and CCASFLAGS to get automake 1.6
2899 compatibility without breaking things for people using 1.4.
2901 Sun Mar 10 21:04:30 2002 Jonathan Blandford <jrb@redhat.com>
2903 * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
2906 Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
2908 * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
2909 cursor path and not with the selected iter in the 'decide to edit'