]> Pileus Git - ~andy/gtk/blob - ChangeLog
Restructure the code to make sense, and don't leak an empty accel.
[~andy/gtk] / ChangeLog
1 2007-07-24  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkmenubar.c (window_key_press_handler):
4         * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
5         to make sense, and don't leak an empty accel.  (#459515, Owen Taylor)
6
7 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
8
9         * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
10         recursion via gtk_container_remove().  (#459561, Christian Persch)
11         (gtk_tooltip_window_hide): Simplify.
12
13         * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()
14
15 2007-07-23  Christian Persch  <chpe@gnome.org>
16
17         * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
18         code. Bug #459566.
19
20 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
21
22         * gtk/gtktreeview.c:
23         * gtk/gtkiconview.c:
24         * gtk/gtkscalebutton.c: Fix some doc formatting errors.
25         (#459313, Gian Mario Tagliaretti)
26
27 2007-07-23  Matthias Clasen  <mclasen@redhat.com>
28
29         * configure.in: Dectect if cups allows access to the http_t
30         authstring field.  
31
32         * modules/printbackends/cups/gtkcupsutils.c: Rely on the
33         HAVE_HTTP_AUTHSTRING define done by configure.
34
35 2007-07-23  Emmanuele Bassi  <ebassi@gnome.org>
36
37         * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
38         implementation widget to the new tooltips API, and make it look
39         like the GtkFileChooser widget in recent files mode (move the
40         full path from the widget to a tooltip on the row) to improve
41         consistency.
42
43         * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
44         to the new tooltips API.
45
46         * tests/testrecentchooser.c:
47         * tests/testrecentchoosermenu.c: Exercise the tooltips code paths.
48
49 2007-07-22  Ross Burton  <ross@openedhand.com>
50
51         * gtk/gtkscrolledwindow.c:
52         Correctly redraw when gtk-scrolled-window-placement is changed
53         after the widget is realised (#458102)
54
55 2007-07-22  Matthias Clasen  <mclasen@redhat.com>
56
57         * gdk/x11/gdkkeys-x11.c: Some documentation fixes.
58
59 2007-07-21  Matthias Clasen  <mclasen@redhat.com>
60
61         * gtk/gtktooltips.[hc]: Rename the tips_data_list field
62         back.  (#447214)
63
64 2007-07-21  Matthias Clasen  <mclasen@redhat.com>
65
66         * configure.in: Bump version
67
68         * === Released 2.11.6 ===
69
70 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
71
72         * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
73         under the cursor.  This fixes tooltip-induced flickering 
74         in the tasklist in a bottom panel.
75
76 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
77
78         * gtk/gtkpathbar.c (make_directory_button): Don't leak
79         a label.  (#455901, Christian Persch, Vincent Geddes)
80
81 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
82
83         Apply a patch by Emmanuele Bassi to limit the number
84         of shown recent files.  (#439715)
85
86         * gtk/gtksettings.c: Add a setting for the number
87         of recent files to display by default.
88
89         * gtk/gtkrecentchooserdefault.c: 
90         * gtk/gtkfilechooserdefault.c: Respect the limit.
91
92         * gtk/gtkrecentmanager.c: Remove the poll timeout in 
93         dispose, and do not stat more often than every 5 seconds.
94
95         * gtk/gtkrecentchooserutils.c:
96         * gtk/gtkrecentchoosermenu.c: Cleanups
97
98         * tests/testrecentchoosermenu.c: Test limits.
99
100 2007-07-20  Matthias Clasen  <mclasen@redhat.com>
101
102         * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
103         Bassi to add tooltips to the file lists in recent files and
104         search modes.
105
106 2007-07-20  Ryan Lortie  <desrt@desrt.ca>
107
108         * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
109         semantics of this call, when mixed with the new
110         gdk_window_set_composited(), will change in the future.
111
112         * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
113         events that belong to us.
114
115 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
116
117         * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
118         keypresses better when there is no completion.  (#458298,
119         Christian Persch, patch by Xan Lopez)
120
121         * gtk/gtkentrycompletion.c
122         (gtk_entry_completion_insert_completion_text): Small cleanup.
123
124 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
125
126         * gtk/gtksettings.c (apply_queued_setting): Merge color
127         scheme before sending notification.  
128
129 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
130
131         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
132         Only connect/disconnect signals when necessary, emit
133         change notification.
134
135 2007-07-19  Kristian Rietveld  <kris@imendio.com>
136
137         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
138         no-window and regular widgets seperately.
139
140         * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
141         be zero.
142
143 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
144
145         * gtk/gtk.symbols:
146         * gtk/gtkiconview.h:
147         * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
148         (gtk_icon_view_[sg]et_tooltip_column: Add more convenience
149         API parallel to the treeview convenience API.
150
151 2007-07-19  Matthias Clasen  <mclasen@redhat.com>
152
153         * gtk/gtktextview.c (gtk_text_view_compat_move_focus): 
154         Initialized GValues before unsetting them.  (#457720)
155
156 2007-07-19  Kristian Rietveld  <kris@imendio.com>
157
158         * gtk/gtk.symbols:
159         * gtk/gtktreeprivate.h:
160         * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
161         (gtk_tree_view_[sg]et_tooltip_column): add more convenience API.
162
163         * tests/testtooltip.c (query_tooltip_tree_view_cb): use
164         gtk_tree_view_get_tooltip_context().
165
166         * demos/gtk-demo/demo.ui: add a tooltip column to the list store,
167         set tooltip-column on the tree view.
168
169 2007-07-18  Richard Hult  <richard@imendio.com>
170
171         * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
172         the cursor in the cached case.
173
174 2007-07-18  Matthias Clasen  <mclasen@redhat.com>
175
176         * gtk/gtktreeview.c: Correct some mistakes in the 
177         documentation of the test-expand/collapse-row signals.  
178         (#457774, Olivier Andrieu)
179
180 2007-07-18  Matthias Clasen  <mclasen@redhat.com>
181
182         * gtk/gtkicontheme.c: Small cleanups
183
184 2007-07-17  Kristian Rietveld  <kris@imendio.com>
185
186         * gtk/gtktooltip.c (find_widget_under_pointer): only do the
187         coordinate check if tmp is not NULL.
188
189 2007-07-16  Kristian Rietveld  <kris@imendio.com>
190
191         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
192         if the pointer is really over the returned widget, since the
193         coordinate check may not always be hit in find_widget_under_pointer().
194
195 2007-07-16  Matthias Clasen <mclasen@redhat.com>
196
197         Fix some issues with some combinations of inline-selection
198         and inline-completion.  (#457384, Christian Persch)
199
200         * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
201         the completion_prefix here, and be careful when using 
202         completion_prefix, because it may be NULL.
203         * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
204         Free completion_prefix here.
205         * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
206         (gtk_entry_completion_insert_completion_text): Store the
207         completion_prefix here.
208
209 2007-07-16  Matthias Clasen <mclasen@redhat.com>
210
211         * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
212         Plug a memleak. (#455721, Christian Persch)
213
214 2007-07-16  Matthias Clasen <mclasen@redhat.com>
215
216         * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
217         to improve the signal docs.  (#456258)
218
219 2007-07-16  Matthias Clasen <mclasen@redhat.com>
220
221         * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
222         a lot of GtkWidget signals.  (#172424)
223
224 2007-07-16  Matthias Clasen <mclasen@redhat.com>
225
226         * gtk/gtk.symbols:
227         * gtk/gtkiconview.h:
228         * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
229         (gtk_icon_view_set_tooltip_cell): Convenience functions to
230         position tooltips on icon view items or cells.
231
232 2007-07-14  Richard Hult  <richard@imendio.com>
233
234         * gdk/quartz/gdkevents-quartz.c:
235         (_gdk_quartz_events_update_cursor): Plug leak.
236
237 2007-07-13  Richard Hult  <richard@imendio.com>
238
239         * gdk/quartz/gdkprivate-quartz.h:
240         * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
241         from here...
242         * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
243         ...to here.
244         (_gdk_windowing_window_destroy): Update the mouse window if the
245         destroyed window is an ancestor of the current one, not only if
246         they are the same.
247         (gdk_window_hide): Update the mouse window here too.
248
249 2007-07-13  Richard Hult  <richard@imendio.com>
250
251         * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
252         (gdk_colors_free): Add stubs.
253
254 2007-07-13  Matthias Clasen  <mclasen@redhat.com>
255
256         * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
257         gratitious use of g_strdup_printf().
258
259         * gtk/gtkrecentchooserdefault.c:
260         * gtk/gtkrecentchoosermenu.c: Mark some strings for 
261         translation.  (#439480, Murray Cumming)
262
263 2007-07-13  Kristian Rietveld  <kris@imendio.com>
264
265         #408327, improve tooltip positioning.
266
267         * gtk/gtk.symbols: updated.
268
269         * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
270         positioning code in here,
271         (gtk_tooltip_set_tip_area): new function to set the tooltip
272         area,
273         (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
274         once the pointer leaves the tip area.
275
276         * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
277         (gtk_tree_view_set_tooltip_cell): convenience functions to set
278         tip area for row/column/cell.
279
280         * tests/testtooltips.c (query_tooltip_tree_view_cb): use
281         gtk_tree_view_set_tooltip_row.
282
283 2007-07-12  Cody Russell  <bratsche@gnome.org>
284
285         * gdk/win32/gdkevents-win32.c
286         * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
287         so that when a transient child window is closed (particularly when
288         there are 3 or more levels of transient windows), the correct window
289         receives focus rather than a seemingly random window. (#112404)
290
291 2007-07-12  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
292
293         * gdk/directfb/gdkevents-directfb.c:
294         * gdk/directfb/gdkwindow-directfb.c:
295         * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
296         patch provided by Simon Lanzmich
297
298 Thu Jul 12 18:03:02 2007  Tim Janik  <timj@gtk.org>
299
300         * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.
301
302 2007-07-12  Matthias Clasen  <mclasen@redhat.com>
303
304         * gtk/gtktextivew.c: 
305         * gtk/gtkclipboard.c: Add documentation.
306
307 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
308
309         * gtk/gtkcelleditable.c:
310         * gtk/gtkcellrenderer.c:
311         * gtk/gtkcellrenderercombo.c:
312         * gtk/gtkcellrenderertext.c: Add more documentation.
313
314 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
315
316         * gtk/gtktreeview.c:
317         * gtk/gtktoolitem.[hc]: Make parameter naming consistent.
318
319 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
320
321         * gtk/gtkrange.c:
322         * gtk/gtkbindings.c: 
323         * gtk/gtkscalebutton.c: Small doc fixes.
324
325 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
326
327         * gtk/gtkplug.c:
328         * gtk/gtksocket.c: Move docs inline, and add some missing
329         docs.  
330
331 2007-07-11  Kristian Rietveld  <kris@imendio.com>
332
333         * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
334         changed when converting widget <=> bin_window coordinates, not
335         when bin_window <=> tree_window.
336
337 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
338
339         * gtk/gtk.symbols:
340         * gtk/gtkiconview.[hc]
341         (gtk_icon_view_convert_widget_to_bin_window_coords): New
342         function to convert widget coords to what is expected by
343         the at_pos functions.  (#455984)
344
345 2007-07-11  Matthias Clasen  <mclasen@redhat.com>
346
347         * gtk/gtkwiget.c: Don't include gtktooltips.h, it is
348         not needed anymore.
349
350 2007-07-11  Christian Persch  <chpe@gnome.org>
351
352         * gtk/gtkaction.c: (gtk_action_buildable_set_name),
353         (gtk_action_finalize), (gtk_action_set_property),
354         (gtk_action_get_property):
355         * gtk/gtkactiongroup.c: (gtk_action_group_init),
356         (gtk_action_group_add_action),
357         (gtk_action_group_add_action_with_accel),
358         (gtk_action_group_remove_action): Intern the action's name. Saves two
359         string duplicates of it per action; bug #455645.
360
361 2007-07-10  Richard Hult  <richard@imendio.com>
362
363         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
364         (show_window_internal), (gdk_window_show), (gdk_window_hide): Add
365         hack to workaround the broken tracking rect implementation in
366         quartz, that doesn't seem to produce events if the window shows up
367         under the mouse.
368
369 2007-07-10  Kristian Rietveld  <kris@imendio.com>
370
371         * gtk/gtk.symbols:
372         * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
373         getter/setter pair, slight addition to has-tooltip property
374         documentation,
375         (gtk_widget_real_set_has_tooltip): renamed internal function.
376
377 2007-07-10  Christian Persch  <chpe@gnome.org>
378
379         * gtk/gtkaction.c: (gtk_action_sync_tooltip),
380         (gtk_action_set_tooltip):
381         * gtk/gtkuimanager.c: (update_node): Remove work-around for the old
382         tooltips code, and just set the action tooltip immediately on the
383         proxy widget. Bug #455482.
384
385 2007-07-10  Kristian Rietveld  <kris@imendio.com>
386
387         * gtk/gtktooltip.c (find_widget_under_pointer),
388         (child_location_foreach): use gtk_container_forall, instead of
389         gtk_container_foreach().  Makes tooltips on notebook tabs work. (Fixes
390         bug reported by Christian Persch).
391
392 2007-07-10  Kristian Rietveld  <kris@imendio.com>
393
394         * gtk/gtktooltip.c (child_location_foreach): ignore invisible
395         (!drawable) widgets.  (Fixes bug reported by Paolo Borelli).
396
397 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
398
399         * README.in: Make sure all deprecations are mentioned.
400
401 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
402
403         * gtk/gtkrecentmanager.c: Fix some doc formatting
404
405 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
406
407         * gtk/gtk-builder-convert: Fix a typo
408
409 2007-07-10  Matthias Clasen  <mclasen@redhat.com>
410
411         * NEWS: Updates
412
413 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
414
415         * gtklabel.[ch]: Use a bit of the GtkLabel structure to
416         remember that a pattern has been set.
417         (gtk_label_set_pattern_internal): Don't do anything if 
418         a specific pattern has been set.
419         (gtk_label_set_pattern): set the new bit to TRUE when 
420         setting a pattern, and recalculate everything if the 
421         pattern is unset. Fix gtk_label_set_pattern() not working 
422         anymore.  (#452861, Vincent Untz)
423
424 2007-07-09  Claude Paroz  <claude@2xlibre.net>
425
426         * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
427         See bug #451164.
428
429 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
430
431         * gtk/gtkvolumebutton.c: Remove deprecated tooltips,
432         use new tooltips API.  (#449311, Jan Arne Petersen)
433
434 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
435
436         * gtk/gtkselection.c (normalize_to_crlf): Don't ignore
437         the passed-in len parameter.  (#430049, Yevgen Muntyan)
438
439 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
440
441         * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
442         handling of broken situations.  (#427899, Francesco Montorsi)
443
444 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
445
446         * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size 
447         requisition so the viewport does not add the border thickness 
448         if it has GTK_SHADOW_NONE selected.  (#361781, Miguel Gomez)
449
450 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
451
452         * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query): 
453         Fix a typo in the docs.  (#453930, Guillaume Cottenceau)
454
455 2007-07-09  Kristian Rietveld  <kris@imendio.com>
456
457         Replace non-deprecated API using old tooltips API, deprecate
458         old tooltips API for real. (#451575).
459
460         * gtk/gtk.symbols: updated.
461
462         * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
463         _gtk_tooltips_toggle_keyboard_mode() anymore.
464
465         * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
466         deprecated,
467         (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
468
469         * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
470         new API,
471         (gtk_tool_item_set_tooltip): deprecated,
472         (gtk_tool_item_set_tooltip_{text,markup): replacements.
473         (GtkToolItemClass:set_tooltip): deprecated.
474
475         * gtk/gtktooltips.[ch]: strip out all unused parts, made
476         gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
477         deprecate all of gtk_tooltips_*.
478
479         * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
480         TRUE,
481         (GtkToolbar:tooltips): deprecated, renamed.
482
483         * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
484         set the tooltip text.
485
486         * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
487         will be removed GtkFileChooserDefault has been converted.
488
489 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
490
491         * gtk/gtktreeview.c
492         (gtk_tree_view_convert_bin_window_to_widget_coords:
493         Fix a typo in the docs.  (#453673, Guillaume Cottenceau)
494
495 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
496
497         * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit 
498         ::changed when removing the active row.  (#452056, Paul Pogonyshev)
499
500 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
501
502         * gtk/gtksearchenginesimple.c: Address some thread-safety
503         issues.  (#452598)
504
505 2007-07-09  Matthias Clasen  <mclasen@redhat.com>
506
507         * modules/printbackends/*/Makefile.am: Fix build problems
508         on Cygwin.  (#448604)
509
510 2007-07-09  Jaap Haitsma  <jaap@haitsma.org>
511
512         * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
513         gtk_widget_set_tooltip_text instead
514
515 2007-07-09  Johan Dahlin  <jdahlin@async.com.br>
516
517         * gtk/gtktooltip.c:
518         * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
519
520 2007-07-09  Johan Dahlin,,,  <jdahlin@lozenge>
521
522         * demos/gtk-demo/demo.ui:
523         * gtk/gtk-builder-convert:
524         * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
525         (gtk_action_group_buildable_add_child),
526         (accelerator_start_element),
527         (gtk_action_group_buildable_custom_tag_start),
528         (gtk_action_group_buildable_custom_tag_end):
529         * gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
530         (gtk_ui_manager_buildable_construct_child):
531         * tests/buildertest.c: (test_uimanager_simple):
532
533         Add actiongroup/action accelerator support for builder. #454654
534
535 2007-07-08  Matthias Clasen  <mclasen@redhat.com>
536
537         * gtk/gtkbuilderparser.c (pgettext): Support old-style
538         message contexts, too. 
539
540 2007-07-08  Johan Dahlin  <jdahlin@async.com.br>
541
542         * gtk/gtk-builder-convert: Improve the way properties
543         are copied over from a menuitem to an action.
544         
545 2007-07-08  Johan Dahlin  <jdahlin@async.com.br>
546
547         * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
548         GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
549         when converting a GtkMenuItem subclass to an action. 
550         (#454830, Bastien Nocera)
551
552         * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
553         attribute in <signal> tag
554
555 2007-07-07  Matthias Clasen <mclasen@redhat.com>
556
557         * gtk/gtkbuilderprivate.h:
558         * gtk/gtkbuilderparser.c: Support context and comments
559         for properties.
560
561 2007-07-07  Matthias Clasen <mclasen@redhat.com>
562
563         * gtk/gtkwidget.c: Fix some typos, and a memory management bug.  
564
565 2007-07-08  Johan Dahlin  <jdahlin@async.com.br>
566
567         * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start): 
568         Parse <accessibility> but don't do anything yet.
569         * gtk/gtk-builder-convert (GtkBuilderConverter._parse): 
570         Do not strip atk/accessibility tags
571         * tests/buildertest.c (test_widget): 
572         Test this
573         
574 Sun Jul  8 01:33:45 2007  Tim Janik  <timj@gtk.org>
575
576         * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
577
578 2007-07-07  Richard Hult  <richard@imendio.com>
579
580         * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:]) 
581         ([GdkQuartzWindow -windowDidBecomeMain:]): 
582         * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
583         (_gdk_quartz_window_did_become_main, gdk_window_hide)
584         (_gdk_windowing_window_destroy): Keep a stack of main windows and
585         select the most recent one when hiding/closing the current one.
586
587 2007-07-07  Johan Dahlin  <jdahlin@async.com.br>
588
589         * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text): 
590         Convert GtkTextView::text properties
591         (GtkBuilderConverter): Refactor; Optimize widget lookups by not
592         traversing the whole tree.
593         Use a common api to create sizegroups, actiongroups and uimanagers
594         to avoid name conflicts.
595         Output newly created objects sorted by id before the old roots under
596         <interface>
597         (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
598         tags
599         (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
600         and do not set name and action on separators
601         (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
602         on the action if the menuitem had a stock or label property set
603
604 2007-07-06  Richard Hult  <richard@imendio.com>
605
606         * gdk/quartz/gdkprivate-quartz.h:
607         * gdk/quartz/gdkwindow-quartz.c:
608         * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
609         windows, by (un)setting the parent before and after miniaturizing.
610
611 2007-07-06  Richard Hult  <richard@imendio.com>
612
613         * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
614         stub.
615
616 2007-07-06  Johan Dahlin  <jdahlin@async.com.br>
617
618         * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
619         semi-colon in the doc string, spotted by Johannes Sasonko
620
621 2007-07-05  Matthias Clasen  <mclasen@redhat.com>
622
623         * gtk/gtkbuilder.c: Support pixbuf properties by specifying
624         a filename as the property value.  (#447966)
625
626 Wed Jul  4 12:20:23 2007  Tim Janik  <timj@imendio.com>
627
628         * gdk/gdkevents.c (gdk_event_request_motions): added usage example
629         to gdk_event_request_motions() docs.
630
631 2007-07-04  Tor Lillqvist  <tml@novell.com>
632
633         * gtk/gtkstatusicon.c: On Win32 call
634         gtk_status_icon_button_press() in an idle callback and not
635         directly from the window procedure to avoid "g_main_loop_run():
636         called recursively from within a source's check() or prepare()
637         member, iteration not possible" warnings.
638
639 2007-07-04  Chris Wilson  <chris@chris-wilson.co.uk>
640
641         * gtk/gtkrecentchoosermenu.c (idle_populate_func),
642         (idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
643         Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
644         free in the source destroy notify. (#453033)
645
646 2007-07-04  Johan Dahlin  <jdahlin@async.com.br>
647
648         * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child): 
649         pack children from the start instead of the end, this should
650         probably be made configurable at some point.
651
652         * gtk/gtk-builder-convert:
653         Add support for converting GtkComboBox items, also make sure
654         that we support more than one GtkAdjustment in a file
655
656 2007-07-03  Richard Hult  <richard@imendio.com>
657
658         * gdk/quartz/gdkevents-quartz.c: Keep track of button state and
659         include it in key events. Needed for gimp's selection tools and
660         fixes bug #453411.
661
662 2007-07-03  Matthias Clasen  <mclasen@redhat.com>
663
664         * gtk/gtkbuilder.c: Fix some typos in docs.  (#452278,
665         Adam Schreiber)
666
667 2007-07-03  Richard Hult  <richard@imendio.com>
668
669         * gdk/quartz/gdkevents-quartz.c (create_key_event): Include
670         modifier state in key release events. Fixes bug #453413.
671
672 2007-07-03  Matthias Clasen  <mclasen@redhat.com>
673
674         * gtk/gtkcelllayout.c (attributes_text_element): Report
675         errors about integer parsing back up.  (#452988)
676
677         * tests/buildertest.c: Add an extra check.
678
679 2007-07-03  Matthias Clasen  <mclasen@redhat.com>
680
681         * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave
682         priv->image dangling when use-stock is set to FALSE.  (#437281,
683         Jochen Baier)
684
685 2007-07-03  Tor Lillqvist  <tml@novell.com>
686
687         * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS,
688         i.e. clear it if enable_explicit_deps isn't on. If we build with
689         --with-included-loaders and --enable-explicit-deps=no we don't
690         want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file.
691
692 2007-07-03  Tor Lillqvist  <tml@novell.com>
693
694         * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts):
695         Implement. Just return FALSE for now. What should this function
696         actually do? Does keyboards layouts being "in use" mean that such
697         layouts can be switched to on the fly using some extra-GTK+
698         mechanism? If so we need to actually check that.
699
700 2007-07-03  Tristan Van Berkom  <tvb@gnome.org>
701
702         * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL
703         (bug 452425)
704
705 2007-07-03  Johan Dahlin  <jdahlin@async.com.br>
706
707         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
708         --root option. Filter empty properties. Convert GtkAdjustments.
709
710         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
711         of gtk_dialog_add_action_widget closer, to make clicking on the buttons
712         actually work.
713
714 2007-07-02  Matthias Clasen  <mclasen@redhat.com>
715
716         * configure.in: Bump version
717
718         * === Released 2.11.5 ===
719
720         * tests/autotestkeywords.cc: Make platform includes
721         conditional.
722
723         * gtk/Makefile.am: File list fixes
724
725         * NEWS: Updates
726
727 2007-07-02  Kristian Rietveld  <kris@gtk.org>
728
729         * gtk/gtk.symbols:
730         * gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
731         function to check whether a rubber banding operation is currently
732         active.  (#393579, Christian Neumair).
733
734 2007-07-02  Matthias Clasen  <mclasen@redhat.com>
735
736         * NEWS: Updates
737
738 2007-07-02  Jan Arne Petersen  <jpetersen@jpetersen.org>
739
740         * gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
741         parentheses to fix the operator order in the icon selection.
742
743 2007-07-01  Johan Dahlin  <jdahlin@async.com.br>
744
745         * gtk/gtk-builder-convert (GtkBuilderConverter): 
746         Convert to getopt, improved documentation, change
747         the script to require two arguments
748
749 2007-06-30  Richard Hult  <richard@imendio.com>
750
751         Continue the event handling cleanup:
752
753         * gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
754         Don't do anything if the old and new windows are the same,
755         simplifies the callers.
756         (find_mouse_window_for_ns_event): Always return a window (root
757         instead of NULL). Remove unneccessary check for the current mouse
758         window being NULL, that was a workaround for a now fixed
759         bug. Convert to root coordinates if we don't find a window.
760         (synthesize_crossing_events_for_ns_event): Simplify and add
761         comment.
762
763 2007-06-30  Richard Hult  <richard@imendio.com>
764
765         * gdk/quartz/gdkevents-quartz.c:
766         (synthesize_crossing_events_for_ns_event): Simplify (get the
767         origin directly from the window).
768
769 2007-06-30  Richard Hult  <richard@imendio.com>
770
771         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
772         (synthesize_crossing_events), (find_mouse_window_for_ns_event),
773         (synthesize_crossing_events_for_ns_event): No need to special case
774         the root window now that it has the right size.
775
776 2007-06-30  Richard Hult  <richard@imendio.com>
777
778         * gdk/quartz/gdkwindow-quartz.c:
779         * gdk/quartz/gdkevents-quartz.c: Improve comments in those
780         files. Add a debugging helper to print out information about a
781         window.
782
783 2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
784
785         * gtk/gtkbuilder.c:
786         * gtk/gtkbuilder.h:
787         * gtk/gtkbuilderparser.c:
788         * gtk/gtkbuilderprivate.h:
789         * gtk/gtkwidget.c: 
790         * tests/buildertest.c:
791
792         Improve error handling for enum/flags, rename the converter functions
793         to be consistent. Add tests. Fixes #452465
794
795 2007-06-30  Richard Hult  <richard@imendio.com>
796
797         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
798         this work properly for the root window.
799
800 2007-06-30  Richard Hult  <richard@imendio.com>
801
802         * gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
803         - No need to override setFrame.
804         - Use our own size instead of the bounds from the view as it's not
805         always updated before the tracking rect.
806         - Only reset the tracking rect if the new window is nil).
807         
808         * gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
809         view when the window size changes.
810
811 2007-06-30  Matthias Clasen  <mclasen@redhat.com>
812
813         * gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean): 
814         Use g_ascii_strdown() instead of a rolling our own.
815
816 2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
817
818         * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
819         (parse_child):
820         * tests/buildertest.c: (test_types):
821         Move type-func to <object> instead of <child>, add a test to
822         make sure that it works as desired, #452463
823
824         * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
825         * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
826         (parse_property), (parse_signal):
827         * gtk/gtkbuilderprivate.h:
828         * tests/buildertest.c: (test_value_from_string):
829         Make boolean string parsing consistent, #452464
830
831 2007-06-30  Matthias Clasen  <mclasen@redhat.com>
832
833         * gtk/gtkbuilder.c:
834         * gtk/gtkbuildable.c: Documentation updates.
835
836 2007-06-29  Matthias Clasen  <mclasen@redhat.com>
837
838         * gdk/gdk.symbols:
839         * gdk/gdkkeys.h:
840         * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
841         function to determine if keyboard layouts for both LTR and LTR 
842         languages are in use. Refactor the direction caching code to
843         make this information available.  (#353805, Behnam Esfahbod)
844
845 2007-06-29  Matthias Clasen  <mclasen@redhat.com>
846
847         * modules/printbackend/cups/gtkcupsutils.c (_post_check):
848         (_get_check): Enable SSL support.  (#451070, Vince Busam)
849
850 2007-06-29  Johan Dahlin  <jdahlin@async.com.br>
851
852         * gtk/gtkbuilder.c: (gtk_builder_finalize),
853         (gtk_builder_get_parameters), (_gtk_builder_construct):
854         * tests/buildertest.c:
855
856         Improve reference counting, #447967
857
858 2007-06-29  Ryan Lortie  <desrt@desrt.ca>
859
860         * tests/testgtk.c (create_composited_window): Connect the "destroy"
861         signal so that the 'window' pointer is set back to NULL (like for the
862         other examples).
863
864         * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
865         destroy the Damage here.  By finalize() XDestroyWindow has already
866         been called (and took the Damage with it).
867
868         Bug #452046.
869
870 2007-06-29  Emmanuele Bassi  <ebassi@gnome.org>
871
872         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
873         markup entities in the name and URI before displaying them.
874
875 2007-06-29  Emmanuele Bassi  <ebassi@gnome.org>
876
877         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
878         cache the icon pixbufs but rely on the GtkIconTheme not to
879         hit the disk cache too much (should tentatively fix #426987).
880
881 2007-06-28  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
882
883         * modules/engines/ms-windows/msw_style.c: Draw no bevel
884         when "GtkToolbar::shadow-type" is "none" (#450469).
885
886 2007-06-28  Johan Dahlin  <jdahlin@async.com.br>
887
888         * gtk/gtk-builder-convert (_indent): Prettify the output by
889         running it through xmllint --format if xmllint is available 
890         which also requires the subprocess module only available 
891         in python 2.4 or later
892
893 2007-06-28  Christian Persch  <chpe@gnome.org>
894
895         * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
896         (gtk_volume_button_init), (gtk_volume_button_dispose),
897         (gtk_volume_button_update_tooltip): Make the volume button use range
898         0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
899         Bug #451866.
900
901 2007-06-28  Yevgen Muntyan  <muntyan@tamu.edu>
902
903         * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
904         do right thing in one-character lines and at paragraph end (#448313).
905
906         * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
907         (pango #448342).
908
909 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
910
911         * gtk/gtkbuilderparser.c (parse_property): Use
912         the attribute name in the error message instead of
913         the value.
914         
915         * demos/gtk-demo/demo.ui: Set name of Help menu
916         to HelpMenu
917
918         * gtk/gtkbuilder.c (apply_delayed_properties): 
919         Print out the name of the right object in the warning
920         (#451314, Philip Withnall)
921
922         * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
923         glade-interface doctype if found.
924         (GtkBuilderConverter._convert): 
925         Make sure that we can convert Gazpacho files too.
926
927 2007-06-27  Cody Russell  <bratsche@gnome.org>
928
929         * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
930         Fixed, very hackishly, a one pixel error that occurs using the
931         XP theme engine only on the left-most tab, if it is active, when
932         the notebook is bottom-oriented. (#392283)
933
934 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
935
936         * tests/buildertest.c: (test_value_from_string): 
937         Check the code and domain of GErrors instead of the string values
938         
939         * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
940         (gtk_builder_value_from_string),
941         (gtk_builder_value_from_string_type):
942         * gtk/gtkbuilder.h:
943         * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
944         (attributes_text_element):
945         * gtk/gtkliststore.c: (list_store_text):
946         * tests/buildertest.c: (test_value_from_string):
947
948         Add GtkBuilder and GError arguments to gtk_builder_value_from_string
949         and gtk_builder_value_from_string_type. (#451428)
950
951 2007-06-27  Xan Lopez  <xan@gnome.org>
952
953         * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
954         * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
955
956         Do not add border_width to the first button initial
957         coordinate, since it's already taken into account in
958         the allocation value. (#451484)
959
960 2007-06-27  Michael Natterer  <mitch@imendio.com>
961
962         Merged from maemo-gtk:
963
964         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
965         scroll arrows' state, make sure we don't overwrite the insensitive
966         state that might have been set by the first scroll step hitting
967         the top/bottom border of the menu.
968
969 Wed Jun 27 13:27:21 2007  Tim Janik  <timj@gtk.org>
970
971         * gtk/gtkradiobutton.[hc]: applied patch to improve variable names, 
972         by Olivier Delhomme, #451527.
973
974 Wed Jun 27 11:57:41 2007  Tim Janik  <timj@imendio.com>
975
976         * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
977         push_in description.
978
979 2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
980
981         * gtk/gtkbuilderparser.c: Plug leaks in error code paths
982
983 2007-06-26  Johan Dahlin  <jdahlin@async.com.br>
984
985         * tests/buildertest.c (test_object_properties): 
986         Add a test to check object properties
987
988         * gtk/gtkbuilder.h (enum): 
989         * gtk/gtkbuilderparser.c (end_element): 
990         * tests/buildertest.c (test_parser): 
991         Set an error if we encounter properties without values set
992         (#451303, Philip Withnall)
993         (test_object_properties): Add a test
994
995         * demos/gtk-demo/builder.c (do_builder): Connect the
996         destroy signal in the example instead of the ui file.
997         Also set the screen and title of the window.
998         (#451345, Thomas Rydzynski)
999
1000 2007-06-26  Richard Hult  <richard@imendio.com>
1001
1002         * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
1003         bunch of small bugs when parsing property values
1004         (boolean/int/uint/long/ulong/float/double). Bug #451353.
1005
1006         * tests/buildertest.c: Add tests for the above.
1007
1008 2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>
1009
1010         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
1011         a typo in the previous commit.
1012
1013         (shortcuts_append_desktop): Remove unused variable and
1014         hush the compiler warning.
1015
1016 2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>
1017
1018         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
1019         the time of last change in the file chooser, for files
1020         modified today or yesterday. (#324543)
1021
1022         * configure.in: Check for localtime_r().
1023
1024 2007-06-26  Cody Russell  <bratsche@gnome.org>
1025
1026         * modules/engines/ms-windows/xp_theme.[ch]
1027         * modules/engines/ms-windows/msw_style.c: Add support for 
1028         drawing checkboxes with inconsistent states. (Tor, #164809)
1029
1030 2007-06-26  Johan Dahlin  <jdahlin@async.com.br>
1031
1032         * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode 
1033         the output in utf-8 as suggested by Bogdan Nicula
1034
1035 2007-06-22  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1036  
1037         * configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
1038         tests/dummy-headers/*: Extend the C++ keyword test
1039         to include internal GDK headers (#449016).
1040
1041 2007-06-26  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1042
1043         * ChangeLog, configure.in, tests/Makefile.am, 
1044         tests/autotestkeywords.cc: Create test for finding
1045         C++ keywords in public header files (#449016).
1046
1047 2007-06-26  Kristian Rietveld  <kris@imendio.com>
1048
1049         * gtk/gtktooltips.h: remove the deprecation macros for now to fix
1050         the build and give us a chance to fix widgets which use GtkTooltips
1051         in their API.
1052
1053 2007-06-26  Kristian Rietveld  <kris@imendio.com>
1054
1055         * gtk/gtk.symbols:
1056         * gtk/gtktooltips.[ch]:
1057         * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
1058
1059 2007-06-25  Johan Dahlin  <jdahlin@async.com.br>
1060
1061         * gtk/gtk-builder-convert: Add a script to convert libglade files
1062         to something gtkbuilder can parse.
1063         Fixes #447995
1064
1065 2007-06-25  Richard Hult  <richard@imendio.com>
1066
1067         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
1068         menu events while the keyboard is grabbed.
1069
1070 2007-06-25  Richard Hult  <richard@imendio.com>
1071
1072         * gdk/quartz/Makefile.am:
1073         * gdk/quartz/xcursors.h:
1074         * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
1075         ones that OS X doesn't provide. Fixes bug #327912.
1076
1077 2007-06-25  Emmanuele Bassi  <ebassi@gnome.org>
1078
1079         * gtk/gtkrecentmanager.c:
1080         (build_recent_info): building a GtkRecentInfo can never fail.
1081
1082         (gtk_recent_manager_get_items): Clamp the list while building
1083         it so we don't need to traverse it more than once. (#446532,
1084         Philip Withnall)
1085
1086 2007-06-25  Tor Lillqvist  <tml@novell.com>
1087
1088         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
1089         attempted overly simple fix for #445284, as it causes a
1090         regression. (For instance, in GIMP the tool cursor gets used also
1091         for the right-click menu in image windows.) A more complex fix is
1092         needed to more completely emulate X11 behaviour.
1093
1094 2007-06-24  Kristian Rietveld  <kris@gtk.org>
1095
1096         * Makefile.am: fix little mistake in my last commit ...
1097
1098 2007-06-24  Kristian Rietveld  <kris@gtk.org>
1099
1100         * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
1101         the Spotlight database on MacOS X (only available in 10.4 and
1102         higher).
1103
1104         * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
1105         quartz search engine if we are on OS X.
1106
1107         * Makefile.am: added use_quartz_sources section with new file.
1108
1109 2007-06-22  Emmanuele Bassi  <ebassi@gnome.org>
1110
1111         * gtk/gtksearchenginebeagle.c:
1112         * gtk/gtksearchenginesimple.c:
1113         * gtk/gtksearchenginetracker.c: Remove the MIME type calls and
1114         queries from the search engine implementations, since we use our
1115         own GtkFileSystem to filter out basing on MIME types and we cannot
1116         query MIME types anyway. The GtkQuery private object still has
1117         MIME type, as well as location, support for future expansion.
1118
1119 Fri Jun 22 12:13:39 2007  Tim Janik  <timj@imendio.com>
1120
1121         * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
1122         to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.
1123
1124         * tests/testframe.c: added test application from Xan Lopez to
1125         test xalign/yalign interactions with xthickness/ythickness.
1126
1127 Fri Jun 22 00:34:34 2007  Tim Janik  <timj@gtk.org>
1128
1129         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
1130         patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
1131
1132 2007-06-21  Matthias Clasen  <mclasen@redhat.com>
1133
1134         * gtk/gtktoolbar.c: Remove debug spew.  (#449492, Christian Persch)
1135
1136 2007-06-21  Matthias Clasen  <mclasen@redhat.com>
1137
1138         * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
1139         enter-leave compression code.  (#449167, patch by Tim Janik)
1140
1141 2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
1142
1143         * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
1144         in a comment
1145
1146 2007-06-20  Richard Hult  <richard@imendio.com>
1147
1148         * gdk/quartz/gdkwindow-quartz.c (gdk_window_new): 
1149         * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
1150         update the tracking rect in the window, move it to the view where
1151         it belongs.
1152
1153         * gdk/quartz/GdkQuartzView.c (updateTrackingRect)
1154         (viewDidMoveToWindow, viewWillMoveToWindow)
1155         (setFrame, setBounds): Create and update the tracking rect here.
1156
1157 2007-06-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1158
1159         * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
1160         top of this file to make C++ compilers happy.
1161
1162 2007-06-19  Matthias Clasen <mclasen@redhat.com>
1163
1164         * configure.in: Bump version
1165
1166         * === Released 2.11.4 ===
1167
1168         * NEWS: Updates
1169
1170 2007-06-19  Sven Neumann  <sven@gimp.org>
1171
1172         * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
1173
1174 2007-06-19  Sven Neumann  <sven@gimp.org>
1175
1176         * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
1177         Keep the tooltips in a hash table instead of a linked list.
1178         Improves performance when using large amounts of tooltips (#447214).
1179
1180         * README.in: document the GtkTooltips changes.
1181
1182 2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
1183
1184         * gtk/*: Rename buildable methods to not clash with widget 
1185         methods. (#448928, Torsten Schoenfeld)
1186
1187 2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
1188
1189         * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
1190         the timed poll of the storage file, since we are using multiple
1191         seconds intervals and we don't actually care about millisecond
1192         precision.
1193
1194         (threads_dispatch), (threads_free), (gtk_recent_manager_init),
1195         (gtk_recent_manager_set_filename): Roll our own version of
1196         gdk_threads_add_timeout() using g_timeout_add_seconds_full()
1197         while holding the GDK main lock.
1198
1199         * configure.in: Bump up the required GLib version, in order
1200         to use g_timeout_add_seconds_full().
1201
1202 2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
1203
1204         * gtk/gtkrecentmanager.c: Use a static variable to hold the
1205         singleton and remove the code that binds a recent manager to
1206         a GdkScreen.
1207
1208         (gtk_recent_manager_set_screen): Make it a NOOP.
1209         (gtk_recent_manager_get_for_screen): Proxy for
1210         gtk_recent_manager_get_default().
1211
1212         * gtk/gtk.symbols:
1213         * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
1214         and gtk_recent_manager_get_for_screen().
1215
1216         * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
1217         singleton (if any) when reaching main loop depth of 0.
1218
1219         * gtk/gtkrecentchooserdefault.c:
1220         (gtk_recent_chooser_default_dispose): Disconnect the changed
1221         signal only if we have a manager and we are connected to it.
1222
1223         (set_recent_manager): Ditto.
1224
1225         * README.in: Document the deprecations.
1226
1227 2007-06-18  Matthias Clasen <mclasen@redhat.com>
1228
1229         * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
1230         of the adjustment.  (#448544, Carlos Garnacho)
1231
1232 2007-06-18  Gustavo J. A. M. Carneiro  <gjc@gnome.org>
1233
1234         reviewed by: Matthias Clasen
1235
1236         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
1237         invalidate notifiers. (#448484)
1238
1239 2007-06-17  Matthias Clasen <mclasen@redhat.com>
1240
1241         * README.in: Updates
1242
1243         * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
1244         It was already documented as such.  (#412357, Vincent Geddes)
1245
1246 2007-06-17  Matthias Clasen <mclasen@redhat.com>
1247
1248         * gtk/gtkcontainer.c: Fix a doc typo.
1249
1250 2007-06-17  Richard Hult  <richard@imendio.com>
1251
1252         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
1253         Mac OS menu shortcut events to the right menu.
1254
1255 2007-06-17  Richard Hult  <richard@imendio.com>
1256
1257         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
1258         (synthesize_crossing_events_for_ns_event)
1259         (find_window_for_ns_event): More refactoring of the event
1260         handling: Extract synthesizing of crossing events from
1261         find_window_for_ns_event so that it doesn't have any side effects,
1262         and call the new function from gdk_event_translate instead.
1263
1264 2007-06-16  Richard Hult  <richard@imendio.com>
1265
1266         * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
1267         (gdk_event_translate): Remove pointless logging for unhandled events.
1268         Activate the application on non-left clicks, since that is only done
1269         for left clicks and we depend on it to get events routed properly for
1270         context menus and other popup windows.
1271
1272 2006-09-22  Dennis Cranston  <dennis_cranston@yahoo.com>
1273
1274         * gtk/gtkfilechooserbutton.c: (change_icon_theme),
1275         (model_add_bookmarks), (model_update_current_folder):
1276         * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
1277         (shortcuts_insert_path):  Use the remote folder icon when
1278         appropriate.
1279
1280         Follow up to #354887
1281
1282 2007-06-17  Christian Persch  <chpe@gnome.org>
1283
1284         * gtk/Makefile.am: Pass the print settings to the preview programme.
1285         Bug #403717, patch by Carlos Garcia Campos.
1286
1287 2007-06-17  Xan Lopez  <xan@gnome.org>
1288
1289         * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
1290         GdkWindow. Patch by Tilman Sauerbeck from #63820.
1291
1292 2007-06-17  Daniel Elstner  <danielk@openismus.com>
1293         
1294         * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
1295         Change input method behavior to act on key presses instead of
1296         key releases, matching normal text input behavior.  This change
1297         alleviates the need to take special action for control keys not
1298         handled by the input module itself.
1299
1300 2007-06-17  Behdad Esfahbod  <behdad@gnome.org>
1301
1302         * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
1303         Sebastien Bacher, Alex "weej" Jones)
1304
1305 2007-06-16  Yevgen Muntyan  <muntyan@tamu.edu>
1306
1307         * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
1308         problems with block cursor (#448321).
1309
1310 2007-06-16  Richard Hult  <richard@imendio.com>
1311
1312         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
1313         events and break any grabs while the window is being dragged.
1314
1315 2007-06-16  Richard Hult  <richard@imendio.com>
1316
1317         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
1318         Defer setting the parent until the window is shown, otherwise it
1319         gets unconditionally shown here.
1320
1321 2007-06-16  Johan Dahlin  <jdahlin@async.com.br>
1322
1323         * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
1324         (#448299, Jan Arne Petersen)
1325
1326 2007-06-16  Richard Hult  <richard@imendio.com>
1327
1328         * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
1329         Move the checks for no window or a non-GDK window from here...
1330         (gdk_event_translate): ...to here. Reorder the code so that we
1331         detect the cases where we need to break grabs before bailing
1332         out.
1333
1334 2007-06-16  Richard Hult  <richard@imendio.com>
1335
1336         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate) 
1337         (break_all_grabs): Break out into a separate function.
1338
1339 2007-06-16  Richard Hult  <richard@imendio.com>
1340
1341         * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
1342         to detect if the window is currently being moved with the mouse.
1343
1344 2007-06-16  Richard Hult  <richard@imendio.com>
1345
1346         * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
1347         Don't set parent/child relationship for tooltip windows since that
1348         moves the parent window to the front, due to the tooltip having a
1349         high window level.
1350
1351 2007-06-16  Christian Persch  <chpe@gnome.org>
1352
1353         * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
1354         (gtk_builder_get_type_from_name):
1355         * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
1356         name. Bug #448193.
1357
1358 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
1359         
1360         * configure.in: Bump version
1361
1362         * === Released 2.11.3 ===
1363
1364 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
1365
1366         * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
1367
1368 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
1369
1370         * gtk/gtkbuildable.c:
1371         * gtk/gtkbuilder.c: Documentation fixes
1372
1373         * gtk/gtktreeview.c: Fix up cross-references in docs.
1374         
1375         * gtk/Makefile.am: Don't install gtkbuilderprivate.h
1376
1377         * gtk/gtk.h: Include gtkbuilder.h
1378
1379         * NEWS: Updates
1380
1381 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
1382
1383         * gtk/gtkbuilder.c (gtk_builder_add_from_file): 
1384         (gtk_builder_value_from_string_type): 
1385         Use gsize instead of unsigned and gulong instead of long,
1386         fixes complation on OSX, fixes #447987
1387
1388 2007-06-15  Matthias Clasen  <mclasen@redhat.com>
1389         
1390         * gtk/gtkmenushell.[ch]: add move_selected signal to allow 
1391         overriding the default internal behaviour.  (#446833, Ryan Lortie)
1392
1393 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1394
1395         * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
1396
1397 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1398
1399         * gtk/gtkwidget.c: Improving handling of tooltip-text property.
1400         * tests/testtooltips.c: Also check result of tooltip getters.
1401
1402 2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
1403
1404         * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
1405         gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
1406         convenience property "GtkWidget:tooltip-text" taking care of escaping
1407         it for unwanted markup entities. Add functions to set tooltip text:
1408         gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
1409         gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
1410
1411         * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
1412         to set the tooltip text without using markup.
1413
1414         Patches from Emmanuele Bassi (#447643).
1415
1416 2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
1417
1418         reviewed by: Matthias Clasen
1419
1420         * demos/gtk-demo/Makefile.am:
1421         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1422         (do_builder):
1423         * demos/gtk-demo/demo.ui:
1424         * docs/reference/gtk/gtk-docs.sgml:
1425         * docs/reference/gtk/gtk-sections.txt:
1426         * docs/reference/gtk/gtk.types:
1427         * docs/reference/gtk/tmpl/gtkbuildable.sgml:
1428         * docs/reference/gtk/tmpl/gtkbuilder.sgml:
1429         * gtk/Makefile.am:
1430         * gtk/gtk.h:
1431         * gtk/gtk.symbols:
1432         * gtk/gtkaction.c: (gtk_action_buildable_init),
1433         (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
1434         * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
1435         (gtk_action_group_buildable_init),
1436         (gtk_action_group_buildable_add),
1437         (gtk_action_group_buildable_set_name),
1438         (gtk_action_group_buildable_get_name):
1439         * gtk/gtkbuildable.c: (gtk_buildable_get_type),
1440         (gtk_buildable_set_name), (gtk_buildable_get_name),
1441         (gtk_buildable_add), (gtk_buildable_set_property),
1442         (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
1443         (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
1444         (gtk_buildable_custom_finished),
1445         (gtk_buildable_get_internal_child):
1446         * gtk/gtkbuildable.h:
1447         * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
1448         (gtk_builder_finalize), (gtk_builder_set_property),
1449         (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
1450         (gtk_builder_real_get_type_from_name),
1451         (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
1452         (_gtk_builder_construct), (_gtk_builder_add),
1453         (apply_delayed_properties), (_gtk_builder_finish),
1454         (gtk_builder_new), (gtk_builder_add_from_file),
1455         (gtk_builder_add_from_string), (gtk_builder_get_object),
1456         (object_add_to_list), (gtk_builder_get_objects),
1457         (gtk_builder_set_translation_domain),
1458         (gtk_builder_get_translation_domain),
1459         (gtk_builder_connect_signals_default),
1460         (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
1461         (gtk_builder_value_from_string),
1462         (gtk_builder_value_from_string_type),
1463         (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
1464         (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
1465         * gtk/gtkbuilder.h:
1466         * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
1467         (error_missing_attribute), (error_invalid_attribute),
1468         (error_invalid_tag), (builder_construct), (parse_object),
1469         (free_object_info), (_get_type_by_symbol), (parse_child),
1470         (free_child_info), (parse_property), (free_property_info),
1471         (parse_signal), (_free_signal_info), (parse_interface),
1472         (create_subparser), (free_subparser), (subparser_start),
1473         (subparser_end), (parse_custom), (start_element), (end_element),
1474         (text), (_gtk_builder_parser_parse_buffer):
1475         * gtk/gtkbuilderprivate.h:
1476         * gtk/gtkcelllayout.c: (attributes_start_element),
1477         (attributes_text_element),
1478         (_gtk_cell_layout_buildable_custom_tag_start),
1479         (_gtk_cell_layout_buildable_custom_tag_end),
1480         (_gtk_cell_layout_buildable_add):
1481         * gtk/gtkcelllayout.h:
1482         * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
1483         (gtk_cell_view_buildable_custom_tag_start),
1484         (gtk_cell_view_buildable_custom_tag_end):
1485         * gtk/gtkcolorseldialog.c:
1486         (gtk_color_selection_dialog_buildable_interface_init),
1487         (gtk_color_selection_dialog_buildable_get_internal_child):
1488         * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
1489         (gtk_combo_box_buildable_custom_tag_start),
1490         (gtk_combo_box_buildable_custom_tag_end):
1491         * gtk/gtkcomboboxentry.c:
1492         (gtk_combo_box_entry_buildable_interface_init),
1493         (gtk_combo_box_entry_buildable_get_internal_child):
1494         * gtk/gtkcontainer.c: (gtk_container_get_type),
1495         (gtk_container_buildable_init), (gtk_container_buildable_add),
1496         (gtk_container_buildable_set_child_property),
1497         (attributes_start_element), (attributes_text_element),
1498         (gtk_container_buildable_custom_tag_start),
1499         (gtk_container_buildable_custom_tag_end):
1500         * gtk/gtkdebug.h:
1501         * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
1502         (gtk_dialog_buildable_get_internal_child),
1503         (attributes_start_element), (attributes_text_element),
1504         (gtk_dialog_buildable_custom_tag_start),
1505         (gtk_dialog_buildable_custom_finished):
1506         * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
1507         * gtk/gtkexpander.c: (gtk_expander_buildable_add),
1508         (gtk_expander_buildable_init):
1509         * gtk/gtkfontsel.c:
1510         (gtk_font_selection_dialog_buildable_interface_init),
1511         (gtk_font_selection_dialog_buildable_get_internal_child):
1512         * gtk/gtkframe.c: (gtk_frame_buildable_init),
1513         (gtk_frame_buildable_add):
1514         * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
1515         (gtk_icon_view_buildable_custom_tag_start),
1516         (gtk_icon_view_buildable_custom_tag_end):
1517         * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
1518         (list_store_start_element), (list_store_end_element),
1519         (list_store_text), (gtk_list_store_buildable_custom_tag_start),
1520         (gtk_list_store_buildable_custom_tag_end):
1521         * gtk/gtkmain.c:
1522         * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
1523         (gtk_notebook_buildable_add):
1524         * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
1525         (size_group_start_element),
1526         (gtk_size_group_buildable_custom_tag_start),
1527         (gtk_size_group_buildable_custom_finished):
1528         * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
1529         (tree_model_start_element),
1530         (gtk_tree_store_buildable_custom_tag_start),
1531         (gtk_tree_store_buildable_custom_finished):
1532         * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
1533         (gtk_tree_view_buildable_add):
1534         * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
1535         * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
1536         (gtk_ui_manager_buildable_add),
1537         (gtk_ui_manager_buildable_construct_child),
1538         (gtk_ui_manager_buildable_custom_tag_start),
1539         (gtk_ui_manager_buildable_custom_tag_end):
1540         * gtk/gtkwidget.c: (gtk_widget_get_type),
1541         (gtk_widget_buildable_interface_init),
1542         (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
1543         (gtk_widget_buildable_set_property),
1544         (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
1545         (gtk_widget_buildable_custom_tag_start),
1546         (gtk_widget_buildable_custom_finshed):
1547         * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
1548         (gtk_window_buildable_set_property),
1549         (gtk_window_buildable_parser_finished):
1550         * tests/Makefile.am:
1551         * tests/buildertest.c: (builder_new_from_string), (test_parser),
1552         (signal_normal), (signal_after), (signal_object),
1553         (signal_object_after), (signal_first), (signal_second),
1554         (signal_extra), (signal_extra2), (test_connect_signals),
1555         (test_uimanager_simple), (test_domain), (test_translation),
1556         (test_sizegroup), (test_list_store), (test_tree_store),
1557         (test_types), (test_spin_button), (test_notebook),
1558         (test_construct_only_property), (test_children),
1559         (test_child_properties), (test_treeview_column), (test_icon_view),
1560         (test_combo_box), (test_combo_box_entry), (test_cell_view),
1561         (test_dialog), (test_accelerators), (test_widget), (main):
1562
1563         Add GtkBuilder, fixes #172535
1564         
1565 2007-06-15  Hans Breuer <hans@breuer.org>
1566
1567         * gtk/makefile.msc.in tests/makefile.msc : updated
1568         * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
1569         to match the WNDCLASSEXW. 
1570         True dynamic linking of SetLayeredWindowAttributes
1571         * tests/testprint.c tests/testnouiprint.c : use G_PI
1572
1573 2007-06-14  Johan Dahlin  <jdahlin@async.com.br>
1574
1575         * gtk/gtk.symbols: Add missing symbol 
1576         gtk_text_layout_set_overwrite_mode
1577
1578 2007-06-14  Behdad Esfahbod  <behdad@gnome.org>
1579
1580         * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
1581         warning. (#447586, Kazuki IWAMOTO)
1582
1583 2007-06-14  Tor Lillqvist  <tml@novell.com>
1584
1585         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
1586         g_win32_get_windows_version() instead of _winver so that this
1587         compiles on Cygwin, too. Not that I know if it makes sense to
1588         build GTK+ with the Win32 backend for Cygwin, but some people want
1589         to.
1590
1591 2007-06-13  Matthias Clasen  <mclasen@redhat.com>
1592
1593         * NEWS: Updates
1594
1595         * NEWS, README.in: Move the combobox note to the README,
1596         where it seems more appropriate.
1597
1598 2007-06-13  Matthias Clasen  <mclasen@redhat.com>
1599
1600         * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
1601         (#447396, Masatake YAMATO)
1602
1603 2007-06-14  Carlos Garnacho  <carlos@imendio.com>
1604
1605         * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
1606         the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
1607         * NEWS: add a note about repercussions of this change to RC files.
1608
1609 2007-06-13  Behdad Esfahbod  <behdad@gnome.org>
1610
1611         * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
1612         get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
1613
1614 2007-06-13  Michael Natterer  <mitch@imendio.com>
1615
1616         * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
1617         gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
1618         gtk_menu_item_remove_submenu() because we have a properly working
1619         setter now (bug #447065).
1620
1621         * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
1622
1623         * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
1624         gtk_menu_item_remove_submenu().
1625
1626 2007-06-13  Cody Russell  <bratsche@gnome.org>
1627
1628         * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
1629         (#435840, Xan Lopez)
1630
1631 2007-06-13  Kristian Rietveld  <kris@imendio.com>
1632
1633         * gtk/gtk.symbols
1634         * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
1635         gtk_file_system_create to make it public and bring trunk back
1636         in sync with gtk-2-10.
1637
1638         * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
1639
1640 2007-06-13  Michael Natterer  <mitch@imendio.com>
1641
1642         * gtk/gtklabel.c (gtk_label_set_label): added calls to
1643         g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
1644         return the old text when called from a "notify::label" callback.
1645
1646 2007-06-13  Kristian Rietveld  <kris@imendio.com>
1647
1648         Audit of GtkTreeView coordinate system usage. (#142494).
1649
1650         * gtk/gtktreeview.[ch]: general documentation updates,
1651         (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
1652         update coordinate translations,
1653         (gtk_tree_view_tree_to_widget_coords),
1654         (gtk_tree_view_widget_to_tree_coords): Deprecated,
1655         (gtk_tree_view_convert_.*_coords): 6 new functions for doing
1656         transformations between coordinate systems.
1657
1658         * gtk/gtk.symbols: updated.
1659
1660         * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
1661         with new gtk_tree_view_convert_widget_to_bin_window_coords().
1662
1663         * docs/reference/gtk/Makefile.am
1664         * docs/reference/gtk/images/tree-view-coordinates.png: add new image.
1665
1666         * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
1667         different coordinate systems.
1668
1669 2007-06-13  Kristian Rietveld  <kris@imendio.com>
1670
1671         * gtk/gtkcellrendererprogress.c
1672         (gtk_cell_renderer_progress_class_init),
1673         (gtk_cell_renderer_progress_init),
1674         (gtk_cell_renderer_progress_[gs]et_property),
1675         (gtk_cell_renderer_progress_render): Add orientation property and some
1676         slight refactoring here and there.  (Fixes #344836, reported by
1677         Benjamin Montgomery).
1678
1679 2007-06-12  Matthias Clasen  <mclasen@redhat.com>
1680
1681         * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS
1682
1683         * configure.in: Remove linux-fb parts.
1684
1685 2007-06-12  Michael Natterer  <mitch@imendio.com>
1686
1687         * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
1688         instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
1689         wrap-width if there is no whitespace found to break at.
1690         Fixes bug #446107.
1691
1692 2007-06-12  Kristian Rietveld  <kris@imendio.com>
1693
1694         Fix #410815, reported by Lucas Rocha.
1695
1696         * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
1697         wrap-width with the first icon, if it exists,
1698         (adjust_wrap_width): try to use icon_view->priv->item_width
1699         if available,
1700         (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
1701         which caused changes in wrap-width during the layouting process and
1702         resulted in layouting artefacts,
1703         (update_text_cell): don't set the wrap-width property, this should
1704         be handled by adjust_wrap_width.
1705
1706 2007-06-12  Behdad Esfahbod  <behdad@gnome.org>
1707
1708         * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
1709         (#446138, Björn Lindqvist)
1710
1711 2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
1712
1713         * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
1714         (gtk_entry_draw_cursor):
1715         * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
1716         (_gtk_widget_get_cursor_color):
1717         * gtk/gtkstyle.h:
1718         * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
1719         (gtk_text_renderer_draw_shape), (text_renderer_set_state),
1720         (render_para):
1721         * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
1722         (gtk_text_layout_invalidate_cache), (get_block_cursor),
1723         (add_cursor), (gtk_text_layout_get_line_display),
1724         (_gtk_text_layout_get_block_cursor):
1725         * gtk/gtktextlayout.h:
1726         * gtk/gtktextutil.c (layout_get_char_width),
1727         (_gtk_text_util_get_block_cursor_location):
1728         * gtk/gtktextutil.h:
1729         * gtk/gtktextview.c (gtk_text_view_set_editable),
1730         (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
1731         (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
1732         Implement block-cursor for overwrite mode.  (#80378)
1733
1734 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
1735
1736         * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
1737         Esfahbod)
1738
1739 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
1740
1741         * modules/printbackends/cups/gtkprintbackendfile.c:
1742         * modules/printbackends/cups/gtkprintbackendcups.c: Fix some
1743         locking issues.  (#420249, Christian Persch)
1744
1745 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
1746
1747         * configure.in: When debugging is turned on, use error-checking
1748         mutexes.
1749
1750 2007-06-11  Emmanuele Bassi  <ebassi@gnome.org>
1751
1752         * gtk/gtknotebook.h: Fix declaration of the create_window()
1753         vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)
1754
1755 2007-06-11  Matthias Clasen  <mclasen@redhat.com>
1756         
1757         * tests/testiconview.c: Use icons of varying size.
1758         
1759 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
1760
1761         * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
1762         with lowercase letters for style property assignments, since 
1763         GType accepts these too, and gtkmm uses such class names.  (#343012,
1764         Murray Cumming, Johannes Schmid)
1765
1766 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
1767
1768         * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
1769         Store cursor_hadjustment as object data rather than in the private
1770         struct.
1771
1772 2007-06-10  Matthias Clasen  <mclasen@redhat.com>
1773
1774         * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
1775         being NULL.  (#445691, Christopher Taylor)
1776
1777 2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>
1778
1779         * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
1780         and XOPEN_SOURCE, in order to make the simple search engine backend
1781         build on really ancient GNU libc. (#444097)
1782
1783 2007-06-10  Michael Natterer  <mitch@imendio.com>
1784
1785         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
1786         angles by flipping the coordinate system back to its original y
1787         direction. The implementation is still broken for ellipses, will
1788         have to simulate them using bezier curves.
1789
1790 2007-06-10  Cody Russell  <bratsche@gnome.org>
1791
1792         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
1793         Don't revert the mouse cursor to the built-in one when
1794         the user holds the mouse button down. (#445284, Tor Lillqvist)
1795
1796 2007-06-10  Emmanuele Bassi  <ebassi@gnome.org>
1797
1798         * gtk/gtkscalebutton.[ch]: Fix some coding style bits.
1799
1800         (gtk_scale_button_dispose), (gtk_scale_button_class_init),
1801         (gtk_scale_button_init): Use the GObject private data API instead
1802         of allocating the private structure ourselves.
1803
1804         (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
1805         the icons string vector inside ::finalize and not in ::dispose.
1806
1807         (gtk_scale_button_update_icon): Use g_strv_length() instead
1808         of an empty for loop.
1809
1810 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
1811
1812         * gtk/gtkwidget.c:
1813         * gtk/gtkscrolledwindow.c: Update docs
1814         * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
1815
1816         * gtk/gtkbox.c: Move docs inline.
1817
1818         * gtk/gtkrange.c:
1819         * gtk/gtkscale.c: Doc formatting improvements.
1820
1821 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
1822
1823         * gtk/gtkscalebutton.c: Add an icons property, make 
1824         gtk_scale_button_new() a convenience function.  (#445855,
1825         Murray Cumming)
1826
1827 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
1828
1829         * gtk/gtkhscale.c (gtk_hscale_new):
1830         * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
1831         it more obvious that this is a convenience function.
1832
1833 2007-06-09  Matthias Clasen  <mclasen@redhat.com>
1834
1835         * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
1836         from nl_langinfo() more correctly. 
1837
1838 2007-06-09  Carlos Garnacho  <carlos@imendio.com>
1839
1840         * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
1841         branch too. (#445539)
1842
1843 2007-06-08  Benjamin Berg  <benjamin@sipsolutions.net>
1844
1845         * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
1846         Fix shadow painting if the scrollbars-within-bevel style property is
1847         set and border_width is nozero. (#445054)
1848
1849 2007-06-08  Matthias Clasen  <mclasen@redhat.com>
1850
1851         Make it possible for theme engines to support symbolic 
1852         colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)
1853
1854         * gtk/gtk.symbols:
1855         * gtk/gtkrc.h:
1856         * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
1857
1858         * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
1859         to new style before parsing engine section.
1860
1861 2007-06-08  Michael Natterer  <mitch@imendio.com>
1862
1863         * gdk/quartz/gdkdrawable-quartz.c: add utility function
1864         gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
1865         GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
1866
1867         (gdk_quartz_draw_segments)
1868         (gdk_quartz_draw_lines): use it here.
1869
1870 2007-06-07  Michael Natterer  <mitch@imendio.com>
1871
1872         * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
1873         some values to the defaults used by X11.
1874
1875         (gdk_quartz_gc_set_values): really set cap_style when
1876         GDK_GC_CAP_STYLE is in the mask, not line_style.
1877
1878 2007-06-07  Michael Natterer  <mitch@imendio.com>
1879
1880         * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
1881         use the same code for GDK_XOR as for GDK_INVERT. Xor with an
1882         arbitrary color is impossible to implement with quartz.
1883
1884 2007-06-07  Matthias Clasen  <mclasen@redhat.com>
1885
1886         * gtk/gtksettings.c: Fix a typo in the docs.
1887
1888 2007-06-07  Christian Neumair  <cneumair@gnome.org>
1889
1890         * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
1891
1892 2007-06-07  Matthias Clasen  <mclasen@redhat.com>
1893
1894         * gtk/gtktreeview.c: Documentation additions.
1895
1896         * gtk/gtknotebook.c: Add a doc comment.
1897
1898 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
1899
1900         * gtk/gtkfilechooserbutton.c (model_add_special):
1901         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
1902         * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
1903         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
1904         Use g_get_user_special_dir() to obtain the path for the
1905         DESKTOP directory.  
1906
1907 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
1908
1909         * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
1910         to the list of stock icons.  (#444786)
1911
1912 2007-06-06  Kristian Rietveld  <kris@imendio.com>
1913
1914         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
1915         (gtk_cell_renderer_progress_class_init),
1916         (gtk_cell_renderer_progress_[gs]et_property),
1917         (gtk_cell_renderer_progress_render): add text-[xy]align properties
1918         for aligning the text label of the progress bar.  (#334576,
1919         suggestion from Steven Sheehy).
1920
1921 2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
1922
1923         * gtk/gtkwidget.c:
1924         * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
1925         
1926         * gtkrc.c:
1927         * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and 
1928         _gtk_rc_style_unset_rc_property().
1929         
1930         * gtk/gtk.symbols: added gtk_widget_modify_cursor.
1931         
1932         * tests/testtext.c (do_cursor_visible_changed):
1933         * tests/testgtk.c (create_styles): test it.
1934
1935 2007-06-06  Richard Hult  <richard@imendio.com>
1936
1937         * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
1938         (find_window_for_ns_event): Rework how we get the event window:
1939         don't get the window from the NSEvent, always use the mouse window
1940         instead. Fix mouse window tracking by only using MouseExited for
1941         non-gdk windows, and to always use the NSEvent window to get the
1942         right gdk window in MouseEntered. Add comments to the code. Fixes bug
1943         #350460.
1944
1945 2007-06-06  Richard Hult  <richard@imendio.com>
1946
1947         * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
1948         Don't do anything if the two windows are the same.
1949         (find_window_for_ns_event): Translate coordinates to be relative
1950         the grab window when appropriate.
1951
1952 2007-06-06  Emmanuele Bassi  <ebassi@gnome.org>
1953
1954         * gtk/gtkfilechooserdefault.c:
1955         (get_file_info_finished), (shortcuts_insert_path),
1956         (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
1957         out the search shortcut, the recently used shortcut and the separator
1958         from the shortcut selection combo. (#444734)
1959
1960         (recent_idle_load): Remove the idle source that lazily loads the
1961         recently used files, if the GtkRecentManager returns an empty
1962         list. (#443913)
1963
1964 2007-06-06  Ross Burton  <ross@openedhand.com>
1965
1966         * gdk/x11/gdkspawn-x11.c:
1967         Set DISPLAY in the child process using g_setenv() instead of
1968         constructing a new envp, which lets callers use child setup
1969         functions which call putenv (#442617).
1970
1971 2007-06-06  Johan Dahlin  <jdahlin@async.com.br>
1972
1973         reviewed by: Matthias Clasen <mclasen@redhat.com>
1974         
1975         * gtk/gtkassistant.c (gtk_assistant_update_buttons_state): 
1976         Check if the wizard is empty before trying to access the first page.
1977         (#444310, Johan Dahlin)
1978
1979 2007-06-06  Matthias Clasen  <mclasen@redhat.com>
1980
1981         * configure.in: Bump version
1982
1983         * === Released 2.11.2 ===
1984
1985         * NEWS: Updates
1986
1987 2007-06-06  Kristian Rietveld  <kris@imendio.com>
1988
1989         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
1990         GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
1991
1992 2007-06-06  Kristian Rietveld  <kris@imendio.com>
1993
1994         * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
1995         function.  (#342471, Lorenzo Gil Sanchez).
1996
1997         * gtk/gtk.symbols: updated.
1998
1999 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2000
2001         * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
2002         call to gtk_widget_size_request().  (Reported by Carlos
2003         Garnacho).
2004
2005 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2006
2007         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
2008         last_window is not a GdkWindow anymore. (Fixes #434021, several
2009         reporters).
2010
2011 2007-06-06  Matthias Clasen <mclasen@redhat.com>
2012
2013         * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
2014
2015 2007-06-06  Brian Cameron  <brian.cameron@sun.com>
2016
2017         * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
2018           file gets included with the distribution, as needed.  Fixes bug
2019           #442888.  Reviewed by Matthias Clasen.
2020
2021 2007-06-06  Richard Hult  <richard@imendio.com>
2022
2023         * gdk/quartz/gdkevents-quartz.c
2024         (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
2025         windows are the same.
2026
2027 2007-06-06  Kristian Rietveld  <kris@imendio.com>
2028
2029         * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
2030         auto expand timeout if it exists.
2031
2032 2007-06-06  Richard Hult  <richard@imendio.com>
2033
2034         * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
2035         Update comment to be more clear and print a warning if we try to
2036         create a crossing event without knowing what the current mouse
2037         window is, to help track down focus bugs.
2038
2039         * gdk/quartz/gdkevents-quartz.c
2040         (_gdk_quartz_events_update_focus_window): Fix indentation.
2041
2042 2007-06-06  Richard Hult  <richard@imendio.com>
2043
2044         * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
2045         window.
2046
2047 2007-06-06  Tor Lillqvist  <tml@novell.com>
2048
2049         * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
2050         embarrassing crash. (#444457, Torsten Schoenfeld)
2051
2052 2007-06-05  Yevgen Muntyan  <muntyan@tamu.edu>
2053
2054         * demos/gtk-demo/textview.c (insert_text): Drop the phrase
2055         saying invisible text doesn't work (#444236).
2056
2057 2007-06-05  Matthias Clasen <mclasen@redhat.com>
2058
2059         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
2060         window_private is not NULL before using it.  (#444351, David Ronis)
2061
2062 2007-06-05  Jakub Steiner <jimmac@ximian.com>
2063
2064         * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
2065                 gtk-find is used for search, rather than find within a document
2066                 (file dialog).
2067
2068 2007-06-05  Kristian Rietveld  <kris@gtk.org>
2069
2070         Fix #399071, suggestion from Benoit Dejean.
2071
2072         * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
2073         function, factored out code iterating (columns, values) vectors from
2074         gtk_list_store_new_with_valuesv to here,
2075         (gtk_list_store_set_valuesv): new public function to set list store
2076         values using (columns, values) vectors,
2077         (gtk_list_store_new_with_valuesv): call new _set_vector_internal
2078         instead.
2079
2080         * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
2081         (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
2082         likewise.
2083
2084         * gtk/gtk.symbols: updated.
2085
2086 2007-06-04  Richard Hult  <richard@imendio.com>
2087
2088         * gdk/quartz/gdkwindow-quartz.c:
2089         (show_window_internal): Don't try to make temp windows key
2090         windows, fixes problem introduced below.
2091
2092 2007-06-04  Richard Hult  <richard@imendio.com>
2093
2094         * gdk/quartz/GdkQuartzWindow.c: 
2095         * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
2096         gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
2097
2098 2007-06-04  Richard Hult  <richard@imendio.com>
2099
2100         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
2101         (gdk_window_lower): Implement.
2102
2103 2007-06-04  Richard Hult  <richard@imendio.com>
2104
2105         * gdk/quartz/gdkwindow-quartz.c:
2106         * gdk/quartz/gdkwindow-quartz.h: Implement 
2107         gdk_window_set_transient_for.
2108
2109 2007-06-04  Cody Russell  <bratsche@gnome.org>
2110
2111         * gtk/gtklinkbutton.h
2112         * gtk/gtkaboutdialog.h: Change function argument "link"
2113         to "link_" to fix warnings for applications compiling
2114         with -Wshadow. (#379213)
2115
2116 2007-06-04  Cody Russell  <bratsche@gnome.org>
2117
2118         * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
2119         if down_button is NULL.  This happens when the pathbar button
2120         for the current directory is too large to fit in the
2121         space, e.g. on Windows for directories named something like
2122         "My Documents and Settings".  (#389603)
2123
2124 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
2125
2126         * configure.in: Bump version
2127
2128         * === Released 2.11.1 ===
2129
2130         * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
2131
2132         * NEWS:
2133         * README.in: Updates
2134
2135 2007-06-04  Michael Natterer  <mitch@imendio.com>
2136
2137         Move "move-focus" signals from several widgets to GtkWidget to
2138         enable more flexible costomization of keyboard navigation via
2139         bindings. Fixes bug #414947.
2140
2141         * gtk/gtkwidget.c: add "move-focus" binding signal, default to
2142         calling the toplevel GtkWindow's "move-focus" vfunc.
2143
2144         * gtk/gtktextview.[ch]
2145         * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
2146         code that makes sure that both emitting the signal on the widget
2147         and overriding the virtual functions keeps working as before.
2148
2149         * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
2150         GtkWidget's signal. This change slightly changes keyboard
2151         navigation in toolbars. I'll fix the behavior if somebody can
2152         explain me if and how exactly the new behavior is broken.
2153
2154 2007-06-04  Matthias Clasen  <mclasen@redhat.com>
2155
2156         * gtk/gtkmarshalers.list:
2157         * gtk/gtknotebook.[hc]: Add a create-window signal that allows
2158         to override the global create-window-hook on a per-notebook
2159         basis. The default handler falls back to the global hook.
2160         (#386935, Christian Hammond)
2161         
2162 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
2163
2164         * gtk/gtkradiobutton.[ch]:
2165         * gtk/gtk.symbols:
2166         * tests/testgtk.c: Revert previous commit; the API is not yet
2167         finalized - see bug #166995.
2168
2169 2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
2170
2171         * gtk/gtkradiobutton.h:
2172         * gtk/gtkradiobutton.c:
2173         * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
2174         gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
2175         Use these functions to set and get an arbitrary integer associated to
2176         a GtkRadioButton in a group, like the value associated to a
2177         GtkRadioAction.
2178
2179         * tests/testgtk.c:
2180         (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
2181
2182 2007-06-03  Torsten Schoenfeld  <kaffeetisch@gmx.de>
2183
2184         * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
2185         to avoid accessing uninitialized memory when
2186         gtk_icon_theme_choose_icon() is called with an empty names list.
2187
2188 2007-06-03  Richard Hult  <richard@imendio.com>
2189
2190         * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
2191         modifier state.
2192
2193 2007-06-03  Richard Hult  <richard@imendio.com>
2194
2195         * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
2196         better:
2197         (gdk_display_pointer_is_grabbed): Do what the docs say and don't
2198         consider implicit grabs here.
2199         (gdk_pointer_grab): Overriding a grab by the same app should always be
2200         succesful.
2201         (gdk_event_translate): Implicit grabs should not be owner events.
2202
2203 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2204
2205         * NEWS: Updates
2206
2207 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2208
2209         * docs/tools/widgets.c: Add a volume button
2210
2211 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2212
2213         * gtk/gtkradiobutton.c:
2214         * gtk/gtkradiomenuitem.c: Fix doc typos.  
2215
2216 2007-06-03  Matthias Clasen  <mclasen@redhat.com>
2217
2218         * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)
2219
2220 2007-06-03  Xan Lopez  <xan@gnome.org>
2221
2222         * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
2223         and remove g_return_if checks in private functions. (#443247)
2224
2225 2007-06-01  Richard Hult  <richard@imendio.com>
2226
2227         * gdk/quartz/gdkevents-quartz.c:
2228         (get_converted_window_coordinates), (create_crossing_event): Fix the
2229         coordinates in crossing events so they are relative to the right
2230         window.
2231
2232 2007-06-01  Richard Hult  <richard@imendio.com>
2233
2234         * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
2235         consistent for the various functions that retrieve data from an
2236         event.
2237
2238         * gdk/quartz/gdkprivate-quartz.h: 
2239         * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
2240         _gdk_quartz_window_find_child_by_point() function.
2241
2242 2007-06-01  Matthias Clasen  <mclasen@redhat.com>
2243
2244         Add support for composited child windows.  (#412882, Ryan Lortie)
2245
2246         * gdk/gdk.symbols:
2247         * gdk/gdkdisplay.h:
2248         * gdk/gdkinternals.h:
2249         * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
2250         gdk_window_set_composited().
2251
2252         * gdk/x11/gdkevents-x11.c:
2253         * gdk/x11/gdkdisplay-x11.[hc]:
2254         * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
2255
2256         * gdk/win32/gdkdisplay-win32.c:
2257         * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
2258
2259         * gdk/quartz/gdkdisplay-quartz.c:
2260         * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
2261
2262         * gdk/directfb/gdkdisplay-directfb.c:
2263         * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
2264
2265         * tests/testgtk.c: Add a "composited window" test.
2266
2267 2007-06-01  Michael Natterer  <mitch@imendio.com>
2268
2269         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
2270         submenu opening direction for overlapping reasons if there is even
2271         less space on the other side (bug #441863, Tommi Komulainen).
2272
2273 2007-06-01  Michael Natterer  <mitch@imendio.com>
2274
2275         * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
2276         to not obfuscate the code.
2277
2278 2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>
2279
2280         Avoid recreating pangolayouts in GtkTextView on cursor movement
2281         (#435405, Behdad Esfahbod).
2282
2283         * gtk/gtktextlayout.c:
2284         * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
2285         and functions gtk_text_layout_invalidate_cursors() and
2286         gtk_text_layout_cursors_changed(), to use when invalidation is due
2287         to moved marks or changed selection.
2288
2289         * gtk/gtktextbtree.c:
2290         * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
2291
2292         * gtk/gtk.symbols: add new functions.
2293
2294         * README.in: added a note about changed GtkTextLayout API.
2295
2296 2007-06-01  Alp Toker  <alp.toker@collabora.co.uk>
2297
2298         * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
2299
2300 2007-05-31  Yevgen Muntyan  <muntyan@tamu.edu>
2301
2302         * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
2303         widget style to draw cursor instead of hardcoded black and grey
2304         (#79585, comment #30).
2305
2306 2007-06-01  Kristian Rietveld  <kris@gtk.org>
2307
2308         * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
2309         pango_extents_to_pixels to avoid rounding errors.  (Fixes #430218,
2310         Shlomi Israel).
2311
2312 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
2313
2314         * tests/autotestfilechooser.c: Reactivate the other file-chooser
2315         tests. Forgot that before commiting revision 17994.
2316
2317 2007-05-31  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
2318
2319         * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
2320         the internal response_requested flag, once the response triggered by
2321         file_chooser_widget_response_requested has been processed (#347883).
2322
2323 2007-05-30  Richard Hult  <richard@imendio.com>
2324
2325         * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
2326         function, bug #438440.
2327
2328 2007-05-30  Tor Lillqvist  <tml@novell.com>
2329
2330         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
2331         multi-monitor offset from x and y before setting up the rectangle
2332         for ClipCursor(). Fixes #442326.
2333
2334 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
2335
2336         * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
2337         if the size changed.  (#418047, Alex Graveley)
2338
2339 2007-05-30  Simos Xenitellis  <simos@gnome.org>
2340
2341         * gdk/gdkkeysyms-update.pl: Updated script to new upstream 
2342         location of keysymdef.h (#442183)
2343
2344 2007-05-30  Emmanuele Bassi  <ebassi@gnome.org>
2345
2346         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
2347         after setting the file chooser entry with the current selection.
2348
2349 2007-05-30  Matthias Clasen  <mclasen@redhat.com>
2350
2351         * gtk/gtkiconcachevalidator.c: Correct the handling
2352         of display names.  (#441767, Marcin Bachry)
2353
2354 2007-05-30  Xan Lopez  <xan@gnome.org>
2355
2356         * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
2357         Fixes #442172.
2358
2359 2007-05-28  Cody Russell  <bratsche@gnome.org>
2360
2361         * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
2362
2363 2007-05-28  Richard Hult  <richard@imendio.com>
2364
2365         * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
2366         (get_ancestor_coordinates_from_child): Break out code that was
2367         repeated into separate functions and call them instead.
2368         (find_window_for_mouse_nsevent): Break out this from
2369         find_window_for_nsevent to make the code clearer.
2370         (find_window_for_nsevent): Use the above and fix the returned
2371         coordinates in the process so that they are always relative the
2372         found window, both for the normal case and during grabs. Still
2373         needs fixing for the case where we get nsevents for a window other
2374         than than grab window during grabs.
2375
2376 2007-05-28  Richard Hult  <richard@imendio.com>
2377
2378         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
2379         we need both press and release in the mask to trigger implicit
2380         grabs.
2381
2382 2007-05-28  Richard Hult  <richard@imendio.com>
2383
2384         * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
2385         all the grab state, to help debugging.
2386         (gdk_event_translate): Use pointer_ungrab_internal instead of
2387         duplicating the code here.
2388
2389 2007-05-28  Richard Hult  <richard@imendio.com>
2390
2391         * gdk/quartz/gdkprivate-quartz.h:
2392         * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
2393         (_gdk_quartz_window_find_child): Refactored version of
2394         _gdk_quartz_window_find_child_by_point, that doesn't return any
2395         coordinates as the users of this function already have the
2396         coordinates and need to translate them differently.
2397         (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
2398         (_gdk_windowing_window_at_pointer): Likewise.
2399
2400 2007-05-28  Richard Hult  <richard@imendio.com>
2401
2402         * gdk/quartz/gdkevents-quartz.c
2403         (find_window_interested_in_event_mask): Don't traverse beyond the
2404         toplevel of the passed in window.
2405
2406 2007-05-28  Richard Hult  <richard@imendio.com>
2407
2408         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
2409         a size for the root window.
2410
2411 2007-05-28  Richard Hult  <richard@imendio.com>
2412
2413         * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
2414         coordinates are relative to.
2415
2416 2007-05-28  Carlos Garnacho  <carlos@imendio.com>
2417
2418         * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
2419         Add back variable declaration removed in r17958.
2420
2421 2007-05-28  Carlos Garcia Campos  <carlosgc@gnome.org>
2422
2423         * gtk/gtkprinter.[ch]: Add new capability
2424         GTK_PRINT_CAPABILITY_NUMBER_UP.
2425         * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml: 
2426         * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
2427         * modules/printbackends/file/gtkprintbackendfile.c:
2428         (file_printer_get_options), (file_printer_get_settings_from_options):
2429         * modules/printbackends/cups/gtkprintbackendcups.c:
2430         (cups_printer_get_capabilities): Add a new print capability to specify
2431         whether print dialog will offer printing multiple pages per sheet. (#398414)
2432         
2433 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
2434
2435         * gtk/gtktoolbar.h: Actually undeprecate 
2436         gtk_toolbar_[un]set_icon_size.  (#314172. Yevgen Muntyan)
2437
2438 2007-05-28  Matthias Clasen  <mclasen@redhat.com>
2439
2440         * gtk/gtkwidget.c: Document some more signals
2441
2442         * gtk/gtktextview.c: Improve docs
2443
2444 2007-05-27  Tor Lillqvist  <tml@novell.com>
2445
2446         * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
2447         supposed to be -luser32, but he "l" was missing. But nobody has
2448         noticed, so presumably unnecessary.
2449
2450 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
2451
2452         * gtk/gtkprintoperationpreview.c: Improve docs
2453
2454 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
2455
2456         * gtk/gtkentry.c: Move docs inline.
2457
2458 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
2459
2460         * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
2461         that cause problems when building the docs.
2462
2463 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
2464         
2465         * gdk/x11/gdkdisplay-x11.c: Update docs
2466         * gdk/gdk.c: Update docs
2467         * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
2468         * gdk/x11/gdkwindow-x11.c: Fix doc formatting
2469
2470 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
2471
2472         * gtk/gtktooltip.c:
2473         * gtk/gtkstatusicon.c:
2474         * gtk/gtkscalebutton.c:
2475         * gtk/gtkrecentaction.c:
2476         * gtk/gtkrange.c:
2477         * gtk/gtkprinter.c:
2478         * gtk/gtkprintsettings.c:
2479         * gtk/gtkpapersize.c:
2480         * gtk/gtkpagesetup.c:
2481         * gtk/gtknotebook.c:
2482         * gtk/gtkentrycompletion.c: Document new api
2483
2484 2007-05-26  Richard Hult  <richard@imendio.com>
2485
2486         * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
2487         build working.
2488
2489 2007-05-26  Matthias Clasen  <mclasen@redhat.com>
2490
2491         * configure.in: Require gtk-doc 1.6, for signal and property links.
2492         * gtk/gtkbox.c:
2493         * gtk/gtkbutton.c:
2494         * gtk/gtkcontainer.c:
2495         * gtk/gtkdialog.c:
2496         * gtk/gtkentry.c:
2497         * gtk/gtkimage.c:
2498         * gtk/gtklabel.c:
2499         * gtk/gtkmisc.c:
2500         * gtk/gtksettings.c:
2501         * gtk/gtkwidget.c: Documentation improvements, link signals
2502         and properties where it makes sense.
2503
2504 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
2505
2506         * gtk/gtktextmark.c:
2507         * gtk/gtktextbuffer.c: Formatting fixes.
2508
2509 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
2510
2511         Allow to separate GtkTextMark creation from buffer insertion.
2512         (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
2513
2514         * gtk/gtktextmarkprivate.h:
2515         * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
2516         create a GtkTextMark.
2517
2518         * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
2519         function to add an existing mark to a buffer. 
2520
2521         * gtk/gtktextbtree.c: Allow adding existing marks.
2522
2523         * gtk/gtk.symbols: Add new functions.
2524
2525         * tests/testtextbuffer.c: Add some tests for new mark 
2526         functionality.
2527
2528 2007-05-25  Xan Lopez  <xan@gnome.org>
2529
2530         * gtk/gtkaction.c: (gtk_action_set_short_label):
2531         Use private->data->short_label to update the proxies. (#440780)
2532
2533 2007-05-25  Richard Hult  <richard@imendio.com>
2534
2535         * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
2536         Implement copying from a window, part of bug #348493.
2537
2538 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
2539
2540         * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
2541         refence on the print operation until gtk_print_job_send()
2542         is done.  (#440040, Chris Vine)
2543
2544 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
2545
2546         * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
2547         Don't crash and don't leak.  (#439565, Pedro Villavicencio)
2548
2549 2007-05-25  Matthias Clasen  <mclasen@redhat.com>
2550
2551         * gtk/gtkiconfactory.c: Improve a warning
2552         * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
2553         set the error when returning NULL.  (#440982, Carlos Garcia
2554         Campos)
2555
2556 2007-05-25  Michael Natterer  <mitch@imendio.com>
2557
2558         Merge fix from maemo-gtk:
2559
2560         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
2561         also if the menu item we're entering is already selected. Also, it
2562         makes no sense to forward the event to the parent menu shell if we
2563         are entering a menu item of *this* menu shell.
2564
2565 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
2566
2567         * gtk/stock-icons/*: Make sure all svg icons are added
2568         as pngs.
2569
2570 2007-05-24  Matthias Clasen  <mclasen@redhat.com>
2571
2572         * modules/input/Makefile.am: Fix broken DESTDIR support
2573
2574 2007-05-24  Michael Natterer  <mitch@imendio.com>
2575
2576         * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
2577         Bogdan Nicula which fixes a crash on GdkWindows which have no
2578         GtkWidget as user_data (bug #440890).
2579
2580 2007-05-24   Matthias Clasen  <mclasen@redhat.com>
2581
2582         * configure.in: Bump version
2583
2584         * === Released 2.11.0 ===
2585
2586         * NEWS: Updates
2587
2588 2007-05-23   Matthias Clasen  <mclasen@redhat.com>
2589
2590         * gtk/gtk.symbols: 
2591         * gdk/x11/xsettings-common.h: 
2592         * gdk/gdk.symbols: Add some missing symbols.
2593
2594         * gtk/paper_names_offsets.c:
2595         * gtk/gen-paper-names.c: Make variables static.
2596
2597         * gtk/gtktooltip.[hc]:
2598         * gtk/gtkvolumebutton.c:
2599         * gtk/gtkscalebutton.c:  Fix up symbol aliasing.
2600
2601 2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>
2602
2603         * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
2604
2605         * gtk/gtkhandlebox.c (gtk_handle_box_paint):
2606         * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
2607         * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
2608         * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
2609         * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
2610         * gtk/gtkpreview.c (gtk_preview_finalize):
2611         * gtk/gtknotebook.c (gtk_notebook_set_group_id):
2612         * tests/testnotebookdnd.c (window_creation_function):
2613         * tests/testiconview.c (do_popup_menu):
2614         Fixed some compiler warnings (#440689).
2615
2616 2007-05-23  Kristian Rietveld  <kris@imendio.com>
2617
2618         * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
2619         from the window they were received on to the event widget's window;
2620         correct for no-window widgets after that, bail out on failure.  This
2621         makes the coordinates given by GtkWidget::query-tooltip truly relative
2622         to widget->window.  (#435188).
2623
2624         * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
2625         GtkWidget::query-tooltip.
2626
2627 2007-05-22  Behdad Esfahbod  <behdad@gnome.org>
2628
2629         * gtk/gtkprintcontext.c (gtk_print_context_finalize),
2630         (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
2631         (gtk_print_context_set_cairo_context),
2632         (gtk_print_context_get_pango_fontmap),
2633         (gtk_print_context_create_pango_context):
2634         Don't create new pango fontmaps.  Use the default pangocairo
2635         fontmap and set resolution on PangoContext instead. (#417707)
2636
2637 2007-05-21  Richard Hult  <richard@imendio.com>
2638
2639         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
2640         resolution.
2641         
2642         * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
2643
2644 2007-05-21  Michael Natterer  <mitch@imendio.com>
2645
2646         * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
2647
2648 Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
2649
2650         * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
2651
2652 2007-05-21  Tor Lillqvist  <tml@novell.com>
2653
2654         * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
2655         multiple monitors.
2656
2657 2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2658
2659         * gdk/directfb/gdkwindow-directfb.c:
2660         * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
2661         required to enable gdk_directfb_create_child_window.
2662         (Closes: #437379)
2663
2664 2007-05-20  Bastien Nocera  <hadess@hadess.net>
2665
2666         * gtk/Makefile.am:
2667         * gtk/gtk.h:
2668         * gtk/gtk.symbols:
2669         * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
2670         a button that pops up a scale when clicked (Closes: #415775)
2671         * tests/Makefile.am:
2672         * tests/testvolumebutton.c: Add a test program for the
2673         volume button
2674
2675 2007-05-19  Bastien Nocera  <hadess@hadess.net>
2676
2677         reviewed by: Matthias Clasen <mclasen@redhat.com>
2678
2679         * gtk/Makefile.am:
2680         * gtk/gtk.h:
2681         * gtk/gtk.symbols:
2682         * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
2683         a button that pops up a scale when pressed
2684
2685 2007-05-19  Matthias Clasen  <mclasen@redhat.com>
2686
2687         * gtk/gtk.symbols:
2688         * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
2689         in favour of new functions gtk_notebook_[gs]et_group, which
2690         takes a pointer as group identifier and makes it easier to
2691         avoid group id collisions.  (#386930, Christian Hammond)
2692                 
2693         * tests/testnotebookdnd.c: Use new grouping api.
2694
2695 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
2696
2697         * gtk/gtkactiongroup.c: Warn and refuse to add actions with
2698         duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
2699         Vahlman)
2700
2701 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
2702
2703         * gtk/gtk.symbols:
2704         * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
2705         to allow automatic scrolling in response to cursor movements
2706         in the entry.  (#438651, Nate Nielsen)
2707
2708 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
2709
2710         * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
2711         signal, and bind F7 to it.  (#380048, Tim Miao)
2712
2713 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
2714
2715         * gtk/gtk.symbols:
2716         * gtk/gtkicontheme.h:
2717         * gtk/gtkicontheme.c: Add a function to look up an icon from
2718         a list of icon names.  (#396901, Luca Ferretti)
2719
2720 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
2721
2722         * gtk/gtkrecentchooserdefault.c:
2723         (gtk_recent_chooser_default_dispose): Reset the state on dispose.
2724
2725         (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
2726         is a valid state, if the main loop never had the chance to
2727         properly spin at least once. (#438671)
2728
2729 2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>
2730
2731         * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
2732         string for translation. (#439437)
2733
2734 2007-05-18  Matthias Clasen  <mclasen@redhat.com>
2735
2736         * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
2737         doc typo.  (#438100, Vincent Untz)
2738
2739 2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
2740
2741         * INSTALL.in:
2742         * README.in:
2743         * configure.in: Bump libtiff requirement to 3.6.0, by requiring
2744           presence of TIFFReadRGBAImageOriented.
2745
2746         * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
2747         Preserve pixbuf options when generating a new scaled pixbuf.
2748
2749         * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
2750         (gdk_pixbuf__jpeg_image_load_increment): Read the exif
2751         orientation tag and associate it with the "orientation" pixbuf
2752         option. Renders libexif unnecessary in some applications.
2753
2754         * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
2755         compensate for the partial rotations performed by libtiff,
2756         and generate an "orientation" option for the pixbuf.
2757
2758 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
2759
2760         * gtk/gtkexpander.c: remove c++ style comment.
2761
2762 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
2763
2764         Make combobox menu popdown keybindable (#433593)
2765
2766         * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
2767         signal and keybindings.
2768         (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
2769         handler.
2770         (gtk_combo_box_menu_key_press):
2771         (gtk_combo_box_list_key_press): forward the event to the combobox if
2772         it wasn't handled by the menu.
2773
2774 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
2775
2776         * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
2777         (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
2778         their DnD handlers if the target doesn't match with anything the
2779         notebook manages. (#350665, Joakim Lundborg).
2780
2781 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
2782
2783         Refactor GtkFileChooserDialog sizing.
2784
2785         * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
2786         (_gtk_file_chooser_embed_get_resizable_hints):
2787         s/resizable_hints/resizable/, return just one boolean value to
2788         determine whether the filechooser should be resizable or not.
2789
2790         * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
2791         variables related to the GtkFileChooserEmbed get_default_size() and
2792         get_resizable() implementations.
2793         (struct GtkFileChooserDefault): Move default size management here.
2794
2795         * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
2796         Added, store currently allocated size to calculate default size later.
2797         (gtk_file_chooser_default_get_resizable_hints):
2798         s/resizable_hints/resizable/.
2799         (gtk_file_chooser_default_set_property): Reload settings if the file
2800         chooser action changes, this way the save expander state will be known
2801         before mapping the window, avoiding wrong window positioning and
2802         flickering. (#424299, #424309)
2803         (find_good_size_from_style): Only get size from style if it wasn't set
2804         previously.
2805         (gtk_file_chooser_default_get_default_size): return default size based
2806         on stored default size and preview/extra widget sizes.
2807
2808         * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
2809         (file_chooser_widget_realized_size_changed)
2810         (file_chooser_widget_unrealized_size_changed): simplified to
2811         (file_chooser_widget_size_changed): set window size and resizability
2812         based on the GtkFileChooserEmbed interface implementation. (Bug
2813         #420285, Tomeu Vizoso)
2814         (gtk_file_chooser_dialog_map): force a dialog size change, so it's
2815         clamped for sure to the 75% of the screen size.
2816
2817 2007-05-18  Carlos Garnacho  <carlos@imendio.com>
2818
2819         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
2820         the brand new current page if there was none set previously. Fixes
2821         #425138 (Reported by Michail Crayson). Some code simplifications.
2822         (gtk_notebook_draw_arrow): code style fix.
2823
2824 2007-05-16  Matthias Clasen  <mclasen@redhat.com>
2825
2826         * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
2827         buttons. Keep the focus from vanishing when Up or Down arrows
2828         become insensitive or invisible.  (#357005, Patrick Wade)
2829
2830 2007-05-16  Brian Cameron  <brian.cameron@sun.com>
2831
2832         * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
2833           gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
2834           gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
2835           gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
2836           hardware acceleration via mediaLib is enabled if mediaLib is
2837           detected via configure.  Enhancement request #344813.  I was given
2838           permission to commit in the bug report by Matthias Clasen.
2839         * gdk/medialib.[ch]: New files added for mediaLib support.
2840         * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
2841           docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
2842           mediaLib support.
2843
2844 2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>
2845
2846         * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
2847         priv->free_platform_data to prevent gtk_print_operation_finalize()
2848         from freeing the cairo surface a second time.
2849
2850 2007-05-14  Kristian Rietveld  <kris@gtk.org>
2851
2852         * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
2853         dangling semicolon, fixes the segfault ebassi was seeing earlier today
2854         ;)
2855
2856 2007-05-14  Tristan Van Berkom  <tvb@gnome.org>
2857
2858         * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
2859         were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
2860         the GtkAboutDialog now uses the "program-name" property instead of 
2861         the conflicting "name" property (fixes bug 345822).
2862
2863 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
2864
2865         * configure.in: Add check for GNU extensions to ftw()/nftw().
2866
2867         * gtk/gtksearchenginesimple.c: Fix compilation on systems with
2868         only POSIX-compliant ftw(). (#435797, based on a patch by
2869         Richard Hult)
2870
2871 2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>
2872
2873         * gtk/gtkfilechooserdefault.c:
2874         Convert the GtkTreeIter inside the sorting functions for the
2875         search and recent modes. This doesn't yet fix the segfault when
2876         clicking the 'Name' column in recent mode, though.
2877
2878 2007-05-14  Behdad Esfahbod  <behdad@gnome.org>
2879
2880         * modules/input/gtkimcontextthai.c
2881         (gtk_im_context_thai_filter_keypress):
2882         Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
2883
2884 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
2885
2886         * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
2887         as 2.12 addition.  (#438131, Mart Raudsepp)
2888
2889 2007-05-14  Matthias Clasen  <mclasen@redhat.com>
2890
2891         * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
2892         size requisition for wide vertical separators.  (#438113, 
2893         Benjamin Berg)
2894
2895 2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>
2896
2897         * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
2898         all the symbols defined in <ftw.h> conditionally.
2899
2900 2007-05-13  Cody Russell  <bratsche@gnome.org>
2901
2902         * gdk/win32/gdkevents-win32.c: Only do the configure event context
2903         iteration under WM_WINDOWPOSCHANGED instead of inside
2904         handle_configure_event().  This fixes a bug that prevented window
2905         contents from being redrawn after gtk_window_resize(). (#436721)
2906
2907 2007-05-12  Behdad Esfahbod  <behdad@gnome.org>
2908
2909         * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
2910         generation.  (#437879, Eddie C. Dost)
2911
2912 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2913
2914         GtkFileChooser search fixes and recent files support.  (#435342)
2915         
2916         * gtk/gtkfilechooserdefault.c: Support drag and drop for
2917         adding shortcuts of folders when in search or recent files
2918         mode.
2919
2920 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2921
2922         GtkFileChooser search fixes and recent files support.  (#435342)
2923
2924         * gtk/gtkfilechooserprivate.h:
2925         * gtk/gtkfilechooserdefault.c: Follow the sorting order of
2926         the GtkTreeView displaying the files list.
2927
2928         (shortcuts_get_index), (shortcuts_insert_separator),
2929         (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
2930         the separator between the Search and the Recently Used shortcuts.
2931
2932         (list_select_func), (list_icon_data_func), (list_name_data_func),
2933         (list_mtime_data_func): Update the sensitivity of the row
2934         depending on the GtkFileChooserAction used.
2935
2936 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2937
2938         GtkFileChooser search fixes and recent files support.  (#435342)
2939
2940         * gtk/gtkfilechooserprivate.h:
2941         * gtk/gtkfilechooserdefault.c: Update the contents of the
2942         files list when changing the filter of the GtkFileChooserDefault
2943         widget.
2944
2945 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2946
2947         GtkFileChooser search fixes and recent files support.  (#435342)
2948
2949         * gtk/gtkfilechooserdefault.c: Update the add bookmark button
2950         sensitivity when in search or recent files mode, and allow
2951         adding a bookmark for a folder.
2952
2953 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2954
2955         GtkFileChooser search fixes and recent files support.  (#435342)
2956
2957         * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
2958         a mnemonic to the label, de-boldify the label's text and assign
2959         focus to the search entry when switching to the search mode.
2960
2961         (list_name_data_func): Split the text in both search and recent
2962         files mode: on the first line use the short name and on the
2963         second line use the full path.
2964
2965 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2966
2967         GtkFileChooser search fixes and recent files support.  (#435342)
2968
2969         * gtk/gtkfilechooserprivate.h:
2970         * gtk/gtkfilechooserdefault.c: Add support for showing the
2971         recently used files list as a special shortcut item.
2972
2973 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2974         
2975         GtkFileChooser search fixes and recent files support.  (#435342)
2976
2977         * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
2978         indentation style consistency.
2979
2980         (list_row_activated): If the search hit is a folder, follow it
2981         when activating the row, and switch back to browse mode.
2982
2983         (search_clear_model), (search_start_query),
2984         (search_entry_activate_cb), (search_setup_widgets): Remember
2985         the last query when switching between modes.
2986
2987 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
2988
2989         GtkFileChooser search fixes and recent files support.  (#435342)
2990
2991         * gtk/gtkfilechooserdefault.c:
2992         (_gtk_file_chooser_default_class_init): Add key binding for
2993         the Search shortcut; default to MOD1+S.
2994
2995         (search_shortcut_handler): Handle the key binding.
2996
2997         (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
2998         (search_setup_model): Retrieve informations on the search hits
2999         when adding them to the model.
3000
3001         (list_icon_data_func): Show the search hit icon.
3002
3003 2007-05-11  Michael Natterer  <mitch@imendio.com>
3004
3005         * gtk/gtktextview.c (selection_motion_event_handler): call
3006         gdk_event_request_motions(event) so selecting works with
3007         XInput devices too. Spotted by Tommi Komulainen.
3008
3009 2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
3010
3011         * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
3012         to GtkSearchEngineSimple only if gthread has already been
3013         initialiased; otherwise, disable search support in the file
3014         chooser widget.  (#435847)
3015
3016 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3017
3018         * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
3019         image before overwriting priv->image.  (#437281, Jochen Baier)
3020
3021 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3022
3023         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
3024         Correct a confusing warning.  (#437284, Björn Lindqvist)
3025
3026 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3027
3028         * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
3029         the backend if the region is empty.  (#437081, Sven Neumann)
3030
3031 2007-05-10  Matthias Clasen <mclasen@redhat.com>
3032
3033         * gtk/gtksearchenginesimple.c (search_visit_func);
3034         Assume Posix nftw behaviour. 
3035
3036 2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>
3037
3038         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
3039         expand/collapse with Right/Left cursor keys on Windows
3040         (#436269, Daniel Atallah)
3041
3042 2007-05-09  Cody Russell  <bratsche@gnome.org>
3043
3044         * gtk/gtkmenu.c:
3045         (get_arrows_border): New function to calculate the border sizes needed 
3046         for the scroll arrows.
3047         (get_arrows_visible_area): New function to calculate the arrows visible 
3048         area.
3049         (get_arrows_sensitive_area): New function to calculate the arrows
3050         sensitive area.
3051         (gtk_menu_paint): Refactored code to calculate the border sizes needed
3052         for the scroll arrows into get_arrows_border and the code to calculate 
3053         the visible area into get_arrows_visible_area.
3054         (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
3055         to get_arrows_sensitive_area.
3056         (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
3057         gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
3058         get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
3059         callers.  (From #436533, Tommi Komulainen)
3060
3061 2007-05-09  Kristian Rietveld  <kris@imendio.com>
3062
3063         * gtk/gtktreeview.c (gtk_tree_view_key_press),
3064         (gtk_tree_view_key_release):
3065         * gtk/gtkiconview.c (gtk_icon_view_class_init),
3066         (gtk_icon_view_key_press),
3067         (gtk_icon_view_key_release): Disable key bindings during rubber
3068         banding, make pressing Esc stop rubber banding.  (#405027).
3069
3070 2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>
3071
3072         * gtk/gtkrecentmanager.c:
3073         (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
3074         with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
3075
3076 2007-05-05  Richard Hult  <richard@imendio.com>
3077
3078         * gdk/quartz/gdkdrawable-quartz.c:
3079         (gdk_quartz_drawable_get_context),
3080         (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
3081         Turns out the lockFocus logic was flawed, now we only lock/unlock 
3082         when called outside a real expose event and never flush manually.
3083
3084 2007-05-03  Behdad Esfahbod  <behdad@gnome.org>
3085
3086         * gtk/gtklabel.c (gtk_label_ensure_layout):
3087         * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
3088         using pango_layout_set_justify() that works now. (#435675)
3089
3090 2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>
3091
3092         * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
3093         spurious g_free() call.
3094
3095 Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>
3096
3097         * tests/testgtk.c (create_handle_box): made handle box test non-modal,
3098         so other test can interact with handle boxes.
3099
3100 2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>
3101
3102         Add search file support in the GtkFileChooser. Original patch
3103         by Federico Mena Quintero; patch updated by Matthias Clasen.
3104         See bug #344785.
3105
3106         * gtk/gtksearchengine.[ch]: Private search engine abstraction
3107         object.
3108
3109         * gtk/gtksearchenginebeagle.[ch]: Private search engine
3110         implementation using libbeagle (via g_module_open()).
3111
3112         * gtk/gtksearchenginesimple.[ch]: Private search engine
3113         implementation using file tree walking.
3114
3115         * gtk/gtksearchenginetracker.[ch]: Private earch engine
3116         implementation using libtracker (via g_module_open()).
3117
3118         * gtk/gtkquery.[ch]: Private query object for the search
3119         engines.
3120
3121         * gtk/gtkfilechooserprivate.h:
3122         * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
3123         query a search engine backend using GtkQuery; create a new
3124         operating mode, OPERATION_MODE_SEARCH, and call the common
3125         operating mode OPERATION_MODE_BROWSE; add support for virtual
3126         shortcuts inside the shortcuts model and create a new "Search"
3127         virtual shortcut.
3128
3129         * gtk/Makefile.am: Update the build with the new files
3130
3131 2007-05-02  Armin Burgmeier  <armin@openismus.com>
3132
3133         * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
3134         finalize, because the menu might unparent itself from its parent and
3135         cause a signal emission on a finalized object. (#430746)
3136
3137 2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>
3138
3139         * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
3140         rendered upside down for non-XP theme (#435053, Daniel Atallah)
3141
3142 Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>
3143
3144         * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
3145         and fully replaced by docs/faq/gtk-faq.sgml.
3146
3147 2007-05-02  Kristian Rietveld  <kris@imendio.com>
3148
3149         * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
3150         if it's active.
3151
3152 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3153
3154         * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
3155         icon flags.  (#435062)
3156
3157 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3158         
3159         * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
3160         pngs.
3161
3162 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3163
3164         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
3165         Don't ignore the fact that gtk_file_system_get_parent() 
3166         may return NULL.  (#424042, Jan Martinek)
3167
3168 2007-05-01  Dan Winship  <danw@novell.com>
3169
3170         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
3171         leader_window's WM_CLIENT_LEADER points to itself. #435028
3172
3173 2007-05-02  Christian Persch  <chpe@gnome.org>
3174
3175         * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
3176         GSlice for gtk_tree_iter_copy. Bug #434863.
3177
3178 2007-05-02  Christian Persch  <chpe@gnome.org>
3179
3180         * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
3181         GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
3182         #434861.
3183
3184 2007-05-02  Christian Persch  <chpe@gnome.org>
3185
3186         * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
3187         (gtk_paper_size_new), (gtk_paper_size_new_custom),
3188         (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
3189         GtkPaperSize. Bug #434862.
3190
3191 2007-05-02  Christian Persch  <chpe@gnome.org>
3192
3193         * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
3194         (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
3195         the ID into the pointer directly. Bug #434865.
3196
3197 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3198
3199         * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
3200         (update_current_folder_get_info_cb): add a new struct field to clear
3201         the file entry after the current folder has been updated.
3202
3203         (gtk_file_chooser_default_update_current_folder),
3204         (change_folder_and_display_error): Add a new function parameter to
3205         trigger file entry clearing.
3206
3207         (edited_idle_create_folder_cb),
3208         (file_list_drag_data_received_get_info_cb),
3209         (gtk_file_chooser_default_map),
3210         (gtk_file_chooser_default_set_current_folder),
3211         (switch_to_selected_folder), (save_entry_get_info_cb),
3212         (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
3213         (shortcuts_activate_get_info_cb), (list_row_activated),
3214         (path_bar_clicked): use new function parameter appropriately.
3215
3216         (gtk_file_chooser_default_should_respond): trigger file entry clearing
3217         after the directory is updated instead of clearing it before, this way 
3218         we avoid reloading the completion model with the soon to be old folder, 
3219         causing a warning and a glitch in the folder where completion happens. 
3220         (#379414, Carlos Garnacho)
3221
3222 2007-05-01  Matthias Clasen  <mclasen@redhat.com>
3223
3224         * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
3225
3226         * gtk/updateiconcache.c: Validate the generated cache before
3227         moving it in place. Also add a --validate option to validate
3228         an existing icon cache.
3229
3230         * gtk/gtkiconcache.c: Validate icon caches before using them.
3231
3232         * gtk/Makefile.am: Integrate it.
3233
3234 2007-05-01  Michael Emmel  <mike.emmel@gmail.com>
3235
3236         * gdk/directfb/gdkdisplay-directfb.c:
3237         Added stub gdk_notify_startup_complete_with_id to compile
3238         * gdk/directfb/gdkwindow-directfb.c:
3239         Added gdk_window_set_opacity
3240         * gdk/directfb/gdkkeys-directfb.c:
3241         Fix menu key handling crash Bug #413328
3242
3243 2007-05-01  Christian Persch  <chpe@gnome.org>
3244
3245         * gtk/gtkprinter.h:
3246         * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
3247         the new location. Bug #390437.
3248
3249 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3250
3251         * gtk/gtksettings.c (settings_update_color_scheme):
3252         Make sure we always have a color_hash.  (#423916, Jens Granseuer)
3253
3254 2007-04-30  Christian Persch  <chpe@gnome.org>
3255
3256         * docs/reference/gtk/gtk-sections.txt:
3257         * gtk/gtk.symbols:
3258         * gtk/gtkprinter-private.h:
3259         * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
3260         (gtk_print_capabilities_get_type):
3261         * gtk/gtkprinter.h:
3262         * gtk/gtkprintjob.c:
3263         * gtk/gtkprintjob.h:
3264         * gtk/gtkprintunixdialog.c: (selected_printer_changed):
3265         Make gtk_printer_get_capabilities public, and move the
3266         GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
3267
3268 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3269
3270         * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
3271         must not set the background of its window.  (#433972,
3272         Guilherme Polo)
3273
3274 2007-04-30  Richard Hult  <richard@imendio.com>
3275
3276         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
3277         Implement.
3278
3279 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3280
3281         * modules/printbackends/cups/gtkprintbackendcups.c: Get all
3282         the printer attributes when getting the list of printers,
3283         not via separate requests.  (#387889, Krishan Purahoo)
3284
3285 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3286
3287         Some more compiler warning fixes.
3288
3289         * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
3290         Fix NULL/FALSE confusion.
3291
3292 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3293
3294         Fix some compiler warnings.  (#433642, Kjartan Maraas)
3295
3296         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
3297         (gtk_file_system_win32_create_folder):
3298         * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  
3299
3300         * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
3301         the right type to uri_func.  
3302         
3303         * gtk/gtktext.c (gtk_text_key_press):
3304         * gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
3305         * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
3306
3307         * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
3308         (gtk_tray_icon_delete):
3309         * gtk/gtkprintunixdialog.c (create_main_page):
3310         * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
3311
3312         * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
3313
3314 2007-04-30  Cody Russell  <bratsche@gnome.org>
3315
3316         * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
3317         but now we're calling it from _gdk_windowing_window_clear_area()
3318         instead of from the WM_ERASEBKGND event.  Also fixes the area
3319         that is cleared so that it is not an extra row and column too
3320         large.  (Neil Roberts, #415681)
3321
3322 2007-04-30  Matthias Clasen  <mclasen@redhat.com>
3323
3324         * gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)
3325
3326 2007-04-30  Michael Natterer  <mitch@imendio.com>
3327
3328         * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
3329         submenu explicitely only in touchscreen mode since otherwise
3330         selecting the item already pops up the submenu. Restores the
3331         drag-selection timeout (spotted by Søren Sandmann, #128968).
3332
3333 2007-04-30  Michael Natterer  <mitch@imendio.com>
3334
3335         * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
3336         to gtk_paper_size_get_paper_sizes().
3337
3338 2007-04-30  Tor Lillqvist  <tml@novell.com>
3339
3340         * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
3341         _gtk_load_custom_papers() exists only on Unix.
3342
3343 2007-04-30  Tor Lillqvist  <tml@novell.com>
3344
3345         Add functionality to set overall opacity of a top-level
3346         window. (#405316)
3347
3348         * gdk/gdk.symbols: Add gdk_window_set_opacity.
3349
3350         * gdk/x11/gdkwindow-x11.c
3351         * gdk/win32/gdkwindow-win32.c: Implement
3352         gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
3353         property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
3354
3355         * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
3356
3357         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
3358         that this is not implemented in the Windows backend. Add reference
3359         to gdk_window_set_opacity().
3360
3361         * gtk/gtk.symbols: Add gtk_window_set_opacity and
3362         gtk_window_get_opacity.
3363
3364         * gtk/gtkwindow.c (struct _GtkWindowPrivate)
3365         (gtk_window_class_init): Add opacity property, a double in the
3366         range [0, 1].
3367         (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
3368         (gtk_window_realize): If opacity is set, call
3369         gdk_window_set_opacity().
3370
3371         * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
3372         gtk_window_get_opacity().
3373
3374 2007-04-30  Matthias Clasen <mclasen@redhat.com>
3375
3376         * gtk/gtk.symbols:
3377         * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
3378         to gtk_paper_size_get_paper_sizes() and optionally include
3379         custom paper sizes.
3380
3381         * gtk/gtkpagesetupunixdialog.c: Internally export a function
3382         to load custom paper sizes.
3383
3384         * modules/printbackends/file/gtkprintbackendfile.c: Implement
3385         printer_list_papers, returning all paper sizes.  (#434329,
3386         Christian Persch)
3387
3388 2007-04-30  Matthias Clasen <mclasen@redhat.com>
3389         
3390         * gtk/gtkprintoperation.c: Translate the default job
3391         name, and don't utf8-validate the job name in the
3392         setter.  (#421993, Morten Welinder)
3393
3394 2007-04-30  Matthias Clasen <mclasen@redhat.com>
3395
3396         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
3397         g_unlink.  (#421990, Morten Welinder)
3398
3399 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3400
3401         Fix some issues with reference handling in the printing
3402         code.  (#429902, Mathias Hasselmann)
3403
3404         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3405         Unref the print context, if we have one.
3406         (gtk_print_operation_done): Add a default ::done handler 
3407         that unrefs the print context.
3408         (preview_ready): Take a reference on the print operation
3409         preview here.
3410         (print_pages_idle): ...not here,
3411         (preview_print_idle_done): ...and release it here.
3412
3413         * tests/print-editor.c (preview_cb): Take a reference
3414         on the print operation here.
3415
3416 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3417
3418         * gtk/gtkprintoperation.c (print_pages_idle): Don't get
3419         stuck in a recursive mainloop if a synchronous preview
3420         is cancelled.
3421
3422 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3423
3424         Make the emission of ::end-print and ::done consistent
3425         for previews.  (#347567, Yevgen Muntyan)
3426
3427         * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
3428         the finished status here.
3429         (preview_end_run): ...and not here.
3430         (print_pages_idle_done): Emit ::done for a cancelled preview.
3431         (print_pages_idle): If a preview has been cancelled, don't
3432         emit ::ready, but emit ::end-print. 
3433
3434         * tests/print-editor.c: Use ::end-print to undo allocations
3435         from ::begin-print.
3436
3437 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3438
3439         * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
3440         in the PWG "custom" namespace as custom. Add a link to 
3441         the spec in the docs.  (#426416, Andreas Guelzow)
3442
3443 2007-04-29  Matthias Clasen <mclasen@redhat.com>
3444
3445         * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
3446         that a print operation can be run only once, and add a 
3447         corresponding g_return_if_fail().   (#379399, Masao Mutoh)
3448
3449 2007-04-29  Dan Winship  <danw@novell.com>
3450
3451         * gdk/x11/gdkdisplay-x11.c
3452         (gdk_x11_display_broadcast_startup_message): New method to
3453         marshall and send a Startup Notification message. (from #415070)
3454         (gdk_notify_startup_complete_with_id): Use that
3455
3456 2007-04-29  Mattthias Clasen  <mclasen@redhat.com>
3457
3458         * gtk/gtkprintoperation-unix.c 
3459         (_gtk_print_operation_platform_backend_launch_preview):
3460         Don't leak a file descriptor, and don't make the error
3461         dialog modal.  (#421985, Morten Welinder, Christian Persch)
3462
3463 2007-04-29  Xan Lopez  <xan@gnome.org>
3464
3465         * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
3466         Diego Escalante Urrelo).
3467
3468         I'm fixing gtk-faq.sgml as it seems this is the file
3469         we actually use...
3470
3471 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3472
3473         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
3474         Only strip parentheses of the form (_x).  (#434261,
3475         Brian Wellington)
3476
3477 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3478
3479         * gtk/gtkprintoperation-unix.c
3480         (_gtk_print_operation_platform_backend_launch_preview):
3481         Support passing a print settings file to the preview 
3482         command.  (#403717, Christian Persch)
3483
3484         * gtk/gtksettings.c: Document %s in the 
3485         gtk-print-preview-command setting.
3486
3487 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3488
3489         * gtk/gtkprintoperation.c (print_pages_idle): Also check
3490         the default handler when deciding whether to emit the
3491         paginate signal.  (#345345, Yevgen Muntyan)
3492
3493 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3494
3495         * gtk/gtkprintoperation.h: Add a new error code
3496
3497         * gtk/gtk.symbols:
3498         * gtk/gtkpagesetup.[hc]:
3499         * gtk/gtkpapersize.[hc]:
3500         * gtk/gtkprintsettings.[hc]: Add functions to serialize 
3501         and deserialize page setups and print settings to files 
3502         and key files.  (#344515, Christian Persch)
3503
3504         * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
3505
3506         * tests/print-editor.c: Use the new functions to persist 
3507         page setup and print settings.
3508
3509 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3510
3511         * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
3512         Free the custom paper list.  (#403267, Felix Riemann)
3513
3514 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3515
3516         * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
3517         small memory leak.  (#403251, Felix Riemann)
3518
3519 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3520
3521         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
3522         typo. String change !  (#406160, Stephane Raimbault)
3523
3524 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3525
3526         * gtk/gtk.symbols:
3527         * gtk/gtkpapersize.[hc]: Add a function to list the
3528         builtin paper sizes.  (#382355, Christian Persch)
3529
3530 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
3531
3532         * gtk/gtk.symbols:
3533         * gtk/gtkprinter-private.h:
3534         * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
3535         gtk_printer_request_details() public.
3536
3537         * gtk/gtkpagesetupunixdialog.c:
3538         * gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
3539         Christian Persch)
3540
3541 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3542
3543         * configure.in: Add --enable-test-print-backend, defaulting
3544         to no.
3545
3546         * modules/printbackends/Makefile.am: Make building the test
3547         print backend conditional.
3548
3549 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3550
3551         * modules/printbackends/lpr/*:
3552         * modules/printbackends/cups/*: Correct some copyright lines.
3553
3554         * configure.in:
3555         * modules/printbackends/Makefile.am:
3556         * modules/printbackends/test/*: Add a test print backend.
3557         (#409089, John Palmieri)
3558
3559 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3560
3561         * gtk/gtktexttag.[hc]: Add a way to specify accumulative
3562         margins.  (#344499, Nate Nielsen)
3563
3564 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3565
3566         * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
3567         of the input-only window if we also have a visible window. 
3568         (#405089)
3569
3570 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3571
3572         * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
3573         * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
3574         Recognize negative column indices as invalid.  (#415260,
3575         Chris Wilson)
3576
3577 2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>
3578
3579         * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
3580         (poll_func): fix two more potential races that could happen when
3581         an application is polling in the mainloop and a separate thread
3582         tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
3583
3584 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3585
3586         * gtk/gtkentry.c (gtk_entry_grab_focus): 
3587         (gtk_entry_real_insert_text): Only call g_object_get() 
3588         when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
3589
3590 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3591
3592         * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
3593         a note about being embedded.  (#340107, Christian Persch)
3594
3595 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3596
3597         * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
3598         restrict drags within an application/widget.  (#163141, 
3599         Jorn Baayen)
3600
3601 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3602
3603         * docs/tools/Makefile.am:
3604         * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
3605         Komulainen)
3606
3607 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3608
3609         * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
3610         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
3611         * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
3612         (get_children_folder_cb): Plug memory leaks caused by wrong 
3613         use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
3614
3615 2007-04-28  Matthias Clasen  <mclasen@redhat.com>
3616         
3617         * demos/gtk-demo/printing.c: Fix the headers in the print
3618         demo.  (#423722, Yevgen Muntyan)
3619
3620 2007-04-28  Xan Lopez  <xan@gnome.org>
3621
3622         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
3623         Use strstr instead of g_strstr with -1 for length.
3624
3625 2007-04-28  Xan Lopez  <xan@gnome.org>
3626
3627         * gtk/gtkentry.c:
3628         * gtk/gtkentrycompletion.c:
3629         * gtk/gtkentrycompletion.h:
3630         * gtk/gtkentryprivate.h:
3631
3632         Remember the user input that triggered the completion, add
3633         API to the retrieve it and reset the entry contents to it
3634         if the user cancels the tentative completion during
3635         the inline-selection.
3636         
3637 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
3638
3639         * gdk/x11/gdkgeometry-x11.c: Factor out window movement
3640         functions. (#63820, Tilman Sauerbeck)
3641
3642 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
3643
3644         * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
3645         (#63820, Tilman Sauerbeck)
3646
3647 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
3648
3649         * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
3650         and unmapping functions.  (#63820, Tilman Sauerbeck)
3651
3652 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
3653
3654         * gdk/x11/gdkgeometry-x11.c: Make list handling code
3655         easier to read.  (#63820, Tilman Sauerbeck)
3656
3657 2007-04-27  Matthias Clasen  <mclasen@redhat.com>
3658
3659         * gtkassistant.c:
3660         * gtkiconfactory.c:
3661         * gtkiconview.c:
3662         * gtkpapersize.c:
3663         * gtkrecentmanager.c:
3664         * gtktextiter.c: Internalize some strings, pointed out
3665         by Damon Chaplin.
3666
3667 2007-04-27  Xan Lopez  <xan@gnome.org>
3668
3669         Support inline-selection in entries (#318459)
3670         
3671         * gtk/gtkentry.c:
3672         * gtk/gtkentrycompletion.c:
3673         * gtk/gtkentrycompletion.h:
3674         * gtk/gtkentryprivate.h:
3675
3676         When enabled cursor-match is emited when the cursor is on
3677         a possible completion on the list. The default implementation
3678         will replace the contents on the entry with the contents of
3679         the text column in the completion model.
3680
3681         Review and improvements by Matthias Clasen.
3682
3683 2007-04-27  Michael Natterer  <mitch@imendio.com>
3684
3685         Merged heavily modified patch from maemo-gtk which enables opening
3686         and closing submenus on click, and introduces some usability
3687         changes when gtk-touchscreen-mode is enabled (bug #128968):
3688
3689         * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
3690         "activated_submenu" to indicate that the current mouse operation
3691         (click or drag) has opened a submenu.
3692
3693         (gtk_menu_shell_button_press): pop up submenus without delay
3694         and record the fact in "activated_submenu".
3695
3696         (gtk_menu_shell_button_release): if a submenu was explicitely
3697         opened, or not opened by this release's button_press, or enough
3698         time has passed since timeout-opening it, close the submenu here.
3699
3700         (gtk_menu_shell_enter_notify): when entering a menu item with
3701         any mouse button pressed, open its submenu.
3702
3703         (gtk_real_menu_shell_move_current): in touchsreen mode, close the
3704         submenu when moving the focus away from it via keyboard-navigation.
3705
3706         * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
3707         parameter "gboolean with_delay" so GtkMenuShell can control this
3708         for the different scenarios of submenu showing.
3709
3710         (_gtk_menu_item_popdown_submenu): new function. also needed by
3711         GtkMenuShell for closing submenus on click.
3712
3713         Renamed internal function gtk_menu_item_select_timeout() to
3714         gtk_menu_item_popup_timeout().
3715
3716         (gtk_menu_item_real_popup_submenu): new utility function which
3717         does the actual popup and records the exact time of the popup when
3718         the menu was timeout-opened (using g_get_current_time()).
3719
3720         (gtk_real_menu_item_select): don't add the popup timeout when in
3721         touchscreen mode.
3722
3723         * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
3724         first item of every opened menu.
3725
3726 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
3727
3728         * gtk/gtkfilechooserentry.c: Append a '/' to directory names
3729         in the completion popup.  (#431323, Maarten Maathuis)
3730
3731 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
3732
3733         * demo/gtk-demo/combobox.c: Add a simple validation demo. 
3734         * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
3735         children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
3736
3737 2007-04-26  Tor Lillqvist  <tml@novell.com>
3738
3739         * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
3740         (gtk_input_dialog_fill_keys): Remove old child of scrolled window
3741         before adding a new one when switching what input device is being
3742         handled. (#399425)
3743
3744 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
3745
3746         * modules/printbackends/lpr/gtkprintbackendlpr.c
3747         (gtk_print_backend_lpr_init): Mark the printer list as done. 
3748         (#428665, Bogdan Gheorghe)
3749
3750 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
3751
3752         * Makefile.am:
3753         * gtk/Makefile.am: Don't install UNIX-printing headers and
3754         support files on non-UNIX platforms.  (#425655, Vincent Geddes)
3755
3756 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
3757
3758         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
3759         unnamed separators.  (#369112, Christian Persch)
3760
3761 2007-04-26  Matthias Clasen  <mclasen@redhat.com>
3762
3763         * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
3764         invalid memory.  (#429732, Armin Burgmeier)
3765
3766 2007-04-26  Cody Russell  <bratsche@gnome.org>
3767
3768         * gdk/win32/xcursors.h:
3769         * gdk/win32/gdkcursor-win32.c:
3770
3771         Use Win32 native cursors instead of the ones built into GTK
3772         where it makes sense. (#128852, Tim Evans)
3773
3774 2007-04-25  Cody Russell  <bratsche@gnome.org>
3775
3776         * gdk/gdkwindow.h:
3777         * gtk/gtkwidget.c:
3778         * gtk/gtkhandlebox.c:
3779         * gdk/directfb/gdkwindow-directfb.c:
3780         * gdk/linux-fb/gdkwindow-fb.c:
3781         * gdk/quartz/gdkwindow-quartz.c:
3782         * gdk/win32/gdkwindow-win32.c:
3783         * gdk/x11/gdkwindow-x11.c:
3784         Added window type hint and implement drop shadows on Win32
3785         for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
3786
3787 2007-04-25  Jakub Steiner <jimmac@ximian.com>
3788
3789         * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
3790                 gtk-close as per discussion in bug #431740.
3791
3792 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
3793
3794         * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
3795         of the header window again.  (#431067, Benjamin Berg)
3796
3797 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
3798
3799         * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
3800         NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
3801         depends on it. 
3802
3803         * tests/testicontheme.c: Report builtin icons.
3804
3805 2007-04-25  Matthias Clasen  <mclasen@redhat.com>
3806
3807         * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
3808         crash if end_run is not set.  (#424168, Matthias Hasselmann)
3809
3810 2007-04-25  Michael Natterer  <mitch@imendio.com>
3811
3812         * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
3813         scroll buttons (we were setting the state to ACTIVE but
3814         immediately overwriting it with NORMAL or PRELIGHT). Also got rid
3815         of many separate calls to gdk_window_invalidate_rect() by
3816         remembering the old button state and only invalidating the area if
3817         the state has changed (addresses parts of bug #433242, Tommi
3818         Komulainen).
3819
3820         (gtk_menu_scroll_to): change the arrow states only if changing
3821         from or to INSENSITIVE state, so we don't overwrite the ACTIVE
3822         state set by above function.
3823
3824 2007-04-25  Michael Natterer  <mitch@imendio.com>
3825
3826         * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
3827         build. Dunno if the fix is right, but I think it is.
3828
3829 2007-04-25  Kristian Rietveld  <kris@imendio.com>
3830
3831         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
3832         cleanup/refactor some leftover code.
3833
3834 2007-04-24  Matthias Clasen  <mclasen@redhat.com>
3835
3836         * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
3837         half-open ranges like -2 or 3-, and be a bit more liberal
3838         about whitespace.
3839         (dialog_set_page_ranges): Support half-open ranges.
3840
3841         * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
3842         number of pages in half-open ranges.
3843         (preview_iface_is_selected): Support half-open ranges here, too.
3844
3845 2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
3846
3847         * gtk/gtkicontheme.c (scan_directory): Ensure the 
3848         icon_theme->all_icons and dir->icons hash tables use the same string
3849         as their keys. (#418531)
3850
3851 2007-04-23  Cody Russell  <bratsche@gnome.org>
3852         * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
3853         left-most tab when notebooks are top-oriented.  Also general cleanup of
3854         notebook tab related code.  (Lieven van der Heide, Cody Russell)
3855
3856 2007-04-23  Matthias Clasen  <mclasen@redhat.com>
3857
3858         * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
3859         the amount of debug spew if we are not debugging.
3860         
3861 2007-04-23  Michael Natterer  <mitch@imendio.com>
3862
3863         * tests/Makefile.am (testtooltips_SOURCES): fix typo:
3864         testtoooltips_SOURCES -> testtooltips_SOURCES.
3865
3866 2007-04-19  Cody Russell <bratsche@gnome.org>
3867
3868         * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
3869         for Windows Vista.  (#392015, Hiroyuki Yamamoto)
3870
3871 2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
3872
3873         * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
3874         non-WinXP rendering paths. From Daniel Atallah (#403470)
3875         
3876 2007-04-19  Matthias Clasen  <mclasen@redhat.com>
3877
3878         * gtk/gtkicontheme.h:
3879         * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
3880         icon lookup flag and implement it.  (#396901, Luca Ferreti)
3881         
3882 2007-04-18  Richard Hult  <richard@imendio.com>
3883
3884         * gdk/quartz/gdkwindow-quartz.c:
3885         (gdk_window_quartz_process_updates_internal),
3886         (gdk_window_quartz_process_all_updates),
3887         (gdk_window_impl_quartz_process_updates): Refactor the process 
3888         updates functions to share code between them. Also fixes bug 
3889         #427660 by not updating larger regions than necessary.
3890
3891 2007-04-18  Matthias Clasen  <mclasen@redhat.com>
3892
3893         * gdk/gdkregion-generic.h (GROWREGION): Handle the case
3894         of nRects == 0 correctly.  
3895         
3896 2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
3897
3898         * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
3899         a leak by not increasing the refcount of the GtkRecentInfo
3900         object when returning it (thanks to Matthias Clasen).
3901
3902 2007-04-16  Alexander Larsson  <alexl@redhat.com>
3903
3904         * gtk/gtkprintoperation.c (gtk_print_operation_run):
3905         Make async print preview work by actually starting
3906         the print process in that case (#424168)
3907
3908 2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
3909
3910         * gtk/gtkselection.c (selection_get_text_plain): fixed
3911         wrong g_convert_with_fallback() call which caused
3912         gtk_selection_data_get_text() return invalid UTF-8 for
3913         non-ASCII text in text/plain selection (#382824).
3914
3915 2007-04-12  Jakub Steiner <jimmac@ximian.com>
3916
3917         * gtk/stock-icons/*: update the stock icons to follow the Tango
3918                 style guidelines
3919
3920 2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>
3921
3922         * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
3923         * gtk/gtkstock.c (gtk_stock_list_ids):
3924             Switch over to use glib's new g_hash_table_get_keys() rather
3925             than our own static implementation.
3926
3927         * gtk/gtkiconfactory.h: Update to return a GList.
3928
3929         * configure.in: Bump required version to 2.13.1
3930
3931 2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
3932
3933         * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
3934           setup and shutdown function by mutexes and read the wakeup
3935           pipe unconditionally and unblocking. This should make the main
3936           loop always be woken up when using g_idle_add() from another
3937           thread in the Quartz backend (#425271).
3938
3939 2007-04-10  Matthias Clasen  <mclasen@redhat.com>
3940
3941         * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
3942         to return a Bool to indicate success. Update callers and 
3943         implementors. Based on a patch by Owen Taylor.
3944         
3945         * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
3946         leak a reference to gdkwin.
3947
3948 2007-04-07  Xan Lopez  <xan@gnome.org>
3949
3950         * gtk/gtknotebook.c (gtk_notebook_class_init): 
3951         s/arrow-size/arrow-spacing in the arrow-spacing
3952         style property docs.
3953
3954 2007-04-06  Richard Hult  <richard@imendio.com>
3955
3956         * gdk/quartz/: Clean up namespaces to make the code more
3957         maintainable.
3958
3959         * gdk/quartz/gdkdrawable-quartz.c:
3960         * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
3961         images, by setting the pattern phase for the CG pattern.
3962
3963 2007-04-04  Kristian Rietveld  <kris@imendio.com>
3964
3965         * gtk/gtktooltip.c (tooltip_browse_mode_expired),
3966         (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
3967         (gtk_tooltip_start_delay): use new gdk_threads API.
3968
3969 2007-04-03  Behdad Esfahbod  <behdad@gnome.org>
3970
3971         * gtk/gtksettings.c (settings_update_font_options): Don't set
3972         metrics-hinting font option.  Rely on the default value which is
3973         on for all raster cairo surfaces. (#425985)
3974
3975 2007-04-03  Loïc Minier  <lool@dooz.org>
3976
3977         * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
3978         non-xinerama mode when XineramaQueryScreens returns NULL; patch from
3979         Simon McVittie; #425786.
3980
3981 2007-04-02  Michael Natterer  <mitch@imendio.com>
3982
3983         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
3984         artifact from the time when type checking casts warned on NULL,
3985         some whitespace cleanup.
3986
3987 2007-04-01  Cody Russell  <bratsche@gnome.org>
3988
3989         * modules/engines/ms-windows/msw_style.c: Fix rendering of
3990         notebook tabs when they are bottom-oriented.  Fixes #399253.
3991
3992 2007-03-31  Elijah Newren  <newren gmail com>
3993
3994         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
3995           gdk_x11_window_set_user_time):
3996         Patch from Matthias to add support for the
3997         _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
3998
3999         WARNING: This patch will make metacity <= 2.18.0 freeze on
4000         workspace switch.  This is due to a weird problem that should only
4001         affect window managers using gdk in-process for decoration drawing
4002         and which make an unsafe assumption relating to doing so (i.e. it
4003         should only affect metacity).  Upgrade your version of metacity if
4004         you hit this bug.
4005
4006 2007-03-29  Michael Natterer  <mitch@imendio.com>
4007
4008         Don't close menus on clicks on their border area (bug #423761).
4009         (modified patch from maemo-gtk).
4010
4011         * gtk/gtkmenu.c (gtk_menu_button_press)
4012         (gtk_menu_button_release): bail out early if the click was on the
4013         menu's border (not on any item and not outside the window).
4014
4015         (pointer_in_menu_window): new utility function which checks if
4016         passed root coords are inside the menu_shell or one of its
4017         parent shells.
4018
4019 2007-03-29  Michael Natterer  <mitch@imendio.com>
4020
4021         * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
4022         gtk_widget_get_settings() into the g_object_get() call. Some small
4023         indentation fixes.
4024
4025 2007-03-28  Matthias Clasen  <mclasen@redhat.com>
4026
4027         * modules/printbackends/cups/gtkcupsutils.[hc]:
4028         * modules/printbackends/cups/gtkprintbackendcups.c: Apply
4029         a patch by John Palmieri to make the cups print backend support
4030         raw printers.  
4031
4032 2007-03-28  Kristian Rietveld  <kris@imendio.com>
4033
4034         * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
4035         tooltip_window, since this is handled by set_qdata_full() already.
4036         (#412001, Torsten Schoenfeld).
4037
4038 2007-03-27  Tor Lillqvist  <tml@novell.com>
4039
4040         * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 
4041
4042 2007-03-26  Christian Persch  <chpe@gnome.org>
4043
4044         * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
4045
4046 2007-03-24  Kristian Rietveld  <kris@gtk.org>
4047
4048         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
4049         calculate the depth with the corrected real_cell_area and don't
4050         subtract horizontal_separator/2.
4051
4052 2007-03-24  Andreas Nilsson <andreas@andreasn.se>
4053
4054         * gtk-yes.png
4055         * gtk-no: More Tango love.
4056
4057 2007-03-23  Jakub Steiner <jimmac@ximian.com>
4058
4059         * gtk-dialog-authentication.svg
4060         * gtk-dialog-error.svg
4061         * gtk-dialog-info.svg
4062         * gtk-dialog-question.svg
4063         * gtk-dialog-warning.svg: Start with a Tango face-lift.
4064
4065 2007-03-23  Rodney Dawes  <dobey@novell.com>
4066
4067         * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
4068
4069 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
4070
4071         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
4072         toggle whether to show hidden files.  (#344657, 
4073         Wouter Bolsterlee, Priit Laes, et al)
4074
4075 2007-03-23  Matthias Clasen  <mclasen@redhat.com>
4076
4077         * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
4078         toggle the visibility of the location entry.  (#383354, 
4079         John Pye, patch by Carlos Garnacho)
4080
4081 2007-03-22  Matthias Clasen  <mclasen@redhat.com>
4082
4083         * gtk/gtksettings.c (merge_color_scheme): Freeze property
4084         notification.
4085         * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
4086         the gtk-color-scheme xsetting being unset.
4087
4088         * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
4089         recursion locally.
4090
4091 2007-03-21  Matthias Clasen  <mclasen@redhat.com>
4092
4093         * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
4094
4095 2007-03-21  Rodney Dawes  <dobey@novell.com>
4096
4097         * gtk/gtk.symbols:
4098         * gtk/gtkicontheme.[ch]:
4099         * docs/reference/gtk/gtk-sections.txt:
4100         * tests/testicontheme.c:
4101         Add a new API call gtk_icon_theme_list_contexts so that one can
4102         choose icons from a theme by context (#420719)
4103         
4104 2007-03-21  Ross Burton  <ross@burtonini.com>
4105
4106         * gtk/gtktexttag.c:
4107         Document the ::event signal (#420703).
4108
4109 2007-03-20  Kristian Rietveld  <kris@gtk.org>
4110
4111         * gtk/gtktreeviewcolumn.c:
4112         * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
4113
4114         * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
4115         focus_to_cell parameter, rework to handle clamping columns which
4116         are bigger than the available page size better,
4117         (gtk_tree_view_key_press): remove code handling moving the focus
4118         to other column headers,
4119         (gtk_tree_view_header_focus): add clamp_column_visible parameter,
4120         fix RTL support, don't wrap around when moving focus to other
4121         column headers, call gtk_tree_view_clamp_column_visible() instead
4122         of duplicating code,
4123         (gtk_tree_view_focus): only clamp the column visible when we are
4124         explicitly moving to another column header (fixes #399555, Charles
4125         Kerr),
4126         (gtk_tree_view_move_cursor_left_right): update call to
4127         gtk_tree_view_clamp_column_visible().
4128
4129 2007-03-19  Matthias Clasen <mclasen@redhat.com> 
4130
4131         * demos/gtk-demo/appwindow.c: Explicitly set the title on the
4132         about dialog.
4133
4134 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
4135
4136         * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
4137         Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)
4138
4139 2007-03-18  Matthias Clasen <mclasen@redhat.com> 
4140
4141         * modules/input/gtkimcontextmultipress.[hc]:
4142         * modules/input/im-multipress.conf:
4143         * modules/input/immultipress.c:
4144         * modules/input/README.multipress: Add the multipress input
4145         method.  (#417446, Johannes Schmid, Murray Cumming)
4146
4147         * modules/input/Makefile.am: Glue
4148
4149 2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>
4150
4151         * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
4152         Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
4153         failures gracefully. (#419171)
4154
4155 2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>
4156
4157         * gtk/gtkrecentaction.c (recent_chooser_set_property),
4158         (gtk_recent_action_set_property): Remove useless inlined
4159         function and propagate the properties to the GtkRecentChooser
4160         objects we create, instead of all the proxies.
4161
4162         (set_current_filter): Remove 'inline' marker.
4163
4164 2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>
4165
4166         Apply changes suggested by Michael Natterer. (#338843)
4167
4168         * gtk/gtkaction.h:
4169         * gtk/gtkaction.c: Rename get_submenu() to create_menu();
4170         rename gtk_action_get_submenu() to gtk_action_create_menu().
4171
4172         * gtk/gtkrecentaction.c: Update for GtkAction change.
4173
4174         * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
4175         also, use the menu from the GtkAction for both menuitem and
4176         toolitem nodes.
4177
4178 2007-03-16  Xan Lopez  <xan@gnome.org>
4179
4180         * gtk/gtkwidget.c: Fix documentation error in
4181         gtk_widget_set_redraw_on_allocate.
4182
4183 2007-03-16  Matthias Clasen  <mclasen@redhat.com>
4184
4185         * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
4186         make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
4187         patch by Christian Persch)
4188
4189 2007-03-15  Federico Mena Quintero  <federico@novell.com>
4190
4191         Merged from gtk-2-10:
4192
4193         * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
4194         PANGO_PIXELS() gives us device units, which are *points* in
4195         pangocairo's parlance, but we want actual pixels.  So, get the
4196         screen's resolution to compute the actual number of pixels.
4197         Fixes bug #418585.
4198
4199 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4200
4201         * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
4202         unused GError; do not allocate GtkRecentData and use a variable
4203         on the stack. (#418673, Morten Welinder)
4204
4205 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4206
4207         * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
4208         actions providing a menu item or a menu tool button with already
4209         a submenu should return the GtkMenu widget.
4210
4211         * gtk/gtkuimanager.c (update_node): If an action provides its
4212         own submenu, use it instead of adding an empty one
4213
4214         * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
4215         implementing the GtkRecentChooser interface for displaying the
4216         list of recently used files into menus and toolbars generated
4217         using GtkUIManager. (#338843)
4218
4219         * gtk/Makefile.am:
4220         * gtk/gtk.h:
4221         * gtk/gtk.symbols: Add GtkRecentAction API to the build.
4222
4223         * tests/testactions.c: Exercise the GtkRecentAction API.
4224
4225 2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
4226
4227         * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
4228         (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
4229         from recursion, which can happen for example if the app tries to
4230         reload an icon from within a theme-changed handler. (#418531)
4231
4232 2007-03-15  Richard Hult  <richard@imendio.com>
4233
4234         * gdk/quartz/gdkmain-quartz.c: Add stubs for
4235         gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
4236         here too.
4237
4238 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4239
4240         * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
4241         Welinder)
4242
4243 2007-03-15  Tor Lillqvist  <tml@novell.com>
4244
4245         * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
4246         gdk_window_set_startup_id.
4247
4248         * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
4249
4250 2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
4251
4252         * gtk/gtkrecentchooserprivate.h:
4253         * gtk/gtkrecentchooserutils.c: Move filtering of the recent
4254         files list into the shared implementation; do the filtering
4255         before the sorting, so that we always clamp on the desired
4256         size. (#418219)
4257
4258         * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
4259         list, as it's already been done.
4260
4261         * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
4262         GtkTreeModelFilter: just reload the view if the sorting and
4263         filtering properties change.
4264
4265         * gtk/testrecentchoosermenu.c: Exercise the limit property.
4266
4267 2007-03-14  Michael Natterer  <mitch@imendio.com>
4268
4269         Make gtk_widget_set_extension_events() work on already realized
4270         widgets (bug #379550, Tommi Komulainen)
4271
4272         * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
4273         called multiple times without leaking and work correctly when
4274         already realized (don't rely on a configure event following).
4275
4276         * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
4277         internal function which walks the GdkWindow tree and sets the
4278         extension events on all windows that belong to the widget.
4279
4280         (gtk_widget_realize)
4281         (gtk_widget_set_extension_events): use the new function.
4282
4283 2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
4284
4285         Various clean ups in the GtkRecent code. (see #338843)
4286
4287         * gtk/gtkrecentchooserdefault.c:
4288         * gtk/gtkrecentchoosermenu.c:
4289         * gtk/gtkrecentchooserprivate.h:
4290         * gtk/gtkrecentchooserutils.c: Move the recent chooser function
4291         for getting the sorted and clamped list of recent files from the
4292         manager outside the implementations.
4293
4294         * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
4295         the list when the sorting order changes.
4296
4297         (gtk_recent_chooser_default_dispose),
4298         (gtk_recent_chooser_default_finalize): Move object unref and
4299         source removal from finalize to dispose.
4300
4301         * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
4302         prerequisite for the GtkRecentChooser interface implementations,
4303         from GtkObject to GObject.
4304
4305         (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
4306         G_PARAM_*
4307
4308 2007-03-13  Emmanuele Bassi  <ebassi@gnome.org>
4309
4310         Apply patch by Vytautas Liuolia for changing the startup
4311         notification id on a window in the X11 backend. (#347375)
4312
4313         * gdk/gdk.h:
4314         * gdk/gdkx.h:
4315         * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
4316         and gdk_x11_display_get_startup_notification_id().
4317
4318         * gdk/gdkwindow.h:
4319         * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
4320
4321         * gtk/gtkwindow.h:
4322         * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
4323         change the startup notification id.
4324         
4325         (gtk_window_class_init), (gtk_window_init),
4326         (gtk_window_set_property): Add write-only "startup-id" property
4327         to GtkWindow.
4328
4329         (gtk_window_realize): Set the startup notification id
4330         on a GtkWindow if it's valid.
4331
4332         (gtk_window_map): If we have another valid startup notification
4333         id then finish the notification process.
4334
4335 2007-03-13  Matthias Clasen  <mclasen@redhat.com>
4336
4337         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
4338         Fix tabbed browsing in epiphany.  (#413664, Christian Persch)
4339
4340 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4341
4342         * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
4343         docs.  (#345844, Torsten Schoenfeld)
4344
4345         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
4346         * gdk/gdkwindow.c (gdk_window_add_filter): Add
4347         cross-references.  (#351252, Vincent Untz)
4348
4349         * gtk/gtkprintoperation.c: Fix an oversight in an
4350         example.  (#381083, Ian Puleston)
4351
4352         * gtk/gtkcombobox.c: Clean up and clarify docs.  (#412484)
4353
4354 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4355
4356         * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
4357         the background of the panel window on style changes. (#402144,
4358         Benjamin Berg)
4359
4360 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4361
4362         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
4363         an obsolete comment.  (#402169, Xan Lopez)
4364
4365 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4366
4367         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
4368         Don't copy PangoLanguage.  (#340031, Morten Welinder)
4369
4370 2007-03-12  Matthias Clasen  <mclasen@redhat.com>
4371
4372         * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
4373         Handle the row reference path being NULL.  (#410565, Joe Markus
4374         Clarke, patch by Chris Wilson)
4375
4376 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
4377
4378         * tests/testiconview.c: Handle Menu key presses without
4379         crash.  (#385637, Christian Persch)
4380
4381 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
4382
4383         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
4384         Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)
4385
4386 2007-03-11  Matthias Clasen  <mclasen@redhat.com>
4387
4388         * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
4389         to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
4390         
4391 2007-03-12  Kristian Rietveld  <kris@gtk.org>
4392
4393         * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
4394         bail out if current_folder is NULL. (#350988, lots of reporters,
4395         modified patch by Jan Darmochwal).
4396
4397 2007-03-10  Kristian Rietveld  <kris@gtk.org>
4398
4399         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
4400         hide the search dialog and send focus events if the search dialog
4401         is currently visible.
4402
4403 2007-03-10  Richard Hult  <richard@imendio.com>
4404
4405         * gdk/quartz/gdkdrawable-quartz.c:
4406         (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
4407         (gdk_quartz_drawable_get_context): Update for the new quartz cairo 
4408         surface API (#410442). Don't lock focus unless called outside of an 
4409         expose event.
4410         (gdk_quartz_drawable_release_context): Only flush the CG context and 
4411         unlock focus if called outside of expose.
4412         (_gdk_quartz_drawable_finish): New function, used to free the cached
4413         cairo surface.
4414
4415         * gdk/quartz/gdkwindow-quartz.c:
4416         (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
4417         (_gdk_window_impl_quartz_get_type): No need to make the type info
4418         static.
4419         (gdk_window_quartz_process_all_updates): Move the autorelease pool
4420         allocation and freeing outside the loop.
4421         (_gdk_windowing_window_destroy): Finish the drawable.
4422         (move_resize_window_internal): Small cleanup and remove comment.
4423
4424         * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
4425
4426 2007-03-10  Richard Hult  <richard@imendio.com>
4427
4428         * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
4429         a build warning.
4430
4431 2007-03-10  Richard Hult  <richard@imendio.com>
4432
4433         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
4434
4435 2007-03-10  Richard Hult  <richard@imendio.com>
4436
4437         * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
4438
4439 2007-03-10  Richard Hult  <richard@imendio.com>
4440
4441         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
4442         the font name here, leave that to themes, fixes #387508.
4443
4444 2007-03-10  Kristian Rietveld  <kris@gtk.org>
4445
4446         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
4447         (gtk_tree_model_sort_real_unref_node): when (un)reffing an
4448         element, also (un)ref its parent elements. (Fixes #364946,
4449         reported by many, testcase by Andreas Koehler).
4450
4451 2007-03-10  Matthias Clasen <mclasen@redhat.com>
4452
4453         * gtk/gtkprintoperation-unix.c: Initialize the do_preview
4454         field of PrintResponseData.  (#396703, Christian Persch)
4455
4456         * tests/print-editor.c: Plug some leaks.
4457
4458 2007-03-09  Matthias Clasen <mclasen@redhat.com>
4459
4460         * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
4461         Get rid of the unused event argument. Update all callers.
4462
4463         * gtk/gtktextview.c (gtk_text_view_focus_out): Call
4464         gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)
4465
4466 2007-03-09  Matthias Clasen <mclasen@redhat.com>
4467
4468         * modules/input/gtkimcontextxim.c 
4469         (gtk_im_context_xim_filter_keypress): Don't commit
4470         modifier-adorned characters.  (#331369, #335796, Lin Ma
4471         and others)
4472
4473 2007-03-09  Matthias Clasen <mclasen@redhat.com>
4474
4475         * Everywhere: Remove unnecessary NULL checks before
4476         g_free().  (#369666, Morten Welinder, Djihed Afifi)
4477
4478         * configure.in: Check for ftw.h
4479
4480 2007-03-09  Matthias Clasen <mclasen@redhat.com>
4481
4482         * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
4483         C99isms.  (#416525, Kazuki Iwamoto)
4484
4485 2007-03-09  Tor Lillqvist  <tml@novell.com>
4486
4487         * README.win32: Update.
4488
4489 2007-03-08  Matthias Clasen <mclasen@redhat.com>
4490
4491         * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
4492         to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
4493         Sebastian Dröge)
4494
4495 2007-03-08  Matthias Clasen <mclasen@redhat.com>
4496
4497         * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
4498         Set child visibility to FALSE here; it will be turned
4499         back on in switch_page.  (#413664, Carlos Garnacho)
4500         
4501 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
4502
4503         * modules/engines/ms-windows/msw_style.c: Use proper border style
4504         when drawing shadow of scrolled windows on Windows XP (#168326)
4505         * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
4506         element_part_map array to ensure it always is large enough.
4507         
4508 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>      
4509
4510         * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
4511         property of GtkEntry accordingly, unify size-allocation of toggle
4512         button (#411123, patch from Mathias Hasselmann).
4513         * gtk/gtkentry.c: Add shadow-type property. Query style properties
4514         on style changes only (#411123, patch from Mathias Hasselmann).
4515         * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
4516         hack as GtkComboBox emits drawing requests now (#411123, patch 
4517         from Mathias Hasselmann).
4518         
4519 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
4520
4521         * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
4522         by implementing a scrollbars-within-bevel style property. (#168326)
4523         
4524 2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
4525
4526         * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
4527         stored in the current theme with the name
4528         "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
4529         icons as reported by SHGetFileInfoW. (#412221)
4530
4531 2007-03-07  Matthias Clasen <mclasen@redhat.com>
4532
4533         * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
4534         focus around the arrow if there is no label widget.  
4535         (#124045, Cody Russell)
4536
4537 2007-03-07  Matthias Clasen <mclasen@redhat.com>
4538
4539         * gtk/gtkcombo.c: (gtk_combo_init):
4540         * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
4541         (gtk_combo_box_menu_setup):
4542         Set names on the popup widgets to make them themable. (#414975, 
4543         Benjamin Berg)
4544
4545 2007-03-07  Michael Natterer  <mitch@imendio.com>
4546
4547         * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
4548         instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
4549         empty finalize() implementation, some cosmetic cleanup
4550         (bug #415645).
4551
4552 2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
4553
4554         * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
4555         (do_theme_change), (gtk_icon_theme_set_custom_theme),
4556         (load_themes):
4557         Be careful not to trigger a style reset before we have loaded
4558         the icon theme. (#414875).
4559
4560 2007-03-06  Tor Lillqvist  <tml@novell.com>
4561
4562         * gdk/Makefile.am
4563         * gtk/Makefile.am: Further fixes for building on Win32 outside
4564         srcdir. (#413492, Mathias Hasselmann)
4565
4566 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
4567
4568         * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
4569         fixed.
4570
4571 2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>
4572
4573         * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
4574         breaking the build.
4575
4576 2007-03-04  Ihar Hrachyshka <iharh@gnome.org>
4577
4578         * configure.in: Added be@latin to ALL_LINGUAS
4579
4580 2007-03-03  Guillaume Savaton <llumeao@gmail.com>
4581
4582         * configure.in: Added Esperanto (eo) to ALL_LINGUAS
4583
4584 2007-03-01  Matthias Clasen <mclasen@redhat.com>
4585
4586         * gtk/gtksettings.c: Always store gtk-color-scheme
4587         values from all sources in the ColorSchemeData struct
4588         and ignore the property_value for gtk-color-scheme.
4589         This fixes #412596, reported by Thomas Wood.
4590
4591 2007-02-28  Matthias Clasen <mclasen@redhat.com>
4592
4593         * gtk/gtksettings.c: Make color scheme update properly
4594         when changing themes.  (#402131, Benjamin Berg)
4595
4596 2007-02-28  Matthias Clasen <mclasen@redhat.com>
4597
4598         * gtk/gtkrc.c: Don't leak references to the color-hash 
4599         gotten from GtkSettings.  (#409357, Benjamin Berg)
4600
4601 2007-02-28  Tristan Van Berkom <tvb@gnome.org>
4602
4603         * gtk/gtkradiobutton.c: Fixed a warning from
4604         g_object_set (radiobutton, "group", NULL, NULL).
4605
4606 2007-02-26  Matthias Clasen <mclasen@redhat.com>
4607
4608         Apply a patch by Carlos Garnacho to fix several problems
4609         with filechooser size handling (#325477, #151169, 143213,
4610         #153785)
4611
4612         * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
4613         (browse_widgets_create): Don't force the paned position to 200.
4614         (find_good_size_from_style): Take the size of the extra widget
4615         into account.
4616
4617         * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
4618         Accept a minimal width parameter. Update all callers.
4619
4620 2007-02-26  Matthias Clasen <mclasen@redhat.com>
4621
4622         * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
4623         which is more accurate, suggested by Tim Waugh. String change! 
4624
4625 2007-02-26  Matthias Clasen <mclasen@redhat.com>
4626
4627         * gtk/gtkprinteroptionwidget.c: Make the folder selection for
4628         print-to-file work. Reported by Ian Collier.
4629
4630 2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
4631
4632         Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
4633
4634         * gtk/gtkicontheme.c: (scan_directory):
4635                 Reorder the replacement of the shared base_name key, so that we
4636                 avoid dereferencing the string in the icon_theme->all_icon
4637                 hash table after freeing it from the dir->icons hash table.
4638
4639 2007-02-26  Tor Lillqvist  <tml@novell.com>
4640
4641         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
4642         comment clarifying that "icon name" here is not related to the
4643         freedesktop.org icon naming stuff.
4644
4645 2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>
4646
4647         * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
4648         progress bar on windows classic. Match from Mathias Hasselmann.
4649         
4650 2007-02-19  Tor Lillqvist  <tml@novell.com>
4651
4652         * gdk/win32/gdkinput.c
4653         (gdk_device_finalize, gdk_device_class_init): Remove.
4654         (gdk_device_get_type): Drop class init function. The X11 version
4655         doesn't have one either.
4656         (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
4657         (gdk_display_list_devices): Check that the argument is
4658         _gdk_display.
4659
4660         * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
4661         Cleanup: remove unused fields.
4662         * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
4663         names in a few debugging printouts.
4664
4665 2007-02-18  Matthias Clasen  <mclasen@redhat.com>
4666
4667         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
4668         Ignore invisible text when going to end of the previous line.
4669         (#382565)
4670
4671 2007-02-18  Richard Hult  <richard@imendio.com>
4672
4673         * gdk/quartz/gdkwindow-quartz.c:
4674         (gdk_window_quartz_process_all_updates),
4675         (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
4676         patch from Erik van Pienbroek, fixes bug #396649.
4677
4678 2007-02-18  Richard Hult  <richard@imendio.com>
4679
4680         * gdk/quartz/gdkevents-quartz.c: Add stub for 
4681         gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
4682         bug #405870.
4683
4684         * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
4685
4686 2007-02-18  Richard Hult  <richard@imendio.com>
4687
4688         * gdk/quartz/GdkQuartzView.h:
4689         * gdk/quartz/GdkQuartzWindow.h:
4690         * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
4691         * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use 
4692         userSpaceScaleFactor for 10.3. Those changes bring us closer to working
4693         on panther, patch from Mathias Hasselmann.
4694         
4695         * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
4696
4697 2007-02-16  Behdad Esfahbod  <behdad@gnome.org>
4698
4699         * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
4700         instead of division. (#334617)
4701
4702 2007-02-16  Kristian Rietveld  <kris@gtk.org>
4703
4704         * gtk/gtktreeprivate.h: add cursor_offset field.
4705
4706         * gtk/gtktreeview.c (gtk_tree_view_init),
4707         (gtk_tree_view_move_cursor_page_up_down): fix off by one error
4708         in page up/down handling by memorizing the offset into the cursor
4709         row.  (Fixes #399809, reported by Bruce Bowler).
4710
4711 2007-02-16  Kristian Rietveld  <kris@gtk.org>
4712
4713         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
4714         a focus-in event to the tree view after hiding the search dialog.
4715         (#356515, Rich Burridge, Peter Parente).
4716
4717 2007-02-16  Kristian Rietveld  <kris@imendio.com>
4718
4719         * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
4720         keyboard tooltips. (#408325, Matthias Clasen).
4721
4722 2007-02-16  Xan Lopez  <xan@gnome.org>
4723
4724         * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
4725         in expose event handler. Reviewed by Matthias Clasen, #406112
4726
4727 2007-02-16  Matthias Clasen  <mclasen@redhat.com>
4728
4729         * gtk/gtkmain.c: Run pre_parse_hook only once.  (#403139, Kjartan
4730         Maraas)
4731
4732 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
4733
4734         * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
4735         careful when checking for ButtonRelease events that end implicit
4736         grabs.  (#386618, Christof Krüger)
4737
4738 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
4739
4740         * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
4741         even if there are no views.  (#408018, Albert Huang)
4742
4743 2007-02-15  Cody Russell  <bratsche@gnome.org>
4744
4745         * gdk/win32/gdkevents-win32.c: Make sure we get enough main context 
4746         iterations while we're resizing so that the window contents are resized 
4747         more smoothly (#389765).
4748
4749         * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
4750         are resized (#310522).
4751
4752 2007-02-15  Matthias Clasen  <mclasen@redhat.com>
4753
4754         * gtk/updateiconcache.c: Handle symlinked .icon files 
4755         intelligently; also avoid storing duplicate strings.
4756
4757 2007-02-15  Michael Natterer  <mitch@imendio.com>
4758
4759         * gtk/gtkmenushell.c: remove two antique function typedefs that
4760         are probably obsolete for ages.
4761
4762 2007-02-14  Stefan Kost  <ensonic@users.sf.net>
4763
4764         reviewed by: Matthias Clasen  <mclasen@redhat.com>
4765
4766         * configure.in: determine installation prefixes of dependent libs to
4767         crossreference docs (#407146).
4768
4769 2007-02-14  Kristian Rietveld  <kris@imendio.com>
4770
4771         * gtk/gtktooltip.c (child_location_foreach): check return value
4772         of gtk_widget_translate_coordinates() so we cannot end up
4773         using uninitialized x, y values.  (#407863, patch from Carlos
4774         Garnacho).
4775
4776 2007-02-14  Kristian Rietveld  <kris@imendio.com>
4777
4778         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
4779         use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
4780         position instead of a hardcoded value.  (Taken from maemo-gtk).
4781
4782 2007-02-14  Michael Natterer  <mitch@imendio.com>
4783
4784         * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
4785         state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
4786         maemo-gtk.
4787
4788 2007-02-13  Kristian Rietveld  <kris@imendio.com>
4789
4790         * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
4791         pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
4792
4793 2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
4794
4795         * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
4796         remove some type checking; use better variable naming for the
4797         internal menu item markers.
4798
4799 2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
4800
4801         * gtk/gtkrecentchoosermenu.c: Add support for both prepending
4802         and appending custom menu items.
4803
4804         (gtk_recent_chooser_menu_constructor): Add a placeholder menu
4805         item for the empty menu case, and for giving us a starting
4806         point for the recent items populating process.
4807
4808         (gtk_recent_chooser_menu_insert_item),
4809         (gtk_recent_chooser_menu_dispose_items): Insert an item at
4810         the position following the placeholder (and find that position
4811         if needed).
4812
4813         (idle_populate_func), (idle_populate_clean_up): Show the
4814         placeholder menu item, instead of creating one each time.
4815
4816         (gtk_recent_chooser_menu_populate): Kill some indirections
4817         and hide the placeholder before populating the menu.
4818
4819         (set_recent_manager): Remember to remove the idle population
4820         source if the manager changes.
4821
4822         * tests/testrecentchoosermenu.c: Test the appending and
4823         prepending of the menu items to the recent chooser menu
4824         widget.
4825
4826 2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
4827
4828         * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
4829         of the displayed items to build the menu items mnemonic instead
4830         of the overall item count. (#377164)
4831
4832         (idle_populate_clean_up): Append a menu item if all the items
4833         got filtered in the idle populate function. (#405696)
4834
4835         * tests/Makefile.am:
4836         * tests/testrecentchoosermenu.c: Add a test for the
4837         GtkRecentChooserMenu widget.
4838
4839 Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
4840
4841         * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
4842         GtkButtonBox (bug #336159).
4843
4844         * gtk/gtkenums.h:
4845         * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
4846         support GTK_BUTTONBOX_CENTER.
4847
4848         * tests/testbbox.c: new button box test, which allows testing of 
4849         the various button box properties.
4850
4851         * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
4852
4853 2007-02-07  Cody Russell  <bratsche@gnome.org>
4854
4855         * gdk/gdk.symbols: Add gdk_event_request_motions
4856
4857 Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
4858
4859         * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
4860         condition which was wrongly ported with my last commit.
4861
4862 Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
4863
4864         * gtk/gtktextview.c (gtk_text_view_motion_event):
4865         * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
4866         * gtk/gtkaboutdialog.c (credits_motion_notify_event):
4867         * gtk/gtkhruler.c (gtk_hruler_motion_notify):
4868         * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
4869         * gtk/gtkentry.c (gtk_entry_motion_notify):
4870         * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
4871         * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
4872         for new motion events after receiving motion hints.
4873
4874         * gdk/gdkevents.[hc]: added gdk_event_request_motions().
4875
4876 2007-02-06  Kristian Rietveld  <kris@imendio.com>
4877
4878         * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
4879         remove unused get of has_tooltip.
4880
4881         * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
4882         portable g_snprintf instead of snprintf.
4883
4884 2007-02-06  Michael Natterer  <mitch@imendio.com>
4885
4886         * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
4887
4888         (gtk_tooltip_show_tooltip): move variables and code to local
4889         scope. Fixes warnings about maybe uninitialized variables.
4890
4891 2007-02-06  Kristian Rietveld  <kris@imendio.com>
4892
4893         New tooltips API.
4894
4895         * gtk/Makefile.am
4896         * gtk/gtk.h
4897         * gtk/gtk.symbols: build system foo.
4898
4899         * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
4900         hook for appropriate events.
4901
4902         * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
4903
4904         * gtk/gtkrc.c: add style for gtk-tooltip.
4905
4906         * gtk/gtksettings.c (gtk_settings_class_init): make the
4907         different tooltip timeouts configurable.
4908
4909         * gtk/gtkwidget.[ch]: add new properties, signals, make sure
4910         tooltips are hidden on unmap, destroy, update window event
4911         mask on realize, hook into focus change and show help
4912         handlers.
4913
4914         * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
4915
4916         * gtk/gtktooltip.[ch]: new files.
4917
4918         * tests/Makefile.am
4919         * tests/testtooltips.c: add test application.
4920
4921 2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
4922
4923         * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
4924         by prematurely releasing a DC. By Hiroyuki Yamamoto
4925         * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
4926         pixbufs when drawing rotated tabs. By Daniel Atallah
4927         
4928 2007-02-05  Michael Natterer  <mitch@imendio.com>
4929
4930         * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
4931         and gtk-enable-mnemonics which enable/disable accelerators and
4932         mnemonics (bug #72375, based on a patch from Tommi Komulainen).
4933
4934         * gtk/gtkwindow.c (gtk_window_activate_key)
4935         * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
4936         if the resp. setting is FALSE.
4937
4938         * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
4939         * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
4940         them if the setting is FALSE.
4941
4942         * gtk/gtklabel.c: added signal connection to the screen's settings
4943         object and traverse all widgets on the screen when the setting
4944         changes. It's slightly ugly to also update GtkAccelLabels here,
4945         but less ugly than connecting and traversing all widgets twice.
4946
4947 2007-02-05  Michael Natterer  <mitch@imendio.com>
4948
4949         * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
4950         values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
4951         ansi C enum value limits. Fixes bug #46757.
4952
4953 2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
4954
4955         * gtk/gtksequence.[ch]: Remove these files since GSequence has
4956         been moved into GLib.
4957
4958         * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
4959
4960         * configure.in: Require glib-2.13.0
4961         
4962 2007-02-04  Tor Lillqvist  <tml@novell.com>
4963
4964         * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
4965         mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
4966
4967 2007-02-02  Kristian Rietveld  <kris@gtk.org>
4968
4969         * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
4970         style_get of vertical-separator. (#403165, Chris Wilson).
4971
4972 2007-02-02  Christian Persch  <chpe@svn.gnome.org>
4973
4974         * gtk/gtkfilechoosersettings.c: (get_config_filename),
4975         (ensure_settings_read), (_gtk_file_chooser_settings_init),
4976         (_gtk_file_chooser_settings_set_show_hidden),
4977         (_gtk_file_chooser_settings_set_expand_folders),
4978         (_gtk_file_chooser_settings_save): Use a simple key file instead of a
4979         markup file. Bug #399592.
4980
4981 2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
4982
4983         * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
4984         be a little more helpful with the docs on GtkCellRendererText:alignment.
4985         Bug #403409.
4986
4987 2007-02-01  Michael Natterer  <mitch@imendio.com>
4988
4989         * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
4990         gtk_paint_box() calls.
4991
4992 2007-02-01  Michael Natterer  <mitch@imendio.com>
4993
4994         * gtk/gtkmenu.c (gtk_menu_button_press)
4995         (gtk_menu_button_release)
4996         (gtk_menu_button_scroll): remove redundant and confusing
4997         if (GTK_IS_MENU (widget)) checks because "widget" is always a
4998         GtkMenu here.
4999
5000 Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
5001
5002         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
5003         that gtkcombobox keeps on priv->popup_widget if it's a tree view.
5004
5005 2007-01-31  Christian Persch  <chpe@svn.gnome.org>
5006
5007         * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
5008         (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
5009         (gtk_about_dialog_set_artists),
5010         (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
5011         there are no credits to show. Bug #402806.
5012
5013 2007-01-31  Tor Lillqvist  <tml@novell.com>
5014
5015         * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
5016         function.
5017         (_gdk_input_wintab_init_check): Call it when debugging output is
5018         requested.
5019         (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
5020         tablets. The Wacom driver reports duplicated cursors with
5021         physid==0. Fix verified by Robert Ögren.
5022
5023 2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
5024
5025         * modules/printbackends/file/gtkprintbackendfile.c:
5026         (file_printer_get_options): Fix leaked string. Fixes bug #402565.
5027
5028 2007-01-30  Matthias Clasen  <mclasen@redhat.com>
5029
5030         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
5031         (gdk_x11_window_set_user_time): Be more careful about toplevel
5032         possibly being NULL.  (#402453, Sebastian Bacher)
5033
5034 Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
5035
5036         * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
5037         class_n_properties and leave an uninitialized value array behind.
5038
5039 2007-01-29  Michael Natterer  <mitch@imendio.com>
5040
5041         * gtk/gtkmenuitem.c (gtk_menu_item_select)
5042         (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
5043         this menu item's menu, to enable themeing menu items depending on
5044         whether something is selected in their submenu (patch taken from
5045         maemo-gtk).
5046
5047 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
5048
5049         * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
5050         that was mistakenly "cleaned up" a while ago. Also
5051         revert a problematic change to the screen_changed
5052         handler.  (#401598, Søren Sandmann)
5053
5054 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
5055
5056         * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
5057         problem with large y thickness.  (#136592, Xan Lopez)
5058
5059 2007-01-28  Matthias Clasen  <mclasen@redhat.com>
5060
5061         * gtk/gtkaction.c (gtk_action_new): Use canonical
5062         property names.  
5063
5064 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5065
5066         * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
5067         (gtk_notebook_draw_focus): Avoid some unnecessary 
5068         gtk_widget_get_style() calls.
5069
5070 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5071
5072         * gtk/gtktoolbar.c:
5073         * gtk/gtktoolitem.c:
5074         * gtk/gtktoolbutton.c: Rearrange things so that setting
5075         multiple properties causes not more than a single 
5076         reconstruction of the contents.
5077
5078         * gtk/gtkaction.c (connect_proxy): Set all tool button 
5079         properties in one go.
5080
5081 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5082
5083         * gtk/gtkstatusicon.c:
5084         * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
5085         take up space on the panel if it is invisible.  (340110, Christian
5086         Persch)
5087
5088         * tests/teststatusicon.c:
5089         * tests/Makefile.am: Updates
5090
5091 2007-01-27  Matthias Clasen  <mclasen@redhat.com>
5092
5093         * gtk/gtkfilesel.h:
5094         * gtk/gtkrc.h:
5095         * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
5096         and the old file selector.  (#348256)
5097
5098 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
5099
5100         * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
5101
5102 2007-01-26  Matthias Clasen  <mclasen@redhat.com>
5103
5104         * gtk/updateiconcache.c: Check the mtime of all directories,
5105         not just the toplevel, if ftw() is available.  (#331671, Behdad
5106         Esfahbod)
5107
5108         * configure.in: Check for ftw.h.
5109
5110 2007-01-26  Michael Natterer  <mitch@imendio.com>
5111
5112         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
5113         destroy the XIM only if it exists. While the code does look safe
5114         in general, there can be corner cases where the "reconnecting"
5115         boolean being FALSE does not correspond to the XIM being
5116         allocated (fixes #329450, fix taken from maemo-gtk).
5117
5118 Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
5119
5120         * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
5121         window bounds (fix from Maemo Gtk).
5122
5123 2007-01-26  Michael Natterer  <mitch@imendio.com>
5124
5125         * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
5126         only block/unblock completion->priv->insert_text_id if it is
5127         actually connected. While this can't happen the way GtkEntry
5128         itself uses the completion, it's still public API and should not
5129         blindly call functions that will spit warnings (fix taken from
5130         maemo-gtk).
5131
5132 2007-01-25  Matthias Clasen  <mclasen@redhat.com>
5133
5134         * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
5135         the paintable iface.  
5136
5137 2007-01-24  Michael Natterer  <mitch@imendio.com>
5138
5139         * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
5140         of PRELIGHT state for the reasons given in bug #135666. Widget
5141         states are sometimes abused or otherwise used wrongly for historic
5142         reasons, causing this part of the patch to break e.g. menu items.
5143
5144 2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
5145
5146         * README: Remove mention of no-longer-existing PATCH
5147         keyword in bugzilla. (#396899)
5148
5149 2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
5150
5151         * gtk/gtkpagesetup.c
5152         (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
5153         Fixes bug #399907. 
5154
5155 2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
5156
5157         Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
5158
5159         * gtk/gtkstyle.h:
5160                 Cause gcc to issue a warning if the style returned from
5161                 gtk_style_attach is not used. Failure to update
5162                 widget->style causes some very difficult to reproduce bugs,
5163                 eg Bug 353498 – crash in Terminal: changing icon theme.
5164
5165 2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
5166
5167         * gdk/directfb/gdkevents-directfb.c: added fixes for window
5168         crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
5169
5170 2007-01-19  Matthias Clasen  <mclasen@redhat.com>
5171
5172         * gtk/gtkcalendar.c: Fix build breakage.
5173
5174 2007-01-19  Kristian Rietveld  <kris@imendio.com>
5175
5176         * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
5177         (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
5178         add_scroll_timeout().  (taken from maemo-gtk).
5179
5180 2007-01-18  Matthias Clasen  <mclasen@redhat.com>
5181
5182         * gtk/gtkcalendar.c: Fix problems with the initial
5183         focus in GtkCalendar.  (#397783, Vincent Untz)
5184
5185 2007-01-19  Robert Ögren  <gtk@roboros.com>
5186
5187         Fix for bug #143460 - missed tablet clicks on Windows
5188
5189         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
5190         Request absolute reporting of tablet button state, and cut down
5191         the packet queue size a bit.
5192         (_gdk_input_other_event): Change button state handling
5193         accordingly. Also drop the no longer necessary code that detects
5194         missed clicks/releases for button 1. The switch to absolute button
5195         state should prevent missed events for all buttons. Additionally,
5196         swap button 2 and 3.
5197         (_gdk_input_grab_pointer): Don't reset button_state, that will only
5198         cause a new press event as soon as the next tablet packet arrives.
5199
5200 2007-01-19  Tor Lillqvist  <tml@novell.com>
5201
5202         Build Wintab support always on Windows. Don't require the Wintab
5203         SDK.
5204
5205         * configure.in: Drop the --with-wintab option. Drop the
5206         HAVE_WINTAB feature test macro and Automake variable.
5207
5208         * acconfig.h
5209         * config.h.win32.in: Drop HAVE_WINTAB.
5210
5211         * gdk/win32/gdkevents-win32.c
5212         * gdk/win32/gdkinput.c
5213         * gdk/win32/gdkinput-win32.h
5214         * gdk/win32/gdkinput-win32.c
5215         * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
5216         unconditional.
5217
5218         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
5219         to load wintab32.dll dynamically here. If it is found look up the
5220         handful Wintab functions we use.
5221         (rest of file): Use these function pointers instead of calling the
5222         functions from wntab32x.lib. The code in wntab32x.lib did the same
5223         thing anyway: tried to load wintab32.dll, and looked up the
5224         addresses of the actual functions from it.
5225
5226         * gdk/Makefile.am
5227         * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
5228
5229         * gdk/win32/wintab.h
5230         * gdk/win32/pktdef.h: New files. Copied from the Wintab
5231         SDK. Copyright blurb says: "The text and information contained in
5232         this file may be freely used, copied, or distributed without
5233         compensation or licensing restrictions."
5234
5235         * README.win32: Update a bit. Remove the text about the Wintab
5236         SDK.
5237
5238 2007-01-18  Tor Lillqvist  <tml@novell.com>
5239
5240         * gdk-pixbuf/Makefile.am
5241         * gdk/Makefile.am
5242         * gdk/win32/Makefile.am
5243         * gtk/Makefile.am: Fixes for building outside srcdir on
5244         Win32. (#336819, #340013) Drop distributing the handmade .la
5245         libtool wrapper for the wntab32x library. It's too much trouble
5246         making it work when building outside srcdir. Just link to the
5247         library direcly using -Wl,win32/libwntab32x.a.
5248
5249 2007-01-18  Michael Natterer  <mitch@imendio.com>
5250
5251         * gtk/gtkcheckbutton.c
5252         * gtk/gtkdnd.c
5253         * gtk/gtkentry.c
5254         * gtk/gtkmenu.c
5255         * gtk/gtktreeview.c
5256         * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
5257         functions. Based on a patch from maemo-gtk (bug #398023).
5258
5259 2007-01-17  Tor Lillqvist  <tml@novell.com>
5260
5261         * gtk-zip.sh.in: Include also the COPYING file.
5262
5263 2007-01-17  Matthias Clasen  <mclasen@redhat.com>
5264
5265         * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
5266         httpGetFd() when building against cups 1.1
5267
5268 2007-01-17  Tor Lillqvist  <tml@novell.com>
5269
5270         Proper fix for #396175:
5271
5272         * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
5273         include gtkprivate.h. On Win32 we do want to use the redefinition
5274         of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
5275
5276         * gtk/gtkimmodule.c: Instead, correct the prefix also on
5277         simple_context_info.domain_dirname. Do the prefix corrections
5278         always on Win32, not just when GTK_LIBDIR is defined. i.e., until
5279         now they were done only in the autoconfiscated gcc builds. Hans
5280         needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
5281         in MSVC builds now.
5282         (correct_localedir_prefix): New function, like
5283         correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
5284         GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
5285         (gtk_im_module_initialize): Thus call correct_localedir_prefix()
5286         on the domain_dirname instead of correct_libdir_prefix().
5287         (_gtk_im_module_list): Call correct_localedir_prefix() on
5288         simple_context_info.domain_dirname.
5289
5290 2007-01-16  Matthias Clasen  <mclasen@redhat.com>
5291
5292         * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
5293         grab changes.  (#396470, Benjamin Berg)
5294
5295 2007-01-15  Emmanuele Bassi  <ebassi@gnome.org>
5296
5297         * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
5298         if they grow too much. (#357303)
5299
5300 2007-01-14  Matthias Clasen  <mclasen@redhat.com>
5301
5302         * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
5303         non-scalable dir, keep going and look for a closer match.
5304         (#395830, Luca Ferretti)
5305
5306 2007-01-14  Christian Persch  <chpe@svn.gnome.org>
5307
5308         * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
5309         (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
5310         gtk_target_table_free instead of duplicating the code. Bug #396493.
5311
5312 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5313
5314         * gtk/gtkuimanager.c: Don't crash if menu or toolbar
5315         positions can't be found.  (#396161, Hans Breuer)
5316
5317 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5318
5319         * gtk/gtkselection.c (_gtk_selection_request): Plug 
5320         memory leaks.  (#396160, Carlos Garcia Campos)
5321
5322 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5323
5324         * configure.in: Link libgtk against Xfixes.  (#396074,
5325         Tommi Komulainen)
5326
5327 2007-01-13  Matthias Clasen  <mclasen@redhat.com>
5328
5329         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
5330         a compiler warning.  (#395045, Chris Wilson)
5331
5332 2007-01-13  Hans Breuer <hans@breuer.org>
5333
5334         * gtk/gtkprintoperation-win32.c : take the custom tab label from
5335         gtk_print_operation_set_custom_tab_label() into account (bug #390746).
5336
5337         * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
5338         differing definitions of GTK_LOCALEDIR (bug #396175).
5339
5340         * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
5341         not available everywhere
5342
5343         * gtk/makefile.msc.in : updated
5344
5345 2007-01-12  Michael Natterer  <mitch@imendio.com>
5346
5347         * gtk/gtkentry.c (gtk_entry_button_press): don't add
5348         entry->scroll_offset to entry->drag_start_y. Fixes the entry
5349         starting drags after ridiculously small mouse movements.
5350
5351 2007-01-11  Richard Hult  <richard@imendio.com>
5352
5353         * demos/gtk-demo/main.c: (load_file): Close the file after it's
5354         loaded (bug #395316).
5355
5356 2007-01-11  Kjartan Maraas  <kmaraas@gnome.org>
5357
5358         * gtk/gtkfilesystemunix.c: (expand_tilde):
5359         Make a single tilde go to $HOME in the location entry.
5360         Patch from Yevgen Muntyan. Closes the gtk+ part of
5361         bug #334168.
5362
5363 2007-01-10  Behdad Esfahbod  <behdad@gnome.org>
5364
5365         * gdk/gdkpango.c (gdk_draw_layout_with_colors):
5366         * gtk/gtklabel.c (gtk_label_size_request):
5367         Use pango_matrix_transform_rectangle(). (#340141)
5368
5369         * configure.in: Bump pango requirement to 1.15.3.
5370
5371 2007-01-10  Kristian Rietveld  <kris@imendio.com>
5372
5373         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
5374         refactor to initialize indicator_size to TOGGLE_WIDTH instead
5375         of the hardcoded value of 12.
5376
5377 2007-01-09  Matthias Clasen  <mclasen@redhat.com>
5378
5379         * configure.in: Fix the directfb cairo test. (#394855, 
5380         Josselin Mouette)
5381
5382 2007-01-09  Behdad Esfahbod  <behdad@gnome.org>
5383
5384         * configure.in: Fix comment for --with-included-loaders.  That option
5385         affects builds with module loading enabled too.
5386
5387 2006-01-08  Peter Teichman  <peter@novell.com>
5388
5389         * gtk/gtkfilechooserdefault.c:
5390         * gtk/gtkfilechooserprivate.h:
5391         * gtk/gtkfilechoosersettings.c:
5392         * gtk/gtkfilechoosersettings.h:
5393         Save the expanded state of the folder browser with the file
5394         chooser settings.  Resolves the expander portions of (#153828,
5395         Lemmit Kaplinski)
5396
5397 2007-01-08  Emmanuele Bassi  <ebassi@gnome.org>
5398
5399         * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
5400         Don't leak the icon pixbuf after setting it to the image menu
5401         item.  Found by Paolo Borelli.
5402
5403 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
5404
5405         * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't 
5406         corrupt memory when faced with paths with ridiculously
5407         large indices. Found by the GTKVTS test suite.  
5408
5409 2007-01-08  Matthias Clasen  <mclasen@redhat.com>
5410
5411         * gtk/gtkmodules.c (_gtk_modules_init): Set 
5412         default_display_opened before loading modules.  (#393102,
5413         Brian Cameron)
5414  
5415 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
5416
5417         * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
5418         Call text_window_realize() with the correct parameters.
5419         (#393813, Yevgen Muntyan)
5420
5421 2007-01-07  Matthias Clasen  <mclasen@redhat.com>
5422
5423         * gtk/gtkstatusbar.c: Move docs inline, and expand them 
5424         a bit.
5425
5426 2007-01-06  Matthias Clasen  <mclasen@redhat.com>
5427
5428         * gtk/gtklabel.c: Make line wrapping work with width-chars
5429         and max-width-chars, and simplify the storage of wrap-width.
5430         (#322580, Itai Bar-Haim)
5431
5432 2007-01-06  Tor Lillqvist  <tml@novell.com>
5433
5434         * gdk/win32/cursor.bdf: New file. Downloaded from
5435         freedesktop.org's webcvs. Slighly edited cursors "crosshair",
5436         "diamond_cross", "draft_large", "gobbler" and "target" to fix
5437         #392504. It is possible that the same end result could have been
5438         achieved by tweaking bdfcursor.c instead.
5439         
5440         * gdk/win32/bdfcursor.c: Add optional debugging output.
5441
5442         * gdk/win32/xcursors.h: Regenerated.
5443
5444 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
5445
5446         * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
5447         menu labels.  (#393255, Michail Crayson)
5448
5449 2007-01-05  Kristian Rietveld  <kris@gtk.org>
5450
5451         * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
5452         == NULL.  (Fixes #392685, reported by Yevgen Muntyan).
5453
5454 2007-01-05  Kristian Rietveld  <kris@gtk.org>
5455
5456         * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
5457         invalidate nodes if the tree view is not realized. (#363147,
5458         Carlos Garnacho, Miguel Cabrera).
5459
5460 2007-01-05  Matthias Clasen  <mclasen@redhat.com>
5461
5462         * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
5463         account when drawing the background.  (#393166, Benjamin Berg)
5464
5465 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
5466
5467         * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
5468         again.
5469
5470 2007-01-05  Carlos Garnacho  <carlosg@gnome.org>
5471
5472         * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
5473         both scroll arrows when calculating size request in GTK_POS_LEFT or
5474         GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
5475
5476 2007-01-05  Michael Natterer  <mitch@imendio.com>
5477
5478         * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
5479         the right function (fix taken from maemo-gtk).
5480
5481 2007-01-05  Behdad Esfahbod  <behdad@gnome.org>
5482
5483         * gdk/gdkprivate.h:
5484         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
5485         (gdk_draw_layout_with_colors):
5486         * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
5487         Avoid overflow when converting coordinates to Pango units. (#332266,
5488         Jody Goldberg)
5489
5490 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
5491
5492         * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
5493         after realization of the popup window, so clamp node doesn't fail.
5494         (#346616, Tommi Komulainen, patch by Kristian Rietveld).
5495
5496 2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
5497
5498         * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
5499         variable.
5500
5501 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
5502
5503         * gtk/Makefile.am:
5504         * gdk-pixbuf/Makefile.am:
5505         * configure.in:
5506         * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
5507         (#392646, Yevgen Muntyan)
5508
5509 2007-01-04  Matthias Clasen  <mclasen@redhat.com>
5510
5511         * demos/gtk-demo/textscroll.c:
5512         * gtk/gtkhandlebox.c:
5513         * gtk/gtkcolorsel.c: Fix some compiler warnings.
5514
5515 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5516
5517         * gtk/gtktextview.c: Rework the beep-on-uninserted-text
5518         by calling the input method regardless of editability,
5519         and beeping from the commit/preedit-changed handlers.
5520         (#390514, Yevgen Muntyan)
5521
5522 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5523
5524         Fix #332604, reported by Joe Wreschnig, patch
5525         by Jan Arne Petersen and Behdad Esfahbod.
5526
5527         * gtk/gtklabel.c (gtk_label_size_allocate): Only
5528         set the width of the layout when necessary.
5529         (get_layout_location): Use pango_layout_get_pixel_extents()
5530         instead of pango_layout_get_width().
5531
5532 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5533
5534         * modules/printbackends/cups/gtkprintbackendcups.c 
5535         (available_choices): Don't leak conflicts.
5536
5537         * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
5538         Don't leak the status string.
5539
5540 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5541
5542         * gtk/gtkfilechooserdefault.c (update_chooser_entry):
5543         Exit early if we can't get file info - this happens
5544         if the iter points to the row where we are editing
5545         the name for a newly created folder.  (#392191, Michael
5546         Partridge, patch by Kristian Rietveld)
5547
5548 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5549
5550         * gtk/*.c:
5551         * gdk/x11/*.c: Apply a patch by Chris Wilson to
5552         avoid spurious valgrind warnings from XSendEvent() 
5553         calls.  (#392532)
5554
5555         * modules/printbackends/cups/gtkprintbackendcups.c: Close
5556         the http connection after getting the PPD.
5557
5558         * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
5559         Fix memory leaks.  
5560
5561 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5562
5563         * gtk/gtkassistant.c (remove_page): If the current page
5564         is removed, always pick a different one.  (#392457, 
5565         Colin Watson)
5566
5567 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5568
5569         * modules/printbackend/cups/*.c: Coding style cleanups.
5570
5571 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5572
5573         * configure.in: Export SED to make sourcing of
5574         libtool work. Tighten up the directfb pkgconfig check.
5575
5576 2007-01-03  Michael Natterer  <mitch@imendio.com>
5577
5578         * gtk/gtkstyle.c (option_menu_get_props)
5579         * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use 
5580         gtk_border_free when freeing borders.
5581
5582 2007-01-03  Matthias Clasen  <mclasen@redhat.com>
5583
5584         * gtk/gtkentry.c (get_text_area_size): Work when the
5585         entry is not realized.  (#392315, Yevgen Muntyan)
5586
5587         * gtk/gtkentry.c (gtk_entry_queue_draw): Use 
5588         GTK_WIDGET_DRAWABLE() here.  (#392227, Chris Wilson)
5589
5590         * gtk/gtkentry.c (cursor_blinks): Don't get settings
5591         unnecessarily.  (#392227)
5592
5593 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5594
5595         * gtk/gtkwindow.c (gtk_window_move_resize): Only process
5596         updates on the window at hand, not on all windows, to
5597         avoid violating resize/redraw ordering constraints.
5598         (#362406, Owen Taylor)
5599         
5600 2007-01-03  Kristian Rietveld  <kris@gtk.org>
5601
5602         * gtk/gtkcellrendererprogress.c
5603         (gtk_cell_renderer_progress_class_init): fix docs.
5604
5605 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5606         
5607         * gtk/updateiconcache.c: Include locale.h
5608
5609 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5610
5611         * gtk/updateiconcache.c (main): Call setlocale().
5612
5613         * gtk/gtkfilesel.c:
5614         * gtk/gtkfilesystemunix.c:
5615         * gtk/gtkfilesystemwin32.c:
5616         * gtk/gtkfilechoosersettings.c:
5617         * gtk/updateiconcache.c: Consistently use folder instead of
5618         directory in translated messages.  (#344584, Javier F. Serrador)
5619
5620 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5621
5622         Try to fix #315732, reported by Luke Hutchinson:
5623
5624         * gdk/x11/xsettings-client.[hc]:
5625         * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
5626         will guarantee that it can be looked up in the xid hash later.
5627         Also, use the nesting server grab function during the xsettings
5628         client initialization. Finally, make xsettings client not
5629         eat DestroyNotifys so that GDK can do its regular cleanup. 
5630
5631 2007-01-02  Michael Natterer  <mitch@imendio.com>
5632
5633         * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
5634         when a keybinding didn't change adjustment->value.
5635
5636 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5637
5638         * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
5639         Try harder not to beep on events which are not meant to
5640         insert stuff in the buffer.  (#390514, Yevgen Muntyan) 
5641
5642 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5643
5644         * gtk/gtktextbufferrichtext.c: Small documentation fixes.
5645
5646 2007-01-02  Matthias Clasen  <mclasen@redhat.com>
5647
5648         * gtk/gtkentry.c (get_text_area_size): Center in the frame.  
5649         (#304482, Rob Staudinger, patch by  Richard Stellingwerff)
5650
5651 2007-01-02  Michael Emmel  <mike.emmel@gmail.com>
5652
5653         * gdkwindow-directfb.c: fixed leak of dfb resource on destroy 
5654
5655 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5656
5657         * gtk/gtkscrolledwindow.h:
5658         * gtk/gtkscrolledwindow.c: Only handle key bindings
5659         for scrolling if the scrollbars are visible.
5660         (#340135, Christian Persch)
5661
5662 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5663
5664         * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
5665         Don't segfault on horizontal scrolling.  
5666
5667 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5668
5669         * gtk/gtknotebook.h:
5670         * gtk/gtknotebook.c: Only handle key bindings for
5671         tab reordering if the tabs are shown and reorderable. 
5672         (#390468, Yevgen Muntyan)
5673
5674         * gtk/gtkmarshalers.list: Add required marshaler
5675
5676 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5677
5678         * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
5679         Mention in the docs that the return value is
5680         NULL-terminated.  (#383373, Christian Neumair)
5681
5682 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5683
5684         * gtk/gtkicontheme.c (load_themes): Waste less time
5685         with non-directories.  (#391725, Chris Wilson)
5686
5687 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5688
5689         * gtk/gtkcellrendererprogress.c: Implement activity mode
5690         for GtkCellRendererProgress.  (#377851, Brad Taylor)
5691
5692 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5693
5694         Fix some IPP compliance issues.  (#391523, Albrecht Dress)
5695
5696         * modules/printbackends/cups/gtkcupsutils.c
5697         (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
5698         IPP_TAG_OPERATION.
5699         * modules/printbackends/cups/gtkprintbackendcups.c
5700         (gtk_print_backend_cups_print_stream): Don't add the
5701         requesting-user-name attribute a second time. 
5702
5703 2007-01-01  Matthias Clasen  <mclasen@redhat.com>
5704
5705         * gtk/gtkimcontextsimple.c: Fix en/em dash confusion.  (#378462)
5706
5707 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
5708
5709         * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
5710         right object when disconnecting from the GtkRecentManager::changed
5711         signal; save us a few indirections using a variable.
5712
5713 2006-12-31  Emmanuele Bassi  <ebassi@gnome.org>
5714
5715         * gtk/gtkrecentchoosermenu.c: Move the signal and idle
5716         disconnections into the dispose function, as well as the
5717         object unrefs; reset every handler id and the
5718         pointers. (suggested by Paolo Borelli, #390873)
5719
5720 2006-12-31  Matthias Clasen  <mclasen@redhat.com>
5721
5722         * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
5723         Kazuki Iwamoto)
5724
5725 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5726
5727         * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
5728         scroll timeout.  (#390872, Yevgen Muntyan)
5729
5730 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5731
5732         * gtk/gtkprintoperation-unix.c:
5733         * gtk/gtkprintbackend.c:
5734         * gtk/gtkfilechooserdefault.c:
5735         * gtk/gtksettings.c: Move a few settings to gtksettings.c
5736         to make sure they show up in the docs.  (#365364, Christian
5737         Persch)
5738
5739 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5740
5741         * gtk/gtkassistant.c: Redraw assistant on reallocate
5742         to avoid rendering glitches.  (#343956, Christian
5743         Persch, Carlos Garnacho)
5744
5745 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5746
5747         * gtk/gtkrange.c: Typo fix.  (#352121, Clytie Siddall)
5748
5749 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5750
5751         * gtk/gtkaction.c: Improve the docs of the "label" 
5752         property.  (#341730, Kristof Vansant)
5753
5754 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5755
5756         * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
5757         Correctly handle min size. (#320465, Philipp Langdale)
5758
5759 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5760
5761         * gtk/prop-editor.c: Implement editing of flags.
5762
5763 2006-12-30  Matthias Clasen  <mclasen@redhat.com>
5764
5765         * gtk/gtkentry.c:
5766         * gtk/gtklabel.c:
5767         * gtk/gtkpaned.c:
5768         * gtk/gtkstatusbar.c:
5769         * gtk/gtktextview.c: Don't install cursors on insensitive
5770         widgets.  (#358864, Jan Schampera)
5771
5772 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
5773
5774         * gtk/gtkrecentmanager.h:
5775         * gtk/gtkprintoperation.c: Fix doc typos.  (#370909,
5776         Shiino Yuki)
5777
5778         * gtk/gtkstyle.c (gtk_style_attach): Clarify docs.  (#353423,
5779         Christian Persch)
5780
5781         * gtk/gtkentry.c (blink_cb):
5782         * gtk/gtktextview.c (blink_cb): Don't die in an assertion
5783         if focus went missing. Just warn, clean up and continue.
5784         (#374378)
5785
5786 2006-12-29  Carlos Garnacho  <carlosg@gnome.org>
5787
5788         * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
5789         originally received the event is a notebook page. (#315440, reported
5790         by Mateusz Stefek)
5791
5792 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
5793
5794         * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
5795         Paolo Borelli)
5796
5797 2006-12-29  Matthias Clasen  <mclasen@redhat.com>
5798
5799         * tests/prop-editor.c: Display children of containers
5800         and cell renderers of cell layouts.
5801
5802         * gtk/gtk.symbols:
5803         * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
5804         New function to get the cell renderers of a cell layout.
5805
5806         * gtk/gtktreeviewcolumn.c:
5807         * gtk/gtkcellview.c:
5808         * gtk/gtkiconview.c: Implement get_cells.
5809
5810 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
5811
5812         * gtk/gtkiconview.c: Use word wrapping by default, and
5813         center multiline labels.  (#318763, Ross Burton)
5814
5815         * gtk/gtkcellrenderertext.c (get_layout): Remove a special
5816         case for single-line layouts.
5817
5818 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
5819
5820         * gtk/gtkarrow.c: Fix a typo in the docs.  (#390423,
5821         David Lodge)
5822
5823         * gtk/gtkuimanager.c (update_node): Only use the results
5824         of find_menu/toolbar_position() if they succeed. May fix
5825         bug #388041.
5826
5827 2006-12-28  Matthias Clasen  <mclasen@redhat.com>
5828
5829         * gdk/gdk.c: Fix some formatting errors in docs.  
5830
5831 2006-12-28  Tor Lillqvist  <tml@novell.com>
5832
5833         * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
5834         (gtk_status_icon_update_image): Don't leak HICONs on
5835         Win32. (#364868, Hiroyuki Yamamoto)
5836
5837 2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
5838
5839         Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
5840
5841         * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
5842         * gtk/gtkmarshalers.list: add new marshaler definition.
5843         * gtk/gtkenums.h: add GtkDragResult enum.
5844
5845         * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
5846         operation wasn't successful.
5847         (_gtk_drag_source_handle_event) (gtk_drag_drop)
5848         (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
5849         (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
5850         (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
5851         gtk_drag_drop_finished() the operation result.
5852
5853         * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
5854         (gtk_notebook_drag_data_get): do not call window creation hook here.
5855         (gtk_notebook_init): do not set "application/x-rootwindow-drop"
5856         target, instead connect to "drag-failed".
5857         (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
5858
5859 2006-12-28  Mikael Hallendal  <micke@imendio.com>
5860
5861         * gdk/quartz/gdkevents-quartz.c: Factored out the event loop 
5862         integration into gdkeventloop-quartz.c.
5863
5864         * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
5865
5866         * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop 
5867         integration.
5868
5869 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5870
5871         * modules/printbackends/lpr/gtkprintbackendlpr.c 
5872         (gtk_print_backend_lpr_print_stream): Close the io channel
5873         on unref.  (#390159, Joe Markus Clarke)
5874
5875 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5876
5877         * gdk/gdk.h: Remove redundant declarations (#390097,
5878         Christian Persch)
5879
5880 2006-12-27  Kristian Rietveld  <kris@gtk.org>
5881
5882         Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
5883
5884         * gtk/gtksettings.c (gtk_settings_class_init): add new setting
5885         gtk-alternative-sort-arrows.
5886
5887         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
5888         new setting.
5889
5890         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
5891         gtk-alternative-sort-arrows setting to true.
5892
5893         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
5894         invert direction if gtk-alternative-sort-arrows is TRUE.
5895
5896 2006-12-27  Tor Lillqvist  <tml@novell.com>
5897
5898         * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
5899         gtk_status_icon_set_screen.
5900
5901         * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
5902         on Windows. Keep track of where the last button click on the
5903         taskbar icon took place, and return that. Obviously not correct if
5904         no button has ever been clicked on the icon, or if the geometry of
5905         the taskbar has changed since. But for most use cases where a menu
5906         is going to be displayed as a direct result of a button click on
5907         the status icon, works fine. (#377349)
5908
5909         Implement getting the orientation property on Windows.
5910
5911         (gtk_status_icon_embedded_changed)
5912         (gtk_status_icon_orientation_changed): Ifdefify these functions
5913         that are used only on X11.
5914
5915 2006-12-27  Tor Lillqvist  <tml@novell.com>
5916
5917         * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
5918         typo. (#390035, Kazuki Iwamoto)
5919
5920 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5921
5922         * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
5923
5924         * gtk/gtkcombobox.c (gtk_combo_box_set_model):
5925         (gtk_combo_box_unset_model): Handle repeated unsetting
5926         of models without warnings.  (#367529, Robert Ancell)
5927
5928 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5929
5930         * modules/printbackends/cups/gtkcupsutils.c: 
5931         * modules/printbackends/cups/gtkprintbackendcups.c: Use
5932         getters for http fields where available.  (#364866, 
5933         Björn Lindqvist)
5934
5935 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5936
5937         * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
5938         (#362614, Xan Lopez)
5939
5940 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5941
5942         * gtk/gtkuimanager.c (update_node): If a required action
5943         is missing, don't recurse over the children.  (#349119,
5944         Chris Moller)
5945
5946 2006-12-27  Matthias Clasen  <mclasen@redhat.com>
5947
5948         Fix a few problems with nested menus in comboboxes
5949         (#386694, Yevgen Muntyan)
5950
5951         * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
5952         connect the activate callback.
5953         (gtk_combo_box_menu_item_activate): Do nothing if called on
5954         an item with a submenu.
5955         (gtk_combo_box_menu_row_deleted): Remove a submenu when it
5956         is empty.
5957
5958 2006-12-26  Mariano Suárez-Alvarez  <mariano@gnome.org>
5959
5960         * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
5961         filechooser button. Bug 353196.
5962
5963 2006-12-26  Kristian Rietveld  <kris@gtk.org>
5964
5965         * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
5966         the search dialog timeout never to be refreshed. (#389581,
5967         Andrzej Szombierski).
5968
5969 2006-12-26  Kristian Rietveld  <kris@gtk.org>
5970
5971         Lots of scrolling fixes.  Made scrolling work properly in not fully
5972         validated tree views; fixed a bunch of corner cases.
5973
5974         * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
5975         upper - page_size, we know it is located at the end so the test for
5976         dy + height has been dropped.
5977         In the same case if area_below < 0, we know this is the last node
5978         in the tree view so area_above is page_size - height of this row.
5979         (validate_visible_area): got rid of subtracting new_height -
5980         old_height from area_{below,above}, it didn't make any sense at
5981         all and the full height of the row should be subtracted instead.
5982         (validate_visible_area): when scrolling to a given path, set the
5983         top row directly together with the dy offset, then sync that top_row
5984         to the dy.
5985         (gtk_tree_view_set_top_row): new function to directly set a top_row.
5986         (gtk_tree_view_dy_to_top_row): refactored to use
5987         gtk_tree_view_set_top_row().
5988         (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
5989         (gtk_tree_view_adjustment_changed): only update our dy and
5990         top_row if the adjustment's dy actually changed.
5991
5992 2006-12-26  Christian Persch  <chpe@cvs.gnome.org>
5993
5994         * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
5995         Return the correct value from gtk_notebook_insert_page if the
5996         page-added handler reorders the tabs. Bug #345094.
5997
5998 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
5999
6000         Fix small regressions in GtkNotebook tab detaching. Bug #378852.
6001
6002         * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
6003         scrolling when hovering with a detached tab.
6004         (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
6005         focus tab has changed during a tab DND operation.
6006         (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
6007         (gtk_notebook_paint): do not take cur_page as a reference to paint the
6008         box if it's detached.
6009         (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
6010         to the detached tab if we hover the arrows during a tabs detaching 
6011         operation, do not allocate it unconditionally in 0,0.
6012
6013 2006-12-26  Carlos Garnacho  <carlosg@gnome.org>
6014
6015         Expose improvements for GtkNotebook. Bug #383435
6016
6017         * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
6018         labels.
6019         (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
6020         (gtk_notebook_draw_tab): do not send handmade expose events to tab
6021         labels.
6022
6023 2006-12-26  Matthias Clasen  <mclasen@redhat.com>
6024
6025         * gtk/gtkfilesystemunix.c (execute_callbacks): Return
6026         FALSE.  (#389623, Carlos Garnacho Parro)
6027
6028         * gtk/gtkrange.c (stop_scrolling): Avoid spurious
6029         redraws.
6030
6031 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6032
6033         * gtk/gtkplug.c: (gtk_plug_construct_for_display),
6034         (gtk_plug_unrealize): Notify the "embedded" property also on
6035         normal construction and when destroying the socket window.
6036         Bug #388738.
6037
6038 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6039
6040         * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
6041         (gtk_about_dialog_init), (display_credits_dialog),
6042         (display_license_dialog):
6043         * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
6044         (gtk_file_chooser_dialog_init),
6045         (gtk_file_chooser_dialog_constructor),
6046         (gtk_file_chooser_dialog_unmap):
6047         * gtk/gtkrecentchooserdefault.c:
6048         (_gtk_recent_chooser_default_init):
6049         * gtk/gtkrecentchooserdialog.c:
6050         (gtk_recent_chooser_dialog_class_init),
6051         (gtk_recent_chooser_dialog_init),
6052         (gtk_recent_chooser_dialog_constructor),
6053         (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
6054         instead of using style-set handlers. Fix the filechooser's spacing
6055         between content and action area to 12px. Bug #372447.
6056
6057 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6058
6059         * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
6060         Don't assume statusbar->label is the statusbar's frame's child when
6061         shrinking the size allocation when the grip is shown. Bug #372452.
6062
6063 2006-12-25  Christian Persch  <chpe@cvs.gnome.org>
6064
6065         * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
6066         (add_custom_paper): Fix mem leaks. Bug #389194.
6067
6068 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
6069
6070         * gtk/gtktextutil.c: Remove debug output.
6071
6072         * gtk/gtktextview.c: Improve the DND scrolling
6073         behaviour.  (#92387, Carlos Garnacho Parro)
6074
6075         * gtk/gtkaccellabel.c: Improve translators comments.  
6076         (#389298, Christian Persch)
6077
6078 2006-12-24  Bastien Nocera  <hadess@hadess.net>
6079
6080         * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
6081         (#389183)
6082
6083 2006-12-24  Christian Persch  <chpe@cvs.gnome.org>
6084
6085         * docs/reference/gtk/gtk-sections.txt:
6086         * gtk/gtk.symbols:
6087         * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
6088         * gtk/gtkprinter-private.h:
6089         * gtk/gtkprinter.c: (gtk_printer_list_papers):
6090         * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
6091
6092 2006-12-24  Carlos Garcia Campos  <carlosgc@gnome.org>
6093
6094         * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
6095         when is selected in page setup dialog. Fixes bug #365047.
6096
6097 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
6098
6099         * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
6100         Use gtk_border_free when freeing border.
6101
6102 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
6103
6104         * gtk/gtkentry.c (gtk_entry_button_press): When
6105         shift-clicking, keep the larger part of the selection
6106         selected.  (#353709, Benjamin Otte)
6107
6108         * gtk/gtkbutton.c (gtk_button_get_props): Use 
6109         gtk_border_free when freeing borders.
6110
6111         * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
6112         careful when faking a button release.  (#323146,
6113         Travis Abbott)
6114
6115         * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
6116         handle with the right orientation, depending on the
6117         position of the handlebox.  (#159764, Benjamin Berg)
6118
6119 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
6120
6121         * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
6122         GtkBorder (#383557).
6123
6124 2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
6125
6126         Bug 340141 – Update to Pango 1.16 API
6127
6128         * gdk/gdkpango.c (layout_iter_get_line_clip_region),
6129         (gdk_pango_layout_line_get_clip_region):
6130         * gtk/gtkcalendar.c (gtk_calendar_size_request):
6131         * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
6132         (get_layout_position), (gtk_entry_find_position),
6133         (gtk_entry_adjust_scroll):
6134         * gtk/gtkiconview.c (get_pango_text_offsets):
6135         * gtk/gtklabel.c (get_cursor_direction):
6136         * gtk/gtkstyle.c (get_insensitive_layout):
6137         * gtk/gtktextdisplay.c (render_para):
6138         * gtk/gtktextlayout.c (allocate_child_widgets),
6139         (find_display_line_below), (find_display_line_above),
6140         (gtk_text_layout_move_iter_to_previous_line),
6141         (gtk_text_layout_move_iter_to_next_line),
6142         (gtk_text_layout_move_iter_to_line_end),
6143         (gtk_text_layout_iter_starts_line),
6144         (gtk_text_layout_move_iter_to_x):
6145         * gtk/gtktextutil.c (limit_layout_lines):
6146         Use the _readonly version of pango_layout_iter_get_line(),
6147         pango_layout_iter_get_run(), pango_layout_get_line(), and
6148         pango_layout_get_lines().
6149
6150         * gtk/gtkmain.c (gtk_get_default_language): Use
6151         pango_get_default_language().
6152
6153 2006-12-24  Matthias Clasen  <mclasen@redhat.com>
6154
6155         * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
6156         and notify:text only once. The same fix was applied
6157         for replacing the selection via DND or copy-and-paste.
6158         (#64998, Damon Chaplin, Sven Herzberg)
6159
6160 2006-12-23  Matthias Clasen  <mclasen@redhat.com>
6161
6162         * gtk/gtkimmulticontext.c: Be careful to not override
6163         GTK+ translations with the translations of the input
6164         method.  (#317080, Tor Lillqvist)
6165
6166         * modules/input/imcedilla.c: Use standard macros
6167         for translation domain and locale dir.
6168
6169         * gtk/gtkimcontextsimple.c: Allow composing l with 
6170         stroke.  (#349638, Daniel Lublin)
6171
6172         * gtk/gen-paper-names.c: Fix a thinko in the suffix
6173         calculation.  (#382369, Christian Persch)
6174
6175         * gtk/paper_names_offsets.c: Regenerated.
6176
6177 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6178
6179         * modules/engines/pixbuf/pixbuf.h:
6180         * modules/engines/pixbuf/pixbuf-rc-style.h:
6181         * modules/engines/pixbuf/pixbuf-style.h: Move 
6182         G_GNUC_INTERNAL before function declarations.  (#352276,
6183         Damien Carbery)
6184
6185 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6186
6187         * demos/gtk-demo/*.c: Fix some leaks.  (#348108, Chris
6188         Wilson)
6189
6190 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6191
6192         * *.c: Replace a lot of idle and timeout calls by
6193         the new gdk_threads api. 
6194
6195         * gdk/gdk.symbols:
6196         * gdk/gdk.h:
6197         * gdk/gdk.c: Add functions to allow threadsafe handling
6198         of idles and timeouts wrt. to the GDK lock.  (#321886,
6199         Chris Wilson)
6200         
6201 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6202         
6203         * gdk/gdkpango.c: Use pango_cairo_show_error_underline.  
6204         (#340141, Behdad Esfahbod)
6205
6206         * configure.in: Check for getc_unlocked.
6207
6208         * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
6209         unavailable.   (#381499)
6210
6211         * tests/teststatusicon.c: Fix a typo
6212
6213 2006-12-22  Matthias Clasen  <mclasen@redhat.com>
6214
6215         Make it possible to track the embeddedness of
6216         statusicon (#387215, Martyn Russell, patch by Christian
6217         Persch)
6218
6219         * gtk/gtkstatusicon.c: Add orientation and embedded properties.
6220         * gtk/gtkplug.c: 
6221         * gtk/gtkplug-x11.c: Add an embedded property.
6222         * tests/teststatusicon.c: Test the new properties.
6223
6224         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
6225         leak draw_border.  (#387170, Kjartan Maraas)
6226
6227 2006-12-21  Matthias Clasen  <mclasen@redhat.com>
6228
6229          * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
6230         Typo fix.  (#388123, Murray Cumming)
6231         
6232         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
6233         Generate double-click events.  (#380421, Tommi Komulainen)
6234
6235         * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
6236         (_gdk_input_enter_event): Correct return_if_fail checks.
6237         (#379803, Tommi Komulainen)
6238
6239         * gdk/gdkdisplay.c: Improve the docs of some functions operating
6240         on the default display.  (##353438, Mariano Suárez-Alvarez)
6241
6242 2006-12-21  Matthew Barnes  <mbarnes@redhat.com>
6243
6244         * docs/reference/gdk/gdk-sections.txt:
6245         * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
6246         converting a GdkColor to a string (#373856).
6247
6248         * configure.in: Bump pango requirement to 1.15.2.
6249
6250 2006-12-20  Matthias Clasen  <mclasen@redhat.com>
6251         
6252         * gdk/keynames.txt: Mark arrow keys as translatable.  (#369506,
6253         Bastian Nocera)
6254
6255         * gdk/keyname-table.h: Regenerated
6256
6257         * gtk/gtktextbuffer.c: Add signal documentation.  (#317064,
6258         Søren Wedel Nielsen)
6259
6260         * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
6261         Silently return if a drag is already in progress, rather
6262         than asserting.  (#335622, Li Yuan, testcase by Erwann Chenede)
6263
6264         * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
6265         Allow any GtkDialog that implements GtkFileChooser as
6266         dialog.  (#335473, Tommi Komulainen)
6267
6268 2006-12-20  Mikael Hallendal  <micke@imendio.com>
6269
6270         * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
6271         change in the quartz backend.
6272
6273 2006-12-20  Mikael Hallendal  <micke@imendio.com>
6274
6275         * gtk/Makefile.am: Added gtkstatusicon-quartz.c
6276         * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
6277         status icon.
6278         * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
6279
6280 2006-12-19  Matthias Clasen  <mclasen@redhat.com>
6281
6282         * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
6283         format of page ranges, and improve the page sequence icon
6284         for the case of n_copies == 1.
6285  
6286 2006-12-19  Mikael Hallendal  <micke@imendio.com>
6287
6288         * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
6289         routine so that it can be used from libgtk as well (needed for
6290         upcoming GtkStatusIcon support in the Quartz port).
6291         * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
6292         created from GDK, this is not true for the status icon.
6293         * gdk/quartz/gdkprivate-quartz.h:
6294         * gdk/quartz/gdkquartz.h: Added 
6295         gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to 
6296         the status icon code.
6297
6298 2006-12-16  Tristan Van Berkom <tvb@gnome.org>
6299
6300         * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
6301         gtk_message_dialog_set_image ()
6302
6303         * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
6304         (setting "window-placement-set" could result in a crash because
6305         of boolean/enum mixup)
6306
6307 2006-12-15  Federico Mena Quintero  <federico@novell.com>
6308
6309         Merged from gtk-2-10:
6310
6311         * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
6312         the case where the new title is the same as the old title, to
6313         preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
6314         equivalent).  Handle the case where title == priv->title.  This
6315         was found by the LSB compatibility tests:
6316         https://bugzilla.novell.com/show_bug.cgi?id=223882
6317
6318 2006-12-15  Dom Lachowicz <domlachowicz@gmail.com>
6319
6320         * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
6321         more closely resemble its Win32 counterpart. Bug #340204.
6322
6323 2006-12-14  Carlos Garnacho  <carlosg@gnome.org>
6324
6325         * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
6326         placed inside their GdkWindow. Bug #385672.
6327
6328 2006-12-14  Christian Persch  <chpe@cvs.gnome.org>
6329
6330         * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
6331
6332 2006-12-13  Dom Lachowicz <domlachowicz@gmail.com>
6333
6334         * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks 
6335         drawn with extra line below tab in MS-Windows theme. Patch by 
6336         Cody Russell
6337         
6338 2006-12-13  Matthias Clasen  <mclasen@redhat.com>
6339
6340         * gtk/Makefile.am: Add --unlink-tempfile to the evince call
6341         for print preview.  (#370041, Ghee Teo)
6342
6343 2006-12-11  Matthias Clasen  <mclasen@redhat.com>
6344
6345         * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
6346         careful when overdrawing antialiased text.  (#352435, Alex Jones,
6347         patch by Benjamin Otte)
6348
6349         * gtk/gtksettings.c: Change the way in which color scheme information
6350         is merged to correctly handle vanishing colors.  (#374420, 
6351         Benjamin Berg, patch by Callum McKenzie) 
6352         Also allow to separate entries in color schemes by ';' 
6353         instead of newline.  
6354
6355 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
6356
6357         * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option): 
6358         Properly pass multi-value options to cups.  (#355350, Jürg Billeter) 
6359
6360 2006-12-10  Kristian Rietveld  <kris@gtk.org>
6361
6362         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
6363         cancel editing (ie. don't accept changes) when the entry loses
6364         focus. (Fixes #164494, reported by Chris Rouch).
6365
6366 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
6367
6368         * configure.in: Correct a misapplied patch. 
6369
6370 2006-12-10  Tor Lillqvist  <tml@novell.com>
6371
6372         * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
6373         gtk-query-immodules-2.0.exe in the runtime zipfile instead of
6374         developer zipfile. Users might add pixbuf loaders or immodules
6375         even if they are not interested in developing gtk+-using software.
6376
6377 2006-12-10  Matthias Clasen  <mclasen@redhat.com>
6378
6379         * configure.in: Check for crt_extern.h and _NSGetEnviron.
6380         * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
6381         environ is not available.  (#384168, Min Sik Kim)
6382
6383 2006-12-07  Paolo Maggi  <paolo@gnome.org>
6384
6385         Fixes bug #383407
6386         
6387         * gtk/gtkentry.c (gtk_entry_set_text): check for
6388         completion->priv->changed_id > 0 before calling 
6389         g_signal_handler_[un]block.
6390         (gtk_entry_completion_key_press): does not block/unblock the "changed"
6391         signal before calling gtk_entry_set_text.
6392         
6393 2006-12-07  Carlos Garnacho  <carlosg@gnome.org>
6394
6395         * gtk/gtkcellrendererprogress (compute_dimensions): do not use
6396         xthickness/ythickness, they aren't used any longer for drawing.
6397
6398 2006-12-07  Matthias Clasen  <mclasen@redhat.com>
6399
6400         * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
6401         underlines by giving labels a small draw-border.
6402
6403 2006-12-06  Kristian Rietveld  <kris@gtk.org>
6404
6405         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
6406         draw progress bar through theme engine instead of using our own
6407         custom cairo drawing code (#377244, patch from Carlos Garnacho).
6408
6409 2006-12-06  Matthias Clasen  <mclasen@redhat.com>
6410
6411         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
6412         Update the sensitivity of the collate checkbutton more frequently,
6413         proposed by Tim Waugh.
6414
6415 2006-12-04  Matthias Clasen  <mclasen@redhat.com>
6416
6417         * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
6418         since we no longer set window titles.
6419
6420 2006-12-04  Christian Persch  <chpe@cvs.gnome.org>
6421
6422         * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
6423         (gtk_page_setup_set_paper_size): Don't leak the old page size when
6424         setting a new one. Bug #382314.
6425
6426 2006-12-03  Michael Natterer  <mitch@gimp.org>
6427
6428         * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
6429
6430 2006-12-03  Kristian Rietveld  <kris@gtk.org>
6431
6432         Make sure [xy]_offset are always being initialized, fix pixbuf
6433         renderer padding.  (#108235, Sven Neumann).
6434
6435         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
6436         (gtk_cell_renderer_pixbuf_render): add padding in _render instead
6437         of _get_size.
6438
6439         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
6440         always initialize [xy]_offset.
6441         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
6442         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
6443         ditto.
6444
6445 2006-12-03  Kristian Rietveld  <kris@gtk.org>
6446
6447         * gtk/gtktreeview.c (validate_visible_area): when not using an
6448         explicit alignment, use the full area of the row (not just dy)
6449         to determine how to implicitly align it.  (Fixes #363191, reported
6450         by Federico Mena Quintero).
6451
6452 2006-12-02  Matthias Clasen  <mclasen@redhat.com>
6453
6454         * gtk/gtkicontheme.c (insert_theme): Properly clean up
6455         if an icon theme index file has no directories.  (#381236)
6456
6457 2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>
6458
6459         * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks 
6460         not with PositionType.Top drawn incorrectly. Patch by Cody Russell
6461         
6462 2006-11-28  Behdad Esfahbod  <behdad@gnome.org>
6463
6464         Remove the broken Thai input method and add a functional Thai and Lao
6465         input method by Theppitak Karoonboonyanan. (#81031)
6466
6467         * modules/input/imthai.c:
6468         * modules/input/gtkimcontextthai.c:
6469         * modules/input/gtkimcontextthai.h:
6470         * modules/input/thai-charprop.c:
6471         * modules/input/thai-charprop.h:
6472         Added.
6473
6474         * modules/input/imthai-broken.c:
6475         Removed.
6476         
6477         * modules/input/Makefile.am:
6478         Updated.
6479
6480 2006-11-27  Christian Persch  <chpe@cvs.gnome.org>
6481
6482         * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
6483
6484 Mon Nov 27 12:27:06 2006  Tim Janik  <timj@imendio.com>
6485
6486         * gtk/gtktextview.c: applied patch by  Colin Leroy for
6487         Control+GDK_KP_Left to move one word to the left, #356255.
6488
6489 2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
6490
6491         * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
6492           widget. (#379503)
6493
6494 2006-11-25  Matthias Clasen  <mclasen@redhat.com>
6495
6496         * modules/printbackends/cups/gtkprintbackendcups.c: Make
6497         print dialog work when 'BrowseShortNames Off' is specified
6498         in cups configuration. Patch by Tim Waugh.
6499
6500 2006-11-24  Michael Natterer  <mitch@imendio.com>
6501
6502         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
6503         can't go up/down, consult gtk_widget_keynav_failed() and leave the
6504         widget if it returns FALSE (bug #322640).
6505
6506 2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
6507
6508         * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
6509
6510 2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
6511
6512         * gtk/gtkrecentmanager.c:
6513         (get_uri_shortname_for_display): g_filename_from_uri() might
6514         fail; catch the failure and fall back to the non-local URI
6515         case. (#363437)
6516
6517 2006-11-19  Mark McLoughlin  <mark@skynet.ie>
6518
6519         Fixes bug #376502 - multi-screen support for GtkStatusIcon
6520
6521         * gtk/gtkstatusicon.[ch]:
6522         (gtk_status_icon_set_screen),
6523         (gtk_status_icon_get_screen): add multi-screen API. Allows
6524         an app to display an icon on a non-default screen
6525         (gtk_status_icon_class_init),
6526         (gtk_status_icon_set_property),
6527         (gtk_status_icon_get_property): add a "screen" property
6528         
6529         * tests/teststatusicon.c: update to test on multiple screens
6530
6531 2006-11-17  Matthias Clasen  <mclasen@redhat.com>
6532
6533         Fix problems with drag cancellation. (#376535, Michael Natterer)
6534         
6535         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
6536         handlers before emitting drag-end.
6537         (gtk_drag_end): Disconnect signal handlers before removing
6538         the grab.  
6539
6540 2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
6541
6542         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
6543         add gtk-doc blurb on GtkCellRendererText::edited (#376094)
6544
6545 2006-11-16  Michael Natterer  <mitch@imendio.com>
6546
6547         * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
6548         gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
6549         and gtk-keynav-wrap-around and wrap around, beep or continue outside
6550         the group manually (bug #322640).
6551
6552 2006-11-16  Michael Natterer  <mitch@imendio.com>
6553
6554         Add new infrastructure for notifications of failed keyboard
6555         navigation and navigation with restricted set of keys.
6556
6557         The patch handles configurable beeping, navigating the GUI with
6558         cursor keys only (as in phone environments), and configurable
6559         wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
6560         and #309291.
6561
6562         * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
6563         gtk-keynav-wrap-around and gtk-error-bell.
6564
6565         * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
6566         API to emit it. Added New function gtk_widget_error_bell() which
6567         looks at the gtk-error-bell setting and calls gdk_window_beep()
6568         accordingly.
6569
6570         * gtk/gtk.symbols: add the new widget symbols.
6571
6572         * gtk/gtkcellrendereraccel.c
6573         * gtk/gtkimcontextsimple.c
6574         * gtk/gtkmenu.c
6575         * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
6576         gtk-error-bell setting instead of calling gdk_display_beep()
6577         unconditionally.
6578
6579         * gtk/gtkcombobox.c
6580         * gtk/gtkentry.c
6581         * gtk/gtkiconview.c
6582         * gtk/gtklabel.c
6583         * gtk/gtkmenushell.c
6584         * gtk/gtkspinbutton.c
6585         * gtk/gtktextview.c
6586         * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
6587
6588         * gtk/gtkentry.c
6589         * gtk/gtklabel.c
6590         * gtk/gtkrange.c
6591         * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
6592         cursor navigation and leave the widget if it returns FALSE.
6593
6594         * gtk/gtkmenushell.c
6595         * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
6596         is TRUE.
6597
6598         * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
6599         whether to to wrap-around, and don't select active items on cursor
6600         navigation if gtk-keynav-cursor-only is TRUE. Should look at
6601         gtk-keynav-wrap-around too, will look into that.
6602
6603 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
6604
6605         * gtk/gtkrecentmanager.c:
6606         (gtk_recent_info_get_uri_display): Return the URI
6607         of the GtkRecentInfo object (upgraded to UTF-8 if
6608         needed) in case of non-local file. (#351945)
6609
6610 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
6611         
6612         * gtk/gtkrecentchoosermenu.c:
6613         (gtk_recent_chooser_menu_add_tip): Apply the tip only
6614         if we have a displayable name for the item. (#365031,
6615         patch by padraig.obriain(at)sun.com)
6616
6617 2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
6618
6619         * gtk/gtkrecentmanager.c: Provide a fast path returning
6620         NULL when the limit is set to 0.
6621
6622         * gtk/gtkrecentchooserdefault.c:
6623         * gtk/gtkrecentchoosermenu.c: Add the same fast path
6624         inside the RecentChooser implementation; add a check
6625         in the list clamping code. (#373466 and duplicates)
6626
6627 2006-11-15  Matthias Clasen  <mclasen@redhat.com>
6628
6629         * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
6630         Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
6631
6632 2006-11-15  Michael Natterer  <mitch@imendio.com>
6633
6634         * gtk/gtkrange.[ch]: added properties "fill-level",
6635         "show-fill-level" and "restrict-to-fill-level" and getters/setters
6636         for them. The "fill level" is an additional marker on the range's
6637         trough than can be e.g. used to indicate the amount of
6638         pre-buffering in a range showing the play position of streamed
6639         media. See the embedded API docs for details. Made GtkRangeLayout
6640         a GTypeInstance private struct and removed finalize()
6641         implementation. Fixes bug #349808
6642
6643         * gtk/gtk.symbols: added the new symbols.
6644
6645 2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
6646
6647         * configure.in: Make libtool magic robust. (#352795)
6648
6649 2006-11-13  Paolo Borelli  <pborelli@katamail.com>
6650
6651         * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
6652         leak (#370395)
6653
6654 2006-11-09  Kristian Rietveld  <kris@imendio.com>
6655
6656         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
6657         don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
6658
6659 2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
6660
6661         * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
6662
6663 2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
6664
6665         * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
6666         timeout running if the slider buttons are hidden. (#372527)
6667
6668 2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
6669
6670         * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
6671         the "Location" label bold. Bug #372449.
6672
6673 2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
6674
6675         * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
6676         non-focused tabs xthickness/ythickness thinner. (#353962)
6677
6678 2006-11-07  Paolo Borelli  <pborelli@katamail.com>
6679
6680         * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
6681         corruption (#357050).
6682
6683 2006-11-06  Alexander Larsson  <alexl@redhat.com>
6684
6685         * gtk/gtkdnd.c: (gtk_drag_begin_internal),
6686         (gtk_drag_source_info_destroy), (gtk_drag_end),
6687         (gtk_drag_grab_notify_cb):
6688         Cancel drag when the grab is shadowed. (#122688)
6689
6690 2006-11-01  Kristian Rietveld  <kris@imendio.com>
6691
6692         * gtk/gtkcombobox.c (gtk_combo_box_class_init),
6693         (gtk_combo_box_size_request): add arrow-size property to control
6694         the minimum size of the arrow, have the arrow scale up with the
6695         font by default. (#357950).
6696
6697 2006-10-30  Kristian Rietveld  <kris@gtk.org>
6698
6699         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
6700         forget to queue a draw for the new cursor node. (Fixes #366548,
6701         reported by Sven Herzberg).
6702
6703 2006-10-30  Michael Natterer  <mitch@imendio.com>
6704
6705         * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
6706         only if we actually cancel a drag. Fixes bug #58389.
6707
6708 2006-10-30  Kristian Rietveld  <kris@gtk.org>
6709
6710         * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
6711         keybindings to collapse/expand rows instead of moving the focus
6712         cursor. (#105895, Brian Bober and others).
6713
6714 2006-10-29  Kristian Rietveld  <kris@gtk.org>
6715
6716         * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
6717         child removal in row-expanded callback. (#366782, John Ellis).
6718
6719 2006-10-29  Tor Lillqvist  <tml@novell.com>
6720
6721         * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
6722         of the small icon of the window class. (#152620, Kazuki Iwamoto)
6723
6724 2006-10-29  Tor Lillqvist  <tml@novell.com>
6725
6726         * gdk/win32/gdkcursor-win32.c
6727         (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
6728         for instance the built-in GDK ones.
6729
6730 2006-10-27  Kristian Rietveld  <kris@gtk.org>
6731
6732         * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
6733         case to not overwrite the variables in the lower scope (which are
6734         used later on ...), get the path correctly and bail out when there
6735         isn't a node above us. (#359231).
6736
6737 2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
6738
6739         * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
6740
6741 2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
6742
6743         * gtk/gtk.symbols: Add missing symbols to so make check can pass
6744
6745 2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
6746
6747         * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
6748         to free GDI Pen resources, introduced by bug 340201.(#364514)
6749         
6750 2006-10-18  Kristian Rietveld  <kris@imendio.com>
6751
6752         * tests/testcombo.c (main): connect to notify::popup-shown instead of
6753         popup-show (the latter does not exist).
6754
6755 2006-10-15  Paolo Borelli  <pborelli@katamail.com>
6756
6757         * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
6758         Fixes bug #362439.
6759
6760 2006-10-12  Michael Natterer  <mitch@imendio.com>
6761
6762         * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
6763         (committed the wrong patch).
6764
6765 2006-10-12  Michael Natterer  <mitch@imendio.com>
6766
6767         * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
6768         bindings to trigger them. Removed gtk_combo_box_key_press(), it's
6769         obsolete now. Fixes bug #358293.
6770
6771 2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
6772
6773         * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
6774
6775 2006-10-11  Tor Lillqvist  <tml@novell.com>
6776
6777         * configure.in: Enable having some gdk-pixbuf loaders built-in
6778         even if loading the others dynamically. Define Automake
6779         conditional INCLUDE_FOO for each loader as TRUE if that loader is
6780         built-in. See also gdk-pixbuf/ChangeLog.
6781
6782 Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
6783
6784         * docs/reference/gtk/gtk-sections.txt:
6785         * gtk/gtkbindings.c: document gtk_binding_entry_skip().
6786
6787 2006-10-11  Tor Lillqvist  <tml@novell.com>
6788
6789         * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
6790         variable.
6791
6792 2006-10-11  Tor Lillqvist  <tml@novell.com>
6793
6794         Merge from 2.10 branch:
6795
6796         * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
6797         environment variable LC_ALL or LANG is set, set the Win32 thread
6798         locale to the corresponding locale. Then call the C library
6799         setlocale() to set the C library locale accordingly. The
6800         inconsistency mentioned below is gone. (#339756) Do some special
6801         casing for Serbia and Montenegro. Handle the Latin and Cyrillic
6802         scripts for Azeri, Uzbek and Serbian.
6803         (enum_locale_proc): Helper function for the above functionality.
6804
6805         * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
6806         if the environment variables are set here, as they have already
6807         been taken into account and the Win32 thread locale has been
6808         set.
6809
6810 Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
6811
6812         * gtk/tmpl/gtkbindings.sgml: 
6813         * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
6814         inline docs. applied wording fixes suggested by Martyn Russell.
6815
6816 2006-10-09  Matthias Clasen  <mclasen@redhat.com>
6817
6818         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
6819         Update the docs to state which out parameters may be NULL.
6820         (#360870, Attilio Fiandrotti)
6821
6822 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
6823
6824         * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
6825         a typo.  (#359542, Ghee Teo)
6826
6827 2006-10-08 Matthias Clasen <mclasen@redhat.com>
6828
6829         * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
6830         reorder tabs if the focus is in the tab.  (#350342, Carlos
6831         Garnacho Parro)
6832
6833 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
6834
6835         * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611) 
6836
6837 2006-10-08  Kristian Rietveld  <kris@gtk.org>
6838
6839         * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
6840         (gtk_tree_view_set_show_expanders),
6841         (gtk_tree_view_get_show_expanders): add getter/setter for
6842         show-expanders property, queue a redraw when this property
6843         is toggled (#351167, Martin Ejdestig),
6844         (gtk_tree_view_set_level_indentation),
6845         (gtk_tree_view_get_level_indentation): also add getter/setter
6846         and docs for level-indentation property.
6847
6848 2006-10-08  Matthias Clasen  <mclasen@redhat.com>
6849
6850         * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't 
6851         leak a list.  (#360350, Benjamin Berg)
6852
6853         * Apply a cleanup patch by Kjartan Maraas  (#341812)
6854
6855 2006-10-07  Tor Lillqvist  <tml@novell.com>
6856
6857         * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
6858         locale's first day of week setting on Win32. (#339752, Bogdan
6859         Nicula) Don't do this if one of the environment variables that
6860         affect gettext is set, though. In that case use the week start day
6861         from the corresponding message catalog.
6862
6863         Unfortunately the same logic isn't possible in the weekday and
6864         month name lookup; there even if you have set one of the
6865         aforementioned environment variables, you still get the weekday
6866         and month names from the Win32 thread locale. Yes, this is
6867         inconsistent.
6868
6869         Use only wide-character API in the Win32 code in this file, too.
6870
6871 2006-10-06  Matthias Clasen  <mclasen@redhat.com>
6872
6873         * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
6874         Fix the docs.  (#360112)
6875
6876         * gtk/gtkcellview.c: Don't set the background of the
6877         window in a no-window widget.  (#359581, Xan Lopez)
6878
6879
6880 2006-10-05  Behdad Esfahbod  <behdad@gnome.org>
6881
6882         * gtk/Makefile.am, gtk/aliasfilescheck.sh:  Propagate srcdir into the
6883         test correctly. (#359845)
6884
6885 2006-10-05  Michael Natterer  <mitch@imendio.com>
6886
6887         * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
6888         rid of a key binding (in fact, it only lets it appear unbound).
6889
6890         * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
6891         "guint marks_unbound : 1"
6892
6893         (gtk_binding_entry_skip): new API which marks the entry as unbound.
6894
6895         Changed code so it returns FALSE when "marks_unbound == TRUE" is
6896         encountered while activating bindings, effectively letting the
6897         binding appear unbound (regardless of still existing bindings in
6898         lower binding priority levels). Fixes bug #358329.
6899
6900         (gtk_binding_entry_add)
6901         (gtk_binding_entry_clear)
6902         (gtk_binding_entry_add_signall)
6903         (gtk_binding_parse_binding): deprected these functions.
6904
6905         (_gtk_binding_parse_binding)
6906         (_gtk_binding_entry_add_signall): new internal API.
6907
6908         * gtk/gtk.symbols: changed accordingly.
6909
6910 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
6911
6912         Fix interaction of GtkEntryCompletion with input
6913         methods.  (#354495, Diego Escalante Urrelo)
6914
6915         * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
6916         the im context if we actually handle the key event.
6917
6918         * gtk/gtkentrycompletion.c: Also propagate key release events
6919         to the entry.
6920
6921 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
6922
6923         * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
6924         Fix a typo.  (#359052, Ghee Teo)
6925
6926         * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
6927         reduce relocations. (#359053)
6928
6929 2006-10-03  Matthias Clasen  <mclasen@redhat.com>
6930
6931         * modules/printbackends/cups/gtkcupsutils.c:
6932         * modules/printbackends/cups/gtkprintbackendcups.c: Complete
6933         the fix for bug 357280.
6934
6935 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
6936
6937         * gdk-pixbuf/Makefile.am:
6938         * gdk/Makefile.am:
6939         * gtk/Makefile.am:
6940         Include pltcheck.sh in EXTRA_DIST.
6941
6942 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
6943
6944         * gdk/x11/gdkevents-x11.c: Move all includes before including
6945         gdkalias.h.
6946
6947 2006-10-02  Behdad Esfahbod  <behdad@gnome.org>
6948
6949         * gtk/Makefile.am: Fix typo in file name.  (#358931)
6950
6951 2006-10-02  Matthias Clasen  <mclasen@redhat.com>
6952
6953         * modules/printbackends/cups/gtkprintbackendcups.c (available_choices): 
6954         Only use the group name field if cups is new enough.  (#357280)
6955
6956         * gtk/gtksizegroup.c: Make sure that the quarks are 
6957         initialized before using them.  (#353736)
6958
6959         * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
6960         replace existing links.  (#354849, James Evans)
6961
6962 2006-10-01  Matthias Clasen  <mclasen@redhat.com>
6963
6964         * gtk/gtkexpander.c (gtk_expander_realize) 
6965         (gtk_expander_size_allocate): Make the event_window large
6966         enough to cover the full height of the label_widget.  (#358351,
6967         Scott Horowitz)
6968
6969 2006-10-01  Tor Lillqvist  <tml@novell.com>
6970
6971         * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
6972
6973 2006-09-30  Matthias Clasen  <mclasen@redhat.com>
6974
6975         * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
6976         against base_path being NULL.  (#358405, many reporters)
6977
6978 2006-09-29  Matthias Clasen  <mclasen@redhat.com>
6979
6980         * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
6981         to avoid a deadlock.
6982
6983 2006-09-27  Kristian Rietveld  <kris@imendio.com>
6984
6985         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
6986         (gtk_tree_model_filter_ref_node),
6987         (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
6988         in sync with each other and the sort model.
6989
6990 2006-09-27  Kristian Rietveld  <kris@imendio.com>
6991
6992         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
6993         (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
6994         (gtk_tree_model_filter_new): unref the virtual root path once that
6995         node (or one if its ancestors) is deleted, set virtual_root_deleted
6996         so we only unref it once.
6997
6998 2006-09-27  Kristian Rietveld  <kris@imendio.com>
6999
7000         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
7001         (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
7002         (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
7003         (gtk_tree_model_sort_free_level): bring zero ref count loops in
7004         sync,
7005         (gtk_tree_model_sort_free_level): free child levels before
7006         decreasing the zero ref count of the current level,
7007         (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
7008         is > 0.
7009
7010 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
7011
7012         * demos/gtk-demo/*.c:
7013         * gtk/gtkeventbox.c:
7014         * gtk/gtkprintoperation.c: Fix typos. String change.
7015
7016 2006-09-25  Kristian Rietveld  <kris@gtk.org>
7017
7018         * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
7019         has already been realized; scroll to background area instead of
7020         cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
7021
7022 2006-09-25  Kristian Rietveld  <kris@gtk.org>
7023
7024         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
7025         to create the GCs if the widget is realized. (Fixes #357578).
7026
7027 2006-09-25  Matthias Clasen  <mclasen@redhat.com>
7028
7029         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
7030         the list of children (#357454, Paolo Borelli)
7031
7032 2006-09-25  Michael Natterer  <mitch@imendio.com>
7033
7034         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
7035         display->input_windows with g_free(), not g_object_unref()
7036         (#357566, Tommi Komulainen).
7037
7038 2006-09-24  Kristian Rietveld  <kris@gtk.org>
7039
7040         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
7041         (gtk_cell_renderer_text_[sg]et_property): actually add align-set
7042         property to the API (left-over patch from #157439).
7043
7044 2006-09-24  Kristian Rietveld  <kris@gtk.org>
7045
7046         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
7047         the indicator if the column has a sort column id (and the model is
7048         sortable) or if the user explicitly requested the indicator
7049         to be shown.  (Fixes #352738, Chris Vine).
7050
7051 2006-09-23  Tor Lillqvist  <tml@novell.com>
7052
7053         * gtk/Makefile.am: Use EXEEXT.
7054
7055 2006-09-22  Michael Natterer  <mitch@imendio.com>
7056
7057         * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
7058         and color hashes. Fixes bug #357132.
7059
7060 2006-09-22  Matthias Clasen  <mclasen@redhat.com>
7061
7062         Make remote bookmarks work better (#354887)
7063         
7064         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): 
7065         (shortcuts_insert_path): 
7066         * gtk/gtkfilechooserbutton.c (change_icon_theme): 
7067         (model_add_bookmarks): 
7068         (model_update_current_folder): 
7069         (update_label_and_image): 
7070         If the bookmark points to a remote file, don't call get_info(), 
7071         since that may a) take a long time and b) pop up an auth dialog.
7072         Instead, just use a folder icon and create a display name
7073         from the uri.
7074
7075         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri): 
7076         New function to create a suitable display name for a remote
7077         uri. This should really be done in GtkFileSystem.
7078         
7079 2006-09-21  Michael Natterer  <mitch@imendio.com>
7080
7081        Implement lots of value setters for GdkGC, based on a heavily
7082        modified patch from Thomas Broyer (bug #328853):
7083
7084         * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
7085         on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
7086         which simply returns RGBA values from a GdkColor's pixel value.
7087         See gdk_quartz_update_context_from_gc() below.
7088
7089         * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
7090         of members for the newly suppored GC values. Added enum
7091         GdkQuartzContextValuesMask which is used for setting up the
7092         CGContext for filling and/or stroking.
7093
7094         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
7095         (gdk_quartz_gc_set_values)
7096         (_gdk_windowing_gc_copy): support a lot more GC values.
7097
7098         (gdk_quartz_update_context_from_gc): added
7099         GdkQuartzContextValuesMask parameter and set filling/stroking
7100         parameters accordingly. This function also gained full control
7101         over the FG and BG colors (they can't be set separately any more).
7102
7103         The stipple mask part of the patch doesn't work but seems to take
7104         the right approach and doesn't make things worse, so I applied it.
7105
7106         Did *not* apply the clipping part of the patch since I don't
7107         understand it (I don't understand the version in CVS either, but
7108         it at least works :-)
7109
7110         * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
7111         gdk_quartz_update_context_from_gc() and removed separate color
7112         setting calls. Some minor fixes.
7113
7114         * gdk/quartz/gdkwindow-quartz.c
7115         (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
7116         fill color manually. We don't have/need a GC here.
7117
7118 2006-09-21  Michael Natterer  <mitch@imendio.com>
7119
7120         * gdk/quartz/gdkwindow-quartz.c
7121         (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
7122         drawable_impl->wrapper that is the GdkWindow, not the
7123         drawable_impl itself.
7124
7125 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
7126
7127         * gdk/x11/gdkkeys-x11.c:
7128           (get_direction): just check the first shift-level of keyboard
7129         layout for RTL and LTR keysyms() (compliment to #116626)
7130
7131 Wed Sep 20 16:59:38 2006  Tim Janik  <timj@imendio.com>
7132
7133         * gtk/gtkviewport.c: always update the bin_window position and size
7134         in size_allocate, even if we don't have a visible child. this fixes
7135         expose artefacts as described in #313508.
7136
7137         * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
7138         have no visible child explicit.
7139
7140 2006-09-19  Ryan Lortie  <desrt@desrt.ca>
7141
7142         * docs/reference/gdk/gdk-sections.txt:
7143         * gdk/gdk.symbols:
7144         * gdk/gdkpango.h:
7145         * gdk/gdkpango.c: Bug 355343.  Add a GdkPangoAttrEmbossColor.
7146           (gdk_pango_layout_get_clip_region): Remove an unused variable.
7147           (gdk_pango_attr_embossed_new): Fix documentation.
7148
7149 Tue Sep 19 17:00:04 2006  Tim Janik  <timj@imendio.com>
7150
7151         * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to 
7152         control the arrow/border ratio within the allocation.
7153
7154         * tests/testgtk.c: added a GtkArrow to handle box test.
7155
7156         * tests/testgtkrc: test ::arrow-scaling property.
7157
7158 2006-09-19  Matthias Clasen  <mclasen@redhat.com>
7159
7160         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7161         Display an error when we come to the root.  
7162
7163 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
7164
7165         * gtk/gtkfilechooserbutton.c: Use bookmark labels in 
7166         the combobox. 
7167
7168         * gtk/gtkfilechooserbutton.c: Don't add remote volumes and 
7169         bookmarks to the model in local-only mode, to avoid 
7170         authentication dialogs pop up for invisible bookmarks, and
7171         to fix issues with separators not being hidden when
7172         they should.  (#354887, Dennis Cranston)
7173
7174 2006-09-16  Matthias Clasen  <mclasen@redhat.com>
7175
7176         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
7177         treeview use in list mode.  (#355732, Richard Hult)
7178
7179         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
7180         change notification for the right property.  (#355308,
7181         Torsten Schoenfeld)
7182
7183 2006-09-15  Michael Natterer  <mitch@imendio.com>
7184
7185         * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
7186         header navigation/resizing/reordering to be more readable and lose
7187         one level of nesting.
7188
7189 2006-09-15  Kristian Rietveld  <kris@imendio.com>
7190
7191         * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
7192         return after handling column button focus; we disable wrap around
7193         with this (which actually happened via a really weird code path).
7194         (Michael Natterer)
7195
7196 2006-09-15  Kristian Rietveld  <kris@imendio.com>
7197
7198         * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
7199         code RTL aware, also break from the loops after we have seen the
7200         focussed column button (Michael Natterer).
7201
7202 Thu Sep 14 12:28:51 2006  Tim Janik  <timj@imendio.com>
7203
7204         * tests/testrichtext.c (main): intialize random number generator state
7205         upon program start, to enable truely random testing.
7206
7207 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
7208
7209         * gdk/directfb/gdkcolor-directfb.c small clean ups include order
7210         * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
7211         * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
7212                 GDK_DISABLE_DEPRECATED to allow compile per Behdad
7213         * gdk/quartz/Makefile.am same change as directfb Makefile
7214         * gtk/Makefile.am fixed typo that cause socket stubs not to compile
7215
7216 2006-09-13 Matthias Clasen <mclasen@redhat.com>
7217
7218         * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
7219         for the grab widget, to make the color picker work with window
7220         groups.  
7221
7222 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
7223
7224         signed off by: Dom Lachowicz
7225         
7226         * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
7227         a large number of improvements to the Microsoft Windows theme engine
7228         which are fully described in the bug report.
7229         
7230 Mon Sep 11 14:22:39 2006  Tim Janik  <timj@imendio.com>
7231
7232         * tests/testgtk.c: fixed compiler warnings.
7233
7234 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
7235
7236         * gtk/gtkfilechooserbutton.c (model_add_special): Request
7237         the display name too, otherwise "Desktop" does not appear
7238         in the file chooser button. 
7239
7240 2006-09-10  Tor Lillqvist  <tml@novell.com>
7241
7242         * gdk/win32/gdkprivate-win32.h
7243         * gdk/win32/gdkmain-win32.c
7244         * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
7245         0x0500 in gdkprivate-win32.h instead of doing it in two source
7246         files. (#355212, Mike Edenfield)
7247
7248         * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
7249         GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
7250
7251 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
7252
7253         * Commit a patch by Behdad to fix typos, omissions and other
7254         errors in the symbol aliasing, and add checks for local PLT
7255         entries.  (#354687, Behdad Esfahbod)
7256
7257         * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
7258         the flush timeout.  (#354043, Nelson Benitez)
7259         
7260         * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): 
7261         Improve wording. String change!  (#355126, David Lodge)
7262
7263         * gtk/updateiconcache.c: Improve wording. String change!  (#355128,
7264         David Lodge)
7265
7266         * gtk/paper_names_offsets.c: Fix a typo. String change!  (#355134,
7267         David Lodge)
7268
7269 2006-09-09  Matthias Clasen <mclasen@redhat.com>
7270
7271         * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
7272         (#353916, Chris Wilson)
7273
7274         * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
7275         Don't leak the to_reset list.  (#353914, Chris Wilson)
7276
7277         * gtk/gtkwidget.c: Add docs for the parent-set signal.
7278         (#353772, Mariano Suárez-Alvarez)
7279
7280 2006-09-08  Matthias Clasen <mclasen@redhat.com>
7281
7282         * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
7283         Don't clear clipboards here, since we are called from finalize
7284         and can't emit signals.
7285
7286         * configure.in: Set version to 2.11.0
7287
7288 2006-09-06  Richard Hult  <richard@imendio.com>
7289
7290         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case 
7291         shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
7292
7293 2006-09-04  Kristian Rietveld  <kris@imendio.com>
7294
7295         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7296         if setting the given folder failed, try setting the parent folder
7297         until we succeed; display an error box at the end.
7298
7299 2006-09-04  Kristian Rietveld  <kris@imendio.com>
7300
7301         * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
7302         operations spawned by buttons here,
7303         (set_button_image_get_info_cb): bail out if button is NULL, but
7304         do free button_data,
7305         (button_data_free): only free the data if non NULL (since this
7306         function can be called multiple times for the same data), cancel
7307         handle if pending but don't free button_data in this case (will
7308         happen in the callback).
7309
7310 2006-09-04  Michael Natterer  <mitch@imendio.com>
7311
7312         * gtk/gtkrc.c (rc_parse_token_or_compound)
7313         (gtk_rc_parse_assignment): serialize floating point values using
7314         locale-independent functions. (#346751, Frederic Crozat)
7315
7316 2006-09-04  Tor Lillqvist  <tml@novell.com>
7317
7318         * gdk/win32/gdkevents-win32.c
7319         * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
7320         window handling (PeekMessage, PostMessage, SendMessage,
7321         DispatchMessage, DefWindowProc, RegisterClassEx,
7322         CreateWindowEx). (#321597)
7323
7324 2006-09-03  Kristian Rietveld  <kris@imendio.com>
7325
7326         * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
7327         (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
7328         change file_exists_and_is_not_folder checks to get the file info
7329         for the path directly instead of querying the current file folder
7330         of the save entry.
7331
7332         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
7333         new field.
7334
7335         * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
7336         (test_reload_sequence), (test_button_folder_states_for_action): wait
7337         for idle after setting a folder to ensure the async operations to load
7338         the folder are finished,
7339         (test_confirm_overwrite), (test_confirm_overwrite_for_path):
7340         factor out test_confirm_overwrite code so we can add tests for more
7341         paths more easily.
7342
7343 2006-09-03  Richard Hult  <richard@imendio.com>
7344
7345         * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
7346         exposure isn't in the event mask, plug a leak, and check that the
7347         window isn't destroyed.
7348         (isOpaque): Check that the window isn't destroyed, fixes bug 
7349         #353028.
7350
7351 2006-09-03  Matthias Clasen  <mclasen@redhat.com>
7352
7353         * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.  
7354         (#354035, Mariano Suárez-Alvarez)
7355
7356         * gtk/gtkmain.c (post_parse_hook): 
7357         * gdk/gdk.c (gdk_init): Handle display_name being NULL.
7358         (#354004, Chris Wilson)
7359
7360 2006-09-03  Tor Lillqvist  <tml@novell.com>
7361
7362         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
7363         GDK_WINDOW_DISPLAY in the Win32 backend.
7364
7365         * gtk/gtkfilesystemwin32.c: Copy what Kris did to
7366         gtkfilesystemunix.c
7367
7368 2006-09-02  Kristian Rietveld  <kris@imendio.com>
7369
7370         First part of file chooser fixes.
7371
7372         * gtk/gtkfilechooserbutton.c (model_add_special): also set the
7373         handle in the model for the desktopdir case.
7374
7375         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
7376         volume in case we retrieved it but don't pass it on to insert_path,
7377         (shortcuts_model_create): change the column type for the handles
7378         to pointer instead of GObject so our handle ref counting is not
7379         disturbed,
7380         (show_and_select_paths_finished_loading): don't forget to unref
7381         the dialog.
7382
7383         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
7384         (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
7385         remove pending execute_callbacks_idle during dispose, also
7386         execute all callbacks waiting to be run in the next idle,
7387         (queue_*callback), (execute_callbacks_idle): refactor to maintain
7388         a list of callbacks to call per file system instead of globally,
7389         guard the file system during callback invocation,
7390         (gtk_file_system_unix_get_folder): only add load folder idle if
7391         none has been added yet.
7392
7393 2006-09-01  Matthias Clasen  <mclasen@redhat.com>
7394
7395         * gtk/gtkentry.c: Don't unnecessarily reset the im context
7396         when deleting the selection.  (#353803, Alex Larsson)
7397
7398 2006-09-01  Abel Cheung  <abel@oaka.org>
7399
7400         * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
7401
7402 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
7403
7404         Stop cursor blinking after a configurable timeout.
7405         (#353670, #352442, Arjan van de Ven, Manu Cornet)
7406         
7407         * gtk/gtksettings.c (gtk_settings_class_init): Add a 
7408         gtk-cursor-blink-timeout setting, which specifies the number
7409         of seconds that the cursor should blink after a user interaction.
7410         The default value is G_MAXINT to preserve the current behaviour.
7411
7412         * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
7413         seconds.
7414
7415         * gtk/gtkentry.c (gtk_entry_completion_key_press) 
7416         (gtk_entry_button_press, gtk_entry_focus_in): Reset the
7417         blink timer.
7418
7419         * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
7420         seconds. 
7421
7422         * gtk/gtktextview.c (gtk_text_view_key_press_event) 
7423         (gtk_text_view_button_press_event, gtk_text_view_focus_in_event): 
7424         Reset the blink timer.
7425         
7426 2006-08-31  Matthias Clasen  <mclasen@redhat.com>
7427
7428         * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
7429         explicit format capabilities.  (#346505, Christian Persch)
7430
7431         * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error. 
7432
7433 2006-08-31  Michael Natterer  <mitch@imendio.com>
7434
7435         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
7436
7437 2006-08-30  Richard Hult  <richard@imendio.com>
7438
7439         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
7440
7441 2006-08-30  Matthias Clasen  <mclasen@redhat.com>
7442
7443         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
7444         for beeping if we are using XKB.  
7445
7446 2006-08-29  Matthias Clasen  <mclasen@redhat.com>
7447
7448         * gdk/gdkwindow.h: 
7449         * gdk/gdk.symbols: 
7450         * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep): 
7451         * gdk/win32/gdkwindow-win32.c (gdk_window_beep): 
7452         * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): 
7453         * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
7454         to beep on a window. For X11, implement this with
7455         XkbBell.  (#353455, Mariano Suárez-Alvarez)
7456         
7457 2006-08-29  Tor Lillqvist  <tml@novell.com>
7458
7459         Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
7460         since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
7461         it isn't being maintained anyway. If somebody is interested, it
7462         can always be found in older GTK+ versions, and in CVS.
7463
7464         * configure.in
7465         * acconfig.h
7466         * gdk/Makefile.am
7467         * gdk/win32/Makefile.am
7468         * gdk/win32/libie55uid.la
7469         * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
7470         switch and associated stuff. Active IMM and the <dimm.h> header
7471         was used for IM support on NT4 and Win9x. Win2k and later have IM
7472         support built-in.
7473
7474         * gdk/win32/gdkcursor-win32.c
7475         * gdk/win32/gdkdnd-win32.c
7476         * gdk/win32/gdkdrawable-win32.c
7477         * gdk/win32/gdkevents-win32.c
7478         * gdk/win32/gdkgc-win32.c
7479         * gdk/win32/gdkglobals-win32.c
7480         * gdk/win32/gdkkeys-win32.c
7481         * gdk/win32/gdkmain-win32.c
7482         * gdk/win32/gdkproperty-win32.c
7483         * gdk/win32/gdkselection-win32.c
7484         * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
7485         and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
7486         branches, and any variables or static functions used only by the
7487         Win9x branches.
7488
7489         * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
7490         constants that aren't missing from current mingw and MSVC6
7491         headers.
7492
7493         * gdk/win32/gdkmain-win32.c
7494         * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
7495         function. On NT-based Windows GetLastError() returns error codes
7496         also for failed GDI calls, so we can use _gdk_win32_api_failed()
7497         always.
7498
7499 2006-08-29  Emmanuele Bassi  <ebassi@gnome.org>
7500
7501         * gtk/gtkrecentchoosermenu.c
7502         (gtk_recent_chooser_menu_set_current_uri): Break when an item
7503         is found and activated. (#353449, based on a patch by Jan Arne
7504         Petersen)
7505
7506 Fri Jul 14 16:13:37 2006  Tim Janik  <timj@gtk.org>
7507
7508         * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style 
7509         properties which make all hardcoded padding and spacing values
7510         configurable. properly swap ::text-xalign treatment for RTL widgets.
7511
7512         * gtk/gtkprogress.c: fixed style property blurbs. made alignment 
7513         proeprty more consistent with GtkMisc alignment blurbs. mention
7514         RTL treatment for text-xalign.
7515
7516 Tue Aug 29 11:57:40 2006  Tim Janik  <timj@imendio.com>
7517
7518         * tests/testgtk.c: allow (most) windows to be resizable.
7519         added ellipsization settings to progress bars. 
7520
7521 2006-08-28  Matthias Clasen   <mclasen@redhat.com>
7522
7523         * modules/printbackend/cups/gtkprintbackendcups.c: Use a
7524         resonable timeout of 3 seconds when polling for printer
7525         list updates, instead of 300000 seconds...
7526
7527 2006-08-28  Michael Natterer  <mitch@imendio.com>
7528
7529         * gtk/gtktextbufferserialize.c (serialize_text): don't write out
7530         </apply_tag> for tags that have already been closed by the logic
7531         which turns overlapping spans into XML-able trees. Fixes broken
7532         XML when there are overlapping tags in the buffer. Also free two
7533         leaked GLists and did some cleanup.
7534
7535         * tests/Makefile.am
7536         * tests/testrichtext.c: new test which creates randomly tagged
7537         GtkTextBuffers and serializes/deserializes them.
7538
7539 2006-08-26  Matthias Clasen  <mclasen@redhat.com>
7540
7541         * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data): 
7542         Don't leak pixbufs.  (#352264, Ross Burton)
7543
7544         * gtk/gtklinkbutton.c (set_link_underline): Don't leak
7545         PangoAttributes.  (#352391, Paolo Borelli)
7546
7547 2006-08-25  Matthias Clasen  <mclasen@redhat.com>
7548
7549         * demos/gtk-demo/Makefile.am:
7550         * demos/gtk-demo/textscroll.c: Add an example of automatic
7551         scrolling, thanks to Yevgen Muntyan.  (#351206)
7552         
7553         * gtk/gtkmodules.c (find_module): Use local binding when
7554         loading modules.  (#351868)
7555
7556 2006-08-24  Michael Natterer  <mitch@imendio.com>
7557
7558         * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
7559         the hostname instead of NULL.
7560
7561 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
7562
7563         * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
7564         names and values in comboboxes, and clean up some
7565         coding style issues.
7566
7567 2006-08-23  Tor Lillqvist  <tml@novell.com>
7568
7569         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
7570         Revert unintended translatable string addition. Use same string
7571         in GError as in gtkfilesystemunix.c.
7572
7573         * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
7574         Fix logic at the end of strings. 
7575
7576         * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
7577         handles and check that we have no outstanding handles at
7578         finalization time. (Copying what Matthias did for
7579         gtkfilesystemunix.c)
7580
7581 2006-08-23  Matthias Clasen  <mclasen@redhat.com>
7582
7583         * gtk/gtkfilesystemunix.c: Maintain a hash table
7584         of live handles and check that we have no outstanding
7585         handles at finalization time. (Copying what
7586         Federico did for gtkfilesystemgnomevfs.c)
7587
7588 2007-08-22  Matthias Clasen  <mclasen@redhat.com> 
7589
7590         * Branch for 2.10
7591