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