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