]> Pileus Git - ~andy/gtk/blob - ChangeLog
only block/unblock completion->priv->insert_text_id if it is actually
[~andy/gtk] / ChangeLog
1 2007-01-26  Michael Natterer  <mitch@imendio.com>
2
3         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
4         only block/unblock completion->priv->insert_text_id if it is
5         actually connected. While this can't happen the way GtkEntry
6         itself uses the completion, it's still public API and should not
7         blindly call functions that will spit warnings (fix taken from
8         maemo-gtk).
9
10 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
11
12         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
13         the paintable iface.  
14
15 2007-01-24  Michael Natterer  <mitch@imendio.com>
16
17         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
18         of PRELIGHT state for the reasons given in bug #135666. Widget
19         states are sometimes abused or otherwise used wrongly for historic
20         reasons, causing this part of the patch to break e.g. menu items.
21
22 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
23
24         * README: Remove mention of no-longer-existing PATCH
25         keyword in bugzilla. (#396899)
26
27 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
28
29         * gtk/gtkpagesetup.c
30         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
31         Fixes bug #399907. 
32
33 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
34
35         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
36
37         * gtk/gtkstyle.h:
38                 Cause gcc to issue a warning if the style returned from
39                 gtk_style_attach is not used. Failure to update
40                 widget->style causes some very difficult to reproduce bugs,
41                 eg Bug 353498 – crash in Terminal: changing icon theme.
42
43 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
44
45         * gdk/directfb/gdkevents-directfb.c: added fixes for window
46         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
47
48 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
49
50         * gtk/gtkcalendar.c: Fix build breakage.
51
52 2007-01-19  Kristian Rietveld  <kris@imendio.com>
53
54         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
55         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
56         add_scroll_timeout().  (taken from maemo-gtk).
57
58 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
59
60         * gtk/gtkcalendar.c: Fix problems with the initial
61         focus in GtkCalendar.  (#397783, Vincent Untz)
62
63 2007-01-19  Robert Ögren  <gtk@roboros.com>
64
65         Fix for bug #143460 - missed tablet clicks on Windows
66
67         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
68         Request absolute reporting of tablet button state, and cut down
69         the packet queue size a bit.
70         (_gdk_input_other_event): Change button state handling
71         accordingly. Also drop the no longer necessary code that detects
72         missed clicks/releases for button 1. The switch to absolute button
73         state should prevent missed events for all buttons. Additionally,
74         swap button 2 and 3.
75         (_gdk_input_grab_pointer): Don't reset button_state, that will only
76         cause a new press event as soon as the next tablet packet arrives.
77
78 2007-01-19  Tor Lillqvist  <tml@novell.com>
79
80         Build Wintab support always on Windows. Don't require the Wintab
81         SDK.
82
83         * configure.in: Drop the --with-wintab option. Drop the
84         HAVE_WINTAB feature test macro and Automake variable.
85
86         * acconfig.h
87         * config.h.win32.in: Drop HAVE_WINTAB.
88
89         * gdk/win32/gdkevents-win32.c
90         * gdk/win32/gdkinput.c
91         * gdk/win32/gdkinput-win32.h
92         * gdk/win32/gdkinput-win32.c
93         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
94         unconditional.
95
96         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
97         to load wintab32.dll dynamically here. If it is found look up the
98         handful Wintab functions we use.
99         (rest of file): Use these function pointers instead of calling the
100         functions from wntab32x.lib. The code in wntab32x.lib did the same
101         thing anyway: tried to load wintab32.dll, and looked up the
102         addresses of the actual functions from it.
103
104         * gdk/Makefile.am
105         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
106
107         * gdk/win32/wintab.h
108         * gdk/win32/pktdef.h: New files. Copied from the Wintab
109         SDK. Copyright blurb says: "The text and information contained in
110         this file may be freely used, copied, or distributed without
111         compensation or licensing restrictions."
112
113         * README.win32: Update a bit. Remove the text about the Wintab
114         SDK.
115
116 2007-01-18  Tor Lillqvist  <tml@novell.com>
117
118         * gdk-pixbuf/Makefile.am
119         * gdk/Makefile.am
120         * gdk/win32/Makefile.am
121         * gtk/Makefile.am: Fixes for building outside srcdir on
122         Win32. (#336819, #340113) Drop distributing the handmade .la
123         libtool wrapper for the wntab32x library. It's too much trouble
124         making it work when building outside srcdir. Just link to the
125         library direcly using -Wl,win32/libwntab32x.a.
126
127 2007-01-18  Michael Natterer  <mitch@imendio.com>
128
129         * gtk/gtkcheckbutton.c
130         * gtk/gtkdnd.c
131         * gtk/gtkentry.c
132         * gtk/gtkmenu.c
133         * gtk/gtktreeview.c
134         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
135         functions. Based on a patch from maemo-gtk (bug #398023).
136
137 2007-01-17  Tor Lillqvist  <tml@novell.com>
138
139         * gtk-zip.sh.in: Include also the COPYING file.
140
141 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
142
143         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
144         httpGetFd() when building against cups 1.1
145
146 2007-01-17  Tor Lillqvist  <tml@novell.com>
147
148         Proper fix for #396175:
149
150         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
151         include gtkprivate.h. On Win32 we do want to use the redefinition
152         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
153
154         * gtk/gtkimmodule.c: Instead, correct the prefix also on
155         simple_context_info.domain_dirname. Do the prefix corrections
156         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
157         now they were done only in the autoconfiscated gcc builds. Hans
158         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
159         in MSVC builds now.
160         (correct_localedir_prefix): New function, like
161         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
162         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
163         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
164         on the domain_dirname instead of correct_libdir_prefix().
165         (_gtk_im_module_list): Call correct_localedir_prefix() on
166         simple_context_info.domain_dirname.
167
168 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
169
170         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
171         grab changes.  (#396470, Benjamin Berg)
172
173 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
174
175         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
176         if they grow too much. (#357303)
177
178 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
179
180         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
181         non-scalable dir, keep going and look for a closer match.
182         (#395830, Luca Ferretti)
183
184 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
185
186         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
187         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
188         gtk_target_table_free instead of duplicating the code. Bug #396493.
189
190 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
191
192         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
193         positions can't be found.  (#396161, Hans Breuer)
194
195 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
196
197         * gtk/gtkselection.c (_gtk_selection_request): Plug 
198         memory leaks.  (#396160, Carlos Garcia Campos)
199
200 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
201
202         * configure.in: Link libgtk against Xfixes.  (#396074,
203         Tommi Komulainen)
204
205 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
206
207         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
208         a compiler warning.  (#395045, Chris Wilson)
209
210 2007-01-13  Hans Breuer <hans@breuer.org>
211
212         * gtk/gtkprintoperation-win32.c : take the custom tab label from
213         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
214
215         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
216         differing definitions of GTK_LOCALEDIR (bug #396175).
217
218         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
219         not available everywhere
220
221         * gtk/makefile.msc.in : updated
222
223 2007-01-12  Michael Natterer  <mitch@imendio.com>
224
225         * gtk/gtkentry.c (gtk_entry_button_press): don't add
226         entry->scroll_offset to entry->drag_start_y. Fixes the entry
227         starting drags after ridiculously small mouse movements.
228
229 2007-01-11  Richard Hult  <richard@imendio.com>
230
231         * demos/gtk-demo/main.c: (load_file): Close the file after it's
232         loaded (bug #395316).
233
234 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
235
236         * gtk/gtkfilesystemunix.c: (expand_tilde):
237         Make a single tilde go to $HOME in the location entry.
238         Patch from Yevgen Muntyan. Closes the gtk+ part of
239         bug #334168.
240
241 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
242
243         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
244         * gtk/gtklabel.c (gtk_label_size_request):
245         Use pango_matrix_transform_rectangle(). (#340141)
246
247         * configure.in: Bump pango requirement to 1.15.3.
248
249 2007-01-10  Kristian Rietveld  <kris@imendio.com>
250
251         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
252         refactor to initialize indicator_size to TOGGLE_WIDTH instead
253         of the hardcoded value of 12.
254
255 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
256
257         * configure.in: Fix the directfb cairo test. (#394855, 
258         Josselin Mouette)
259
260 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
261
262         * configure.in: Fix comment for --with-included-loaders.  That option
263         affects builds with module loading enabled too.
264
265 2006-01-08  Peter Teichman  <peter@novell.com>
266
267         * gtk/gtkfilechooserdefault.c:
268         * gtk/gtkfilechooserprivate.h:
269         * gtk/gtkfilechoosersettings.c:
270         * gtk/gtkfilechoosersettings.h:
271         Save the expanded state of the folder browser with the file
272         chooser settings.  Resolves the expander portions of (#153828,
273         Lemmit Kaplinski)
274
275 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
276
277         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
278         Don't leak the icon pixbuf after setting it to the image menu
279         item.  Found by Paolo Borelli.
280
281 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
282
283         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
284         corrupt memory when faced with paths with ridiculously
285         large indices. Found by the GTKVTS test suite.  
286
287 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
288
289         * gtk/gtkmodules.c (_gtk_modules_init): Set 
290         default_display_opened before loading modules.  (#393102,
291         Brian Cameron)
292  
293 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
294
295         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
296         Call text_window_realize() with the correct parameters.
297         (#393813, Yevgen Muntyan)
298
299 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
300
301         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
302         a bit.
303
304 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
305
306         * gtk/gtklabel.c: Make line wrapping work with width-chars
307         and max-width-chars, and simplify the storage of wrap-width.
308         (#322580, Itai Bar-Haim)
309
310 2007-01-06  Tor Lillqvist  <tml@novell.com>
311
312         * gdk/win32/cursor.bdf: New file. Downloaded from
313         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
314         "diamond_cross", "draft_large", "gobbler" and "target" to fix
315         #392504. It is possible that the same end result could have been
316         achieved by tweaking bdfcursor.c instead.
317         
318         * gdk/win32/bdfcursor.c: Add optional debugging output.
319
320         * gdk/win32/xcursors.h: Regenerated.
321
322 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
323
324         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
325         menu labels.  (#393255, Michail Crayson)
326
327 2007-01-05  Kristian Rietveld  <kris@gtk.org>
328
329         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
330         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
331
332 2007-01-05  Kristian Rietveld  <kris@gtk.org>
333
334         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
335         invalidate nodes if the tree view is not realized. (#363147,
336         Carlos Garnacho, Miguel Cabrera).
337
338 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
339
340         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
341         account when drawing the background.  (#393166, Benjamin Berg)
342
343 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
344
345         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
346         again.
347
348 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
349
350         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
351         both scroll arrows when calculating size request in GTK_POS_LEFT or
352         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
353
354 2007-01-05  Michael Natterer  <mitch@imendio.com>
355
356         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
357         the right function (fix taken from maemo-gtk).
358
359 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
360
361         * gdk/gdkprivate.h:
362         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
363         (gdk_draw_layout_with_colors):
364         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
365         Avoid overflow when converting coordinates to Pango units. (#332266,
366         Jody Goldberg)
367
368 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
369
370         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
371         after realization of the popup window, so clamp node doesn't fail.
372         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
373
374 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
375
376         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
377         variable.
378
379 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
380
381         * gtk/Makefile.am:
382         * gdk-pixbuf/Makefile.am:
383         * configure.in:
384         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
385         (#392646, Yevgen Muntyan)
386
387 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
388
389         * demos/gtk-demo/textscroll.c:
390         * gtk/gtkhandlebox.c:
391         * gtk/gtkcolorsel.c: Fix some compiler warnings.
392
393 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
394
395         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
396         by calling the input method regardless of editability,
397         and beeping from the commit/preedit-changed handlers.
398         (#390514, Yevgen Muntyan)
399
400 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
401
402         Fix #332604, reported by Joe Wreschnig, patch
403         by Jan Arne Petersen and Behdad Esfahbod.
404
405         * gtk/gtklabel.c (gtk_label_size_allocate): Only
406         set the width of the layout when necessary.
407         (get_layout_location): Use pango_layout_get_pixel_extents()
408         instead of pango_layout_get_width().
409
410 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
411
412         * modules/printbackends/cups/gtkprintbackendcups.c 
413         (available_choices): Don't leak conflicts.
414
415         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
416         Don't leak the status string.
417
418 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
419
420         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
421         Exit early if we can't get file info - this happens
422         if the iter points to the row where we are editing
423         the name for a newly created folder.  (#392191, Michael
424         Partridge, patch by Kristian Rietveld)
425
426 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
427
428         * gtk/*.c:
429         * gdk/x11/*.c: Apply a patch by Chris Wilson to
430         avoid spurious valgrind warnings from XSendEvent() 
431         calls.  (#392532)
432
433         * modules/printbackends/cups/gtkprintbackendcups.c: Close
434         the http connection after getting the PPD.
435
436         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
437         Fix memory leaks.  
438
439 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
440
441         * gtk/gtkassistant.c (remove_page): If the current page
442         is removed, always pick a different one.  (#392457, 
443         Colin Watson)
444
445 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
446
447         * modules/printbackend/cups/*.c: Coding style cleanups.
448
449 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
450
451         * configure.in: Export SED to make sourcing of
452         libtool work. Tighten up the directfb pkgconfig check.
453
454 2007-01-03  Michael Natterer  <mitch@imendio.com>
455
456         * gtk/gtkstyle.c (option_menu_get_props)
457         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
458         gtk_border_free when freeing borders.
459
460 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
461
462         * gtk/gtkentry.c (get_text_area_size): Work when the
463         entry is not realized.  (#392315, Yevgen Muntyan)
464
465         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
466         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
467
468         * gtk/gtkentry.c (cursor_blinks): Don't get settings
469         unnecessarily.  (#392227)
470
471 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
472
473         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
474         updates on the window at hand, not on all windows, to
475         avoid violating resize/redraw ordering constraints.
476         (#362406, Owen Taylor)
477         
478 2007-01-03  Kristian Rietveld  <kris@gtk.org>
479
480         * gtk/gtkcellrendererprogress.c
481         (gtk_cell_renderer_progress_class_init): fix docs.
482
483 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
484         
485         * gtk/updateiconcache.c: Include locale.h
486
487 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
488
489         * gtk/updateiconcache.c (main): Call setlocale().
490
491         * gtk/gtkfilesel.c:
492         * gtk/gtkfilesystemunix.c:
493         * gtk/gtkfilesystemwin32.c:
494         * gtk/gtkfilechoosersettings.c:
495         * gtk/updateiconcache.c: Consistently use folder instead of
496         directory in translated messages.  (#344584, Javier F. Serrador)
497
498 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
499
500         Try to fix #315732, reported by Luke Hutchinson:
501
502         * gdk/x11/xsettings-client.[hc]:
503         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
504         will guarantee that it can be looked up in the xid hash later.
505         Also, use the nesting server grab function during the xsettings
506         client initialization. Finally, make xsettings client not
507         eat DestroyNotifys so that GDK can do its regular cleanup. 
508
509 2007-01-02  Michael Natterer  <mitch@imendio.com>
510
511         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
512         when a keybinding didn't change adjustment->value.
513
514 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
515
516         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
517         Try harder not to beep on events which are not meant to
518         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
519
520 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
521
522         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
523
524 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
525
526         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
527         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
528
529 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
530
531         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
532
533 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
534
535         * gtk/gtkscrolledwindow.h:
536         * gtk/gtkscrolledwindow.c: Only handle key bindings
537         for scrolling if the scrollbars are visible.
538         (#340135, Christian Persch)
539
540 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
541
542         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
543         Don't segfault on horizontal scrolling.  
544
545 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
546
547         * gtk/gtknotebook.h:
548         * gtk/gtknotebook.c: Only handle key bindings for
549         tab reordering if the tabs are shown and reorderable. 
550         (#390468, Yevgen Muntyan)
551
552         * gtk/gtkmarshalers.list: Add required marshaler
553
554 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
555
556         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
557         Mention in the docs that the return value is
558         NULL-terminated.  (#383373, Christian Neumair)
559
560 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
561
562         * gtk/gtkicontheme.c (load_themes): Waste less time
563         with non-directories.  (#391725, Chris Wilson)
564
565 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
566
567         * gtk/gtkcellrendererprogress.c: Implement activity mode
568         for GtkCellRendererProgress.  (#377851, Brad Taylor)
569
570 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
571
572         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
573
574         * modules/printbackends/cups/gtkcupsutils.c
575         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
576         IPP_TAG_OPERATION.
577         * modules/printbackends/cups/gtkprintbackendcups.c
578         (gtk_print_backend_cups_print_stream): Don't add the
579         requesting-user-name attribute a second time. 
580
581 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
582
583         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
584
585 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
586
587         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
588         right object when disconnecting from the GtkRecentManager::changed
589         signal; save us a few indirections using a variable.
590
591 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
592
593         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
594         disconnections into the dispose function, as well as the
595         object unrefs; reset every handler id and the
596         pointers. (suggested by Paolo Borelli, #390873)
597
598 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
599
600         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
601         Kazuki Iwamoto)
602
603 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
604
605         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
606         scroll timeout.  (#390872, Yevgen Muntyan)
607
608 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
609
610         * gtk/gtkprintoperation-unix.c:
611         * gtk/gtkprintbackend.c:
612         * gtk/gtkfilechooserdefault.c:
613         * gtk/gtksettings.c: Move a few settings to gtksettings.c
614         to make sure they show up in the docs.  (#365364, Christian
615         Persch)
616
617 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
618
619         * gtk/gtkassistant.c: Redraw assistant on reallocate
620         to avoid rendering glitches.  (#343956, Christian
621         Persch, Carlos Garnacho)
622
623 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
624
625         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
626
627 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
628
629         * gtk/gtkaction.c: Improve the docs of the "label" 
630         property.  (#341730, Kristof Vansant)
631
632 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
633
634         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
635         Correctly handle min size. (#320465, Philipp Langdale)
636
637 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
638
639         * gtk/prop-editor.c: Implement editing of flags.
640
641 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
642
643         * gtk/gtkentry.c:
644         * gtk/gtklabel.c:
645         * gtk/gtkpaned.c:
646         * gtk/gtkstatusbar.c:
647         * gtk/gtktextview.c: Don't install cursors on insensitive
648         widgets.  (#358864, Jan Schampera)
649
650 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
651
652         * gtk/gtkrecentmanager.h:
653         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
654         Shiino Yuki)
655
656         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
657         Christian Persch)
658
659         * gtk/gtkentry.c (blink_cb):
660         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
661         if focus went missing. Just warn, clean up and continue.
662         (#374378)
663
664 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
665
666         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
667         originally received the event is a notebook page. (#315440, reported
668         by Mateusz Stefek)
669
670 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
671
672         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
673         Paolo Borelli)
674
675 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
676
677         * tests/prop-editor.c: Display children of containers
678         and cell renderers of cell layouts.
679
680         * gtk/gtk.symbols:
681         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
682         New function to get the cell renderers of a cell layout.
683
684         * gtk/gtktreeviewcolumn.c:
685         * gtk/gtkcellview.c:
686         * gtk/gtkiconview.c: Implement get_cells.
687
688 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
689
690         * gtk/gtkiconview.c: Use word wrapping by default, and
691         center multiline labels.  (#318763, Ross Burton)
692
693         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
694         case for single-line layouts.
695
696 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
697
698         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
699         David Lodge)
700
701         * gtk/gtkuimanager.c (update_node): Only use the results
702         of find_menu/toolbar_position() if they succeed. May fix
703         bug #388041.
704
705 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
706
707         * gdk/gdk.c: Fix some formatting errors in docs.  
708
709 2006-12-28  Tor Lillqvist  <tml@novell.com>
710
711         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
712         (gtk_status_icon_update_image): Don't leak HICONs on
713         Win32. (#364868, Hiroyuki Yamamoto)
714
715 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
716
717         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
718
719         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
720         * gtk/gtkmarshalers.list: add new marshaler definition.
721         * gtk/gtkenums.h: add GtkDragResult enum.
722
723         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
724         operation wasn't successful.
725         (_gtk_drag_source_handle_event) (gtk_drag_drop)
726         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
727         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
728         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
729         gtk_drag_drop_finished() the operation result.
730
731         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
732         (gtk_notebook_drag_data_get): do not call window creation hook here.
733         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
734         target, instead connect to "drag-failed".
735         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
736
737 2006-12-28  Mikael Hallendal  <micke@imendio.com>
738
739         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
740         integration into gdkeventloop-quartz.c.
741
742         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
743
744         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
745         integration.
746
747 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
748
749         * modules/printbackends/lpr/gtkprintbackendlpr.c 
750         (gtk_print_backend_lpr_print_stream): Close the io channel
751         on unref.  (#390159, Joe Markus Clarke)
752
753 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
754
755         * gdk/gdk.h: Remove redundant declarations (#390097,
756         Christian Persch)
757
758 2006-12-27  Kristian Rietveld  <kris@gtk.org>
759
760         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
761
762         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
763         gtk-alternative-sort-arrows.
764
765         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
766         new setting.
767
768         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
769         gtk-alternative-sort-arrows setting to true.
770
771         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
772         invert direction if gtk-alternative-sort-arrows is TRUE.
773
774 2006-12-27  Tor Lillqvist  <tml@novell.com>
775
776         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
777         gtk_status_icon_set_screen.
778
779         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
780         on Windows. Keep track of where the last button click on the
781         taskbar icon took place, and return that. Obviously not correct if
782         no button has ever been clicked on the icon, or if the geometry of
783         the taskbar has changed since. But for most use cases where a menu
784         is going to be displayed as a direct result of a button click on
785         the status icon, works fine. (#377349)
786
787         Implement getting the orientation property on Windows.
788
789         (gtk_status_icon_embedded_changed)
790         (gtk_status_icon_orientation_changed): Ifdefify these functions
791         that are used only on X11.
792
793 2006-12-27  Tor Lillqvist  <tml@novell.com>
794
795         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
796         typo. (#390035, Kazuki Iwamoto)
797
798 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
799
800         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
801
802         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
803         (gtk_combo_box_unset_model): Handle repeated unsetting
804         of models without warnings.  (#367529, Robert Ancell)
805
806 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
807
808         * modules/printbackends/cups/gtkcupsutils.c: 
809         * modules/printbackends/cups/gtkprintbackendcups.c: Use
810         getters for http fields where available.  (#364866, 
811         Björn Lindqvist)
812
813 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
814
815         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
816         (#362614, Xan Lopez)
817
818 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
819
820         * gtk/gtkuimanager.c (update_node): If a required action
821         is missing, don't recurse over the children.  (#349119,
822         Chris Moller)
823
824 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
825
826         Fix a few problems with nested menus in comboboxes
827         (#386694, Yevgen Muntyan)
828
829         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
830         connect the activate callback.
831         (gtk_combo_box_menu_item_activate): Do nothing if called on
832         an item with a submenu.
833         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
834         is empty.
835
836 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
837
838         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
839         filechooser button. Bug 353196.
840
841 2006-12-26  Kristian Rietveld  <kris@gtk.org>
842
843         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
844         the search dialog timeout never to be refreshed. (#389581,
845         Andrzej Szombierski).
846
847 2006-12-26  Kristian Rietveld  <kris@gtk.org>
848
849         Lots of scrolling fixes.  Made scrolling work properly in not fully
850         validated tree views; fixed a bunch of corner cases.
851
852         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
853         upper - page_size, we know it is located at the end so the test for
854         dy + height has been dropped.
855         In the same case if area_below < 0, we know this is the last node
856         in the tree view so area_above is page_size - height of this row.
857         (validate_visible_area): got rid of subtracting new_height -
858         old_height from area_{below,above}, it didn't make any sense at
859         all and the full height of the row should be subtracted instead.
860         (validate_visible_area): when scrolling to a given path, set the
861         top row directly together with the dy offset, then sync that top_row
862         to the dy.
863         (gtk_tree_view_set_top_row): new function to directly set a top_row.
864         (gtk_tree_view_dy_to_top_row): refactored to use
865         gtk_tree_view_set_top_row().
866         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
867         (gtk_tree_view_adjustment_changed): only update our dy and
868         top_row if the adjustment's dy actually changed.
869
870 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
871
872         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
873         Return the correct value from gtk_notebook_insert_page if the
874         page-added handler reorders the tabs. Bug #345094.
875
876 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
877
878         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
879
880         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
881         scrolling when hovering with a detached tab.
882         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
883         focus tab has changed during a tab DND operation.
884         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
885         (gtk_notebook_paint): do not take cur_page as a reference to paint the
886         box if it's detached.
887         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
888         to the detached tab if we hover the arrows during a tabs detaching 
889         operation, do not allocate it unconditionally in 0,0.
890
891 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
892
893         Expose improvements for GtkNotebook. Bug #383435
894
895         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
896         labels.
897         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
898         (gtk_notebook_draw_tab): do not send handmade expose events to tab
899         labels.
900
901 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
902
903         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
904         FALSE.  (#389623, Carlos Garnacho Parro)
905
906         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
907         redraws.
908
909 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
910
911         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
912         (gtk_plug_unrealize): Notify the "embedded" property also on
913         normal construction and when destroying the socket window.
914         Bug #388738.
915
916 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
917
918         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
919         (gtk_about_dialog_init), (display_credits_dialog),
920         (display_license_dialog):
921         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
922         (gtk_file_chooser_dialog_init),
923         (gtk_file_chooser_dialog_constructor),
924         (gtk_file_chooser_dialog_unmap):
925         * gtk/gtkrecentchooserdefault.c:
926         (_gtk_recent_chooser_default_init):
927         * gtk/gtkrecentchooserdialog.c:
928         (gtk_recent_chooser_dialog_class_init),
929         (gtk_recent_chooser_dialog_init),
930         (gtk_recent_chooser_dialog_constructor),
931         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
932         instead of using style-set handlers. Fix the filechooser's spacing
933         between content and action area to 12px. Bug #372447.
934
935 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
936
937         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
938         Don't assume statusbar->label is the statusbar's frame's child when
939         shrinking the size allocation when the grip is shown. Bug #372452.
940
941 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
942
943         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
944         (add_custom_paper): Fix mem leaks. Bug #389194.
945
946 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
947
948         * gtk/gtktextutil.c: Remove debug output.
949
950         * gtk/gtktextview.c: Improve the DND scrolling
951         behaviour.  (#92387, Carlos Garnacho Parro)
952
953         * gtk/gtkaccellabel.c: Improve translators comments.  
954         (#389298, Christian Persch)
955
956 2006-12-24  Bastien Nocera  <hadess@hadess.net>
957
958         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
959         (#389183)
960
961 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
962
963         * docs/reference/gtk/gtk-sections.txt:
964         * gtk/gtk.symbols:
965         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
966         * gtk/gtkprinter-private.h:
967         * gtk/gtkprinter.c: (gtk_printer_list_papers):
968         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
969
970 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
971
972         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
973         when is selected in page setup dialog. Fixes bug #365047.
974
975 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
976
977         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
978         Use gtk_border_free when freeing border.
979
980 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
981
982         * gtk/gtkentry.c (gtk_entry_button_press): When
983         shift-clicking, keep the larger part of the selection
984         selected.  (#353709, Benjamin Otte)
985
986         * gtk/gtkbutton.c (gtk_button_get_props): Use 
987         gtk_border_free when freeing borders.
988
989         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
990         careful when faking a button release.  (#323146,
991         Travis Abbott)
992
993         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
994         handle with the right orientation, depending on the
995         position of the handlebox.  (#159764, Benjamin Berg)
996
997 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
998
999         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
1000         GtkBorder (#383557).
1001
1002 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
1003
1004         Bug 340141 – Update to Pango 1.16 API
1005
1006         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
1007         (gdk_pango_layout_line_get_clip_region):
1008         * gtk/gtkcalendar.c (gtk_calendar_size_request):
1009         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
1010         (get_layout_position), (gtk_entry_find_position),
1011         (gtk_entry_adjust_scroll):
1012         * gtk/gtkiconview.c (get_pango_text_offsets):
1013         * gtk/gtklabel.c (get_cursor_direction):
1014         * gtk/gtkstyle.c (get_insensitive_layout):
1015         * gtk/gtktextdisplay.c (render_para):
1016         * gtk/gtktextlayout.c (allocate_child_widgets),
1017         (find_display_line_below), (find_display_line_above),
1018         (gtk_text_layout_move_iter_to_previous_line),
1019         (gtk_text_layout_move_iter_to_next_line),
1020         (gtk_text_layout_move_iter_to_line_end),
1021         (gtk_text_layout_iter_starts_line),
1022         (gtk_text_layout_move_iter_to_x):
1023         * gtk/gtktextutil.c (limit_layout_lines):
1024         Use the _readonly version of pango_layout_iter_get_line(),
1025         pango_layout_iter_get_run(), pango_layout_get_line(), and
1026         pango_layout_get_lines().
1027
1028         * gtk/gtkmain.c (gtk_get_default_language): Use
1029         pango_get_default_language().
1030
1031 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
1032
1033         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
1034         and notify:text only once. The same fix was applied
1035         for replacing the selection via DND or copy-and-paste.
1036         (#64998, Damon Chaplin, Sven Herzberg)
1037
1038 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
1039
1040         * gtk/gtkimmulticontext.c: Be careful to not override
1041         GTK+ translations with the translations of the input
1042         method.  (#317080, Tor Lillqvist)
1043
1044         * modules/input/imcedilla.c: Use standard macros
1045         for translation domain and locale dir.
1046
1047         * gtk/gtkimcontextsimple.c: Allow composing l with 
1048         stroke.  (#349638, Daniel Lublin)
1049
1050         * gtk/gen-paper-names.c: Fix a thinko in the suffix
1051         calculation.  (#382369, Christian Persch)
1052
1053         * gtk/paper_names_offsets.c: Regenerated.
1054
1055 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1056
1057         * modules/engines/pixbuf/pixbuf.h:
1058         * modules/engines/pixbuf/pixbuf-rc-style.h:
1059         * modules/engines/pixbuf/pixbuf-style.h: Move 
1060         G_GNUC_INTERNAL before function declarations.  (#352276,
1061         Damien Carbery)
1062
1063 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1064
1065         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
1066         Wilson)
1067
1068 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1069
1070         * *.c: Replace a lot of idle and timeout calls by
1071         the new gdk_threads api. 
1072
1073         * gdk/gdk.symbols:
1074         * gdk/gdk.h:
1075         * gdk/gdk.c: Add functions to allow threadsafe handling
1076         of idles and timeouts wrt. to the GDK lock.  (#321886,
1077         Chris Wilson)
1078         
1079 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1080         
1081         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
1082         (#340141, Behdad Esfahbod)
1083
1084         * configure.in: Check for getc_unlocked.
1085
1086         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
1087         unavailable.   (#381499)
1088
1089         * tests/teststatusicon.c: Fix a typo
1090
1091 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
1092
1093         Make it possible to track the embeddedness of
1094         statusicon (#387215, Martyn Russell, patch by Christian
1095         Persch)
1096
1097         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
1098         * gtk/gtkplug.c: 
1099         * gtk/gtkplug-x11.c: Add an embedded property.
1100         * tests/teststatusicon.c: Test the new properties.
1101
1102         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
1103         leak draw_border.  (#387170, Kjartan Maraas)
1104
1105 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
1106
1107          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
1108         Typo fix.  (#388123, Murray Cumming)
1109         
1110         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
1111         Generate double-click events.  (#380421, Tommi Komulainen)
1112
1113         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
1114         (_gdk_input_enter_event): Correct return_if_fail checks.
1115         (#379803, Tommi Komulainen)
1116
1117         * gdk/gdkdisplay.c: Improve the docs of some functions operating
1118         on the default display.  (##353438, Mariano Suárez-Alvarez)
1119
1120 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
1121
1122         * docs/reference/gdk/gdk-sections.txt:
1123         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
1124         converting a GdkColor to a string (#373856).
1125
1126         * configure.in: Bump pango requirement to 1.15.2.
1127
1128 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
1129         
1130         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
1131         Bastian Nocera)
1132
1133         * gdk/keyname-table.h: Regenerated
1134
1135         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
1136         Søren Wedel Nielsen)
1137
1138         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
1139         Silently return if a drag is already in progress, rather
1140         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
1141
1142         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
1143         Allow any GtkDialog that implements GtkFileChooser as
1144         dialog.  (#335473, Tommi Komulainen)
1145
1146 2006-12-20  Mikael Hallendal  <micke@imendio.com>
1147
1148         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
1149         change in the quartz backend.
1150
1151 2006-12-20  Mikael Hallendal  <micke@imendio.com>
1152
1153         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
1154         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
1155         status icon.
1156         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
1157
1158 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
1159
1160         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
1161         format of page ranges, and improve the page sequence icon
1162         for the case of n_copies == 1.
1163  
1164 2006-12-19  Mikael Hallendal  <micke@imendio.com>
1165
1166         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
1167         routine so that it can be used from libgtk as well (needed for
1168         upcoming GtkStatusIcon support in the Quartz port).
1169         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
1170         created from GDK, this is not true for the status icon.
1171         * gdk/quartz/gdkprivate-quartz.h:
1172         * gdk/quartz/gdkquartz.h: Added 
1173         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
1174         the status icon code.
1175
1176 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
1177
1178         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
1179         gtk_message_dialog_set_image ()
1180
1181         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
1182         (setting "window-placement-set" could result in a crash because
1183         of boolean/enum mixup)
1184
1185 2006-12-15  Federico Mena Quintero  <federico@novell.com>
1186
1187         Merged from gtk-2-10:
1188
1189         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
1190         the case where the new title is the same as the old title, to
1191         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
1192         equivalent).  Handle the case where title == priv->title.  This
1193         was found by the LSB compatibility tests:
1194         https://bugzilla.novell.com/show_bug.cgi?id=223882
1195
1196 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
1197
1198         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
1199         more closely resemble its Win32 counterpart. Bug #340204.
1200
1201 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
1202
1203         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
1204         placed inside their GdkWindow. Bug #385672.
1205
1206 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
1207
1208         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
1209
1210 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
1211
1212         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
1213         drawn with extra line below tab in MS-Windows theme. Patch by 
1214         Cody Russell
1215         
1216 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
1217
1218         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
1219         for print preview.  (#370041, Ghee Teo)
1220
1221 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
1222
1223         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
1224         careful when overdrawing antialiased text.  (#352435, Alex Jones,
1225         patch by Benjamin Otte)
1226
1227         * gtk/gtksettings.c: Change the way in which color scheme information
1228         is merged to correctly handle vanishing colors.  (#374420, 
1229         Benjamin Berg, patch by Callum McKenzie) 
1230         Also allow to separate entries in color schemes by ';' 
1231         instead of newline.  
1232
1233 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
1234
1235         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
1236         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
1237
1238 2006-12-10  Kristian Rietveld  <kris@gtk.org>
1239
1240         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
1241         cancel editing (ie. don't accept changes) when the entry loses
1242         focus. (Fixes #164494, reported by Chris Rouch).
1243
1244 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
1245
1246         * configure.in: Correct a misapplied patch. 
1247
1248 2006-12-10  Tor Lillqvist  <tml@novell.com>
1249
1250         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
1251         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
1252         developer zipfile. Users might add pixbuf loaders or immodules
1253         even if they are not interested in developing gtk+-using software.
1254
1255 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
1256
1257         * configure.in: Check for crt_extern.h and _NSGetEnviron.
1258         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
1259         environ is not available.  (#384168, Min Sik Kim)
1260
1261 2006-12-07  Paolo Maggi  <paolo@gnome.org>
1262
1263         Fixes bug #383407
1264         
1265         * gtk/gtkentry.c (gtk_entry_set_text): check for
1266         completion->priv->changed_id > 0 before calling 
1267         g_signal_handler_[un]block.
1268         (gtk_entry_completion_key_press): does not block/unblock the "changed"
1269         signal before calling gtk_entry_set_text.
1270         
1271 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
1272
1273         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
1274         xthickness/ythickness, they aren't used any longer for drawing.
1275
1276 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
1277
1278         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
1279         underlines by giving labels a small draw-border.
1280
1281 2006-12-06  Kristian Rietveld  <kris@gtk.org>
1282
1283         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
1284         draw progress bar through theme engine instead of using our own
1285         custom cairo drawing code (#377244, patch from Carlos Garnacho).
1286
1287 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
1288
1289         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
1290         Update the sensitivity of the collate checkbutton more frequently,
1291         proposed by Tim Waugh.
1292
1293 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
1294
1295         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
1296         since we no longer set window titles.
1297
1298 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
1299
1300         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
1301         (gtk_page_setup_set_paper_size): Don't leak the old page size when
1302         setting a new one. Bug #382314.
1303
1304 2006-12-03  Michael Natterer  <mitch@gimp.org>
1305
1306         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
1307
1308 2006-12-03  Kristian Rietveld  <kris@gtk.org>
1309
1310         Make sure [xy]_offset are always being initialized, fix pixbuf
1311         renderer padding.  (#108235, Sven Neumann).
1312
1313         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
1314         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
1315         of _get_size.
1316
1317         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1318         always initialize [xy]_offset.
1319         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
1320         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
1321         ditto.
1322
1323 2006-12-03  Kristian Rietveld  <kris@gtk.org>
1324
1325         * gtk/gtktreeview.c (validate_visible_area): when not using an
1326         explicit alignment, use the full area of the row (not just dy)
1327         to determine how to implicitly align it.  (Fixes #363191, reported
1328         by Federico Mena Quintero).
1329
1330 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
1331
1332         * gtk/gtkicontheme.c (insert_theme): Properly clean up
1333         if an icon theme index file has no directories.  (#381236)
1334
1335 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
1336
1337         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
1338         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
1339         
1340 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
1341
1342         Remove the broken Thai input method and add a functional Thai and Lao
1343         input method by Theppitak Karoonboonyanan. (#81031)
1344
1345         * modules/input/imthai.c:
1346         * modules/input/gtkimcontextthai.c:
1347         * modules/input/gtkimcontextthai.h:
1348         * modules/input/thai-charprop.c:
1349         * modules/input/thai-charprop.h:
1350         Added.
1351
1352         * modules/input/imthai-broken.c:
1353         Removed.
1354         
1355         * modules/input/Makefile.am:
1356         Updated.
1357
1358 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
1359
1360         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
1361
1362 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
1363
1364         * gtk/gtktextview.c: applied patch by  Colin Leroy for
1365         Control+GDK_KP_Left to move one word to the left, #356255.
1366
1367 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
1368
1369         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
1370           widget. (#379503)
1371
1372 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
1373
1374         * modules/printbackends/cups/gtkprintbackendcups.c: Make
1375         print dialog work when 'BrowseShortNames Off' is specified
1376         in cups configuration. Patch by Tim Waugh.
1377
1378 2006-11-24  Michael Natterer  <mitch@imendio.com>
1379
1380         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
1381         can't go up/down, consult gtk_widget_keynav_failed() and leave the
1382         widget if it returns FALSE (bug #322640).
1383
1384 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
1385
1386         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
1387
1388 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
1389
1390         * gtk/gtkrecentmanager.c:
1391         (get_uri_shortname_for_display): g_filename_from_uri() might
1392         fail; catch the failure and fall back to the non-local URI
1393         case. (#363437)
1394
1395 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
1396
1397         Fixes bug #376502 - multi-screen support for GtkStatusIcon
1398
1399         * gtk/gtkstatusicon.[ch]:
1400         (gtk_status_icon_set_screen),
1401         (gtk_status_icon_get_screen): add multi-screen API. Allows
1402         an app to display an icon on a non-default screen
1403         (gtk_status_icon_class_init),
1404         (gtk_status_icon_set_property),
1405         (gtk_status_icon_get_property): add a "screen" property
1406         
1407         * tests/teststatusicon.c: update to test on multiple screens
1408
1409 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
1410
1411         Fix problems with drag cancellation. (#376535, Michael Natterer)
1412         
1413         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
1414         handlers before emitting drag-end.
1415         (gtk_drag_end): Disconnect signal handlers before removing
1416         the grab.  
1417
1418 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
1419
1420         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
1421         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
1422
1423 2006-11-16  Michael Natterer  <mitch@imendio.com>
1424
1425         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
1426         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
1427         and gtk-keynav-wrap-around and wrap around, beep or continue outside
1428         the group manually (bug #322640).
1429
1430 2006-11-16  Michael Natterer  <mitch@imendio.com>
1431
1432         Add new infrastructure for notifications of failed keyboard
1433         navigation and navigation with restricted set of keys.
1434
1435         The patch handles configurable beeping, navigating the GUI with
1436         cursor keys only (as in phone environments), and configurable
1437         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
1438         and #309291.
1439
1440         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
1441         gtk-keynav-wrap-around and gtk-error-bell.
1442
1443         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
1444         API to emit it. Added New function gtk_widget_error_bell() which
1445         looks at the gtk-error-bell setting and calls gdk_window_beep()
1446         accordingly.
1447
1448         * gtk/gtk.symbols: add the new widget symbols.
1449
1450         * gtk/gtkcellrendereraccel.c
1451         * gtk/gtkimcontextsimple.c
1452         * gtk/gtkmenu.c
1453         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
1454         gtk-error-bell setting instead of calling gdk_display_beep()
1455         unconditionally.
1456
1457         * gtk/gtkcombobox.c
1458         * gtk/gtkentry.c
1459         * gtk/gtkiconview.c
1460         * gtk/gtklabel.c
1461         * gtk/gtkmenushell.c
1462         * gtk/gtkspinbutton.c
1463         * gtk/gtktextview.c
1464         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
1465
1466         * gtk/gtkentry.c
1467         * gtk/gtklabel.c
1468         * gtk/gtkrange.c
1469         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
1470         cursor navigation and leave the widget if it returns FALSE.
1471
1472         * gtk/gtkmenushell.c
1473         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
1474         is TRUE.
1475
1476         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
1477         whether to to wrap-around, and don't select active items on cursor
1478         navigation if gtk-keynav-cursor-only is TRUE. Should look at
1479         gtk-keynav-wrap-around too, will look into that.
1480
1481 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
1482
1483         * gtk/gtkrecentmanager.c:
1484         (gtk_recent_info_get_uri_display): Return the URI
1485         of the GtkRecentInfo object (upgraded to UTF-8 if
1486         needed) in case of non-local file. (#351945)
1487
1488 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
1489         
1490         * gtk/gtkrecentchoosermenu.c:
1491         (gtk_recent_chooser_menu_add_tip): Apply the tip only
1492         if we have a displayable name for the item. (#365031,
1493         patch by padraig.obriain(at)sun.com)
1494
1495 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
1496
1497         * gtk/gtkrecentmanager.c: Provide a fast path returning
1498         NULL when the limit is set to 0.
1499
1500         * gtk/gtkrecentchooserdefault.c:
1501         * gtk/gtkrecentchoosermenu.c: Add the same fast path
1502         inside the RecentChooser implementation; add a check
1503         in the list clamping code. (#373466 and duplicates)
1504
1505 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
1506
1507         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
1508         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
1509
1510 2006-11-15  Michael Natterer  <mitch@imendio.com>
1511
1512         * gtk/gtkrange.[ch]: added properties "fill-level",
1513         "show-fill-level" and "restrict-to-fill-level" and getters/setters
1514         for them. The "fill level" is an additional marker on the range's
1515         trough than can be e.g. used to indicate the amount of
1516         pre-buffering in a range showing the play position of streamed
1517         media. See the embedded API docs for details. Made GtkRangeLayout
1518         a GTypeInstance private struct and removed finalize()
1519         implementation. Fixes bug #349808
1520
1521         * gtk/gtk.symbols: added the new symbols.
1522
1523 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
1524
1525         * configure.in: Make libtool magic robust. (#352795)
1526
1527 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
1528
1529         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
1530         leak (#370395)
1531
1532 2006-11-09  Kristian Rietveld  <kris@imendio.com>
1533
1534         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
1535         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
1536
1537 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
1538
1539         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
1540
1541 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
1542
1543         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
1544         timeout running if the slider buttons are hidden. (#372527)
1545
1546 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
1547
1548         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
1549         the "Location" label bold. Bug #372449.
1550
1551 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
1552
1553         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
1554         non-focused tabs xthickness/ythickness thinner. (#353962)
1555
1556 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
1557
1558         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
1559         corruption (#357050).
1560
1561 2006-11-06  Alexander Larsson  <alexl@redhat.com>
1562
1563         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
1564         (gtk_drag_source_info_destroy), (gtk_drag_end),
1565         (gtk_drag_grab_notify_cb):
1566         Cancel drag when the grab is shadowed. (#122688)
1567
1568 2006-11-01  Kristian Rietveld  <kris@imendio.com>
1569
1570         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
1571         (gtk_combo_box_size_request): add arrow-size property to control
1572         the minimum size of the arrow, have the arrow scale up with the
1573         font by default. (#357950).
1574
1575 2006-10-30  Kristian Rietveld  <kris@gtk.org>
1576
1577         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
1578         forget to queue a draw for the new cursor node. (Fixes #366548,
1579         reported by Sven Herzberg).
1580
1581 2006-10-30  Michael Natterer  <mitch@imendio.com>
1582
1583         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
1584         only if we actually cancel a drag. Fixes bug #58389.
1585
1586 2006-10-30  Kristian Rietveld  <kris@gtk.org>
1587
1588         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
1589         keybindings to collapse/expand rows instead of moving the focus
1590         cursor. (#105895, Brian Bober and others).
1591
1592 2006-10-29  Kristian Rietveld  <kris@gtk.org>
1593
1594         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
1595         child removal in row-expanded callback. (#366782, John Ellis).
1596
1597 2006-10-29  Tor Lillqvist  <tml@novell.com>
1598
1599         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
1600         of the small icon of the window class. (#152620, Kazuki Iwamoto)
1601
1602 2006-10-29  Tor Lillqvist  <tml@novell.com>
1603
1604         * gdk/win32/gdkcursor-win32.c
1605         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
1606         for instance the built-in GDK ones.
1607
1608 2006-10-27  Kristian Rietveld  <kris@gtk.org>
1609
1610         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
1611         case to not overwrite the variables in the lower scope (which are
1612         used later on ...), get the path correctly and bail out when there
1613         isn't a node above us. (#359231).
1614
1615 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
1616
1617         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
1618
1619 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
1620
1621         * gtk/gtk.symbols: Add missing symbols to so make check can pass
1622
1623 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
1624
1625         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
1626         to free GDI Pen resources, introduced by bug 340201.(#364514)
1627         
1628 2006-10-18  Kristian Rietveld  <kris@imendio.com>
1629
1630         * tests/testcombo.c (main): connect to notify::popup-shown instead of
1631         popup-show (the latter does not exist).
1632
1633 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
1634
1635         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
1636         Fixes bug #362439.
1637
1638 2006-10-12  Michael Natterer  <mitch@imendio.com>
1639
1640         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
1641         (committed the wrong patch).
1642
1643 2006-10-12  Michael Natterer  <mitch@imendio.com>
1644
1645         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
1646         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
1647         obsolete now. Fixes bug #358293.
1648
1649 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
1650
1651         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
1652
1653 2006-10-11  Tor Lillqvist  <tml@novell.com>
1654
1655         * configure.in: Enable having some gdk-pixbuf loaders built-in
1656         even if loading the others dynamically. Define Automake
1657         conditional INCLUDE_FOO for each loader as TRUE if that loader is
1658         built-in. See also gdk-pixbuf/ChangeLog.
1659
1660 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
1661
1662         * docs/reference/gtk/gtk-sections.txt:
1663         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
1664
1665 2006-10-11  Tor Lillqvist  <tml@novell.com>
1666
1667         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
1668         variable.
1669
1670 2006-10-11  Tor Lillqvist  <tml@novell.com>
1671
1672         Merge from 2.10 branch:
1673
1674         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
1675         environment variable LC_ALL or LANG is set, set the Win32 thread
1676         locale to the corresponding locale. Then call the C library
1677         setlocale() to set the C library locale accordingly. The
1678         inconsistency mentioned below is gone. (#339756) Do some special
1679         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
1680         scripts for Azeri, Uzbek and Serbian.
1681         (enum_locale_proc): Helper function for the above functionality.
1682
1683         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
1684         if the environment variables are set here, as they have already
1685         been taken into account and the Win32 thread locale has been
1686         set.
1687
1688 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
1689
1690         * gtk/tmpl/gtkbindings.sgml: 
1691         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
1692         inline docs. applied wording fixes suggested by Martyn Russell.
1693
1694 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
1695
1696         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
1697         Update the docs to state which out parameters may be NULL.
1698         (#360870, Attilio Fiandrotti)
1699
1700 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1701
1702         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
1703         a typo.  (#359542, Ghee Teo)
1704
1705 2006-10-08 Matthias Clasen <mclasen@redhat.com>
1706
1707         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
1708         reorder tabs if the focus is in the tab.  (#350342, Carlos
1709         Garnacho Parro)
1710
1711 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
1712
1713         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
1714
1715 2006-10-08  Kristian Rietveld  <kris@gtk.org>
1716
1717         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
1718         (gtk_tree_view_set_show_expanders),
1719         (gtk_tree_view_get_show_expanders): add getter/setter for
1720         show-expanders property, queue a redraw when this property
1721         is toggled (#351167, Martin Ejdestig),
1722         (gtk_tree_view_set_level_indentation),
1723         (gtk_tree_view_get_level_indentation): also add getter/setter
1724         and docs for level-indentation property.
1725
1726 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
1727
1728         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
1729         leak a list.  (#360350, Benjamin Berg)
1730
1731         * Apply a cleanup patch by Kjartan Maraas  (#341812)
1732
1733 2006-10-07  Tor Lillqvist  <tml@novell.com>
1734
1735         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
1736         locale's first day of week setting on Win32. (#339752, Bogdan
1737         Nicula) Don't do this if one of the environment variables that
1738         affect gettext is set, though. In that case use the week start day
1739         from the corresponding message catalog.
1740
1741         Unfortunately the same logic isn't possible in the weekday and
1742         month name lookup; there even if you have set one of the
1743         aforementioned environment variables, you still get the weekday
1744         and month names from the Win32 thread locale. Yes, this is
1745         inconsistent.
1746
1747         Use only wide-character API in the Win32 code in this file, too.
1748
1749 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
1750
1751         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
1752         Fix the docs.  (#360112)
1753
1754         * gtk/gtkcellview.c: Don't set the background of the
1755         window in a no-window widget.  (#359581, Xan Lopez)
1756
1757
1758 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
1759
1760         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
1761         test correctly. (#359845)
1762
1763 2006-10-05  Michael Natterer  <mitch@imendio.com>
1764
1765         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
1766         rid of a key binding (in fact, it only lets it appear unbound).
1767
1768         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
1769         "guint marks_unbound : 1"
1770
1771         (gtk_binding_entry_skip): new API which marks the entry as unbound.
1772
1773         Changed code so it returns FALSE when "marks_unbound == TRUE" is
1774         encountered while activating bindings, effectively letting the
1775         binding appear unbound (regardless of still existing bindings in
1776         lower binding priority levels). Fixes bug #358329.
1777
1778         (gtk_binding_entry_add)
1779         (gtk_binding_entry_clear)
1780         (gtk_binding_entry_add_signall)
1781         (gtk_binding_parse_binding): deprected these functions.
1782
1783         (_gtk_binding_parse_binding)
1784         (_gtk_binding_entry_add_signall): new internal API.
1785
1786         * gtk/gtk.symbols: changed accordingly.
1787
1788 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1789
1790         Fix interaction of GtkEntryCompletion with input
1791         methods.  (#354495, Diego Escalante Urrelo)
1792
1793         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
1794         the im context if we actually handle the key event.
1795
1796         * gtk/gtkentrycompletion.c: Also propagate key release events
1797         to the entry.
1798
1799 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1800
1801         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
1802         Fix a typo.  (#359052, Ghee Teo)
1803
1804         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
1805         reduce relocations. (#359053)
1806
1807 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
1808
1809         * modules/printbackends/cups/gtkcupsutils.c:
1810         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
1811         the fix for bug 357280.
1812
1813 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1814
1815         * gdk-pixbuf/Makefile.am:
1816         * gdk/Makefile.am:
1817         * gtk/Makefile.am:
1818         Include pltcheck.sh in EXTRA_DIST.
1819
1820 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1821
1822         * gdk/x11/gdkevents-x11.c: Move all includes before including
1823         gdkalias.h.
1824
1825 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
1826
1827         * gtk/Makefile.am: Fix typo in file name.  (#358931)
1828
1829 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
1830
1831         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
1832         Only use the group name field if cups is new enough.  (#357280)
1833
1834         * gtk/gtksizegroup.c: Make sure that the quarks are 
1835         initialized before using them.  (#353736)
1836
1837         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
1838         replace existing links.  (#354849, James Evans)
1839
1840 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
1841
1842         * gtk/gtkexpander.c (gtk_expander_realize) 
1843         (gtk_expander_size_allocate): Make the event_window large
1844         enough to cover the full height of the label_widget.  (#358351,
1845         Scott Horowitz)
1846
1847 2006-10-01  Tor Lillqvist  <tml@novell.com>
1848
1849         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
1850
1851 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
1852
1853         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
1854         against base_path being NULL.  (#358405, many reporters)
1855
1856 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
1857
1858         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
1859         to avoid a deadlock.
1860
1861 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1862
1863         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
1864         (gtk_tree_model_filter_ref_node),
1865         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
1866         in sync with each other and the sort model.
1867
1868 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1869
1870         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
1871         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
1872         (gtk_tree_model_filter_new): unref the virtual root path once that
1873         node (or one if its ancestors) is deleted, set virtual_root_deleted
1874         so we only unref it once.
1875
1876 2006-09-27  Kristian Rietveld  <kris@imendio.com>
1877
1878         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
1879         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
1880         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
1881         (gtk_tree_model_sort_free_level): bring zero ref count loops in
1882         sync,
1883         (gtk_tree_model_sort_free_level): free child levels before
1884         decreasing the zero ref count of the current level,
1885         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
1886         is > 0.
1887
1888 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
1889
1890         * demos/gtk-demo/*.c:
1891         * gtk/gtkeventbox.c:
1892         * gtk/gtkprintoperation.c: Fix typos. String change.
1893
1894 2006-09-25  Kristian Rietveld  <kris@gtk.org>
1895
1896         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
1897         has already been realized; scroll to background area instead of
1898         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
1899
1900 2006-09-25  Kristian Rietveld  <kris@gtk.org>
1901
1902         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
1903         to create the GCs if the widget is realized. (Fixes #357578).
1904
1905 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
1906
1907         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
1908         the list of children (#357454, Paolo Borelli)
1909
1910 2006-09-25  Michael Natterer  <mitch@imendio.com>
1911
1912         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
1913         display->input_windows with g_free(), not g_object_unref()
1914         (#357566, Tommi Komulainen).
1915
1916 2006-09-24  Kristian Rietveld  <kris@gtk.org>
1917
1918         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
1919         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
1920         property to the API (left-over patch from #157439).
1921
1922 2006-09-24  Kristian Rietveld  <kris@gtk.org>
1923
1924         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
1925         the indicator if the column has a sort column id (and the model is
1926         sortable) or if the user explicitly requested the indicator
1927         to be shown.  (Fixes #352738, Chris Vine).
1928
1929 2006-09-23  Tor Lillqvist  <tml@novell.com>
1930
1931         * gtk/Makefile.am: Use EXEEXT.
1932
1933 2006-09-22  Michael Natterer  <mitch@imendio.com>
1934
1935         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
1936         and color hashes. Fixes bug #357132.
1937
1938 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
1939
1940         Make remote bookmarks work better (#354887)
1941         
1942         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
1943         (shortcuts_insert_path): 
1944         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
1945         (model_add_bookmarks): 
1946         (model_update_current_folder): 
1947         (update_label_and_image): 
1948         If the bookmark points to a remote file, don't call get_info(), 
1949         since that may a) take a long time and b) pop up an auth dialog.
1950         Instead, just use a folder icon and create a display name
1951         from the uri.
1952
1953         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
1954         New function to create a suitable display name for a remote
1955         uri. This should really be done in GtkFileSystem.
1956         
1957 2006-09-21  Michael Natterer  <mitch@imendio.com>
1958
1959        Implement lots of value setters for GdkGC, based on a heavily
1960        modified patch from Thomas Broyer (bug #328853):
1961
1962         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
1963         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
1964         which simply returns RGBA values from a GdkColor's pixel value.
1965         See gdk_quartz_update_context_from_gc() below.
1966
1967         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
1968         of members for the newly suppored GC values. Added enum
1969         GdkQuartzContextValuesMask which is used for setting up the
1970         CGContext for filling and/or stroking.
1971
1972         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
1973         (gdk_quartz_gc_set_values)
1974         (_gdk_windowing_gc_copy): support a lot more GC values.
1975
1976         (gdk_quartz_update_context_from_gc): added
1977         GdkQuartzContextValuesMask parameter and set filling/stroking
1978         parameters accordingly. This function also gained full control
1979         over the FG and BG colors (they can't be set separately any more).
1980
1981         The stipple mask part of the patch doesn't work but seems to take
1982         the right approach and doesn't make things worse, so I applied it.
1983
1984         Did *not* apply the clipping part of the patch since I don't
1985         understand it (I don't understand the version in CVS either, but
1986         it at least works :-)
1987
1988         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
1989         gdk_quartz_update_context_from_gc() and removed separate color
1990         setting calls. Some minor fixes.
1991
1992         * gdk/quartz/gdkwindow-quartz.c
1993         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
1994         fill color manually. We don't have/need a GC here.
1995
1996 2006-09-21  Michael Natterer  <mitch@imendio.com>
1997
1998         * gdk/quartz/gdkwindow-quartz.c
1999         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
2000         drawable_impl->wrapper that is the GdkWindow, not the
2001         drawable_impl itself.
2002
2003 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
2004
2005         * gdk/x11/gdkkeys-x11.c:
2006           (get_direction): just check the first shift-level of keyboard
2007         layout for RTL and LTR keysyms() (compliment to #116626)
2008
2009 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
2010
2011         * gtk/gtkviewport.c: always update the bin_window position and size
2012         in size_allocate, even if we don't have a visible child. this fixes
2013         expose artefacts as described in #313508.
2014
2015         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
2016         have no visible child explicit.
2017
2018 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
2019
2020         * docs/reference/gdk/gdk-sections.txt:
2021         * gdk/gdk.symbols:
2022         * gdk/gdkpango.h:
2023         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
2024           (gdk_pango_layout_get_clip_region): Remove an unused variable.
2025           (gdk_pango_attr_embossed_new): Fix documentation.
2026
2027 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
2028
2029         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
2030         control the arrow/border ratio within the allocation.
2031
2032         * tests/testgtk.c: added a GtkArrow to handle box test.
2033
2034         * tests/testgtkrc: test ::arrow-scaling property.
2035
2036 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
2037
2038         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
2039         Display an error when we come to the root.  
2040
2041 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
2042
2043         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
2044         the combobox. 
2045
2046         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
2047         bookmarks to the model in local-only mode, to avoid 
2048         authentication dialogs pop up for invisible bookmarks, and
2049         to fix issues with separators not being hidden when
2050         they should.  (#354887, Dennis Cranston)
2051
2052 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
2053
2054         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
2055         treeview use in list mode.  (#355732, Richard Hult)
2056
2057         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
2058         change notification for the right property.  (#355308,
2059         Torsten Schoenfeld)
2060
2061 2006-09-15  Michael Natterer  <mitch@imendio.com>
2062
2063         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
2064         header navigation/resizing/reordering to be more readable and lose
2065         one level of nesting.
2066
2067 2006-09-15  Kristian Rietveld  <kris@imendio.com>
2068
2069         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
2070         return after handling column button focus; we disable wrap around
2071         with this (which actually happened via a really weird code path).
2072         (Michael Natterer)
2073
2074 2006-09-15  Kristian Rietveld  <kris@imendio.com>
2075
2076         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
2077         code RTL aware, also break from the loops after we have seen the
2078         focussed column button (Michael Natterer).
2079
2080 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
2081
2082         * tests/testrichtext.c (main): intialize random number generator state
2083         upon program start, to enable truely random testing.
2084
2085 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
2086
2087         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
2088         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
2089         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
2090                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
2091         * gdk/quartz/Makefile.am same change as directfb Makefile
2092         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
2093
2094 2006-09-13 Matthias Clasen <mclasen@redhat.com>
2095
2096         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
2097         for the grab widget, to make the color picker work with window
2098         groups.  
2099
2100 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
2101
2102         signed off by: Dom Lachowicz
2103         
2104         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
2105         a large number of improvements to the Microsoft Windows theme engine
2106         which are fully described in the bug report.
2107         
2108 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
2109
2110         * tests/testgtk.c: fixed compiler warnings.
2111
2112 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
2113
2114         * gtk/gtkfilechooserbutton.c (model_add_special): Request
2115         the display name too, otherwise "Desktop" does not appear
2116         in the file chooser button. 
2117
2118 2006-09-10  Tor Lillqvist  <tml@novell.com>
2119
2120         * gdk/win32/gdkprivate-win32.h
2121         * gdk/win32/gdkmain-win32.c
2122         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
2123         0x0500 in gdkprivate-win32.h instead of doing it in two source
2124         files. (#355212, Mike Edenfield)
2125
2126         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
2127         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
2128
2129 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
2130
2131         * Commit a patch by Behdad to fix typos, omissions and other
2132         errors in the symbol aliasing, and add checks for local PLT
2133         entries.  (#354687, Behdad Esfahbod)
2134
2135         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
2136         the flush timeout.  (#354043, Nelson Benitez)
2137         
2138         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
2139         Improve wording. String change!  (#355126, David Lodge)
2140
2141         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
2142         David Lodge)
2143
2144         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
2145         David Lodge)
2146
2147 2006-09-09  Matthias Clasen <mclasen@redhat.com>
2148
2149         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
2150         (#353916, Chris Wilson)
2151
2152         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
2153         Don't leak the to_reset list.  (#353914, Chris Wilson)
2154
2155         * gtk/gtkwidget.c: Add docs for the parent-set signal.
2156         (#353772, Mariano Suárez-Alvarez)
2157
2158 2006-09-08  Matthias Clasen <mclasen@redhat.com>
2159
2160         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
2161         Don't clear clipboards here, since we are called from finalize
2162         and can't emit signals.
2163
2164         * configure.in: Set version to 2.11.0
2165
2166 2006-09-06  Richard Hult  <richard@imendio.com>
2167
2168         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
2169         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
2170
2171 2006-09-04  Kristian Rietveld  <kris@imendio.com>
2172
2173         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
2174         if setting the given folder failed, try setting the parent folder
2175         until we succeed; display an error box at the end.
2176
2177 2006-09-04  Kristian Rietveld  <kris@imendio.com>
2178
2179         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
2180         operations spawned by buttons here,
2181         (set_button_image_get_info_cb): bail out if button is NULL, but
2182         do free button_data,
2183         (button_data_free): only free the data if non NULL (since this
2184         function can be called multiple times for the same data), cancel
2185         handle if pending but don't free button_data in this case (will
2186         happen in the callback).
2187
2188 2006-09-04  Michael Natterer  <mitch@imendio.com>
2189
2190         * gtk/gtkrc.c (rc_parse_token_or_compound)
2191         (gtk_rc_parse_assignment): serialize floating point values using
2192         locale-independent functions. (#346751, Frederic Crozat)
2193
2194 2006-09-04  Tor Lillqvist  <tml@novell.com>
2195
2196         * gdk/win32/gdkevents-win32.c
2197         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
2198         window handling (PeekMessage, PostMessage, SendMessage,
2199         DispatchMessage, DefWindowProc, RegisterClassEx,
2200         CreateWindowEx). (#321597)
2201
2202 2006-09-03  Kristian Rietveld  <kris@imendio.com>
2203
2204         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
2205         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
2206         change file_exists_and_is_not_folder checks to get the file info
2207         for the path directly instead of querying the current file folder
2208         of the save entry.
2209
2210         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
2211         new field.
2212
2213         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
2214         (test_reload_sequence), (test_button_folder_states_for_action): wait
2215         for idle after setting a folder to ensure the async operations to load
2216         the folder are finished,
2217         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
2218         factor out test_confirm_overwrite code so we can add tests for more
2219         paths more easily.
2220
2221 2006-09-03  Richard Hult  <richard@imendio.com>
2222
2223         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
2224         exposure isn't in the event mask, plug a leak, and check that the
2225         window isn't destroyed.
2226         (isOpaque): Check that the window isn't destroyed, fixes bug 
2227         #353028.
2228
2229 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
2230
2231         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
2232         (#354035, Mariano Suárez-Alvarez)
2233
2234         * gtk/gtkmain.c (post_parse_hook): 
2235         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
2236         (#354004, Chris Wilson)
2237
2238 2006-09-03  Tor Lillqvist  <tml@novell.com>
2239
2240         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
2241         GDK_WINDOW_DISPLAY in the Win32 backend.
2242
2243         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
2244         gtkfilesystemunix.c
2245
2246 2006-09-02  Kristian Rietveld  <kris@imendio.com>
2247
2248         First part of file chooser fixes.
2249
2250         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
2251         handle in the model for the desktopdir case.
2252
2253         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
2254         volume in case we retrieved it but don't pass it on to insert_path,
2255         (shortcuts_model_create): change the column type for the handles
2256         to pointer instead of GObject so our handle ref counting is not
2257         disturbed,
2258         (show_and_select_paths_finished_loading): don't forget to unref
2259         the dialog.
2260
2261         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
2262         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
2263         remove pending execute_callbacks_idle during dispose, also
2264         execute all callbacks waiting to be run in the next idle,
2265         (queue_*callback), (execute_callbacks_idle): refactor to maintain
2266         a list of callbacks to call per file system instead of globally,
2267         guard the file system during callback invocation,
2268         (gtk_file_system_unix_get_folder): only add load folder idle if
2269         none has been added yet.
2270
2271 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
2272
2273         * gtk/gtkentry.c: Don't unnecessarily reset the im context
2274         when deleting the selection.  (#353803, Alex Larsson)
2275
2276 2006-09-01  Abel Cheung  <abel@oaka.org>
2277
2278         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
2279
2280 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
2281
2282         Stop cursor blinking after a configurable timeout.
2283         (#353670, #352442, Arjan van de Ven, Manu Cornet)
2284         
2285         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
2286         gtk-cursor-blink-timeout setting, which specifies the number
2287         of seconds that the cursor should blink after a user interaction.
2288         The default value is G_MAXINT to preserve the current behaviour.
2289
2290         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
2291         seconds.
2292
2293         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
2294         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
2295         blink timer.
2296
2297         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
2298         seconds. 
2299
2300         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
2301         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
2302         Reset the blink timer.
2303         
2304 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
2305
2306         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
2307         explicit format capabilities.  (#346505, Christian Persch)
2308
2309         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
2310
2311 2006-08-31  Michael Natterer  <mitch@imendio.com>
2312
2313         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
2314
2315 2006-08-30  Richard Hult  <richard@imendio.com>
2316
2317         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
2318
2319 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
2320
2321         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
2322         for beeping if we are using XKB.  
2323
2324 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
2325
2326         * gdk/gdkwindow.h: 
2327         * gdk/gdk.symbols: 
2328         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
2329         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
2330         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
2331         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
2332         to beep on a window. For X11, implement this with
2333         XkbBell.  (#353455, Mariano Suárez-Alvarez)
2334         
2335 2006-08-29  Tor Lillqvist  <tml@novell.com>
2336
2337         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
2338         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
2339         it isn't being maintained anyway. If somebody is interested, it
2340         can always be found in older GTK+ versions, and in CVS.
2341
2342         * configure.in
2343         * acconfig.h
2344         * gdk/Makefile.am
2345         * gdk/win32/Makefile.am
2346         * gdk/win32/libie55uid.la
2347         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
2348         switch and associated stuff. Active IMM and the <dimm.h> header
2349         was used for IM support on NT4 and Win9x. Win2k and later have IM
2350         support built-in.
2351
2352         * gdk/win32/gdkcursor-win32.c
2353         * gdk/win32/gdkdnd-win32.c
2354         * gdk/win32/gdkdrawable-win32.c
2355         * gdk/win32/gdkevents-win32.c
2356         * gdk/win32/gdkgc-win32.c
2357         * gdk/win32/gdkglobals-win32.c
2358         * gdk/win32/gdkkeys-win32.c
2359         * gdk/win32/gdkmain-win32.c
2360         * gdk/win32/gdkproperty-win32.c
2361         * gdk/win32/gdkselection-win32.c
2362         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
2363         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
2364         branches, and any variables or static functions used only by the
2365         Win9x branches.
2366
2367         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
2368         constants that aren't missing from current mingw and MSVC6
2369         headers.
2370
2371         * gdk/win32/gdkmain-win32.c
2372         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
2373         function. On NT-based Windows GetLastError() returns error codes
2374         also for failed GDI calls, so we can use _gdk_win32_api_failed()
2375         always.
2376
2377 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
2378
2379         * gtk/gtkrecentchoosermenu.c
2380         (gtk_recent_chooser_menu_set_current_uri): Break when an item
2381         is found and activated. (#353449, based on a patch by Jan Arne
2382         Petersen)
2383
2384 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
2385
2386         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
2387         properties which make all hardcoded padding and spacing values
2388         configurable. properly swap ::text-xalign treatment for RTL widgets.
2389
2390         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
2391         proeprty more consistent with GtkMisc alignment blurbs. mention
2392         RTL treatment for text-xalign.
2393
2394 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
2395
2396         * tests/testgtk.c: allow (most) windows to be resizable.
2397         added ellipsization settings to progress bars. 
2398
2399 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
2400
2401         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
2402         resonable timeout of 3 seconds when polling for printer
2403         list updates, instead of 300000 seconds...
2404
2405 2006-08-28  Michael Natterer  <mitch@imendio.com>
2406
2407         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
2408         </apply_tag> for tags that have already been closed by the logic
2409         which turns overlapping spans into XML-able trees. Fixes broken
2410         XML when there are overlapping tags in the buffer. Also free two
2411         leaked GLists and did some cleanup.
2412
2413         * tests/Makefile.am
2414         * tests/testrichtext.c: new test which creates randomly tagged
2415         GtkTextBuffers and serializes/deserializes them.
2416
2417 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
2418
2419         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
2420         Don't leak pixbufs.  (#352264, Ross Burton)
2421
2422         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
2423         PangoAttributes.  (#352391, Paolo Borelli)
2424
2425 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
2426
2427         * demos/gtk-demo/Makefile.am:
2428         * demos/gtk-demo/textscroll.c: Add an example of automatic
2429         scrolling, thanks to Yevgen Muntyan.  (#351206)
2430         
2431         * gtk/gtkmodules.c (find_module): Use local binding when
2432         loading modules.  (#351868)
2433
2434 2006-08-24  Michael Natterer  <mitch@imendio.com>
2435
2436         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
2437         the hostname instead of NULL.
2438
2439 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
2440
2441         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
2442         names and values in comboboxes, and clean up some
2443         coding style issues.
2444
2445 2006-08-23  Tor Lillqvist  <tml@novell.com>
2446
2447         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2448         Revert unintended translatable string addition. Use same string
2449         in GError as in gtkfilesystemunix.c.
2450
2451         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
2452         Fix logic at the end of strings. 
2453
2454         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
2455         handles and check that we have no outstanding handles at
2456         finalization time. (Copying what Matthias did for
2457         gtkfilesystemunix.c)
2458
2459 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
2460
2461         * gtk/gtkfilesystemunix.c: Maintain a hash table
2462         of live handles and check that we have no outstanding
2463         handles at finalization time. (Copying what
2464         Federico did for gtkfilesystemgnomevfs.c)
2465
2466 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
2467
2468         * Branch for 2.10
2469