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