]> Pileus Git - ~andy/gtk/blob - ChangeLog
Fix typo to get the build working.
[~andy/gtk] / ChangeLog
1 2007-05-26  Richard Hult  <richard@imendio.com>
2
3         * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
4         build working.
5
6 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
7
8         * configure.in: Require gtk-doc 1.6, for signal and property links.
9         * gtk/gtkbox.c:
10         * gtk/gtkbutton.c:
11         * gtk/gtkcontainer.c:
12         * gtk/gtkdialog.c:
13         * gtk/gtkentry.c:
14         * gtk/gtkimage.c:
15         * gtk/gtklabel.c:
16         * gtk/gtkmisc.c:
17         * gtk/gtksettings.c:
18         * gtk/gtkwidget.c: Documentation improvements, link signals
19         and properties where it makes sense.
20
21 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
22
23         * gtk/gtktextmark.c:
24         * gtk/gtktextbuffer.c: Formatting fixes.
25
26 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
27
28         Allow to separate GtkTextMark creation from buffer insertion.
29         (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
30
31         * gtk/gtktextmarkprivate.h:
32         * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
33         create a GtkTextMark.
34
35         * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
36         function to add an existing mark to a buffer. 
37
38         * gtk/gtktextbtree.c: Allow adding existing marks.
39
40         * gtk/gtk.symbols: Add new functions.
41
42         * tests/testtextbuffer.c: Add some tests for new mark 
43         functionality.
44
45 2007-05-25  Xan Lopez  <xan@gnome.org>
46
47         * gtk/gtkaction.c: (gtk_action_set_short_label):
48         Use private->data->short_label to update the proxies. (#440780)
49
50 2007-05-25  Richard Hult  <richard@imendio.com>
51
52         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
53         Implement copying from a window, part of bug #348493.
54
55 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
56
57         * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
58         refence on the print operation until gtk_print_job_send()
59         is done.  (#440040, Chris Vine)
60
61 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
62
63         * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
64         Don't crash and don't leak.  (#439565, Pedro Villavicencio)
65
66 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
67
68         * gtk/gtkiconfactory.c: Improve a warning
69         * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
70         set the error when returning NULL.  (#440982, Carlos Garcia
71         Campos)
72
73 2007-05-25  Michael Natterer  <mitch@imendio.com>
74
75         Merge fix from maemo-gtk:
76
77         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
78         also if the menu item we're entering is already selected. Also, it
79         makes no sense to forward the event to the parent menu shell if we
80         are entering a menu item of *this* menu shell.
81
82 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
83
84         * gtk/stock-icons/*: Make sure all svg icons are added
85         as pngs.
86
87 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
88
89         * modules/input/Makefile.am: Fix broken DESTDIR support
90
91 2007-05-24  Michael Natterer  <mitch@imendio.com>
92
93         * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
94         Bogdan Nicula which fixes a crash on GdkWindows which have no
95         GtkWidget as user_data (bug #440890).
96
97 2007-05-24   Matthias Clasen  <mclasen@redhat.com>
98
99         * configure.in: Bump version
100
101         * === Released 2.11.0 ===
102
103         * NEWS: Updates
104
105 2007-05-23   Matthias Clasen  <mclasen@redhat.com>
106
107         * gtk/gtk.symbols: 
108         * gdk/x11/xsettings-common.h: 
109         * gdk/gdk.symbols: Add some missing symbols.
110
111         * gtk/paper_names_offsets.c:
112         * gtk/gen-paper-names.c: Make variables static.
113
114         * gtk/gtktooltip.[hc]:
115         * gtk/gtkvolumebutton.c:
116         * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
117
118 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
119
120         * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
121
122         * gtk/gtkhandlebox.c (gtk_handle_box_paint):
123         * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
124         * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
125         * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
126         * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
127         * gtk/gtkpreview.c (gtk_preview_finalize):
128         * gtk/gtknotebook.c (gtk_notebook_set_group_id):
129         * tests/testnotebookdnd.c (window_creation_function):
130         * tests/testiconview.c (do_popup_menu):
131         Fixed some compiler warnings (#440689).
132
133 2007-05-23  Kristian Rietveld  <kris@imendio.com>
134
135         * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
136         from the window they were received on to the event widget's window;
137         correct for no-window widgets after that, bail out on failure.  This
138         makes the coordinates given by GtkWidget::query-tooltip truly relative
139         to widget->window.  (#435188).
140
141         * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
142         GtkWidget::query-tooltip.
143
144 2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
145
146         * gtk/gtkprintcontext.c (gtk_print_context_finalize),
147         (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
148         (gtk_print_context_set_cairo_context),
149         (gtk_print_context_get_pango_fontmap),
150         (gtk_print_context_create_pango_context):
151         Don't create new pango fontmaps.  Use the default pangocairo
152         fontmap and set resolution on PangoContext instead. (#417707)
153
154 2007-05-21  Richard Hult  <richard@imendio.com>
155
156         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
157         resolution.
158         
159         * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
160
161 2007-05-21  Michael Natterer  <mitch@imendio.com>
162
163         * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
164
165 Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
166
167         * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
168
169 2007-05-21  Tor Lillqvist  <tml@novell.com>
170
171         * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
172         multiple monitors.
173
174 2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
175
176         * gdk/directfb/gdkwindow-directfb.c:
177         * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
178         required to enable gdk_directfb_create_child_window.
179         (Closes: #437379)
180
181 2007-05-20  Bastien Nocera  <hadess@hadess.net>
182
183         * gtk/Makefile.am:
184         * gtk/gtk.h:
185         * gtk/gtk.symbols:
186         * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
187         a button that pops up a scale when clicked (Closes: #415775)
188         * tests/Makefile.am:
189         * tests/testvolumebutton.c: Add a test program for the
190         volume button
191
192 2007-05-19  Bastien Nocera  <hadess@hadess.net>
193
194         reviewed by: Matthias Clasen <mclasen@redhat.com>
195
196         * gtk/Makefile.am:
197         * gtk/gtk.h:
198         * gtk/gtk.symbols:
199         * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
200         a button that pops up a scale when pressed
201
202 2007-05-19  Matthias Clasen  <mclasen@redhat.com>
203
204         * gtk/gtk.symbols:
205         * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
206         in favour of new functions gtk_notebook_[gs]et_group, which
207         takes a pointer as group identifier and makes it easier to
208         avoid group id collisions.  (#386930, Christian Hammond)
209                 
210         * tests/testnotebookdnd.c: Use new grouping api.
211
212 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
213
214         * gtk/gtkactiongroup.c: Warn and refuse to add actions with
215         duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
216         Vahlman)
217
218 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
219
220         * gtk/gtk.symbols:
221         * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
222         to allow automatic scrolling in response to cursor movements
223         in the entry.  (#438651, Nate Nielsen)
224
225 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
226
227         * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
228         signal, and bind F7 to it.  (#380048, Tim Miao)
229
230 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
231
232         * gtk/gtk.symbols:
233         * gtk/gtkicontheme.h:
234         * gtk/gtkicontheme.c: Add a function to look up an icon from
235         a list of icon names.  (#396901, Luca Ferretti)
236
237 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
238
239         * gtk/gtkrecentchooserdefault.c:
240         (gtk_recent_chooser_default_dispose): Reset the state on dispose.
241
242         (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
243         is a valid state, if the main loop never had the chance to
244         properly spin at least once. (#438671)
245
246 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
247
248         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
249         string for translation. (#439437)
250
251 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
252
253         * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
254         doc typo.  (#438100, Vincent Untz)
255
256 2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
257
258         * INSTALL.in:
259         * README.in:
260         * configure.in: Bump libtiff requirement to 3.6.0, by requiring
261           presence of TIFFReadRGBAImageOriented.
262
263         * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
264         Preserve pixbuf options when generating a new scaled pixbuf.
265
266         * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
267         (gdk_pixbuf__jpeg_image_load_increment): Read the exif
268         orientation tag and associate it with the "orientation" pixbuf
269         option. Renders libexif unnecessary in some applications.
270
271         * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
272         compensate for the partial rotations performed by libtiff,
273         and generate an "orientation" option for the pixbuf.
274
275 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
276
277         * gtk/gtkexpander.c: remove c++ style comment.
278
279 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
280
281         Make combobox menu popdown keybindable (#433593)
282
283         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
284         signal and keybindings.
285         (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
286         handler.
287         (gtk_combo_box_menu_key_press):
288         (gtk_combo_box_list_key_press): forward the event to the combobox if
289         it wasn't handled by the menu.
290
291 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
292
293         * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
294         (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
295         their DnD handlers if the target doesn't match with anything the
296         notebook manages. (#350665, Joakim Lundborg).
297
298 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
299
300         Refactor GtkFileChooserDialog sizing.
301
302         * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
303         (_gtk_file_chooser_embed_get_resizable_hints):
304         s/resizable_hints/resizable/, return just one boolean value to
305         determine whether the filechooser should be resizable or not.
306
307         * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
308         variables related to the GtkFileChooserEmbed get_default_size() and
309         get_resizable() implementations.
310         (struct GtkFileChooserDefault): Move default size management here.
311
312         * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
313         Added, store currently allocated size to calculate default size later.
314         (gtk_file_chooser_default_get_resizable_hints):
315         s/resizable_hints/resizable/.
316         (gtk_file_chooser_default_set_property): Reload settings if the file
317         chooser action changes, this way the save expander state will be known
318         before mapping the window, avoiding wrong window positioning and
319         flickering. (#424299, #424309)
320         (find_good_size_from_style): Only get size from style if it wasn't set
321         previously.
322         (gtk_file_chooser_default_get_default_size): return default size based
323         on stored default size and preview/extra widget sizes.
324
325         * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
326         (file_chooser_widget_realized_size_changed)
327         (file_chooser_widget_unrealized_size_changed): simplified to
328         (file_chooser_widget_size_changed): set window size and resizability
329         based on the GtkFileChooserEmbed interface implementation. (Bug
330         #420285, Tomeu Vizoso)
331         (gtk_file_chooser_dialog_map): force a dialog size change, so it's
332         clamped for sure to the 75% of the screen size.
333
334 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
335
336         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
337         the brand new current page if there was none set previously. Fixes
338         #425138 (Reported by Michail Crayson). Some code simplifications.
339         (gtk_notebook_draw_arrow): code style fix.
340
341 2007-05-16  Matthias Clasen  <mclasen@redhat.com>
342
343         * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
344         buttons. Keep the focus from vanishing when Up or Down arrows
345         become insensitive or invisible.  (#357005, Patrick Wade)
346
347 2007-05-16  Brian Cameron  <brian.cameron@sun.com>
348
349         * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
350           gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
351           gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
352           gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
353           hardware acceleration via mediaLib is enabled if mediaLib is
354           detected via configure.  Enhancement request #344813.  I was given
355           permission to commit in the bug report by Matthias Clasen.
356         * gdk/medialib.[ch]: New files added for mediaLib support.
357         * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
358           docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
359           mediaLib support.
360
361 2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>
362
363         * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
364         priv->free_platform_data to prevent gtk_print_operation_finalize()
365         from freeing the cairo surface a second time.
366
367 2007-05-14  Kristian Rietveld  <kris@gtk.org>
368
369         * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
370         dangling semicolon, fixes the segfault ebassi was seeing earlier today
371         ;)
372
373 2007-05-14  Tristan Van Berkom  <tvb@gnome.org>
374
375         * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
376         were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
377         the GtkAboutDialog now uses the "program-name" property instead of 
378         the conflicting "name" property (fixes bug 345822).
379
380 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
381
382         * configure.in: Add check for GNU extensions to ftw()/nftw().
383
384         * gtk/gtksearchenginesimple.c: Fix compilation on systems with
385         only POSIX-compliant ftw(). (#435797, based on a patch by
386         Richard Hult)
387
388 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
389
390         * gtk/gtkfilechooserdefault.c:
391         Convert the GtkTreeIter inside the sorting functions for the
392         search and recent modes. This doesn't yet fix the segfault when
393         clicking the 'Name' column in recent mode, though.
394
395 2007-05-14  Behdad Esfahbod  <behdad@gnome.org>
396
397         * modules/input/gtkimcontextthai.c
398         (gtk_im_context_thai_filter_keypress):
399         Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
400
401 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
402
403         * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
404         as 2.12 addition.  (#438131, Mart Raudsepp)
405
406 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
407
408         * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
409         size requisition for wide vertical separators.  (#438113, 
410         Benjamin Berg)
411
412 2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>
413
414         * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
415         all the symbols defined in <ftw.h> conditionally.
416
417 2007-05-13  Cody Russell  <bratsche@gnome.org>
418
419         * gdk/win32/gdkevents-win32.c: Only do the configure event context
420         iteration under WM_WINDOWPOSCHANGED instead of inside
421         handle_configure_event().  This fixes a bug that prevented window
422         contents from being redrawn after gtk_window_resize(). (#436721)
423
424 2007-05-12  Behdad Esfahbod  <behdad@gnome.org>
425
426         * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
427         generation.  (#437879, Eddie C. Dost)
428
429 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
430
431         GtkFileChooser search fixes and recent files support.  (#435342)
432         
433         * gtk/gtkfilechooserdefault.c: Support drag and drop for
434         adding shortcuts of folders when in search or recent files
435         mode.
436
437 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
438
439         GtkFileChooser search fixes and recent files support.  (#435342)
440
441         * gtk/gtkfilechooserprivate.h:
442         * gtk/gtkfilechooserdefault.c: Follow the sorting order of
443         the GtkTreeView displaying the files list.
444
445         (shortcuts_get_index), (shortcuts_insert_separator),
446         (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
447         the separator between the Search and the Recently Used shortcuts.
448
449         (list_select_func), (list_icon_data_func), (list_name_data_func),
450         (list_mtime_data_func): Update the sensitivity of the row
451         depending on the GtkFileChooserAction used.
452
453 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
454
455         GtkFileChooser search fixes and recent files support.  (#435342)
456
457         * gtk/gtkfilechooserprivate.h:
458         * gtk/gtkfilechooserdefault.c: Update the contents of the
459         files list when changing the filter of the GtkFileChooserDefault
460         widget.
461
462 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
463
464         GtkFileChooser search fixes and recent files support.  (#435342)
465
466         * gtk/gtkfilechooserdefault.c: Update the add bookmark button
467         sensitivity when in search or recent files mode, and allow
468         adding a bookmark for a folder.
469
470 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
471
472         GtkFileChooser search fixes and recent files support.  (#435342)
473
474         * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
475         a mnemonic to the label, de-boldify the label's text and assign
476         focus to the search entry when switching to the search mode.
477
478         (list_name_data_func): Split the text in both search and recent
479         files mode: on the first line use the short name and on the
480         second line use the full path.
481
482 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
483
484         GtkFileChooser search fixes and recent files support.  (#435342)
485
486         * gtk/gtkfilechooserprivate.h:
487         * gtk/gtkfilechooserdefault.c: Add support for showing the
488         recently used files list as a special shortcut item.
489
490 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
491         
492         GtkFileChooser search fixes and recent files support.  (#435342)
493
494         * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
495         indentation style consistency.
496
497         (list_row_activated): If the search hit is a folder, follow it
498         when activating the row, and switch back to browse mode.
499
500         (search_clear_model), (search_start_query),
501         (search_entry_activate_cb), (search_setup_widgets): Remember
502         the last query when switching between modes.
503
504 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
505
506         GtkFileChooser search fixes and recent files support.  (#435342)
507
508         * gtk/gtkfilechooserdefault.c:
509         (_gtk_file_chooser_default_class_init): Add key binding for
510         the Search shortcut; default to MOD1+S.
511
512         (search_shortcut_handler): Handle the key binding.
513
514         (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
515         (search_setup_model): Retrieve informations on the search hits
516         when adding them to the model.
517
518         (list_icon_data_func): Show the search hit icon.
519
520 2007-05-11  Michael Natterer  <mitch@imendio.com>
521
522         * gtk/gtktextview.c (selection_motion_event_handler): call
523         gdk_event_request_motions(event) so selecting works with
524         XInput devices too. Spotted by Tommi Komulainen.
525
526 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
527
528         * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
529         to GtkSearchEngineSimple only if gthread has already been
530         initialiased; otherwise, disable search support in the file
531         chooser widget.  (#435847)
532
533 2007-05-10  Matthias Clasen <mclasen@redhat.com>
534
535         * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
536         image before overwriting priv->image.  (#437281, Jochen Baier)
537
538 2007-05-10  Matthias Clasen <mclasen@redhat.com>
539
540         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
541         Correct a confusing warning.  (#437284, Björn Lindqvist)
542
543 2007-05-10  Matthias Clasen <mclasen@redhat.com>
544
545         * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
546         the backend if the region is empty.  (#437081, Sven Neumann)
547
548 2007-05-10  Matthias Clasen <mclasen@redhat.com>
549
550         * gtk/gtksearchenginesimple.c (search_visit_func);
551         Assume Posix nftw behaviour. 
552
553 2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>
554
555         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
556         expand/collapse with Right/Left cursor keys on Windows
557         (#436269, Daniel Atallah)
558
559 2007-05-09  Cody Russell  <bratsche@gnome.org>
560
561         * gtk/gtkmenu.c:
562         (get_arrows_border): New function to calculate the border sizes needed 
563         for the scroll arrows.
564         (get_arrows_visible_area): New function to calculate the arrows visible 
565         area.
566         (get_arrows_sensitive_area): New function to calculate the arrows
567         sensitive area.
568         (gtk_menu_paint): Refactored code to calculate the border sizes needed
569         for the scroll arrows into get_arrows_border and the code to calculate 
570         the visible area into get_arrows_visible_area.
571         (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
572         to get_arrows_sensitive_area.
573         (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
574         gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
575         get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
576         callers.  (From #436533, Tommi Komulainen)
577
578 2007-05-09  Kristian Rietveld  <kris@imendio.com>
579
580         * gtk/gtktreeview.c (gtk_tree_view_key_press),
581         (gtk_tree_view_key_release):
582         * gtk/gtkiconview.c (gtk_icon_view_class_init),
583         (gtk_icon_view_key_press),
584         (gtk_icon_view_key_release): Disable key bindings during rubber
585         banding, make pressing Esc stop rubber banding.  (#405027).
586
587 2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>
588
589         * gtk/gtkrecentmanager.c:
590         (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
591         with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
592
593 2007-05-05  Richard Hult  <richard@imendio.com>
594
595         * gdk/quartz/gdkdrawable-quartz.c:
596         (gdk_quartz_drawable_get_context),
597         (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
598         Turns out the lockFocus logic was flawed, now we only lock/unlock 
599         when called outside a real expose event and never flush manually.
600
601 2007-05-03  Behdad Esfahbod  <behdad@gnome.org>
602
603         * gtk/gtklabel.c (gtk_label_ensure_layout):
604         * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
605         using pango_layout_set_justify() that works now. (#435675)
606
607 2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>
608
609         * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
610         spurious g_free() call.
611
612 Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>
613
614         * tests/testgtk.c (create_handle_box): made handle box test non-modal,
615         so other test can interact with handle boxes.
616
617 2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>
618
619         Add search file support in the GtkFileChooser. Original patch
620         by Federico Mena Quintero; patch updated by Matthias Clasen.
621         See bug #344785.
622
623         * gtk/gtksearchengine.[ch]: Private search engine abstraction
624         object.
625
626         * gtk/gtksearchenginebeagle.[ch]: Private search engine
627         implementation using libbeagle (via g_module_open()).
628
629         * gtk/gtksearchenginesimple.[ch]: Private search engine
630         implementation using file tree walking.
631
632         * gtk/gtksearchenginetracker.[ch]: Private earch engine
633         implementation using libtracker (via g_module_open()).
634
635         * gtk/gtkquery.[ch]: Private query object for the search
636         engines.
637
638         * gtk/gtkfilechooserprivate.h:
639         * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
640         query a search engine backend using GtkQuery; create a new
641         operating mode, OPERATION_MODE_SEARCH, and call the common
642         operating mode OPERATION_MODE_BROWSE; add support for virtual
643         shortcuts inside the shortcuts model and create a new "Search"
644         virtual shortcut.
645
646         * gtk/Makefile.am: Update the build with the new files
647
648 2007-05-02  Armin Burgmeier  <armin@openismus.com>
649
650         * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
651         finalize, because the menu might unparent itself from its parent and
652         cause a signal emission on a finalized object. (#430746)
653
654 2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>
655
656         * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
657         rendered upside down for non-XP theme (#435053, Daniel Atallah)
658
659 Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>
660
661         * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
662         and fully replaced by docs/faq/gtk-faq.sgml.
663
664 2007-05-02  Kristian Rietveld  <kris@imendio.com>
665
666         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
667         if it's active.
668
669 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
670
671         * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
672         icon flags.  (#435062)
673
674 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
675         
676         * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
677         pngs.
678
679 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
680
681         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
682         Don't ignore the fact that gtk_file_system_get_parent() 
683         may return NULL.  (#424042, Jan Martinek)
684
685 2007-05-01  Dan Winship  <danw@novell.com>
686
687         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
688         leader_window's WM_CLIENT_LEADER points to itself. #435028
689
690 2007-05-02  Christian Persch  <chpe@gnome.org>
691
692         * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
693         GSlice for gtk_tree_iter_copy. Bug #434863.
694
695 2007-05-02  Christian Persch  <chpe@gnome.org>
696
697         * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
698         GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
699         #434861.
700
701 2007-05-02  Christian Persch  <chpe@gnome.org>
702
703         * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
704         (gtk_paper_size_new), (gtk_paper_size_new_custom),
705         (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
706         GtkPaperSize. Bug #434862.
707
708 2007-05-02  Christian Persch  <chpe@gnome.org>
709
710         * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
711         (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
712         the ID into the pointer directly. Bug #434865.
713
714 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
715
716         * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
717         (update_current_folder_get_info_cb): add a new struct field to clear
718         the file entry after the current folder has been updated.
719
720         (gtk_file_chooser_default_update_current_folder),
721         (change_folder_and_display_error): Add a new function parameter to
722         trigger file entry clearing.
723
724         (edited_idle_create_folder_cb),
725         (file_list_drag_data_received_get_info_cb),
726         (gtk_file_chooser_default_map),
727         (gtk_file_chooser_default_set_current_folder),
728         (switch_to_selected_folder), (save_entry_get_info_cb),
729         (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
730         (shortcuts_activate_get_info_cb), (list_row_activated),
731         (path_bar_clicked): use new function parameter appropriately.
732
733         (gtk_file_chooser_default_should_respond): trigger file entry clearing
734         after the directory is updated instead of clearing it before, this way 
735         we avoid reloading the completion model with the soon to be old folder, 
736         causing a warning and a glitch in the folder where completion happens. 
737         (#379414, Carlos Garnacho)
738
739 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
740
741         * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
742
743         * gtk/updateiconcache.c: Validate the generated cache before
744         moving it in place. Also add a --validate option to validate
745         an existing icon cache.
746
747         * gtk/gtkiconcache.c: Validate icon caches before using them.
748
749         * gtk/Makefile.am: Integrate it.
750
751 2007-05-01  Michael Emmel  <mike.emmel@gmail.com>
752
753         * gdk/directfb/gdkdisplay-directfb.c:
754         Added stub gdk_notify_startup_complete_with_id to compile
755         * gdk/directfb/gdkwindow-directfb.c:
756         Added gdk_window_set_opacity
757         * gdk/directfb/gdkkeys-directfb.c:
758         Fix menu key handling crash Bug #413328
759
760 2007-05-01  Christian Persch  <chpe@gnome.org>
761
762         * gtk/gtkprinter.h:
763         * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
764         the new location. Bug #390437.
765
766 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
767
768         * gtk/gtksettings.c (settings_update_color_scheme):
769         Make sure we always have a color_hash.  (#423916, Jens Granseuer)
770
771 2007-04-30  Christian Persch  <chpe@gnome.org>
772
773         * docs/reference/gtk/gtk-sections.txt:
774         * gtk/gtk.symbols:
775         * gtk/gtkprinter-private.h:
776         * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
777         (gtk_print_capabilities_get_type):
778         * gtk/gtkprinter.h:
779         * gtk/gtkprintjob.c:
780         * gtk/gtkprintjob.h:
781         * gtk/gtkprintunixdialog.c: (selected_printer_changed):
782         Make gtk_printer_get_capabilities public, and move the
783         GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
784
785 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
786
787         * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
788         must not set the background of its window.  (#433972,
789         Guilherme Polo)
790
791 2007-04-30  Richard Hult  <richard@imendio.com>
792
793         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
794         Implement.
795
796 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
797
798         * modules/printbackends/cups/gtkprintbackendcups.c: Get all
799         the printer attributes when getting the list of printers,
800         not via separate requests.  (#387889, Krishan Purahoo)
801
802 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
803
804         Some more compiler warning fixes.
805
806         * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
807         Fix NULL/FALSE confusion.
808
809 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
810
811         Fix some compiler warnings.  (#433642, Kjartan Maraas)
812
813         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
814         (gtk_file_system_win32_create_folder):
815         * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  
816
817         * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
818         the right type to uri_func.  
819         
820         * gtk/gtktext.c (gtk_text_key_press):
821         * gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
822         * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
823
824         * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
825         (gtk_tray_icon_delete):
826         * gtk/gtkprintunixdialog.c (create_main_page):
827         * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
828
829         * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
830
831 2007-04-30  Cody Russell  <bratsche@gnome.org>
832
833         * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
834         but now we're calling it from _gdk_windowing_window_clear_area()
835         instead of from the WM_ERASEBKGND event.  Also fixes the area
836         that is cleared so that it is not an extra row and column too
837         large.  (Neil Roberts, #415681)
838
839 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
840
841         * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)
842
843 2007-04-30  Michael Natterer  <mitch@imendio.com>
844
845         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
846         submenu explicitely only in touchscreen mode since otherwise
847         selecting the item already pops up the submenu. Restores the
848         drag-selection timeout (spotted by Søren Sandmann, #128968).
849
850 2007-04-30  Michael Natterer  <mitch@imendio.com>
851
852         * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
853         to gtk_paper_size_get_paper_sizes().
854
855 2007-04-30  Tor Lillqvist  <tml@novell.com>
856
857         * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
858         _gtk_load_custom_papers() exists only on Unix.
859
860 2007-04-30  Tor Lillqvist  <tml@novell.com>
861
862         Add functionality to set overall opacity of a top-level
863         window. (#405316)
864
865         * gdk/gdk.symbols: Add gdk_window_set_opacity.
866
867         * gdk/x11/gdkwindow-x11.c
868         * gdk/win32/gdkwindow-win32.c: Implement
869         gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
870         property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
871
872         * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
873
874         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
875         that this is not implemented in the Windows backend. Add reference
876         to gdk_window_set_opacity().
877
878         * gtk/gtk.symbols: Add gtk_window_set_opacity and
879         gtk_window_get_opacity.
880
881         * gtk/gtkwindow.c (struct _GtkWindowPrivate)
882         (gtk_window_class_init): Add opacity property, a double in the
883         range [0, 1].
884         (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
885         (gtk_window_realize): If opacity is set, call
886         gdk_window_set_opacity().
887
888         * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
889         gtk_window_get_opacity().
890
891 2007-04-30  Matthias Clasen <mclasen@redhat.com>
892
893         * gtk/gtk.symbols:
894         * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
895         to gtk_paper_size_get_paper_sizes() and optionally include
896         custom paper sizes.
897
898         * gtk/gtkpagesetupunixdialog.c: Internally export a function
899         to load custom paper sizes.
900
901         * modules/printbackends/file/gtkprintbackendfile.c: Implement
902         printer_list_papers, returning all paper sizes.  (#434329,
903         Christian Persch)
904
905 2007-04-30  Matthias Clasen <mclasen@redhat.com>
906         
907         * gtk/gtkprintoperation.c: Translate the default job
908         name, and don't utf8-validate the job name in the
909         setter.  (#421993, Morten Welinder)
910
911 2007-04-30  Matthias Clasen <mclasen@redhat.com>
912
913         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
914         g_unlink.  (#421990, Morten Welinder)
915
916 2007-04-29  Matthias Clasen <mclasen@redhat.com>
917
918         Fix some issues with reference handling in the printing
919         code.  (#429902, Mathias Hasselmann)
920
921         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
922         Unref the print context, if we have one.
923         (gtk_print_operation_done): Add a default ::done handler 
924         that unrefs the print context.
925         (preview_ready): Take a reference on the print operation
926         preview here.
927         (print_pages_idle): ...not here,
928         (preview_print_idle_done): ...and release it here.
929
930         * tests/print-editor.c (preview_cb): Take a reference
931         on the print operation here.
932
933 2007-04-29  Matthias Clasen <mclasen@redhat.com>
934
935         * gtk/gtkprintoperation.c (print_pages_idle): Don't get
936         stuck in a recursive mainloop if a synchronous preview
937         is cancelled.
938
939 2007-04-29  Matthias Clasen <mclasen@redhat.com>
940
941         Make the emission of ::end-print and ::done consistent
942         for previews.  (#347567, Yevgen Muntyan)
943
944         * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
945         the finished status here.
946         (preview_end_run): ...and not here.
947         (print_pages_idle_done): Emit ::done for a cancelled preview.
948         (print_pages_idle): If a preview has been cancelled, don't
949         emit ::ready, but emit ::end-print. 
950
951         * tests/print-editor.c: Use ::end-print to undo allocations
952         from ::begin-print.
953
954 2007-04-29  Matthias Clasen <mclasen@redhat.com>
955
956         * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
957         in the PWG "custom" namespace as custom. Add a link to 
958         the spec in the docs.  (#426416, Andreas Guelzow)
959
960 2007-04-29  Matthias Clasen <mclasen@redhat.com>
961
962         * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
963         that a print operation can be run only once, and add a 
964         corresponding g_return_if_fail().   (#379399, Masao Mutoh)
965
966 2007-04-29  Dan Winship  <danw@novell.com>
967
968         * gdk/x11/gdkdisplay-x11.c
969         (gdk_x11_display_broadcast_startup_message): New method to
970         marshall and send a Startup Notification message. (from #415070)
971         (gdk_notify_startup_complete_with_id): Use that
972
973 2007-04-29  Mattthias Clasen  <mclasen@redhat.com>
974
975         * gtk/gtkprintoperation-unix.c 
976         (_gtk_print_operation_platform_backend_launch_preview):
977         Don't leak a file descriptor, and don't make the error
978         dialog modal.  (#421985, Morten Welinder, Christian Persch)
979
980 2007-04-29  Xan Lopez  <xan@gnome.org>
981
982         * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
983         Diego Escalante Urrelo).
984
985         I'm fixing gtk-faq.sgml as it seems this is the file
986         we actually use...
987
988 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
989
990         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
991         Only strip parentheses of the form (_x).  (#434261,
992         Brian Wellington)
993
994 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
995
996         * gtk/gtkprintoperation-unix.c
997         (_gtk_print_operation_platform_backend_launch_preview):
998         Support passing a print settings file to the preview 
999         command.  (#403717, Christian Persch)
1000
1001         * gtk/gtksettings.c: Document %s in the 
1002         gtk-print-preview-command setting.
1003
1004 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1005
1006         * gtk/gtkprintoperation.c (print_pages_idle): Also check
1007         the default handler when deciding whether to emit the
1008         paginate signal.  (#345345, Yevgen Muntyan)
1009
1010 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1011
1012         * gtk/gtkprintoperation.h: Add a new error code
1013
1014         * gtk/gtk.symbols:
1015         * gtk/gtkpagesetup.[hc]:
1016         * gtk/gtkpapersize.[hc]:
1017         * gtk/gtkprintsettings.[hc]: Add functions to serialize 
1018         and deserialize page setups and print settings to files 
1019         and key files.  (#344515, Christian Persch)
1020
1021         * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
1022
1023         * tests/print-editor.c: Use the new functions to persist 
1024         page setup and print settings.
1025
1026 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1027
1028         * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
1029         Free the custom paper list.  (#403267, Felix Riemann)
1030
1031 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1032
1033         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
1034         small memory leak.  (#403251, Felix Riemann)
1035
1036 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1037
1038         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
1039         typo. String change !  (#406160, Stephane Raimbault)
1040
1041 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1042
1043         * gtk/gtk.symbols:
1044         * gtk/gtkpapersize.[hc]: Add a function to list the
1045         builtin paper sizes.  (#382355, Christian Persch)
1046
1047 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
1048
1049         * gtk/gtk.symbols:
1050         * gtk/gtkprinter-private.h:
1051         * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
1052         gtk_printer_request_details() public.
1053
1054         * gtk/gtkpagesetupunixdialog.c:
1055         * gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
1056         Christian Persch)
1057
1058 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1059
1060         * configure.in: Add --enable-test-print-backend, defaulting
1061         to no.
1062
1063         * modules/printbackends/Makefile.am: Make building the test
1064         print backend conditional.
1065
1066 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1067
1068         * modules/printbackends/lpr/*:
1069         * modules/printbackends/cups/*: Correct some copyright lines.
1070
1071         * configure.in:
1072         * modules/printbackends/Makefile.am:
1073         * modules/printbackends/test/*: Add a test print backend.
1074         (#409089, John Palmieri)
1075
1076 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1077
1078         * gtk/gtktexttag.[hc]: Add a way to specify accumulative
1079         margins.  (#344499, Nate Nielsen)
1080
1081 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1082
1083         * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
1084         of the input-only window if we also have a visible window. 
1085         (#405089)
1086
1087 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1088
1089         * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
1090         * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
1091         Recognize negative column indices as invalid.  (#415260,
1092         Chris Wilson)
1093
1094 2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
1095
1096         * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
1097         (poll_func): fix two more potential races that could happen when
1098         an application is polling in the mainloop and a separate thread
1099         tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
1100
1101 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1102
1103         * gtk/gtkentry.c (gtk_entry_grab_focus): 
1104         (gtk_entry_real_insert_text): Only call g_object_get() 
1105         when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
1106
1107 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1108
1109         * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
1110         a note about being embedded.  (#340107, Christian Persch)
1111
1112 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1113
1114         * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
1115         restrict drags within an application/widget.  (#163141, 
1116         Jorn Baayen)
1117
1118 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1119
1120         * docs/tools/Makefile.am:
1121         * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
1122         Komulainen)
1123
1124 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1125
1126         * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
1127         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
1128         * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
1129         (get_children_folder_cb): Plug memory leaks caused by wrong 
1130         use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
1131
1132 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
1133         
1134         * demos/gtk-demo/printing.c: Fix the headers in the print
1135         demo.  (#423722, Yevgen Muntyan)
1136
1137 2007-04-28  Xan Lopez  <xan@gnome.org>
1138
1139         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
1140         Use strstr instead of g_strstr with -1 for length.
1141
1142 2007-04-28  Xan Lopez  <xan@gnome.org>
1143
1144         * gtk/gtkentry.c:
1145         * gtk/gtkentrycompletion.c:
1146         * gtk/gtkentrycompletion.h:
1147         * gtk/gtkentryprivate.h:
1148
1149         Remember the user input that triggered the completion, add
1150         API to the retrieve it and reset the entry contents to it
1151         if the user cancels the tentative completion during
1152         the inline-selection.
1153         
1154 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1155
1156         * gdk/x11/gdkgeometry-x11.c: Factor out window movement
1157         functions. (#63820, Tilman Sauerbeck)
1158
1159 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1160
1161         * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
1162         (#63820, Tilman Sauerbeck)
1163
1164 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1165
1166         * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
1167         and unmapping functions.  (#63820, Tilman Sauerbeck)
1168
1169 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1170
1171         * gdk/x11/gdkgeometry-x11.c: Make list handling code
1172         easier to read.  (#63820, Tilman Sauerbeck)
1173
1174 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
1175
1176         * gtkassistant.c:
1177         * gtkiconfactory.c:
1178         * gtkiconview.c:
1179         * gtkpapersize.c:
1180         * gtkrecentmanager.c:
1181         * gtktextiter.c: Internalize some strings, pointed out
1182         by Damon Chaplin.
1183
1184 2007-04-27  Xan Lopez  <xan@gnome.org>
1185
1186         Support inline-selection in entries (#318459)
1187         
1188         * gtk/gtkentry.c:
1189         * gtk/gtkentrycompletion.c:
1190         * gtk/gtkentrycompletion.h:
1191         * gtk/gtkentryprivate.h:
1192
1193         When enabled cursor-match is emited when the cursor is on
1194         a possible completion on the list. The default implementation
1195         will replace the contents on the entry with the contents of
1196         the text column in the completion model.
1197
1198         Review and improvements by Matthias Clasen.
1199
1200 2007-04-27  Michael Natterer  <mitch@imendio.com>
1201
1202         Merged heavily modified patch from maemo-gtk which enables opening
1203         and closing submenus on click, and introduces some usability
1204         changes when gtk-touchscreen-mode is enabled (bug #128968):
1205
1206         * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
1207         "activated_submenu" to indicate that the current mouse operation
1208         (click or drag) has opened a submenu.
1209
1210         (gtk_menu_shell_button_press): pop up submenus without delay
1211         and record the fact in "activated_submenu".
1212
1213         (gtk_menu_shell_button_release): if a submenu was explicitely
1214         opened, or not opened by this release's button_press, or enough
1215         time has passed since timeout-opening it, close the submenu here.
1216
1217         (gtk_menu_shell_enter_notify): when entering a menu item with
1218         any mouse button pressed, open its submenu.
1219
1220         (gtk_real_menu_shell_move_current): in touchsreen mode, close the
1221         submenu when moving the focus away from it via keyboard-navigation.
1222
1223         * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
1224         parameter "gboolean with_delay" so GtkMenuShell can control this
1225         for the different scenarios of submenu showing.
1226
1227         (_gtk_menu_item_popdown_submenu): new function. also needed by
1228         GtkMenuShell for closing submenus on click.
1229
1230         Renamed internal function gtk_menu_item_select_timeout() to
1231         gtk_menu_item_popup_timeout().
1232
1233         (gtk_menu_item_real_popup_submenu): new utility function which
1234         does the actual popup and records the exact time of the popup when
1235         the menu was timeout-opened (using g_get_current_time()).
1236
1237         (gtk_real_menu_item_select): don't add the popup timeout when in
1238         touchscreen mode.
1239
1240         * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
1241         first item of every opened menu.
1242
1243 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1244
1245         * gtk/gtkfilechooserentry.c: Append a '/' to directory names
1246         in the completion popup.  (#431323, Maarten Maathuis)
1247
1248 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1249
1250         * demo/gtk-demo/combobox.c: Add a simple validation demo. 
1251         * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
1252         children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
1253
1254 2007-04-26  Tor Lillqvist  <tml@novell.com>
1255
1256         * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
1257         (gtk_input_dialog_fill_keys): Remove old child of scrolled window
1258         before adding a new one when switching what input device is being
1259         handled. (#399425)
1260
1261 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1262
1263         * modules/printbackends/lpr/gtkprintbackendlpr.c
1264         (gtk_print_backend_lpr_init): Mark the printer list as done. 
1265         (#428665, Bogdan Gheorghe)
1266
1267 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1268
1269         * Makefile.am:
1270         * gtk/Makefile.am: Don't install UNIX-printing headers and
1271         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
1272
1273 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1274
1275         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
1276         unnamed separators.  (#369112, Christian Persch)
1277
1278 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
1279
1280         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
1281         invalid memory.  (#429732, Armin Burgmeier)
1282
1283 2007-04-26  Cody Russell  <bratsche@gnome.org>
1284
1285         * gdk/win32/xcursors.h:
1286         * gdk/win32/gdkcursor-win32.c:
1287
1288         Use Win32 native cursors instead of the ones built into GTK
1289         where it makes sense. (#128852, Tim Evans)
1290
1291 2007-04-25  Cody Russell  <bratsche@gnome.org>
1292
1293         * gdk/gdkwindow.h:
1294         * gtk/gtkwidget.c:
1295         * gtk/gtkhandlebox.c:
1296         * gdk/directfb/gdkwindow-directfb.c:
1297         * gdk/linux-fb/gdkwindow-fb.c:
1298         * gdk/quartz/gdkwindow-quartz.c:
1299         * gdk/win32/gdkwindow-win32.c:
1300         * gdk/x11/gdkwindow-x11.c:
1301         Added window type hint and implement drop shadows on Win32
1302         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
1303
1304 2007-04-25  Jakub Steiner <jimmac@ximian.com>
1305
1306         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
1307                 gtk-close as per discussion in bug #431740.
1308
1309 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1310
1311         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
1312         of the header window again.  (#431067, Benjamin Berg)
1313
1314 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1315
1316         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
1317         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
1318         depends on it. 
1319
1320         * tests/testicontheme.c: Report builtin icons.
1321
1322 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
1323
1324         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
1325         crash if end_run is not set.  (#424168, Matthias Hasselmann)
1326
1327 2007-04-25  Michael Natterer  <mitch@imendio.com>
1328
1329         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
1330         scroll buttons (we were setting the state to ACTIVE but
1331         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
1332         of many separate calls to gdk_window_invalidate_rect() by
1333         remembering the old button state and only invalidating the area if
1334         the state has changed (addresses parts of bug #433242, Tommi
1335         Komulainen).
1336
1337         (gtk_menu_scroll_to): change the arrow states only if changing
1338         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
1339         state set by above function.
1340
1341 2007-04-25  Michael Natterer  <mitch@imendio.com>
1342
1343         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
1344         build. Dunno if the fix is right, but I think it is.
1345
1346 2007-04-25  Kristian Rietveld  <kris@imendio.com>
1347
1348         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1349         cleanup/refactor some leftover code.
1350
1351 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
1352
1353         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
1354         half-open ranges like -2 or 3-, and be a bit more liberal
1355         about whitespace.
1356         (dialog_set_page_ranges): Support half-open ranges.
1357
1358         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
1359         number of pages in half-open ranges.
1360         (preview_iface_is_selected): Support half-open ranges here, too.
1361
1362 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
1363
1364         * gtk/gtkicontheme.c (scan_directory): Ensure the 
1365         icon_theme->all_icons and dir->icons hash tables use the same string
1366         as their keys. (#418531)
1367
1368 2007-04-23  Cody Russell  <bratsche@gnome.org>
1369         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
1370         left-most tab when notebooks are top-oriented.  Also general cleanup of
1371         notebook tab related code.  (Lieven van der Heide, Cody Russell)
1372
1373 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
1374
1375         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
1376         the amount of debug spew if we are not debugging.
1377         
1378 2007-04-23  Michael Natterer  <mitch@imendio.com>
1379
1380         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
1381         testtoooltips_SOURCES -> testtooltips_SOURCES.
1382
1383 2007-04-19  Cody Russell <bratsche@gnome.org>
1384
1385         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
1386         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
1387
1388 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
1389
1390         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
1391         non-WinXP rendering paths. From Daniel Atallah (#403470)
1392         
1393 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
1394
1395         * gtk/gtkicontheme.h:
1396         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
1397         icon lookup flag and implement it.  (#396901, Luca Ferreti)
1398         
1399 2007-04-18  Richard Hult  <richard@imendio.com>
1400
1401         * gdk/quartz/gdkwindow-quartz.c:
1402         (gdk_window_quartz_process_updates_internal),
1403         (gdk_window_quartz_process_all_updates),
1404         (gdk_window_impl_quartz_process_updates): Refactor the process 
1405         updates functions to share code between them. Also fixes bug 
1406         #427660 by not updating larger regions than necessary.
1407
1408 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
1409
1410         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
1411         of nRects == 0 correctly.  
1412         
1413 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
1414
1415         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
1416         a leak by not increasing the refcount of the GtkRecentInfo
1417         object when returning it (thanks to Matthias Clasen).
1418
1419 2007-04-16  Alexander Larsson  <alexl@redhat.com>
1420
1421         * gtk/gtkprintoperation.c (gtk_print_operation_run):
1422         Make async print preview work by actually starting
1423         the print process in that case (#424168)
1424
1425 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
1426
1427         * gtk/gtkselection.c (selection_get_text_plain): fixed
1428         wrong g_convert_with_fallback() call which caused
1429         gtk_selection_data_get_text() return invalid UTF-8 for
1430         non-ASCII text in text/plain selection (#382824).
1431
1432 2007-04-12  Jakub Steiner <jimmac@ximian.com>
1433
1434         * gtk/stock-icons/*: update the stock icons to follow the Tango
1435                 style guidelines
1436
1437 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
1438
1439         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
1440         * gtk/gtkstock.c (gtk_stock_list_ids):
1441             Switch over to use glib's new g_hash_table_get_keys() rather
1442             than our own static implementation.
1443
1444         * gtk/gtkiconfactory.h: Update to return a GList.
1445
1446         * configure.in: Bump required version to 2.13.1
1447
1448 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
1449
1450         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
1451           setup and shutdown function by mutexes and read the wakeup
1452           pipe unconditionally and unblocking. This should make the main
1453           loop always be woken up when using g_idle_add() from another
1454           thread in the Quartz backend (#425271).
1455
1456 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
1457
1458         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
1459         to return a Bool to indicate success. Update callers and 
1460         implementors. Based on a patch by Owen Taylor.
1461         
1462         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
1463         leak a reference to gdkwin.
1464
1465 2007-04-07  Xan Lopez  <xan@gnome.org>
1466
1467         * gtk/gtknotebook.c (gtk_notebook_class_init): 
1468         s/arrow-size/arrow-spacing in the arrow-spacing
1469         style property docs.
1470
1471 2007-04-06  Richard Hult  <richard@imendio.com>
1472
1473         * gdk/quartz/: Clean up namespaces to make the code more
1474         maintainable.
1475
1476         * gdk/quartz/gdkdrawable-quartz.c:
1477         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
1478         images, by setting the pattern phase for the CG pattern.
1479
1480 2007-04-04  Kristian Rietveld  <kris@imendio.com>
1481
1482         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
1483         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
1484         (gtk_tooltip_start_delay): use new gdk_threads API.
1485
1486 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
1487
1488         * gtk/gtksettings.c (settings_update_font_options): Don't set
1489         metrics-hinting font option.  Rely on the default value which is
1490         on for all raster cairo surfaces. (#425985)
1491
1492 2007-04-03  Loïc Minier  <lool@dooz.org>
1493
1494         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
1495         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
1496         Simon McVittie; #425786.
1497
1498 2007-04-02  Michael Natterer  <mitch@imendio.com>
1499
1500         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
1501         artifact from the time when type checking casts warned on NULL,
1502         some whitespace cleanup.
1503
1504 2007-04-01  Cody Russell  <bratsche@gnome.org>
1505
1506         * modules/engines/ms-windows/msw_style.c: Fix rendering of
1507         notebook tabs when they are bottom-oriented.  Fixes #399253.
1508
1509 2007-03-31  Elijah Newren  <newren gmail com>
1510
1511         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
1512           gdk_x11_window_set_user_time):
1513         Patch from Matthias to add support for the
1514         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
1515
1516         WARNING: This patch will make metacity <= 2.18.0 freeze on
1517         workspace switch.  This is due to a weird problem that should only
1518         affect window managers using gdk in-process for decoration drawing
1519         and which make an unsafe assumption relating to doing so (i.e. it
1520         should only affect metacity).  Upgrade your version of metacity if
1521         you hit this bug.
1522
1523 2007-03-29  Michael Natterer  <mitch@imendio.com>
1524
1525         Don't close menus on clicks on their border area (bug #423761).
1526         (modified patch from maemo-gtk).
1527
1528         * gtk/gtkmenu.c (gtk_menu_button_press)
1529         (gtk_menu_button_release): bail out early if the click was on the
1530         menu's border (not on any item and not outside the window).
1531
1532         (pointer_in_menu_window): new utility function which checks if
1533         passed root coords are inside the menu_shell or one of its
1534         parent shells.
1535
1536 2007-03-29  Michael Natterer  <mitch@imendio.com>
1537
1538         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
1539         gtk_widget_get_settings() into the g_object_get() call. Some small
1540         indentation fixes.
1541
1542 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
1543
1544         * modules/printbackends/cups/gtkcupsutils.[hc]:
1545         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
1546         a patch by John Palmieri to make the cups print backend support
1547         raw printers.  
1548
1549 2007-03-28  Kristian Rietveld  <kris@imendio.com>
1550
1551         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
1552         tooltip_window, since this is handled by set_qdata_full() already.
1553         (#412001, Torsten Schoenfeld).
1554
1555 2007-03-27  Tor Lillqvist  <tml@novell.com>
1556
1557         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
1558
1559 2007-03-26  Christian Persch  <chpe@gnome.org>
1560
1561         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
1562
1563 2007-03-24  Kristian Rietveld  <kris@gtk.org>
1564
1565         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1566         calculate the depth with the corrected real_cell_area and don't
1567         subtract horizontal_separator/2.
1568
1569 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
1570
1571         * gtk-yes.png
1572         * gtk-no: More Tango love.
1573
1574 2007-03-23  Jakub Steiner <jimmac@ximian.com>
1575
1576         * gtk-dialog-authentication.svg
1577         * gtk-dialog-error.svg
1578         * gtk-dialog-info.svg
1579         * gtk-dialog-question.svg
1580         * gtk-dialog-warning.svg: Start with a Tango face-lift.
1581
1582 2007-03-23  Rodney Dawes  <dobey@novell.com>
1583
1584         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
1585
1586 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
1587
1588         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
1589         toggle whether to show hidden files.  (#344657, 
1590         Wouter Bolsterlee, Priit Laes, et al)
1591
1592 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
1593
1594         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1595         toggle the visibility of the location entry.  (#383354, 
1596         John Pye, patch by Carlos Garnacho)
1597
1598 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
1599
1600         * gtk/gtksettings.c (merge_color_scheme): Freeze property
1601         notification.
1602         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
1603         the gtk-color-scheme xsetting being unset.
1604
1605         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
1606         recursion locally.
1607
1608 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
1609
1610         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
1611
1612 2007-03-21  Rodney Dawes  <dobey@novell.com>
1613
1614         * gtk/gtk.symbols:
1615         * gtk/gtkicontheme.[ch]:
1616         * docs/reference/gtk/gtk-sections.txt:
1617         * tests/testicontheme.c:
1618         Add a new API call gtk_icon_theme_list_contexts so that one can
1619         choose icons from a theme by context (#420719)
1620         
1621 2007-03-21  Ross Burton  <ross@burtonini.com>
1622
1623         * gtk/gtktexttag.c:
1624         Document the ::event signal (#420703).
1625
1626 2007-03-20  Kristian Rietveld  <kris@gtk.org>
1627
1628         * gtk/gtktreeviewcolumn.c:
1629         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
1630
1631         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
1632         focus_to_cell parameter, rework to handle clamping columns which
1633         are bigger than the available page size better,
1634         (gtk_tree_view_key_press): remove code handling moving the focus
1635         to other column headers,
1636         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
1637         fix RTL support, don't wrap around when moving focus to other
1638         column headers, call gtk_tree_view_clamp_column_visible() instead
1639         of duplicating code,
1640         (gtk_tree_view_focus): only clamp the column visible when we are
1641         explicitly moving to another column header (fixes #399555, Charles
1642         Kerr),
1643         (gtk_tree_view_move_cursor_left_right): update call to
1644         gtk_tree_view_clamp_column_visible().
1645
1646 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
1647
1648         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
1649         about dialog.
1650
1651 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
1652
1653         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
1654         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
1655
1656 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
1657
1658         * modules/input/gtkimcontextmultipress.[hc]:
1659         * modules/input/im-multipress.conf:
1660         * modules/input/immultipress.c:
1661         * modules/input/README.multipress: Add the multipress input
1662         method.  (#417446, Johannes Schmid, Murray Cumming)
1663
1664         * modules/input/Makefile.am: Glue
1665
1666 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
1667
1668         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
1669         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
1670         failures gracefully. (#419171)
1671
1672 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
1673
1674         * gtk/gtkrecentaction.c (recent_chooser_set_property),
1675         (gtk_recent_action_set_property): Remove useless inlined
1676         function and propagate the properties to the GtkRecentChooser
1677         objects we create, instead of all the proxies.
1678
1679         (set_current_filter): Remove 'inline' marker.
1680
1681 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
1682
1683         Apply changes suggested by Michael Natterer. (#338843)
1684
1685         * gtk/gtkaction.h:
1686         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
1687         rename gtk_action_get_submenu() to gtk_action_create_menu().
1688
1689         * gtk/gtkrecentaction.c: Update for GtkAction change.
1690
1691         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
1692         also, use the menu from the GtkAction for both menuitem and
1693         toolitem nodes.
1694
1695 2007-03-16  Xan Lopez  <xan@gnome.org>
1696
1697         * gtk/gtkwidget.c: Fix documentation error in
1698         gtk_widget_set_redraw_on_allocate.
1699
1700 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
1701
1702         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
1703         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
1704         patch by Christian Persch)
1705
1706 2007-03-15  Federico Mena Quintero  <federico@novell.com>
1707
1708         Merged from gtk-2-10:
1709
1710         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
1711         PANGO_PIXELS() gives us device units, which are *points* in
1712         pangocairo's parlance, but we want actual pixels.  So, get the
1713         screen's resolution to compute the actual number of pixels.
1714         Fixes bug #418585.
1715
1716 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
1717
1718         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
1719         unused GError; do not allocate GtkRecentData and use a variable
1720         on the stack. (#418673, Morten Welinder)
1721
1722 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
1723
1724         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
1725         actions providing a menu item or a menu tool button with already
1726         a submenu should return the GtkMenu widget.
1727
1728         * gtk/gtkuimanager.c (update_node): If an action provides its
1729         own submenu, use it instead of adding an empty one
1730
1731         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
1732         implementing the GtkRecentChooser interface for displaying the
1733         list of recently used files into menus and toolbars generated
1734         using GtkUIManager. (#338843)
1735
1736         * gtk/Makefile.am:
1737         * gtk/gtk.h:
1738         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
1739
1740         * tests/testactions.c: Exercise the GtkRecentAction API.
1741
1742 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
1743
1744         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
1745         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
1746         from recursion, which can happen for example if the app tries to
1747         reload an icon from within a theme-changed handler. (#418531)
1748
1749 2007-03-15  Richard Hult  <richard@imendio.com>
1750
1751         * gdk/quartz/gdkmain-quartz.c: Add stubs for
1752         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
1753         here too.
1754
1755 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
1756
1757         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
1758         Welinder)
1759
1760 2007-03-15  Tor Lillqvist  <tml@novell.com>
1761
1762         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
1763         gdk_window_set_startup_id.
1764
1765         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
1766
1767 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
1768
1769         * gtk/gtkrecentchooserprivate.h:
1770         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
1771         files list into the shared implementation; do the filtering
1772         before the sorting, so that we always clamp on the desired
1773         size. (#418219)
1774
1775         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
1776         list, as it's already been done.
1777
1778         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
1779         GtkTreeModelFilter: just reload the view if the sorting and
1780         filtering properties change.
1781
1782         * gtk/testrecentchoosermenu.c: Exercise the limit property.
1783
1784 2007-03-14  Michael Natterer  <mitch@imendio.com>
1785
1786         Make gtk_widget_set_extension_events() work on already realized
1787         widgets (bug #379550, Tommi Komulainen)
1788
1789         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
1790         called multiple times without leaking and work correctly when
1791         already realized (don't rely on a configure event following).
1792
1793         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
1794         internal function which walks the GdkWindow tree and sets the
1795         extension events on all windows that belong to the widget.
1796
1797         (gtk_widget_realize)
1798         (gtk_widget_set_extension_events): use the new function.
1799
1800 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
1801
1802         Various clean ups in the GtkRecent code. (see #338843)
1803
1804         * gtk/gtkrecentchooserdefault.c:
1805         * gtk/gtkrecentchoosermenu.c:
1806         * gtk/gtkrecentchooserprivate.h:
1807         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
1808         for getting the sorted and clamped list of recent files from the
1809         manager outside the implementations.
1810
1811         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
1812         the list when the sorting order changes.
1813
1814         (gtk_recent_chooser_default_dispose),
1815         (gtk_recent_chooser_default_finalize): Move object unref and
1816         source removal from finalize to dispose.
1817
1818         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
1819         prerequisite for the GtkRecentChooser interface implementations,
1820         from GtkObject to GObject.
1821
1822         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
1823         G_PARAM_*
1824
1825 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
1826
1827         Apply patch by Vytautas Liuolia for changing the startup
1828         notification id on a window in the X11 backend. (#347375)
1829
1830         * gdk/gdk.h:
1831         * gdk/gdkx.h:
1832         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
1833         and gdk_x11_display_get_startup_notification_id().
1834
1835         * gdk/gdkwindow.h:
1836         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
1837
1838         * gtk/gtkwindow.h:
1839         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
1840         change the startup notification id.
1841         
1842         (gtk_window_class_init), (gtk_window_init),
1843         (gtk_window_set_property): Add write-only "startup-id" property
1844         to GtkWindow.
1845
1846         (gtk_window_realize): Set the startup notification id
1847         on a GtkWindow if it's valid.
1848
1849         (gtk_window_map): If we have another valid startup notification
1850         id then finish the notification process.
1851
1852 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
1853
1854         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
1855         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
1856
1857 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
1858
1859         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
1860         docs.  (#345844, Torsten Schoenfeld)
1861
1862         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
1863         * gdk/gdkwindow.c (gdk_window_add_filter): Add
1864         cross-references.  (#351252, Vincent Untz)
1865
1866         * gtk/gtkprintoperation.c: Fix an oversight in an
1867         example.  (#381083, Ian Puleston)
1868
1869         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
1870
1871 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
1872
1873         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
1874         the background of the panel window on style changes. (#402144,
1875         Benjamin Berg)
1876
1877 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
1878
1879         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
1880         an obsolete comment.  (#402169, Xan Lopez)
1881
1882 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
1883
1884         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
1885         Don't copy PangoLanguage.  (#340031, Morten Welinder)
1886
1887 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
1888
1889         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
1890         Handle the row reference path being NULL.  (#410565, Joe Markus
1891         Clarke, patch by Chris Wilson)
1892
1893 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
1894
1895         * tests/testiconview.c: Handle Menu key presses without
1896         crash.  (#385637, Christian Persch)
1897
1898 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
1899
1900         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
1901         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
1902
1903 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
1904
1905         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
1906         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
1907         
1908 2007-03-12  Kristian Rietveld  <kris@gtk.org>
1909
1910         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
1911         bail out if current_folder is NULL. (#350988, lots of reporters,
1912         modified patch by Jan Darmochwal).
1913
1914 2007-03-10  Kristian Rietveld  <kris@gtk.org>
1915
1916         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
1917         hide the search dialog and send focus events if the search dialog
1918         is currently visible.
1919
1920 2007-03-10  Richard Hult  <richard@imendio.com>
1921
1922         * gdk/quartz/gdkdrawable-quartz.c:
1923         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
1924         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
1925         surface API (#410442). Don't lock focus unless called outside of an 
1926         expose event.
1927         (gdk_quartz_drawable_release_context): Only flush the CG context and 
1928         unlock focus if called outside of expose.
1929         (_gdk_quartz_drawable_finish): New function, used to free the cached
1930         cairo surface.
1931
1932         * gdk/quartz/gdkwindow-quartz.c:
1933         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
1934         (_gdk_window_impl_quartz_get_type): No need to make the type info
1935         static.
1936         (gdk_window_quartz_process_all_updates): Move the autorelease pool
1937         allocation and freeing outside the loop.
1938         (_gdk_windowing_window_destroy): Finish the drawable.
1939         (move_resize_window_internal): Small cleanup and remove comment.
1940
1941         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
1942
1943 2007-03-10  Richard Hult  <richard@imendio.com>
1944
1945         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
1946         a build warning.
1947
1948 2007-03-10  Richard Hult  <richard@imendio.com>
1949
1950         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
1951
1952 2007-03-10  Richard Hult  <richard@imendio.com>
1953
1954         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
1955
1956 2007-03-10  Richard Hult  <richard@imendio.com>
1957
1958         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
1959         the font name here, leave that to themes, fixes #387508.
1960
1961 2007-03-10  Kristian Rietveld  <kris@gtk.org>
1962
1963         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
1964         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
1965         element, also (un)ref its parent elements. (Fixes #364946,
1966         reported by many, testcase by Andreas Koehler).
1967
1968 2007-03-10  Matthias Clasen <mclasen@redhat.com>
1969
1970         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
1971         field of PrintResponseData.  (#396703, Christian Persch)
1972
1973         * tests/print-editor.c: Plug some leaks.
1974
1975 2007-03-09  Matthias Clasen <mclasen@redhat.com>
1976
1977         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
1978         Get rid of the unused event argument. Update all callers.
1979
1980         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
1981         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
1982
1983 2007-03-09  Matthias Clasen <mclasen@redhat.com>
1984
1985         * modules/input/gtkimcontextxim.c 
1986         (gtk_im_context_xim_filter_keypress): Don't commit
1987         modifier-adorned characters.  (#331369, #335796, Lin Ma
1988         and others)
1989
1990 2007-03-09  Matthias Clasen <mclasen@redhat.com>
1991
1992         * Everywhere: Remove unnecessary NULL checks before
1993         g_free().  (#369666, Morten Welinder, Djihed Afifi)
1994
1995         * configure.in: Check for ftw.h
1996
1997 2007-03-09  Matthias Clasen <mclasen@redhat.com>
1998
1999         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
2000         C99isms.  (#416525, Kazuki Iwamoto)
2001
2002 2007-03-09  Tor Lillqvist  <tml@novell.com>
2003
2004         * README.win32: Update.
2005
2006 2007-03-08  Matthias Clasen <mclasen@redhat.com>
2007
2008         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
2009         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
2010         Sebastian Dröge)
2011
2012 2007-03-08  Matthias Clasen <mclasen@redhat.com>
2013
2014         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2015         Set child visibility to FALSE here; it will be turned
2016         back on in switch_page.  (#413664, Carlos Garnacho)
2017         
2018 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2019
2020         * modules/engines/ms-windows/msw_style.c: Use proper border style
2021         when drawing shadow of scrolled windows on Windows XP (#168326)
2022         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
2023         element_part_map array to ensure it always is large enough.
2024         
2025 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
2026
2027         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
2028         property of GtkEntry accordingly, unify size-allocation of toggle
2029         button (#411123, patch from Mathias Hasselmann).
2030         * gtk/gtkentry.c: Add shadow-type property. Query style properties
2031         on style changes only (#411123, patch from Mathias Hasselmann).
2032         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
2033         hack as GtkComboBox emits drawing requests now (#411123, patch 
2034         from Mathias Hasselmann).
2035         
2036 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2037
2038         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
2039         by implementing a scrollbars-within-bevel style property. (#168326)
2040         
2041 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
2042
2043         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
2044         stored in the current theme with the name
2045         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
2046         icons as reported by SHGetFileInfoW. (#412221)
2047
2048 2007-03-07  Matthias Clasen <mclasen@redhat.com>
2049
2050         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
2051         focus around the arrow if there is no label widget.  
2052         (#124045, Cody Russell)
2053
2054 2007-03-07  Matthias Clasen <mclasen@redhat.com>
2055
2056         * gtk/gtkcombo.c: (gtk_combo_init):
2057         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
2058         (gtk_combo_box_menu_setup):
2059         Set names on the popup widgets to make them themable. (#414975, 
2060         Benjamin Berg)
2061
2062 2007-03-07  Michael Natterer  <mitch@imendio.com>
2063
2064         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
2065         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
2066         empty finalize() implementation, some cosmetic cleanup
2067         (bug #415645).
2068
2069 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
2070
2071         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
2072         (do_theme_change), (gtk_icon_theme_set_custom_theme),
2073         (load_themes):
2074         Be careful not to trigger a style reset before we have loaded
2075         the icon theme. (#414875).
2076
2077 2007-03-06  Tor Lillqvist  <tml@novell.com>
2078
2079         * gdk/Makefile.am
2080         * gtk/Makefile.am: Further fixes for building on Win32 outside
2081         srcdir. (#413492, Mathias Hasselmann)
2082
2083 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
2084
2085         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
2086         fixed.
2087
2088 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
2089
2090         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
2091         breaking the build.
2092
2093 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
2094
2095         * configure.in: Added be@latin to ALL_LINGUAS
2096
2097 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
2098
2099         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
2100
2101 2007-03-01  Matthias Clasen <mclasen@redhat.com>
2102
2103         * gtk/gtksettings.c: Always store gtk-color-scheme
2104         values from all sources in the ColorSchemeData struct
2105         and ignore the property_value for gtk-color-scheme.
2106         This fixes #412596, reported by Thomas Wood.
2107
2108 2007-02-28  Matthias Clasen <mclasen@redhat.com>
2109
2110         * gtk/gtksettings.c: Make color scheme update properly
2111         when changing themes.  (#402131, Benjamin Berg)
2112
2113 2007-02-28  Matthias Clasen <mclasen@redhat.com>
2114
2115         * gtk/gtkrc.c: Don't leak references to the color-hash 
2116         gotten from GtkSettings.  (#409357, Benjamin Berg)
2117
2118 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
2119
2120         * gtk/gtkradiobutton.c: Fixed a warning from
2121         g_object_set (radiobutton, "group", NULL, NULL).
2122
2123 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2124
2125         Apply a patch by Carlos Garnacho to fix several problems
2126         with filechooser size handling (#325477, #151169, 143213,
2127         #153785)
2128
2129         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
2130         (browse_widgets_create): Don't force the paned position to 200.
2131         (find_good_size_from_style): Take the size of the extra widget
2132         into account.
2133
2134         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
2135         Accept a minimal width parameter. Update all callers.
2136
2137 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2138
2139         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
2140         which is more accurate, suggested by Tim Waugh. String change! 
2141
2142 2007-02-26  Matthias Clasen <mclasen@redhat.com>
2143
2144         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
2145         print-to-file work. Reported by Ian Collier.
2146
2147 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
2148
2149         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
2150
2151         * gtk/gtkicontheme.c: (scan_directory):
2152                 Reorder the replacement of the shared base_name key, so that we
2153                 avoid dereferencing the string in the icon_theme->all_icon
2154                 hash table after freeing it from the dir->icons hash table.
2155
2156 2007-02-26  Tor Lillqvist  <tml@novell.com>
2157
2158         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
2159         comment clarifying that "icon name" here is not related to the
2160         freedesktop.org icon naming stuff.
2161
2162 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
2163
2164         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
2165         progress bar on windows classic. Match from Mathias Hasselmann.
2166         
2167 2007-02-19  Tor Lillqvist  <tml@novell.com>
2168
2169         * gdk/win32/gdkinput.c
2170         (gdk_device_finalize, gdk_device_class_init): Remove.
2171         (gdk_device_get_type): Drop class init function. The X11 version
2172         doesn't have one either.
2173         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
2174         (gdk_display_list_devices): Check that the argument is
2175         _gdk_display.
2176
2177         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
2178         Cleanup: remove unused fields.
2179         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
2180         names in a few debugging printouts.
2181
2182 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
2183
2184         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
2185         Ignore invisible text when going to end of the previous line.
2186         (#382565)
2187
2188 2007-02-18  Richard Hult  <richard@imendio.com>
2189
2190         * gdk/quartz/gdkwindow-quartz.c:
2191         (gdk_window_quartz_process_all_updates),
2192         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
2193         patch from Erik van Pienbroek, fixes bug #396649.
2194
2195 2007-02-18  Richard Hult  <richard@imendio.com>
2196
2197         * gdk/quartz/gdkevents-quartz.c: Add stub for 
2198         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
2199         bug #405870.
2200
2201         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
2202
2203 2007-02-18  Richard Hult  <richard@imendio.com>
2204
2205         * gdk/quartz/GdkQuartzView.h:
2206         * gdk/quartz/GdkQuartzWindow.h:
2207         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
2208         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
2209         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
2210         on panther, patch from Mathias Hasselmann.
2211         
2212         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
2213
2214 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
2215
2216         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
2217         instead of division. (#334617)
2218
2219 2007-02-16  Kristian Rietveld  <kris@gtk.org>
2220
2221         * gtk/gtktreeprivate.h: add cursor_offset field.
2222
2223         * gtk/gtktreeview.c (gtk_tree_view_init),
2224         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
2225         in page up/down handling by memorizing the offset into the cursor
2226         row.  (Fixes #399809, reported by Bruce Bowler).
2227
2228 2007-02-16  Kristian Rietveld  <kris@gtk.org>
2229
2230         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
2231         a focus-in event to the tree view after hiding the search dialog.
2232         (#356515, Rich Burridge, Peter Parente).
2233
2234 2007-02-16  Kristian Rietveld  <kris@imendio.com>
2235
2236         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
2237         keyboard tooltips. (#408325, Matthias Clasen).
2238
2239 2007-02-16  Xan Lopez  <xan@gnome.org>
2240
2241         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
2242         in expose event handler. Reviewed by Matthias Clasen, #406112
2243
2244 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
2245
2246         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
2247         Maraas)
2248
2249 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2250
2251         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
2252         careful when checking for ButtonRelease events that end implicit
2253         grabs.  (#386618, Christof Krüger)
2254
2255 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2256
2257         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
2258         even if there are no views.  (#408018, Albert Huang)
2259
2260 2007-02-15  Cody Russell  <bratsche@gnome.org>
2261
2262         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
2263         iterations while we're resizing so that the window contents are resized 
2264         more smoothly (#389765).
2265
2266         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
2267         are resized (#310522).
2268
2269 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
2270
2271         * gtk/updateiconcache.c: Handle symlinked .icon files 
2272         intelligently; also avoid storing duplicate strings.
2273
2274 2007-02-15  Michael Natterer  <mitch@imendio.com>
2275
2276         * gtk/gtkmenushell.c: remove two antique function typedefs that
2277         are probably obsolete for ages.
2278
2279 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
2280
2281         reviewed by: Matthias Clasen  <mclasen@redhat.com>
2282
2283         * configure.in: determine installation prefixes of dependent libs to
2284         crossreference docs (#407146).
2285
2286 2007-02-14  Kristian Rietveld  <kris@imendio.com>
2287
2288         * gtk/gtktooltip.c (child_location_foreach): check return value
2289         of gtk_widget_translate_coordinates() so we cannot end up
2290         using uninitialized x, y values.  (#407863, patch from Carlos
2291         Garnacho).
2292
2293 2007-02-14  Kristian Rietveld  <kris@imendio.com>
2294
2295         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
2296         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
2297         position instead of a hardcoded value.  (Taken from maemo-gtk).
2298
2299 2007-02-14  Michael Natterer  <mitch@imendio.com>
2300
2301         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
2302         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
2303         maemo-gtk.
2304
2305 2007-02-13  Kristian Rietveld  <kris@imendio.com>
2306
2307         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
2308         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2309
2310 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
2311
2312         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
2313         remove some type checking; use better variable naming for the
2314         internal menu item markers.
2315
2316 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
2317
2318         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
2319         and appending custom menu items.
2320
2321         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
2322         item for the empty menu case, and for giving us a starting
2323         point for the recent items populating process.
2324
2325         (gtk_recent_chooser_menu_insert_item),
2326         (gtk_recent_chooser_menu_dispose_items): Insert an item at
2327         the position following the placeholder (and find that position
2328         if needed).
2329
2330         (idle_populate_func), (idle_populate_clean_up): Show the
2331         placeholder menu item, instead of creating one each time.
2332
2333         (gtk_recent_chooser_menu_populate): Kill some indirections
2334         and hide the placeholder before populating the menu.
2335
2336         (set_recent_manager): Remember to remove the idle population
2337         source if the manager changes.
2338
2339         * tests/testrecentchoosermenu.c: Test the appending and
2340         prepending of the menu items to the recent chooser menu
2341         widget.
2342
2343 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
2344
2345         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
2346         of the displayed items to build the menu items mnemonic instead
2347         of the overall item count. (#377164)
2348
2349         (idle_populate_clean_up): Append a menu item if all the items
2350         got filtered in the idle populate function. (#405696)
2351
2352         * tests/Makefile.am:
2353         * tests/testrecentchoosermenu.c: Add a test for the
2354         GtkRecentChooserMenu widget.
2355
2356 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
2357
2358         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
2359         GtkButtonBox (bug #336159).
2360
2361         * gtk/gtkenums.h:
2362         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
2363         support GTK_BUTTONBOX_CENTER.
2364
2365         * tests/testbbox.c: new button box test, which allows testing of 
2366         the various button box properties.
2367
2368         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
2369
2370 2007-02-07  Cody Russell  <bratsche@gnome.org>
2371
2372         * gdk/gdk.symbols: Add gdk_event_request_motions
2373
2374 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
2375
2376         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
2377         condition which was wrongly ported with my last commit.
2378
2379 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
2380
2381         * gtk/gtktextview.c (gtk_text_view_motion_event):
2382         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
2383         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
2384         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
2385         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
2386         * gtk/gtkentry.c (gtk_entry_motion_notify):
2387         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
2388         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
2389         for new motion events after receiving motion hints.
2390
2391         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
2392
2393 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2394
2395         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2396         remove unused get of has_tooltip.
2397
2398         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
2399         portable g_snprintf instead of snprintf.
2400
2401 2007-02-06  Michael Natterer  <mitch@imendio.com>
2402
2403         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
2404
2405         (gtk_tooltip_show_tooltip): move variables and code to local
2406         scope. Fixes warnings about maybe uninitialized variables.
2407
2408 2007-02-06  Kristian Rietveld  <kris@imendio.com>
2409
2410         New tooltips API.
2411
2412         * gtk/Makefile.am
2413         * gtk/gtk.h
2414         * gtk/gtk.symbols: build system foo.
2415
2416         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
2417         hook for appropriate events.
2418
2419         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
2420
2421         * gtk/gtkrc.c: add style for gtk-tooltip.
2422
2423         * gtk/gtksettings.c (gtk_settings_class_init): make the
2424         different tooltip timeouts configurable.
2425
2426         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
2427         tooltips are hidden on unmap, destroy, update window event
2428         mask on realize, hook into focus change and show help
2429         handlers.
2430
2431         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
2432
2433         * gtk/gtktooltip.[ch]: new files.
2434
2435         * tests/Makefile.am
2436         * tests/testtooltips.c: add test application.
2437
2438 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
2439
2440         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
2441         by prematurely releasing a DC. By Hiroyuki Yamamoto
2442         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
2443         pixbufs when drawing rotated tabs. By Daniel Atallah
2444         
2445 2007-02-05  Michael Natterer  <mitch@imendio.com>
2446
2447         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
2448         and gtk-enable-mnemonics which enable/disable accelerators and
2449         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
2450
2451         * gtk/gtkwindow.c (gtk_window_activate_key)
2452         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
2453         if the resp. setting is FALSE.
2454
2455         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
2456         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
2457         them if the setting is FALSE.
2458
2459         * gtk/gtklabel.c: added signal connection to the screen's settings
2460         object and traverse all widgets on the screen when the setting
2461         changes. It's slightly ugly to also update GtkAccelLabels here,
2462         but less ugly than connecting and traversing all widgets twice.
2463
2464 2007-02-05  Michael Natterer  <mitch@imendio.com>
2465
2466         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
2467         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2468         ansi C enum value limits. Fixes bug #46757.
2469
2470 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
2471
2472         * gtk/gtksequence.[ch]: Remove these files since GSequence has
2473         been moved into GLib.
2474
2475         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
2476
2477         * configure.in: Require glib-2.13.0
2478         
2479 2007-02-04  Tor Lillqvist  <tml@novell.com>
2480
2481         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
2482         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
2483
2484 2007-02-02  Kristian Rietveld  <kris@gtk.org>
2485
2486         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
2487         style_get of vertical-separator. (#403165, Chris Wilson).
2488
2489 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
2490
2491         * gtk/gtkfilechoosersettings.c: (get_config_filename),
2492         (ensure_settings_read), (_gtk_file_chooser_settings_init),
2493         (_gtk_file_chooser_settings_set_show_hidden),
2494         (_gtk_file_chooser_settings_set_expand_folders),
2495         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
2496         markup file. Bug #399592.
2497
2498 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
2499
2500         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
2501         be a little more helpful with the docs on GtkCellRendererText:alignment.
2502         Bug #403409.
2503
2504 2007-02-01  Michael Natterer  <mitch@imendio.com>
2505
2506         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
2507         gtk_paint_box() calls.
2508
2509 2007-02-01  Michael Natterer  <mitch@imendio.com>
2510
2511         * gtk/gtkmenu.c (gtk_menu_button_press)
2512         (gtk_menu_button_release)
2513         (gtk_menu_button_scroll): remove redundant and confusing
2514         if (GTK_IS_MENU (widget)) checks because "widget" is always a
2515         GtkMenu here.
2516
2517 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
2518
2519         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
2520         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
2521
2522 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
2523
2524         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
2525         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
2526         (gtk_about_dialog_set_artists),
2527         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
2528         there are no credits to show. Bug #402806.
2529
2530 2007-01-31  Tor Lillqvist  <tml@novell.com>
2531
2532         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
2533         function.
2534         (_gdk_input_wintab_init_check): Call it when debugging output is
2535         requested.
2536         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
2537         tablets. The Wacom driver reports duplicated cursors with
2538         physid==0. Fix verified by Robert Ögren.
2539
2540 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
2541
2542         * modules/printbackends/file/gtkprintbackendfile.c:
2543         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
2544
2545 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
2546
2547         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
2548         (gdk_x11_window_set_user_time): Be more careful about toplevel
2549         possibly being NULL.  (#402453, Sebastian Bacher)
2550
2551 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
2552
2553         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
2554         class_n_properties and leave an uninitialized value array behind.
2555
2556 2007-01-29  Michael Natterer  <mitch@imendio.com>
2557
2558         * gtk/gtkmenuitem.c (gtk_menu_item_select)
2559         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
2560         this menu item's menu, to enable themeing menu items depending on
2561         whether something is selected in their submenu (patch taken from
2562         maemo-gtk).
2563
2564 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2565
2566         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
2567         that was mistakenly "cleaned up" a while ago. Also
2568         revert a problematic change to the screen_changed
2569         handler.  (#401598, Søren Sandmann)
2570
2571 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2572
2573         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
2574         problem with large y thickness.  (#136592, Xan Lopez)
2575
2576 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
2577
2578         * gtk/gtkaction.c (gtk_action_new): Use canonical
2579         property names.  
2580
2581 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2582
2583         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
2584         (gtk_notebook_draw_focus): Avoid some unnecessary 
2585         gtk_widget_get_style() calls.
2586
2587 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2588
2589         * gtk/gtktoolbar.c:
2590         * gtk/gtktoolitem.c:
2591         * gtk/gtktoolbutton.c: Rearrange things so that setting
2592         multiple properties causes not more than a single 
2593         reconstruction of the contents.
2594
2595         * gtk/gtkaction.c (connect_proxy): Set all tool button 
2596         properties in one go.
2597
2598 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2599
2600         * gtk/gtkstatusicon.c:
2601         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
2602         take up space on the panel if it is invisible.  (340110, Christian
2603         Persch)
2604
2605         * tests/teststatusicon.c:
2606         * tests/Makefile.am: Updates
2607
2608 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
2609
2610         * gtk/gtkfilesel.h:
2611         * gtk/gtkrc.h:
2612         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
2613         and the old file selector.  (#348256)
2614
2615 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
2616
2617         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
2618
2619 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
2620
2621         * gtk/updateiconcache.c: Check the mtime of all directories,
2622         not just the toplevel, if ftw() is available.  (#331671, Behdad
2623         Esfahbod)
2624
2625         * configure.in: Check for ftw.h.
2626
2627 2007-01-26  Michael Natterer  <mitch@imendio.com>
2628
2629         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
2630         destroy the XIM only if it exists. While the code does look safe
2631         in general, there can be corner cases where the "reconnecting"
2632         boolean being FALSE does not correspond to the XIM being
2633         allocated (fixes #329450, fix taken from maemo-gtk).
2634
2635 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
2636
2637         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
2638         window bounds (fix from Maemo Gtk).
2639
2640 2007-01-26  Michael Natterer  <mitch@imendio.com>
2641
2642         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
2643         only block/unblock completion->priv->insert_text_id if it is
2644         actually connected. While this can't happen the way GtkEntry
2645         itself uses the completion, it's still public API and should not
2646         blindly call functions that will spit warnings (fix taken from
2647         maemo-gtk).
2648
2649 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
2650
2651         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
2652         the paintable iface.  
2653
2654 2007-01-24  Michael Natterer  <mitch@imendio.com>
2655
2656         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
2657         of PRELIGHT state for the reasons given in bug #135666. Widget
2658         states are sometimes abused or otherwise used wrongly for historic
2659         reasons, causing this part of the patch to break e.g. menu items.
2660
2661 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
2662
2663         * README: Remove mention of no-longer-existing PATCH
2664         keyword in bugzilla. (#396899)
2665
2666 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
2667
2668         * gtk/gtkpagesetup.c
2669         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
2670         Fixes bug #399907. 
2671
2672 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
2673
2674         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
2675
2676         * gtk/gtkstyle.h:
2677                 Cause gcc to issue a warning if the style returned from
2678                 gtk_style_attach is not used. Failure to update
2679                 widget->style causes some very difficult to reproduce bugs,
2680                 eg Bug 353498 – crash in Terminal: changing icon theme.
2681
2682 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
2683
2684         * gdk/directfb/gdkevents-directfb.c: added fixes for window
2685         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
2686
2687 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
2688
2689         * gtk/gtkcalendar.c: Fix build breakage.
2690
2691 2007-01-19  Kristian Rietveld  <kris@imendio.com>
2692
2693         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
2694         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
2695         add_scroll_timeout().  (taken from maemo-gtk).
2696
2697 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
2698
2699         * gtk/gtkcalendar.c: Fix problems with the initial
2700         focus in GtkCalendar.  (#397783, Vincent Untz)
2701
2702 2007-01-19  Robert Ögren  <gtk@roboros.com>
2703
2704         Fix for bug #143460 - missed tablet clicks on Windows
2705
2706         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
2707         Request absolute reporting of tablet button state, and cut down
2708         the packet queue size a bit.
2709         (_gdk_input_other_event): Change button state handling
2710         accordingly. Also drop the no longer necessary code that detects
2711         missed clicks/releases for button 1. The switch to absolute button
2712         state should prevent missed events for all buttons. Additionally,
2713         swap button 2 and 3.
2714         (_gdk_input_grab_pointer): Don't reset button_state, that will only
2715         cause a new press event as soon as the next tablet packet arrives.
2716
2717 2007-01-19  Tor Lillqvist  <tml@novell.com>
2718
2719         Build Wintab support always on Windows. Don't require the Wintab
2720         SDK.
2721
2722         * configure.in: Drop the --with-wintab option. Drop the
2723         HAVE_WINTAB feature test macro and Automake variable.
2724
2725         * acconfig.h
2726         * config.h.win32.in: Drop HAVE_WINTAB.
2727
2728         * gdk/win32/gdkevents-win32.c
2729         * gdk/win32/gdkinput.c
2730         * gdk/win32/gdkinput-win32.h
2731         * gdk/win32/gdkinput-win32.c
2732         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
2733         unconditional.
2734
2735         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
2736         to load wintab32.dll dynamically here. If it is found look up the
2737         handful Wintab functions we use.
2738         (rest of file): Use these function pointers instead of calling the
2739         functions from wntab32x.lib. The code in wntab32x.lib did the same
2740         thing anyway: tried to load wintab32.dll, and looked up the
2741         addresses of the actual functions from it.
2742
2743         * gdk/Makefile.am
2744         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
2745
2746         * gdk/win32/wintab.h
2747         * gdk/win32/pktdef.h: New files. Copied from the Wintab
2748         SDK. Copyright blurb says: "The text and information contained in
2749         this file may be freely used, copied, or distributed without
2750         compensation or licensing restrictions."
2751
2752         * README.win32: Update a bit. Remove the text about the Wintab
2753         SDK.
2754
2755 2007-01-18  Tor Lillqvist  <tml@novell.com>
2756
2757         * gdk-pixbuf/Makefile.am
2758         * gdk/Makefile.am
2759         * gdk/win32/Makefile.am
2760         * gtk/Makefile.am: Fixes for building outside srcdir on
2761         Win32. (#336819, #340013) Drop distributing the handmade .la
2762         libtool wrapper for the wntab32x library. It's too much trouble
2763         making it work when building outside srcdir. Just link to the
2764         library direcly using -Wl,win32/libwntab32x.a.
2765
2766 2007-01-18  Michael Natterer  <mitch@imendio.com>
2767
2768         * gtk/gtkcheckbutton.c
2769         * gtk/gtkdnd.c
2770         * gtk/gtkentry.c
2771         * gtk/gtkmenu.c
2772         * gtk/gtktreeview.c
2773         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
2774         functions. Based on a patch from maemo-gtk (bug #398023).
2775
2776 2007-01-17  Tor Lillqvist  <tml@novell.com>
2777
2778         * gtk-zip.sh.in: Include also the COPYING file.
2779
2780 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
2781
2782         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
2783         httpGetFd() when building against cups 1.1
2784
2785 2007-01-17  Tor Lillqvist  <tml@novell.com>
2786
2787         Proper fix for #396175:
2788
2789         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
2790         include gtkprivate.h. On Win32 we do want to use the redefinition
2791         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
2792
2793         * gtk/gtkimmodule.c: Instead, correct the prefix also on
2794         simple_context_info.domain_dirname. Do the prefix corrections
2795         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
2796         now they were done only in the autoconfiscated gcc builds. Hans
2797         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
2798         in MSVC builds now.
2799         (correct_localedir_prefix): New function, like
2800         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
2801         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
2802         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
2803         on the domain_dirname instead of correct_libdir_prefix().
2804         (_gtk_im_module_list): Call correct_localedir_prefix() on
2805         simple_context_info.domain_dirname.
2806
2807 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
2808
2809         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
2810         grab changes.  (#396470, Benjamin Berg)
2811
2812 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
2813
2814         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
2815         if they grow too much. (#357303)
2816
2817 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
2818
2819         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
2820         non-scalable dir, keep going and look for a closer match.
2821         (#395830, Luca Ferretti)
2822
2823 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
2824
2825         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
2826         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
2827         gtk_target_table_free instead of duplicating the code. Bug #396493.
2828
2829 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
2830
2831         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
2832         positions can't be found.  (#396161, Hans Breuer)
2833
2834 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
2835
2836         * gtk/gtkselection.c (_gtk_selection_request): Plug 
2837         memory leaks.  (#396160, Carlos Garcia Campos)
2838
2839 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
2840
2841         * configure.in: Link libgtk against Xfixes.  (#396074,
2842         Tommi Komulainen)
2843
2844 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
2845
2846         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
2847         a compiler warning.  (#395045, Chris Wilson)
2848
2849 2007-01-13  Hans Breuer <hans@breuer.org>
2850
2851         * gtk/gtkprintoperation-win32.c : take the custom tab label from
2852         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
2853
2854         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
2855         differing definitions of GTK_LOCALEDIR (bug #396175).
2856
2857         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
2858         not available everywhere
2859
2860         * gtk/makefile.msc.in : updated
2861
2862 2007-01-12  Michael Natterer  <mitch@imendio.com>
2863
2864         * gtk/gtkentry.c (gtk_entry_button_press): don't add
2865         entry->scroll_offset to entry->drag_start_y. Fixes the entry
2866         starting drags after ridiculously small mouse movements.
2867
2868 2007-01-11  Richard Hult  <richard@imendio.com>
2869
2870         * demos/gtk-demo/main.c: (load_file): Close the file after it's
2871         loaded (bug #395316).
2872
2873 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
2874
2875         * gtk/gtkfilesystemunix.c: (expand_tilde):
2876         Make a single tilde go to $HOME in the location entry.
2877         Patch from Yevgen Muntyan. Closes the gtk+ part of
2878         bug #334168.
2879
2880 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
2881
2882         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
2883         * gtk/gtklabel.c (gtk_label_size_request):
2884         Use pango_matrix_transform_rectangle(). (#340141)
2885
2886         * configure.in: Bump pango requirement to 1.15.3.
2887
2888 2007-01-10  Kristian Rietveld  <kris@imendio.com>
2889
2890         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
2891         refactor to initialize indicator_size to TOGGLE_WIDTH instead
2892         of the hardcoded value of 12.
2893
2894 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
2895
2896         * configure.in: Fix the directfb cairo test. (#394855, 
2897         Josselin Mouette)
2898
2899 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
2900
2901         * configure.in: Fix comment for --with-included-loaders.  That option
2902         affects builds with module loading enabled too.
2903
2904 2006-01-08  Peter Teichman  <peter@novell.com>
2905
2906         * gtk/gtkfilechooserdefault.c:
2907         * gtk/gtkfilechooserprivate.h:
2908         * gtk/gtkfilechoosersettings.c:
2909         * gtk/gtkfilechoosersettings.h:
2910         Save the expanded state of the folder browser with the file
2911         chooser settings.  Resolves the expander portions of (#153828,
2912         Lemmit Kaplinski)
2913
2914 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
2915
2916         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
2917         Don't leak the icon pixbuf after setting it to the image menu
2918         item.  Found by Paolo Borelli.
2919
2920 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
2921
2922         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
2923         corrupt memory when faced with paths with ridiculously
2924         large indices. Found by the GTKVTS test suite.  
2925
2926 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
2927
2928         * gtk/gtkmodules.c (_gtk_modules_init): Set 
2929         default_display_opened before loading modules.  (#393102,
2930         Brian Cameron)
2931  
2932 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
2933
2934         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
2935         Call text_window_realize() with the correct parameters.
2936         (#393813, Yevgen Muntyan)
2937
2938 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
2939
2940         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
2941         a bit.
2942
2943 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
2944
2945         * gtk/gtklabel.c: Make line wrapping work with width-chars
2946         and max-width-chars, and simplify the storage of wrap-width.
2947         (#322580, Itai Bar-Haim)
2948
2949 2007-01-06  Tor Lillqvist  <tml@novell.com>
2950
2951         * gdk/win32/cursor.bdf: New file. Downloaded from
2952         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
2953         "diamond_cross", "draft_large", "gobbler" and "target" to fix
2954         #392504. It is possible that the same end result could have been
2955         achieved by tweaking bdfcursor.c instead.
2956         
2957         * gdk/win32/bdfcursor.c: Add optional debugging output.
2958
2959         * gdk/win32/xcursors.h: Regenerated.
2960
2961 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
2962
2963         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
2964         menu labels.  (#393255, Michail Crayson)
2965
2966 2007-01-05  Kristian Rietveld  <kris@gtk.org>
2967
2968         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
2969         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
2970
2971 2007-01-05  Kristian Rietveld  <kris@gtk.org>
2972
2973         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
2974         invalidate nodes if the tree view is not realized. (#363147,
2975         Carlos Garnacho, Miguel Cabrera).
2976
2977 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
2978
2979         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
2980         account when drawing the background.  (#393166, Benjamin Berg)
2981
2982 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
2983
2984         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
2985         again.
2986
2987 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
2988
2989         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
2990         both scroll arrows when calculating size request in GTK_POS_LEFT or
2991         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
2992
2993 2007-01-05  Michael Natterer  <mitch@imendio.com>
2994
2995         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
2996         the right function (fix taken from maemo-gtk).
2997
2998 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
2999
3000         * gdk/gdkprivate.h:
3001         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
3002         (gdk_draw_layout_with_colors):
3003         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
3004         Avoid overflow when converting coordinates to Pango units. (#332266,
3005         Jody Goldberg)
3006
3007 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3008
3009         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
3010         after realization of the popup window, so clamp node doesn't fail.
3011         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
3012
3013 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
3014
3015         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
3016         variable.
3017
3018 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3019
3020         * gtk/Makefile.am:
3021         * gdk-pixbuf/Makefile.am:
3022         * configure.in:
3023         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
3024         (#392646, Yevgen Muntyan)
3025
3026 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
3027
3028         * demos/gtk-demo/textscroll.c:
3029         * gtk/gtkhandlebox.c:
3030         * gtk/gtkcolorsel.c: Fix some compiler warnings.
3031
3032 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3033
3034         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
3035         by calling the input method regardless of editability,
3036         and beeping from the commit/preedit-changed handlers.
3037         (#390514, Yevgen Muntyan)
3038
3039 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3040
3041         Fix #332604, reported by Joe Wreschnig, patch
3042         by Jan Arne Petersen and Behdad Esfahbod.
3043
3044         * gtk/gtklabel.c (gtk_label_size_allocate): Only
3045         set the width of the layout when necessary.
3046         (get_layout_location): Use pango_layout_get_pixel_extents()
3047         instead of pango_layout_get_width().
3048
3049 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3050
3051         * modules/printbackends/cups/gtkprintbackendcups.c 
3052         (available_choices): Don't leak conflicts.
3053
3054         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3055         Don't leak the status string.
3056
3057 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3058
3059         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
3060         Exit early if we can't get file info - this happens
3061         if the iter points to the row where we are editing
3062         the name for a newly created folder.  (#392191, Michael
3063         Partridge, patch by Kristian Rietveld)
3064
3065 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3066
3067         * gtk/*.c:
3068         * gdk/x11/*.c: Apply a patch by Chris Wilson to
3069         avoid spurious valgrind warnings from XSendEvent() 
3070         calls.  (#392532)
3071
3072         * modules/printbackends/cups/gtkprintbackendcups.c: Close
3073         the http connection after getting the PPD.
3074
3075         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
3076         Fix memory leaks.  
3077
3078 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3079
3080         * gtk/gtkassistant.c (remove_page): If the current page
3081         is removed, always pick a different one.  (#392457, 
3082         Colin Watson)
3083
3084 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3085
3086         * modules/printbackend/cups/*.c: Coding style cleanups.
3087
3088 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3089
3090         * configure.in: Export SED to make sourcing of
3091         libtool work. Tighten up the directfb pkgconfig check.
3092
3093 2007-01-03  Michael Natterer  <mitch@imendio.com>
3094
3095         * gtk/gtkstyle.c (option_menu_get_props)
3096         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
3097         gtk_border_free when freeing borders.
3098
3099 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
3100
3101         * gtk/gtkentry.c (get_text_area_size): Work when the
3102         entry is not realized.  (#392315, Yevgen Muntyan)
3103
3104         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
3105         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
3106
3107         * gtk/gtkentry.c (cursor_blinks): Don't get settings
3108         unnecessarily.  (#392227)
3109
3110 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3111
3112         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
3113         updates on the window at hand, not on all windows, to
3114         avoid violating resize/redraw ordering constraints.
3115         (#362406, Owen Taylor)
3116         
3117 2007-01-03  Kristian Rietveld  <kris@gtk.org>
3118
3119         * gtk/gtkcellrendererprogress.c
3120         (gtk_cell_renderer_progress_class_init): fix docs.
3121
3122 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3123         
3124         * gtk/updateiconcache.c: Include locale.h
3125
3126 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3127
3128         * gtk/updateiconcache.c (main): Call setlocale().
3129
3130         * gtk/gtkfilesel.c:
3131         * gtk/gtkfilesystemunix.c:
3132         * gtk/gtkfilesystemwin32.c:
3133         * gtk/gtkfilechoosersettings.c:
3134         * gtk/updateiconcache.c: Consistently use folder instead of
3135         directory in translated messages.  (#344584, Javier F. Serrador)
3136
3137 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3138
3139         Try to fix #315732, reported by Luke Hutchinson:
3140
3141         * gdk/x11/xsettings-client.[hc]:
3142         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
3143         will guarantee that it can be looked up in the xid hash later.
3144         Also, use the nesting server grab function during the xsettings
3145         client initialization. Finally, make xsettings client not
3146         eat DestroyNotifys so that GDK can do its regular cleanup. 
3147
3148 2007-01-02  Michael Natterer  <mitch@imendio.com>
3149
3150         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
3151         when a keybinding didn't change adjustment->value.
3152
3153 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3154
3155         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
3156         Try harder not to beep on events which are not meant to
3157         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
3158
3159 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3160
3161         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
3162
3163 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
3164
3165         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
3166         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
3167
3168 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
3169
3170         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
3171
3172 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3173
3174         * gtk/gtkscrolledwindow.h:
3175         * gtk/gtkscrolledwindow.c: Only handle key bindings
3176         for scrolling if the scrollbars are visible.
3177         (#340135, Christian Persch)
3178
3179 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3180
3181         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
3182         Don't segfault on horizontal scrolling.  
3183
3184 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3185
3186         * gtk/gtknotebook.h:
3187         * gtk/gtknotebook.c: Only handle key bindings for
3188         tab reordering if the tabs are shown and reorderable. 
3189         (#390468, Yevgen Muntyan)
3190
3191         * gtk/gtkmarshalers.list: Add required marshaler
3192
3193 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3194
3195         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
3196         Mention in the docs that the return value is
3197         NULL-terminated.  (#383373, Christian Neumair)
3198
3199 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3200
3201         * gtk/gtkicontheme.c (load_themes): Waste less time
3202         with non-directories.  (#391725, Chris Wilson)
3203
3204 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3205
3206         * gtk/gtkcellrendererprogress.c: Implement activity mode
3207         for GtkCellRendererProgress.  (#377851, Brad Taylor)
3208
3209 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3210
3211         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
3212
3213         * modules/printbackends/cups/gtkcupsutils.c
3214         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
3215         IPP_TAG_OPERATION.
3216         * modules/printbackends/cups/gtkprintbackendcups.c
3217         (gtk_print_backend_cups_print_stream): Don't add the
3218         requesting-user-name attribute a second time. 
3219
3220 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
3221
3222         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
3223
3224 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
3225
3226         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
3227         right object when disconnecting from the GtkRecentManager::changed
3228         signal; save us a few indirections using a variable.
3229
3230 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
3231
3232         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
3233         disconnections into the dispose function, as well as the
3234         object unrefs; reset every handler id and the
3235         pointers. (suggested by Paolo Borelli, #390873)
3236
3237 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
3238
3239         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
3240         Kazuki Iwamoto)
3241
3242 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3243
3244         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
3245         scroll timeout.  (#390872, Yevgen Muntyan)
3246
3247 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3248
3249         * gtk/gtkprintoperation-unix.c:
3250         * gtk/gtkprintbackend.c:
3251         * gtk/gtkfilechooserdefault.c:
3252         * gtk/gtksettings.c: Move a few settings to gtksettings.c
3253         to make sure they show up in the docs.  (#365364, Christian
3254         Persch)
3255
3256 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3257
3258         * gtk/gtkassistant.c: Redraw assistant on reallocate
3259         to avoid rendering glitches.  (#343956, Christian
3260         Persch, Carlos Garnacho)
3261
3262 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3263
3264         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
3265
3266 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3267
3268         * gtk/gtkaction.c: Improve the docs of the "label" 
3269         property.  (#341730, Kristof Vansant)
3270
3271 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3272
3273         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
3274         Correctly handle min size. (#320465, Philipp Langdale)
3275
3276 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3277
3278         * gtk/prop-editor.c: Implement editing of flags.
3279
3280 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
3281
3282         * gtk/gtkentry.c:
3283         * gtk/gtklabel.c:
3284         * gtk/gtkpaned.c:
3285         * gtk/gtkstatusbar.c:
3286         * gtk/gtktextview.c: Don't install cursors on insensitive
3287         widgets.  (#358864, Jan Schampera)
3288
3289 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3290
3291         * gtk/gtkrecentmanager.h:
3292         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
3293         Shiino Yuki)
3294
3295         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
3296         Christian Persch)
3297
3298         * gtk/gtkentry.c (blink_cb):
3299         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
3300         if focus went missing. Just warn, clean up and continue.
3301         (#374378)
3302
3303 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
3304
3305         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
3306         originally received the event is a notebook page. (#315440, reported
3307         by Mateusz Stefek)
3308
3309 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3310
3311         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
3312         Paolo Borelli)
3313
3314 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
3315
3316         * tests/prop-editor.c: Display children of containers
3317         and cell renderers of cell layouts.
3318
3319         * gtk/gtk.symbols:
3320         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
3321         New function to get the cell renderers of a cell layout.
3322
3323         * gtk/gtktreeviewcolumn.c:
3324         * gtk/gtkcellview.c:
3325         * gtk/gtkiconview.c: Implement get_cells.
3326
3327 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3328
3329         * gtk/gtkiconview.c: Use word wrapping by default, and
3330         center multiline labels.  (#318763, Ross Burton)
3331
3332         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
3333         case for single-line layouts.
3334
3335 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3336
3337         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
3338         David Lodge)
3339
3340         * gtk/gtkuimanager.c (update_node): Only use the results
3341         of find_menu/toolbar_position() if they succeed. May fix
3342         bug #388041.
3343
3344 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
3345
3346         * gdk/gdk.c: Fix some formatting errors in docs.  
3347
3348 2006-12-28  Tor Lillqvist  <tml@novell.com>
3349
3350         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
3351         (gtk_status_icon_update_image): Don't leak HICONs on
3352         Win32. (#364868, Hiroyuki Yamamoto)
3353
3354 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
3355
3356         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
3357
3358         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
3359         * gtk/gtkmarshalers.list: add new marshaler definition.
3360         * gtk/gtkenums.h: add GtkDragResult enum.
3361
3362         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
3363         operation wasn't successful.
3364         (_gtk_drag_source_handle_event) (gtk_drag_drop)
3365         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
3366         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
3367         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
3368         gtk_drag_drop_finished() the operation result.
3369
3370         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
3371         (gtk_notebook_drag_data_get): do not call window creation hook here.
3372         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
3373         target, instead connect to "drag-failed".
3374         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
3375
3376 2006-12-28  Mikael Hallendal  <micke@imendio.com>
3377
3378         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
3379         integration into gdkeventloop-quartz.c.
3380
3381         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
3382
3383         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
3384         integration.
3385
3386 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3387
3388         * modules/printbackends/lpr/gtkprintbackendlpr.c 
3389         (gtk_print_backend_lpr_print_stream): Close the io channel
3390         on unref.  (#390159, Joe Markus Clarke)
3391
3392 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3393
3394         * gdk/gdk.h: Remove redundant declarations (#390097,
3395         Christian Persch)
3396
3397 2006-12-27  Kristian Rietveld  <kris@gtk.org>
3398
3399         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
3400
3401         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
3402         gtk-alternative-sort-arrows.
3403
3404         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
3405         new setting.
3406
3407         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
3408         gtk-alternative-sort-arrows setting to true.
3409
3410         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3411         invert direction if gtk-alternative-sort-arrows is TRUE.
3412
3413 2006-12-27  Tor Lillqvist  <tml@novell.com>
3414
3415         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
3416         gtk_status_icon_set_screen.
3417
3418         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
3419         on Windows. Keep track of where the last button click on the
3420         taskbar icon took place, and return that. Obviously not correct if
3421         no button has ever been clicked on the icon, or if the geometry of
3422         the taskbar has changed since. But for most use cases where a menu
3423         is going to be displayed as a direct result of a button click on
3424         the status icon, works fine. (#377349)
3425
3426         Implement getting the orientation property on Windows.
3427
3428         (gtk_status_icon_embedded_changed)
3429         (gtk_status_icon_orientation_changed): Ifdefify these functions
3430         that are used only on X11.
3431
3432 2006-12-27  Tor Lillqvist  <tml@novell.com>
3433
3434         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
3435         typo. (#390035, Kazuki Iwamoto)
3436
3437 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3438
3439         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
3440
3441         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
3442         (gtk_combo_box_unset_model): Handle repeated unsetting
3443         of models without warnings.  (#367529, Robert Ancell)
3444
3445 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3446
3447         * modules/printbackends/cups/gtkcupsutils.c: 
3448         * modules/printbackends/cups/gtkprintbackendcups.c: Use
3449         getters for http fields where available.  (#364866, 
3450         Björn Lindqvist)
3451
3452 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3453
3454         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
3455         (#362614, Xan Lopez)
3456
3457 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3458
3459         * gtk/gtkuimanager.c (update_node): If a required action
3460         is missing, don't recurse over the children.  (#349119,
3461         Chris Moller)
3462
3463 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
3464
3465         Fix a few problems with nested menus in comboboxes
3466         (#386694, Yevgen Muntyan)
3467
3468         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
3469         connect the activate callback.
3470         (gtk_combo_box_menu_item_activate): Do nothing if called on
3471         an item with a submenu.
3472         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
3473         is empty.
3474
3475 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
3476
3477         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
3478         filechooser button. Bug 353196.
3479
3480 2006-12-26  Kristian Rietveld  <kris@gtk.org>
3481
3482         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
3483         the search dialog timeout never to be refreshed. (#389581,
3484         Andrzej Szombierski).
3485
3486 2006-12-26  Kristian Rietveld  <kris@gtk.org>
3487
3488         Lots of scrolling fixes.  Made scrolling work properly in not fully
3489         validated tree views; fixed a bunch of corner cases.
3490
3491         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
3492         upper - page_size, we know it is located at the end so the test for
3493         dy + height has been dropped.
3494         In the same case if area_below < 0, we know this is the last node
3495         in the tree view so area_above is page_size - height of this row.
3496         (validate_visible_area): got rid of subtracting new_height -
3497         old_height from area_{below,above}, it didn't make any sense at
3498         all and the full height of the row should be subtracted instead.
3499         (validate_visible_area): when scrolling to a given path, set the
3500         top row directly together with the dy offset, then sync that top_row
3501         to the dy.
3502         (gtk_tree_view_set_top_row): new function to directly set a top_row.
3503         (gtk_tree_view_dy_to_top_row): refactored to use
3504         gtk_tree_view_set_top_row().
3505         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
3506         (gtk_tree_view_adjustment_changed): only update our dy and
3507         top_row if the adjustment's dy actually changed.
3508
3509 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
3510
3511         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
3512         Return the correct value from gtk_notebook_insert_page if the
3513         page-added handler reorders the tabs. Bug #345094.
3514
3515 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
3516
3517         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
3518
3519         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
3520         scrolling when hovering with a detached tab.
3521         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
3522         focus tab has changed during a tab DND operation.
3523         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
3524         (gtk_notebook_paint): do not take cur_page as a reference to paint the
3525         box if it's detached.
3526         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
3527         to the detached tab if we hover the arrows during a tabs detaching 
3528         operation, do not allocate it unconditionally in 0,0.
3529
3530 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
3531
3532         Expose improvements for GtkNotebook. Bug #383435
3533
3534         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
3535         labels.
3536         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
3537         (gtk_notebook_draw_tab): do not send handmade expose events to tab
3538         labels.
3539
3540 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
3541
3542         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
3543         FALSE.  (#389623, Carlos Garnacho Parro)
3544
3545         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
3546         redraws.
3547
3548 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3549
3550         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
3551         (gtk_plug_unrealize): Notify the "embedded" property also on
3552         normal construction and when destroying the socket window.
3553         Bug #388738.
3554
3555 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3556
3557         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
3558         (gtk_about_dialog_init), (display_credits_dialog),
3559         (display_license_dialog):
3560         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
3561         (gtk_file_chooser_dialog_init),
3562         (gtk_file_chooser_dialog_constructor),
3563         (gtk_file_chooser_dialog_unmap):
3564         * gtk/gtkrecentchooserdefault.c:
3565         (_gtk_recent_chooser_default_init):
3566         * gtk/gtkrecentchooserdialog.c:
3567         (gtk_recent_chooser_dialog_class_init),
3568         (gtk_recent_chooser_dialog_init),
3569         (gtk_recent_chooser_dialog_constructor),
3570         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
3571         instead of using style-set handlers. Fix the filechooser's spacing
3572         between content and action area to 12px. Bug #372447.
3573
3574 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3575
3576         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
3577         Don't assume statusbar->label is the statusbar's frame's child when
3578         shrinking the size allocation when the grip is shown. Bug #372452.
3579
3580 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
3581
3582         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
3583         (add_custom_paper): Fix mem leaks. Bug #389194.
3584
3585 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3586
3587         * gtk/gtktextutil.c: Remove debug output.
3588
3589         * gtk/gtktextview.c: Improve the DND scrolling
3590         behaviour.  (#92387, Carlos Garnacho Parro)
3591
3592         * gtk/gtkaccellabel.c: Improve translators comments.  
3593         (#389298, Christian Persch)
3594
3595 2006-12-24  Bastien Nocera  <hadess@hadess.net>
3596
3597         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
3598         (#389183)
3599
3600 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
3601
3602         * docs/reference/gtk/gtk-sections.txt:
3603         * gtk/gtk.symbols:
3604         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
3605         * gtk/gtkprinter-private.h:
3606         * gtk/gtkprinter.c: (gtk_printer_list_papers):
3607         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
3608
3609 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
3610
3611         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
3612         when is selected in page setup dialog. Fixes bug #365047.
3613
3614 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3615
3616         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
3617         Use gtk_border_free when freeing border.
3618
3619 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3620
3621         * gtk/gtkentry.c (gtk_entry_button_press): When
3622         shift-clicking, keep the larger part of the selection
3623         selected.  (#353709, Benjamin Otte)
3624
3625         * gtk/gtkbutton.c (gtk_button_get_props): Use 
3626         gtk_border_free when freeing borders.
3627
3628         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
3629         careful when faking a button release.  (#323146,
3630         Travis Abbott)
3631
3632         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
3633         handle with the right orientation, depending on the
3634         position of the handlebox.  (#159764, Benjamin Berg)
3635
3636 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3637
3638         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
3639         GtkBorder (#383557).
3640
3641 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
3642
3643         Bug 340141 – Update to Pango 1.16 API
3644
3645         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
3646         (gdk_pango_layout_line_get_clip_region):
3647         * gtk/gtkcalendar.c (gtk_calendar_size_request):
3648         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
3649         (get_layout_position), (gtk_entry_find_position),
3650         (gtk_entry_adjust_scroll):
3651         * gtk/gtkiconview.c (get_pango_text_offsets):
3652         * gtk/gtklabel.c (get_cursor_direction):
3653         * gtk/gtkstyle.c (get_insensitive_layout):
3654         * gtk/gtktextdisplay.c (render_para):
3655         * gtk/gtktextlayout.c (allocate_child_widgets),
3656         (find_display_line_below), (find_display_line_above),
3657         (gtk_text_layout_move_iter_to_previous_line),
3658         (gtk_text_layout_move_iter_to_next_line),
3659         (gtk_text_layout_move_iter_to_line_end),
3660         (gtk_text_layout_iter_starts_line),
3661         (gtk_text_layout_move_iter_to_x):
3662         * gtk/gtktextutil.c (limit_layout_lines):
3663         Use the _readonly version of pango_layout_iter_get_line(),
3664         pango_layout_iter_get_run(), pango_layout_get_line(), and
3665         pango_layout_get_lines().
3666
3667         * gtk/gtkmain.c (gtk_get_default_language): Use
3668         pango_get_default_language().
3669
3670 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
3671
3672         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
3673         and notify:text only once. The same fix was applied
3674         for replacing the selection via DND or copy-and-paste.
3675         (#64998, Damon Chaplin, Sven Herzberg)
3676
3677 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
3678
3679         * gtk/gtkimmulticontext.c: Be careful to not override
3680         GTK+ translations with the translations of the input
3681         method.  (#317080, Tor Lillqvist)
3682
3683         * modules/input/imcedilla.c: Use standard macros
3684         for translation domain and locale dir.
3685
3686         * gtk/gtkimcontextsimple.c: Allow composing l with 
3687         stroke.  (#349638, Daniel Lublin)
3688
3689         * gtk/gen-paper-names.c: Fix a thinko in the suffix
3690         calculation.  (#382369, Christian Persch)
3691
3692         * gtk/paper_names_offsets.c: Regenerated.
3693
3694 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
3695
3696         * modules/engines/pixbuf/pixbuf.h:
3697         * modules/engines/pixbuf/pixbuf-rc-style.h:
3698         * modules/engines/pixbuf/pixbuf-style.h: Move 
3699         G_GNUC_INTERNAL before function declarations.  (#352276,
3700         Damien Carbery)
3701
3702 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
3703
3704         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
3705         Wilson)
3706
3707 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
3708
3709         * *.c: Replace a lot of idle and timeout calls by
3710         the new gdk_threads api. 
3711
3712         * gdk/gdk.symbols:
3713         * gdk/gdk.h:
3714         * gdk/gdk.c: Add functions to allow threadsafe handling
3715         of idles and timeouts wrt. to the GDK lock.  (#321886,
3716         Chris Wilson)
3717         
3718 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
3719         
3720         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
3721         (#340141, Behdad Esfahbod)
3722
3723         * configure.in: Check for getc_unlocked.
3724
3725         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
3726         unavailable.   (#381499)
3727
3728         * tests/teststatusicon.c: Fix a typo
3729
3730 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
3731
3732         Make it possible to track the embeddedness of
3733         statusicon (#387215, Martyn Russell, patch by Christian
3734         Persch)
3735
3736         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
3737         * gtk/gtkplug.c: 
3738         * gtk/gtkplug-x11.c: Add an embedded property.
3739         * tests/teststatusicon.c: Test the new properties.
3740
3741         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
3742         leak draw_border.  (#387170, Kjartan Maraas)
3743
3744 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
3745
3746          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
3747         Typo fix.  (#388123, Murray Cumming)
3748         
3749         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
3750         Generate double-click events.  (#380421, Tommi Komulainen)
3751
3752         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
3753         (_gdk_input_enter_event): Correct return_if_fail checks.
3754         (#379803, Tommi Komulainen)
3755
3756         * gdk/gdkdisplay.c: Improve the docs of some functions operating
3757         on the default display.  (##353438, Mariano Suárez-Alvarez)
3758
3759 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
3760
3761         * docs/reference/gdk/gdk-sections.txt:
3762         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
3763         converting a GdkColor to a string (#373856).
3764
3765         * configure.in: Bump pango requirement to 1.15.2.
3766
3767 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
3768         
3769         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
3770         Bastian Nocera)
3771
3772         * gdk/keyname-table.h: Regenerated
3773
3774         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
3775         Søren Wedel Nielsen)
3776
3777         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
3778         Silently return if a drag is already in progress, rather
3779         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
3780
3781         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
3782         Allow any GtkDialog that implements GtkFileChooser as
3783         dialog.  (#335473, Tommi Komulainen)
3784
3785 2006-12-20  Mikael Hallendal  <micke@imendio.com>
3786
3787         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
3788         change in the quartz backend.
3789
3790 2006-12-20  Mikael Hallendal  <micke@imendio.com>
3791
3792         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
3793         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
3794         status icon.
3795         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
3796
3797 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
3798
3799         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
3800         format of page ranges, and improve the page sequence icon
3801         for the case of n_copies == 1.
3802  
3803 2006-12-19  Mikael Hallendal  <micke@imendio.com>
3804
3805         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
3806         routine so that it can be used from libgtk as well (needed for
3807         upcoming GtkStatusIcon support in the Quartz port).
3808         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
3809         created from GDK, this is not true for the status icon.
3810         * gdk/quartz/gdkprivate-quartz.h:
3811         * gdk/quartz/gdkquartz.h: Added 
3812         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
3813         the status icon code.
3814
3815 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
3816
3817         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
3818         gtk_message_dialog_set_image ()
3819
3820         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
3821         (setting "window-placement-set" could result in a crash because
3822         of boolean/enum mixup)
3823
3824 2006-12-15  Federico Mena Quintero  <federico@novell.com>
3825
3826         Merged from gtk-2-10:
3827
3828         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
3829         the case where the new title is the same as the old title, to
3830         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
3831         equivalent).  Handle the case where title == priv->title.  This
3832         was found by the LSB compatibility tests:
3833         https://bugzilla.novell.com/show_bug.cgi?id=223882
3834
3835 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
3836
3837         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
3838         more closely resemble its Win32 counterpart. Bug #340204.
3839
3840 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
3841
3842         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
3843         placed inside their GdkWindow. Bug #385672.
3844
3845 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
3846
3847         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
3848
3849 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
3850
3851         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
3852         drawn with extra line below tab in MS-Windows theme. Patch by 
3853         Cody Russell
3854         
3855 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
3856
3857         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
3858         for print preview.  (#370041, Ghee Teo)
3859
3860 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
3861
3862         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
3863         careful when overdrawing antialiased text.  (#352435, Alex Jones,
3864         patch by Benjamin Otte)
3865
3866         * gtk/gtksettings.c: Change the way in which color scheme information
3867         is merged to correctly handle vanishing colors.  (#374420, 
3868         Benjamin Berg, patch by Callum McKenzie) 
3869         Also allow to separate entries in color schemes by ';' 
3870         instead of newline.  
3871
3872 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
3873
3874         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
3875         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
3876
3877 2006-12-10  Kristian Rietveld  <kris@gtk.org>
3878
3879         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
3880         cancel editing (ie. don't accept changes) when the entry loses
3881         focus. (Fixes #164494, reported by Chris Rouch).
3882
3883 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
3884
3885         * configure.in: Correct a misapplied patch. 
3886
3887 2006-12-10  Tor Lillqvist  <tml@novell.com>
3888
3889         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
3890         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
3891         developer zipfile. Users might add pixbuf loaders or immodules
3892         even if they are not interested in developing gtk+-using software.
3893
3894 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
3895
3896         * configure.in: Check for crt_extern.h and _NSGetEnviron.
3897         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
3898         environ is not available.  (#384168, Min Sik Kim)
3899
3900 2006-12-07  Paolo Maggi  <paolo@gnome.org>
3901
3902         Fixes bug #383407
3903         
3904         * gtk/gtkentry.c (gtk_entry_set_text): check for
3905         completion->priv->changed_id > 0 before calling 
3906         g_signal_handler_[un]block.
3907         (gtk_entry_completion_key_press): does not block/unblock the "changed"
3908         signal before calling gtk_entry_set_text.
3909         
3910 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
3911
3912         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
3913         xthickness/ythickness, they aren't used any longer for drawing.
3914
3915 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
3916
3917         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
3918         underlines by giving labels a small draw-border.
3919
3920 2006-12-06  Kristian Rietveld  <kris@gtk.org>
3921
3922         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
3923         draw progress bar through theme engine instead of using our own
3924         custom cairo drawing code (#377244, patch from Carlos Garnacho).
3925
3926 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
3927
3928         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
3929         Update the sensitivity of the collate checkbutton more frequently,
3930         proposed by Tim Waugh.
3931
3932 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
3933
3934         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
3935         since we no longer set window titles.
3936
3937 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
3938
3939         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
3940         (gtk_page_setup_set_paper_size): Don't leak the old page size when
3941         setting a new one. Bug #382314.
3942
3943 2006-12-03  Michael Natterer  <mitch@gimp.org>
3944
3945         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
3946
3947 2006-12-03  Kristian Rietveld  <kris@gtk.org>
3948
3949         Make sure [xy]_offset are always being initialized, fix pixbuf
3950         renderer padding.  (#108235, Sven Neumann).
3951
3952         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
3953         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
3954         of _get_size.
3955
3956         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
3957         always initialize [xy]_offset.
3958         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
3959         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
3960         ditto.
3961
3962 2006-12-03  Kristian Rietveld  <kris@gtk.org>
3963
3964         * gtk/gtktreeview.c (validate_visible_area): when not using an
3965         explicit alignment, use the full area of the row (not just dy)
3966         to determine how to implicitly align it.  (Fixes #363191, reported
3967         by Federico Mena Quintero).
3968
3969 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
3970
3971         * gtk/gtkicontheme.c (insert_theme): Properly clean up
3972         if an icon theme index file has no directories.  (#381236)
3973
3974 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
3975
3976         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
3977         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
3978         
3979 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
3980
3981         Remove the broken Thai input method and add a functional Thai and Lao
3982         input method by Theppitak Karoonboonyanan. (#81031)
3983
3984         * modules/input/imthai.c:
3985         * modules/input/gtkimcontextthai.c:
3986         * modules/input/gtkimcontextthai.h:
3987         * modules/input/thai-charprop.c:
3988         * modules/input/thai-charprop.h:
3989         Added.
3990
3991         * modules/input/imthai-broken.c:
3992         Removed.
3993         
3994         * modules/input/Makefile.am:
3995         Updated.
3996
3997 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
3998
3999         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
4000
4001 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
4002
4003         * gtk/gtktextview.c: applied patch by  Colin Leroy for
4004         Control+GDK_KP_Left to move one word to the left, #356255.
4005
4006 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
4007
4008         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
4009           widget. (#379503)
4010
4011 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
4012
4013         * modules/printbackends/cups/gtkprintbackendcups.c: Make
4014         print dialog work when 'BrowseShortNames Off' is specified
4015         in cups configuration. Patch by Tim Waugh.
4016
4017 2006-11-24  Michael Natterer  <mitch@imendio.com>
4018
4019         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
4020         can't go up/down, consult gtk_widget_keynav_failed() and leave the
4021         widget if it returns FALSE (bug #322640).
4022
4023 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
4024
4025         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
4026
4027 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
4028
4029         * gtk/gtkrecentmanager.c:
4030         (get_uri_shortname_for_display): g_filename_from_uri() might
4031         fail; catch the failure and fall back to the non-local URI
4032         case. (#363437)
4033
4034 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
4035
4036         Fixes bug #376502 - multi-screen support for GtkStatusIcon
4037
4038         * gtk/gtkstatusicon.[ch]:
4039         (gtk_status_icon_set_screen),
4040         (gtk_status_icon_get_screen): add multi-screen API. Allows
4041         an app to display an icon on a non-default screen
4042         (gtk_status_icon_class_init),
4043         (gtk_status_icon_set_property),
4044         (gtk_status_icon_get_property): add a "screen" property
4045         
4046         * tests/teststatusicon.c: update to test on multiple screens
4047
4048 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
4049
4050         Fix problems with drag cancellation. (#376535, Michael Natterer)
4051         
4052         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
4053         handlers before emitting drag-end.
4054         (gtk_drag_end): Disconnect signal handlers before removing
4055         the grab.  
4056
4057 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
4058
4059         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4060         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
4061
4062 2006-11-16  Michael Natterer  <mitch@imendio.com>
4063
4064         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
4065         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
4066         and gtk-keynav-wrap-around and wrap around, beep or continue outside
4067         the group manually (bug #322640).
4068
4069 2006-11-16  Michael Natterer  <mitch@imendio.com>
4070
4071         Add new infrastructure for notifications of failed keyboard
4072         navigation and navigation with restricted set of keys.
4073
4074         The patch handles configurable beeping, navigating the GUI with
4075         cursor keys only (as in phone environments), and configurable
4076         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
4077         and #309291.
4078
4079         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
4080         gtk-keynav-wrap-around and gtk-error-bell.
4081
4082         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
4083         API to emit it. Added New function gtk_widget_error_bell() which
4084         looks at the gtk-error-bell setting and calls gdk_window_beep()
4085         accordingly.
4086
4087         * gtk/gtk.symbols: add the new widget symbols.
4088
4089         * gtk/gtkcellrendereraccel.c
4090         * gtk/gtkimcontextsimple.c
4091         * gtk/gtkmenu.c
4092         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
4093         gtk-error-bell setting instead of calling gdk_display_beep()
4094         unconditionally.
4095
4096         * gtk/gtkcombobox.c
4097         * gtk/gtkentry.c
4098         * gtk/gtkiconview.c
4099         * gtk/gtklabel.c
4100         * gtk/gtkmenushell.c
4101         * gtk/gtkspinbutton.c
4102         * gtk/gtktextview.c
4103         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
4104
4105         * gtk/gtkentry.c
4106         * gtk/gtklabel.c
4107         * gtk/gtkrange.c
4108         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
4109         cursor navigation and leave the widget if it returns FALSE.
4110
4111         * gtk/gtkmenushell.c
4112         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
4113         is TRUE.
4114
4115         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
4116         whether to to wrap-around, and don't select active items on cursor
4117         navigation if gtk-keynav-cursor-only is TRUE. Should look at
4118         gtk-keynav-wrap-around too, will look into that.
4119
4120 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4121
4122         * gtk/gtkrecentmanager.c:
4123         (gtk_recent_info_get_uri_display): Return the URI
4124         of the GtkRecentInfo object (upgraded to UTF-8 if
4125         needed) in case of non-local file. (#351945)
4126
4127 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4128         
4129         * gtk/gtkrecentchoosermenu.c:
4130         (gtk_recent_chooser_menu_add_tip): Apply the tip only
4131         if we have a displayable name for the item. (#365031,
4132         patch by padraig.obriain(at)sun.com)
4133
4134 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
4135
4136         * gtk/gtkrecentmanager.c: Provide a fast path returning
4137         NULL when the limit is set to 0.
4138
4139         * gtk/gtkrecentchooserdefault.c:
4140         * gtk/gtkrecentchoosermenu.c: Add the same fast path
4141         inside the RecentChooser implementation; add a check
4142         in the list clamping code. (#373466 and duplicates)
4143
4144 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
4145
4146         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
4147         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
4148
4149 2006-11-15  Michael Natterer  <mitch@imendio.com>
4150
4151         * gtk/gtkrange.[ch]: added properties "fill-level",
4152         "show-fill-level" and "restrict-to-fill-level" and getters/setters
4153         for them. The "fill level" is an additional marker on the range's
4154         trough than can be e.g. used to indicate the amount of
4155         pre-buffering in a range showing the play position of streamed
4156         media. See the embedded API docs for details. Made GtkRangeLayout
4157         a GTypeInstance private struct and removed finalize()
4158         implementation. Fixes bug #349808
4159
4160         * gtk/gtk.symbols: added the new symbols.
4161
4162 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
4163
4164         * configure.in: Make libtool magic robust. (#352795)
4165
4166 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
4167
4168         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
4169         leak (#370395)
4170
4171 2006-11-09  Kristian Rietveld  <kris@imendio.com>
4172
4173         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
4174         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
4175
4176 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
4177
4178         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
4179
4180 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
4181
4182         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
4183         timeout running if the slider buttons are hidden. (#372527)
4184
4185 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
4186
4187         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
4188         the "Location" label bold. Bug #372449.
4189
4190 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
4191
4192         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
4193         non-focused tabs xthickness/ythickness thinner. (#353962)
4194
4195 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
4196
4197         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
4198         corruption (#357050).
4199
4200 2006-11-06  Alexander Larsson  <alexl@redhat.com>
4201
4202         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
4203         (gtk_drag_source_info_destroy), (gtk_drag_end),
4204         (gtk_drag_grab_notify_cb):
4205         Cancel drag when the grab is shadowed. (#122688)
4206
4207 2006-11-01  Kristian Rietveld  <kris@imendio.com>
4208
4209         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
4210         (gtk_combo_box_size_request): add arrow-size property to control
4211         the minimum size of the arrow, have the arrow scale up with the
4212         font by default. (#357950).
4213
4214 2006-10-30  Kristian Rietveld  <kris@gtk.org>
4215
4216         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
4217         forget to queue a draw for the new cursor node. (Fixes #366548,
4218         reported by Sven Herzberg).
4219
4220 2006-10-30  Michael Natterer  <mitch@imendio.com>
4221
4222         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
4223         only if we actually cancel a drag. Fixes bug #58389.
4224
4225 2006-10-30  Kristian Rietveld  <kris@gtk.org>
4226
4227         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
4228         keybindings to collapse/expand rows instead of moving the focus
4229         cursor. (#105895, Brian Bober and others).
4230
4231 2006-10-29  Kristian Rietveld  <kris@gtk.org>
4232
4233         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
4234         child removal in row-expanded callback. (#366782, John Ellis).
4235
4236 2006-10-29  Tor Lillqvist  <tml@novell.com>
4237
4238         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
4239         of the small icon of the window class. (#152620, Kazuki Iwamoto)
4240
4241 2006-10-29  Tor Lillqvist  <tml@novell.com>
4242
4243         * gdk/win32/gdkcursor-win32.c
4244         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
4245         for instance the built-in GDK ones.
4246
4247 2006-10-27  Kristian Rietveld  <kris@gtk.org>
4248
4249         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
4250         case to not overwrite the variables in the lower scope (which are
4251         used later on ...), get the path correctly and bail out when there
4252         isn't a node above us. (#359231).
4253
4254 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
4255
4256         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
4257
4258 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
4259
4260         * gtk/gtk.symbols: Add missing symbols to so make check can pass
4261
4262 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
4263
4264         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
4265         to free GDI Pen resources, introduced by bug 340201.(#364514)
4266         
4267 2006-10-18  Kristian Rietveld  <kris@imendio.com>
4268
4269         * tests/testcombo.c (main): connect to notify::popup-shown instead of
4270         popup-show (the latter does not exist).
4271
4272 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
4273
4274         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
4275         Fixes bug #362439.
4276
4277 2006-10-12  Michael Natterer  <mitch@imendio.com>
4278
4279         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
4280         (committed the wrong patch).
4281
4282 2006-10-12  Michael Natterer  <mitch@imendio.com>
4283
4284         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
4285         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
4286         obsolete now. Fixes bug #358293.
4287
4288 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
4289
4290         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
4291
4292 2006-10-11  Tor Lillqvist  <tml@novell.com>
4293
4294         * configure.in: Enable having some gdk-pixbuf loaders built-in
4295         even if loading the others dynamically. Define Automake
4296         conditional INCLUDE_FOO for each loader as TRUE if that loader is
4297         built-in. See also gdk-pixbuf/ChangeLog.
4298
4299 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
4300
4301         * docs/reference/gtk/gtk-sections.txt:
4302         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
4303
4304 2006-10-11  Tor Lillqvist  <tml@novell.com>
4305
4306         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
4307         variable.
4308
4309 2006-10-11  Tor Lillqvist  <tml@novell.com>
4310
4311         Merge from 2.10 branch:
4312
4313         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
4314         environment variable LC_ALL or LANG is set, set the Win32 thread
4315         locale to the corresponding locale. Then call the C library
4316         setlocale() to set the C library locale accordingly. The
4317         inconsistency mentioned below is gone. (#339756) Do some special
4318         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
4319         scripts for Azeri, Uzbek and Serbian.
4320         (enum_locale_proc): Helper function for the above functionality.
4321
4322         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
4323         if the environment variables are set here, as they have already
4324         been taken into account and the Win32 thread locale has been
4325         set.
4326
4327 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
4328
4329         * gtk/tmpl/gtkbindings.sgml: 
4330         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
4331         inline docs. applied wording fixes suggested by Martyn Russell.
4332
4333 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
4334
4335         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
4336         Update the docs to state which out parameters may be NULL.
4337         (#360870, Attilio Fiandrotti)
4338
4339 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
4340
4341         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
4342         a typo.  (#359542, Ghee Teo)
4343
4344 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4345
4346         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
4347         reorder tabs if the focus is in the tab.  (#350342, Carlos
4348         Garnacho Parro)
4349
4350 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
4351
4352         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
4353
4354 2006-10-08  Kristian Rietveld  <kris@gtk.org>
4355
4356         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
4357         (gtk_tree_view_set_show_expanders),
4358         (gtk_tree_view_get_show_expanders): add getter/setter for
4359         show-expanders property, queue a redraw when this property
4360         is toggled (#351167, Martin Ejdestig),
4361         (gtk_tree_view_set_level_indentation),
4362         (gtk_tree_view_get_level_indentation): also add getter/setter
4363         and docs for level-indentation property.
4364
4365 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
4366
4367         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
4368         leak a list.  (#360350, Benjamin Berg)
4369
4370         * Apply a cleanup patch by Kjartan Maraas  (#341812)
4371
4372 2006-10-07  Tor Lillqvist  <tml@novell.com>
4373
4374         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4375         locale's first day of week setting on Win32. (#339752, Bogdan
4376         Nicula) Don't do this if one of the environment variables that
4377         affect gettext is set, though. In that case use the week start day
4378         from the corresponding message catalog.
4379
4380         Unfortunately the same logic isn't possible in the weekday and
4381         month name lookup; there even if you have set one of the
4382         aforementioned environment variables, you still get the weekday
4383         and month names from the Win32 thread locale. Yes, this is
4384         inconsistent.
4385
4386         Use only wide-character API in the Win32 code in this file, too.
4387
4388 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
4389
4390         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
4391         Fix the docs.  (#360112)
4392
4393         * gtk/gtkcellview.c: Don't set the background of the
4394         window in a no-window widget.  (#359581, Xan Lopez)
4395
4396
4397 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
4398
4399         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
4400         test correctly. (#359845)
4401
4402 2006-10-05  Michael Natterer  <mitch@imendio.com>
4403
4404         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
4405         rid of a key binding (in fact, it only lets it appear unbound).
4406
4407         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
4408         "guint marks_unbound : 1"
4409
4410         (gtk_binding_entry_skip): new API which marks the entry as unbound.
4411
4412         Changed code so it returns FALSE when "marks_unbound == TRUE" is
4413         encountered while activating bindings, effectively letting the
4414         binding appear unbound (regardless of still existing bindings in
4415         lower binding priority levels). Fixes bug #358329.
4416
4417         (gtk_binding_entry_add)
4418         (gtk_binding_entry_clear)
4419         (gtk_binding_entry_add_signall)
4420         (gtk_binding_parse_binding): deprected these functions.
4421
4422         (_gtk_binding_parse_binding)
4423         (_gtk_binding_entry_add_signall): new internal API.
4424
4425         * gtk/gtk.symbols: changed accordingly.
4426
4427 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4428
4429         Fix interaction of GtkEntryCompletion with input
4430         methods.  (#354495, Diego Escalante Urrelo)
4431
4432         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
4433         the im context if we actually handle the key event.
4434
4435         * gtk/gtkentrycompletion.c: Also propagate key release events
4436         to the entry.
4437
4438 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4439
4440         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
4441         Fix a typo.  (#359052, Ghee Teo)
4442
4443         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
4444         reduce relocations. (#359053)
4445
4446 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
4447
4448         * modules/printbackends/cups/gtkcupsutils.c:
4449         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
4450         the fix for bug 357280.
4451
4452 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4453
4454         * gdk-pixbuf/Makefile.am:
4455         * gdk/Makefile.am:
4456         * gtk/Makefile.am:
4457         Include pltcheck.sh in EXTRA_DIST.
4458
4459 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4460
4461         * gdk/x11/gdkevents-x11.c: Move all includes before including
4462         gdkalias.h.
4463
4464 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
4465
4466         * gtk/Makefile.am: Fix typo in file name.  (#358931)
4467
4468 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
4469
4470         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
4471         Only use the group name field if cups is new enough.  (#357280)
4472
4473         * gtk/gtksizegroup.c: Make sure that the quarks are 
4474         initialized before using them.  (#353736)
4475
4476         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
4477         replace existing links.  (#354849, James Evans)
4478
4479 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
4480
4481         * gtk/gtkexpander.c (gtk_expander_realize) 
4482         (gtk_expander_size_allocate): Make the event_window large
4483         enough to cover the full height of the label_widget.  (#358351,
4484         Scott Horowitz)
4485
4486 2006-10-01  Tor Lillqvist  <tml@novell.com>
4487
4488         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
4489
4490 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
4491
4492         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
4493         against base_path being NULL.  (#358405, many reporters)
4494
4495 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
4496
4497         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
4498         to avoid a deadlock.
4499
4500 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4501
4502         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
4503         (gtk_tree_model_filter_ref_node),
4504         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
4505         in sync with each other and the sort model.
4506
4507 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4508
4509         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
4510         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
4511         (gtk_tree_model_filter_new): unref the virtual root path once that
4512         node (or one if its ancestors) is deleted, set virtual_root_deleted
4513         so we only unref it once.
4514
4515 2006-09-27  Kristian Rietveld  <kris@imendio.com>
4516
4517         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
4518         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
4519         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
4520         (gtk_tree_model_sort_free_level): bring zero ref count loops in
4521         sync,
4522         (gtk_tree_model_sort_free_level): free child levels before
4523         decreasing the zero ref count of the current level,
4524         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
4525         is > 0.
4526
4527 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
4528
4529         * demos/gtk-demo/*.c:
4530         * gtk/gtkeventbox.c:
4531         * gtk/gtkprintoperation.c: Fix typos. String change.
4532
4533 2006-09-25  Kristian Rietveld  <kris@gtk.org>
4534
4535         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
4536         has already been realized; scroll to background area instead of
4537         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
4538
4539 2006-09-25  Kristian Rietveld  <kris@gtk.org>
4540
4541         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
4542         to create the GCs if the widget is realized. (Fixes #357578).
4543
4544 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
4545
4546         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
4547         the list of children (#357454, Paolo Borelli)
4548
4549 2006-09-25  Michael Natterer  <mitch@imendio.com>
4550
4551         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
4552         display->input_windows with g_free(), not g_object_unref()
4553         (#357566, Tommi Komulainen).
4554
4555 2006-09-24  Kristian Rietveld  <kris@gtk.org>
4556
4557         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4558         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
4559         property to the API (left-over patch from #157439).
4560
4561 2006-09-24  Kristian Rietveld  <kris@gtk.org>
4562
4563         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
4564         the indicator if the column has a sort column id (and the model is
4565         sortable) or if the user explicitly requested the indicator
4566         to be shown.  (Fixes #352738, Chris Vine).
4567
4568 2006-09-23  Tor Lillqvist  <tml@novell.com>
4569
4570         * gtk/Makefile.am: Use EXEEXT.
4571
4572 2006-09-22  Michael Natterer  <mitch@imendio.com>
4573
4574         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
4575         and color hashes. Fixes bug #357132.
4576
4577 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
4578
4579         Make remote bookmarks work better (#354887)
4580         
4581         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
4582         (shortcuts_insert_path): 
4583         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
4584         (model_add_bookmarks): 
4585         (model_update_current_folder): 
4586         (update_label_and_image): 
4587         If the bookmark points to a remote file, don't call get_info(), 
4588         since that may a) take a long time and b) pop up an auth dialog.
4589         Instead, just use a folder icon and create a display name
4590         from the uri.
4591
4592         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
4593         New function to create a suitable display name for a remote
4594         uri. This should really be done in GtkFileSystem.
4595         
4596 2006-09-21  Michael Natterer  <mitch@imendio.com>
4597
4598        Implement lots of value setters for GdkGC, based on a heavily
4599        modified patch from Thomas Broyer (bug #328853):
4600
4601         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
4602         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
4603         which simply returns RGBA values from a GdkColor's pixel value.
4604         See gdk_quartz_update_context_from_gc() below.
4605
4606         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
4607         of members for the newly suppored GC values. Added enum
4608         GdkQuartzContextValuesMask which is used for setting up the
4609         CGContext for filling and/or stroking.
4610
4611         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
4612         (gdk_quartz_gc_set_values)
4613         (_gdk_windowing_gc_copy): support a lot more GC values.
4614
4615         (gdk_quartz_update_context_from_gc): added
4616         GdkQuartzContextValuesMask parameter and set filling/stroking
4617         parameters accordingly. This function also gained full control
4618         over the FG and BG colors (they can't be set separately any more).
4619
4620         The stipple mask part of the patch doesn't work but seems to take
4621         the right approach and doesn't make things worse, so I applied it.
4622
4623         Did *not* apply the clipping part of the patch since I don't
4624         understand it (I don't understand the version in CVS either, but
4625         it at least works :-)
4626
4627         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
4628         gdk_quartz_update_context_from_gc() and removed separate color
4629         setting calls. Some minor fixes.
4630
4631         * gdk/quartz/gdkwindow-quartz.c
4632         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
4633         fill color manually. We don't have/need a GC here.
4634
4635 2006-09-21  Michael Natterer  <mitch@imendio.com>
4636
4637         * gdk/quartz/gdkwindow-quartz.c
4638         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
4639         drawable_impl->wrapper that is the GdkWindow, not the
4640         drawable_impl itself.
4641
4642 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
4643
4644         * gdk/x11/gdkkeys-x11.c:
4645           (get_direction): just check the first shift-level of keyboard
4646         layout for RTL and LTR keysyms() (compliment to #116626)
4647
4648 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
4649
4650         * gtk/gtkviewport.c: always update the bin_window position and size
4651         in size_allocate, even if we don't have a visible child. this fixes
4652         expose artefacts as described in #313508.
4653
4654         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
4655         have no visible child explicit.
4656
4657 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
4658
4659         * docs/reference/gdk/gdk-sections.txt:
4660         * gdk/gdk.symbols:
4661         * gdk/gdkpango.h:
4662         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
4663           (gdk_pango_layout_get_clip_region): Remove an unused variable.
4664           (gdk_pango_attr_embossed_new): Fix documentation.
4665
4666 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
4667
4668         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
4669         control the arrow/border ratio within the allocation.
4670
4671         * tests/testgtk.c: added a GtkArrow to handle box test.
4672
4673         * tests/testgtkrc: test ::arrow-scaling property.
4674
4675 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
4676
4677         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
4678         Display an error when we come to the root.  
4679
4680 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
4681
4682         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
4683         the combobox. 
4684
4685         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
4686         bookmarks to the model in local-only mode, to avoid 
4687         authentication dialogs pop up for invisible bookmarks, and
4688         to fix issues with separators not being hidden when
4689         they should.  (#354887, Dennis Cranston)
4690
4691 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
4692
4693         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
4694         treeview use in list mode.  (#355732, Richard Hult)
4695
4696         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
4697         change notification for the right property.  (#355308,
4698         Torsten Schoenfeld)
4699
4700 2006-09-15  Michael Natterer  <mitch@imendio.com>
4701
4702         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
4703         header navigation/resizing/reordering to be more readable and lose
4704         one level of nesting.
4705
4706 2006-09-15  Kristian Rietveld  <kris@imendio.com>
4707
4708         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
4709         return after handling column button focus; we disable wrap around
4710         with this (which actually happened via a really weird code path).
4711         (Michael Natterer)
4712
4713 2006-09-15  Kristian Rietveld  <kris@imendio.com>
4714
4715         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
4716         code RTL aware, also break from the loops after we have seen the
4717         focussed column button (Michael Natterer).
4718
4719 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
4720
4721         * tests/testrichtext.c (main): intialize random number generator state
4722         upon program start, to enable truely random testing.
4723
4724 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
4725
4726         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
4727         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
4728         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
4729                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
4730         * gdk/quartz/Makefile.am same change as directfb Makefile
4731         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
4732
4733 2006-09-13 Matthias Clasen <mclasen@redhat.com>
4734
4735         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
4736         for the grab widget, to make the color picker work with window
4737         groups.  
4738
4739 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
4740
4741         signed off by: Dom Lachowicz
4742         
4743         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
4744         a large number of improvements to the Microsoft Windows theme engine
4745         which are fully described in the bug report.
4746         
4747 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
4748
4749         * tests/testgtk.c: fixed compiler warnings.
4750
4751 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
4752
4753         * gtk/gtkfilechooserbutton.c (model_add_special): Request
4754         the display name too, otherwise "Desktop" does not appear
4755         in the file chooser button. 
4756
4757 2006-09-10  Tor Lillqvist  <tml@novell.com>
4758
4759         * gdk/win32/gdkprivate-win32.h
4760         * gdk/win32/gdkmain-win32.c
4761         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
4762         0x0500 in gdkprivate-win32.h instead of doing it in two source
4763         files. (#355212, Mike Edenfield)
4764
4765         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
4766         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
4767
4768 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
4769
4770         * Commit a patch by Behdad to fix typos, omissions and other
4771         errors in the symbol aliasing, and add checks for local PLT
4772         entries.  (#354687, Behdad Esfahbod)
4773
4774         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
4775         the flush timeout.  (#354043, Nelson Benitez)
4776         
4777         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
4778         Improve wording. String change!  (#355126, David Lodge)
4779
4780         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
4781         David Lodge)
4782
4783         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
4784         David Lodge)
4785
4786 2006-09-09  Matthias Clasen <mclasen@redhat.com>
4787
4788         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
4789         (#353916, Chris Wilson)
4790
4791         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
4792         Don't leak the to_reset list.  (#353914, Chris Wilson)
4793
4794         * gtk/gtkwidget.c: Add docs for the parent-set signal.
4795         (#353772, Mariano Suárez-Alvarez)
4796
4797 2006-09-08  Matthias Clasen <mclasen@redhat.com>
4798
4799         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
4800         Don't clear clipboards here, since we are called from finalize
4801         and can't emit signals.
4802
4803         * configure.in: Set version to 2.11.0
4804
4805 2006-09-06  Richard Hult  <richard@imendio.com>
4806
4807         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
4808         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
4809
4810 2006-09-04  Kristian Rietveld  <kris@imendio.com>
4811
4812         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
4813         if setting the given folder failed, try setting the parent folder
4814         until we succeed; display an error box at the end.
4815
4816 2006-09-04  Kristian Rietveld  <kris@imendio.com>
4817
4818         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
4819         operations spawned by buttons here,
4820         (set_button_image_get_info_cb): bail out if button is NULL, but
4821         do free button_data,
4822         (button_data_free): only free the data if non NULL (since this
4823         function can be called multiple times for the same data), cancel
4824         handle if pending but don't free button_data in this case (will
4825         happen in the callback).
4826
4827 2006-09-04  Michael Natterer  <mitch@imendio.com>
4828
4829         * gtk/gtkrc.c (rc_parse_token_or_compound)
4830         (gtk_rc_parse_assignment): serialize floating point values using
4831         locale-independent functions. (#346751, Frederic Crozat)
4832
4833 2006-09-04  Tor Lillqvist  <tml@novell.com>
4834
4835         * gdk/win32/gdkevents-win32.c
4836         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
4837         window handling (PeekMessage, PostMessage, SendMessage,
4838         DispatchMessage, DefWindowProc, RegisterClassEx,
4839         CreateWindowEx). (#321597)
4840
4841 2006-09-03  Kristian Rietveld  <kris@imendio.com>
4842
4843         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
4844         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
4845         change file_exists_and_is_not_folder checks to get the file info
4846         for the path directly instead of querying the current file folder
4847         of the save entry.
4848
4849         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
4850         new field.
4851
4852         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
4853         (test_reload_sequence), (test_button_folder_states_for_action): wait
4854         for idle after setting a folder to ensure the async operations to load
4855         the folder are finished,
4856         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
4857         factor out test_confirm_overwrite code so we can add tests for more
4858         paths more easily.
4859
4860 2006-09-03  Richard Hult  <richard@imendio.com>
4861
4862         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
4863         exposure isn't in the event mask, plug a leak, and check that the
4864         window isn't destroyed.
4865         (isOpaque): Check that the window isn't destroyed, fixes bug 
4866         #353028.
4867
4868 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
4869
4870         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
4871         (#354035, Mariano Suárez-Alvarez)
4872
4873         * gtk/gtkmain.c (post_parse_hook): 
4874         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
4875         (#354004, Chris Wilson)
4876
4877 2006-09-03  Tor Lillqvist  <tml@novell.com>
4878
4879         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
4880         GDK_WINDOW_DISPLAY in the Win32 backend.
4881
4882         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
4883         gtkfilesystemunix.c
4884
4885 2006-09-02  Kristian Rietveld  <kris@imendio.com>
4886
4887         First part of file chooser fixes.
4888
4889         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
4890         handle in the model for the desktopdir case.
4891
4892         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
4893         volume in case we retrieved it but don't pass it on to insert_path,
4894         (shortcuts_model_create): change the column type for the handles
4895         to pointer instead of GObject so our handle ref counting is not
4896         disturbed,
4897         (show_and_select_paths_finished_loading): don't forget to unref
4898         the dialog.
4899
4900         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
4901         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
4902         remove pending execute_callbacks_idle during dispose, also
4903         execute all callbacks waiting to be run in the next idle,
4904         (queue_*callback), (execute_callbacks_idle): refactor to maintain
4905         a list of callbacks to call per file system instead of globally,
4906         guard the file system during callback invocation,
4907         (gtk_file_system_unix_get_folder): only add load folder idle if
4908         none has been added yet.
4909
4910 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
4911
4912         * gtk/gtkentry.c: Don't unnecessarily reset the im context
4913         when deleting the selection.  (#353803, Alex Larsson)
4914
4915 2006-09-01  Abel Cheung  <abel@oaka.org>
4916
4917         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
4918
4919 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
4920
4921         Stop cursor blinking after a configurable timeout.
4922         (#353670, #352442, Arjan van de Ven, Manu Cornet)
4923         
4924         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
4925         gtk-cursor-blink-timeout setting, which specifies the number
4926         of seconds that the cursor should blink after a user interaction.
4927         The default value is G_MAXINT to preserve the current behaviour.
4928
4929         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
4930         seconds.
4931
4932         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
4933         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
4934         blink timer.
4935
4936         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
4937         seconds. 
4938
4939         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
4940         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
4941         Reset the blink timer.
4942         
4943 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
4944
4945         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
4946         explicit format capabilities.  (#346505, Christian Persch)
4947
4948         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
4949
4950 2006-08-31  Michael Natterer  <mitch@imendio.com>
4951
4952         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
4953
4954 2006-08-30  Richard Hult  <richard@imendio.com>
4955
4956         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
4957
4958 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
4959
4960         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
4961         for beeping if we are using XKB.  
4962
4963 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
4964
4965         * gdk/gdkwindow.h: 
4966         * gdk/gdk.symbols: 
4967         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
4968         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
4969         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
4970         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
4971         to beep on a window. For X11, implement this with
4972         XkbBell.  (#353455, Mariano Suárez-Alvarez)
4973         
4974 2006-08-29  Tor Lillqvist  <tml@novell.com>
4975
4976         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
4977         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
4978         it isn't being maintained anyway. If somebody is interested, it
4979         can always be found in older GTK+ versions, and in CVS.
4980
4981         * configure.in
4982         * acconfig.h
4983         * gdk/Makefile.am
4984         * gdk/win32/Makefile.am
4985         * gdk/win32/libie55uid.la
4986         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
4987         switch and associated stuff. Active IMM and the <dimm.h> header
4988         was used for IM support on NT4 and Win9x. Win2k and later have IM
4989         support built-in.
4990
4991         * gdk/win32/gdkcursor-win32.c
4992         * gdk/win32/gdkdnd-win32.c
4993         * gdk/win32/gdkdrawable-win32.c
4994         * gdk/win32/gdkevents-win32.c
4995         * gdk/win32/gdkgc-win32.c
4996         * gdk/win32/gdkglobals-win32.c
4997         * gdk/win32/gdkkeys-win32.c
4998         * gdk/win32/gdkmain-win32.c
4999         * gdk/win32/gdkproperty-win32.c
5000         * gdk/win32/gdkselection-win32.c
5001         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
5002         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
5003         branches, and any variables or static functions used only by the
5004         Win9x branches.
5005
5006         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
5007         constants that aren't missing from current mingw and MSVC6
5008         headers.
5009
5010         * gdk/win32/gdkmain-win32.c
5011         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
5012         function. On NT-based Windows GetLastError() returns error codes
5013         also for failed GDI calls, so we can use _gdk_win32_api_failed()
5014         always.
5015
5016 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
5017
5018         * gtk/gtkrecentchoosermenu.c
5019         (gtk_recent_chooser_menu_set_current_uri): Break when an item
5020         is found and activated. (#353449, based on a patch by Jan Arne
5021         Petersen)
5022
5023 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
5024
5025         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
5026         properties which make all hardcoded padding and spacing values
5027         configurable. properly swap ::text-xalign treatment for RTL widgets.
5028
5029         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
5030         proeprty more consistent with GtkMisc alignment blurbs. mention
5031         RTL treatment for text-xalign.
5032
5033 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
5034
5035         * tests/testgtk.c: allow (most) windows to be resizable.
5036         added ellipsization settings to progress bars. 
5037
5038 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
5039
5040         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
5041         resonable timeout of 3 seconds when polling for printer
5042         list updates, instead of 300000 seconds...
5043
5044 2006-08-28  Michael Natterer  <mitch@imendio.com>
5045
5046         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
5047         </apply_tag> for tags that have already been closed by the logic
5048         which turns overlapping spans into XML-able trees. Fixes broken
5049         XML when there are overlapping tags in the buffer. Also free two
5050         leaked GLists and did some cleanup.
5051
5052         * tests/Makefile.am
5053         * tests/testrichtext.c: new test which creates randomly tagged
5054         GtkTextBuffers and serializes/deserializes them.
5055
5056 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
5057
5058         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
5059         Don't leak pixbufs.  (#352264, Ross Burton)
5060
5061         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
5062         PangoAttributes.  (#352391, Paolo Borelli)
5063
5064 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
5065
5066         * demos/gtk-demo/Makefile.am:
5067         * demos/gtk-demo/textscroll.c: Add an example of automatic
5068         scrolling, thanks to Yevgen Muntyan.  (#351206)
5069         
5070         * gtk/gtkmodules.c (find_module): Use local binding when
5071         loading modules.  (#351868)
5072
5073 2006-08-24  Michael Natterer  <mitch@imendio.com>
5074
5075         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
5076         the hostname instead of NULL.
5077
5078 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
5079
5080         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
5081         names and values in comboboxes, and clean up some
5082         coding style issues.
5083
5084 2006-08-23  Tor Lillqvist  <tml@novell.com>
5085
5086         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
5087         Revert unintended translatable string addition. Use same string
5088         in GError as in gtkfilesystemunix.c.
5089
5090         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
5091         Fix logic at the end of strings. 
5092
5093         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
5094         handles and check that we have no outstanding handles at
5095         finalization time. (Copying what Matthias did for
5096         gtkfilesystemunix.c)
5097
5098 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
5099
5100         * gtk/gtkfilesystemunix.c: Maintain a hash table
5101         of live handles and check that we have no outstanding
5102         handles at finalization time. (Copying what
5103         Federico did for gtkfilesystemgnomevfs.c)
5104
5105 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
5106
5107         * Branch for 2.10
5108