]> Pileus Git - ~andy/gtk/blob - ChangeLog
Be robust and reject rectangles with negative width or height. (#331467,
[~andy/gtk] / ChangeLog
1 2006-02-17  Matthias Clasen  <mclasen@redhat.com>
2
3         * gdk/gdkregion-generic.c (gdk_region_union_with_rect):
4         Be robust and reject rectangles with negative width or
5         height.  (#331467, Benjamin Berg)
6
7
8 2006-02-17  Kristian Rietveld  <kris@imendio.com>
9
10         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
11         Only update the virtual root if the child path is an ancestor
12         of the virtual root.  (Patch from Markku Vire).
13
14 2006-02-16  Federico Mena Quintero  <federico@novell.com>
15
16         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
17         ::initial_focus() on the child before calling ::map() on our
18         parent class.  This will prevent the shortcuts treeview from
19         highlighting its first row as a result of getting assigned focus
20         by gtk_dialog_map().
21
22 2006-02-14  Matthias Clasen  <mclasen@redhat.com>
23
24         * gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
25         check.  Pointed out by Bodo-Merle Sandor.
26
27         * gtk/gtkcolorbutton.c (gtk_color_button_[un]realize):
28         Remove unnecessary checks.  
29
30 2006-02-12  Matthias Clasen  <mclasen@redhat.com>
31
32         * gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
33         examples in the docs.  (#330944, John Spray)
34
35 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
36         
37         * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix
38         row_spacing/column_spacing confusion.  (#330732, Donald Straney)
39
40 2006-02-10  Matthias Clasen  <mclasen@redhat.com>
41
42         * gtk/gtkstyle.c: Add some docs. (#330073, Mart Raudsepp)
43
44         * gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected): 
45         Guard against NULL.  (#330177, Raphael Slinckx)
46
47 2006-02-10  Murray Cumming  <murrayc@murrayc.com>
48
49         * docs/reference/gtk/tmpl/gtkcomboboxentry.sgml: Mention that 
50         the changed signal is emitted when typing - not just when 
51         selecting from the list. Suggest use of GtkEntry::action to 
52         etect end of typing.
53          gtk/gtkcombobox.c: (gtk_combo_box_class_init): changed signal 
54         ocumentation: Mention that the GtkComboBoxEntry emits it when 
55         he users types, not just when he selects from the list.
56
57 2006-02-10  Murray Cumming  <murrayc@murrayc.com
58
59         * gtk/gtkassistant.h: Correct the declaration of the prepare 
60         default signal handler to match its registration and use.
61
62 2006-02-09  Ross Burton  <ross@burtonini.com>
63
64         * gtk/gtkfontbutton.c:
65         Work out the font size in floating point, and display the font
66         size with %g instead of %d (#317590)
67
68 2006-02-09  Tor Lillqvist  <tml@novell.com>
69
70         * gdk/win32/gdkevents-win32.c (gdk_event_translate)
71         <WM_MOUSELEAVE>: If we don't know where we went, and have
72         generated a leave event, set current_window to the root
73         window. This assures we will generate proper enter and leave
74         events for popup windows. (#325521)
75
76 2006-02-08  John Ehresman  <jpe@wingware.com>
77
78         * gdk/win32/gdkevents-win32.c (gdk_event_translate)
79         <WM_MOUSEACTIVATE>
80         * gdk/win32/gdkwindow-win32.c (show_window_internal)
81         (gdk_window_raise): Call SetWindowPos() instead of
82         SetForegroundWindow() or BringWindowToTop() if the window
83         shouldn't accept focus. (#327375)
84         
85 2006-02-08  John Ehresman  <jpe@wingware.com>
86
87         * gdk/win32/gdkwindow-win32.c: Let gdk_window_set_decorations()
88         take precedence over anything derived from hints. Restructure
89         related code and logic, add some new helper functions. (#327217)
90
91 2006-02-08  Matthias Clasen  <mclasen@redhat.com>
92
93         * gtk/gtkfilechooserbutton.c: Don't put relevant callss
94         in g_assert().  (#329876, Kristian Rietveld)
95
96 2006-02-08  Tor Lillqvist  <tml@novell.com>
97
98         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab)
99         (gdk_display_pointer_ungrab, gdk_keyboard_grab)
100         (gdk_display_keyboard_ungrab): Consistenly use assign_object()
101         when assigning GdkWindow pointers so that the ref counting doesn't
102         get off whack.
103
104         (handle_stuff_while_moving_or_resizing): Don't use deprecated API.
105
106         (gdk_event_translate) <WM_MOUSEMOVE>: When the pointer is grabbed
107         with owner_events FALSE, generate enter and leave events only for
108         the grab window. (#321054)
109
110 2006-02-08  Kristian Rietveld  <kris@imendio.com>
111
112         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path),
113         (gtk_tree_model_filter_unref_path): free temporary paths after
114         usage (patch from maemo-gtk),
115         (gtk_tree_model_filter_clear_cache): fix little typo in the docs
116         (patch from maemo-gtk).
117
118         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove
119         stale FIXME.
120
121 2006-02-08  Matthias Clasen  <mclasen@redhat.com>
122
123         * gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
124         as well.  (#330389, Markku Vire)
125
126 2006-02-08  Tor Lillqvist  <tml@novell.com>
127
128         * gtk-zip.sh.in: Drop the timestamp from the zipfile names.
129
130 2006-02-07  Sven Neumann  <sven@gimp.org>
131
132         * gdk/directfb/AUTHORS: updated mine and Dok's email address.
133
134 2006-02-06  Kristian Rietveld  <kris@gtk.org>
135
136         * gtk/gtktreeview.c (gtk_tree_view_get_search_entry): fix compiler
137         warning.
138
139 2006-02-05  Dom Lachowicz <cinamod@hotmail.com>
140
141         * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022
142         Wrong pixel values are computed when color = 0xFF and alpha = 0xFF
143         
144 2006-02-04  Michael Emmel  <mike.emmel@gmail.com>
145         Added new directfb backend located in gdk/directfb
146         plus patches to compile new backend
147         compile with --with-gdktarget=directfb
148
149 2006-02-03  Federico Mena Quintero  <federico@ximian.com>
150
151         Work around https://bugs.freedesktop.org/show_bug.cgi?id=4320,
152         which used to be our own
153         http://bugzilla.gnome.org/show_bug.cgi?id=314616.  If one uses a
154         pixmap for a pattern in Cairo, and sets the pattern to
155         CAIRO_EXTEND_REPEAT; and if the destination surface is also a
156         pixmap, Cairo does a slow copy instead of using XCopyArea().  So,
157         we use the same code that we used in GTK+ 2.6 (pre-cairo), by
158         filling the double-buffer pixmap with a tiled GC and
159         XFillRectangle().
160
161         * gdk/gdkwindow.c (BackingRectMethod): New structure with a
162         cairo_t and a GdkGC field.  Depending on which of these fields
163         gets filled in, we'll use Cairo or GDK to clear the double-buffer
164         pixmap when painting a window.
165         (setup_backing_rect_method): Fill a BackingRectMethod as
166         appropriate, depending on the window's configuration and our
167         knowledge of whether Cairo is fast or slow when doing repeating
168         patterns.
169         (gdk_window_clear_backing_rect): Call
170         setup_backing_rect_method().  Depending on what it returns, use
171         Cairo to clear the double-buffer pixmap, or plain GDK.
172
173 2006-02-03  Matthias Clasen  <mclasen@redhat.com>
174
175         * gtk/gtklabel.c (get_layout_location): Fix handling
176         of padding in RTL.  (#329099, Hooman Mesgary) 
177
178 2006-02-02  Matthias Clasen  <mclasen@redhat.com>
179
180         * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
181         Make drops on the root window work again.  (#145243, Andrew S. Dixon)
182
183 2006-02-01  Matthias Clasen  <mclasen@redhat.com>
184
185         * gtk/gtkwidget.c (gtk_widget_class_init): Wrap dnd signal
186         docs to 80 columns.
187
188 2006-01-31  Matthias Clasen  <mclasen@redhat.com>
189
190         * autogen.sh: Touch README and INSTALL here to pacify 
191         automake.  (#329124, Kjartan Maraas, Tim Janik)
192
193 2006-01-31  Matthias Clasen  <mclasen@redhat.com>
194
195         * gtk/gtk.symbols:
196         * gtk/gtkassistant.h: 
197         * gtk/gtkassistant.c: Actually implement visibility handling,
198         and add gtk_assistant_update_buttons_state.
199
200         * tests/testassistant.c: Test visibility handling.
201
202 2006-01-31  Kristian Rietveld  <kris@imendio.com>
203
204         * gtk/gtkstyle.c (gtk_default_draw_flat_box): Add support for row
205         hinting for the selected state.
206
207 2006-01-30  Matthias Clasen  <mclasen@redhat.com>
208
209         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
210         Make sure the tree view is realized, since we grab the
211         focus to it.  (#329144, Wouter Bolsterlee)
212
213         * gtk/gtkspinbutton.h: 
214         * gtk/gtkspinbutton.c: Add a wrapped signal.  (#322933,
215         Carlos Garnacho Parro)
216
217         * gtk/gtkassistant.c: More generous spacing. (#328082,
218         Christian Persch, patch by Carlos Garnacho)
219         
220         * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property): 
221         Use the setter for active.  (#329208, Guillaume Cottenceau)
222
223         * docs/tools/widgets.c (get_all_widgets): Add GtkLinkButton
224
225         * gtk/gtkassistant.c (gtk_assistant_init): Move the
226         last button to the left where it does not affect
227         the positioning of forward/back.
228
229 2006-01-29  Matthias Clasen  <mclasen@redhat.com>
230
231         More GtkAssistant work, by Carlos Garnacho.
232         
233         * tests/testassistant.c: Additions.
234
235         * gtk/gtkassistant.c: Handle page visibility, other 
236         small fixes.
237
238         * docs/tools/widgets.c: Add GtkAssistant.
239
240 2006-01-28  Behdad Esfahbod  <behdad@gnome.org>
241
242         * configure.in: If major.minor of required and available glib versions
243         are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617)
244
245         * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
246
247 2006-01-28  Dom Lachowicz <cinamod@hotmail.com>
248
249         * modules/engines/ms-windows/msw-style.c: Re-sync with gtk-wimp
250         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
251         
252 2006-01-28  Matthias Clasen  <mclasen@redhat.com>
253
254         * gtk/gtk.symbols: 
255         * gtk/gtklinkbutton.h: 
256         * gtk/gtklinkbutton.c: Allow to set a global hook function
257         thats called whenever a link button is clicked.
258
259         More work on GtkAssistant by Carlos Garnacho:
260         
261         * demos/gtk-demo/Makefile.am: 
262         * demos/gtk-demo/assistant.c: Add a  GtkAssistant demo.
263
264         * gtk/gtkassistant.c: Handle focus, several small fixes to the
265         flow computations.
266
267 2006-01-27  Federico Mena Quintero  <federico@ximian.com>
268
269         Fixes bug #328820:
270
271         * gtk/gtkfilechooserdefault.c
272         (gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
273         the location dialog populated to "/".
274         (tree_view_keybinding_cb): Likewise.
275         (trap_activate_cb): Likewise.
276
277 2006-01-25  Behdad Esfahbod  <behdad@gnome.org>
278
279         * gtk/gtkcalendar.c (gtk_calendar_size_request): Use translated format
280         strings for L10n in size calculation too.
281
282         * gtk/gtkcalendar.c (calendar_paint_week_numbers): Expand buffer to
283         accomodate localized digits.
284
285 2006-01-26  Matthias Clasen  <mclasen@redhat.com>
286
287         * tests/prop-editor.c: Introspect child properties. too.
288
289 2006-01-25  Behdad Esfahbod  <behdad@gnome.org>
290
291         * gtk/gtkcalendar.c (calendar_paint_week_numbers, calendar_paint_day):
292         Use contexed translated strings calendar:week:digits|%d and
293         calendar:day:digits|%d to let translators choose localized digits for
294         week and day numbers. (bug #317171, Hamed Malek)
295
296 2006-01-25  Behdad Esfahbod  <behdad@gnome.org>
297
298         * gtk/gtklabel.c (get_layout_location): Use logical extents of the
299         layout instead of ink extents.  According to Pango docs, that's what
300         should be used for placement.  Moreover, simply use
301         pango_layout_get_pixel_size instead of getting the extents and
302         dividing ourselves.
303
304 2006-01-25  Matthias Clasen  <mclasen@redhat.com>
305
306         * gtk/gtkentrycompletion.c: 
307         * gtk/gtkentry.c: Be more careful when blocking signals. 
308
309         * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
310         set the cursor size if it is != 0.
311
312         * gtk/gtksettings.c (gtk_settings_class_init): Change the default value
313         of gtk-cursor-theme-size to 0, meaning "use default".
314
315 2006-01-24  Kristian Rietveld  <kris@gtk.org>
316
317         #322591, Jonathan Blandford.
318
319         * gtk/gtktreeview.[ch] (gtk_tree_view_get_search_entry),
320         (gtk_tree_view_set_search_entry),
321         (gtk_tree_view_get_search_position_func),
322         (gtk_tree_view_set_search_position_func): New functions,
323         and small adaptions to the tree view code to allow for setting
324         the entry and search position function.
325
326         * gtk/gtktreeprivate.h: Removed GtkTreeViewSearchDialogPositionFunc
327         typedef, which is now in gtktreeview.h as
328         GtkTreeViewSearchPositionFunc.  Add/update fields.
329
330         * gtk/gtk.symbols: Add new functions.
331
332         * tests/testtreesort.c: Add a little test for _set_search_entry().
333
334 2006-01-23  Matthias Clasen  <mclasen@redhat.com>
335
336         Add GtkLinkButton, a port of GnomeHRef.  (#314808, Emmanuele Bassi)
337         
338         * gtk/gtklinkbutton.h: 
339         * gtk/gtklinkbutton.c: New files.
340
341         * gtk/gtk.h:
342         * gtk/gtk.symbols: 
343         * gtk/Makefile.am: Glue.
344
345         * gtk/gtkaboutdialog.c: Use GtkLinkButton.
346         
347         * gtk/gtkwidget.c: Add link-color and visited-link-color style
348         properties.  (#113649, Leena Gunda)
349
350         * gtk/gtkaboutdialog.c: Use the new style properties here instead
351         of the about dialogs own link-color property. 
352
353 2006-01-23  Kristian Rietveld  <kris@gtk.org>
354
355         * gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy
356         tree paths when emitting signals. (#325041, Matthias Clasen).
357
358 2006-01-23  Behdad Esfahbod  <behdad@gnome.org>
359
360         * gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL
361         text in ellipsized GtkLabel: use layout width if set, otherwise
362         fallback to ink extents width. (#322042)
363
364 2006-01-23  Matthias Clasen  <mclasen@redhat.com>
365
366         * gtk/gtkassistant.c (compute_last_button_state): Only show the
367         last button if we can jump to the end. 
368         (gtk_assistant_init): Make the spacing and button order more
369         HIG compliant.
370
371         Fix drawing issues in progress bars.  (#328081, Christian Persch)
372         
373         * gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Always
374         request enough space. 
375         (gtk_progress_bar_paint_activity) 
376         (gtk_progress_bar_paint_continuous) 
377         (gtk_progress_bar_paint_discrete): Clip when drawing the bar.
378
379 2006-01-23  Michael Natterer  <mitch@imendio.com>
380
381         * gtk/gtkcolorbutton.c: move destruction of the private GdkGC
382         from finalize() to unrealize(). Fixes BadMatch on display change
383         (bug #85715).
384
385 2006-01-22  Kristian Rietveld  <kris@gtk.org>
386
387         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Revert previous
388         commit after more searching in the bugzilla archives (see #309221).
389
390 2006-01-22  Kristian Rietveld  <kris@gtk.org>
391
392         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call
393         to gtk_tree_view_column_cell_set_cell_data, since we also set the
394         cell data before iterating over the columns for exposure. (Fixes
395         #322471, Duncan Coutts).
396
397 2006-01-21  Matthias Clasen  <mclasen@redhat.com>
398
399         * tests/testassistant.c: Add some tests for GtkAssistant
400
401         * tests/Makefile.am: Glue
402
403 2006-01-20  Matthias Clasen  <mclasen@redhat.com>
404
405         * gtk/gtkassistant.c: Fix the docs to reflect the actual signal
406         signatures.
407
408         * gtk/gtktextview.c (gtk_text_view_set_virtual_cursor_pos): Don't
409         crash if layout is NULL.  (#327934, Christian Kirbach)
410
411 2006-01-20  Dan Winship  <danw@novell.com>
412
413         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_class_init,
414         tree_view_keybinding_cb, trap_activate_cb): On "unix", pop up the
415         "Open Location" window on "~" as well as "/". #153213
416         (location_entry_create): Fix this so autocompletion still works
417         correctly in that case.
418
419 2006-01-19  Matthias Clasen  <mclasen@redhat.com>
420
421         * configure.in: Explicitly link against Xrender.  
422         (#327538, Christophe Belle)
423         
424         * gdk/x11/gdkprivate-x11.h (XID_FONT_BIT): 
425         * gdk/x11/gdkfont-x11.c: 
426         * gdk/x11/gdkxid.c: Use an unused high bit in the
427         XID to mark fonts in the global xid hash table.
428
429         * gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
430         when iterating over the xid hash table, since calling
431         GDK_IS_WINDOW () on an GdkFont can cause a segfault.
432         (#327751, Ryan Lovett)
433
434 2006-01-19  Matthias Clasen  <mclasen@redhat.com>
435         
436         * gtk/gtkassistant.[hc]: Use a priv pointer for
437         cheap access to the priv struct.  (#327725, Christian
438         Persch)
439
440         * gtk/gtkassistant.h: Fix line endings.
441
442 2006-01-18  Matthias Clasen  <mclasen@redhat.com>
443
444         * gtk/gtkassistant.[hc]: Add GtkAssistant, a widget to
445         construct multi-step wizards.  (#115348, Martyn Russell, 
446         Matthias Clasen, Carlos Garnacho Parro)
447
448         * gtk/gtk.symbols:
449         * gtk/Makefile.am: 
450         * gtk/gtk.h: Necessary glue.
451
452 2006-01-18  Anders Carlsson  <andersca@imendio.com>
453
454         * gdk/quartz/gdkevents-quartz.c:
455         (get_mm_from_pixels):
456         (gdk_screen_get_width_mm):
457         (gdk_screen_get_height_mm):
458         Implement these functions.
459         (#327228, Thomas Broyer).
460
461 2006-01-18  Anders Carlsson  <andersca@imendio.com>
462
463         * gdk/quartz/gdkdrawable-quartz.c:
464         (gdk_quartz_draw_polygon):
465         (gdk_quartz_draw_lines):
466         Implement these functions.
467         (#327226, Thomas Broyer)
468         
469 2006-01-18  Anders Carlsson  <andersca@imendio.com>
470
471         * gdk/quartz/gdkkeys-quartz.c:
472         (maybe_update_keymap):
473         Support non-MacRoman keyboard layouts.
474         (#322585, Wolfgang Thaller)
475         
476 2006-01-18  Anders Carlsson  <andersca@imendio.com>
477
478         * gdk/quartz/gdkmain-quartz.c:
479         (_gdk_windowing_init):
480         Make the process a foreground application.
481         (#322481, Wolfgang Thaller)
482         
483 2006-01-18  Matthias Clasen  <mclasen@redhat.com>
484
485         * gtk/gtkrbtree.c: 
486         * gtk/gtktreemodel.c: Fix several g_new() calls which
487         were using extra indirections or pointless casts.  
488         (#327423, Morten Welinder)
489
490 Tue Jan 17 19:27:59 2006  Tim Janik  <timj@imendio.com>
491
492         * gtk/gtkprogress.c: fix adopted from maemo-gtk.
493         gtk_progress_create_pixmap(): clear out the newly created offscreen 
494         pixmap, so themes making use of transparency don't draw onto garbage.
495
496 2006-01-17  Michael Natterer  <mitch@imendio.com>
497
498         * gtk/gtkbutton.c: remove the "child-spacing" style property again
499         and add "inner-border" instead. That's far more flexible and
500         "child-spacing" was a bad name anyway.
501
502 2006-01-17  Michael Natterer  <mitch@imendio.com>
503
504         * configure.in (ALL_LINGUAS): remove "ang" again until all po
505         files are there.
506
507 2006-01-16  Abel Cheung  <maddog@linuxhall.org>
508
509         * configure.in: Added "ang" "zh_HK" to ALL_LINGUAS.
510
511 2006-01-16  Matthias Clasen  <mclasen@redhat.com>
512
513         * README.in: Mention new pixbuf engine features.
514
515         * gtk/gtk.symbols: 
516         * gtk/gtkradioaction.[hc]: Add a current-value property and a
517         setter for it.  (#322735, Jorn Baayen)
518         
519 2006-01-16  Michael Natterer  <mitch@imendio.com>
520
521         * gtk/gtkbutton.c: applied patch from maemo-gtk which adds a
522         child-spacing style property. Fixes bug #327202.
523
524 2006-01-16  Anders Carlsson  <andersca@imendio.com>
525
526         * gdk/quartz/gdkdisplay-quartz.c:
527         * gdk/quartz/gdkevents-quartz.c:
528         (gdk_keyboard_grab):
529         (gdk_display_keyboard_ungrab):
530         (gdk_keyboard_grab_info_libgtk_only):
531         (find_window_for_event):
532         Implement keyboard grabs.
533         
534         (_gdk_quartz_send_map_events):
535         * gdk/quartz/gdkmain-quartz.c:
536         * gdk/quartz/gdkprivate-quartz.h:
537         New function that synthesizes map events.
538         
539         * gdk/quartz/gdkwindow-quartz.c:
540         (_gdk_windowing_window_init):
541         The root window is always visible.
542         
543         (all_parents_shown):
544         (show_window_internal):
545         Send map events.
546         
547         (gdk_window_hide):
548         Ungrab keyboard and pointer
549
550 2006-01-15  Kristian Rietveld  <kris@gtk.org>
551
552         Fixes #324099, Tommi Komulainen.
553
554         * gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values),
555         (gtk_tree_store_insert_with_valuesv): new functions, analog to
556         those found in GtkListStore.
557
558         * gtk/gtktreestore.c (gtk_tree_store_real_set_value),
559         (gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal),
560         (gtk_tree_store_sort_iter_changed): refactored.
561
562         * gtk/gtk.symbols: updated.
563
564         * tests/treestoretest.c: added a test for this new functionality.
565
566 2006-01-14  Matthias Clasen  <mclasen@redhat.com>
567
568         * gtk/gtkentry.c (gtk_entry_drag_data_received): Remove 
569         an unused variable.
570
571         * gtk/gtkiconfactory.c (get_default_icons): Register RTL 
572         versions of the indent and unindent icons.  (#326857,
573         Itai Bar-Haim)
574
575         * gtk/Makefile.am (STOCK_ICONS): And add them here.
576
577         Fix a crash with combo boxes in RESIZE_IMMEDIATE
578         containers.  (#326806, Sebastian Bacher)
579         
580         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate) 
581         (gtk_combo_box_size_request): Don't call 
582         gtk_combo_box_check_appearance() from here, as that 
583         can lead to recursion. 
584         (gtk_combo_box_init): Instead, call it here.
585
586 2006-01-14  Kristian Rietveld  <kris@gtk.org>
587
588         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix
589         a typo which caused this whole thing to not function ...
590
591 2006-01-14  Kristian Rietveld  <kris@gtk.org>
592
593         * gtk/gtktreeview.c (gtk_tree_view_size_allocate),
594         (validate_visible_area): fixup adjustments and top_row if the
595         current dy + page_size exceeds the new tree view height. (Fixes
596         #316689, reported by Chris Lord).
597
598 2006-01-13  Matthias Clasen  <mclasen@redhat.com>
599
600         * */abicheck.sh: Make this work on more platforms.
601
602 2006-01-13  Kristian Rietveld  <kris@imendio.com>
603
604         * tests/testtreefocus.c (set_indicator_size), (main): add a little
605         test for the newly introduced indicator-size property.
606
607 2006-01-13  Kristian Rietveld  <kris@imendio.com>
608
609         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
610         initialize the inconsistent field in the private structure,
611         (gtk_cell_renderer_toggle_class_init),
612         (gtk_cell_renderer_toggle_{set,get}_property),
613         (gtk_cell_renderer_toggle_get_size): introduce a indicator-size
614         property.
615
616 2006-01-13  Michael Natterer  <mitch@imendio.com>
617
618         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
619         (gtk_tree_view_real_collapse_row): don't animate the expander
620         arrows if gtk-enable-animations is FALSE (bug #142582).
621
622 2006-01-12  Matthias Clasen  <mclasen@redhat.com>
623
624         * gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and
625         tab-curvature with style properties.  (#325282, Alexander Nedotsukov)
626
627         * gtk/gtktextview.c (gtk_text_view_commit_text) 
628         (gtk_text_view_delete_from_cursor, gtk_text_view_backspace): 
629         Reset the virtual cursor position.  (#326003, Evert Verhellen)
630
631         * gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs
632         about RGBA windows. (#326486, Benjamin Otte)
633
634 2006-01-12  Michael Natterer  <mitch@imendio.com>
635
636         * gdk/gdkimage.c (scratch_image_info_for_depth): connect to the
637         display's "closed" signal and free the cached scratch images upon
638         display closing (bug #85715).
639
640 2006-01-12  Michael Natterer  <mitch@imendio.com>
641
642         * gtk/gtkexpander.c (gtk_expander_set_expanded): skip the
643         animation if the gtk-enable-animations setting is FALSE
644         (bug #142582).
645
646 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
647
648         * gtk/gtklabel.c: Fix a C99ism (#326658, Kazuki Iwamoto)
649
650 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
651
652         * gtk/gtklabel.c: Add some notify batching, always
653         emit notify after setting the new value.
654
655         * gtk/gtkmessagedialog.c: Add properties.  (#311254,
656         Johan Dahlin)
657         (gtk_message_dialog_new): Remove some redundant code, pointed
658         out by Gustavo Carneiro.
659
660         * gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
661         up properly if the grab fails.
662         (finish_drag): Don't leak a reference to moveresize_window
663         here.
664
665 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
666
667         * gdk/x11/gdkevents-x11.c: Fix string offsets.
668
669         Allow falling back to another icon theme before 
670         hicolor.   (#325546, Rodney Dawes)
671         
672         * gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.
673
674         * gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.
675         
676         * gtk/gtkicontheme.c: Consult the fallback icon theme before
677         looking in hicolor. 
678
679 2006-01-10  Matthias Clasen  <mclasen@redhat.com>
680
681         * tests/testgtk.c: Add an expander example.
682
683         * gtk/gtkcalendar.c (gtk_calendar_focus_out): Queue a draw
684         when losing the focus.  (#326064, Andrew Conkling)
685
686         * gtk/gtkimmulticontext.c: 
687         * gtk/gtkhsv.c: 
688         * gtk/gtkhandlebox.c: Convert to use instance private data.
689
690         * gtk/gtk.h: Remove duplicate include.  (#326429, 
691         Benoît Carpentier)
692
693         * gtk/gtkpaned.c: Convert to use instance private data.
694
695 2006-01-10  Michael Natterer  <mitch@imendio.com>
696
697         * gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
698         right object ("closed" is emitted by the display, not the screen).
699         (bug #85715)
700
701 2006-01-10  Anders Carlsson  <andersca@imendio.com>
702
703         * gdk/quartz/gdkproperty-quartz.c:
704         (ensure_atom_tables):
705         (intern_atom_internal):
706         (gdk_atom_intern):
707         (gdk_atom_intern_static_string):
708         (gdk_atom_name):
709         Implement local-only atoms.
710
711 2006-01-09  Matthias Clasen  <mclasen@redhat.com>
712
713         * gdk/gdkgc.c (gc_get_foreground): Correct a warning.
714         (#326341, Benoît Carpentier)
715
716         * gtk/gtk.symbols:
717         * gtk/gtkwindow.h:
718         * gtk/gtkwindow.c (gtk_window_get_group): Make this function
719         public API.  (#307099, Todd Berman)
720
721         * gtk/gtkmenu.c: 
722         * gtk/gtkmain.c: 
723         * gtk/gtkentrycompletion.c: 
724         * gtk/gtkcombo.c: 
725         * gtk/gtkcombobox.c: Update all callers.
726
727         * gtk/gtkentry.c (paste_received):  Make GtkEntryCompletion
728         complete on pastes at the end.  (#165714, Christian Neumair)
729
730         * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): 
731         Prevent the first row being focused on map.  (#137351,
732         Niklas Knutsson)
733
734 2006-01-09  Johan Dahlin  <jdahlin@async.com.br>
735
736         * gtk/gtk.symbols:
737         * gtk/gtkeditable.h:
738         * gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
739         * gtk/gtksizegroup.h:
740         (struct _GtkSizeGroup): 
741
742         Add gtk_size_group_get_widgets, fixes #326324.
743         Also mark all fields of GtkSizeGroup as private
744
745 2006-01-09  Matthias Clasen  <mclasen@redhat.com>
746
747         * gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
748         leak preedit_string and preedit_attrs.  (#322332, Paolo
749         Borelli)
750
751         * gtk/gtk.symbols:
752         * gtk/gtkaction.h: 
753         * gtk/gtkaction.c (gtk_widget_get_action): New function to
754         get the action for a proxy.  (#326288)
755
756         * gtk/gtkaction.c: Go back to the old key for attaching the
757         action to the proxy.  (#326288, Diego González)
758
759 2006-01-08  Matthias Clasen  <mclasen@redhat.com>
760
761         * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
762         empty strings.  (#326200, Christian Stimming)
763
764 2006-01-08  Matthias Clasen  <mclasen@redhat.com>
765
766         * gtk/gtkentry.[hc]: 
767         * gtk/gtklabel.[hc]: Shrink the private structs of these a bit.
768
769         * gtk/gtklabel.c (get_layout_location): Fix label alignment 
770         when width-chars is set.  (#326098, Benjamin Otte)
771
772         * gdk/gdkregion-generic.c (miRegionCopy): Fix this for the 
773         single-rectangle case.  (#326127, Benjamin Berg)
774         (gdk_region_copy): Use miRegionCopy() here.
775
776 2006-01-07  Matthias Clasen  <mclasen@redhat.com>
777
778         Fix actiongroup-action interaction that relied on 
779         actions connecting to notify on themselves:
780         
781         * gtk/gtkaction.[hc]: Factor out the code updating the
782         visibility/sensitivity of proxies into _gtk_action_sync_visible()
783         and _gtk_action_sync_sensible().
784
785         * gtk/gtkactiongroup.c: Call the new functions when the
786         group visibility/sensitivity changes. 
787
788 2006-01-06  Matthias Clasen  <mclasen@redhat.com>
789
790         * gtk/gtkactiongroup.c (gtk_action_group_set_sensitive) 
791         (gtk_action_group_set_visible): Add missing property change
792         notification.
793
794 2006-01-06  Matthias Clasen  <mclasen@redhat.com>
795
796         * gtk/gtkfilechooserbutton.c (model_add_special): Just use the
797         directory name for the home dir.  (#325817, Federico Mena Quintero)
798         
799         * gtk/gtktexttag.c (gtk_text_attributes_new): Initialize editable 
800         to TRUE. 
801         (gtk_text_tag_class_init): The default value for the direction 
802         property is GTK_TEXT_DIR_NONE. Add notes about the initial values 
803         of the font and language properties.
804
805         * gtk/gtktoolbutton.c (gtk_tool_button_class_init): Make clicked
806         an action signal.  (#325782, Martyn Russell)
807
808         * gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
809         the old adjustments signals.  (#325869, Jorn Baayen)
810
811 2006-01-06  Hans Breuer  <hans@breuer.org>
812
813         * tests/makefile.msc : added a bunch of tests
814         * tests/testcellrenderertext.c : use g_snprintf()
815         * tests/testfilechooserbutton.c : don't include unistd.h twice.
816         Removed the unconditional one and added direct.h for G_OS_WIN32
817         
818 2006-01-05  Hans Breuer  <hans@breuer.org>
819
820         * gdk/makefile.msc : also recurse into win32 for ::clean
821         * gtk/makefile.msc.in : create gtkbuiltincache.h (most code
822         to simulate links) and file renames
823
824 2006-01-05  Johan Dahlin  <jdahlin@async.com.br>
825
826         * gtk/gtkprogressbar.c: Set minimum for activity-step property to 0
827         instead of -G_MAXUINT.
828         
829 2006-01-05  Matthias Clasen  <mclasen@redhat.com>
830
831         * gtk/gtkwindow.c: Only connect to the event if we have
832         a frame, since the handler is only relevant in that case.
833
834         * gtk/gtkaction.c (connect_proxy, disconnect_proxy): 
835         Use a weak reference rather than the destroy signal to track 
836         proxies going away.
837
838         * gtk/gtkbindings.c (binding_signal_new): Revert the last change.
839
840         * gtk/gtkaction.c (gtk_action_sync_property): 
841         (gtk_action_sync_stock_id): Removed.
842
843 2006-01-05  Rodrigo Moya <rodrigo@novell.com>
844
845         * gtk/gtkbindings.c (binding_signal_new): allocate correct amount for
846         signal and arguments.
847
848 2006-01-05  Matthias Clasen  <mclasen@redhat.com>
849
850         * gtk/gtklabel.c (gtk_label_grab_focus): Don't return a value from
851         a void function.
852
853 2006-01-04  Matthias Clasen  <mclasen@redhat.com>
854
855         * gtk/gtkbindings.h (struct _GtkBindingSignal): Revert questionable
856         changes.
857         
858         * gtk/gtkbindings.c: Use the slice allocator and allocate signal
859         and arguments in one block.
860
861         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Don't return
862         a list of NULLs.  (#325723, Steve Chaplin)
863
864 2006-01-04  Rodrigo Moya <rodrigo@novell.com>
865
866         * gtk/gtkbindings.c (binding_signal_new): guard against multiplying
867         by -1 (when n_args is 0).
868
869 2006-01-04  Michael Natterer  <mitch@imendio.com>
870
871         * gtk/gtkmenutoolbutton.c
872         (gtk_menu_tool_button_set_menu)
873         (gtk_menu_tool_button_destroy): use gtk_menu_attach_to_widget()
874         and gtk_menu_detach() instead of reffing/unreffing the menu
875         manually. Also fixes brokenness on screen change (bug #85715).
876
877 2006-01-04  Matthias Clasen  <mclasen@redhat.com>
878
879         * gtk/gtkaccelmap.c: 
880         * gtk/gtkactiongroup.c: 
881         * gtk/gtkdialog.c: 
882         * gtk/gtkfilesystemunix.c: 
883         * gtk/gtkgc.c: 
884         * gtk/gtkkeyhash.c: 
885         * gtk/gtkplug.c: 
886         * gtk/gtktextiter.c: 
887         * gtk/gtktextlayout.c: 
888         * gtk/gtkuimanager.c: 
889         * gtk/gtkwidget.c: 
890         * gtk/gtkwindow.c: 
891         * gtk/gtkxembed.c: Use the slice allocator for many small 
892         allocations.
893
894         * gtk/gtkcolorsel.c: 
895         * gtk/gtktreeview.c: Use IPN.
896
897         * gtk/gtkwidget.c: Remove an unused field from the AccelPath 
898         struct.
899
900 2006-01-04  Tor Lillqvist  <tml@novell.com>
901
902         * gtk-zip.sh.in: Include also the gtk20-properties message catalogs.
903
904 2006-01-03  Matthias Clasen  <mclasen@redhat.com>
905         
906         * gtk/gtkdnd.c: Make it compile
907
908         * gtk/gtkdnd.c (gtk_drag_begin_internal): Call gtk_drag_update
909         for non-motion events.  (#325443, Peter Harvey)
910
911         * gtk/gtkaction.c: Avoid connecting to notify on our own
912         properties. 
913
914 2006-01-02  Matthias Clasen  <mclasen@redhat.com>
915
916         * gtk/gtkentry.c (gtk_entry_delete_from_cursor): When deleting
917         words, delete preceding whitespace as well.  (#325358,  Akkana Peck)
918
919 2006-01-02  Anders Carlsson  <andersca@imendio.com>
920
921         * gdk/quartz/GdkQuartzWindow.c:
922         (-[GdkQuartzWindow canBecomeMainWindow]):
923         (-[GdkQuartzWindow canBecomeKeyWindow]):
924         Have these return TRUE
925         
926         * gdk/quartz/gdkevents-quartz.c:
927         (pointer_grab_internal):
928         Remove FIXME
929         
930         (find_child_window_by_point_helper):
931         Fix bug in offset calculation
932         
933         (find_window_for_event):
934         Use grab window toplevel when a grab is in effect
935         
936         (gdk_event_translate):
937         Don't call _gdk_event_button_generate on mouse up
938         
939         * gdk/quartz/gdkgc-quartz.c:
940         (_gdk_quartz_gc_new):
941         Fix indentation
942         
943         * gdk/quartz/gdkwindow-quartz.c:
944         (gdk_window_new):
945         Make TEMP windows borderless
946         
947         (gdk_window_hide):
948         Hide window
949         
950         (gdk_window_get_origin):
951         Implement
952         
953 2006-01-02  Tor Lillqvist  <tml@novell.com>
954
955         * gdk/win32/gdkwindow-win32.c
956         (gdk_window_impl_win32_get_visible_region): Make identical to the
957         X11 implementation. (#322264, John Ehresman)
958
959         * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): Get the
960         invalidated region from ScrollWindowEx() instead of an incorrect
961         attempt to calculate it ourselves. Fix by John Ehresman. (#323666)
962
963         * gdkevents-win32.c: Make _gdk_win32_hrgn_to_region() non-static.
964
965         * gdkprivate-win32.h: Declare it.
966
967 2005-12-31  Matthias Clasen  <mclasen@redhat.com>
968
969         * gtk/gtkaction.c: 
970         * gtk/gtkentry.c: Connect to notify instead of multiple
971         detailed signals.
972
973 2005-12-30  Matthias Clasen  <mclasen@redhat.com>
974
975         * gdk/gdk.symbols: 
976         * gdk/gdkcairo.h: 
977         * gdk/gdkcairo.c: Add gdk_cairo_set_source_pixmap.  (#318805,
978         Alexander Larsson)
979
980         * gdk/gdkdisplaymanager.c (gdk_display_manager_set_property): Call
981         gdk_display_manager_set_default_display() to change the default
982         display.  (#153623, Stefan Kost)
983
984         * gtk/gtkmessagedialog.c (gtk_message_dialog_init):
985          (setup_type): Alert dialogs should not have titles and should 
986         not be displayed in the taskbar.  (#310443, Carlos Garnacho Parro,
987         Dennis Cranston)
988
989 2005-12-29  Matthias Clasen  <mclasen@redhat.com>
990
991         * gtk/gtkliststore.c: 
992         * gtk/gtktreestore.c: Always call the get_path and get_iter
993         implementations directly, rather than the current mixture whith
994         some calls going through the GtkTreeModel interface.
995
996         * gtk/gtktreemodelsort.c: 
997         * gtk/gtkliststore.c: 
998         * gtk/gtktreestore.c: Remove excessive g_return_if_fail() checks
999         in static functions.
1000         
1001         * gtk/gtktreedatalist.c: Use the slice allocater for 
1002         GtkTreeDataSortHeader.
1003
1004         * gtk/gtktreedatalist.h: 
1005         * gtk/gtktreedatalist.c (_gtk_tree_data_list_set_header): New function.
1006
1007         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): 
1008         * gtk/gtkliststore.c (gtk_list_store_set_sort_func): 
1009         * gtk/gtktreestore.c (gtk_tree_store_set_sort_func): Use it here.
1010
1011 2005-12-27  Matthias Clasen  <mclasen@redhat.com>
1012
1013         * gtk/gtkbindings.h (GtkBindingSignal): 
1014         * gtk/gtkbindings.c (binding_signal_new): Make the
1015         args a flexible array inside the struct, and allocate them
1016         together.
1017
1018 Wed Dec 28 00:45:46 2005  Tim Janik  <timj@gtk.org>
1019
1020         * gtk/gtkctree.c (row_delete): delete GtkCTreeRow as GtkCTreeRow, not
1021         clist rows which crashes in gslice later on.
1022
1023 2005-12-27  Federico Mena Quintero  <federico@ximian.com>
1024
1025         * gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
1026         FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
1027         not NULL.  Fixes bug #317687.
1028
1029 2005-12-27  Matthias Clasen  <mclasen@redhat.com>
1030
1031         * gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
1032         (gdk_screen_get_setting): Avoid relocations for the settings
1033         map.
1034
1035         * gdk/x11/gdkproperty-x11.c: Avoid relocations for the list
1036         of standard atoms.
1037
1038         * gtk/gtkbindings.c (gtk_binding_set_new): Avoid copying
1039         the set_name by interning it.
1040
1041 2005-12-26  Matthias Clasen  <mclasen@redhat.com>
1042
1043         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Precache atoms
1044         before calling gdk_window_new().
1045
1046         * gtk/gtktextbtree.c: Use the slice allocator for some other small
1047         auxiliary structures as well.
1048
1049         * gtk/gtkimcontext.c (gtk_im_context_filter_keypress): Clarify
1050         docs.  (#324996)
1051
1052         * gtk/gtktextbtree.c (gtk_text_btree_get_tag_info) 
1053         (gtk_text_btree_remove_tag_info): Use the slice allocator for 
1054         tag info.
1055
1056         * README.in: Mention the stripping of (_F) suffixes.
1057
1058         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Strip a suffix of 
1059         the form "(_<single character>)", since this is the preferred way
1060         for some languages to indicate accelerators.  (#323956, Yang Hong)
1061
1062         * gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
1063         setting.
1064         (gtk_label_grab_focus): And use it here to select the contents of
1065         the label when appropriate.
1066         (gtk_label_class_init): Use the same keybindings for select all/
1067         unselect all as GtkEntry and GtkTextView.
1068
1069         * gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
1070         focus, avoid leaving a selection in a label.
1071
1072 2005-12-25  Matthias Clasen  <mclasen@redhat.com>
1073
1074         * gtk/gtkwindow.c: Documentation fixes.  (#324815, 
1075         Ross Burton)
1076
1077         * configure.in: Require GLib 2.9.2
1078
1079 2005-12-24  Matthias Clasen  <mclasen@redhat.com>
1080
1081         * gdk/gdkregion-generic.c: 
1082         * gdk/gdkpolyreg-generic.c: 
1083         * gdk/gdkregion.h: 
1084         * gdk/gdkrectangle.c: Inline docs, use g_assert(), avoid 
1085         extra allocation for rectangular regions.
1086
1087 Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>
1088
1089         * gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.
1090
1091 Thu Dec 22 17:55:11 2005  Tim Janik  <timj@gtk.org>
1092
1093         * gtk/gtkobject.h: parent type fixups in structure declarations.
1094
1095 Thu Dec 22 16:01:27 2005  Tim Janik  <timj@imendio.com>
1096
1097         * gtk/gtkobject.c: derive GtkObject from GUnowned,
1098         so it initially has a floating reference count.
1099         gtk_object_class_init(): installa floating flag handler with
1100         libgobject, so for GtkObjects the flag is stored as GTK_FLOATING
1101         in the ->flags member.
1102
1103         * tests/floatingtest.c: test floating flag uses.
1104
1105 2005-12-21  Matthias Clasen  <mclasen@redhat.com>
1106
1107         * gdk/gdkregion-generic.c: Use the slice allocator
1108         for regions. Still todo: avoid extra allocations for
1109         the single-rectangle case.
1110
1111         * gtk/gtksettings.c (gtk_settings_class_init): Update
1112         class_n_properties after installing color-hash, since
1113         other classes install settings, too.
1114
1115         * gtk/gtkctree.c: 
1116         * gtk/gtkclist.c: Fix some mistakes in the conversion
1117         from mem chunks to slice allocator.
1118
1119         * gtk/gtkiconview.c (adjust_wrap_width): Adjust the 
1120         wrap-width also if an explicit item width is set.  
1121         (#322475, Alex Graveley)
1122         
1123 2005-12-20  Matthias Clasen  <mclasen@redhat.com>
1124
1125         * gtk/gtkiconview.c (gtk_icon_view_button_press): Reset 
1126         pressed_button to -1 after handling a double click, so that
1127         motion events occurring between here and the release event
1128         don't trigger DND.  (#324588, Dave Andreoli)
1129
1130 2005-12-19  Matthias Clasen  <mclasen@redhat.com>
1131
1132         * gtk/gtkcellrenderer.c: 
1133         * gtk/gtkselection.c: 
1134         * gtk/gtkcalendar.c: 
1135         * gtk/gtkitemfactory.c: 
1136         * gdk/gtkcombo.c: 
1137         * gdk/gdkpixbuf-render.c: Documentation updates
1138
1139         * gtk/gtktreemodel.c: 
1140         * gtk/gtkplug.c: 
1141         * gtk/gtkwindow.c: Documentation fixes.
1142
1143 2005-12-19  Michael Natterer  <mitch@imendio.com>
1144
1145         * gtk/gtkentry.c: implement boolean property "truncate-multiline"
1146         which, when enabled, truncates multi-line pastes or drops to their
1147         first line. Fixes bug #322252.
1148
1149         * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): enable
1150         truncate-multiline here.
1151
1152 2005-12-17  Matthias Clasen  <mclasen@redhat.com>
1153
1154         * gtk/gtksettings.c (get_color_hash): Don't crash if
1155         there is no color scheme.  (#324429, Diego Gonzalez)
1156
1157 2005-12-16  Matthias Clasen  <mclasen@redhat.com>
1158
1159         * gtk/gtkfilesystem.c (gtk_file_system_module_load): 
1160         * gtk/gtkimmodule.c (gtk_im_module_load): 
1161         * gtk/gtkthemes.c (gtk_theme_engine_load): 
1162         * gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
1163         opening modules.
1164
1165         * gtk/gtksettings.[hc]: Rework the way the color scheme setting
1166         is inherited. Now the overriding is done on a per-color basis,
1167         rather than for the setting as a whole. This has the effect
1168         that themes can declare defaults for all the symbolic colors they
1169         use by specifying a value for the gtk-color-scheme setting in 
1170         their rc file, while still allowing the XSetting to override
1171         "standard" symbolic colors. The hash table is now available
1172         through the color-hash property.
1173         
1174         * gtk/gtkrc.c: Use the new color-hash property.
1175         
1176 2005-12-14  Matthias Clasen  <mclasen@redhat.com>
1177
1178         * gtk/gtkcontainer.c (_gtk_container_focus_sort): Skip unrealized
1179         children when doing focus sorting.  (#323995, Dan Winship)
1180
1181 2005-12-14  Rodney Dawes  <dobey@novell.com>
1182
1183         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
1184         Default to "drive-harddisk" and then fall back to gnome-dev-harddisk
1185         (get_icon_for_mime_type): Look up the mime type icons according to the
1186         Icon Naming Specification and then fall back to the gnome-mime- prefix
1187         for the mime type icons
1188
1189         Fixes #323655
1190         
1191 2005-12-14  Matthias Clasen  <mclasen@redhat.com>
1192
1193         * gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
1194         cannot be loaded.  (#323504, Kjartan Maraas)
1195
1196         * gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs 
1197         for the row-activated signal.  (#324044, Davyd Madeley)
1198
1199 2005-12-14  Michael Natterer  <mitch@imendio.com>
1200
1201         * tests/test-images/valid_jpeg_progressive_test: new test image.
1202
1203 Tue Dec 13 09:47:20 2005  Tim Janik  <timj@gtk.org>
1204
1205         * README.in: added a link to the floating reference docs in the
1206         2.10 release NEWS section.
1207
1208 2005-12-12  Matthias Clasen  <mclasen@redhat.com>
1209
1210         * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_index): 
1211         Speed this function up, using the fact that visibility is 
1212         constant across segments. (#321548, Paolo Borelli)
1213
1214         * gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets): 
1215         * gtk/gtktextiter.c (gtk_text_iter_backward_chars): Speed up
1216         stepping backwards.  (#320638, Larry Ewing, Paolo Borelli)
1217
1218         * gtk/gtkicontheme.c (ensure_valid_themes): Only broadcast
1219         _GTK_LOAD_ICONTHEMES if we detect a real theme change, not
1220         upon initial theme load.  (#323876, Peter Lund)
1221
1222         * gtk/gtkstatusicon.c (gtk_status_icon_class_init): Register
1223         the size-changed signal correctly.  (#323848, Murray Cumming)
1224
1225         * gtk/gtkmarshalers.list: Add necessary marshaller.
1226
1227         * gtk/gtktextview.c (gtk_text_view_get_border_window_size): Don't
1228         fall thru to the wrong window types.  (#323843)
1229
1230         Make the gtk-color-scheme setting work.
1231         
1232         * gtk/gtksettings.h: 
1233         * gtk/gtksettings.c (_gtk_settings_get_color_hash): Add a getter
1234         that takes care of initializing the color hash if it is not 
1235         already there.  
1236
1237         * gtk/gtkrc.c (gtk_rc_color_scheme_changed, gtk_rc_context_get): 
1238         And use it here.        
1239
1240 2005-12-10  Matthias Clasen  <mclasen@redhat.com>
1241
1242         * gdk/gdk.c (gdk_parse_args): Warn if parsing fails,
1243         not if it succeeds. 
1244
1245 2005-12-09  Matthias Clasen  <mclasen@redhat.com>
1246
1247         * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
1248         leak list[0].  (#323629, Markku Vire)
1249
1250         * gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer
1251         when freeing the RequestData.  (#323577)
1252
1253 2005-12-07  Matthias Clasen  <mclasen@redhat.com>
1254
1255         * demos/gtk-demo/iconview_edit.c (set_cell_color): Don't
1256         leak text.
1257
1258         * gtk/gtktoolbutton.c (clone_image_menu_size): Fix a 
1259         variable name clash.  (#323475, Ross Burton)
1260
1261 2005-12-07  Ross Burton  <ross@burtonini.com>
1262
1263         * docs/reference/gtk/tmpl/gtkenums.sgml:
1264         * gtk/gtktoolbutton.c:
1265         If the toolbar mode is ICONS and there is no icon set then show
1266         the label, and vice versa (#322019)
1267
1268 2005-12-07  Matthias Clasen  <mclasen@redhat.com>
1269
1270         * gtk/gtktoolbutton.c (clone_image_menu_size): Fix a 
1271         variable name clash.  (#323475, Ross Burton)
1272
1273         * gtk/gtktreeview.c (gtk_tree_view_key_press): Use the correct
1274         window when synthesizing the key event.  (#323077,
1275         Sadrul Habib Chowdhury)
1276         
1277         (gtk_tree_view_search_key_press_event): Also listen for
1278         GDK_ISO_Left_Tab.  (#323077, Sadrul Habib Chowdhury)
1279
1280         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler): 
1281         Only scroll if we have focus.  (#316310, Paolo Borelli)
1282
1283         * gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a C99ism,
1284         spotted by Crispin Flowerday.
1285
1286 2005-12-06  Behdad Esfahbod  <behdad@gnome.org>
1287
1288         * gtk/gtksettings.c (settings_update_font_options): Turn metrics
1289         hinting on (part of #307196)
1290
1291 2005-12-06  Matthias Clasen  <mclasen@redhat.com>
1292
1293         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_reset): Don't
1294         commit from reset, it upstets GtkTextView.
1295
1296         * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Be more
1297         careful when turning blinking on and off.
1298         (gtk_text_view_focus_out_event): Make the cursor really invisible
1299         when the focus goes away.  (#323087, Sadrul Habib Chowdhury)
1300         (cursor_blinks): Check the gtk-cursor-blink setting first.
1301
1302         * gtk/gtktreeview.c (gtk_tree_view_key_press): Fix refcounting
1303         issues with new_event and its window.
1304
1305         * gtk/gtkmenu.c (gtk_menu_attach_to_widget): Accept NULL
1306         as a detach func.  (#323386, Jorn Baayen)
1307
1308         * gtk/gtkcalendar.c: Avoid conflict with win32 headers in
1309         the libdate routines.  (#323045, Kazuki Iwamoto)
1310
1311         * gdk/gdk.c (gdk_parse_args): 
1312         * gtk/gtkmain.c (gtk_parse_args): Don't ignore errors
1313         from g_option_context_parse(). 
1314
1315 Tue Dec  6 11:37:59 2005  Tim Janik  <timj@gtk.org>
1316
1317         * gdk/gdkevents.c (gdk_event_new): fix missing hash table 
1318         initialization.
1319
1320 Tue Dec  6 10:32:17 2005  Tim Janik  <timj@gtk.org>
1321
1322         * gtk/gtkstatusbar.c: ported memchunk uses to g_slice, so the code
1323         compiles again.
1324
1325 2005-12-05  Federico Mena Quintero  <federico@ximian.com>
1326
1327         * gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
1328         modifiers", not "event->state && modifiers".  Patch by Sadrul
1329         Habib Chowdhury <imadil@gmail.com>.  Fixes bug #323073.
1330
1331 2005-12-05  Matthias Clasen  <mclasen@redhat.com>
1332
1333         * gtk/gtkwidget.c: 
1334         * gtk/gtkuimanager.c: 
1335         * gtk/gtktreedatalist.c: 
1336         * gtk/gtktext.c: 
1337         * gtk/gtkmain.c: 
1338         * gtk/gtkitemfactory.c: 
1339         * gtk/gtkseparator.[hc]:
1340         * gtk/gtkclist.[hc]: 
1341         * gtk/gtkctree.c:
1342         * gtk/gtkgc.c: Use g_slice instead of mem chunks.
1343
1344 2005-12-05  Michael Natterer  <mitch@imendio.com>
1345
1346         * gdk/x11/gdkevents-x11.c: map the new GtkSettings properties
1347         "timeout-initial", "timeout-repeat", "color-scheme" and
1348         "enable-animations" to X settings.
1349
1350 2005-12-05  Matthias Clasen  <mclasen@redhat.com>
1351
1352         * gdk/gdkevents.c: 
1353         * gdk/gdkcolor.c: Use g_slice instead of mem chunks.
1354
1355         * gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event
1356         after sending it to the search entry.  (#323209, Crispin Flowerday)
1357
1358         * README.in: Add a note about GTK_FLOATING.
1359
1360         * gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating.
1361
1362 2005-12-02  Matthias Clasen  <mclasen@redhat.com>
1363
1364         * gtk/gtktoolbutton.c (clone_image_menu_size): Don't leak
1365         a pixbuf.  (#323024, Paolo Borelli)
1366
1367 2005-12-02  Matthias Clasen  <mclasen@redhat.com>
1368
1369         * gtk/gtkfilesystemunix.c (get_icon_for_mime_type): Don't crash
1370         if mime_type is NULL.  (#322998, Sadrul Habib Chowdhury)
1371
1372 2005-12-02  Michael Natterer  <mitch@imendio.com>
1373
1374         * gtk/gtkmenu.c: applied modified patch from maemo-gtk which
1375         adds a "horizontal-padding" style property. Fixes bug #323036.
1376
1377 2005-12-01  Michael Natterer  <mitch@imendio.com>
1378
1379         Merged modified patch from maemo-gtk that allows to disable
1380         toolbar animations. Addresses bug #142582.
1381
1382         * gtk/gtksettings.c: added boolean property "gtk-enable-animations".
1383         (patch from Christian Neumair)
1384
1385         * gtk/gtktoolbar.c: don't animate toolbar changes if the settings
1386         property is FALSE. Replaced the individual "notify::foo"
1387         connections to GtkSettings by a single "notify" callback and
1388         dispatch internally.
1389
1390 2005-12-01  Michael Natterer  <mitch@imendio.com>
1391
1392         * gtk/gtkmenu.c (gtk_menu_class_init): removed redundant
1393         assignment of widget_class->motion_notify_event.
1394
1395 2005-11-29  Matthias Clasen  <mclasen@redhat.com>
1396
1397         * gtk/gtktoggleaction.c (gtk_toggle_action_class_init): Add 
1398         an active property.  (#322673, Jorn Baayen)
1399
1400         Properly handle model changes in GtkTreeSelection: (#322569,
1401         Milosz Derezynski)
1402         
1403         * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): 
1404         Get a reference to the model, and stop the iteration if the model
1405         of the treeview is changed on the way.
1406
1407         * gtk/gtktreeprivate.h: 
1408         * gtk/gtktreeselection.c (_gtk_tree_selection_emit_changed): New 
1409         private function to emit the GtkTreeSelection::changed signal.
1410
1411         * gtk/gtktreeview.c (gtk_tree_view_set_model): Call 
1412         _gtk_tree_selection_emit_changed() when the model changes.
1413
1414 2005-11-28  Federico Mena Quintero  <federico@ximian.com>
1415
1416         Fixes the critical warnings from bug #317999, thus fixing the bug
1417         completely:
1418
1419         * gtk/gtkfilechooserdefault.c
1420         (gtk_file_chooser_default_get_paths): In SELECT_FOLDER mode,
1421         use _gtk_file_chooser_get_current_folder_path() instead of fetching the
1422         impl->current_folder directly.  The latter may be null if we are
1423         in RELOAD_NONE state.
1424
1425 2005-11-28  Federico Mena Quintero  <federico@ximian.com>
1426
1427         Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):
1428
1429         * gtk/gtkfilechooserdefault.c (up_folder_handler): Don't add the
1430         current_folder to the pending select paths here; the path bar will
1431         give it to us now.
1432         (path_bar_clicked): Add the child_path to the pending select paths
1433         here.
1434         (show_and_select_paths): Don't filter out folders.
1435         (show_and_select_paths): Don't take separate arguments for
1436         only_one_path and multiple paths.
1437
1438         * tests/autotestfilechooser.c (test_folder_switch_and_filters):
1439         New test about preserving the filters when we change folders.
1440
1441 2005-11-28  Matthias Clasen  <mclasen@redhat.com>
1442
1443         * gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent
1444         -20 to come out as 20- in RTL locales.  (#322571, Tze'ela Hebron)
1445
1446         * gtk/gtkaction.c (gtk_action_sync_button_stock_id) 
1447         (connect_proxy): Buttons use the label property for stock ids.  (#322565,
1448         Milosz Derezynski)
1449
1450         * gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly
1451         handle the cell list and indices into it.  (#321856)
1452
1453 2005-11-28  Matthias Clasen  <mclasen@redhat.com>
1454
1455         * gtk/gtktooltips.c (gtk_tooltips_timeout): Set timer_tag to 0 when
1456         the timeout is done.  (#322291, Jean-Yves Lefort)
1457
1458 2005-11-28  Matthias Clasen  <mclasen@redhat.com>
1459
1460         * gtk/gtkfilechooserdefault.c (shortcuts_key_press_event_cb): Make
1461         F2 work for renaming bookmarks.  (#320822, Jaap A. Haitsma, patch
1462         by Paolo Borelli)
1463
1464 2005-11-28  Tor Lillqvist  <tml@novell.com>
1465
1466         * gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint):
1467         Implement the conditional use of FlashWindowEx() properly for MSVC
1468         compilations. The code was confusingly assuming that if compiled
1469         with a "new" compiler, it will only be run on "new" Windows
1470         versions. We want it to run on "old" versions, too, even if
1471         compiled with a "new" compiler. There are two orthogonal issues:
1472         whether the compiler defines the necessary API in its headers, and
1473         whether it is present at run-time. (#318077)
1474
1475         * gtk/gtkcalendar.c (gtk_calendar_init): Use GetLocaleInfo() on
1476         Windows to get the localized weekday and month names. strftime()
1477         in the Microsoft C library returns strings in the default codepage
1478         for the locale of the process, not the system codepage. Thus
1479         g_locale_to_utf8() isn't useable on the return value from
1480         strftime(). (#322603)
1481
1482 2005-11-27  Matthias Clasen  <mclasen@redhat.com>
1483
1484         * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): 
1485         Fix an example.  (#322493, Elie De Brauwer)
1486         
1487         Fix two memory handling problems in GtkTreeView: (#322350, 
1488         Søren Sandmann)
1489         
1490         * gtk/gtktreeview.c (gtk_tree_view_destroy) 
1491         (gtk_tree_view_set_model): Remove all references to nodes in
1492         the old model.
1493         (gtk_tree_view_real_collapse_row): Unmark expanded_collapsed_node
1494         before removing the children.
1495
1496         * gtk/gtkcolorbutton.c (gtk_color_button_init): Don't leak a 
1497         PangoLayout here.  (#322505, Paolo Borelli)
1498
1499 2005-11-27  Tor Lillqvist  <tml@novell.com>
1500
1501         Once again rework Win32 window decoration code. Doesn't break
1502         #104514. The dialogs in gtk-demo now have the same decorations and
1503         behaviour as on X11. Tried to fix #322516 but it seems very hard
1504         to make the trivial sample program there behave as expected. OTOH,
1505         simply moving the gtk_window_decorate() call in the #322516 sample
1506         program after the call to gtk_widget_show() helps...
1507             
1508         * gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
1509         the correct semantics. Each call to gdk_window_set_decorations()
1510         which calls this function is supposed to affect all decorations.
1511
1512         (decorate_based_on_hints): New function, looks at both geometry
1513         hints and type hint and sets window decorations based on
1514         that. Consolidate code from gdk_window_set_geometry_hints() and
1515         gdk_window_set_type_hint() here.
1516
1517         (gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call
1518         decorate_based_on_hints().
1519
1520 2005-11-25  Dom Lachowicz <cinamod@hotmail.com>
1521
1522         * modules/engines/ms-windows/*.[ch]: Merge with gtk-wimp's CVS.
1523         Includes improved menu icon spacing, [+]/[-] expander drawing,
1524         status-bar gippie drawing, and notebook tab drawing.
1525         
1526 2005-11-24  Michael Natterer  <mitch@imendio.com>
1527
1528         * gtk/gtktoolbar.h (struct _GtkToolbar): changed two private guint
1529         that used to hold signal handler IDs to two guint of padding.
1530
1531         * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): added them as
1532         gulong here.
1533
1534         (gtk_toolbar_screen_changed): changed accordingly.
1535
1536 Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>
1537
1538         * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
1539         in terms of the GObject floating/sink API.
1540
1541         * gtk/gtkaboutdialog.c:
1542         * gtk/gtkaction.c:
1543         * gtk/gtkcellview.c:
1544         * gtk/gtkclist.c:
1545         * gtk/gtkcolorsel.c:
1546         * gtk/gtkcombobox.c:
1547         * gtk/gtkfilechooserdefault.c:
1548         * gtk/gtkiconview.c:
1549         * gtk/gtkinvisible.c:
1550         * gtk/gtkitemfactory.c:
1551         * gtk/gtklayout.c:
1552         * gtk/gtkmenu.c:
1553         * gtk/gtkmenutoolbutton.c:
1554         * gtk/gtknotebook.c:
1555         * gtk/gtkprogress.c:
1556         * gtk/gtkrange.c:
1557         * gtk/gtkspinbutton.c:
1558         * gtk/gtkstatusicon.c:
1559         * gtk/gtktext.c:
1560         * gtk/gtktextview.c:
1561         * gtk/gtktoolbar.c:
1562         * gtk/gtktoolbutton.c:
1563         * gtk/gtktoolitem.c:
1564         * gtk/gtktreeitem.c:
1565         * gtk/gtktreeview.c:
1566         * gtk/gtktreeviewcolumn.c:
1567         * gtk/gtkuimanager.c:
1568         * gtk/gtkviewport.c:
1569         * gtk/gtkwidget.c:
1570         * gtk/gtkwindow.c:
1571         ported to use GObject's g_object_ref_sink().
1572
1573         * gtk/gtkcolorsel.c:
1574         * gtk/gtkfilechooserdefault.c:
1575         * gtk/gtkaboutdialog.c:
1576         fixed compiler warnings.
1577
1578 2005-11-23  Matthias Clasen  <mclasen@redhat.com>
1579
1580         * gtk/gtksettings.c (gtk_settings_class_init): Add some docs
1581         about gtk-color-scheme.
1582
1583 2005-11-23  Behdad Esfahbod  <behdad@gnome.org>
1584
1585         * configure.in (enable_explicit_deps): Fix typo when checking
1586         libtool config deplibs_check_method. Moreover, enable explicit
1587         deps if we get anything other than pass_all from libtool. (part of
1588         #318750)
1589
1590 2005-11-23  Matthias Clasen  <mclasen@redhat.com>
1591
1592         * gtk/updateiconcache.c (write_csource): Don't create a big
1593         string, since Visual C++ doesn't like strings longer than 64k. 
1594         (#322238, Kazuki IWAMOTO
1595
1596         * gtk/gtkentry.c: Include gtkimcontextsimple.h  (#322235,
1597         Kazuki IWAMOTO)
1598
1599 2005-11-23  Michael Natterer  <mitch@imendio.com>
1600
1601         * gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
1602         windows on other screens (correctly remove all temporary
1603         references).
1604
1605 2005-11-23  Michael Natterer  <mitch@imendio.com>
1606
1607         Added symbolic themable colors. Patch is a merged version of
1608         proposals from Matthias and maemo-gtk. Fixes bug #114355.
1609
1610         * configure.in: require glib >= 2.9.1 for refcountable hashtables.
1611
1612         * gtk/gtksettings.c: added property "color-scheme" which is a
1613         string defining colors like "foreground:black\nbackground:grey".
1614         Automatically provide a name->GdkColor hash table mapping for the
1615         color scheme.
1616
1617         * gtk/gtkrc.[ch]: added list of color hashes that works like the
1618         list of icon factories. Append the color scheme hash from
1619         GtkSettings if it exists. Extended gtkrc syntax to allow defining
1620         and referencing of logical colors. Also allow to modulate colors
1621         in gtkrc by using arbitrary expressions of mix(), shade(),
1622         lighter() and darker(). Added internal function
1623         _gtk_rc_style_get_color_hashes().
1624
1625         * gtk/gtkstyle.[ch]: keep a private list of color hashes around.
1626         Get the list from _gtk_rc_style_get_color_hashes(). Export
1627         internal function _gtk_style_shade() (used by above color
1628         expressions). Added public API gtk_style_lookup_color() which
1629         looks up a logical color by name.
1630
1631         * gtk/gtk.symbols: add gtk_style_lookup_color
1632
1633         * tests/testgtkrc: use symbolic colors for making
1634         the scrollbars red.
1635
1636 2005-11-22  Michael Natterer  <mitch@imendio.com>
1637
1638         Made button-press timeouts which work like key repeat timeouts
1639         configurable. Addresses bug #142582:
1640
1641         * gtk/gtksettings.c: added properties "gtk-timeout-initial" and
1642         "gtk-timeout-repeat" which defalt to 200/20 (ms).
1643
1644         Use the values from GtkSettings instead of hardcoding them
1645         (the repeat value is either taken as-is for fast repeat or
1646         multiplied by 5 for slow repeat). Changed all places to use these
1647         two standard initial/repeat timings:
1648
1649         * gtk/gtkcalendar.c (unchanged 200/20)
1650         * gtk/gtknotebook.c (unchanged 200/100)
1651         * gtk/gtkpathbar.c (changed from 300/150 to 200/100)
1652         * gtk/gtkrange.c (changed from 250/100 to 200/100)
1653         * gtk/gtkspinbutton.c (unchanged 200/20)
1654
1655 2005-11-21  Anders Carlsson  <andersca@imendio.com>
1656
1657         * configure.in:
1658         * gtk/Makefile.am:
1659         * gdk/Makefile.am:
1660         * gdk/quartz/*:
1661         Add quartz backend.
1662         
1663         * docs/tools/Makefile.am:
1664         Only build docshooter when the X11 backend is used.
1665         
1666         * gtk/gtkplug-stub.c:
1667         Include gtkplug.h here.
1668         
1669         * gtk/gtksocket-stub.c:
1670         Include gtksocket.h here.
1671         
1672 2005-11-21  Matthias Clasen  <mclasen@redhat.com>
1673
1674         * gtk/gtkinputdialog.c: Convert GtkInputDialog to 
1675         g_type_class_add_private.
1676
1677         * gtk/gtksocket.c: Convert GtkSocket to g_type_class_add_private.
1678
1679         * gtk/gtkmenu.c: Convert GtkMenu to g_type_class_add_private.
1680
1681         * gtk/gtk.symbols:
1682         * gtk/gtkcombobox.[hc]: Add a tearoff-title property,
1683         with getter and setter.  (#316482, Olexiy Avramchenko)
1684
1685         * tests/testcombo.c (main): Test gtk_combo_box_set_title
1686
1687         * gtk/gtkpathbar.c: Merge remaining fixes from the 2.8 branch,
1688         pointed out by Michael Natterer.
1689
1690         Fix for bug #321542, Benedikt Meurer:
1691         
1692         * gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
1693         Emit notify::active.
1694         
1695         (gtk_combo_box_child_show, gtk_combo_box_child_hide): Use
1696         g_signal_emit, not g_signal_emit_by_name.
1697
1698 2005-11-18  Matthias Clasen  <mclasen@redhat.com>
1699
1700         Fix crashes in connection with pathbar scrolling (#321560,
1701         Bogdan Nicula)
1702         
1703         * gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons): 
1704         Stop scrolling when desensitising slider buttons.
1705         (gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press): 
1706         And use it here.  
1707
1708         * gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate
1709         scrolling_down flag.
1710
1711 2005-11-18  Matthias Clasen  <mclasen@redhat.com>
1712
1713         * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
1714         (#321777, Jens Granseuer)
1715
1716         * gtk/gtkaction.c (disconnect_proxy): Disconnect the
1717         sync callback for the visibility property.  (#321761,
1718         Philip Langdale)
1719
1720         Turn off input methods in invisible entries, since
1721         they are confusing.  (#317002, James Su)
1722         
1723         * gtk/gtkentry.c (gtk_entry_set_visibility): Toggle input
1724         methods if visibility changes.
1725         (popup_targets_received): Don't show the input method
1726         menu if the entry is invisible.  
1727
1728 2005-11-17  Matthias Clasen  <mclasen@redhat.com>
1729
1730         * README.in: Add a note about range arrow sensitivity.
1731
1732         * perf/treeview.c: const correctness fixes
1733         found by Arjan van de Ven and gcc.
1734
1735 2005-11-16  Michael Natterer  <mitch@imendio.com>
1736
1737         * gtk/gtkimage.c (animation_timeout): call
1738         gtk_window_process_updates() so the animation keeps running even
1739         if the main loop is busy with sources that eat a lot of cpu with
1740         high priority. Fixes bug #321444.
1741
1742         (gtk_image_new_from_animation): document the fact that the
1743         animation will stop running if the main loop is busy with sources
1744         that have priorities higher than G_PRIORITY_DEFAULT.
1745
1746         * tests/testimage.c: added test case that shows an animation even
1747         though a cpu-eating idle function is running.
1748
1749 2005-11-16  Michael Natterer  <mitch@imendio.com>
1750
1751         * gdk/x11/gdkevents-x11.c (_gdk_events_uninit): new internal
1752         function which destroys the display's event source. Also removes
1753         the source from the global display_sources list and unrefs it.
1754
1755         * gdk/x11/gdkprivate-x11.h: declare the function.
1756
1757         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): call it
1758         instead of half-destroying the source here.
1759
1760 2005-11-15  Matthias Clasen  <mclasen@redhat.com>
1761
1762         * gtk/gtktreestore.c (gtk_tree_store_move): Fix a memory
1763         leak.  (#321032, Peter Zelezny)
1764
1765 2005-11-15  Michael Natterer  <mitch@imendio.com>
1766
1767         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): destroy
1768         display->xid_ht as late as possible (right before XCloseDisplay)
1769         because it still needs to be around when the display's screens are
1770         finalized. (#85715)
1771
1772 2005-11-14  Matthias Clasen  <mclasen@redhat.com>
1773
1774         * gtk/gtkselection.c (gtk_selection_data_set_uris): Don't
1775         leak result.  (#321441, Tommi Komulainen)
1776
1777 2005-11-14  Matthias Clasen  <mclasen@redhat.com>
1778
1779         * gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes):
1780         Don't crash if there is no builtin icon.
1781
1782 2005-11-14  Michael Natterer  <mitch@imendio.com>
1783
1784         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_set_property):
1785         removed redundant calls to g_object_notify().
1786
1787 2005-11-13  Matthias Clasen  <mclasen@redhat.com>
1788
1789         * gdk/gdkcolor.c (gdk_color_parse): Documentation 
1790         improvements.  (#321338)
1791
1792         * gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
1793         limit an inclusive boundary.  (#321299)
1794
1795 2005-11-12  Michael Natterer  <mitch@imendio.com>
1796
1797         * gtk/Makefile.am: fixed icon rules so gtkbuiltincache.h is only
1798         rebuilt if needed.
1799
1800 2005-11-12  Dom Lachowicz <cinamod@hotmail.com>
1801
1802         * modules/engines/ms-windows/msw_style.c: Bug #313627. Make win32 
1803         theme's handling of toolbars, handleboxes, and menubars more in-line
1804         with Microsoft's IE style.
1805         * modules/engines/ms-windows/*.c: Indentation cleanups
1806         
1807 2005-11-12  Matthias Clasen  <mclasen@redhat.com>
1808
1809         Make builtin icons work in gtk_window_set_icon_name() 
1810         (#321046, Maxim Udushlivy)
1811
1812         * gtk/gtkicontheme.c (insert_theme): Always insert the default
1813         theme.
1814         (ensure_valid_themes): Call _gtk_icon_theme_ensure_builtin_cache()
1815         from here.
1816         (theme_lookup_icon, find_builtin_icon): ...and not from here.
1817         (gtk_icon_theme_lookup_icon): Remove an unncessary assert.
1818         (gtk_icon_theme_get_icon_sizes): Also check builtin icons.
1819
1820 2005-11-12  Tor Lillqvist  <tml@novell.com>
1821
1822         * gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide
1823         dotfiles, no such convention on Win32. Just hide files with the
1824         hidden attribute. (#314627)
1825
1826 2005-11-11  Federico Mena Quintero  <federico@ximian.com>
1827
1828         * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Do not
1829         check whether the path is a folder.  It is useful to bookmark
1830         files as well (e.g. todo.txt), and this will also help
1831         performance.
1832         (shortcuts_add_bookmark_from_path): Likewise.
1833         (shortcuts_activate_iter): Change folders or select files, as
1834         appropriate.
1835
1836 2005-11-11  Federico Mena Quintero  <federico@ximian.com>
1837
1838         * tests/autotestfilechooser.c (main): Use
1839         g_log_set_default_handler() instead of explicitly setting a
1840         handler for each domain.
1841
1842         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Only get
1843         the base path of the volume if it is mounted.
1844
1845 2005-11-11  Michael Natterer  <mitch@imendio.com>
1846
1847         Added per-stepper API for GtkRange's stepper sensitivity as
1848         discussed in bug #321056:
1849
1850         * gtk/gtkenums.h: added GtkSensitivityType which can be
1851         { AUTO, ON, OFF }.
1852
1853         * gtk/gtkrange.[ch]: added properties "lower-stepper-sensitivity"
1854         and "upper-stepper-sensitivity" and public getters/setters for
1855         them. Changed stepper drawing to honor the new properties.
1856
1857         * gtk/gtk.symbols: added the new symbols.
1858
1859 2005-11-10  Matthias Clasen  <mclasen@redhat.com>
1860
1861         * gtk/gtkcombobox.c: Add show-popup and hide-popup signals and
1862         emit them when the popup is shown or hidden.  (#162531, Tommi
1863         Komulainen)
1864
1865         * tests/testcombo.c: Add an example of popuplating a combobox
1866         on click.
1867
1868         * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column): Another
1869         erroneous semicolon.
1870
1871         * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): Remove an erroneous
1872         semicolon. 
1873
1874         Don't corrupt odd keymaps (#316638, Kean Johnston)
1875         
1876         * gdk/x11/gdkkeys-x11.c (set_symbol): Auxiliary function to
1877         handle frobbing keymaps with odd numbers of syms/code.
1878         
1879         * gdk/x11/gdkkeys-x11.c (update_keymaps): Use set_symbol() to 
1880         frob the keymap.
1881
1882         Improve navigation to parent folders.  (#318444, Andrei Yurkevich)
1883         
1884         * gtk/gtkpathbar.[hc]: Add a child_path argument to
1885         the path_clicked signal.
1886         * gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the
1887         child_path, if it is provided.
1888         * gtk/marshalers.list (path_bar_clicked): Add the necessary
1889         glue.
1890
1891         * gtk/gtkmenu.c: Fix some compiler warnings. (#321141,
1892         Kjartan Maraas)
1893         
1894         * gtk/gtk.symbols: 
1895         * gtk/gtktreeview.h: 
1896         * gtk/gtktreeview.c: Implement a getter for headers-clickable.
1897         (#163851, Richard Hult)
1898
1899 2005-11-10  Michael Natterer  <mitch@imendio.com>
1900
1901         Applied patch from maemo-gtk that addresses many issues wrt
1902         display migration and display closing (bug #85715).
1903
1904         * gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
1905         default display to NULL when it's closed. Instead set the most
1906         recently opened display as new default (if one exists).
1907
1908         * gdk/gdkpango.c (on_renderer_display_closed): fixed signature
1909         of this callback.
1910
1911         * gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
1912         exist before unrefing them.
1913
1914         * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
1915         is closed, allow destruction of the root window.
1916
1917         * gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
1918         dispose(), free stuff that was leaked before.
1919
1920         * gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
1921         the xsettings_client still exists before destroying it.
1922
1923         * gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
1924         X resources.
1925
1926         * gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
1927         dispose() implementation.
1928
1929         * gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
1930         dispose() and check if it still exists before unrefing it. Set
1931         their pointers to NULL/None *after* upchaining in dispose(),
1932         because X11 implementations of members of the parent class still
1933         need them for their own destruction.
1934
1935         * gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
1936         was g_error()ing when finalizing a visual.
1937
1938         * gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
1939         get_clipboard_widget() because it would create the widget if it
1940         doesn't exist. Use g_object_get_data() directly instead.
1941
1942         * gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
1943         of this callback.
1944
1945 2005-11-10  Simos Xenitellis  <simos@gnome.org>
1946
1947         * configure.in: Added Tatar (tt) to ALL_LINGUAS.
1948
1949 Wed Nov  9 16:29:42 2005  Tim Janik  <timj@imendio.com>
1950
1951         * gtk/gtkrange.c: patch from maemo-gtk that changes GtkRange
1952         to render its arrows insensitive when the adjustment is in
1953         its min or max position. this makes range arrow behaviour 
1954         consistent with spin button behaviour. (#321056)
1955
1956 2005-11-09  Tor Lillqvist  <tml@novell.com>
1957
1958         * gdk/gdkinternals.h
1959         * gdk/gdk.c (gdk_debug_keys[]): Add new GDK_DEBUG_DRAW flag to
1960         the GdkDebugFlag enum.
1961
1962         * gdk/win32/gdkdrawable-win32.c: Use DRAW to trigger GDK_NOTEs in
1963         this file instead of MISC. Now asking for MISC will give mainly
1964         window manipulation debugging output with the Win32 backend.
1965
1966 2005-11-09  Tor Lillqvist  <tml@novell.com>
1967
1968         * gdk/win32/gdkwindow-win32.c: Remove unnecessary includes.
1969
1970         (_gdk_win32_get_adjusted_client_rect): Remove this two-line
1971         function which was used only in one place.
1972
1973         (get_outer_rect): Use _gdk_win32_adjust_client_rect().
1974
1975         (gdk_window_set_geometry_hints): If we have identical minimum and
1976         maximum size hints, remove the resize and maximize
1977         decorations/functions. (#104514)
1978
1979         If we have a maximum size hint, remove the maximize
1980         decoration/function but ensure the resize decoration/function is
1981         available. Otherwise ensure both resize and maximize
1982         decorations/functions are there.
1983
1984         (set_or_clear_style_bits): Factored out common code from
1985         gdk_window_set_decorations() and gdk_window_set_functions(). 
1986
1987         Hack the window style setting once more: Only touch the window
1988         style bits corresponding to the GdkWMDecoration or GdkWMFunction
1989         parameter bitmasks. Hopefully this finally is the correct thing to
1990         do. We used to clear all other bits than those that were being
1991         set, or set all other bits than those that were being cleared.
1992
1993         Take into account that adding or removing decorations leaves the
1994         window's outer size unchanged, i.e., the client area's size and
1995         position change. This is apparently not what we want, so change
1996         also the window's (outer) position and size appropriately so that
1997         the client area's position and size stay constant.
1998
1999         gtk-demo's color selector dialog is now non-resizable like on X11
2000         (I tested with metacity in GNOME). Torn off menus are shrinkable
2001         vertically but have a maximum size, and are not maximizable or
2002         minimizable, like on X11.
2003
2004         (gdk_window_set_decorations, gdk_window_set_functions): Let
2005         set_or_clear_decorations() do most of the job.
2006
2007         * gdk/win32/gdkprivate-win32.h: Remove declaration of
2008         _gdk_win32_get_adjusted_client_rect().
2009
2010 2005-11-09  Tor Lillqvist  <tml@novell.com>
2011
2012         * gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32)
2013         * gdk/win32/gdkwindow-win32.c (gdk_window_impl_win32_init,
2014         gdk_window_get_type_hint, gdk_window_get_type_hint): Store the
2015         type hint. Implement gdk_window_get_type_hint() by just returning
2016         the hint stored.
2017
2018 2005-11-09  Tor Lillqvist  <tml@novell.com>
2019
2020         * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints):
2021         Remove code that has been permanently ifdeffed out for two years.
2022
2023 2005-11-08  Matthias Clasen  <mclasen@redhat.com>
2024
2025         * gdk/gdkgc.c (gdk_gc_finalize): Unref tile and stipple when
2026         finalizing a gc.  (#320789, Nickolay V. Shmyrev)
2027
2028         * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore
2029         icons if they would make the request large enough to cause
2030         Xlib to loose the connection.  (#320909, Claudio Saavedra)
2031
2032 2005-11-08  Michael Natterer  <mitch@imendio.com>
2033
2034         * gdk/gdk.symbols
2035         * gdk/gdkwindow.h
2036         * gdk/x11/gdkwindow-x11.c: added gdk_window_get_type_hint() (patch
2037         extracted from maemo-gtk). Fixes bug #320872.
2038
2039 2005-11-07  Matthias Clasen  <mclasen@redhat.com>
2040
2041         * gtk/gtkfilechooserdefault.c (shortcuts_reorder): Don't
2042         looks the bookmark label when reordering.  (#320720, Jeremy Cook)
2043
2044         * gtk/gtkpathbar.[hc]: Set focus-on-click to FALSE for all buttons.
2045         Don't grab focus when a slider button is pressed, instead, use
2046         a bit in the pathbar struct to determine whether to scroll up
2047         or down.  (#314486, Carlos Garnacho)
2048
2049         * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): 
2050         Don't popup the completions if the focus has already been
2051         moved somewhere else.  (#319914, Christian Persch)
2052
2053         * gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured): 
2054         Raise the drag_window after reconfiguring the 
2055         toolbar.  (#320803, Christian Persch)
2056
2057         * gtk/gtk.symbols: 
2058         * gtk/gtkfilechooserbutton.h: 
2059         * gtk/gtkfilechooserbutton.c: Add a focus-on-click property
2060         with setter and getter.  (#318945, Christian Persch)
2061         
2062 Mon Nov  7 16:15:16 2005  Tim Janik  <timj@imendio.com>
2063
2064         * configure.in: fixed missing $X_CFLAGS setup in case x11.pc is present.
2065
2066 2005-11-07  Matthias Clasen  <mclasen@redhat.com>
2067
2068         * configure.in: Adjust to the stock icon changes.
2069         
2070 2005-11-07  Tor Lillqvist  <tml@novell.com>
2071
2072         * gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_normal):
2073         Correct the calculation of maskstride. (#320152, Peter Zelezny)
2074         
2075 2005-11-06  Michael Natterer  <mitch@imendio.com>
2076
2077         * gtk/Makefile.am (icons): fixed rule to actually create the
2078         symlinks, erroring out if anything goes wrong.
2079
2080 2005-11-06  Tor Lillqvist  <tml@novell.com>
2081
2082         * gtk/updateiconcache.c (build_cache): Can't rename a file if the
2083         target exists on Win32. First rename the target temporarily, then
2084         if the renaming of the source to target fails, restore the
2085         original name for the target.
2086
2087         * gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache.
2088
2089 2005-11-06  Tor Lillqvist  <tml@novell.com>
2090
2091         (pixbuf_to_hbitmaps_alpha_winxp): Use an 1-bit mask bitmap,
2092         like pixbuf_to_hbitmaps_normal().
2093         (_gdk_win32_pixbuf_to_hicon_supports_alpha): Check
2094         G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x by
2095         setting the G_WIN32_PRETEND_WIN9X environment variable.
2096         
2097 2005-11-06  Tor Lillqvist  <tml@novell.com>
2098
2099         Make icon masks work on Win98 (#320152, Peter Zelezny)
2100
2101         * gdk/win32/gdkcursor-win32.c (create_color_bitmap): Take also a
2102         parameter for the depth of the bitmap, so that this function can
2103         be used to create 1-bit bitmaps, too.
2104         (pixbuf_to_hbitmaps_normal): Create an 1-bit bitmap for the mask,
2105         and initialize it properly.
2106
2107 2005-11-04  Matthias Clasen  <mclasen@redhat.com>
2108
2109         Store builtin stock icons in an icon cache, instead of
2110         populating a hash table with pixbufs at startup, to save both
2111         memory and startup time.
2112
2113         * gtk/stock-icons/*: Reorganize the icons in a directory structure
2114         suitable for gtk-update-icon-cache, and rename them to match the
2115         stock ids.
2116
2117         * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and
2118         add _gtk_icon_cache_has_icon_in_directory().
2119
2120         * gtk/updateiconcache.c: Support a --source <VARIABLE> argument
2121         to store the contents of the icon cache in a C header.
2122
2123         * gtk/gtkbuiltincache.h: Generated private header which contains 
2124         the icon cache for the builtin icons.
2125
2126         * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin
2127         icons, and use that in addition to the hash table whenever
2128         builtin icons are searched.
2129
2130         * gtk/gtkiconfactory.c: Add GTK_ICON_SOURCE_STATIC_ICON_NAME and
2131         use it for static stock ids. 
2132         (get_default_icons): Don't add the builtin
2133         icons to the icon theme, just register the stock ids.
2134         (render_fallback_image): Take the fallback image out of the
2135         builtin icon cache.
2136         
2137         * gtk/Makefile.am: Remove stock-icons from SUBDIRS and add 
2138         the necessary machinery to rebuild gtkbuiltincache.h.
2139
2140 2005-11-04  Michael Natterer  <mitch@imendio.com>
2141
2142         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch
2143         from maemo-gtk that changes the mtime check for rc files from
2144         '>' to '!=', otherwise theme changes go unnoticed when turning
2145         back the clock (Tommi Komulainen).
2146
2147 2005-11-04  Tor Lillqvist  <tml@novell.com>
2148
2149         * gtk/gtkstatusicon.c (gtk_status_icon_set_tooltip): Plug memory
2150         leak on Win32.
2151
2152 2005-11-03  Tor Lillqvist  <tml@novell.com>
2153
2154         * gdk/win32/gdkcursor-win32.c: As there is only one GdkDisplay in
2155         the Win32 backend, check that GdkDisplay* parameters are equal to
2156         _gdk_display instead of using the unnecessarily general
2157         GDK_IS_DISPLAY().
2158
2159         (pixbuf_to_hbitmaps_alpha_winxp): Rename the variables for the
2160         color bitmap to have "color" in their name, for similarity with
2161         pixbuf_to_hbitmaps_normal(). Create a color bitmap for the mask,
2162         too, instead of creating a b&w bitmap with CreateBitmap(). Set up
2163         the mask bitmap's contents, ones for those pixels in the color
2164         bitmap where the alpha is zero, zero for other pixels. We used to
2165         use an uninitialized mask bitmap! This meant that icons and
2166         cursors created presumably worked more or less by accident.
2167         Totally blank icons with zero alpha everywhere (as used by
2168         gtktrayicon.c) definitely did not work as expected.
2169
2170         * gtk/Makefile.am: Include gtkstatusicon.c on all platforms.
2171
2172         * gtk/gtkstatusicon.c: Implement for Win32. Use code from
2173         gtktrayicon-win32.c as applicable. (gtktrayicon-win32.c is not
2174         necessary and can be removed from CVS. It has never been mentioned
2175         in gtk/Makefile.am.) No tray icon widget, GtkImage or GtkTooltips
2176         are used on Win32. One label widget is used (but never shown) as
2177         gtk_widget_render_icon() needs a widget.
2178
2179         Ifdefs used as necessary in several places. It might be cleaner to
2180         split out the backend-specific parts to separate files, or at
2181         least collect them into separate blocks in the file.
2182
2183         (wndproc): New function. Window procedure to monitor mouse events
2184         in the system tray icon. Call gtk_status_icon_button_press() as
2185         needed.
2186         (create_tray_observer): New function. Creates a hidden window that
2187         only serves as a tray icon message observer.
2188
2189         * tests/teststatusicon.c (icon_activated): Position the dialog
2190         with GTK_WIN_POS_CENTER.
2191         (do_quit): New function, hide and unref the GtkStatusIcon, and
2192         call gtk_main_quit().
2193         (popup_menu): Add a Quit menu item that calls do_quit().
2194         
2195 2005-11-02  Tor Lillqvist  <tml@novell.com>
2196
2197         * gdk/win32/gdkcolor-win32.c
2198         * gdk/win32/gdkscreen-win32.c
2199         * gdk/win32/gdkwindow-win32.c: Whitespace consistency
2200         fixes. Remove superfluous test for GdkWindow* parameters being
2201         non-NULL. Testing GDK_IS_WINDOW() is enough. As there is only one
2202         GdkScreen and one GdkDisplay in the Win32 backend, use those
2203         variables instead of the getter functions. For GdkDisplay* and
2204         GdkScreen* parameters, check that they are equal to the
2205         corresponding singleton variables instead of the more general
2206         GDK_IS_DISPLAY() or GDK_IS_SCREEN().
2207
2208 2005-11-02  Matthias Clasen  <mclasen@redhat.com>
2209
2210         * gtk/gtktextview.c: Remove some g_return_if_fail() from
2211         static functions, replace some others by g_assert().
2212         
2213         * gtk/gtktextview.c (selection_motion_event_handler) 
2214         (gtk_text_view_start_selection_drag): Keep track of the original
2215         selection boundaries during a drag selection, in order to correctly
2216         decide when to extend or shrink the selection.  (#320167,
2217         reported by Arvind S N, patch by Paolo Borelli)
2218
2219         * gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets): 
2220         * gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace
2221         manual offset calculations by g_utf8_offset_to_pointer().
2222         (#320360, Paolo Borelli)
2223
2224 Tue Nov  1 16:18:24 2005  Tim Janik  <timj@imendio.com>
2225
2226         * gtk/gtkrbtree.[hc]: get rid of GAllocator usage, allocate and free 
2227         nodes via the g_slice_*() API.
2228         _gtk_rbtree_new(): fixed wrong node allocation via g_new().
2229
2230 2005-11-01  Tor Lillqvist  <tml@novell.com>
2231
2232         * gdk/win32/gdkprivate-win32.h
2233         * gdk/win32/gdkglobals-win32.c
2234         * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more
2235         pre-interned GdkAtoms and pre-registered clipboard formats. Sort
2236         their declarations, definitions and assignments into a more
2237         logical and consistent order.
2238
2239         * gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the
2240         CF_ prefix for the predefined clipboard format names. Put quotes
2241         around registered format names to distinguish them.
2242         
2243         * gdk/win32/gdkproperty-win32.c (gdk_property_change): Return
2244         immediately with a warning if the property type is STRING, TEXT,
2245         COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we
2246         should never pretend to handle on Win32. Handle only UTF8_STRING
2247         here, other formats with delayed rendering. Use \uc1 instead of
2248         \uc0 when generating Rich Text Format for easier testability on
2249         XP, where WordPad misinterprets \uc0 encoded characters. Add more
2250         GDK_NOTE debugging output for Clipboard operations.
2251
2252         * gdk/win32/gdkselection-win32.c: Debugging printout improvements.
2253         (gdk_selection_convert): Don't pretent to handle STRING, just
2254         UTF8_STRING. Streamline error handling, don't unnecessarily have a
2255         GError which then isn't used for anything anyway if it gets set.
2256         (gdk_win32_selection_add_targets): Skip also STRING, TEXT,
2257         COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING.
2258
2259         * config.h.win32.in: Sync with what configure produces.
2260
2261         * configure.in: Don't look for X_PACKAGES unless building for
2262         x11. (#313986, John Ehresman)
2263
2264 2005-10-28  Erdal Ronahi  <erdal.ronahi@gmail.com>
2265
2266         * configure.in: Added ku (Kurdish) to ALL_LINGUAS
2267                         Wondered why there was no ku there before??
2268
2269 2005-10-28  Matthias Clasen  <mclasen@redhat.com>
2270
2271         * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
2272         window to the toplevels window group.  (#319912, Christian Persch)
2273
2274 2005-10-28  Kristian Rietveld  <kris@gtk.org>
2275
2276         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix
2277         stupid thinko.
2278
2279 2005-10-28  Matthias Clasen  <mclasen@redhat.com>
2280
2281         * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default
2282         drag cursors.  (#319200, Federico Mena Quintero)
2283
2284         * gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): Handle
2285         Shift-G to go to the previous match, like firefox.  (#320061, Christian 
2286         Neumair)
2287
2288         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a
2289         C99ism.  (#320000, Kazuki Iwamoto)
2290
2291         * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little 
2292         stars.  (#319985, Bastien Nocera)
2293
2294         * gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
2295         FALSE, so we don't flush repeatedly.  (#319151, Alexander Larsson)
2296
2297 2005-10-26  Michael Natterer  <mitch@imendio.com>
2298
2299         Fix bug #319974:
2300
2301         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
2302         make sure that setting any of pixbuf/stock-id/icon-name resets the
2303         others because they are mutually exclusive, and that unsetting any
2304         of them only resets the pixbuf and nothing else. Also added
2305         some missing g_object_notify().
2306
2307         (gtk_cell_renderer_pixbuf_get_property): simplified calls to
2308         g_value_set_object().
2309
2310         (gtk_cell_renderer_pixbuf_create_stock_pixbuf)
2311         (gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added
2312         g_object_notify ("pixbuf").
2313
2314 2005-10-27  Matthias Clasen  <mclasen@redhat.com>
2315
2316         * gtk/gtktreeview.c (gtk_tree_view_button_press): Be more 
2317         careful about initializing cell_area.  (#319382, Tommi
2318         Komulainen)
2319
2320         * gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat
2321         Ctrl-PageUp/PageDown.  (#318670, Christian Neumair)
2322
2323         * demos/gtk-demo/clipboard.c (paste_received): Only set the
2324         text if it is not NULL.  (#319930, Thomas Klausner)
2325
2326         * gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the
2327         loader before trying to get the pixbuf.  (#319930, Thomas Klausner)
2328
2329 2005-10-26  Matthias Clasen  <mclasen@redhat.com>
2330
2331         * gtk/gtkfilesystem.c (gtk_file_system_module_load): 
2332         * gtk/gtkthemes.c (gtk_theme_engine_load): 
2333         * gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
2334         when dlopening modules.  (#319557, Laszlo Peter)
2335
2336 2005-10-26  Matthias Clasen  <mclasen@redhat.com>
2337
2338         * gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text
2339         segments when determining text direction.  (#319065, Tommi Komulainen)
2340
2341         * gtk/gtktreeview.c (gtk_tree_view_destroy): Don't crash
2342         on duplicate destroy.  (#318953, Gustavo Carneiro)
2343
2344         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog): 
2345         Point out that destroy-with-parent is a bad idea for the dialog
2346         passed to this function.  (#318943, Christian Persch)
2347
2348         * */Makefile.am: use $(GLIB_MKENUMS) instead of 
2349         glib-mkenums.  (#318582, Damien Carbery)
2350
2351         * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Clarify
2352         docs.  (#317682, Christian Neumair)
2353
2354         * gdk/x11/gdkdnd-x11.c: Remove an extra const which doesn't
2355         seem to affect the placement of the data in the readonly 
2356         section, and causes problems with some compilers.  (#317844)
2357
2358 2005-10-25  Matthias Clasen  <mclasen@redhat.com>
2359
2360         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
2361         Fix some issues with background drawing in RTL.  (#318781,
2362         Eric Cazeaux)
2363
2364         * tests/Makefile.am:
2365         * tests/testentrycompletion.c: Apply a patch by Christian
2366         Persch to add property editors.
2367
2368         * gtk/gtkstatusicon.c: Emit activate on single-click,
2369         not on double-click, change proposed by Milosz Derezynski.
2370
2371 2005-10-25  Kristian Rietveld  <kris@gtk.org>
2372
2373         Fixes #311955, reported by Markku Vire; and a lot more.
2374
2375         * gtk/gtktreemodelfilter.c: Made this thing work correctly.
2376         Levels can now have invisible nodes cached, functions have been
2377         rewritten/refactored to take this into account; also the logic in
2378         some functions has been corrected.
2379         
2380         Each referenced node now references all visible children or a single
2381         invisible child, in order to be able to monitor all changes in the
2382         child model required for correct operation.
2383
2384         When a virtual root is set, all nodes on the virtual root level are
2385         referenced.
2386
2387         At last, a bunch of random bug fixes and comment updates.
2388
2389 2005-10-25  Matthias Clasen  <mclasen@redhat.com>
2390
2391         * gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some
2392         more docs.  (#319722, Paolo Borelli)
2393
2394         * gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the 
2395         initialization of screen_x11->xft_rgba more explicit.  (#319627,
2396         Bogdan Nicula)
2397
2398         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Fix whitespace
2399         in a blurb.  (#319499, Francisco Javier F. Serrador)
2400
2401 2005-10-24  Matthias Clasen  <mclasen@redhat.com>
2402
2403         Add settings to hide the input method and Unicode control character
2404         submenus in the context menus of GtkEntry and GtkTextView.  
2405         
2406         * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings.
2407         
2408         * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here.
2409
2410         * gtk/gtktextview.c (popup_targets_received): 
2411         * gtk/gtkentry.c (popup_targets_received): Use the settings here.
2412
2413 2005-10-24  Kristian Rietveld  <kris@gtk.org>
2414
2415         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting
2416         row-has-child-toggled when the level is not in the cache does not
2417         make sense.  (This bug probably crept in during the early stages
2418         of GtkTreeModelSort when there wasn't a correct row-has-child-toggled
2419         implementation yet),
2420         (gtk_tree_model_sort_real_unref_node): only get the child iter
2421         when we will actually also use it.
2422
2423 2005-10-22  Michael Natterer  <mitch@imendio.com>
2424
2425         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the
2426         widget being realized, in addition to being visible, to avoid
2427         running into precondition check in gtk_tree_view_get_cell_area().
2428         (approved by Kris).
2429
2430 2005-10-22  Dom Lachowicz <cinamod@hotmail.com>
2431
2432         * modules/engines/ms-windows/msw_style.c (setup_msw_rc_style): 
2433         Experimentally, scrollbar steppers can shrink to 8 pixels on 
2434         Win32. Reflect that in the theme.
2435         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally,
2436         there is a 1-pixel border between a scrollbar and its child
2437         in ScrolledWindows on Win32. Reflect that in the theme.
2438         
2439 2005-10-20  Matthias Clasen  <mclasen@redhat.com>
2440
2441         * gtk/gtklabel.c (gtk_label_create_window): Use GDK_WINDOW_CHILD
2442         for the selection window.  (#318806, Alex Larsson)
2443
2444 2005-10-18  Federico Mena Quintero  <federico@ximian.com>
2445
2446         Fixes bug #317999:
2447
2448         * tests/autotestfilechooser.c
2449         (test_button_folder_states_for_action): Test that we have either
2450         $cwd or the explicitly-set folder.
2451         (test_reload_sequence): Likewise.
2452
2453         * gtk/gtkfilechooserdefault.c
2454         (gtk_file_chooser_default_get_current_folder): If our reload_state
2455         is RELOAD_EMPTY, return a GtkFilePath corresponding to $cwd.
2456
2457 2005-10-14  Tor Lillqvist  <tml@novell.com>
2458
2459         * gdk/win32/gdkdisplay-win32.c: Remove the clipboard viewer code.
2460         It didn't really do anything useful, and was just confusing and
2461         incomplete. Comments claimed we don't do delayed rendering, but in
2462         fact we do, for images. (The delayed rendering code has other
2463         problems, though, see #168173.) The clipboard viewer code was
2464         probably even buggy (the WM_CHANGECBCHAIN handled didn't propagate
2465         the message when necessary). It was just test code, it said so in
2466         a comment. Add something similar back later if necessary.
2467
2468         (_win32_on_clipboard_change,
2469         _gdk_win32_register_clipboard_notification): Remove.
2470
2471         (gdk_display_supports_selection_notification,
2472         gdk_display_request_selection_notification): Always just return
2473         FALSE. We didn't generate any GDK_OWNER_CHANGE events anywhere.
2474
2475 2005-10-13  Tor Lillqvist  <tml@novell.com>
2476
2477         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat
2478         Alt-Enter specially. It does not have any special meaning and
2479         should be passed on to the application. (#318378, Tim Evans)
2480
2481 2005-10-13  Tor Lillqvist  <tml@novell.com>
2482
2483         Set visual depth to 24 for 32 bits-per-pixel devices on
2484         Win32. This allows gdk_drawable_real_draw_pixbuf() to use the
2485         optimized composite_0888() function rather than the slower image
2486         dithering functions to draw pixbufs (#313993, John Ehresman)
2487
2488         * gdk/win32/gdkimage-win32.c (_gdk_win32_new_image): Use
2489         _gdk_windowing_get_bits_for_depth() to initialize
2490         GdkImage::bits_per_pixel.
2491         (_gdk_windowing_get_bits_for_depth): Return 32 bits for depth 24.
2492
2493         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use
2494         _gdk_windowing_get_bits_for_depth() to initialize
2495         BITMAPINFOHEADER::biBitCount.
2496
2497         * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Set
2498         GdkVisual::depth to 24 even if GetDeviceCaps(BITSPIXEL) returns
2499         32.
2500
2501 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2502
2503         * demos/gtk-demo/appwindow.c: (about_cb):
2504           use PACKAGE_VERSION,bump year (#318654)
2505
2506 2005-10-11  Matthias Clasen  <mclasen@redhat.com>
2507
2508         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off 
2509         toggle here with the matching on toggle if it immediately follows. 
2510         This is a common case, and handling it here prevents quadratic blowup 
2511         in cleanup_line() below.  (#317125)
2512
2513         * gtk/gtktextsegment.h: 
2514         * gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass
2515         the character counts into this function instead of computing them
2516         again.
2517
2518 2005-10-10  Tommi Komulainen  <tommi.komulainen@iki.fi>
2519
2520         * gtk/gtkfilechooser.h (GtkFileChooserError): Add ALREADY_EXISTS error
2521         code.
2522         * gtk/gtkfilechooserdefault.c
2523         (gtk_file_chooser_default_add_shortcut_folder): Return an error code
2524         when the shortcut already exists in the sidebar.  (#147521)
2525
2526 2005-10-09  Matthias Clasen  <mclasen@redhat.com>
2527
2528         * tests/testcombo.c: Demonstrate how to use custom widgets in
2529         a GtkComboBox.  
2530
2531 2005-10-07  Federico Mena Quintero  <federico@ximian.com>
2532
2533         Fixes bug #317999:
2534
2535         * tests/autotestfilechooser.c (test_reload_sequence): Ensure that
2536         the the result of gtk_file_chooser_get_folder() is NULL or
2537         non-NULL at the right times.  Log the tests.
2538         (test_button_folder_states): New test for the initial states of
2539         the current folder in GtkFileChooserButton.
2540         (main): Test that the number of warnings/errors/critical errors is
2541         zero.
2542
2543         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder):
2544         Clarify the documentation on when this can return NULL.
2545         (gtk_file_chooser_get_current_folder_uri): Likewise.
2546
2547         * gtk/gtkfilechooserbutton.c (struct
2548         _GtkFileChooserButtonPrivate): Added a folder_has_been_set flag;
2549         we use it to keep track of whether a folder has been set.
2550         (gtk_file_chooser_button_map):  Implement.  If no folder has been
2551         loaded before, we at least try to load $cwd here.
2552         (gtk_file_chooser_button_constructor): If the construct-time
2553         dialog already has a folder set, turn on our folder_has_been_set
2554         flag.
2555         (dialog_current_folder_changed_cb): Turn on our
2556         folder_has_been_set flag.
2557
2558 2005-10-07  Michael Natterer  <mitch@gimp.org>
2559
2560         * gtk/gtkfilechooserdefault.c: remove some explicit #defines of
2561         PROFILE_FILE_CHOOSER because they break compilation after the
2562         removal of <unistd.h>.
2563
2564 2005-10-07   Matthias Clasen  <mclasen@redhat.com>
2565
2566         * gtk/gtkfilechooserdefault.c: Properly fix the unistd.h include
2567         by moving it out of the profiling ifdef.
2568
2569         * gtk/gtkfilechooserdefault.c: Remove a redundant (and
2570         unconditional) include of unistd.h  (#318211, Kazuki Iwamoto)
2571
2572         * gtk/gtktexttag.c (gtk_text_attributes_ref): Use
2573         g_return_val_if_fail(), not g_return_if_fail().  (#318412,
2574         Kazuki Iwamoto)
2575
2576 2005-10-06  Matthias Clasen  <mclasen@redhat.com> 
2577                 
2578         * gtk/gtk.symbols:
2579         * gtk/gtktextbuffer.h:
2580         * gtk/gtktextbuffer.c: Add a readonly has-selection property
2581         with a getter.  (#318161, Paolo Borelli)
2582
2583 2005-10-05  Matthias Clasen  <mclasen@redhat.com>
2584
2585         * README.in: Start collecting release notes for 2.10.
2586
2587         * gtk/gtkrc.c (gtk_rc_clear_realized_style): Readd the memory
2588         leak fix, since the assertion failures were traced to 
2589         an xchat bug.  (#314696)
2590         
2591         * gtk/gtkstyle.c (gtk_style_detach):
2592         (gtk_style_attach):  Documentation improvements.
2593         (gtk_style_detach): Assert that the attach_count is > 0.
2594
2595 2005-10-04  Federico Mena Quintero  <federico@ximian.com>
2596
2597         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Take a
2598         shortcut position, not a ShortcutsIndex, to make the function more
2599         generic.
2600         (home_folder_handler): Pass the resolved index to
2601         switch_to_shortcut(), rather than just SHORTCUTS_HOME.
2602         (desktop_folder_handler): Likewise for SHORTCUTS_DESKTOP.
2603         (gtk_file_chooser_default_class_init): Add a "quick-bookmark"
2604         binding signal, and bind it to Alt-1, Alt-2. ..., Alt-0.  These
2605         make the respective key switch to the first, second, ..., tenth
2606         bookmark.
2607         (quick_bookmark_handler): Implement.
2608
2609 2005-10-04  Federico Mena Quintero  <federico@ximian.com>
2610
2611         * gtk/gtkpathbar.c (get_dir_name): Don't special-case Home and
2612         Desktop; just use their real names on the file system for the
2613         user-visible names.
2614
2615         * gtk/gtkfilechooserdefault.c
2616         (gtk_file_chooser_default_class_init): Add a "desktop-folder"
2617         binding signal, and bind it to M-d by default.
2618         (desktop_folder_handler): Implement the default handler.
2619         (home_folder_handler): Use a helper function.
2620         (switch_to_shortcut): New helper function.
2621         (shortcuts_append_home): Don't special-case the name of "Home";
2622         just use the folder name.
2623
2624 2005-10-04  Tor Lillqvist  <tml@novell.com>
2625
2626         * gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without
2627         HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)
2628
2629 2005-10-04  Matthias Clasen  <mclasen@redhat.com>
2630
2631         * gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change
2632         from yesterday, since it leads to assertion failures.  (#317879,
2633         Sebastian Bacher)
2634
2635 2005-10-03  Matthias Clasen  <mclasen@redhat.com>
2636
2637         * gtk/gtkcalendar.c (gtk_calendar_init): Call 
2638         calendar_compute_days() after setting priv->week_start.
2639
2640 2005-10-03  Matthias Clasen  <mclasen@redhat.com>
2641
2642         * gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when
2643         removing it from the hash table.  (#314696, Benjamin Berg)
2644
2645 2005-10-01  Tor Lillqvist  <tml@novell.com>
2646
2647         * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case
2648         BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause
2649         is that the the desktop isn't visible because the session has been
2650         switched, the screen is locked, or a terminal server session
2651         disconnected, so no error message necessary. (#137796)
2652
2653         It is of course remotely possible that BitBlt() failing with
2654         ERROR_INVALID_HANDLE might also be caused by some other
2655         problem. We could strive for perfection and track whether the
2656         desktop is visible by using WTSRegisterSessionNotification() and
2657         handling WM_WTSESSION_CHANGE. I think that's overdoing it just for
2658         this issue, though. If we would track desktop visibility, we
2659         should then avoid even trying to update the display at all while
2660         the desktop isn't visible.
2661
2662 2005-09-30  Matthias Clasen  <mclasen@redhat.com>
2663
2664         * gtk/gtkcalendar.c (gtk_calendar_init): Another attempt
2665         to correct the calculations for the first week day. We may
2666         just have to remove this code if too many locales turn out 
2667         to have broken data. 
2668
2669         * gtk/gtkimage.c (gtk_image_expose): Don't leak pixbuf in
2670         some cases.  (#317611, Tommi Komulainen)
2671
2672         * gtk/gtksocket-x11.c (_gtk_socket_windowing_size_request):
2673         Prevent overflow when storing size hints in an unsigned
2674         short variable. Tracked down by Ray Strode and Søren Sandmann.
2675
2676 2005-09-29  Matthias Clasen  <mclasen@redhat.com>
2677
2678         * gtk/gtkbutton.c (gtk_button_set_image): Check arguments.  (#317491,
2679         Paolo Borelli)
2680
2681         * gtk/gtkpaned.c (gtk_paned_grab_notify): Stop drags when being
2682         grab shadowed.  (#317332)
2683
2684 2005-09-29  Tor Lillqvist  <tml@novell.com>
2685
2686         * gtk-zip.sh.in: DLLs are always in bin nowadays, no need to test.
2687
2688 2005-09-28  Federico Mena Quintero  <federico@ximian.com>
2689
2690         * tests/autotestfilechooser.c (test_reload_sequence): Oops, return
2691         if the unmap test fails.
2692         (test_reload_sequence): Use gtk_widget_show_now() instead of
2693         gtk_widget_show() for the dialog.
2694         Thanks to Tim Janik for noticing these.
2695
2696 2005-09-28  Federico Mena Quintero  <federico@ximian.com>
2697
2698         * tests/testcellrenderertext.c: New file with a set of tests for
2699         GtkCellRendererText.  The idea is to run a text renderer through
2700         most of its interesting property values to see that it works
2701         correctly.
2702
2703         * tests/Makefile.am: Added testcellrenderertext.
2704
2705         * gtk/gtkfilechooserdefault.c (load_set_model): Mark the
2706         entry/exit of this function for profiling.
2707         (gtk_file_chooser_default_style_set): Mark the start/end of the
2708         calls to the parent class and the the signal emission for profiling.
2709
2710 2005-09-29  Tor Lillqvist  <tml@novell.com>
2711
2712         * gtk/gtkmain.c (_gtk_get_localedir): The locale directory is
2713         passed to bindtextdomain() which isn't UTF-8-aware, so convert to
2714         system codepage using g_win32_locale_filename_from_utf8().
2715         (#317457, Kazuki Iwamoto)
2716
2717 2005-09-28  Matthias Clasen  <mclasen@redhat.com>
2718
2719         * gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms 
2720         here. (#317039, Paolo Borelli)
2721
2722         * gtk/gtktexttag.h: 
2723         * gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
2724         to make this function work as boxed copy function.  (#317455,
2725         Gustavo Carneiro)
2726
2727         * gtk/gtkclipboard.c (request_image_received_func): Don't unref
2728         NULL.  (#316828, Tor Lillqvist)
2729
2730 2005-09-28  Tor Lillqvist  <tml@novell.com>
2731
2732         * modules/input/imime.c: Include <config.h>. (#317444, Kazuki
2733         Iwamoto)
2734
2735 2005-09-27  Federico Mena Quintero  <federico@ximian.com>
2736
2737         Don't reload the current folder unnecessarily on ::map().
2738
2739         * gtk/gtkfilechooserprivate.h (ReloadState): New enum to represent
2740         the reloading state.
2741         (struct _GtkFileChooserDefault): Added a "reload_state" field.
2742
2743         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
2744         Initialize impl->reload_state.
2745         (gtk_file_chooser_default_map): Check the impl->reload_state; load
2746         a default folder if no folder has been set, or reload the current
2747         one only if we had been unmapped first.
2748         (gtk_file_chooser_default_update_current_folder): Set the
2749         reload_state to RELOAD_HAS_FOLDER.
2750         (gtk_file_chooser_default_unmap): Implement, and set the
2751         reload_state to RELOAD_WAS_UNMAPPED.
2752         (shortcuts_model_create): Don't call shortcuts_add_bookmarks()
2753         here; they'll get (re)loaded on ::map() anyway.
2754
2755         * gtk/gtkfilechooserwidget.c
2756         (gtk_file_chooser_widget_constructor): Don't set a default folder here.
2757
2758         * tests/autotestfilechooser.c (test_action_widgets): Don't take in
2759         a dialog; build it ourselves.
2760         (test_reload): New test to ensure that we don't load the default
2761         folder more than once, and that we reload it when
2762         unmapping/remapping.
2763         (get_impl_from_dialog): New utility function.
2764         (test_widgets_for_current_action): Use get_impl_from_dialog().
2765
2766 2005-09-27  Federico Mena Quintero  <federico@ximian.com>
2767
2768         * gtk/gtkfilechooserdefault.c
2769         (gtk_file_chooser_default_constructor): Mark the entry/exit of
2770         this function for profiling.
2771         (check_icon_theme): Likewise.
2772         (change_icon_theme): Likewise.
2773         (settings_notify_cb): Likewise.
2774         (gtk_file_chooser_default_screen_changed): Likewise.
2775         (update_chooser_entry): If the selection is empty, clear the file
2776         name entry only if we are in CREATE_FOLDER mode.  In SAVE mode,
2777         nothing will be selected when the user starts typeahead in the
2778         treeview, and we don't want to clear the file name entry in that
2779         case --- the user could be typing-ahead to look for a folder name.
2780         Fixes bug #308332, patch by Jürg Billeter.
2781
2782 2005-09-27  Matthias Clasen  <mclasen@redhat.com>
2783
2784         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
2785         Pop below the entry if there's more free space below the entry
2786         than above.  (#316948, Tommi Komulainen)
2787
2788 2005-09-26  Federico Mena Quintero  <federico@ximian.com>
2789
2790         Do not create the save mode-specific widgets in the open modes, so
2791         that we don't carry their baggage around.
2792
2793         * gtk/gtkfilechooserdefault.c
2794         (gtk_file_chooser_default_constructor): Don't create the
2795         save_widgets here.
2796         (save_widgets_create): Set the impl->save_widgets directly here,
2797         instead of passing the widgets back to the caller.  Also, pack
2798         them into the impl's box.
2799         (update_appearance): Create or destroy the save widgets as
2800         appropriate.  Set the action of the save_file_name_entry here.
2801         (shortcuts_add_current_folder): Set the active item in the
2802         save_folder_combo only if it exists.
2803         (gtk_file_chooser_default_set_property): Don't set the action of
2804         the save_file_name_entry here.
2805         (gtk_file_chooser_default_update_current_folder): Set the base
2806         folder of the save_file_name_entry only if the entry exists.
2807         (shortcuts_drag_data_received_cb): Cast the selection_data->data
2808         to (const char *) since that's what shortcuts_drop_uris() expects.
2809         (file_list_drag_data_received_cb): Likewise, for
2810         g_uri_list_extract_uris().
2811
2812 2005-09-26  Tor Lillqvist  <tml@novell.com>
2813
2814         * gdk/win32/gdkwindow-win32.c (gdk_window_shape_combine_mask): Set
2815         the shaped flag here, too. (#316871)
2816         (gdk_window_shape_combine_region): Currently unimplemented, so
2817         don't do anything to the shaped flag here.
2818
2819 2005-09-26  Matthias Clasen  <mclasen@redhat.com>
2820
2821         Fix #316871, reported by Dan Winship:
2822         
2823         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag.
2824
2825         * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask) 
2826         (gdk_window_shape_combine_region): Set it here.
2827
2828         * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
2829         remove the child area for shaped windows.
2830
2831 2005-09-23  Matthias Clasen  <mclasen@redhat.com>
2832
2833         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
2834         Don't leak expander pixbufs.  (#316946, Tommi Komulainen)
2835
2836 2005-09-22  Michael Natterer  <mitch@imendio.com>
2837
2838         Renamed GtkCellRendererKeys to GtkCellRendererAccel to be
2839         consistent with GTK+ terminology:
2840
2841         * gtk/gtkcellrendererkeys.[ch]
2842         * tests/testkeys.c: removed...
2843
2844         * gtk/gtkcellrendereraccel.[ch]
2845         * tests/testaccel.c: ...and added.
2846
2847         * gtk/Makefile.am
2848         * gtk/gtk.h
2849         * gtk/gtk.symbols
2850         * tests/Makefile.am: changed accordingly.
2851
2852 2005-09-22  Matthias Clasen  <mclasen@redhat.com>
2853
2854         * gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation
2855         for the grab-broken-event signal, noticed by Damon Chaplin.
2856
2857 2005-09-21  Tor Lillqvist  <tml@novell.com>
2858
2859         * gdk/win32/gdkselection-win32.c (gdk_selection_convert,
2860         gdk_text_property_to_text_list_for_display,
2861         gdk_text_property_to_utf8_list_for_display,
2862         gdk_win32_selection_add_targets,
2863         _gdk_win32_selection_convert_to_dib): Free return value from
2864         gdk_atom_name().
2865         (gdk_text_property_to_text_list_for_display): Drop GError variable
2866         that isn't actually used after being set.
2867
2868 2005-09-20  Johan Dahlin  <jdahlin@async.com.br>
2869
2870         * gtk/gtkentry.c (gtk_entry_set_completion): Mention NULL in 
2871         documentation.
2872
2873 2005-09-20  Tor Lillqvist  <tml@novell.com>
2874
2875         * gdk/win32/gdkselection-win32.c
2876         (gdk_selection_owner_get_for_display): Do return the correct owner
2877         for CLIPBOARD (i.e., the owner of the Windows Clipboard, if it is
2878         a window GDK knows about). The reason to return NULL seems to have
2879         gone when in the fix for bug #163702 the artificial
2880         GDK_SELECTION_CLEAR event generation was removed from
2881         gdk_selection_send_notify_for_display(). Fixes bug #316552.
2882
2883 2005-09-20  Matthias Clasen  <mclasen@redhat.com>
2884
2885         Avoid unnecessary XkbGetState() calls and XkbStateNotify
2886         events.  (#151555, Søren Sandmann)
2887
2888         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Use 
2889         XkbSelectEventDetails() to select XkbStateNotify events
2890         for only the state we care about.
2891
2892         * gdk/x11/gdkprivate-x11.h:
2893         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_state_changed): Pass
2894         the event into the function and update the keymap state from
2895         the state information contained in the event. Adjust all callers.
2896         
2897 2005-09-19  Matthias Clasen  <mclasen@redhat.com>
2898
2899         * gtk/gtkiconview.c: Use g_list_nth_data() instead of g_list_nth()->data
2900         in multiple places to avoid segfaults if the index is out of range.  
2901         (#316422, Guillaume Cottenceau)
2902         (gtk_icon_view_set_drag_dest_item): 
2903         (gtk_icon_view_scroll_to_path): Fix a typo in the docs.  (#316419,
2904         #316424, Guillaume Cottenceau)
2905
2906 2005-09-18  Hans Breuer  <hans@breuer.org>
2907
2908         * gtk/gtktrayicon-win32.c : now handling events by hard-coded 
2909         g_signal_emit_by_name() - will break when gtkstatusicon.c changes.
2910
2911 2005-09-18  Hans Breuer  <hans@breuer.org>
2912
2913         * gdk/gdk.symbols gdk/win32/gdkwin32.h gdk/win32/gdkcursorwin32.c : export
2914         _gdk_win32_pixbuf_to_hicon() as gdk_win32_pixbuf_to_hicon_libgtk_only()
2915         * gtk/gtktrayicon-win32.c : a lot of debug spew but it has started to show
2916         the icon and is blinking with teststatusicon. More to come ...
2917
2918 2005-09-18  Hans Breuer  <hans@breuer.org>
2919
2920         * gtk/makefile.msc.in : fix typo for GTK_VER; define HAVE_CONFIG_H
2921         cause gtkprogressbar.c has #include <config.h> conditionally; less
2922         noise from generated gtk.def
2923         * gtk/stock-icons/makefile.msc gdk/makefile.msc tests/makefile.msc : updated
2924         
2925         * gtk/gtktrayicon-win32.c : dummy implmentation to make gtk compile.
2926         For me it works as well as the *NIX implemenation, that is not at all.
2927
2928         * gdk/win32/gdkproperty-win32.c : implement gdk_atom_intern_static_string()
2929
2930         * gdk/win32/gdkwindow-win32.c(gdk_window_set_urgency_hint) : only use
2931         only use (WINVER >= 0x0500) when available from the SDK. Otherwise fall
2932         back to true dynamic linking of FlashWindowEx. Makes gtk+ work on NT4.0
2933         again - if compiled properly.
2934
2935         * tests/teststatusicon.c : don't use GNOME icons for testing, but icons
2936         already coming with Gtk+. Makes it compile on win32.
2937
2938 2005-09-18  Guilherme de S. Pastore  <gpastore@cvs.gnome.org>
2939
2940         * README.cvs-commits: fixed some tiny typos
2941
2942 2005-09-16  Tor Lillqvist  <tml@novell.com>
2943
2944         * modules/engines/ms-windows/msw_style.c (draw_extension,
2945         draw_box_gap): Check whether the widget actually is a GtkNotebook
2946         before treating it as such. Drop some unneeded local variables,
2947         use parameter with same information instead. (#316412)
2948
2949 2005-09-15  Federico Mena Quintero  <federico@ximian.com>
2950
2951         * tests/autotestfilechooser.c: Start a set of automated tests for
2952         the file chooser.  The only test in there right now doesn't pass
2953         yet.  It specifies the intended behavior of the first optimization
2954         of a series which I'll do on the file chooser (see
2955         http://primates.ximian.com/~federico/news-2005-09.html#14 for the
2956         details of this optimization).
2957
2958         * tests/Makefile.am: Added autotestfilechooser.c.
2959
2960         * gtk/gtkfilechooserprivate.h (struct
2961         _GtkFileChooserDialogPrivate): Move all the file chooser's private
2962         structures to here, so that they can be accessed by
2963         tests/autotestfilechooser.c:  _GtkFileChooserDialogPrivate,
2964         _GtkFileChooserWidgetPrivate, LoadState, _GtkFileChooserDefault.
2965
2966         * gtk/gtkfilechooserdialog.c: See above.
2967
2968         * gtk/gtkfilechooserwidget.c: See above.
2969
2970         * gtk/gtkfilechooserdefault.c: See above.
2971
2972 Thu Sep 15 15:27:55 2005  Tim Janik  <timj@imendio.com>
2973
2974         * gtk/gtkwindow.c: 
2975         gtk_window_map_event(): new function to work around lost unmap requests.
2976         fixes bug #316180.
2977
2978 2005-09-14  Federico Mena Quintero  <federico@ximian.com>
2979
2980         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Add
2981         an easy-to-find profiling marker when starting to create a file
2982         chooser.
2983         (browse_files_model_finished_loading_cb): Likewise, for when the
2984         chooser is finished loading.
2985
2986 2005-09-14  Tristan Van Berkom <tvb@cvs.gnome.org>
2987
2988         * gtk/gtkcolorbutton.c: Check "color" argument in 
2989         gtk_color_button_set_color ()
2990
2991 2005-09-14  Matthias Clasen  <mclasen@redhat.com>
2992
2993         * gtk/gtklabel.c (gtk_label_get_type): 
2994         * gtk/gtkbutton.c (gtk_button_get_type): 
2995         * gtk/gtkwindow.c (gtk_window_group_get_type): No point in 
2996         using a mem chunk for window groups, buttons, labels.
2997
2998         * gtk/updateiconcache.c (foreach_remove_func): Fix
2999         a use-after-free bug.  (#316256, Alexander Nedotsukov)
3000
3001 2005-09-13  Matthias Clasen  <mclasen@redhat.com>
3002
3003         * gtk/*.c: Various cleanups.  (#315360, Kjartan Maraas)
3004
3005         * gdk/*.c: Various cleanups.  (#315359, Kjartan Maraas)
3006         
3007 2005-09-13  Matthias Clasen  <mclasen@redhat.com>
3008
3009         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): 
3010         Let GDK_Return pass through in some more cases.
3011
3012         * gtk/gtkentry.c (gtk_entry_key_press): Reset the im context before
3013         activating the entry. 
3014
3015         * gtk/gtkiconview.c (gtk_icon_view_class_init):
3016         (gtk_icon_view_get_dest_item_at_pos):  Fix typos in the 
3017         docs.  (#316008, #316027, #316121, Guillaume Cottenceau)
3018
3019         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs.
3020         (#316001, Guillaume Cottenceau)
3021
3022         * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste
3023         mistake in the docs.  (#315993, Guillaume Cottenceau)
3024
3025         * tests/testentrycompletion.c (create_simple_completion_model): Add
3026         some strings containing multibyte characters.
3027
3028         * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix): 
3029         Fix prefix insertion for multibyte characters.  (#316095,
3030         Tommi Komulainen)
3031
3032         * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon): 
3033         * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): Silently
3034         return NULL if the widget is not realized.  (#316023,
3035         Guillaume Cottenceau)
3036
3037 2005-09-11  Matthias Clasen  <mclasen@redhat.com>
3038
3039         * gdk/gdk.symbols: 
3040         * gdk/gdkproperty.h: 
3041         * gdk/x11/gdkproperty-x11.c (gdk_atom_intern_static_string): 
3042         New function to avoid pointless strdups when creating atoms
3043         from static strings.  
3044
3045         * gdk/x11/*.c:
3046         * gtk/*.c:  Use gdk_atom_intern_static_string() where 
3047         appropriate.
3048
3049 2005-09-09  Matthias Clasen  <mclasen@redhat.com>
3050
3051         * gtk/gtkcellrendererkeys.h: 
3052         * gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
3053         and editing accelerators, a port of EggCellRendererKeys .
3054
3055         * gtk/gtk.symbols:
3056         * gtk/gtk.h:
3057         * gtk/Makefile.am: Add the keys cell renderer.
3058
3059         * tests/Makefile.am: 
3060         * tests/testkeys.c: Test GtkCellRendererKeys
3061
3062 2005-09-09  Matthias Clasen  <mclasen@redhat.com>
3063
3064         Make it possible to determine if a key event is for a
3065         modifier key:
3066         
3067         * gdk/x11/gdkprivate-x11.h: 
3068         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): 
3069         New function to determine if a keycode is mapped to a modifier.
3070         (get_xkb): Get the modmap.
3071
3072         * gdk/x11/gdkevents-x11.c (translate_key_event): Set the 
3073         is_modifier bit by calling _gdk_keymap_key_is_modifier().
3074
3075         * gdk/gdkevents.h (struct _GdkEventKey): Add an is_modifier
3076         bit.
3077
3078 2005-09-09  Matthias Clasen  <mclasen@redhat.com>
3079
3080         * gdk/gdkpixbuf-drawable.c (convert_real_slow): Remove an 
3081         unused variable, noticed by Kjartan Maraas.
3082
3083 2005-09-09  Matthias Clasen  <mclasen@redhat.com>
3084
3085         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): 
3086         Make drag reordering work properly for columns other than the
3087         first.  (#315054, Dan Winship)
3088         
3089         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle 
3090         invalid fontnames better. (#136926, Michael R. Walton)
3091         
3092         Stop cursor blinking in non-editable regions of a text view.
3093         (#311508, Torbjörn Andersson)
3094         
3095         * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): 
3096         (cursor_blinks): Take editability into account when deciding
3097         whether the cursor blinks.
3098         (gtk_text_view_button_release_event): 
3099         (gtk_text_view_move_cursor_internal): Update cursor blinking here.
3100
3101         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing): 
3102         Use connect_after to connect to the focus_out event. This
3103         ensures that the entry has already stopped blinking by the time
3104         we emit the edited signal.  (#315229, Thomas Leonard)
3105
3106         * tests/testgtk.c: Use GDK_MOD1_MASK, not GDK_ALT_MASK.
3107
3108         * gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set
3109         unsigned ints to -1.  (#315481, Kjartan Maraas)
3110
3111         * gtk/gtkcalendar.c (gtk_calendar_init): first_weekday is relative
3112         to week_1stday, not to Sunday. Gotta love the ISO 14652 guys...
3113         (#314473, Stanislav Brabec)
3114
3115 2005-09-09  Matthias Clasen  <mclasen@redhat.com>
3116
3117         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Document
3118         memory handling.  (#314975, Torsten Schoenfeld)
3119
3120         * gtk/gtkiconview.c (gtk_icon_view_class_init): 
3121         * gtk/gtkfilesel.c (gtk_file_selection_class_init): 
3122         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
3123         * gtk/gtklabel.c (gtk_label_class_init): 
3124         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
3125         Stylistic improvements and clarifications for some blurbs. 
3126         (#315520, Clytie Siddall)
3127
3128 2005-09-09  Tor Lillqvist  <tml@novell.com>
3129
3130         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
3131         display name. There is only one GdkDisplay on Win32, and
3132         constructing the display name isn't entirely trivial, so cacheing
3133         is probably worth it. For instance GIMP calls this function a lot.
3134         (gdk_display_open): Call gdk_display_get_name() to prime the
3135         cached name.
3136         (gdk_display_get_n_screens, gdk_display_get_screen,
3137         gdk_display_get_default_screen): Verify parameter correctness like
3138         the X11 backend does.
3139
3140         * gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
3141         Return a freshly allocated string, as the API specifies. Fixes a
3142         heap corruption problem that caused random errors and crashes in
3143         GIMP, for instance.
3144
3145 2005-09-07  Matthias Clasen  <mclasen@redhat.com>
3146
3147         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): 
3148         Make C-u commit and restart hex input if we are already in a
3149         hex sequence.
3150
3151 2005-09-06  Matthias Clasen  <mclasen@redhat.com>
3152
3153         * gdk/x11/gdkkeys-x11.c (update_modmap): Make the modmap reflexive.
3154         (_gdk_keymap_add_virtual_modifiers): Don't add both Alt and Meta
3155         if they are mapped to the same modifier.
3156
3157         * gtk/Makefile.am: Rename gtkstatusicon-x11.c and gtktrayicon.c
3158         to gtkstatusicon.c and gtktrayicon-x11.c
3159
3160         * gtk/gtkaccelgroup.c: Include Super, Hyper and Meta in the
3161         default accel mod mask.
3162
3163         * gtk/gtkaccelgroup.c (gtk_accelerator_parse): 
3164         * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
3165         Don't use GDK_ALT_MASK.
3166
3167         * gdk/gdktypes.h: No need to introduce GDK_ALT_MASK
3168
3169 2005-09-06  Matthias Clasen  <mclasen@redhat.com>
3170
3171         Add support for extra virtual modifiers:  (#85780, Owen Taylor)
3172         
3173         * tests/testgtk.c (create_key_lookup): Add tests for extra virtual
3174         modifiers.
3175
3176         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Try to match both against
3177         Mod2 - Mod5 and against Super, Hyper, Meta.
3178
3179         * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
3180         * gtk/gtkaccelgroup.c (gtk_accelerator_parse) 
3181         (gtk_accelerator_name): Support Super, Hyper Meta and Mod2 - Mod5.
3182
3183         * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a 
3184         modmap to maintain the information which X modifiers map to
3185         virtual modifiers.
3186         (get_xkb): Set up the modmap from the XKB tables.
3187         (update_keymaps): Set up the modmap from the information returned
3188         by XGetModifierMapping in the non-XKB case.
3189
3190         * gdk/x11/gdkprivate-x11.h: 
3191         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New 
3192         function to set the virtual modifiers in the state.
3193
3194         * gdk/x11/gdkevents-x11.c (translate_key_event): Call 
3195         _gdk_keymap_add_virtual_modifiers here.
3196
3197         * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super, 
3198         Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
3199         for GDK_MOD1_MASK.
3200
3201 2005-09-05  Matthias Clasen  <mclasen@redhat.com>
3202
3203         * gtk/gtkaction.c (connect_proxy): Set the label of a button
3204         if it has no child.  (#315253, John Finlay)
3205
3206 2005-09-02  Matthias Clasen  <mclasen@redhat.com>
3207
3208         * gtkimcontextsimple.h: Add a modifiers_dropped bit
3209
3210 2005-09-02  Matthias Clasen  <mclasen@redhat.com>
3211
3212         * gtk/gtkentry.c (gtk_entry_destroy): Disconnect idle handlers
3213         on destroy to avoid problems when they are called on a destroyed
3214         widget.  (#315135, John Cupitt)
3215         
3216         * gtk/gtkentry.c (gtk_entry_class_init):
3217         * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings
3218         for Ctrl-Shift-A to unselect all.  (#309301, Kathy Fernandes)
3219
3220         * gtk/gtkimcontextsimple.c: Rework the Unicode hex input
3221         code. Now we only steal a single key combination, Ctrl-Shift-U,
3222         instead of sixteen. 
3223         A hex Unicode sequence must be started with Ctrl-Shift-U, followed
3224         by a sequence of hex digits entered with Ctrl-Shift still held.
3225         Releasing one of the modifiers or pressing space while the modifiers
3226         are still held commits the character. It is possible to erase
3227         digits using backspace.
3228         As an extension to the above, we also allow to start the sequence
3229         with Ctrl-Shift-U, then release the modifiers before typing any
3230         digits, and enter the digits without modifiers.
3231         (#82011, Owen Taylor)
3232         
3233 2005-09-02  Matthias Clasen  <mclasen@redhat.com>
3234
3235         * gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
3236         we still need to deliver the destroy event.  (#314980, Chris Lahey)
3237
3238         * gtk/gtktextview.c (gtk_text_view_key_press_event): Reset 
3239         im context before committing \n or \t.
3240
3241 2005-09-02  Alexander Larsson  <alexl@redhat.com>
3242
3243         * gtk/gtkfilechooserdefault.c: (shortcuts_add_volumes),
3244         (shortcuts_activate_volume):
3245         Handle base_path being null in the rest of the cases (#310270)
3246
3247 2005-09-02  Tor Lillqvist  <tml@novell.com>
3248
3249         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
3250         cursor position also in root window coordinates. Prune out
3251         superfluous WM_MOUSEMOVE events even earlier, based on root window
3252         coordinates. Windows sends WM_MOUSEMOVE messages after a new
3253         window has ben mapped below the cursor even if the mouse doesn't
3254         move. We used to generate GDK_MOTION_NOTIFY in these cases. This
3255         confused at least gtk_menu_motion_notify(). (#314995)
3256
3257         * gtk/gtkintl.h: No need to include config.h here. It caused
3258         warnings about GTK_LOCALEDIR being redefined on Win32 when
3259         compiling files where gtkintl.h is included after gtkprivate.h
3260         (which #undefines and re-#defines GTK_LOCALEDIR on Win32).
3261
3262         * gtk/gtkplug.c: Include config.h.
3263
3264 2005-09-01  Matthias Clasen  <mclasen@redhat.com>
3265
3266         * gtk/gtkfilesystemunix.c: Pass statbufs down to 
3267         xdg_mime_get_mime_type_for_file() where possible, to avoid
3268         useless re-stating.  
3269         
3270         * gtk/gtkaction.c (gtk_action_get_accel_closure): Fix doc
3271         typo.  (#314921, Guillaume Cottenceau)
3272
3273         * gdk/*.c: Intern some more strings.
3274         * gtk/gtkintl.h: 
3275         * gtk/*.c: Define an I_() macro and use it instead of the 
3276         bulky g_intern_static_string().
3277
3278 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
3279
3280         * gtk/gtkbindings.c (binding_signal_new): Intern the signal name
3281         instead of copying it.
3282
3283         * gtk/gtktypeutils.c (gtk_identifier_get_type): Some more string interning.
3284
3285         * gtk/*.c: Also intern static strings passed to 
3286         g_object_set_data().
3287
3288         * gdk/Makefile.am: 
3289         * gtk/Makefile.am: Intern type names in code generated by 
3290         glib-mkenums, too.
3291
3292         * gtk/*.c: 
3293         * gdk/x11/*.c: 
3294         * gdk/*.c: Intern type names before registering the type to avoid 
3295         unnecessary copies.
3296
3297         * configure.in: Require GLib 2.9.0
3298
3299 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
3300
3301         * gtk/gtktoolbar.c: Undeprecate gtk_toolbar_set_icon_size(),
3302         and add icon-size and icon-size-set properties.  (#314172)      
3303
3304         * gtk/gtkwindow.c (gtk_window_set_transient_for): Inherit window
3305         groups across transient parents.  (#312918, Christian Persch)
3306
3307         * gtk/gtktreemodel.c: Some documentation fixes.  (#314882,
3308         Guillaume Cottenceau)
3309
3310         * gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions): 
3311         Fix a typo in the docs.  (#314878, Guillaume Cottenceau)
3312
3313 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
3314
3315         * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to
3316         make C-/ select all and C-\ unselect all.  (#309301,
3317         Kathy Fernandez)
3318
3319         * gtk/gtkimcontextsimple.c: Change the compose sequence for
3320         soft hyphen to be multi_key-minus-minus-space, and add
3321         compose sequences multi_key-minus-minus-period and 
3322         multi_key-minus-minus-minus for en dash and em dash.
3323         (#172653, Christian Lohmaier)
3324
3325         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused
3326         code.  (#313946, Christian Persch)
3327
3328         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another
3329         fix for the default value of the "ui" property.
3330
3331 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
3332
3333         * gtk/gtk.symbols: 
3334         * gtk/gtkselection.h:
3335         * gtk/gtkselection.c: Add functions which look for text, image
3336         or uri targets in an array of atoms.   (#314089, Mark Wielaard)
3337
3338         * gtk/gtk.symbols: 
3339         * gtk/gtkselection.h:
3340         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): 
3341         Add a function to check wether targets include uri.  
3342         (#314092, Mark Wielaard)
3343         
3344         * gtk/gtk.symbols: 
3345         * gtk/gtkwindow.h: 
3346         * gtk/gtkwindow.c: Add a deletable property with getter
3347         and setter, to control the close button in the window 
3348         frame.  (#59718, Havoc Pennington)
3349
3350 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
3351
3352         * gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
3353         to the arrow keys for menu navigation.  (#162825, Carl Worth)
3354
3355         * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes
3356
3357         * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos.
3358
3359         * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): 
3360         * gtk/gtkimage.c (gtk_image_new_from_stock): Don't
3361         refer to nonexisting stock ids.
3362
3363         * gtk/gtktextview.c (popup_targets_received): 
3364         * gtk/gtkentry.c (popup_targets_received): Construct
3365         the "Select All" menuitem from stock.
3366
3367         * gtk/stock-icons/stock_select_all_{16,24}.png:
3368         * gtk/stock-icons/Makefile.am: 
3369         * gtk/gtkiconfactory.c:
3370         * gtk/gtkstock.h: 
3371         * gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
3372         Calum Benson)
3373
3374         * gtk/gtktrayicon.c: Add a pointer to the spec.
3375
3376         * gtk/gtkstatusicon-x11.c: Add docs.
3377
3378         * gtk/gtkstatusicon.h: Fix a typo.
3379
3380         Add a cross-platform "tray icon" API, by
3381         porting EggStatusIcon/EggTrayIcon (#105101)
3382         
3383         * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which
3384         displays an icon in a notification area.
3385
3386         * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for
3387         X11, using GtkTrayIcon.
3388
3389         * gtk/gtktrayicon.h: 
3390         * gtk/gtktrayicon.c: An implementation of the freedesktop.org
3391         system tray specification, not public API.
3392
3393         * gtk/gtk.symbols: Add new exported functions.
3394
3395         * gtk/gtk.h: Include gtkstatusicon.h.
3396
3397         * gtk/Makefile.am: Add new files.
3398
3399         * tests/Makefile.am:
3400         * tests/teststatusicon.c: Test for GtkStatusIcon.
3401
3402 2005-08-29  Christopher Aillon  <caillon@redhat.com>
3403
3404         * gtk/gtkstock.c: Add builtin GtkStockItems for GTK_STOCK_CONNECT
3405         and GTK_STOCK_DISCONNECT
3406         
3407 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
3408
3409         * gtk/gtksocket-x11.c (_gtk_socket_windowing_embed_notify): 
3410         Use XFixesChangeSaveSet if available.  (#314682)
3411
3412         * gtk/gtkmenu.c (gtk_menu_grab_notify):  Only cancel if the menu
3413         was active.  (#314298, Christian Persch, analysis by Mark McLoughlin)
3414
3415 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
3416
3417         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
3418         accidentally leftover duplicate pixbuf creation.  (#314700,
3419         Kjartan Maraas)
3420
3421         * gtk/gtksettings.c (settings_update_cursor_theme): Don't 
3422         leak the cursor theme name.  (#314693, Kjartan Maraas)
3423
3424         * gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free 
3425         state.children in all cases.  (#313862, Kjartan Maraas)
3426
3427 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
3428
3429         * po/POTFILES.in, po-properties/POTFILES.in:
3430         Add gdk/gdkscreen.c
3431
3432 2005-08-27  Matthias Clasen  <mclasen@redhat.com>
3433
3434         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default
3435         value of the ui property. (#314532, Yong Wang)
3436
3437         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
3438         when G_MAXLONG is passed as length.  
3439
3440 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
3441
3442         * gtk/updateiconcache.c: Add a separate --ignore-theme-index option
3443         to avoid overloading --force.  (JP Rosevaar)
3444
3445 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
3446
3447         * configure.in: Bump version to 2.9.0
3448
3449         * gdk/gdk.symbols: 
3450         * gdk/gdkscreen.h: 
3451         * gdk/gdkscreen.c: Make the GdkScreen font options api
3452         public, and add properties GdkScreen::font-options and
3453         GdkScreen::resolution.  (#314004)
3454
3455         * gdk/gdkpango.c:
3456         * gtk/gtksettings.c:
3457         * gtk/gtkwidget.c: Adjust all callers.
3458         
3459         * gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h.
3460         * gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h.
3461         * gdk/gdkscreen.c: Include gdkintl.h.
3462
3463         * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
3464         variable warning, pointed out by Colin Walters. (#314585)
3465
3466 2005-08-26  Tor Lillqvist  <tml@novell.com>
3467
3468         * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
3469         printouts.
3470         (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
3471
3472 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
3473
3474         * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
3475         of week_start.  (#314473, JP Rosevaar)
3476
3477 2005-08-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3478
3479         * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
3480         lock.  (#314533, Thomas Fitzsimmons)
3481
3482 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
3483
3484         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
3485         NULL gracefully.  (#314523, Ed Catmur)
3486
3487 2005-08-25  Owen Taylor  <otaylor@redhat.com>
3488
3489         * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): 
3490         Handle theme == NULL.
3491
3492 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
3493
3494         * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
3495         y offset into account when positioning the popup.  (#314470,
3496         Christian Persch)
3497
3498 2005-08-25  Owen Taylor  <otaylor@redhat.com>
3499
3500         * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
3501         as instance_init, not base_init! (#314452, Fix from Frederic
3502         Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1.
3503         rather than 1 for a negative flag value.
3504
3505 2005-08-24  Owen Taylor  <otaylor@redhat.com>
3506
3507         * gdk/gdkpango.c (draw_error_underline): Add a note about
3508         cut-and-paste between here and Pango.
3509
3510 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
3511
3512         * === Released 2.8.2 ===
3513
3514         * gtk/gtkclipboard.c (request_image_received_func): Use the correct
3515         callback for image/gif, and also try image/bmp.  (#314086,  Mark 
3516         Wielaard)
3517
3518         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): 
3519         Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev.  (#314382,
3520         Sebastien Bacher)
3521         
3522         * NEWS: Updates
3523
3524         * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font
3525         and cursor settings get propagated down to the screen initially.
3526         Pointed out by Frederic Crozat.
3527
3528         * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
3529         message if the screen is NULL. Noticed by Kjartan Maraas.
3530
3531 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
3532
3533         * Bump version
3534
3535         * === Released 2.8.1 ===
3536
3537         * NEWS: Updates
3538         
3539 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
3540
3541         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
3542         against lazy filterers which return values other than TRUE or
3543         FALSE from their visible func.  (#314335)
3544
3545 2005-08-23  Owen Taylor  <otaylor@redhat.com>
3546
3547         Fix for #314004, reported by Michael Reinsch:
3548
3549         * gdk/gdk.symbols:
3550         * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
3551         Add gdk_screen_get/set_resolution_libgtk_only()
3552
3553         * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
3554         the options for the screen on the newly created context.
3555
3556         * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: 
3557         Move font options and dpi code from gtkwidget.c to gtksettings.c, set
3558         the font options on the screen.
3559
3560         * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
3561         the font options from the screen and set them on the context.
3562
3563 2005-08-23  Kristian Rietveld  <kris@gtk.org>
3564
3565         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't
3566         bother inserting new rows in a level with a zero refcount and
3567         immediately free the level. (Fixes #312350, reported by Markku Vire).
3568
3569 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
3570
3571         * gtk/updateiconcache.c: Complain when there is no index.theme file
3572         in the specified directory, unless --force is used. Also add an
3573         --index-only option to create caches without image data.
3574
3575         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
3576         C99ism.  (#314262, Robert Jeff Mitchell)
3577         
3578 2005-08-22  Manish Singh  <yosh@gimp.org>
3579
3580         * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
3581
3582         * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
3583
3584 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
3585
3586         * gtk/gtkwindow.c (gtk_window_client_event): 
3587         * gtk/gtkicontheme.c (ensure_valid_themes) 
3588         (_gtk_icon_theme_check_reload): Implement a clientmessage based
3589         scheme for makeing sure that all GTK+ applications notice if an
3590         icon theme has been updated. This should prevent multiple versions
3591         of an icon theme cache to be mapped in memory at the same time,
3592         which can cause excessive memory consumption.  (#313156, Chris 
3593         Lahey)
3594
3595 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
3596
3597         * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
3598         regarding icon theme changes.
3599
3600         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
3601         pixbufs which are backed by the mmapped memory of an icon cache,
3602         increase the refcount of the icon cache, so that the memory is not
3603         munmapped away underneath the pixbuf upon icon theme changes.  
3604         (#314170, Kjartan Maraas)
3605
3606         * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order 
3607         to link against Xext.  (#314062)
3608
3609         * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
3610         overruns.  (#314081, Hans Breuer)
3611
3612 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
3613
3614         * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
3615         returned layout must not be modified.
3616
3617 Sat Aug 20 16:12:14 2005  Jonathan Blandford  <jrb@redhat.com>
3618
3619         * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
3620         scroll_to_path if the model changes.
3621
3622         * gtk/gtkiconview.c: (gtk_icon_view_destroy),
3623         (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
3624         (gtk_icon_view_scroll_to_path): Handle scrolling to a path before
3625         we're realized, #312798
3626         (gtk_icon_view_set_model): clear scroll_to_path if the model
3627         changes.
3628
3629 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
3630
3631         * gtk/gtkrange.c (gtk_range_adjustment_changed) 
3632         (gtk_range_adjustment_value_changed):  Don't queue a draw
3633         if the layout has not changed.  (#313991, Benjamin Berg)
3634
3635 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
3636
3637         * gtk/gtktreeitem.c: Remove duplicate lines.  (#313344,
3638         Benoit Carpentier)
3639
3640         * modules/engines/ms-windows/msw_style.c (setup_system_styles): 
3641         Fix a typo. 
3642
3643         * gtk/gtkfilechooserbutton.c (change_icon_theme) 
3644         (model_add_special, model_add_special, model_add_volumes):
3645         Handle pixbuf being NULL without warnings. Also, don't
3646         leak pixbuf references when the icon theme is changed.
3647
3648         * gtk/gtkmain.c (gtk_get_event_widget): Don't access
3649         the user data on destroyed windows, since at best
3650         it can be a stale pointer.  (#313953, Robin Green)      
3651
3652 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
3653
3654         * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
3655         (#313900, Sebastien Bacher)
3656
3657         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
3658         FALSE if the tree is empty.  (#313891, Guillaume Cottenceau)
3659
3660         * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) 
3661         (xdnd_read_actions, get_client_window_at_coords_recurse): 
3662         Free data returned from XGetWindowProperty. 
3663
3664         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) 
3665         Free data returned from XGetWindowProperty.  (313867, Kjartan
3666         Maraas)
3667         
3668         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
3669         children in all cases.  (#313862, Kjartan Maraas)
3670
3671         * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs 
3672         in the per-directory hash, even if they come from the icon cache. 
3673         We tried to avoid that before, but as a result leaked icon data
3674         structs.  (#313852, Kjartan Maraas)
3675
3676 2005-08-18  Matthias Clasen  <mclasen@redhat.com>
3677
3678         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
3679         signal handlers on destroy, not on finalize.  (#313759, Brett Atoms)
3680
3681 2005-08-15  Owen Taylor  <otaylor@redhat.com>
3682
3683         * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
3684         files for x11/xext. (Jonas Bonn)
3685
3686 2005-08-15  Tor Lillqvist  <tml@novell.com>
3687
3688         * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
3689         inside GTK_NOTE.
3690
3691 2005-08-15  Owen Taylor  <otaylor@redhat.com>
3692
3693         * configure.in: Fix have_base_pc / have_base_x_pc typo.
3694
3695         * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
3696         (#313417, James Andrewartha)
3697
3698         * configure.in: Add fontconfig to X_PACKAGES, since we use it for
3699         FcNameConstant(). (More of #313417)
3700
3701 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
3702
3703         * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
3704         modal dialogs, make sure to inherit the window group from 
3705         the parent, since we don't inherit window groups across
3706         transient parents currently.  (#312918, Christian Persch)
3707
3708         * gtk/gtkmessagedialog.c (gtk_message_dialog_new): 
3709         * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. 
3710
3711         * gtk/gtkiconview.c (gtk_icon_view_select_path) 
3712         (gtk_icon_view_scroll_to_path): Handle paths of depth 0
3713         gracefully.  (#312796, Jonathan Blandford)
3714
3715         * tests/testtoolbar.c: Add some more tests for menu placement.
3716
3717         * gtk/gtkmenutoolbutton.c (menu_position_func): 
3718         * gtk/gtktoolbar.c (menu_position_func): Improve positioning
3719         of toolbutton menus and of the overflow menu.  (#312937, 
3720         #153870, Christian Persch, Paolo Borelli)
3721
3722 2005-08-15  Tor Lillqvist  <tml@novell.com>
3723
3724         * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
3725         the nonportable <libgen.h> and dirname().
3726
3727 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
3728
3729         * gtk/gtksizegroup.c: Use object data to mark widgets and
3730         groups as visited, so that we avoid constant extra list
3731         traversals. Also allocate quarks in class_init.  (#311618,
3732         Michael Natterer)
3733
3734         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the 
3735         download location for the hicolor icon theme. (#313475, Olexiy 
3736         Avramchenko)
3737
3738         * gtk/gtkicontheme.c: Remove debug spew. 
3739
3740 2005-08-15  Owen Taylor  <otaylor@redhat.com>
3741
3742         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): 
3743         * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): 
3744         * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
3745         Handle pixmap == NULL when checking for a colormap.
3746         (Allin Cottrell).
3747
3748 2005-08-14  Matthias Clasen  <mclasen@redhat.com>
3749
3750         * gtk/updateiconcache.c: Store only one copy of the pixel data
3751         for symlinked icons. To achieve this, maintain a hashtable 
3752         mapping pathnames to pixel data, and share the pixel data for
3753         all symlinks resolving to the same pathname. When writing out
3754         the image data, write out the pixel data only the first time
3755         it is met, and store the offset pointing to the first copy
3756         for use in all later cases.
3757         This reduces the size of the Bluecurve icon cache from 40
3758         to 13MB. (#312972)
3759