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