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