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