1 2007-09-10 Kjartan Maraas <kmaraas@gnome.org>
3 * gtk/gtkentry.c: Fix some typos. Closes bug #475400.
5 2007-09-10 Behdad Esfahbod <behdad@gnome.org>
7 * gdk/x11/gdkgeometry-x11.c (gdk_window_queue),
8 (_gdk_window_process_expose): Fix serial number comparison regression
9 introduced recently. (#474897)
11 2007-09-10 Richard Hult <richard@imendio.com>
13 * gtk/gtksearchenginesimple.h: Build fix, correct a typo in the
14 G_BEGIN_DECLS fix below.
16 2007-09-10 Matthias Clasen <mclasen@redhat.com>
18 * gtk/gtksearchenginesimple.h: Replace a duplicate G_END_DECLS by
19 G_BEGIN_DECLS. (#475439, Nigel Tao)
21 2007-09-10 Kristian Rietveld <kris@imendio.com>
23 * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_construct_contents):
24 when creating a new box, be sure to transfer a possible tooltip from
25 the old to the new box. (Fixes #458283, reported by Christian Persch).
27 2007-09-10 Kristian Rietveld <kris@imendio.com>
29 * gtk/gtktreeview.c (gtk_tree_view_key_press): only start
30 typeahead search if tree_view has focus (and not one of the column
33 2007-09-09 Matthias Clasen <mclasen@redhat.com>
35 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove
36 update_idle here. Might fix #383003.
38 2007-09-09 Matthias Clasen <mclasen@redhat.com>
40 * gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a
41 bounding box test that will avoid getting the individual cell
42 boxes if they haven't been calculated yet. (#404541)
44 2007-09-09 Matthias Clasen <mclasen@redhat.com>
47 * gtk/gtkradioaction.c:
48 * gtk/gtkrecentaction.c:
49 * gtk/gtktoggleaction.c: Update the documentation to mark
50 the optional constructors parameters. The GtkAction::name
51 property is required, instead, as it is used by GtkUIManager
52 to find the action object from the XML. (#450032, Murray Cumming,
53 patch by Emmanuele Bassi)
55 2007-09-09 Matthias Clasen <mclasen@redhat.com>
57 * modules/printbackends/lpr/gtkprintbackendlpr.c:
58 * modules/printbackends/cups/gtkcupsutils.c:
59 * modules/printbackends/cups/gtkprintbackendcups.c: Include
60 config.h first. (#467719)
62 2007-09-09 Matthias Clasen <mclasen@redhat.com>
64 * gtk/gtklinkbutton.c:
65 * gtk/gtkrecentfilter.c:
66 * gtk/gtkprinteroptionwidget.c: Remove trailing commas from
67 enumerations, since some compilers don't like them. (#467717)
69 2007-09-09 Matthias Clasen <mclasen@redhat.com>
71 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
72 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Don't
73 assume that a path of depth 0 has no indices. (#467324, Szilard
76 2007-09-09 18:22:28 Tim Janik <timj@gtk.org>
78 * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid
79 list node accesses, spotted by Benjamin Berg, bug #475158.
81 2007-09-09 Kristian Rietveld <kris@gtk.org>
85 2006-10-30 Kristian Rietveld <kris@gtk.org>
87 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
88 keybindings to collapse/expand rows instead of moving the focus
89 cursor. (#105895, Brian Bober and others).
91 2007-09-09 Matthias Clasen <mclasen@redhat.com>
95 * README.in: Add a note about bug 463773.
97 2007-09-08 Matthias Clasen <mclasen@redhat.com>
99 * gtk/gtkstyle.c (draw_insertion_cursor): Revert the clamping
100 of cursor coordinates, since it causes really ugly drawing
101 artifacts with horizontal scrolling. (#471215, Yevgen Muntyan)
103 2007-09-08 Matthias Clasen <mclasen@redhat.com>
105 * gtk/gtkentrycompletion.c:
106 * gtk/gtkentry.c: Apply a number of patches by Xan Lopez
107 to improve the interaction between actions and inline
110 2007-09-07 Matthias Clasen <mclasen@redhat.com>
112 * gtk/gtktoolbar.c: Use g_slice for ToolbarContent.
113 (#474696, Christian Persch)
115 2007-09-07 Matthias Clasen <mclasen@redhat.com>
117 * gtk/gtkprintunixdialog.c: Add an internal child name for
118 the notebook, so that GtkBuilder can be used to add custom tabs.
119 (#472951, Christian Persch)
121 2007-09-07 Matthias Clasen <mclasen@redhat.com>
123 * gtk/updateiconcache.c (get_image_meta_data_size): Don't
124 use image->attach_points where image->n_attach_points was meant.
125 Pointed out by Albert Chin.
127 2007-09-07 Wouter Bolsterlee <wbolster@svn.gnome.org>
129 * modules/printbackends/cups/gtkcupsutils.c:
130 (_post_send): Fix typo that broke the build.
132 2007-09-07 Matthias Clasen <mclasen@redhat.com>
134 * configure.in: Check for the cups function httpGetAuthString().
136 * modules/printbackends/cups/gtkcupsutils.c: Use httpGetAuthString()
137 if available. (#467414, Claudio Saavedra)
139 2007-09-07 Kristian Rietveld <kris@gtk.org>
141 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
142 (gtk_combo_box_cell_layout_get_cells): implement missing get_cells
143 method. (Spotted by Paolo Borelli).
145 2007-09-06 Matthias Clasen <mclasen@redhat.com>
147 * configure.in: Check for cups.h. (#459732, Guillaume Cottenceau)
149 2007-09-06 Matthias Clasen <mclasen@redhat.com>
151 * gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow
152 dest to be NULL. (#464528, Xan Lopez)
154 2007-09-06 Matthias Clasen <mclasen@redhat.com>
156 * gtk/gtkmisc.c (gtk_misc_set_alignment, gtk_misc_set_padding):
157 Actually emit change notification here. (#474282, Thomas Rydzynski)
159 2007-09-06 Matthias Clasen <mclasen@redhat.com>
161 * gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize
162 error to NULL before calling g_set_error(). Should fix #473954,
163 reported by Sebastien Bacher.
165 2007-09-06 13:37:28 Tim Janik <timj@imendio.com>
167 * gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
168 that forced range repaints upon every motion event, because these tend
169 to stall other repaints on busy CPUs.
170 added a timer to still force repaints every once in a while (roughly
171 5Hz atm) to avoid leaving the user without feedback on the range.
174 2007-09-06 Michael Natterer <mitch@imendio.com>
176 * demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g
178 2007-09-06 Richard Hult <richard@imendio.com>
180 * gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy):
181 Patch from William Pitcock: Ungrab windows if necessary when they
182 are destroyed, fixes bug #473441.
184 Wed Sep 5 14:15:17 2007 Tim Janik <timj@imendio.com>
186 * gtk/gtknotebook.c (gtk_notebook_class_init): fix wrong default value
187 in ::tab-expand param spec constructor.
189 2007-09-04 Fernando Herrera <fherrera@onirica.com>
191 * gtk/gtkbuilder.c: (gtk_builder_finalize),
192 (gtk_builder_add_from_file): copy filename to builder->priv instead of
193 holding a reference to it. Bug #472643
195 2007-09-04 Michael Natterer <mitch@imendio.com>
197 * gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE().
199 2007-09-04 Johan Dahlin <jdahlin@async.com.br>
201 * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove
202 empty properties, since we do not know the default GParamSpec values.
203 #472981 (Carlos Garnacho)
205 * gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr):
206 Do not iterate recursively over all child nodes.
207 (GtkBuilderConverter._default_widget_converter): Use a more efficient
208 way of iterating over all property nodes
209 #472974 (Carlos Garnacho)
211 2007-09-03 Emmanuele Bassi <ebassi@gnome.org>
213 * gtk/gtkrecentmanager.c
214 (gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
215 as it seems to cause bug #463907 (thanks to Sebastien Bacher).
217 2007-08-31 Richard Hult <richard@imendio.com>
219 * configure.in: Revert the previous change as it broke the build
220 (missing po file in po-properties).
222 2007-08-31 Pramod Raghavendra <pramodleo@yahoo.co.uk>
224 * configure.in: Added kn to ALL_LINGUAS
226 2007-08-30 Richard Hult <richard@imendio.com>
228 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations,
229 gdk_window_get_decorations): Implement those. Based on patch from
230 Stefan Gehn, bug #459459.
232 2007-08-30 Richard Hult <richard@imendio.com>
234 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_keep_above,
235 gdk_window_set_keep_below): Patch from Stefan Gehn to implement
238 2007-08-30 Richard Hult <richard@imendio.com>
240 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
241 Patch from Stefan Gehn to implement copying from a pixmap, bug
244 2007-08-29 Kristian Rietveld <kris@imendio.com>
246 * gtk/gtksettings.c: lower the default timeout values for
247 gtk-tooltip-timeout and gtk-tooltip-browse-timeout. (#451202,
250 Thu Aug 23 15:32:09 2007 Tim Janik <timj@imendio.com>
252 * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix
253 X serial handling to cope with wraparounds and maintain referential
254 integrity when removing list nodes. based on a patch by Hui Wang,
257 2007-08-27 Stefan Kost <ensonic@users.sf.net>
259 * gtk/gtkwindow.c: Update menu accelerators, when adding/removing
260 AccelGroups dynamically. (#469374)
262 2007-08-27 Cody Russell <bratsche@gnome.org>
264 * modules/engines/ms-windows/msw_style.c: Correct draw_box()
265 function to check detail for "notebook". This fixes a problem
266 where notebooks without visible headers were not styling
267 correctly. (#470033, Daniel Atallah and Cody Russell)
269 2007-08-23 Cody Russell <bratsche@gnome.org>
271 * gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
272 correct type check on `window'. We now check GTK_IS_WINDOW
273 rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)
275 2007-08-23 Cody Russell <bratsche@gnome.org>
277 * Makefile.am: Fix make dist failure by changing
278 README.cvs-commits to README.commits. (#469395, Frederic Peters)
280 2007-08-23 Cody Russell <bratsche@gnome.org>
282 * HACKING: Change references to README.cvs-commits so they say
285 2007-08-23 Jan Arne Petersen <jpetersen@jpetersen.org>
287 * gtk/gtkbuilderparser.c: (text): Duplicate the string returned by
288 d[n]gettext before it is potentially freed. (#461945)
290 2007-08-23 Emmanuele Bassi <ebassi@gnome.org>
292 * gtkfilechooserdefault.c:
293 (search_hit_get_info_cb), (recent_item_get_info_cb): Check if
294 we are still holding the model before updating it; removes a
295 set of critical warnings when switching to the browse mode from
296 a loading search or recent files list.
298 (recent_clear_model), (recent_sort_model),
299 (recent_idle_cleanup): When in recent files mode, set the
300 model for the files list view when we have completed the loading
301 of the recently used files list. This makes switching between
302 modes fast again and reduces the amount of redraws needed
303 to display the list. (#469214)
305 2007-08-22 Emmanuele Bassi <ebassi@gnome.org>
307 * configure.in: Remove oc (Occitane) from LINGUAS and unbreak
310 2007-08-22 Kristian Rietveld <kris@imendio.com>
312 Do not allow the cursor to go to a separator row. Fixes #441219,
313 modified patch by Carlos Garnacho.
315 * gtk/gtktreeview.c (row_is_separator): new inline function
316 for calling the row-separator-func, made all of gtktreeview.c use
317 this function instead of calling the func themselves,
318 (gtk_tree_view_button_press): treat a click on a separator like
319 a click on empty space,
320 (gtk_tree_view_update_rubber_band_selection_rage): skip
322 (search_first_focusable_path),
323 (gtk_tree_view_focus_to_cursor),
324 (gtk_tree_view_move_cursor_up_down),
325 (gtk_tree_view_move_cursor_page_up_down),
326 (gtk_tree_view_move_cursor_start_end): skip separators,
327 (gtk_tree_view_real_set_cursor): do not allow setting the cursor
330 2007-08-22 Tristan Van Berkom <tvb@gnome.org>
332 * gtk/gtkframe.c: Corrected the published default value of
333 GtkFrame::label-xalign (bug 460272).
335 2007-08-21 Kristian Rietveld <kris@imendio.com>
337 * gtk/gtktooltip.c (gtk_tooltip_init),
338 (gtk_tooltip_window_style_set): update alignment padding after
339 theme changes. (Fixes #467003, patch by Benjamin Berg).
341 2007-08-21 Kristian Rietveld <kris@imendio.com>
343 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set
344 hide_tooltip to TRUE if we are handling a leave notify event. (Fixes
345 #468245, reported by Dennis Jacobfeuerborn).
347 2007-08-21 Michael Natterer <mitch@imendio.com>
349 * gtk/gtkpaned.c (gtk_paned_class_init): applied patch from Mikael
350 Hallendal which documents GtkPaned's keybinding signals (#467117).
352 2007-08-21 Kristian Rietveld <kris@imendio.com>
354 Fix #457642, reported by Christian Persch.
356 * gtk/gtktooltip.c: added debugging output which can be compiled
357 in with a #define, annotated all coordinate translations in the
359 (find_widget_under_pointer): remove the "no-window correction";
360 always convert the coordinates from window relative to allocation
361 relative; after recursing through a container, translate the
362 coordinates from container allocation relative to child widget
364 (find_topmost_widget_from_event): now we get allocation relative
365 coordinates here we do not have to distinguish no-window and window
368 2007-08-18 Cody Russell <bratsche@gnome.org>
370 * gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping
371 for capital U with macron. (#468055, Aaron Crane)
373 2007-08-17 Cody Russell <bratsche@gnome.org>
375 * Renamed README.cvs-commits to README.commits
377 2007-08-17 Cody Russell <bratsche@gnome.org>
380 * README.cvs-commits: Updated documentation about SVN, and
381 updated dependency information. (#447883, Yesudeep Mangalapilly)
383 Fri Aug 17 11:36:29 2007 Tim Janik <timj@imendio.com>
385 * gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.
387 2007-08-16 Cody Russell <bratsche@gnome.org>
389 * gdk/win32/cursor.bdf: Committing changes to the source
390 bdf font file that I forgot to commit yesterday for #458088.
392 2007-08-15 Cody Russell <bratsche@gnome.org>
394 * gdk/win32/xcursors.h: Modified the sb_h_double_arrow and
395 sb_v_double_arrow mouse cursors to match the ones that Windows
396 uses for split container controls. This allows our paned
397 widgets to be more easily identified as paned widgets on
398 Windows, since we don't have any prelighting on the draggable
401 2007-08-15 Cody Russell <bratsche@gnome.org>
403 * gtk/gtkcontainer.c: Another documentation fix that I forgot to
404 commit yesterday. (#459340, Guillaume Cottenceau)
406 2007-08-14 Cody Russell <bratsche@gnome.org>
409 * gtk/gtkscrolledwindow.c
410 * gtk/gtklabel.c: Correct documentation that refers to the
411 deprecated gtk_widget_set_usize() API. Refer instead to
412 gtk_widget_set_size_request(). (#459340, Guillaume Cottenceau)
414 2007-08-14 Kristian Rietveld <kris@imendio.com>
416 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make
417 sure we fail keynav if the only item in the list is already selected.
418 (Fixes #465039, reported by Fernando Herrera).
420 2007-08-09 Sven Neumann <sven@gimp.org>
422 * modules/printbackends/file/gtkprintbackendfile.c: change the
423 file extension when the file format is changed in the Print dialog
426 2007-08-09 Stefan Kost <ensonic@users.sf.net>
428 * docs/reference/gtk/tmpl/gtkruler.sgml:
430 Move documentation of gtk_ruler_set_range() to source and fix nonsense.
432 2007-08-08 Mikael Hallendal <micke@imendio.com>
434 * gtk/gtkcombobox.c (gtk_combo_box_class_init):
435 Document the new signals popup, popdown and move-active.
437 2007-08-07 Matthias Clasen <mclasen@redhat.com>
439 * MAINTAINERS: Follow new format regulations.
441 2007-08-07 Johan Dahlin <jdahlin@async.com.br>
443 * gtk/gtkbuilderparser.c (text):
444 * gtk/gtkcelllayout.c (attributes_text_element):
445 * gtk/gtkliststore.c (list_store_text):
446 Do not assume that text is null-terminated as pointed out by
449 * gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
450 string instead of g_strndup() + the length of the untranslated
451 string. (#461945, Claude Paroz)
453 2007-08-07 Kristian Rietveld <kris@imendio.com>
455 * gtk/gtktooltips.c (gtk_tooltips_init),
456 (gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy
457 tip_window and tip_label, so old applications with code accessing
458 those fields won't crash.
460 2007-08-07 Kristian Rietveld <kris@imendio.com>
462 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips
465 2007-07-31 Richard Hult <richard@imendio.com>
467 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
468 Implement, fixes bug #405868. Based on patch from metz81@web.de.
470 2007-07-31 Xan Lopez <xan@gnome.org>
472 * gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
473 completion prefix on Enter too, plug potential leak.
476 2007-07-31 Matthias Clasen <mclasen@redhat.com>
478 * gtk/gtktooltip.c (gtk_tooltip_init): Make the label
479 wrap, for compatibility with the old tooltips code. This
480 fixes absurdly long tooltips in the color selector.
482 2007-07-30 Kristian Rietveld <kris@imendio.com>
484 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
485 documentation. (#461225, Murray Cumming).
487 2007-07-29 Emmanuele Bassi <ebassi@gnome.org>
489 * gtk/gtkrecentchooser.c: Add documentation for properties
490 and fix the deprecation marker for the show-numbers
491 accessor functions (Murray Cumming).
493 * gtk/gtkrecentchooser.h: Add deprecation guards around
494 gtk_recent_chooser_set_show_numbers() and
495 gtk_recent_chooser_get_show_numbers(), as promised during
496 last development cycle.
498 2007-07-27 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
500 * gdk/directfb/gdkcursor-directfb.c: Attempts to load
501 stock X cursors no longer results in annoying error
502 messages under DirectFB
504 2007-07-27 Michael Natterer <mitch@imendio.com>
506 Fix check/radio indicator drawing mess (bug #452225):
508 * gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
509 indicator size by one to ensure odd size (don't say -= -1).
511 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
512 removed -1 adjustment from calls to gtk_paint_option(). Theme
513 engines now get the actually configured size passed, not one pixel
516 * gtk/gtkcellrenderertoggle.c
517 * gtk/gtkcheckmenuitem.c: changed default indicator size from 12
518 to 13 so all widgets which draw check/option indicators have the
519 same default size now (and render the same size after above
522 * README.in: mention above changes in the release notes.
524 2007-07-27 Wouter Bolsterlee <wbolster@svn.gnome.org>
526 * Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
527 well (seems to be forgotten).
529 2007-07-25 Matthias Clasen <mclasen@redhat.com>
531 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
532 gtk_tooltip_hide_tooltip() even if the tooltip is not
533 visible yet. This fixes annoying dangling tooltips
536 2007-07-24 Matthias Clasen <mclasen@redhat.com>
538 * gtk/gtkiconcachevalidator.c: Silence the validator.
540 2007-07-24 Matthias Clasen <mclasen@redhat.com>
542 * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip
543 handler. (#458280, Christian Persch)
545 2007-07-24 Matthias Clasen <mclasen@redhat.com>
548 * gtk/gtkfilechooserdefault.c:
549 * gtk/gtkpagesetupunixdialog.c:
550 * gtk/gtkprintunixdialog.c: Port to use new tooltips API.
551 (#451397, Jan Arne Petersen)
553 2007-07-24 Tor Lillqvist <tml@novell.com>
555 * gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.
557 2007-07-24 Matthias Clasen <mclasen@redhat.com>
559 * gtk/gtkmenubar.c (window_key_press_handler):
560 * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
561 to make sense, and don't leak an empty accel. (#459515, Owen Taylor)
563 2007-07-23 Matthias Clasen <mclasen@redhat.com>
565 * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
566 recursion via gtk_container_remove(). (#459561, Christian Persch)
567 (gtk_tooltip_window_hide): Simplify.
569 * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()
571 2007-07-23 Christian Persch <chpe@gnome.org>
573 * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
576 2007-07-23 Matthias Clasen <mclasen@redhat.com>
580 * gtk/gtkscalebutton.c: Fix some doc formatting errors.
581 (#459313, Gian Mario Tagliaretti)
583 2007-07-23 Matthias Clasen <mclasen@redhat.com>
585 * configure.in: Dectect if cups allows access to the http_t
588 * modules/printbackends/cups/gtkcupsutils.c: Rely on the
589 HAVE_HTTP_AUTHSTRING define done by configure.
591 2007-07-23 Emmanuele Bassi <ebassi@gnome.org>
593 * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
594 implementation widget to the new tooltips API, and make it look
595 like the GtkFileChooser widget in recent files mode (move the
596 full path from the widget to a tooltip on the row) to improve
599 * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
600 to the new tooltips API.
602 * tests/testrecentchooser.c:
603 * tests/testrecentchoosermenu.c: Exercise the tooltips code paths.
605 2007-07-22 Ross Burton <ross@openedhand.com>
607 * gtk/gtkscrolledwindow.c:
608 Correctly redraw when gtk-scrolled-window-placement is changed
609 after the widget is realised (#458102)
611 2007-07-22 Matthias Clasen <mclasen@redhat.com>
613 * gdk/x11/gdkkeys-x11.c: Some documentation fixes.
615 2007-07-21 Matthias Clasen <mclasen@redhat.com>
617 * gtk/gtktooltips.[hc]: Rename the tips_data_list field
620 2007-07-21 Matthias Clasen <mclasen@redhat.com>
622 * configure.in: Bump version
624 * === Released 2.11.6 ===
626 2007-07-20 Matthias Clasen <mclasen@redhat.com>
628 * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
629 under the cursor. This fixes tooltip-induced flickering
630 in the tasklist in a bottom panel.
632 2007-07-20 Matthias Clasen <mclasen@redhat.com>
634 * gtk/gtkpathbar.c (make_directory_button): Don't leak
635 a label. (#455901, Christian Persch, Vincent Geddes)
637 2007-07-20 Matthias Clasen <mclasen@redhat.com>
639 Apply a patch by Emmanuele Bassi to limit the number
640 of shown recent files. (#439715)
642 * gtk/gtksettings.c: Add a setting for the number
643 of recent files to display by default.
645 * gtk/gtkrecentchooserdefault.c:
646 * gtk/gtkfilechooserdefault.c: Respect the limit.
648 * gtk/gtkrecentmanager.c: Remove the poll timeout in
649 dispose, and do not stat more often than every 5 seconds.
651 * gtk/gtkrecentchooserutils.c:
652 * gtk/gtkrecentchoosermenu.c: Cleanups
654 * tests/testrecentchoosermenu.c: Test limits.
656 2007-07-20 Matthias Clasen <mclasen@redhat.com>
658 * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
659 Bassi to add tooltips to the file lists in recent files and
662 2007-07-20 Ryan Lortie <desrt@desrt.ca>
664 * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
665 semantics of this call, when mixed with the new
666 gdk_window_set_composited(), will change in the future.
668 * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
669 events that belong to us.
671 2007-07-19 Matthias Clasen <mclasen@redhat.com>
673 * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
674 keypresses better when there is no completion. (#458298,
675 Christian Persch, patch by Xan Lopez)
677 * gtk/gtkentrycompletion.c
678 (gtk_entry_completion_insert_completion_text): Small cleanup.
680 2007-07-19 Matthias Clasen <mclasen@redhat.com>
682 * gtk/gtksettings.c (apply_queued_setting): Merge color
683 scheme before sending notification.
685 2007-07-19 Matthias Clasen <mclasen@redhat.com>
687 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
688 Only connect/disconnect signals when necessary, emit
691 2007-07-19 Kristian Rietveld <kris@imendio.com>
693 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
694 no-window and regular widgets seperately.
696 * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
699 2007-07-19 Matthias Clasen <mclasen@redhat.com>
703 * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
704 (gtk_icon_view_[sg]et_tooltip_column: Add more convenience
705 API parallel to the treeview convenience API.
707 2007-07-19 Matthias Clasen <mclasen@redhat.com>
709 * gtk/gtktextview.c (gtk_text_view_compat_move_focus):
710 Initialized GValues before unsetting them. (#457720)
712 2007-07-19 Kristian Rietveld <kris@imendio.com>
715 * gtk/gtktreeprivate.h:
716 * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
717 (gtk_tree_view_[sg]et_tooltip_column): add more convenience API.
719 * tests/testtooltip.c (query_tooltip_tree_view_cb): use
720 gtk_tree_view_get_tooltip_context().
722 * demos/gtk-demo/demo.ui: add a tooltip column to the list store,
723 set tooltip-column on the tree view.
725 2007-07-18 Richard Hult <richard@imendio.com>
727 * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
728 the cursor in the cached case.
730 2007-07-18 Matthias Clasen <mclasen@redhat.com>
732 * gtk/gtktreeview.c: Correct some mistakes in the
733 documentation of the test-expand/collapse-row signals.
734 (#457774, Olivier Andrieu)
736 2007-07-18 Matthias Clasen <mclasen@redhat.com>
738 * gtk/gtkicontheme.c: Small cleanups
740 2007-07-17 Kristian Rietveld <kris@imendio.com>
742 * gtk/gtktooltip.c (find_widget_under_pointer): only do the
743 coordinate check if tmp is not NULL.
745 2007-07-16 Kristian Rietveld <kris@imendio.com>
747 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
748 if the pointer is really over the returned widget, since the
749 coordinate check may not always be hit in find_widget_under_pointer().
751 2007-07-16 Matthias Clasen <mclasen@redhat.com>
753 Fix some issues with some combinations of inline-selection
754 and inline-completion. (#457384, Christian Persch)
756 * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
757 the completion_prefix here, and be careful when using
758 completion_prefix, because it may be NULL.
759 * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
760 Free completion_prefix here.
761 * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
762 (gtk_entry_completion_insert_completion_text): Store the
763 completion_prefix here.
765 2007-07-16 Matthias Clasen <mclasen@redhat.com>
767 * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
768 Plug a memleak. (#455721, Christian Persch)
770 2007-07-16 Matthias Clasen <mclasen@redhat.com>
772 * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
773 to improve the signal docs. (#456258)
775 2007-07-16 Matthias Clasen <mclasen@redhat.com>
777 * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
778 a lot of GtkWidget signals. (#172424)
780 2007-07-16 Matthias Clasen <mclasen@redhat.com>
784 * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
785 (gtk_icon_view_set_tooltip_cell): Convenience functions to
786 position tooltips on icon view items or cells.
788 2007-07-14 Richard Hult <richard@imendio.com>
790 * gdk/quartz/gdkevents-quartz.c:
791 (_gdk_quartz_events_update_cursor): Plug leak.
793 2007-07-13 Richard Hult <richard@imendio.com>
795 * gdk/quartz/gdkprivate-quartz.h:
796 * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
798 * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
800 (_gdk_windowing_window_destroy): Update the mouse window if the
801 destroyed window is an ancestor of the current one, not only if
803 (gdk_window_hide): Update the mouse window here too.
805 2007-07-13 Richard Hult <richard@imendio.com>
807 * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
808 (gdk_colors_free): Add stubs.
810 2007-07-13 Matthias Clasen <mclasen@redhat.com>
812 * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
813 gratitious use of g_strdup_printf().
815 * gtk/gtkrecentchooserdefault.c:
816 * gtk/gtkrecentchoosermenu.c: Mark some strings for
817 translation. (#439480, Murray Cumming)
819 2007-07-13 Kristian Rietveld <kris@imendio.com>
821 #408327, improve tooltip positioning.
823 * gtk/gtk.symbols: updated.
825 * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
826 positioning code in here,
827 (gtk_tooltip_set_tip_area): new function to set the tooltip
829 (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
830 once the pointer leaves the tip area.
832 * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
833 (gtk_tree_view_set_tooltip_cell): convenience functions to set
834 tip area for row/column/cell.
836 * tests/testtooltips.c (query_tooltip_tree_view_cb): use
837 gtk_tree_view_set_tooltip_row.
839 2007-07-12 Cody Russell <bratsche@gnome.org>
841 * gdk/win32/gdkevents-win32.c
842 * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
843 so that when a transient child window is closed (particularly when
844 there are 3 or more levels of transient windows), the correct window
845 receives focus rather than a seemingly random window. (#112404)
847 2007-07-12 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
849 * gdk/directfb/gdkevents-directfb.c:
850 * gdk/directfb/gdkwindow-directfb.c:
851 * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
852 patch provided by Simon Lanzmich
854 Thu Jul 12 18:03:02 2007 Tim Janik <timj@gtk.org>
856 * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.
858 2007-07-12 Matthias Clasen <mclasen@redhat.com>
861 * gtk/gtkclipboard.c: Add documentation.
863 2007-07-11 Matthias Clasen <mclasen@redhat.com>
865 * gtk/gtkcelleditable.c:
866 * gtk/gtkcellrenderer.c:
867 * gtk/gtkcellrenderercombo.c:
868 * gtk/gtkcellrenderertext.c: Add more documentation.
870 2007-07-11 Matthias Clasen <mclasen@redhat.com>
873 * gtk/gtktoolitem.[hc]: Make parameter naming consistent.
875 2007-07-11 Matthias Clasen <mclasen@redhat.com>
879 * gtk/gtkscalebutton.c: Small doc fixes.
881 2007-07-11 Matthias Clasen <mclasen@redhat.com>
884 * gtk/gtksocket.c: Move docs inline, and add some missing
887 2007-07-11 Kristian Rietveld <kris@imendio.com>
889 * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
890 changed when converting widget <=> bin_window coordinates, not
891 when bin_window <=> tree_window.
893 2007-07-11 Matthias Clasen <mclasen@redhat.com>
896 * gtk/gtkiconview.[hc]
897 (gtk_icon_view_convert_widget_to_bin_window_coords): New
898 function to convert widget coords to what is expected by
899 the at_pos functions. (#455984)
901 2007-07-11 Matthias Clasen <mclasen@redhat.com>
903 * gtk/gtkwiget.c: Don't include gtktooltips.h, it is
906 2007-07-11 Christian Persch <chpe@gnome.org>
908 * gtk/gtkaction.c: (gtk_action_buildable_set_name),
909 (gtk_action_finalize), (gtk_action_set_property),
910 (gtk_action_get_property):
911 * gtk/gtkactiongroup.c: (gtk_action_group_init),
912 (gtk_action_group_add_action),
913 (gtk_action_group_add_action_with_accel),
914 (gtk_action_group_remove_action): Intern the action's name. Saves two
915 string duplicates of it per action; bug #455645.
917 2007-07-10 Richard Hult <richard@imendio.com>
919 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
920 (show_window_internal), (gdk_window_show), (gdk_window_hide): Add
921 hack to workaround the broken tracking rect implementation in
922 quartz, that doesn't seem to produce events if the window shows up
925 2007-07-10 Kristian Rietveld <kris@imendio.com>
928 * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
929 getter/setter pair, slight addition to has-tooltip property
931 (gtk_widget_real_set_has_tooltip): renamed internal function.
933 2007-07-10 Christian Persch <chpe@gnome.org>
935 * gtk/gtkaction.c: (gtk_action_sync_tooltip),
936 (gtk_action_set_tooltip):
937 * gtk/gtkuimanager.c: (update_node): Remove work-around for the old
938 tooltips code, and just set the action tooltip immediately on the
939 proxy widget. Bug #455482.
941 2007-07-10 Kristian Rietveld <kris@imendio.com>
943 * gtk/gtktooltip.c (find_widget_under_pointer),
944 (child_location_foreach): use gtk_container_forall, instead of
945 gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes
946 bug reported by Christian Persch).
948 2007-07-10 Kristian Rietveld <kris@imendio.com>
950 * gtk/gtktooltip.c (child_location_foreach): ignore invisible
951 (!drawable) widgets. (Fixes bug reported by Paolo Borelli).
953 2007-07-10 Matthias Clasen <mclasen@redhat.com>
955 * README.in: Make sure all deprecations are mentioned.
957 2007-07-10 Matthias Clasen <mclasen@redhat.com>
959 * gtk/gtkrecentmanager.c: Fix some doc formatting
961 2007-07-10 Matthias Clasen <mclasen@redhat.com>
963 * gtk/gtk-builder-convert: Fix a typo
965 2007-07-10 Matthias Clasen <mclasen@redhat.com>
969 2007-07-09 Matthias Clasen <mclasen@redhat.com>
971 * gtklabel.[ch]: Use a bit of the GtkLabel structure to
972 remember that a pattern has been set.
973 (gtk_label_set_pattern_internal): Don't do anything if
974 a specific pattern has been set.
975 (gtk_label_set_pattern): set the new bit to TRUE when
976 setting a pattern, and recalculate everything if the
977 pattern is unset. Fix gtk_label_set_pattern() not working
978 anymore. (#452861, Vincent Untz)
980 2007-07-09 Claude Paroz <claude@2xlibre.net>
982 * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
985 2007-07-09 Matthias Clasen <mclasen@redhat.com>
987 * gtk/gtkvolumebutton.c: Remove deprecated tooltips,
988 use new tooltips API. (#449311, Jan Arne Petersen)
990 2007-07-09 Matthias Clasen <mclasen@redhat.com>
992 * gtk/gtkselection.c (normalize_to_crlf): Don't ignore
993 the passed-in len parameter. (#430049, Yevgen Muntyan)
995 2007-07-09 Matthias Clasen <mclasen@redhat.com>
997 * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
998 handling of broken situations. (#427899, Francesco Montorsi)
1000 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1002 * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size
1003 requisition so the viewport does not add the border thickness
1004 if it has GTK_SHADOW_NONE selected. (#361781, Miguel Gomez)
1006 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1008 * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query):
1009 Fix a typo in the docs. (#453930, Guillaume Cottenceau)
1011 2007-07-09 Kristian Rietveld <kris@imendio.com>
1013 Replace non-deprecated API using old tooltips API, deprecate
1014 old tooltips API for real. (#451575).
1016 * gtk/gtk.symbols: updated.
1018 * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
1019 _gtk_tooltips_toggle_keyboard_mode() anymore.
1021 * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
1023 (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
1025 * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
1027 (gtk_tool_item_set_tooltip): deprecated,
1028 (gtk_tool_item_set_tooltip_{text,markup): replacements.
1029 (GtkToolItemClass:set_tooltip): deprecated.
1031 * gtk/gtktooltips.[ch]: strip out all unused parts, made
1032 gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
1033 deprecate all of gtk_tooltips_*.
1035 * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
1037 (GtkToolbar:tooltips): deprecated, renamed.
1039 * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
1040 set the tooltip text.
1042 * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
1043 will be removed GtkFileChooserDefault has been converted.
1045 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1048 (gtk_tree_view_convert_bin_window_to_widget_coords:
1049 Fix a typo in the docs. (#453673, Guillaume Cottenceau)
1051 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1053 * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit
1054 ::changed when removing the active row. (#452056, Paul Pogonyshev)
1056 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1058 * gtk/gtksearchenginesimple.c: Address some thread-safety
1061 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1063 * modules/printbackends/*/Makefile.am: Fix build problems
1064 on Cygwin. (#448604)
1066 2007-07-09 Jaap Haitsma <jaap@haitsma.org>
1068 * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
1069 gtk_widget_set_tooltip_text instead
1071 2007-07-09 Johan Dahlin <jdahlin@async.com.br>
1074 * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
1076 2007-07-09 Johan Dahlin,,, <jdahlin@lozenge>
1078 * demos/gtk-demo/demo.ui:
1079 * gtk/gtk-builder-convert:
1080 * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
1081 (gtk_action_group_buildable_add_child),
1082 (accelerator_start_element),
1083 (gtk_action_group_buildable_custom_tag_start),
1084 (gtk_action_group_buildable_custom_tag_end):
1085 * gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
1086 (gtk_ui_manager_buildable_construct_child):
1087 * tests/buildertest.c: (test_uimanager_simple):
1089 Add actiongroup/action accelerator support for builder. #454654
1091 2007-07-08 Matthias Clasen <mclasen@redhat.com>
1093 * gtk/gtkbuilderparser.c (pgettext): Support old-style
1094 message contexts, too.
1096 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
1098 * gtk/gtk-builder-convert: Improve the way properties
1099 are copied over from a menuitem to an action.
1101 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
1103 * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
1104 GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
1105 when converting a GtkMenuItem subclass to an action.
1106 (#454830, Bastien Nocera)
1108 * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
1109 attribute in <signal> tag
1111 2007-07-07 Matthias Clasen <mclasen@redhat.com>
1113 * gtk/gtkbuilderprivate.h:
1114 * gtk/gtkbuilderparser.c: Support context and comments
1117 2007-07-07 Matthias Clasen <mclasen@redhat.com>
1119 * gtk/gtkwidget.c: Fix some typos, and a memory management bug.
1121 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
1123 * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start):
1124 Parse <accessibility> but don't do anything yet.
1125 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
1126 Do not strip atk/accessibility tags
1127 * tests/buildertest.c (test_widget):
1130 Sun Jul 8 01:33:45 2007 Tim Janik <timj@gtk.org>
1132 * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
1134 2007-07-07 Richard Hult <richard@imendio.com>
1136 * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:])
1137 ([GdkQuartzWindow -windowDidBecomeMain:]):
1138 * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
1139 (_gdk_quartz_window_did_become_main, gdk_window_hide)
1140 (_gdk_windowing_window_destroy): Keep a stack of main windows and
1141 select the most recent one when hiding/closing the current one.
1143 2007-07-07 Johan Dahlin <jdahlin@async.com.br>
1145 * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text):
1146 Convert GtkTextView::text properties
1147 (GtkBuilderConverter): Refactor; Optimize widget lookups by not
1148 traversing the whole tree.
1149 Use a common api to create sizegroups, actiongroups and uimanagers
1150 to avoid name conflicts.
1151 Output newly created objects sorted by id before the old roots under
1153 (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
1155 (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
1156 and do not set name and action on separators
1157 (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
1158 on the action if the menuitem had a stock or label property set
1160 2007-07-06 Richard Hult <richard@imendio.com>
1162 * gdk/quartz/gdkprivate-quartz.h:
1163 * gdk/quartz/gdkwindow-quartz.c:
1164 * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
1165 windows, by (un)setting the parent before and after miniaturizing.
1167 2007-07-06 Richard Hult <richard@imendio.com>
1169 * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
1172 2007-07-06 Johan Dahlin <jdahlin@async.com.br>
1174 * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
1175 semi-colon in the doc string, spotted by Johannes Sasonko
1177 2007-07-05 Matthias Clasen <mclasen@redhat.com>
1179 * gtk/gtkbuilder.c: Support pixbuf properties by specifying
1180 a filename as the property value. (#447966)
1182 Wed Jul 4 12:20:23 2007 Tim Janik <timj@imendio.com>
1184 * gdk/gdkevents.c (gdk_event_request_motions): added usage example
1185 to gdk_event_request_motions() docs.
1187 2007-07-04 Tor Lillqvist <tml@novell.com>
1189 * gtk/gtkstatusicon.c: On Win32 call
1190 gtk_status_icon_button_press() in an idle callback and not
1191 directly from the window procedure to avoid "g_main_loop_run():
1192 called recursively from within a source's check() or prepare()
1193 member, iteration not possible" warnings.
1195 2007-07-04 Chris Wilson <chris@chris-wilson.co.uk>
1197 * gtk/gtkrecentchoosermenu.c (idle_populate_func),
1198 (idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
1199 Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
1200 free in the source destroy notify. (#453033)
1202 2007-07-04 Johan Dahlin <jdahlin@async.com.br>
1204 * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child):
1205 pack children from the start instead of the end, this should
1206 probably be made configurable at some point.
1208 * gtk/gtk-builder-convert:
1209 Add support for converting GtkComboBox items, also make sure
1210 that we support more than one GtkAdjustment in a file
1212 2007-07-03 Richard Hult <richard@imendio.com>
1214 * gdk/quartz/gdkevents-quartz.c: Keep track of button state and
1215 include it in key events. Needed for gimp's selection tools and
1218 2007-07-03 Matthias Clasen <mclasen@redhat.com>
1220 * gtk/gtkbuilder.c: Fix some typos in docs. (#452278,
1223 2007-07-03 Richard Hult <richard@imendio.com>
1225 * gdk/quartz/gdkevents-quartz.c (create_key_event): Include
1226 modifier state in key release events. Fixes bug #453413.
1228 2007-07-03 Matthias Clasen <mclasen@redhat.com>
1230 * gtk/gtkcelllayout.c (attributes_text_element): Report
1231 errors about integer parsing back up. (#452988)
1233 * tests/buildertest.c: Add an extra check.
1235 2007-07-03 Matthias Clasen <mclasen@redhat.com>
1237 * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave
1238 priv->image dangling when use-stock is set to FALSE. (#437281,
1241 2007-07-03 Tor Lillqvist <tml@novell.com>
1243 * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS,
1244 i.e. clear it if enable_explicit_deps isn't on. If we build with
1245 --with-included-loaders and --enable-explicit-deps=no we don't
1246 want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file.
1248 2007-07-03 Tor Lillqvist <tml@novell.com>
1250 * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts):
1251 Implement. Just return FALSE for now. What should this function
1252 actually do? Does keyboards layouts being "in use" mean that such
1253 layouts can be switched to on the fly using some extra-GTK+
1254 mechanism? If so we need to actually check that.
1256 2007-07-03 Tristan Van Berkom <tvb@gnome.org>
1258 * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL
1261 2007-07-03 Johan Dahlin <jdahlin@async.com.br>
1263 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
1264 --root option. Filter empty properties. Convert GtkAdjustments.
1266 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
1267 of gtk_dialog_add_action_widget closer, to make clicking on the buttons
1270 2007-07-02 Matthias Clasen <mclasen@redhat.com>
1272 * configure.in: Bump version
1274 * === Released 2.11.5 ===
1276 * tests/autotestkeywords.cc: Make platform includes
1279 * gtk/Makefile.am: File list fixes
1283 2007-07-02 Kristian Rietveld <kris@gtk.org>
1286 * gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
1287 function to check whether a rubber banding operation is currently
1288 active. (#393579, Christian Neumair).
1290 2007-07-02 Matthias Clasen <mclasen@redhat.com>
1294 2007-07-02 Jan Arne Petersen <jpetersen@jpetersen.org>
1296 * gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
1297 parentheses to fix the operator order in the icon selection.
1299 2007-07-01 Johan Dahlin <jdahlin@async.com.br>
1301 * gtk/gtk-builder-convert (GtkBuilderConverter):
1302 Convert to getopt, improved documentation, change
1303 the script to require two arguments
1305 2007-06-30 Richard Hult <richard@imendio.com>
1307 Continue the event handling cleanup:
1309 * gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
1310 Don't do anything if the old and new windows are the same,
1311 simplifies the callers.
1312 (find_mouse_window_for_ns_event): Always return a window (root
1313 instead of NULL). Remove unneccessary check for the current mouse
1314 window being NULL, that was a workaround for a now fixed
1315 bug. Convert to root coordinates if we don't find a window.
1316 (synthesize_crossing_events_for_ns_event): Simplify and add
1319 2007-06-30 Richard Hult <richard@imendio.com>
1321 * gdk/quartz/gdkevents-quartz.c:
1322 (synthesize_crossing_events_for_ns_event): Simplify (get the
1323 origin directly from the window).
1325 2007-06-30 Richard Hult <richard@imendio.com>
1327 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
1328 (synthesize_crossing_events), (find_mouse_window_for_ns_event),
1329 (synthesize_crossing_events_for_ns_event): No need to special case
1330 the root window now that it has the right size.
1332 2007-06-30 Richard Hult <richard@imendio.com>
1334 * gdk/quartz/gdkwindow-quartz.c:
1335 * gdk/quartz/gdkevents-quartz.c: Improve comments in those
1336 files. Add a debugging helper to print out information about a
1339 2007-06-30 Johan Dahlin <jdahlin@async.com.br>
1343 * gtk/gtkbuilderparser.c:
1344 * gtk/gtkbuilderprivate.h:
1346 * tests/buildertest.c:
1348 Improve error handling for enum/flags, rename the converter functions
1349 to be consistent. Add tests. Fixes #452465
1351 2007-06-30 Richard Hult <richard@imendio.com>
1353 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
1354 this work properly for the root window.
1356 2007-06-30 Richard Hult <richard@imendio.com>
1358 * gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
1359 - No need to override setFrame.
1360 - Use our own size instead of the bounds from the view as it's not
1361 always updated before the tracking rect.
1362 - Only reset the tracking rect if the new window is nil).
1364 * gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
1365 view when the window size changes.
1367 2007-06-30 Matthias Clasen <mclasen@redhat.com>
1369 * gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean):
1370 Use g_ascii_strdown() instead of a rolling our own.
1372 2007-06-30 Johan Dahlin <jdahlin@async.com.br>
1374 * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
1376 * tests/buildertest.c: (test_types):
1377 Move type-func to <object> instead of <child>, add a test to
1378 make sure that it works as desired, #452463
1380 * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
1381 * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
1382 (parse_property), (parse_signal):
1383 * gtk/gtkbuilderprivate.h:
1384 * tests/buildertest.c: (test_value_from_string):
1385 Make boolean string parsing consistent, #452464
1387 2007-06-30 Matthias Clasen <mclasen@redhat.com>
1390 * gtk/gtkbuildable.c: Documentation updates.
1392 2007-06-29 Matthias Clasen <mclasen@redhat.com>
1396 * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
1397 function to determine if keyboard layouts for both LTR and LTR
1398 languages are in use. Refactor the direction caching code to
1399 make this information available. (#353805, Behnam Esfahbod)
1401 2007-06-29 Matthias Clasen <mclasen@redhat.com>
1403 * modules/printbackend/cups/gtkcupsutils.c (_post_check):
1404 (_get_check): Enable SSL support. (#451070, Vince Busam)
1406 2007-06-29 Johan Dahlin <jdahlin@async.com.br>
1408 * gtk/gtkbuilder.c: (gtk_builder_finalize),
1409 (gtk_builder_get_parameters), (_gtk_builder_construct):
1410 * tests/buildertest.c:
1412 Improve reference counting, #447967
1414 2007-06-29 Ryan Lortie <desrt@desrt.ca>
1416 * tests/testgtk.c (create_composited_window): Connect the "destroy"
1417 signal so that the 'window' pointer is set back to NULL (like for the
1420 * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
1421 destroy the Damage here. By finalize() XDestroyWindow has already
1422 been called (and took the Damage with it).
1426 2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
1428 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
1429 markup entities in the name and URI before displaying them.
1431 2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
1433 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
1434 cache the icon pixbufs but rely on the GtkIconTheme not to
1435 hit the disk cache too much (should tentatively fix #426987).
1437 2007-06-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1439 * modules/engines/ms-windows/msw_style.c: Draw no bevel
1440 when "GtkToolbar::shadow-type" is "none" (#450469).
1442 2007-06-28 Johan Dahlin <jdahlin@async.com.br>
1444 * gtk/gtk-builder-convert (_indent): Prettify the output by
1445 running it through xmllint --format if xmllint is available
1446 which also requires the subprocess module only available
1447 in python 2.4 or later
1449 2007-06-28 Christian Persch <chpe@gnome.org>
1451 * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
1452 (gtk_volume_button_init), (gtk_volume_button_dispose),
1453 (gtk_volume_button_update_tooltip): Make the volume button use range
1454 0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
1457 2007-06-28 Yevgen Muntyan <muntyan@tamu.edu>
1459 * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
1460 do right thing in one-character lines and at paragraph end (#448313).
1462 * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
1465 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1467 * gtk/gtkbuilderparser.c (parse_property): Use
1468 the attribute name in the error message instead of
1471 * demos/gtk-demo/demo.ui: Set name of Help menu
1474 * gtk/gtkbuilder.c (apply_delayed_properties):
1475 Print out the name of the right object in the warning
1476 (#451314, Philip Withnall)
1478 * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
1479 glade-interface doctype if found.
1480 (GtkBuilderConverter._convert):
1481 Make sure that we can convert Gazpacho files too.
1483 2007-06-27 Cody Russell <bratsche@gnome.org>
1485 * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
1486 Fixed, very hackishly, a one pixel error that occurs using the
1487 XP theme engine only on the left-most tab, if it is active, when
1488 the notebook is bottom-oriented. (#392283)
1490 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1492 * tests/buildertest.c: (test_value_from_string):
1493 Check the code and domain of GErrors instead of the string values
1495 * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
1496 (gtk_builder_value_from_string),
1497 (gtk_builder_value_from_string_type):
1499 * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
1500 (attributes_text_element):
1501 * gtk/gtkliststore.c: (list_store_text):
1502 * tests/buildertest.c: (test_value_from_string):
1504 Add GtkBuilder and GError arguments to gtk_builder_value_from_string
1505 and gtk_builder_value_from_string_type. (#451428)
1507 2007-06-27 Xan Lopez <xan@gnome.org>
1509 * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
1510 * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
1512 Do not add border_width to the first button initial
1513 coordinate, since it's already taken into account in
1514 the allocation value. (#451484)
1516 2007-06-27 Michael Natterer <mitch@imendio.com>
1518 Merged from maemo-gtk:
1520 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
1521 scroll arrows' state, make sure we don't overwrite the insensitive
1522 state that might have been set by the first scroll step hitting
1523 the top/bottom border of the menu.
1525 Wed Jun 27 13:27:21 2007 Tim Janik <timj@gtk.org>
1527 * gtk/gtkradiobutton.[hc]: applied patch to improve variable names,
1528 by Olivier Delhomme, #451527.
1530 Wed Jun 27 11:57:41 2007 Tim Janik <timj@imendio.com>
1532 * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
1533 push_in description.
1535 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1537 * gtk/gtkbuilderparser.c: Plug leaks in error code paths
1539 2007-06-26 Johan Dahlin <jdahlin@async.com.br>
1541 * tests/buildertest.c (test_object_properties):
1542 Add a test to check object properties
1544 * gtk/gtkbuilder.h (enum):
1545 * gtk/gtkbuilderparser.c (end_element):
1546 * tests/buildertest.c (test_parser):
1547 Set an error if we encounter properties without values set
1548 (#451303, Philip Withnall)
1549 (test_object_properties): Add a test
1551 * demos/gtk-demo/builder.c (do_builder): Connect the
1552 destroy signal in the example instead of the ui file.
1553 Also set the screen and title of the window.
1554 (#451345, Thomas Rydzynski)
1556 2007-06-26 Richard Hult <richard@imendio.com>
1558 * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
1559 bunch of small bugs when parsing property values
1560 (boolean/int/uint/long/ulong/float/double). Bug #451353.
1562 * tests/buildertest.c: Add tests for the above.
1564 2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
1566 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
1567 a typo in the previous commit.
1569 (shortcuts_append_desktop): Remove unused variable and
1570 hush the compiler warning.
1572 2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
1574 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
1575 the time of last change in the file chooser, for files
1576 modified today or yesterday. (#324543)
1578 * configure.in: Check for localtime_r().
1580 2007-06-26 Cody Russell <bratsche@gnome.org>
1582 * modules/engines/ms-windows/xp_theme.[ch]
1583 * modules/engines/ms-windows/msw_style.c: Add support for
1584 drawing checkboxes with inconsistent states. (Tor, #164809)
1586 2007-06-26 Johan Dahlin <jdahlin@async.com.br>
1588 * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode
1589 the output in utf-8 as suggested by Bogdan Nicula
1591 2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1593 * configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
1594 tests/dummy-headers/*: Extend the C++ keyword test
1595 to include internal GDK headers (#449016).
1597 2007-06-26 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1599 * ChangeLog, configure.in, tests/Makefile.am,
1600 tests/autotestkeywords.cc: Create test for finding
1601 C++ keywords in public header files (#449016).
1603 2007-06-26 Kristian Rietveld <kris@imendio.com>
1605 * gtk/gtktooltips.h: remove the deprecation macros for now to fix
1606 the build and give us a chance to fix widgets which use GtkTooltips
1609 2007-06-26 Kristian Rietveld <kris@imendio.com>
1612 * gtk/gtktooltips.[ch]:
1613 * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
1615 2007-06-25 Johan Dahlin <jdahlin@async.com.br>
1617 * gtk/gtk-builder-convert: Add a script to convert libglade files
1618 to something gtkbuilder can parse.
1621 2007-06-25 Richard Hult <richard@imendio.com>
1623 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
1624 menu events while the keyboard is grabbed.
1626 2007-06-25 Richard Hult <richard@imendio.com>
1628 * gdk/quartz/Makefile.am:
1629 * gdk/quartz/xcursors.h:
1630 * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
1631 ones that OS X doesn't provide. Fixes bug #327912.
1633 2007-06-25 Emmanuele Bassi <ebassi@gnome.org>
1635 * gtk/gtkrecentmanager.c:
1636 (build_recent_info): building a GtkRecentInfo can never fail.
1638 (gtk_recent_manager_get_items): Clamp the list while building
1639 it so we don't need to traverse it more than once. (#446532,
1642 2007-06-25 Tor Lillqvist <tml@novell.com>
1644 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
1645 attempted overly simple fix for #445284, as it causes a
1646 regression. (For instance, in GIMP the tool cursor gets used also
1647 for the right-click menu in image windows.) A more complex fix is
1648 needed to more completely emulate X11 behaviour.
1650 2007-06-24 Kristian Rietveld <kris@gtk.org>
1652 * Makefile.am: fix little mistake in my last commit ...
1654 2007-06-24 Kristian Rietveld <kris@gtk.org>
1656 * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
1657 the Spotlight database on MacOS X (only available in 10.4 and
1660 * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
1661 quartz search engine if we are on OS X.
1663 * Makefile.am: added use_quartz_sources section with new file.
1665 2007-06-22 Emmanuele Bassi <ebassi@gnome.org>
1667 * gtk/gtksearchenginebeagle.c:
1668 * gtk/gtksearchenginesimple.c:
1669 * gtk/gtksearchenginetracker.c: Remove the MIME type calls and
1670 queries from the search engine implementations, since we use our
1671 own GtkFileSystem to filter out basing on MIME types and we cannot
1672 query MIME types anyway. The GtkQuery private object still has
1673 MIME type, as well as location, support for future expansion.
1675 Fri Jun 22 12:13:39 2007 Tim Janik <timj@imendio.com>
1677 * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
1678 to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.
1680 * tests/testframe.c: added test application from Xan Lopez to
1681 test xalign/yalign interactions with xthickness/ythickness.
1683 Fri Jun 22 00:34:34 2007 Tim Janik <timj@gtk.org>
1685 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
1686 patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
1688 2007-06-21 Matthias Clasen <mclasen@redhat.com>
1690 * gtk/gtktoolbar.c: Remove debug spew. (#449492, Christian Persch)
1692 2007-06-21 Matthias Clasen <mclasen@redhat.com>
1694 * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
1695 enter-leave compression code. (#449167, patch by Tim Janik)
1697 2007-06-19 Johan Dahlin <jdahlin@async.com.br>
1699 * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
1702 2007-06-20 Richard Hult <richard@imendio.com>
1704 * gdk/quartz/gdkwindow-quartz.c (gdk_window_new):
1705 * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
1706 update the tracking rect in the window, move it to the view where
1709 * gdk/quartz/GdkQuartzView.c (updateTrackingRect)
1710 (viewDidMoveToWindow, viewWillMoveToWindow)
1711 (setFrame, setBounds): Create and update the tracking rect here.
1713 2007-06-19 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1715 * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
1716 top of this file to make C++ compilers happy.
1718 2007-06-19 Matthias Clasen <mclasen@redhat.com>
1720 * configure.in: Bump version
1722 * === Released 2.11.4 ===
1726 2007-06-19 Sven Neumann <sven@gimp.org>
1728 * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
1730 2007-06-19 Sven Neumann <sven@gimp.org>
1732 * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
1733 Keep the tooltips in a hash table instead of a linked list.
1734 Improves performance when using large amounts of tooltips (#447214).
1736 * README.in: document the GtkTooltips changes.
1738 2007-06-19 Johan Dahlin <jdahlin@async.com.br>
1740 * gtk/*: Rename buildable methods to not clash with widget
1741 methods. (#448928, Torsten Schoenfeld)
1743 2007-06-19 Emmanuele Bassi <ebassi@gnome.org>
1745 * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
1746 the timed poll of the storage file, since we are using multiple
1747 seconds intervals and we don't actually care about millisecond
1750 (threads_dispatch), (threads_free), (gtk_recent_manager_init),
1751 (gtk_recent_manager_set_filename): Roll our own version of
1752 gdk_threads_add_timeout() using g_timeout_add_seconds_full()
1753 while holding the GDK main lock.
1755 * configure.in: Bump up the required GLib version, in order
1756 to use g_timeout_add_seconds_full().
1758 2007-06-19 Emmanuele Bassi <ebassi@gnome.org>
1760 * gtk/gtkrecentmanager.c: Use a static variable to hold the
1761 singleton and remove the code that binds a recent manager to
1764 (gtk_recent_manager_set_screen): Make it a NOOP.
1765 (gtk_recent_manager_get_for_screen): Proxy for
1766 gtk_recent_manager_get_default().
1769 * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
1770 and gtk_recent_manager_get_for_screen().
1772 * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
1773 singleton (if any) when reaching main loop depth of 0.
1775 * gtk/gtkrecentchooserdefault.c:
1776 (gtk_recent_chooser_default_dispose): Disconnect the changed
1777 signal only if we have a manager and we are connected to it.
1779 (set_recent_manager): Ditto.
1781 * README.in: Document the deprecations.
1783 2007-06-18 Matthias Clasen <mclasen@redhat.com>
1785 * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
1786 of the adjustment. (#448544, Carlos Garnacho)
1788 2007-06-18 Gustavo J. A. M. Carneiro <gjc@gnome.org>
1790 reviewed by: Matthias Clasen
1792 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
1793 invalidate notifiers. (#448484)
1795 2007-06-17 Matthias Clasen <mclasen@redhat.com>
1797 * README.in: Updates
1799 * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
1800 It was already documented as such. (#412357, Vincent Geddes)
1802 2007-06-17 Matthias Clasen <mclasen@redhat.com>
1804 * gtk/gtkcontainer.c: Fix a doc typo.
1806 2007-06-17 Richard Hult <richard@imendio.com>
1808 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
1809 Mac OS menu shortcut events to the right menu.
1811 2007-06-17 Richard Hult <richard@imendio.com>
1813 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
1814 (synthesize_crossing_events_for_ns_event)
1815 (find_window_for_ns_event): More refactoring of the event
1816 handling: Extract synthesizing of crossing events from
1817 find_window_for_ns_event so that it doesn't have any side effects,
1818 and call the new function from gdk_event_translate instead.
1820 2007-06-16 Richard Hult <richard@imendio.com>
1822 * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
1823 (gdk_event_translate): Remove pointless logging for unhandled events.
1824 Activate the application on non-left clicks, since that is only done
1825 for left clicks and we depend on it to get events routed properly for
1826 context menus and other popup windows.
1828 2006-09-22 Dennis Cranston <dennis_cranston@yahoo.com>
1830 * gtk/gtkfilechooserbutton.c: (change_icon_theme),
1831 (model_add_bookmarks), (model_update_current_folder):
1832 * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
1833 (shortcuts_insert_path): Use the remote folder icon when
1836 Follow up to #354887
1838 2007-06-17 Christian Persch <chpe@gnome.org>
1840 * gtk/Makefile.am: Pass the print settings to the preview programme.
1841 Bug #403717, patch by Carlos Garcia Campos.
1843 2007-06-17 Xan Lopez <xan@gnome.org>
1845 * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
1846 GdkWindow. Patch by Tilman Sauerbeck from #63820.
1848 2007-06-17 Daniel Elstner <danielk@openismus.com>
1850 * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
1851 Change input method behavior to act on key presses instead of
1852 key releases, matching normal text input behavior. This change
1853 alleviates the need to take special action for control keys not
1854 handled by the input module itself.
1856 2007-06-17 Behdad Esfahbod <behdad@gnome.org>
1858 * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
1859 Sebastien Bacher, Alex "weej" Jones)
1861 2007-06-16 Yevgen Muntyan <muntyan@tamu.edu>
1863 * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
1864 problems with block cursor (#448321).
1866 2007-06-16 Richard Hult <richard@imendio.com>
1868 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
1869 events and break any grabs while the window is being dragged.
1871 2007-06-16 Richard Hult <richard@imendio.com>
1873 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
1874 Defer setting the parent until the window is shown, otherwise it
1875 gets unconditionally shown here.
1877 2007-06-16 Johan Dahlin <jdahlin@async.com.br>
1879 * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
1880 (#448299, Jan Arne Petersen)
1882 2007-06-16 Richard Hult <richard@imendio.com>
1884 * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
1885 Move the checks for no window or a non-GDK window from here...
1886 (gdk_event_translate): ...to here. Reorder the code so that we
1887 detect the cases where we need to break grabs before bailing
1890 2007-06-16 Richard Hult <richard@imendio.com>
1892 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
1893 (break_all_grabs): Break out into a separate function.
1895 2007-06-16 Richard Hult <richard@imendio.com>
1897 * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
1898 to detect if the window is currently being moved with the mouse.
1900 2007-06-16 Richard Hult <richard@imendio.com>
1902 * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
1903 Don't set parent/child relationship for tooltip windows since that
1904 moves the parent window to the front, due to the tooltip having a
1907 2007-06-16 Christian Persch <chpe@gnome.org>
1909 * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
1910 (gtk_builder_get_type_from_name):
1911 * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
1914 2007-06-15 Matthias Clasen <mclasen@redhat.com>
1916 * configure.in: Bump version
1918 * === Released 2.11.3 ===
1920 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
1922 * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
1924 2007-06-15 Matthias Clasen <mclasen@redhat.com>
1926 * gtk/gtkbuildable.c:
1927 * gtk/gtkbuilder.c: Documentation fixes
1929 * gtk/gtktreeview.c: Fix up cross-references in docs.
1931 * gtk/Makefile.am: Don't install gtkbuilderprivate.h
1933 * gtk/gtk.h: Include gtkbuilder.h
1937 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
1939 * gtk/gtkbuilder.c (gtk_builder_add_from_file):
1940 (gtk_builder_value_from_string_type):
1941 Use gsize instead of unsigned and gulong instead of long,
1942 fixes complation on OSX, fixes #447987
1944 2007-06-15 Matthias Clasen <mclasen@redhat.com>
1946 * gtk/gtkmenushell.[ch]: add move_selected signal to allow
1947 overriding the default internal behaviour. (#446833, Ryan Lortie)
1949 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1951 * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
1953 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1955 * gtk/gtkwidget.c: Improving handling of tooltip-text property.
1956 * tests/testtooltips.c: Also check result of tooltip getters.
1958 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1960 * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
1961 gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
1962 convenience property "GtkWidget:tooltip-text" taking care of escaping
1963 it for unwanted markup entities. Add functions to set tooltip text:
1964 gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
1965 gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
1967 * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
1968 to set the tooltip text without using markup.
1970 Patches from Emmanuele Bassi (#447643).
1972 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
1974 reviewed by: Matthias Clasen
1976 * demos/gtk-demo/Makefile.am:
1977 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1979 * demos/gtk-demo/demo.ui:
1980 * docs/reference/gtk/gtk-docs.sgml:
1981 * docs/reference/gtk/gtk-sections.txt:
1982 * docs/reference/gtk/gtk.types:
1983 * docs/reference/gtk/tmpl/gtkbuildable.sgml:
1984 * docs/reference/gtk/tmpl/gtkbuilder.sgml:
1988 * gtk/gtkaction.c: (gtk_action_buildable_init),
1989 (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
1990 * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
1991 (gtk_action_group_buildable_init),
1992 (gtk_action_group_buildable_add),
1993 (gtk_action_group_buildable_set_name),
1994 (gtk_action_group_buildable_get_name):
1995 * gtk/gtkbuildable.c: (gtk_buildable_get_type),
1996 (gtk_buildable_set_name), (gtk_buildable_get_name),
1997 (gtk_buildable_add), (gtk_buildable_set_property),
1998 (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
1999 (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
2000 (gtk_buildable_custom_finished),
2001 (gtk_buildable_get_internal_child):
2002 * gtk/gtkbuildable.h:
2003 * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
2004 (gtk_builder_finalize), (gtk_builder_set_property),
2005 (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
2006 (gtk_builder_real_get_type_from_name),
2007 (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
2008 (_gtk_builder_construct), (_gtk_builder_add),
2009 (apply_delayed_properties), (_gtk_builder_finish),
2010 (gtk_builder_new), (gtk_builder_add_from_file),
2011 (gtk_builder_add_from_string), (gtk_builder_get_object),
2012 (object_add_to_list), (gtk_builder_get_objects),
2013 (gtk_builder_set_translation_domain),
2014 (gtk_builder_get_translation_domain),
2015 (gtk_builder_connect_signals_default),
2016 (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
2017 (gtk_builder_value_from_string),
2018 (gtk_builder_value_from_string_type),
2019 (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
2020 (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
2022 * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
2023 (error_missing_attribute), (error_invalid_attribute),
2024 (error_invalid_tag), (builder_construct), (parse_object),
2025 (free_object_info), (_get_type_by_symbol), (parse_child),
2026 (free_child_info), (parse_property), (free_property_info),
2027 (parse_signal), (_free_signal_info), (parse_interface),
2028 (create_subparser), (free_subparser), (subparser_start),
2029 (subparser_end), (parse_custom), (start_element), (end_element),
2030 (text), (_gtk_builder_parser_parse_buffer):
2031 * gtk/gtkbuilderprivate.h:
2032 * gtk/gtkcelllayout.c: (attributes_start_element),
2033 (attributes_text_element),
2034 (_gtk_cell_layout_buildable_custom_tag_start),
2035 (_gtk_cell_layout_buildable_custom_tag_end),
2036 (_gtk_cell_layout_buildable_add):
2037 * gtk/gtkcelllayout.h:
2038 * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
2039 (gtk_cell_view_buildable_custom_tag_start),
2040 (gtk_cell_view_buildable_custom_tag_end):
2041 * gtk/gtkcolorseldialog.c:
2042 (gtk_color_selection_dialog_buildable_interface_init),
2043 (gtk_color_selection_dialog_buildable_get_internal_child):
2044 * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
2045 (gtk_combo_box_buildable_custom_tag_start),
2046 (gtk_combo_box_buildable_custom_tag_end):
2047 * gtk/gtkcomboboxentry.c:
2048 (gtk_combo_box_entry_buildable_interface_init),
2049 (gtk_combo_box_entry_buildable_get_internal_child):
2050 * gtk/gtkcontainer.c: (gtk_container_get_type),
2051 (gtk_container_buildable_init), (gtk_container_buildable_add),
2052 (gtk_container_buildable_set_child_property),
2053 (attributes_start_element), (attributes_text_element),
2054 (gtk_container_buildable_custom_tag_start),
2055 (gtk_container_buildable_custom_tag_end):
2057 * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
2058 (gtk_dialog_buildable_get_internal_child),
2059 (attributes_start_element), (attributes_text_element),
2060 (gtk_dialog_buildable_custom_tag_start),
2061 (gtk_dialog_buildable_custom_finished):
2062 * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
2063 * gtk/gtkexpander.c: (gtk_expander_buildable_add),
2064 (gtk_expander_buildable_init):
2066 (gtk_font_selection_dialog_buildable_interface_init),
2067 (gtk_font_selection_dialog_buildable_get_internal_child):
2068 * gtk/gtkframe.c: (gtk_frame_buildable_init),
2069 (gtk_frame_buildable_add):
2070 * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
2071 (gtk_icon_view_buildable_custom_tag_start),
2072 (gtk_icon_view_buildable_custom_tag_end):
2073 * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
2074 (list_store_start_element), (list_store_end_element),
2075 (list_store_text), (gtk_list_store_buildable_custom_tag_start),
2076 (gtk_list_store_buildable_custom_tag_end):
2078 * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
2079 (gtk_notebook_buildable_add):
2080 * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
2081 (size_group_start_element),
2082 (gtk_size_group_buildable_custom_tag_start),
2083 (gtk_size_group_buildable_custom_finished):
2084 * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
2085 (tree_model_start_element),
2086 (gtk_tree_store_buildable_custom_tag_start),
2087 (gtk_tree_store_buildable_custom_finished):
2088 * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
2089 (gtk_tree_view_buildable_add):
2090 * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
2091 * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
2092 (gtk_ui_manager_buildable_add),
2093 (gtk_ui_manager_buildable_construct_child),
2094 (gtk_ui_manager_buildable_custom_tag_start),
2095 (gtk_ui_manager_buildable_custom_tag_end):
2096 * gtk/gtkwidget.c: (gtk_widget_get_type),
2097 (gtk_widget_buildable_interface_init),
2098 (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
2099 (gtk_widget_buildable_set_property),
2100 (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
2101 (gtk_widget_buildable_custom_tag_start),
2102 (gtk_widget_buildable_custom_finshed):
2103 * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
2104 (gtk_window_buildable_set_property),
2105 (gtk_window_buildable_parser_finished):
2106 * tests/Makefile.am:
2107 * tests/buildertest.c: (builder_new_from_string), (test_parser),
2108 (signal_normal), (signal_after), (signal_object),
2109 (signal_object_after), (signal_first), (signal_second),
2110 (signal_extra), (signal_extra2), (test_connect_signals),
2111 (test_uimanager_simple), (test_domain), (test_translation),
2112 (test_sizegroup), (test_list_store), (test_tree_store),
2113 (test_types), (test_spin_button), (test_notebook),
2114 (test_construct_only_property), (test_children),
2115 (test_child_properties), (test_treeview_column), (test_icon_view),
2116 (test_combo_box), (test_combo_box_entry), (test_cell_view),
2117 (test_dialog), (test_accelerators), (test_widget), (main):
2119 Add GtkBuilder, fixes #172535
2121 2007-06-15 Hans Breuer <hans@breuer.org>
2123 * gtk/makefile.msc.in tests/makefile.msc : updated
2124 * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
2125 to match the WNDCLASSEXW.
2126 True dynamic linking of SetLayeredWindowAttributes
2127 * tests/testprint.c tests/testnouiprint.c : use G_PI
2129 2007-06-14 Johan Dahlin <jdahlin@async.com.br>
2131 * gtk/gtk.symbols: Add missing symbol
2132 gtk_text_layout_set_overwrite_mode
2134 2007-06-14 Behdad Esfahbod <behdad@gnome.org>
2136 * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
2137 warning. (#447586, Kazuki IWAMOTO)
2139 2007-06-14 Tor Lillqvist <tml@novell.com>
2141 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
2142 g_win32_get_windows_version() instead of _winver so that this
2143 compiles on Cygwin, too. Not that I know if it makes sense to
2144 build GTK+ with the Win32 backend for Cygwin, but some people want
2147 2007-06-13 Matthias Clasen <mclasen@redhat.com>
2151 * NEWS, README.in: Move the combobox note to the README,
2152 where it seems more appropriate.
2154 2007-06-13 Matthias Clasen <mclasen@redhat.com>
2156 * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
2157 (#447396, Masatake YAMATO)
2159 2007-06-14 Carlos Garnacho <carlos@imendio.com>
2161 * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
2162 the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
2163 * NEWS: add a note about repercussions of this change to RC files.
2165 2007-06-13 Behdad Esfahbod <behdad@gnome.org>
2167 * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
2168 get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
2170 2007-06-13 Michael Natterer <mitch@imendio.com>
2172 * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
2173 gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
2174 gtk_menu_item_remove_submenu() because we have a properly working
2175 setter now (bug #447065).
2177 * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
2179 * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
2180 gtk_menu_item_remove_submenu().
2182 2007-06-13 Cody Russell <bratsche@gnome.org>
2184 * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
2185 (#435840, Xan Lopez)
2187 2007-06-13 Kristian Rietveld <kris@imendio.com>
2190 * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
2191 gtk_file_system_create to make it public and bring trunk back
2192 in sync with gtk-2-10.
2194 * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
2196 2007-06-13 Michael Natterer <mitch@imendio.com>
2198 * gtk/gtklabel.c (gtk_label_set_label): added calls to
2199 g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
2200 return the old text when called from a "notify::label" callback.
2202 2007-06-13 Kristian Rietveld <kris@imendio.com>
2204 Audit of GtkTreeView coordinate system usage. (#142494).
2206 * gtk/gtktreeview.[ch]: general documentation updates,
2207 (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
2208 update coordinate translations,
2209 (gtk_tree_view_tree_to_widget_coords),
2210 (gtk_tree_view_widget_to_tree_coords): Deprecated,
2211 (gtk_tree_view_convert_.*_coords): 6 new functions for doing
2212 transformations between coordinate systems.
2214 * gtk/gtk.symbols: updated.
2216 * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
2217 with new gtk_tree_view_convert_widget_to_bin_window_coords().
2219 * docs/reference/gtk/Makefile.am
2220 * docs/reference/gtk/images/tree-view-coordinates.png: add new image.
2222 * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
2223 different coordinate systems.
2225 2007-06-13 Kristian Rietveld <kris@imendio.com>
2227 * gtk/gtkcellrendererprogress.c
2228 (gtk_cell_renderer_progress_class_init),
2229 (gtk_cell_renderer_progress_init),
2230 (gtk_cell_renderer_progress_[gs]et_property),
2231 (gtk_cell_renderer_progress_render): Add orientation property and some
2232 slight refactoring here and there. (Fixes #344836, reported by
2233 Benjamin Montgomery).
2235 2007-06-12 Matthias Clasen <mclasen@redhat.com>
2237 * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS
2239 * configure.in: Remove linux-fb parts.
2241 2007-06-12 Michael Natterer <mitch@imendio.com>
2243 * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
2244 instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
2245 wrap-width if there is no whitespace found to break at.
2248 2007-06-12 Kristian Rietveld <kris@imendio.com>
2250 Fix #410815, reported by Lucas Rocha.
2252 * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
2253 wrap-width with the first icon, if it exists,
2254 (adjust_wrap_width): try to use icon_view->priv->item_width
2256 (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
2257 which caused changes in wrap-width during the layouting process and
2258 resulted in layouting artefacts,
2259 (update_text_cell): don't set the wrap-width property, this should
2260 be handled by adjust_wrap_width.
2262 2007-06-12 Behdad Esfahbod <behdad@gnome.org>
2264 * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
2265 (#446138, Björn Lindqvist)
2267 2007-06-12 Yevgen Muntyan <muntyan@tamu.edu>
2269 * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
2270 (gtk_entry_draw_cursor):
2271 * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
2272 (_gtk_widget_get_cursor_color):
2274 * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
2275 (gtk_text_renderer_draw_shape), (text_renderer_set_state),
2277 * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
2278 (gtk_text_layout_invalidate_cache), (get_block_cursor),
2279 (add_cursor), (gtk_text_layout_get_line_display),
2280 (_gtk_text_layout_get_block_cursor):
2281 * gtk/gtktextlayout.h:
2282 * gtk/gtktextutil.c (layout_get_char_width),
2283 (_gtk_text_util_get_block_cursor_location):
2284 * gtk/gtktextutil.h:
2285 * gtk/gtktextview.c (gtk_text_view_set_editable),
2286 (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
2287 (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
2288 Implement block-cursor for overwrite mode. (#80378)
2290 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2292 * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
2295 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2297 * modules/printbackends/cups/gtkprintbackendfile.c:
2298 * modules/printbackends/cups/gtkprintbackendcups.c: Fix some
2299 locking issues. (#420249, Christian Persch)
2301 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2303 * configure.in: When debugging is turned on, use error-checking
2306 2007-06-11 Emmanuele Bassi <ebassi@gnome.org>
2308 * gtk/gtknotebook.h: Fix declaration of the create_window()
2309 vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)
2311 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2313 * tests/testiconview.c: Use icons of varying size.
2315 2007-06-10 Matthias Clasen <mclasen@redhat.com>
2317 * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
2318 with lowercase letters for style property assignments, since
2319 GType accepts these too, and gtkmm uses such class names. (#343012,
2320 Murray Cumming, Johannes Schmid)
2322 2007-06-10 Matthias Clasen <mclasen@redhat.com>
2324 * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
2325 Store cursor_hadjustment as object data rather than in the private
2328 2007-06-10 Matthias Clasen <mclasen@redhat.com>
2330 * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
2331 being NULL. (#445691, Christopher Taylor)
2333 2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
2335 * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
2336 and XOPEN_SOURCE, in order to make the simple search engine backend
2337 build on really ancient GNU libc. (#444097)
2339 2007-06-10 Michael Natterer <mitch@imendio.com>
2341 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
2342 angles by flipping the coordinate system back to its original y
2343 direction. The implementation is still broken for ellipses, will
2344 have to simulate them using bezier curves.
2346 2007-06-10 Cody Russell <bratsche@gnome.org>
2348 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
2349 Don't revert the mouse cursor to the built-in one when
2350 the user holds the mouse button down. (#445284, Tor Lillqvist)
2352 2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
2354 * gtk/gtkscalebutton.[ch]: Fix some coding style bits.
2356 (gtk_scale_button_dispose), (gtk_scale_button_class_init),
2357 (gtk_scale_button_init): Use the GObject private data API instead
2358 of allocating the private structure ourselves.
2360 (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
2361 the icons string vector inside ::finalize and not in ::dispose.
2363 (gtk_scale_button_update_icon): Use g_strv_length() instead
2364 of an empty for loop.
2366 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2369 * gtk/gtkscrolledwindow.c: Update docs
2370 * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
2372 * gtk/gtkbox.c: Move docs inline.
2375 * gtk/gtkscale.c: Doc formatting improvements.
2377 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2379 * gtk/gtkscalebutton.c: Add an icons property, make
2380 gtk_scale_button_new() a convenience function. (#445855,
2383 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2385 * gtk/gtkhscale.c (gtk_hscale_new):
2386 * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
2387 it more obvious that this is a convenience function.
2389 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2391 * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
2392 from nl_langinfo() more correctly.
2394 2007-06-09 Carlos Garnacho <carlos@imendio.com>
2396 * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
2397 branch too. (#445539)
2399 2007-06-08 Benjamin Berg <benjamin@sipsolutions.net>
2401 * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
2402 Fix shadow painting if the scrollbars-within-bevel style property is
2403 set and border_width is nozero. (#445054)
2405 2007-06-08 Matthias Clasen <mclasen@redhat.com>
2407 Make it possible for theme engines to support symbolic
2408 colors. (#426192, Andrea Cimitan, patch by Olivier Samyn)
2412 * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
2414 * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
2415 to new style before parsing engine section.
2417 2007-06-08 Michael Natterer <mitch@imendio.com>
2419 * gdk/quartz/gdkdrawable-quartz.c: add utility function
2420 gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
2421 GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
2423 (gdk_quartz_draw_segments)
2424 (gdk_quartz_draw_lines): use it here.
2426 2007-06-07 Michael Natterer <mitch@imendio.com>
2428 * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
2429 some values to the defaults used by X11.
2431 (gdk_quartz_gc_set_values): really set cap_style when
2432 GDK_GC_CAP_STYLE is in the mask, not line_style.
2434 2007-06-07 Michael Natterer <mitch@imendio.com>
2436 * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
2437 use the same code for GDK_XOR as for GDK_INVERT. Xor with an
2438 arbitrary color is impossible to implement with quartz.
2440 2007-06-07 Matthias Clasen <mclasen@redhat.com>
2442 * gtk/gtksettings.c: Fix a typo in the docs.
2444 2007-06-07 Christian Neumair <cneumair@gnome.org>
2446 * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
2448 2007-06-07 Matthias Clasen <mclasen@redhat.com>
2450 * gtk/gtktreeview.c: Documentation additions.
2452 * gtk/gtknotebook.c: Add a doc comment.
2454 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2456 * gtk/gtkfilechooserbutton.c (model_add_special):
2457 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
2458 * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
2459 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
2460 Use g_get_user_special_dir() to obtain the path for the
2463 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2465 * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
2466 to the list of stock icons. (#444786)
2468 2007-06-06 Kristian Rietveld <kris@imendio.com>
2470 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
2471 (gtk_cell_renderer_progress_class_init),
2472 (gtk_cell_renderer_progress_[gs]et_property),
2473 (gtk_cell_renderer_progress_render): add text-[xy]align properties
2474 for aligning the text label of the progress bar. (#334576,
2475 suggestion from Steven Sheehy).
2477 2007-06-06 Yevgen Muntyan <muntyan@tamu.edu>
2480 * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
2483 * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
2484 _gtk_rc_style_unset_rc_property().
2486 * gtk/gtk.symbols: added gtk_widget_modify_cursor.
2488 * tests/testtext.c (do_cursor_visible_changed):
2489 * tests/testgtk.c (create_styles): test it.
2491 2007-06-06 Richard Hult <richard@imendio.com>
2493 * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
2494 (find_window_for_ns_event): Rework how we get the event window:
2495 don't get the window from the NSEvent, always use the mouse window
2496 instead. Fix mouse window tracking by only using MouseExited for
2497 non-gdk windows, and to always use the NSEvent window to get the
2498 right gdk window in MouseEntered. Add comments to the code. Fixes bug
2501 2007-06-06 Richard Hult <richard@imendio.com>
2503 * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
2504 Don't do anything if the two windows are the same.
2505 (find_window_for_ns_event): Translate coordinates to be relative
2506 the grab window when appropriate.
2508 2007-06-06 Emmanuele Bassi <ebassi@gnome.org>
2510 * gtk/gtkfilechooserdefault.c:
2511 (get_file_info_finished), (shortcuts_insert_path),
2512 (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
2513 out the search shortcut, the recently used shortcut and the separator
2514 from the shortcut selection combo. (#444734)
2516 (recent_idle_load): Remove the idle source that lazily loads the
2517 recently used files, if the GtkRecentManager returns an empty
2520 2007-06-06 Ross Burton <ross@openedhand.com>
2522 * gdk/x11/gdkspawn-x11.c:
2523 Set DISPLAY in the child process using g_setenv() instead of
2524 constructing a new envp, which lets callers use child setup
2525 functions which call putenv (#442617).
2527 2007-06-06 Johan Dahlin <jdahlin@async.com.br>
2529 reviewed by: Matthias Clasen <mclasen@redhat.com>
2531 * gtk/gtkassistant.c (gtk_assistant_update_buttons_state):
2532 Check if the wizard is empty before trying to access the first page.
2533 (#444310, Johan Dahlin)
2535 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2537 * configure.in: Bump version
2539 * === Released 2.11.2 ===
2543 2007-06-06 Kristian Rietveld <kris@imendio.com>
2545 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
2546 GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
2548 2007-06-06 Kristian Rietveld <kris@imendio.com>
2550 * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
2551 function. (#342471, Lorenzo Gil Sanchez).
2553 * gtk/gtk.symbols: updated.
2555 2007-06-06 Kristian Rietveld <kris@imendio.com>
2557 * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
2558 call to gtk_widget_size_request(). (Reported by Carlos
2561 2007-06-06 Kristian Rietveld <kris@imendio.com>
2563 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
2564 last_window is not a GdkWindow anymore. (Fixes #434021, several
2567 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2569 * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
2571 2007-06-06 Brian Cameron <brian.cameron@sun.com>
2573 * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
2574 file gets included with the distribution, as needed. Fixes bug
2575 #442888. Reviewed by Matthias Clasen.
2577 2007-06-06 Richard Hult <richard@imendio.com>
2579 * gdk/quartz/gdkevents-quartz.c
2580 (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
2581 windows are the same.
2583 2007-06-06 Kristian Rietveld <kris@imendio.com>
2585 * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
2586 auto expand timeout if it exists.
2588 2007-06-06 Richard Hult <richard@imendio.com>
2590 * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
2591 Update comment to be more clear and print a warning if we try to
2592 create a crossing event without knowing what the current mouse
2593 window is, to help track down focus bugs.
2595 * gdk/quartz/gdkevents-quartz.c
2596 (_gdk_quartz_events_update_focus_window): Fix indentation.
2598 2007-06-06 Richard Hult <richard@imendio.com>
2600 * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
2603 2007-06-06 Tor Lillqvist <tml@novell.com>
2605 * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
2606 embarrassing crash. (#444457, Torsten Schoenfeld)
2608 2007-06-05 Yevgen Muntyan <muntyan@tamu.edu>
2610 * demos/gtk-demo/textview.c (insert_text): Drop the phrase
2611 saying invisible text doesn't work (#444236).
2613 2007-06-05 Matthias Clasen <mclasen@redhat.com>
2615 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
2616 window_private is not NULL before using it. (#444351, David Ronis)
2618 2007-06-05 Jakub Steiner <jimmac@ximian.com>
2620 * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
2621 gtk-find is used for search, rather than find within a document
2624 2007-06-05 Kristian Rietveld <kris@gtk.org>
2626 Fix #399071, suggestion from Benoit Dejean.
2628 * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
2629 function, factored out code iterating (columns, values) vectors from
2630 gtk_list_store_new_with_valuesv to here,
2631 (gtk_list_store_set_valuesv): new public function to set list store
2632 values using (columns, values) vectors,
2633 (gtk_list_store_new_with_valuesv): call new _set_vector_internal
2636 * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
2637 (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
2640 * gtk/gtk.symbols: updated.
2642 2007-06-04 Richard Hult <richard@imendio.com>
2644 * gdk/quartz/gdkwindow-quartz.c:
2645 (show_window_internal): Don't try to make temp windows key
2646 windows, fixes problem introduced below.
2648 2007-06-04 Richard Hult <richard@imendio.com>
2650 * gdk/quartz/GdkQuartzWindow.c:
2651 * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
2652 gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
2654 2007-06-04 Richard Hult <richard@imendio.com>
2656 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
2657 (gdk_window_lower): Implement.
2659 2007-06-04 Richard Hult <richard@imendio.com>
2661 * gdk/quartz/gdkwindow-quartz.c:
2662 * gdk/quartz/gdkwindow-quartz.h: Implement
2663 gdk_window_set_transient_for.
2665 2007-06-04 Cody Russell <bratsche@gnome.org>
2667 * gtk/gtklinkbutton.h
2668 * gtk/gtkaboutdialog.h: Change function argument "link"
2669 to "link_" to fix warnings for applications compiling
2670 with -Wshadow. (#379213)
2672 2007-06-04 Cody Russell <bratsche@gnome.org>
2674 * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
2675 if down_button is NULL. This happens when the pathbar button
2676 for the current directory is too large to fit in the
2677 space, e.g. on Windows for directories named something like
2678 "My Documents and Settings". (#389603)
2680 2007-06-04 Matthias Clasen <mclasen@redhat.com>
2682 * configure.in: Bump version
2684 * === Released 2.11.1 ===
2686 * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
2689 * README.in: Updates
2691 2007-06-04 Michael Natterer <mitch@imendio.com>
2693 Move "move-focus" signals from several widgets to GtkWidget to
2694 enable more flexible costomization of keyboard navigation via
2695 bindings. Fixes bug #414947.
2697 * gtk/gtkwidget.c: add "move-focus" binding signal, default to
2698 calling the toplevel GtkWindow's "move-focus" vfunc.
2700 * gtk/gtktextview.[ch]
2701 * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
2702 code that makes sure that both emitting the signal on the widget
2703 and overriding the virtual functions keeps working as before.
2705 * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
2706 GtkWidget's signal. This change slightly changes keyboard
2707 navigation in toolbars. I'll fix the behavior if somebody can
2708 explain me if and how exactly the new behavior is broken.
2710 2007-06-04 Matthias Clasen <mclasen@redhat.com>
2712 * gtk/gtkmarshalers.list:
2713 * gtk/gtknotebook.[hc]: Add a create-window signal that allows
2714 to override the global create-window-hook on a per-notebook
2715 basis. The default handler falls back to the global hook.
2716 (#386935, Christian Hammond)
2718 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
2720 * gtk/gtkradiobutton.[ch]:
2722 * tests/testgtk.c: Revert previous commit; the API is not yet
2723 finalized - see bug #166995.
2725 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
2727 * gtk/gtkradiobutton.h:
2728 * gtk/gtkradiobutton.c:
2729 * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
2730 gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
2731 Use these functions to set and get an arbitrary integer associated to
2732 a GtkRadioButton in a group, like the value associated to a
2736 (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
2738 2007-06-03 Torsten Schoenfeld <kaffeetisch@gmx.de>
2740 * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
2741 to avoid accessing uninitialized memory when
2742 gtk_icon_theme_choose_icon() is called with an empty names list.
2744 2007-06-03 Richard Hult <richard@imendio.com>
2746 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
2749 2007-06-03 Richard Hult <richard@imendio.com>
2751 * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
2753 (gdk_display_pointer_is_grabbed): Do what the docs say and don't
2754 consider implicit grabs here.
2755 (gdk_pointer_grab): Overriding a grab by the same app should always be
2757 (gdk_event_translate): Implicit grabs should not be owner events.
2759 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2763 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2765 * docs/tools/widgets.c: Add a volume button
2767 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2769 * gtk/gtkradiobutton.c:
2770 * gtk/gtkradiomenuitem.c: Fix doc typos.
2772 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2774 * configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò)
2776 2007-06-03 Xan Lopez <xan@gnome.org>
2778 * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
2779 and remove g_return_if checks in private functions. (#443247)
2781 2007-06-01 Richard Hult <richard@imendio.com>
2783 * gdk/quartz/gdkevents-quartz.c:
2784 (get_converted_window_coordinates), (create_crossing_event): Fix the
2785 coordinates in crossing events so they are relative to the right
2788 2007-06-01 Richard Hult <richard@imendio.com>
2790 * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
2791 consistent for the various functions that retrieve data from an
2794 * gdk/quartz/gdkprivate-quartz.h:
2795 * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
2796 _gdk_quartz_window_find_child_by_point() function.
2798 2007-06-01 Matthias Clasen <mclasen@redhat.com>
2800 Add support for composited child windows. (#412882, Ryan Lortie)
2804 * gdk/gdkinternals.h:
2805 * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
2806 gdk_window_set_composited().
2808 * gdk/x11/gdkevents-x11.c:
2809 * gdk/x11/gdkdisplay-x11.[hc]:
2810 * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
2812 * gdk/win32/gdkdisplay-win32.c:
2813 * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
2815 * gdk/quartz/gdkdisplay-quartz.c:
2816 * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
2818 * gdk/directfb/gdkdisplay-directfb.c:
2819 * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
2821 * tests/testgtk.c: Add a "composited window" test.
2823 2007-06-01 Michael Natterer <mitch@imendio.com>
2825 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
2826 submenu opening direction for overlapping reasons if there is even
2827 less space on the other side (bug #441863, Tommi Komulainen).
2829 2007-06-01 Michael Natterer <mitch@imendio.com>
2831 * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
2832 to not obfuscate the code.
2834 2007-06-01 Yevgen Muntyan <muntyan@tamu.edu>
2836 Avoid recreating pangolayouts in GtkTextView on cursor movement
2837 (#435405, Behdad Esfahbod).
2839 * gtk/gtktextlayout.c:
2840 * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
2841 and functions gtk_text_layout_invalidate_cursors() and
2842 gtk_text_layout_cursors_changed(), to use when invalidation is due
2843 to moved marks or changed selection.
2845 * gtk/gtktextbtree.c:
2846 * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
2848 * gtk/gtk.symbols: add new functions.
2850 * README.in: added a note about changed GtkTextLayout API.
2852 2007-06-01 Alp Toker <alp.toker@collabora.co.uk>
2854 * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
2856 2007-05-31 Yevgen Muntyan <muntyan@tamu.edu>
2858 * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
2859 widget style to draw cursor instead of hardcoded black and grey
2860 (#79585, comment #30).
2862 2007-06-01 Kristian Rietveld <kris@gtk.org>
2864 * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
2865 pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
2868 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2870 * tests/autotestfilechooser.c: Reactivate the other file-chooser
2871 tests. Forgot that before commiting revision 17994.
2873 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2875 * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
2876 the internal response_requested flag, once the response triggered by
2877 file_chooser_widget_response_requested has been processed (#347883).
2879 2007-05-30 Richard Hult <richard@imendio.com>
2881 * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
2882 function, bug #438440.
2884 2007-05-30 Tor Lillqvist <tml@novell.com>
2886 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
2887 multi-monitor offset from x and y before setting up the rectangle
2888 for ClipCursor(). Fixes #442326.
2890 2007-05-30 Matthias Clasen <mclasen@redhat.com>
2892 * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
2893 if the size changed. (#418047, Alex Graveley)
2895 2007-05-30 Simos Xenitellis <simos@gnome.org>
2897 * gdk/gdkkeysyms-update.pl: Updated script to new upstream
2898 location of keysymdef.h (#442183)
2900 2007-05-30 Emmanuele Bassi <ebassi@gnome.org>
2902 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
2903 after setting the file chooser entry with the current selection.
2905 2007-05-30 Matthias Clasen <mclasen@redhat.com>
2907 * gtk/gtkiconcachevalidator.c: Correct the handling
2908 of display names. (#441767, Marcin Bachry)
2910 2007-05-30 Xan Lopez <xan@gnome.org>
2912 * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
2915 2007-05-28 Cody Russell <bratsche@gnome.org>
2917 * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
2919 2007-05-28 Richard Hult <richard@imendio.com>
2921 * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
2922 (get_ancestor_coordinates_from_child): Break out code that was
2923 repeated into separate functions and call them instead.
2924 (find_window_for_mouse_nsevent): Break out this from
2925 find_window_for_nsevent to make the code clearer.
2926 (find_window_for_nsevent): Use the above and fix the returned
2927 coordinates in the process so that they are always relative the
2928 found window, both for the normal case and during grabs. Still
2929 needs fixing for the case where we get nsevents for a window other
2930 than than grab window during grabs.
2932 2007-05-28 Richard Hult <richard@imendio.com>
2934 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
2935 we need both press and release in the mask to trigger implicit
2938 2007-05-28 Richard Hult <richard@imendio.com>
2940 * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
2941 all the grab state, to help debugging.
2942 (gdk_event_translate): Use pointer_ungrab_internal instead of
2943 duplicating the code here.
2945 2007-05-28 Richard Hult <richard@imendio.com>
2947 * gdk/quartz/gdkprivate-quartz.h:
2948 * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
2949 (_gdk_quartz_window_find_child): Refactored version of
2950 _gdk_quartz_window_find_child_by_point, that doesn't return any
2951 coordinates as the users of this function already have the
2952 coordinates and need to translate them differently.
2953 (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
2954 (_gdk_windowing_window_at_pointer): Likewise.
2956 2007-05-28 Richard Hult <richard@imendio.com>
2958 * gdk/quartz/gdkevents-quartz.c
2959 (find_window_interested_in_event_mask): Don't traverse beyond the
2960 toplevel of the passed in window.
2962 2007-05-28 Richard Hult <richard@imendio.com>
2964 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
2965 a size for the root window.
2967 2007-05-28 Richard Hult <richard@imendio.com>
2969 * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
2970 coordinates are relative to.
2972 2007-05-28 Carlos Garnacho <carlos@imendio.com>
2974 * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
2975 Add back variable declaration removed in r17958.
2977 2007-05-28 Carlos Garcia Campos <carlosgc@gnome.org>
2979 * gtk/gtkprinter.[ch]: Add new capability
2980 GTK_PRINT_CAPABILITY_NUMBER_UP.
2981 * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
2982 * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
2983 * modules/printbackends/file/gtkprintbackendfile.c:
2984 (file_printer_get_options), (file_printer_get_settings_from_options):
2985 * modules/printbackends/cups/gtkprintbackendcups.c:
2986 (cups_printer_get_capabilities): Add a new print capability to specify
2987 whether print dialog will offer printing multiple pages per sheet. (#398414)
2989 2007-05-28 Matthias Clasen <mclasen@redhat.com>
2991 * gtk/gtktoolbar.h: Actually undeprecate
2992 gtk_toolbar_[un]set_icon_size. (#314172. Yevgen Muntyan)
2994 2007-05-28 Matthias Clasen <mclasen@redhat.com>
2996 * gtk/gtkwidget.c: Document some more signals
2998 * gtk/gtktextview.c: Improve docs
3000 2007-05-27 Tor Lillqvist <tml@novell.com>
3002 * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
3003 supposed to be -luser32, but he "l" was missing. But nobody has
3004 noticed, so presumably unnecessary.
3006 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3008 * gtk/gtkprintoperationpreview.c: Improve docs
3010 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3012 * gtk/gtkentry.c: Move docs inline.
3014 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3016 * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
3017 that cause problems when building the docs.
3019 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3021 * gdk/x11/gdkdisplay-x11.c: Update docs
3022 * gdk/gdk.c: Update docs
3023 * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
3024 * gdk/x11/gdkwindow-x11.c: Fix doc formatting
3026 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3029 * gtk/gtkstatusicon.c:
3030 * gtk/gtkscalebutton.c:
3031 * gtk/gtkrecentaction.c:
3034 * gtk/gtkprintsettings.c:
3035 * gtk/gtkpapersize.c:
3036 * gtk/gtkpagesetup.c:
3037 * gtk/gtknotebook.c:
3038 * gtk/gtkentrycompletion.c: Document new api
3040 2007-05-26 Richard Hult <richard@imendio.com>
3042 * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
3045 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3047 * configure.in: Require gtk-doc 1.6, for signal and property links.
3050 * gtk/gtkcontainer.c:
3056 * gtk/gtksettings.c:
3057 * gtk/gtkwidget.c: Documentation improvements, link signals
3058 and properties where it makes sense.
3060 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3062 * gtk/gtktextmark.c:
3063 * gtk/gtktextbuffer.c: Formatting fixes.
3065 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3067 Allow to separate GtkTextMark creation from buffer insertion.
3068 (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
3070 * gtk/gtktextmarkprivate.h:
3071 * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
3072 create a GtkTextMark.
3074 * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
3075 function to add an existing mark to a buffer.
3077 * gtk/gtktextbtree.c: Allow adding existing marks.
3079 * gtk/gtk.symbols: Add new functions.
3081 * tests/testtextbuffer.c: Add some tests for new mark
3084 2007-05-25 Xan Lopez <xan@gnome.org>
3086 * gtk/gtkaction.c: (gtk_action_set_short_label):
3087 Use private->data->short_label to update the proxies. (#440780)
3089 2007-05-25 Richard Hult <richard@imendio.com>
3091 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
3092 Implement copying from a window, part of bug #348493.
3094 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3096 * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
3097 refence on the print operation until gtk_print_job_send()
3098 is done. (#440040, Chris Vine)
3100 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3102 * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
3103 Don't crash and don't leak. (#439565, Pedro Villavicencio)
3105 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3107 * gtk/gtkiconfactory.c: Improve a warning
3108 * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
3109 set the error when returning NULL. (#440982, Carlos Garcia
3112 2007-05-25 Michael Natterer <mitch@imendio.com>
3114 Merge fix from maemo-gtk:
3116 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
3117 also if the menu item we're entering is already selected. Also, it
3118 makes no sense to forward the event to the parent menu shell if we
3119 are entering a menu item of *this* menu shell.
3121 2007-05-24 Matthias Clasen <mclasen@redhat.com>
3123 * gtk/stock-icons/*: Make sure all svg icons are added
3126 2007-05-24 Matthias Clasen <mclasen@redhat.com>
3128 * modules/input/Makefile.am: Fix broken DESTDIR support
3130 2007-05-24 Michael Natterer <mitch@imendio.com>
3132 * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
3133 Bogdan Nicula which fixes a crash on GdkWindows which have no
3134 GtkWidget as user_data (bug #440890).
3136 2007-05-24 Matthias Clasen <mclasen@redhat.com>
3138 * configure.in: Bump version
3140 * === Released 2.11.0 ===
3144 2007-05-23 Matthias Clasen <mclasen@redhat.com>
3147 * gdk/x11/xsettings-common.h:
3148 * gdk/gdk.symbols: Add some missing symbols.
3150 * gtk/paper_names_offsets.c:
3151 * gtk/gen-paper-names.c: Make variables static.
3153 * gtk/gtktooltip.[hc]:
3154 * gtk/gtkvolumebutton.c:
3155 * gtk/gtkscalebutton.c: Fix up symbol aliasing.
3157 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
3159 * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
3161 * gtk/gtkhandlebox.c (gtk_handle_box_paint):
3162 * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
3163 * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
3164 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
3165 * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
3166 * gtk/gtkpreview.c (gtk_preview_finalize):
3167 * gtk/gtknotebook.c (gtk_notebook_set_group_id):
3168 * tests/testnotebookdnd.c (window_creation_function):
3169 * tests/testiconview.c (do_popup_menu):
3170 Fixed some compiler warnings (#440689).
3172 2007-05-23 Kristian Rietveld <kris@imendio.com>
3174 * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
3175 from the window they were received on to the event widget's window;
3176 correct for no-window widgets after that, bail out on failure. This
3177 makes the coordinates given by GtkWidget::query-tooltip truly relative
3178 to widget->window. (#435188).
3180 * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
3181 GtkWidget::query-tooltip.
3183 2007-05-22 Behdad Esfahbod <behdad@gnome.org>
3185 * gtk/gtkprintcontext.c (gtk_print_context_finalize),
3186 (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
3187 (gtk_print_context_set_cairo_context),
3188 (gtk_print_context_get_pango_fontmap),
3189 (gtk_print_context_create_pango_context):
3190 Don't create new pango fontmaps. Use the default pangocairo
3191 fontmap and set resolution on PangoContext instead. (#417707)
3193 2007-05-21 Richard Hult <richard@imendio.com>
3195 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
3198 * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
3200 2007-05-21 Michael Natterer <mitch@imendio.com>
3202 * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
3204 Mon May 21 13:58:32 2007 Tim Janik <timj@imendio.com>
3206 * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
3208 2007-05-21 Tor Lillqvist <tml@novell.com>
3210 * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
3213 2007-05-20 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3215 * gdk/directfb/gdkwindow-directfb.c:
3216 * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
3217 required to enable gdk_directfb_create_child_window.
3220 2007-05-20 Bastien Nocera <hadess@hadess.net>
3225 * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
3226 a button that pops up a scale when clicked (Closes: #415775)
3227 * tests/Makefile.am:
3228 * tests/testvolumebutton.c: Add a test program for the
3231 2007-05-19 Bastien Nocera <hadess@hadess.net>
3233 reviewed by: Matthias Clasen <mclasen@redhat.com>
3238 * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
3239 a button that pops up a scale when pressed
3241 2007-05-19 Matthias Clasen <mclasen@redhat.com>
3244 * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
3245 in favour of new functions gtk_notebook_[gs]et_group, which
3246 takes a pointer as group identifier and makes it easier to
3247 avoid group id collisions. (#386930, Christian Hammond)
3249 * tests/testnotebookdnd.c: Use new grouping api.
3251 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3253 * gtk/gtkactiongroup.c: Warn and refuse to add actions with
3254 duplicate names. (#150877, Tommi Komulainen, patch by Kalle
3257 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3260 * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
3261 to allow automatic scrolling in response to cursor movements
3262 in the entry. (#438651, Nate Nielsen)
3264 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3266 * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
3267 signal, and bind F7 to it. (#380048, Tim Miao)
3269 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3272 * gtk/gtkicontheme.h:
3273 * gtk/gtkicontheme.c: Add a function to look up an icon from
3274 a list of icon names. (#396901, Luca Ferretti)
3276 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
3278 * gtk/gtkrecentchooserdefault.c:
3279 (gtk_recent_chooser_default_dispose): Reset the state on dispose.
3281 (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
3282 is a valid state, if the main loop never had the chance to
3283 properly spin at least once. (#438671)
3285 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
3287 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
3288 string for translation. (#439437)
3290 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3292 * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
3293 doc typo. (#438100, Vincent Untz)
3295 2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
3299 * configure.in: Bump libtiff requirement to 3.6.0, by requiring
3300 presence of TIFFReadRGBAImageOriented.
3302 * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
3303 Preserve pixbuf options when generating a new scaled pixbuf.
3305 * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
3306 (gdk_pixbuf__jpeg_image_load_increment): Read the exif
3307 orientation tag and associate it with the "orientation" pixbuf
3308 option. Renders libexif unnecessary in some applications.
3310 * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
3311 compensate for the partial rotations performed by libtiff,
3312 and generate an "orientation" option for the pixbuf.
3314 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3316 * gtk/gtkexpander.c: remove c++ style comment.
3318 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3320 Make combobox menu popdown keybindable (#433593)
3322 * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
3323 signal and keybindings.
3324 (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
3326 (gtk_combo_box_menu_key_press):
3327 (gtk_combo_box_list_key_press): forward the event to the combobox if
3328 it wasn't handled by the menu.
3330 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3332 * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
3333 (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
3334 their DnD handlers if the target doesn't match with anything the
3335 notebook manages. (#350665, Joakim Lundborg).
3337 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3339 Refactor GtkFileChooserDialog sizing.
3341 * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
3342 (_gtk_file_chooser_embed_get_resizable_hints):
3343 s/resizable_hints/resizable/, return just one boolean value to
3344 determine whether the filechooser should be resizable or not.
3346 * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
3347 variables related to the GtkFileChooserEmbed get_default_size() and
3348 get_resizable() implementations.
3349 (struct GtkFileChooserDefault): Move default size management here.
3351 * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
3352 Added, store currently allocated size to calculate default size later.
3353 (gtk_file_chooser_default_get_resizable_hints):
3354 s/resizable_hints/resizable/.
3355 (gtk_file_chooser_default_set_property): Reload settings if the file
3356 chooser action changes, this way the save expander state will be known
3357 before mapping the window, avoiding wrong window positioning and
3358 flickering. (#424299, #424309)
3359 (find_good_size_from_style): Only get size from style if it wasn't set
3361 (gtk_file_chooser_default_get_default_size): return default size based
3362 on stored default size and preview/extra widget sizes.
3364 * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
3365 (file_chooser_widget_realized_size_changed)
3366 (file_chooser_widget_unrealized_size_changed): simplified to
3367 (file_chooser_widget_size_changed): set window size and resizability
3368 based on the GtkFileChooserEmbed interface implementation. (Bug
3369 #420285, Tomeu Vizoso)
3370 (gtk_file_chooser_dialog_map): force a dialog size change, so it's
3371 clamped for sure to the 75% of the screen size.
3373 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3375 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
3376 the brand new current page if there was none set previously. Fixes
3377 #425138 (Reported by Michail Crayson). Some code simplifications.
3378 (gtk_notebook_draw_arrow): code style fix.
3380 2007-05-16 Matthias Clasen <mclasen@redhat.com>
3382 * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
3383 buttons. Keep the focus from vanishing when Up or Down arrows
3384 become insensitive or invisible. (#357005, Patrick Wade)
3386 2007-05-16 Brian Cameron <brian.cameron@sun.com>
3388 * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
3389 gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
3390 gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
3391 gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that
3392 hardware acceleration via mediaLib is enabled if mediaLib is
3393 detected via configure. Enhancement request #344813. I was given
3394 permission to commit in the bug report by Matthias Clasen.
3395 * gdk/medialib.[ch]: New files added for mediaLib support.
3396 * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
3397 docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for
3400 2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
3402 * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
3403 priv->free_platform_data to prevent gtk_print_operation_finalize()
3404 from freeing the cairo surface a second time.
3406 2007-05-14 Kristian Rietveld <kris@gtk.org>
3408 * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
3409 dangling semicolon, fixes the segfault ebassi was seeing earlier today
3412 2007-05-14 Tristan Van Berkom <tvb@gnome.org>
3414 * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
3415 were deprecated in favour of gtk_about_dialog_get/set_program_name(),
3416 the GtkAboutDialog now uses the "program-name" property instead of
3417 the conflicting "name" property (fixes bug 345822).
3419 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
3421 * configure.in: Add check for GNU extensions to ftw()/nftw().
3423 * gtk/gtksearchenginesimple.c: Fix compilation on systems with
3424 only POSIX-compliant ftw(). (#435797, based on a patch by
3427 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
3429 * gtk/gtkfilechooserdefault.c:
3430 Convert the GtkTreeIter inside the sorting functions for the
3431 search and recent modes. This doesn't yet fix the segfault when
3432 clicking the 'Name' column in recent mode, though.
3434 2007-05-14 Behdad Esfahbod <behdad@gnome.org>
3436 * modules/input/gtkimcontextthai.c
3437 (gtk_im_context_thai_filter_keypress):
3438 Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
3440 2007-05-14 Matthias Clasen <mclasen@redhat.com>
3442 * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
3443 as 2.12 addition. (#438131, Mart Raudsepp)
3445 2007-05-14 Matthias Clasen <mclasen@redhat.com>
3447 * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
3448 size requisition for wide vertical separators. (#438113,
3451 2007-05-13 Emmanuele Bassi <ebassi@gnome.org>
3453 * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
3454 all the symbols defined in <ftw.h> conditionally.
3456 2007-05-13 Cody Russell <bratsche@gnome.org>
3458 * gdk/win32/gdkevents-win32.c: Only do the configure event context
3459 iteration under WM_WINDOWPOSCHANGED instead of inside
3460 handle_configure_event(). This fixes a bug that prevented window
3461 contents from being redrawn after gtk_window_resize(). (#436721)
3463 2007-05-12 Behdad Esfahbod <behdad@gnome.org>
3465 * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
3466 generation. (#437879, Eddie C. Dost)
3468 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3470 GtkFileChooser search fixes and recent files support. (#435342)
3472 * gtk/gtkfilechooserdefault.c: Support drag and drop for
3473 adding shortcuts of folders when in search or recent files
3476 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3478 GtkFileChooser search fixes and recent files support. (#435342)
3480 * gtk/gtkfilechooserprivate.h:
3481 * gtk/gtkfilechooserdefault.c: Follow the sorting order of
3482 the GtkTreeView displaying the files list.
3484 (shortcuts_get_index), (shortcuts_insert_separator),
3485 (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
3486 the separator between the Search and the Recently Used shortcuts.
3488 (list_select_func), (list_icon_data_func), (list_name_data_func),
3489 (list_mtime_data_func): Update the sensitivity of the row
3490 depending on the GtkFileChooserAction used.
3492 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3494 GtkFileChooser search fixes and recent files support. (#435342)
3496 * gtk/gtkfilechooserprivate.h:
3497 * gtk/gtkfilechooserdefault.c: Update the contents of the
3498 files list when changing the filter of the GtkFileChooserDefault
3501 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3503 GtkFileChooser search fixes and recent files support. (#435342)
3505 * gtk/gtkfilechooserdefault.c: Update the add bookmark button
3506 sensitivity when in search or recent files mode, and allow
3507 adding a bookmark for a folder.
3509 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3511 GtkFileChooser search fixes and recent files support. (#435342)
3513 * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
3514 a mnemonic to the label, de-boldify the label's text and assign
3515 focus to the search entry when switching to the search mode.
3517 (list_name_data_func): Split the text in both search and recent
3518 files mode: on the first line use the short name and on the
3519 second line use the full path.
3521 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3523 GtkFileChooser search fixes and recent files support. (#435342)
3525 * gtk/gtkfilechooserprivate.h:
3526 * gtk/gtkfilechooserdefault.c: Add support for showing the
3527 recently used files list as a special shortcut item.
3529 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3531 GtkFileChooser search fixes and recent files support. (#435342)
3533 * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
3534 indentation style consistency.
3536 (list_row_activated): If the search hit is a folder, follow it
3537 when activating the row, and switch back to browse mode.
3539 (search_clear_model), (search_start_query),
3540 (search_entry_activate_cb), (search_setup_widgets): Remember
3541 the last query when switching between modes.
3543 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3545 GtkFileChooser search fixes and recent files support. (#435342)
3547 * gtk/gtkfilechooserdefault.c:
3548 (_gtk_file_chooser_default_class_init): Add key binding for
3549 the Search shortcut; default to MOD1+S.
3551 (search_shortcut_handler): Handle the key binding.
3553 (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
3554 (search_setup_model): Retrieve informations on the search hits
3555 when adding them to the model.
3557 (list_icon_data_func): Show the search hit icon.
3559 2007-05-11 Michael Natterer <mitch@imendio.com>
3561 * gtk/gtktextview.c (selection_motion_event_handler): call
3562 gdk_event_request_motions(event) so selecting works with
3563 XInput devices too. Spotted by Tommi Komulainen.
3565 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3567 * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
3568 to GtkSearchEngineSimple only if gthread has already been
3569 initialiased; otherwise, disable search support in the file
3570 chooser widget. (#435847)
3572 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3574 * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
3575 image before overwriting priv->image. (#437281, Jochen Baier)
3577 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3579 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
3580 Correct a confusing warning. (#437284, Björn Lindqvist)
3582 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3584 * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
3585 the backend if the region is empty. (#437081, Sven Neumann)
3587 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3589 * gtk/gtksearchenginesimple.c (search_visit_func);
3590 Assume Posix nftw behaviour.
3592 2007-05-09 Dom Lachowicz <domlachowicz@gmail.com>
3594 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't
3595 expand/collapse with Right/Left cursor keys on Windows
3596 (#436269, Daniel Atallah)
3598 2007-05-09 Cody Russell <bratsche@gnome.org>
3601 (get_arrows_border): New function to calculate the border sizes needed
3602 for the scroll arrows.
3603 (get_arrows_visible_area): New function to calculate the arrows visible
3605 (get_arrows_sensitive_area): New function to calculate the arrows
3607 (gtk_menu_paint): Refactored code to calculate the border sizes needed
3608 for the scroll arrows into get_arrows_border and the code to calculate
3609 the visible area into get_arrows_visible_area.
3610 (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
3611 to get_arrows_sensitive_area.
3612 (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
3613 gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
3614 get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
3615 callers. (From #436533, Tommi Komulainen)
3617 2007-05-09 Kristian Rietveld <kris@imendio.com>
3619 * gtk/gtktreeview.c (gtk_tree_view_key_press),
3620 (gtk_tree_view_key_release):
3621 * gtk/gtkiconview.c (gtk_icon_view_class_init),
3622 (gtk_icon_view_key_press),
3623 (gtk_icon_view_key_release): Disable key bindings during rubber
3624 banding, make pressing Esc stop rubber banding. (#405027).
3626 2007-05-09 Emmanuele Bassi <ebassi@gnome.org>
3628 * gtk/gtkrecentmanager.c:
3629 (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
3630 with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
3632 2007-05-05 Richard Hult <richard@imendio.com>
3634 * gdk/quartz/gdkdrawable-quartz.c:
3635 (gdk_quartz_drawable_get_context),
3636 (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
3637 Turns out the lockFocus logic was flawed, now we only lock/unlock
3638 when called outside a real expose event and never flush manually.
3640 2007-05-03 Behdad Esfahbod <behdad@gnome.org>
3642 * gtk/gtklabel.c (gtk_label_ensure_layout):
3643 * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
3644 using pango_layout_set_justify() that works now. (#435675)
3646 2007-05-03 Emmanuele Bassi <ebassi@gnome.org>
3648 * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
3649 spurious g_free() call.
3651 Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
3653 * tests/testgtk.c (create_handle_box): made handle box test non-modal,
3654 so other test can interact with handle boxes.
3656 2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
3658 Add search file support in the GtkFileChooser. Original patch
3659 by Federico Mena Quintero; patch updated by Matthias Clasen.
3662 * gtk/gtksearchengine.[ch]: Private search engine abstraction
3665 * gtk/gtksearchenginebeagle.[ch]: Private search engine
3666 implementation using libbeagle (via g_module_open()).
3668 * gtk/gtksearchenginesimple.[ch]: Private search engine
3669 implementation using file tree walking.
3671 * gtk/gtksearchenginetracker.[ch]: Private earch engine
3672 implementation using libtracker (via g_module_open()).
3674 * gtk/gtkquery.[ch]: Private query object for the search
3677 * gtk/gtkfilechooserprivate.h:
3678 * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
3679 query a search engine backend using GtkQuery; create a new
3680 operating mode, OPERATION_MODE_SEARCH, and call the common
3681 operating mode OPERATION_MODE_BROWSE; add support for virtual
3682 shortcuts inside the shortcuts model and create a new "Search"
3685 * gtk/Makefile.am: Update the build with the new files
3687 2007-05-02 Armin Burgmeier <armin@openismus.com>
3689 * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
3690 finalize, because the menu might unparent itself from its parent and
3691 cause a signal emission on a finalized object. (#430746)
3693 2007-05-02 Dom Lachowicz <domlachowicz@gmail.com>
3695 * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
3696 rendered upside down for non-XP theme (#435053, Daniel Atallah)
3698 Wed May 2 11:35:45 2007 Tim Janik <timj@imendio.com>
3700 * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
3701 and fully replaced by docs/faq/gtk-faq.sgml.
3703 2007-05-02 Kristian Rietveld <kris@imendio.com>
3705 * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
3708 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3710 * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
3711 icon flags. (#435062)
3713 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3715 * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
3718 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3720 * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
3721 Don't ignore the fact that gtk_file_system_get_parent()
3722 may return NULL. (#424042, Jan Martinek)
3724 2007-05-01 Dan Winship <danw@novell.com>
3726 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
3727 leader_window's WM_CLIENT_LEADER points to itself. #435028
3729 2007-05-02 Christian Persch <chpe@gnome.org>
3731 * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
3732 GSlice for gtk_tree_iter_copy. Bug #434863.
3734 2007-05-02 Christian Persch <chpe@gnome.org>
3736 * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
3737 GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
3740 2007-05-02 Christian Persch <chpe@gnome.org>
3742 * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
3743 (gtk_paper_size_new), (gtk_paper_size_new_custom),
3744 (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
3745 GtkPaperSize. Bug #434862.
3747 2007-05-02 Christian Persch <chpe@gnome.org>
3749 * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
3750 (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
3751 the ID into the pointer directly. Bug #434865.
3753 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3755 * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
3756 (update_current_folder_get_info_cb): add a new struct field to clear
3757 the file entry after the current folder has been updated.
3759 (gtk_file_chooser_default_update_current_folder),
3760 (change_folder_and_display_error): Add a new function parameter to
3761 trigger file entry clearing.
3763 (edited_idle_create_folder_cb),
3764 (file_list_drag_data_received_get_info_cb),
3765 (gtk_file_chooser_default_map),
3766 (gtk_file_chooser_default_set_current_folder),
3767 (switch_to_selected_folder), (save_entry_get_info_cb),
3768 (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
3769 (shortcuts_activate_get_info_cb), (list_row_activated),
3770 (path_bar_clicked): use new function parameter appropriately.
3772 (gtk_file_chooser_default_should_respond): trigger file entry clearing
3773 after the directory is updated instead of clearing it before, this way
3774 we avoid reloading the completion model with the soon to be old folder,
3775 causing a warning and a glitch in the folder where completion happens.
3776 (#379414, Carlos Garnacho)
3778 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3780 * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
3782 * gtk/updateiconcache.c: Validate the generated cache before
3783 moving it in place. Also add a --validate option to validate
3784 an existing icon cache.
3786 * gtk/gtkiconcache.c: Validate icon caches before using them.
3788 * gtk/Makefile.am: Integrate it.
3790 2007-05-01 Michael Emmel <mike.emmel@gmail.com>
3792 * gdk/directfb/gdkdisplay-directfb.c:
3793 Added stub gdk_notify_startup_complete_with_id to compile
3794 * gdk/directfb/gdkwindow-directfb.c:
3795 Added gdk_window_set_opacity
3796 * gdk/directfb/gdkkeys-directfb.c:
3797 Fix menu key handling crash Bug #413328
3799 2007-05-01 Christian Persch <chpe@gnome.org>
3802 * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
3803 the new location. Bug #390437.
3805 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3807 * gtk/gtksettings.c (settings_update_color_scheme):
3808 Make sure we always have a color_hash. (#423916, Jens Granseuer)
3810 2007-04-30 Christian Persch <chpe@gnome.org>
3812 * docs/reference/gtk/gtk-sections.txt:
3814 * gtk/gtkprinter-private.h:
3815 * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
3816 (gtk_print_capabilities_get_type):
3818 * gtk/gtkprintjob.c:
3819 * gtk/gtkprintjob.h:
3820 * gtk/gtkprintunixdialog.c: (selected_printer_changed):
3821 Make gtk_printer_get_capabilities public, and move the
3822 GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
3824 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3826 * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
3827 must not set the background of its window. (#433972,
3830 2007-04-30 Richard Hult <richard@imendio.com>
3832 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
3835 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3837 * modules/printbackends/cups/gtkprintbackendcups.c: Get all
3838 the printer attributes when getting the list of printers,
3839 not via separate requests. (#387889, Krishan Purahoo)
3841 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3843 Some more compiler warning fixes.
3845 * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
3846 Fix NULL/FALSE confusion.
3848 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3850 Fix some compiler warnings. (#433642, Kjartan Maraas)
3852 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
3853 (gtk_file_system_win32_create_folder):
3854 * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
3856 * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
3857 the right type to uri_func.
3859 * gtk/gtktext.c (gtk_text_key_press):
3860 * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
3861 * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
3863 * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
3864 (gtk_tray_icon_delete):
3865 * gtk/gtkprintunixdialog.c (create_main_page):
3866 * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
3868 * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
3870 2007-04-30 Cody Russell <bratsche@gnome.org>
3872 * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
3873 but now we're calling it from _gdk_windowing_window_clear_area()
3874 instead of from the WM_ERASEBKGND event. Also fixes the area
3875 that is cleared so that it is not an extra row and column too
3876 large. (Neil Roberts, #415681)
3878 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3880 * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308)
3882 2007-04-30 Michael Natterer <mitch@imendio.com>
3884 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
3885 submenu explicitely only in touchscreen mode since otherwise
3886 selecting the item already pops up the submenu. Restores the
3887 drag-selection timeout (spotted by Søren Sandmann, #128968).
3889 2007-04-30 Michael Natterer <mitch@imendio.com>
3891 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
3892 to gtk_paper_size_get_paper_sizes().
3894 2007-04-30 Tor Lillqvist <tml@novell.com>
3896 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
3897 _gtk_load_custom_papers() exists only on Unix.
3899 2007-04-30 Tor Lillqvist <tml@novell.com>
3901 Add functionality to set overall opacity of a top-level
3904 * gdk/gdk.symbols: Add gdk_window_set_opacity.
3906 * gdk/x11/gdkwindow-x11.c
3907 * gdk/win32/gdkwindow-win32.c: Implement
3908 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
3909 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
3911 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
3913 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
3914 that this is not implemented in the Windows backend. Add reference
3915 to gdk_window_set_opacity().
3917 * gtk/gtk.symbols: Add gtk_window_set_opacity and
3918 gtk_window_get_opacity.
3920 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
3921 (gtk_window_class_init): Add opacity property, a double in the
3923 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
3924 (gtk_window_realize): If opacity is set, call
3925 gdk_window_set_opacity().
3927 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
3928 gtk_window_get_opacity().
3930 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3933 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
3934 to gtk_paper_size_get_paper_sizes() and optionally include
3937 * gtk/gtkpagesetupunixdialog.c: Internally export a function
3938 to load custom paper sizes.
3940 * modules/printbackends/file/gtkprintbackendfile.c: Implement
3941 printer_list_papers, returning all paper sizes. (#434329,
3944 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3946 * gtk/gtkprintoperation.c: Translate the default job
3947 name, and don't utf8-validate the job name in the
3948 setter. (#421993, Morten Welinder)
3950 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3952 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
3953 g_unlink. (#421990, Morten Welinder)
3955 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3957 Fix some issues with reference handling in the printing
3958 code. (#429902, Mathias Hasselmann)
3960 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3961 Unref the print context, if we have one.
3962 (gtk_print_operation_done): Add a default ::done handler
3963 that unrefs the print context.
3964 (preview_ready): Take a reference on the print operation
3966 (print_pages_idle): ...not here,
3967 (preview_print_idle_done): ...and release it here.
3969 * tests/print-editor.c (preview_cb): Take a reference
3970 on the print operation here.
3972 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3974 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
3975 stuck in a recursive mainloop if a synchronous preview
3978 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3980 Make the emission of ::end-print and ::done consistent
3981 for previews. (#347567, Yevgen Muntyan)
3983 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
3984 the finished status here.
3985 (preview_end_run): ...and not here.
3986 (print_pages_idle_done): Emit ::done for a cancelled preview.
3987 (print_pages_idle): If a preview has been cancelled, don't
3988 emit ::ready, but emit ::end-print.
3990 * tests/print-editor.c: Use ::end-print to undo allocations
3993 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3995 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
3996 in the PWG "custom" namespace as custom. Add a link to
3997 the spec in the docs. (#426416, Andreas Guelzow)
3999 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4001 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
4002 that a print operation can be run only once, and add a
4003 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
4005 2007-04-29 Dan Winship <danw@novell.com>
4007 * gdk/x11/gdkdisplay-x11.c
4008 (gdk_x11_display_broadcast_startup_message): New method to
4009 marshall and send a Startup Notification message. (from #415070)
4010 (gdk_notify_startup_complete_with_id): Use that
4012 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
4014 * gtk/gtkprintoperation-unix.c
4015 (_gtk_print_operation_platform_backend_launch_preview):
4016 Don't leak a file descriptor, and don't make the error
4017 dialog modal. (#421985, Morten Welinder, Christian Persch)
4019 2007-04-29 Xan Lopez <xan@gnome.org>
4021 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
4022 Diego Escalante Urrelo).
4024 I'm fixing gtk-faq.sgml as it seems this is the file
4027 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4029 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
4030 Only strip parentheses of the form (_x). (#434261,
4033 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4035 * gtk/gtkprintoperation-unix.c
4036 (_gtk_print_operation_platform_backend_launch_preview):
4037 Support passing a print settings file to the preview
4038 command. (#403717, Christian Persch)
4040 * gtk/gtksettings.c: Document %s in the
4041 gtk-print-preview-command setting.
4043 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4045 * gtk/gtkprintoperation.c (print_pages_idle): Also check
4046 the default handler when deciding whether to emit the
4047 paginate signal. (#345345, Yevgen Muntyan)
4049 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4051 * gtk/gtkprintoperation.h: Add a new error code
4054 * gtk/gtkpagesetup.[hc]:
4055 * gtk/gtkpapersize.[hc]:
4056 * gtk/gtkprintsettings.[hc]: Add functions to serialize
4057 and deserialize page setups and print settings to files
4058 and key files. (#344515, Christian Persch)
4060 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
4062 * tests/print-editor.c: Use the new functions to persist
4063 page setup and print settings.
4065 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4067 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
4068 Free the custom paper list. (#403267, Felix Riemann)
4070 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4072 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
4073 small memory leak. (#403251, Felix Riemann)
4075 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4077 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
4078 typo. String change ! (#406160, Stephane Raimbault)
4080 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4083 * gtk/gtkpapersize.[hc]: Add a function to list the
4084 builtin paper sizes. (#382355, Christian Persch)
4086 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4089 * gtk/gtkprinter-private.h:
4090 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
4091 gtk_printer_request_details() public.
4093 * gtk/gtkpagesetupunixdialog.c:
4094 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
4097 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4099 * configure.in: Add --enable-test-print-backend, defaulting
4102 * modules/printbackends/Makefile.am: Make building the test
4103 print backend conditional.
4105 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4107 * modules/printbackends/lpr/*:
4108 * modules/printbackends/cups/*: Correct some copyright lines.
4111 * modules/printbackends/Makefile.am:
4112 * modules/printbackends/test/*: Add a test print backend.
4113 (#409089, John Palmieri)
4115 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4117 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
4118 margins. (#344499, Nate Nielsen)
4120 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4122 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
4123 of the input-only window if we also have a visible window.
4126 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4128 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
4129 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
4130 Recognize negative column indices as invalid. (#415260,
4133 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
4135 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
4136 (poll_func): fix two more potential races that could happen when
4137 an application is polling in the mainloop and a separate thread
4138 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
4140 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4142 * gtk/gtkentry.c (gtk_entry_grab_focus):
4143 (gtk_entry_real_insert_text): Only call g_object_get()
4144 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
4146 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4148 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
4149 a note about being embedded. (#340107, Christian Persch)
4151 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4153 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
4154 restrict drags within an application/widget. (#163141,
4157 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4159 * docs/tools/Makefile.am:
4160 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
4163 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4165 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
4166 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
4167 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
4168 (get_children_folder_cb): Plug memory leaks caused by wrong
4169 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
4171 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4173 * demos/gtk-demo/printing.c: Fix the headers in the print
4174 demo. (#423722, Yevgen Muntyan)
4176 2007-04-28 Xan Lopez <xan@gnome.org>
4178 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
4179 Use strstr instead of g_strstr with -1 for length.
4181 2007-04-28 Xan Lopez <xan@gnome.org>
4184 * gtk/gtkentrycompletion.c:
4185 * gtk/gtkentrycompletion.h:
4186 * gtk/gtkentryprivate.h:
4188 Remember the user input that triggered the completion, add
4189 API to the retrieve it and reset the entry contents to it
4190 if the user cancels the tentative completion during
4191 the inline-selection.
4193 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4195 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
4196 functions. (#63820, Tilman Sauerbeck)
4198 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4200 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
4201 (#63820, Tilman Sauerbeck)
4203 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4205 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
4206 and unmapping functions. (#63820, Tilman Sauerbeck)
4208 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4210 * gdk/x11/gdkgeometry-x11.c: Make list handling code
4211 easier to read. (#63820, Tilman Sauerbeck)
4213 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4219 * gtkrecentmanager.c:
4220 * gtktextiter.c: Internalize some strings, pointed out
4223 2007-04-27 Xan Lopez <xan@gnome.org>
4225 Support inline-selection in entries (#318459)
4228 * gtk/gtkentrycompletion.c:
4229 * gtk/gtkentrycompletion.h:
4230 * gtk/gtkentryprivate.h:
4232 When enabled cursor-match is emited when the cursor is on
4233 a possible completion on the list. The default implementation
4234 will replace the contents on the entry with the contents of
4235 the text column in the completion model.
4237 Review and improvements by Matthias Clasen.
4239 2007-04-27 Michael Natterer <mitch@imendio.com>
4241 Merged heavily modified patch from maemo-gtk which enables opening
4242 and closing submenus on click, and introduces some usability
4243 changes when gtk-touchscreen-mode is enabled (bug #128968):
4245 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
4246 "activated_submenu" to indicate that the current mouse operation
4247 (click or drag) has opened a submenu.
4249 (gtk_menu_shell_button_press): pop up submenus without delay
4250 and record the fact in "activated_submenu".
4252 (gtk_menu_shell_button_release): if a submenu was explicitely
4253 opened, or not opened by this release's button_press, or enough
4254 time has passed since timeout-opening it, close the submenu here.
4256 (gtk_menu_shell_enter_notify): when entering a menu item with
4257 any mouse button pressed, open its submenu.
4259 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
4260 submenu when moving the focus away from it via keyboard-navigation.
4262 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
4263 parameter "gboolean with_delay" so GtkMenuShell can control this
4264 for the different scenarios of submenu showing.
4266 (_gtk_menu_item_popdown_submenu): new function. also needed by
4267 GtkMenuShell for closing submenus on click.
4269 Renamed internal function gtk_menu_item_select_timeout() to
4270 gtk_menu_item_popup_timeout().
4272 (gtk_menu_item_real_popup_submenu): new utility function which
4273 does the actual popup and records the exact time of the popup when
4274 the menu was timeout-opened (using g_get_current_time()).
4276 (gtk_real_menu_item_select): don't add the popup timeout when in
4279 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
4280 first item of every opened menu.
4282 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4284 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
4285 in the completion popup. (#431323, Maarten Maathuis)
4287 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4289 * demo/gtk-demo/combobox.c: Add a simple validation demo.
4290 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
4291 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
4293 2007-04-26 Tor Lillqvist <tml@novell.com>
4295 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
4296 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
4297 before adding a new one when switching what input device is being
4300 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4302 * modules/printbackends/lpr/gtkprintbackendlpr.c
4303 (gtk_print_backend_lpr_init): Mark the printer list as done.
4304 (#428665, Bogdan Gheorghe)
4306 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4309 * gtk/Makefile.am: Don't install UNIX-printing headers and
4310 support files on non-UNIX platforms. (#425655, Vincent Geddes)
4312 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4314 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
4315 unnamed separators. (#369112, Christian Persch)
4317 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4319 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
4320 invalid memory. (#429732, Armin Burgmeier)
4322 2007-04-26 Cody Russell <bratsche@gnome.org>
4324 * gdk/win32/xcursors.h:
4325 * gdk/win32/gdkcursor-win32.c:
4327 Use Win32 native cursors instead of the ones built into GTK
4328 where it makes sense. (#128852, Tim Evans)
4330 2007-04-25 Cody Russell <bratsche@gnome.org>
4334 * gtk/gtkhandlebox.c:
4335 * gdk/directfb/gdkwindow-directfb.c:
4336 * gdk/linux-fb/gdkwindow-fb.c:
4337 * gdk/quartz/gdkwindow-quartz.c:
4338 * gdk/win32/gdkwindow-win32.c:
4339 * gdk/x11/gdkwindow-x11.c:
4340 Added window type hint and implement drop shadows on Win32
4341 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
4343 2007-04-25 Jakub Steiner <jimmac@ximian.com>
4345 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
4346 gtk-close as per discussion in bug #431740.
4348 2007-04-25 Matthias Clasen <mclasen@redhat.com>
4350 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
4351 of the header window again. (#431067, Benjamin Berg)
4353 2007-04-25 Matthias Clasen <mclasen@redhat.com>
4355 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
4356 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
4359 * tests/testicontheme.c: Report builtin icons.
4361 2007-04-25 Matthias Clasen <mclasen@redhat.com>
4363 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
4364 crash if end_run is not set. (#424168, Matthias Hasselmann)
4366 2007-04-25 Michael Natterer <mitch@imendio.com>
4368 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
4369 scroll buttons (we were setting the state to ACTIVE but
4370 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
4371 of many separate calls to gdk_window_invalidate_rect() by
4372 remembering the old button state and only invalidating the area if
4373 the state has changed (addresses parts of bug #433242, Tommi
4376 (gtk_menu_scroll_to): change the arrow states only if changing
4377 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
4378 state set by above function.
4380 2007-04-25 Michael Natterer <mitch@imendio.com>
4382 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
4383 build. Dunno if the fix is right, but I think it is.
4385 2007-04-25 Kristian Rietveld <kris@imendio.com>
4387 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
4388 cleanup/refactor some leftover code.
4390 2007-04-24 Matthias Clasen <mclasen@redhat.com>
4392 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
4393 half-open ranges like -2 or 3-, and be a bit more liberal
4395 (dialog_set_page_ranges): Support half-open ranges.
4397 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
4398 number of pages in half-open ranges.
4399 (preview_iface_is_selected): Support half-open ranges here, too.
4401 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
4403 * gtk/gtkicontheme.c (scan_directory): Ensure the
4404 icon_theme->all_icons and dir->icons hash tables use the same string
4405 as their keys. (#418531)
4407 2007-04-23 Cody Russell <bratsche@gnome.org>
4408 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
4409 left-most tab when notebooks are top-oriented. Also general cleanup of
4410 notebook tab related code. (Lieven van der Heide, Cody Russell)
4412 2007-04-23 Matthias Clasen <mclasen@redhat.com>
4414 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
4415 the amount of debug spew if we are not debugging.
4417 2007-04-23 Michael Natterer <mitch@imendio.com>
4419 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
4420 testtoooltips_SOURCES -> testtooltips_SOURCES.
4422 2007-04-19 Cody Russell <bratsche@gnome.org>
4424 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
4425 for Windows Vista. (#392015, Hiroyuki Yamamoto)
4427 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
4429 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
4430 non-WinXP rendering paths. From Daniel Atallah (#403470)
4432 2007-04-19 Matthias Clasen <mclasen@redhat.com>
4434 * gtk/gtkicontheme.h:
4435 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
4436 icon lookup flag and implement it. (#396901, Luca Ferreti)
4438 2007-04-18 Richard Hult <richard@imendio.com>
4440 * gdk/quartz/gdkwindow-quartz.c:
4441 (gdk_window_quartz_process_updates_internal),
4442 (gdk_window_quartz_process_all_updates),
4443 (gdk_window_impl_quartz_process_updates): Refactor the process
4444 updates functions to share code between them. Also fixes bug
4445 #427660 by not updating larger regions than necessary.
4447 2007-04-18 Matthias Clasen <mclasen@redhat.com>
4449 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
4450 of nRects == 0 correctly.
4452 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
4454 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
4455 a leak by not increasing the refcount of the GtkRecentInfo
4456 object when returning it (thanks to Matthias Clasen).
4458 2007-04-16 Alexander Larsson <alexl@redhat.com>
4460 * gtk/gtkprintoperation.c (gtk_print_operation_run):
4461 Make async print preview work by actually starting
4462 the print process in that case (#424168)
4464 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
4466 * gtk/gtkselection.c (selection_get_text_plain): fixed
4467 wrong g_convert_with_fallback() call which caused
4468 gtk_selection_data_get_text() return invalid UTF-8 for
4469 non-ASCII text in text/plain selection (#382824).
4471 2007-04-12 Jakub Steiner <jimmac@ximian.com>
4473 * gtk/stock-icons/*: update the stock icons to follow the Tango
4476 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
4478 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
4479 * gtk/gtkstock.c (gtk_stock_list_ids):
4480 Switch over to use glib's new g_hash_table_get_keys() rather
4481 than our own static implementation.
4483 * gtk/gtkiconfactory.h: Update to return a GList.
4485 * configure.in: Bump required version to 2.13.1
4487 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4489 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
4490 setup and shutdown function by mutexes and read the wakeup
4491 pipe unconditionally and unblocking. This should make the main
4492 loop always be woken up when using g_idle_add() from another
4493 thread in the Quartz backend (#425271).
4495 2007-04-10 Matthias Clasen <mclasen@redhat.com>
4497 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
4498 to return a Bool to indicate success. Update callers and
4499 implementors. Based on a patch by Owen Taylor.
4501 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
4502 leak a reference to gdkwin.
4504 2007-04-07 Xan Lopez <xan@gnome.org>
4506 * gtk/gtknotebook.c (gtk_notebook_class_init):
4507 s/arrow-size/arrow-spacing in the arrow-spacing
4508 style property docs.
4510 2007-04-06 Richard Hult <richard@imendio.com>
4512 * gdk/quartz/: Clean up namespaces to make the code more
4515 * gdk/quartz/gdkdrawable-quartz.c:
4516 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
4517 images, by setting the pattern phase for the CG pattern.
4519 2007-04-04 Kristian Rietveld <kris@imendio.com>
4521 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
4522 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
4523 (gtk_tooltip_start_delay): use new gdk_threads API.
4525 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
4527 * gtk/gtksettings.c (settings_update_font_options): Don't set
4528 metrics-hinting font option. Rely on the default value which is
4529 on for all raster cairo surfaces. (#425985)
4531 2007-04-03 Loïc Minier <lool@dooz.org>
4533 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
4534 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
4535 Simon McVittie; #425786.
4537 2007-04-02 Michael Natterer <mitch@imendio.com>
4539 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
4540 artifact from the time when type checking casts warned on NULL,
4541 some whitespace cleanup.
4543 2007-04-01 Cody Russell <bratsche@gnome.org>
4545 * modules/engines/ms-windows/msw_style.c: Fix rendering of
4546 notebook tabs when they are bottom-oriented. Fixes #399253.
4548 2007-03-31 Elijah Newren <newren gmail com>
4550 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
4551 gdk_x11_window_set_user_time):
4552 Patch from Matthias to add support for the
4553 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
4555 WARNING: This patch will make metacity <= 2.18.0 freeze on
4556 workspace switch. This is due to a weird problem that should only
4557 affect window managers using gdk in-process for decoration drawing
4558 and which make an unsafe assumption relating to doing so (i.e. it
4559 should only affect metacity). Upgrade your version of metacity if
4562 2007-03-29 Michael Natterer <mitch@imendio.com>
4564 Don't close menus on clicks on their border area (bug #423761).
4565 (modified patch from maemo-gtk).
4567 * gtk/gtkmenu.c (gtk_menu_button_press)
4568 (gtk_menu_button_release): bail out early if the click was on the
4569 menu's border (not on any item and not outside the window).
4571 (pointer_in_menu_window): new utility function which checks if
4572 passed root coords are inside the menu_shell or one of its
4575 2007-03-29 Michael Natterer <mitch@imendio.com>
4577 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
4578 gtk_widget_get_settings() into the g_object_get() call. Some small
4581 2007-03-28 Matthias Clasen <mclasen@redhat.com>
4583 * modules/printbackends/cups/gtkcupsutils.[hc]:
4584 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
4585 a patch by John Palmieri to make the cups print backend support
4588 2007-03-28 Kristian Rietveld <kris@imendio.com>
4590 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
4591 tooltip_window, since this is handled by set_qdata_full() already.
4592 (#412001, Torsten Schoenfeld).
4594 2007-03-27 Tor Lillqvist <tml@novell.com>
4596 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
4598 2007-03-26 Christian Persch <chpe@gnome.org>
4600 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
4602 2007-03-24 Kristian Rietveld <kris@gtk.org>
4604 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
4605 calculate the depth with the corrected real_cell_area and don't
4606 subtract horizontal_separator/2.
4608 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
4611 * gtk-no: More Tango love.
4613 2007-03-23 Jakub Steiner <jimmac@ximian.com>
4615 * gtk-dialog-authentication.svg
4616 * gtk-dialog-error.svg
4617 * gtk-dialog-info.svg
4618 * gtk-dialog-question.svg
4619 * gtk-dialog-warning.svg: Start with a Tango face-lift.
4621 2007-03-23 Rodney Dawes <dobey@novell.com>
4623 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
4625 2007-03-23 Matthias Clasen <mclasen@redhat.com>
4627 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
4628 toggle whether to show hidden files. (#344657,
4629 Wouter Bolsterlee, Priit Laes, et al)
4631 2007-03-23 Matthias Clasen <mclasen@redhat.com>
4633 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
4634 toggle the visibility of the location entry. (#383354,
4635 John Pye, patch by Carlos Garnacho)
4637 2007-03-22 Matthias Clasen <mclasen@redhat.com>
4639 * gtk/gtksettings.c (merge_color_scheme): Freeze property
4641 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
4642 the gtk-color-scheme xsetting being unset.
4644 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
4647 2007-03-21 Matthias Clasen <mclasen@redhat.com>
4649 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
4651 2007-03-21 Rodney Dawes <dobey@novell.com>
4654 * gtk/gtkicontheme.[ch]:
4655 * docs/reference/gtk/gtk-sections.txt:
4656 * tests/testicontheme.c:
4657 Add a new API call gtk_icon_theme_list_contexts so that one can
4658 choose icons from a theme by context (#420719)
4660 2007-03-21 Ross Burton <ross@burtonini.com>
4663 Document the ::event signal (#420703).
4665 2007-03-20 Kristian Rietveld <kris@gtk.org>
4667 * gtk/gtktreeviewcolumn.c:
4668 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
4670 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
4671 focus_to_cell parameter, rework to handle clamping columns which
4672 are bigger than the available page size better,
4673 (gtk_tree_view_key_press): remove code handling moving the focus
4674 to other column headers,
4675 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
4676 fix RTL support, don't wrap around when moving focus to other
4677 column headers, call gtk_tree_view_clamp_column_visible() instead
4678 of duplicating code,
4679 (gtk_tree_view_focus): only clamp the column visible when we are
4680 explicitly moving to another column header (fixes #399555, Charles
4682 (gtk_tree_view_move_cursor_left_right): update call to
4683 gtk_tree_view_clamp_column_visible().
4685 2007-03-19 Matthias Clasen <mclasen@redhat.com>
4687 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
4690 2007-03-18 Matthias Clasen <mclasen@redhat.com>
4692 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
4693 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
4695 2007-03-18 Matthias Clasen <mclasen@redhat.com>
4697 * modules/input/gtkimcontextmultipress.[hc]:
4698 * modules/input/im-multipress.conf:
4699 * modules/input/immultipress.c:
4700 * modules/input/README.multipress: Add the multipress input
4701 method. (#417446, Johannes Schmid, Murray Cumming)
4703 * modules/input/Makefile.am: Glue
4705 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
4707 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
4708 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
4709 failures gracefully. (#419171)
4711 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
4713 * gtk/gtkrecentaction.c (recent_chooser_set_property),
4714 (gtk_recent_action_set_property): Remove useless inlined
4715 function and propagate the properties to the GtkRecentChooser
4716 objects we create, instead of all the proxies.
4718 (set_current_filter): Remove 'inline' marker.
4720 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
4722 Apply changes suggested by Michael Natterer. (#338843)
4725 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
4726 rename gtk_action_get_submenu() to gtk_action_create_menu().
4728 * gtk/gtkrecentaction.c: Update for GtkAction change.
4730 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
4731 also, use the menu from the GtkAction for both menuitem and
4734 2007-03-16 Xan Lopez <xan@gnome.org>
4736 * gtk/gtkwidget.c: Fix documentation error in
4737 gtk_widget_set_redraw_on_allocate.
4739 2007-03-16 Matthias Clasen <mclasen@redhat.com>
4741 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
4742 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
4743 patch by Christian Persch)
4745 2007-03-15 Federico Mena Quintero <federico@novell.com>
4747 Merged from gtk-2-10:
4749 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
4750 PANGO_PIXELS() gives us device units, which are *points* in
4751 pangocairo's parlance, but we want actual pixels. So, get the
4752 screen's resolution to compute the actual number of pixels.
4755 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4757 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
4758 unused GError; do not allocate GtkRecentData and use a variable
4759 on the stack. (#418673, Morten Welinder)
4761 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4763 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
4764 actions providing a menu item or a menu tool button with already
4765 a submenu should return the GtkMenu widget.
4767 * gtk/gtkuimanager.c (update_node): If an action provides its
4768 own submenu, use it instead of adding an empty one
4770 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
4771 implementing the GtkRecentChooser interface for displaying the
4772 list of recently used files into menus and toolbars generated
4773 using GtkUIManager. (#338843)
4777 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
4779 * tests/testactions.c: Exercise the GtkRecentAction API.
4781 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
4783 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
4784 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
4785 from recursion, which can happen for example if the app tries to
4786 reload an icon from within a theme-changed handler. (#418531)
4788 2007-03-15 Richard Hult <richard@imendio.com>
4790 * gdk/quartz/gdkmain-quartz.c: Add stubs for
4791 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
4794 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4796 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
4799 2007-03-15 Tor Lillqvist <tml@novell.com>
4801 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
4802 gdk_window_set_startup_id.
4804 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
4806 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4808 * gtk/gtkrecentchooserprivate.h:
4809 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
4810 files list into the shared implementation; do the filtering
4811 before the sorting, so that we always clamp on the desired
4814 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
4815 list, as it's already been done.
4817 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
4818 GtkTreeModelFilter: just reload the view if the sorting and
4819 filtering properties change.
4821 * gtk/testrecentchoosermenu.c: Exercise the limit property.
4823 2007-03-14 Michael Natterer <mitch@imendio.com>
4825 Make gtk_widget_set_extension_events() work on already realized
4826 widgets (bug #379550, Tommi Komulainen)
4828 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
4829 called multiple times without leaking and work correctly when
4830 already realized (don't rely on a configure event following).
4832 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
4833 internal function which walks the GdkWindow tree and sets the
4834 extension events on all windows that belong to the widget.
4836 (gtk_widget_realize)
4837 (gtk_widget_set_extension_events): use the new function.
4839 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
4841 Various clean ups in the GtkRecent code. (see #338843)
4843 * gtk/gtkrecentchooserdefault.c:
4844 * gtk/gtkrecentchoosermenu.c:
4845 * gtk/gtkrecentchooserprivate.h:
4846 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
4847 for getting the sorted and clamped list of recent files from the
4848 manager outside the implementations.
4850 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
4851 the list when the sorting order changes.
4853 (gtk_recent_chooser_default_dispose),
4854 (gtk_recent_chooser_default_finalize): Move object unref and
4855 source removal from finalize to dispose.
4857 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
4858 prerequisite for the GtkRecentChooser interface implementations,
4859 from GtkObject to GObject.
4861 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
4864 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
4866 Apply patch by Vytautas Liuolia for changing the startup
4867 notification id on a window in the X11 backend. (#347375)
4871 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
4872 and gdk_x11_display_get_startup_notification_id().
4875 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
4878 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
4879 change the startup notification id.
4881 (gtk_window_class_init), (gtk_window_init),
4882 (gtk_window_set_property): Add write-only "startup-id" property
4885 (gtk_window_realize): Set the startup notification id
4886 on a GtkWindow if it's valid.
4888 (gtk_window_map): If we have another valid startup notification
4889 id then finish the notification process.
4891 2007-03-13 Matthias Clasen <mclasen@redhat.com>
4893 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
4894 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
4896 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4898 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
4899 docs. (#345844, Torsten Schoenfeld)
4901 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
4902 * gdk/gdkwindow.c (gdk_window_add_filter): Add
4903 cross-references. (#351252, Vincent Untz)
4905 * gtk/gtkprintoperation.c: Fix an oversight in an
4906 example. (#381083, Ian Puleston)
4908 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
4910 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4912 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
4913 the background of the panel window on style changes. (#402144,
4916 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4918 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
4919 an obsolete comment. (#402169, Xan Lopez)
4921 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4923 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
4924 Don't copy PangoLanguage. (#340031, Morten Welinder)
4926 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4928 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
4929 Handle the row reference path being NULL. (#410565, Joe Markus
4930 Clarke, patch by Chris Wilson)
4932 2007-03-11 Matthias Clasen <mclasen@redhat.com>
4934 * tests/testiconview.c: Handle Menu key presses without
4935 crash. (#385637, Christian Persch)
4937 2007-03-11 Matthias Clasen <mclasen@redhat.com>
4939 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
4940 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
4942 2007-03-11 Matthias Clasen <mclasen@redhat.com>
4944 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
4945 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
4947 2007-03-12 Kristian Rietveld <kris@gtk.org>
4949 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
4950 bail out if current_folder is NULL. (#350988, lots of reporters,
4951 modified patch by Jan Darmochwal).
4953 2007-03-10 Kristian Rietveld <kris@gtk.org>
4955 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
4956 hide the search dialog and send focus events if the search dialog
4957 is currently visible.
4959 2007-03-10 Richard Hult <richard@imendio.com>
4961 * gdk/quartz/gdkdrawable-quartz.c:
4962 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
4963 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
4964 surface API (#410442). Don't lock focus unless called outside of an
4966 (gdk_quartz_drawable_release_context): Only flush the CG context and
4967 unlock focus if called outside of expose.
4968 (_gdk_quartz_drawable_finish): New function, used to free the cached
4971 * gdk/quartz/gdkwindow-quartz.c:
4972 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
4973 (_gdk_window_impl_quartz_get_type): No need to make the type info
4975 (gdk_window_quartz_process_all_updates): Move the autorelease pool
4976 allocation and freeing outside the loop.
4977 (_gdk_windowing_window_destroy): Finish the drawable.
4978 (move_resize_window_internal): Small cleanup and remove comment.
4980 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
4982 2007-03-10 Richard Hult <richard@imendio.com>
4984 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
4987 2007-03-10 Richard Hult <richard@imendio.com>
4989 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
4991 2007-03-10 Richard Hult <richard@imendio.com>
4993 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
4995 2007-03-10 Richard Hult <richard@imendio.com>
4997 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
4998 the font name here, leave that to themes, fixes #387508.
5000 2007-03-10 Kristian Rietveld <kris@gtk.org>
5002 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
5003 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
5004 element, also (un)ref its parent elements. (Fixes #364946,
5005 reported by many, testcase by Andreas Koehler).
5007 2007-03-10 Matthias Clasen <mclasen@redhat.com>
5009 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
5010 field of PrintResponseData. (#396703, Christian Persch)
5012 * tests/print-editor.c: Plug some leaks.
5014 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5016 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
5017 Get rid of the unused event argument. Update all callers.
5019 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
5020 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
5022 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5024 * modules/input/gtkimcontextxim.c
5025 (gtk_im_context_xim_filter_keypress): Don't commit
5026 modifier-adorned characters. (#331369, #335796, Lin Ma
5029 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5031 * Everywhere: Remove unnecessary NULL checks before
5032 g_free(). (#369666, Morten Welinder, Djihed Afifi)
5034 * configure.in: Check for ftw.h
5036 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5038 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
5039 C99isms. (#416525, Kazuki Iwamoto)
5041 2007-03-09 Tor Lillqvist <tml@novell.com>
5043 * README.win32: Update.
5045 2007-03-08 Matthias Clasen <mclasen@redhat.com>
5047 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
5048 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
5051 2007-03-08 Matthias Clasen <mclasen@redhat.com>
5053 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
5054 Set child visibility to FALSE here; it will be turned
5055 back on in switch_page. (#413664, Carlos Garnacho)
5057 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5059 * modules/engines/ms-windows/msw_style.c: Use proper border style
5060 when drawing shadow of scrolled windows on Windows XP (#168326)
5061 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
5062 element_part_map array to ensure it always is large enough.
5064 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5066 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
5067 property of GtkEntry accordingly, unify size-allocation of toggle
5068 button (#411123, patch from Mathias Hasselmann).
5069 * gtk/gtkentry.c: Add shadow-type property. Query style properties
5070 on style changes only (#411123, patch from Mathias Hasselmann).
5071 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
5072 hack as GtkComboBox emits drawing requests now (#411123, patch
5073 from Mathias Hasselmann).
5075 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5077 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
5078 by implementing a scrollbars-within-bevel style property. (#168326)
5080 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5082 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
5083 stored in the current theme with the name
5084 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
5085 icons as reported by SHGetFileInfoW. (#412221)
5087 2007-03-07 Matthias Clasen <mclasen@redhat.com>
5089 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
5090 focus around the arrow if there is no label widget.
5091 (#124045, Cody Russell)
5093 2007-03-07 Matthias Clasen <mclasen@redhat.com>
5095 * gtk/gtkcombo.c: (gtk_combo_init):
5096 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
5097 (gtk_combo_box_menu_setup):
5098 Set names on the popup widgets to make them themable. (#414975,
5101 2007-03-07 Michael Natterer <mitch@imendio.com>
5103 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
5104 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
5105 empty finalize() implementation, some cosmetic cleanup
5108 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
5110 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
5111 (do_theme_change), (gtk_icon_theme_set_custom_theme),
5113 Be careful not to trigger a style reset before we have loaded
5114 the icon theme. (#414875).
5116 2007-03-06 Tor Lillqvist <tml@novell.com>
5119 * gtk/Makefile.am: Further fixes for building on Win32 outside
5120 srcdir. (#413492, Mathias Hasselmann)
5122 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
5124 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
5127 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
5129 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
5132 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
5134 * configure.in: Added be@latin to ALL_LINGUAS
5136 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
5138 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
5140 2007-03-01 Matthias Clasen <mclasen@redhat.com>
5142 * gtk/gtksettings.c: Always store gtk-color-scheme
5143 values from all sources in the ColorSchemeData struct
5144 and ignore the property_value for gtk-color-scheme.
5145 This fixes #412596, reported by Thomas Wood.
5147 2007-02-28 Matthias Clasen <mclasen@redhat.com>
5149 * gtk/gtksettings.c: Make color scheme update properly
5150 when changing themes. (#402131, Benjamin Berg)
5152 2007-02-28 Matthias Clasen <mclasen@redhat.com>
5154 * gtk/gtkrc.c: Don't leak references to the color-hash
5155 gotten from GtkSettings. (#409357, Benjamin Berg)
5157 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
5159 * gtk/gtkradiobutton.c: Fixed a warning from
5160 g_object_set (radiobutton, "group", NULL, NULL).
5162 2007-02-26 Matthias Clasen <mclasen@redhat.com>
5164 Apply a patch by Carlos Garnacho to fix several problems
5165 with filechooser size handling (#325477, #151169, 143213,
5168 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
5169 (browse_widgets_create): Don't force the paned position to 200.
5170 (find_good_size_from_style): Take the size of the extra widget
5173 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
5174 Accept a minimal width parameter. Update all callers.
5176 2007-02-26 Matthias Clasen <mclasen@redhat.com>
5178 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
5179 which is more accurate, suggested by Tim Waugh. String change!
5181 2007-02-26 Matthias Clasen <mclasen@redhat.com>
5183 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
5184 print-to-file work. Reported by Ian Collier.
5186 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
5188 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
5190 * gtk/gtkicontheme.c: (scan_directory):
5191 Reorder the replacement of the shared base_name key, so that we
5192 avoid dereferencing the string in the icon_theme->all_icon
5193 hash table after freeing it from the dir->icons hash table.
5195 2007-02-26 Tor Lillqvist <tml@novell.com>
5197 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
5198 comment clarifying that "icon name" here is not related to the
5199 freedesktop.org icon naming stuff.
5201 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
5203 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
5204 progress bar on windows classic. Match from Mathias Hasselmann.
5206 2007-02-19 Tor Lillqvist <tml@novell.com>
5208 * gdk/win32/gdkinput.c
5209 (gdk_device_finalize, gdk_device_class_init): Remove.
5210 (gdk_device_get_type): Drop class init function. The X11 version
5211 doesn't have one either.
5212 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
5213 (gdk_display_list_devices): Check that the argument is
5216 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
5217 Cleanup: remove unused fields.
5218 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
5219 names in a few debugging printouts.
5221 2007-02-18 Matthias Clasen <mclasen@redhat.com>
5223 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
5224 Ignore invisible text when going to end of the previous line.
5227 2007-02-18 Richard Hult <richard@imendio.com>
5229 * gdk/quartz/gdkwindow-quartz.c:
5230 (gdk_window_quartz_process_all_updates),
5231 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
5232 patch from Erik van Pienbroek, fixes bug #396649.
5234 2007-02-18 Richard Hult <richard@imendio.com>
5236 * gdk/quartz/gdkevents-quartz.c: Add stub for
5237 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
5240 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
5242 2007-02-18 Richard Hult <richard@imendio.com>
5244 * gdk/quartz/GdkQuartzView.h:
5245 * gdk/quartz/GdkQuartzWindow.h:
5246 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
5247 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
5248 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
5249 on panther, patch from Mathias Hasselmann.
5251 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
5253 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
5255 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
5256 instead of division. (#334617)
5258 2007-02-16 Kristian Rietveld <kris@gtk.org>
5260 * gtk/gtktreeprivate.h: add cursor_offset field.
5262 * gtk/gtktreeview.c (gtk_tree_view_init),
5263 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
5264 in page up/down handling by memorizing the offset into the cursor
5265 row. (Fixes #399809, reported by Bruce Bowler).
5267 2007-02-16 Kristian Rietveld <kris@gtk.org>
5269 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
5270 a focus-in event to the tree view after hiding the search dialog.
5271 (#356515, Rich Burridge, Peter Parente).
5273 2007-02-16 Kristian Rietveld <kris@imendio.com>
5275 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
5276 keyboard tooltips. (#408325, Matthias Clasen).
5278 2007-02-16 Xan Lopez <xan@gnome.org>
5280 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
5281 in expose event handler. Reviewed by Matthias Clasen, #406112
5283 2007-02-16 Matthias Clasen <mclasen@redhat.com>
5285 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
5288 2007-02-15 Matthias Clasen <mclasen@redhat.com>
5290 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
5291 careful when checking for ButtonRelease events that end implicit
5292 grabs. (#386618, Christof Krüger)
5294 2007-02-15 Matthias Clasen <mclasen@redhat.com>
5296 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
5297 even if there are no views. (#408018, Albert Huang)
5299 2007-02-15 Cody Russell <bratsche@gnome.org>
5301 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
5302 iterations while we're resizing so that the window contents are resized
5303 more smoothly (#389765).
5305 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
5306 are resized (#310522).
5308 2007-02-15 Matthias Clasen <mclasen@redhat.com>
5310 * gtk/updateiconcache.c: Handle symlinked .icon files
5311 intelligently; also avoid storing duplicate strings.
5313 2007-02-15 Michael Natterer <mitch@imendio.com>
5315 * gtk/gtkmenushell.c: remove two antique function typedefs that
5316 are probably obsolete for ages.
5318 2007-02-14 Stefan Kost <ensonic@users.sf.net>
5320 reviewed by: Matthias Clasen <mclasen@redhat.com>
5322 * configure.in: determine installation prefixes of dependent libs to
5323 crossreference docs (#407146).
5325 2007-02-14 Kristian Rietveld <kris@imendio.com>
5327 * gtk/gtktooltip.c (child_location_foreach): check return value
5328 of gtk_widget_translate_coordinates() so we cannot end up
5329 using uninitialized x, y values. (#407863, patch from Carlos
5332 2007-02-14 Kristian Rietveld <kris@imendio.com>
5334 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
5335 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
5336 position instead of a hardcoded value. (Taken from maemo-gtk).
5338 2007-02-14 Michael Natterer <mitch@imendio.com>
5340 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
5341 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
5344 2007-02-13 Kristian Rietveld <kris@imendio.com>
5346 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
5347 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
5349 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
5351 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
5352 remove some type checking; use better variable naming for the
5353 internal menu item markers.
5355 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
5357 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
5358 and appending custom menu items.
5360 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
5361 item for the empty menu case, and for giving us a starting
5362 point for the recent items populating process.
5364 (gtk_recent_chooser_menu_insert_item),
5365 (gtk_recent_chooser_menu_dispose_items): Insert an item at
5366 the position following the placeholder (and find that position
5369 (idle_populate_func), (idle_populate_clean_up): Show the
5370 placeholder menu item, instead of creating one each time.
5372 (gtk_recent_chooser_menu_populate): Kill some indirections
5373 and hide the placeholder before populating the menu.
5375 (set_recent_manager): Remember to remove the idle population
5376 source if the manager changes.
5378 * tests/testrecentchoosermenu.c: Test the appending and
5379 prepending of the menu items to the recent chooser menu
5382 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
5384 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
5385 of the displayed items to build the menu items mnemonic instead
5386 of the overall item count. (#377164)
5388 (idle_populate_clean_up): Append a menu item if all the items
5389 got filtered in the idle populate function. (#405696)
5391 * tests/Makefile.am:
5392 * tests/testrecentchoosermenu.c: Add a test for the
5393 GtkRecentChooserMenu widget.
5395 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
5397 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
5398 GtkButtonBox (bug #336159).
5401 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
5402 support GTK_BUTTONBOX_CENTER.
5404 * tests/testbbox.c: new button box test, which allows testing of
5405 the various button box properties.
5407 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
5409 2007-02-07 Cody Russell <bratsche@gnome.org>
5411 * gdk/gdk.symbols: Add gdk_event_request_motions
5413 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
5415 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
5416 condition which was wrongly ported with my last commit.
5418 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
5420 * gtk/gtktextview.c (gtk_text_view_motion_event):
5421 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
5422 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
5423 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
5424 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
5425 * gtk/gtkentry.c (gtk_entry_motion_notify):
5426 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
5427 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
5428 for new motion events after receiving motion hints.
5430 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
5432 2007-02-06 Kristian Rietveld <kris@imendio.com>
5434 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
5435 remove unused get of has_tooltip.
5437 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
5438 portable g_snprintf instead of snprintf.
5440 2007-02-06 Michael Natterer <mitch@imendio.com>
5442 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
5444 (gtk_tooltip_show_tooltip): move variables and code to local
5445 scope. Fixes warnings about maybe uninitialized variables.
5447 2007-02-06 Kristian Rietveld <kris@imendio.com>
5453 * gtk/gtk.symbols: build system foo.
5455 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
5456 hook for appropriate events.
5458 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
5460 * gtk/gtkrc.c: add style for gtk-tooltip.
5462 * gtk/gtksettings.c (gtk_settings_class_init): make the
5463 different tooltip timeouts configurable.
5465 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
5466 tooltips are hidden on unmap, destroy, update window event
5467 mask on realize, hook into focus change and show help
5470 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
5472 * gtk/gtktooltip.[ch]: new files.
5475 * tests/testtooltips.c: add test application.
5477 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
5479 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
5480 by prematurely releasing a DC. By Hiroyuki Yamamoto
5481 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
5482 pixbufs when drawing rotated tabs. By Daniel Atallah
5484 2007-02-05 Michael Natterer <mitch@imendio.com>
5486 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
5487 and gtk-enable-mnemonics which enable/disable accelerators and
5488 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
5490 * gtk/gtkwindow.c (gtk_window_activate_key)
5491 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
5492 if the resp. setting is FALSE.
5494 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
5495 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
5496 them if the setting is FALSE.
5498 * gtk/gtklabel.c: added signal connection to the screen's settings
5499 object and traverse all widgets on the screen when the setting
5500 changes. It's slightly ugly to also update GtkAccelLabels here,
5501 but less ugly than connecting and traversing all widgets twice.
5503 2007-02-05 Michael Natterer <mitch@imendio.com>
5505 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
5506 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
5507 ansi C enum value limits. Fixes bug #46757.
5509 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
5511 * gtk/gtksequence.[ch]: Remove these files since GSequence has
5512 been moved into GLib.
5514 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
5516 * configure.in: Require glib-2.13.0
5518 2007-02-04 Tor Lillqvist <tml@novell.com>
5520 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
5521 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
5523 2007-02-02 Kristian Rietveld <kris@gtk.org>
5525 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
5526 style_get of vertical-separator. (#403165, Chris Wilson).
5528 2007-02-02 Christian Persch <chpe@svn.gnome.org>
5530 * gtk/gtkfilechoosersettings.c: (get_config_filename),
5531 (ensure_settings_read), (_gtk_file_chooser_settings_init),
5532 (_gtk_file_chooser_settings_set_show_hidden),
5533 (_gtk_file_chooser_settings_set_expand_folders),
5534 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
5535 markup file. Bug #399592.
5537 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
5539 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
5540 be a little more helpful with the docs on GtkCellRendererText:alignment.
5543 2007-02-01 Michael Natterer <mitch@imendio.com>
5545 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
5546 gtk_paint_box() calls.
5548 2007-02-01 Michael Natterer <mitch@imendio.com>
5550 * gtk/gtkmenu.c (gtk_menu_button_press)
5551 (gtk_menu_button_release)
5552 (gtk_menu_button_scroll): remove redundant and confusing
5553 if (GTK_IS_MENU (widget)) checks because "widget" is always a
5556 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
5558 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
5559 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
5561 2007-01-31 Christian Persch <chpe@svn.gnome.org>
5563 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
5564 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
5565 (gtk_about_dialog_set_artists),
5566 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
5567 there are no credits to show. Bug #402806.
5569 2007-01-31 Tor Lillqvist <tml@novell.com>
5571 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
5573 (_gdk_input_wintab_init_check): Call it when debugging output is
5575 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
5576 tablets. The Wacom driver reports duplicated cursors with
5577 physid==0. Fix verified by Robert Ögren.
5579 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
5581 * modules/printbackends/file/gtkprintbackendfile.c:
5582 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
5584 2007-01-30 Matthias Clasen <mclasen@redhat.com>
5586 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
5587 (gdk_x11_window_set_user_time): Be more careful about toplevel
5588 possibly being NULL. (#402453, Sebastian Bacher)
5590 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
5592 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
5593 class_n_properties and leave an uninitialized value array behind.
5595 2007-01-29 Michael Natterer <mitch@imendio.com>
5597 * gtk/gtkmenuitem.c (gtk_menu_item_select)
5598 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
5599 this menu item's menu, to enable themeing menu items depending on
5600 whether something is selected in their submenu (patch taken from
5603 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5605 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
5606 that was mistakenly "cleaned up" a while ago. Also
5607 revert a problematic change to the screen_changed
5608 handler. (#401598, Søren Sandmann)
5610 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5612 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
5613 problem with large y thickness. (#136592, Xan Lopez)
5615 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5617 * gtk/gtkaction.c (gtk_action_new): Use canonical
5620 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5622 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
5623 (gtk_notebook_draw_focus): Avoid some unnecessary
5624 gtk_widget_get_style() calls.
5626 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5629 * gtk/gtktoolitem.c:
5630 * gtk/gtktoolbutton.c: Rearrange things so that setting
5631 multiple properties causes not more than a single
5632 reconstruction of the contents.
5634 * gtk/gtkaction.c (connect_proxy): Set all tool button
5635 properties in one go.
5637 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5639 * gtk/gtkstatusicon.c:
5640 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
5641 take up space on the panel if it is invisible. (340110, Christian
5644 * tests/teststatusicon.c:
5645 * tests/Makefile.am: Updates
5647 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5651 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
5652 and the old file selector. (#348256)
5654 2007-01-26 Matthias Clasen <mclasen@redhat.com>
5656 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
5658 2007-01-26 Matthias Clasen <mclasen@redhat.com>
5660 * gtk/updateiconcache.c: Check the mtime of all directories,
5661 not just the toplevel, if ftw() is available. (#331671, Behdad
5664 * configure.in: Check for ftw.h.
5666 2007-01-26 Michael Natterer <mitch@imendio.com>
5668 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
5669 destroy the XIM only if it exists. While the code does look safe
5670 in general, there can be corner cases where the "reconnecting"
5671 boolean being FALSE does not correspond to the XIM being
5672 allocated (fixes #329450, fix taken from maemo-gtk).
5674 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
5676 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
5677 window bounds (fix from Maemo Gtk).
5679 2007-01-26 Michael Natterer <mitch@imendio.com>
5681 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
5682 only block/unblock completion->priv->insert_text_id if it is
5683 actually connected. While this can't happen the way GtkEntry
5684 itself uses the completion, it's still public API and should not
5685 blindly call functions that will spit warnings (fix taken from
5688 2007-01-25 Matthias Clasen <mclasen@redhat.com>
5690 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
5691 the paintable iface.
5693 2007-01-24 Michael Natterer <mitch@imendio.com>
5695 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
5696 of PRELIGHT state for the reasons given in bug #135666. Widget
5697 states are sometimes abused or otherwise used wrongly for historic
5698 reasons, causing this part of the patch to break e.g. menu items.
5700 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
5702 * README: Remove mention of no-longer-existing PATCH
5703 keyword in bugzilla. (#396899)
5705 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
5707 * gtk/gtkpagesetup.c
5708 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
5711 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
5713 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
5716 Cause gcc to issue a warning if the style returned from
5717 gtk_style_attach is not used. Failure to update
5718 widget->style causes some very difficult to reproduce bugs,
5719 eg Bug 353498 – crash in Terminal: changing icon theme.
5721 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
5723 * gdk/directfb/gdkevents-directfb.c: added fixes for window
5724 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
5726 2007-01-19 Matthias Clasen <mclasen@redhat.com>
5728 * gtk/gtkcalendar.c: Fix build breakage.
5730 2007-01-19 Kristian Rietveld <kris@imendio.com>
5732 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
5733 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
5734 add_scroll_timeout(). (taken from maemo-gtk).
5736 2007-01-18 Matthias Clasen <mclasen@redhat.com>
5738 * gtk/gtkcalendar.c: Fix problems with the initial
5739 focus in GtkCalendar. (#397783, Vincent Untz)
5741 2007-01-19 Robert Ögren <gtk@roboros.com>
5743 Fix for bug #143460 - missed tablet clicks on Windows
5745 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
5746 Request absolute reporting of tablet button state, and cut down
5747 the packet queue size a bit.
5748 (_gdk_input_other_event): Change button state handling
5749 accordingly. Also drop the no longer necessary code that detects
5750 missed clicks/releases for button 1. The switch to absolute button
5751 state should prevent missed events for all buttons. Additionally,
5752 swap button 2 and 3.
5753 (_gdk_input_grab_pointer): Don't reset button_state, that will only
5754 cause a new press event as soon as the next tablet packet arrives.
5756 2007-01-19 Tor Lillqvist <tml@novell.com>
5758 Build Wintab support always on Windows. Don't require the Wintab
5761 * configure.in: Drop the --with-wintab option. Drop the
5762 HAVE_WINTAB feature test macro and Automake variable.
5765 * config.h.win32.in: Drop HAVE_WINTAB.
5767 * gdk/win32/gdkevents-win32.c
5768 * gdk/win32/gdkinput.c
5769 * gdk/win32/gdkinput-win32.h
5770 * gdk/win32/gdkinput-win32.c
5771 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
5774 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
5775 to load wintab32.dll dynamically here. If it is found look up the
5776 handful Wintab functions we use.
5777 (rest of file): Use these function pointers instead of calling the
5778 functions from wntab32x.lib. The code in wntab32x.lib did the same
5779 thing anyway: tried to load wintab32.dll, and looked up the
5780 addresses of the actual functions from it.
5783 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
5785 * gdk/win32/wintab.h
5786 * gdk/win32/pktdef.h: New files. Copied from the Wintab
5787 SDK. Copyright blurb says: "The text and information contained in
5788 this file may be freely used, copied, or distributed without
5789 compensation or licensing restrictions."
5791 * README.win32: Update a bit. Remove the text about the Wintab
5794 2007-01-18 Tor Lillqvist <tml@novell.com>
5796 * gdk-pixbuf/Makefile.am
5798 * gdk/win32/Makefile.am
5799 * gtk/Makefile.am: Fixes for building outside srcdir on
5800 Win32. (#336819, #340013) Drop distributing the handmade .la
5801 libtool wrapper for the wntab32x library. It's too much trouble
5802 making it work when building outside srcdir. Just link to the
5803 library direcly using -Wl,win32/libwntab32x.a.
5805 2007-01-18 Michael Natterer <mitch@imendio.com>
5807 * gtk/gtkcheckbutton.c
5812 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
5813 functions. Based on a patch from maemo-gtk (bug #398023).
5815 2007-01-17 Tor Lillqvist <tml@novell.com>
5817 * gtk-zip.sh.in: Include also the COPYING file.
5819 2007-01-17 Matthias Clasen <mclasen@redhat.com>
5821 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
5822 httpGetFd() when building against cups 1.1
5824 2007-01-17 Tor Lillqvist <tml@novell.com>
5826 Proper fix for #396175:
5828 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
5829 include gtkprivate.h. On Win32 we do want to use the redefinition
5830 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
5832 * gtk/gtkimmodule.c: Instead, correct the prefix also on
5833 simple_context_info.domain_dirname. Do the prefix corrections
5834 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
5835 now they were done only in the autoconfiscated gcc builds. Hans
5836 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
5838 (correct_localedir_prefix): New function, like
5839 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
5840 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
5841 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
5842 on the domain_dirname instead of correct_libdir_prefix().
5843 (_gtk_im_module_list): Call correct_localedir_prefix() on
5844 simple_context_info.domain_dirname.
5846 2007-01-16 Matthias Clasen <mclasen@redhat.com>
5848 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
5849 grab changes. (#396470, Benjamin Berg)
5851 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
5853 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
5854 if they grow too much. (#357303)
5856 2007-01-14 Matthias Clasen <mclasen@redhat.com>
5858 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
5859 non-scalable dir, keep going and look for a closer match.
5860 (#395830, Luca Ferretti)
5862 2007-01-14 Christian Persch <chpe@svn.gnome.org>
5864 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
5865 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
5866 gtk_target_table_free instead of duplicating the code. Bug #396493.
5868 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5870 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
5871 positions can't be found. (#396161, Hans Breuer)
5873 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5875 * gtk/gtkselection.c (_gtk_selection_request): Plug
5876 memory leaks. (#396160, Carlos Garcia Campos)
5878 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5880 * configure.in: Link libgtk against Xfixes. (#396074,
5883 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5885 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
5886 a compiler warning. (#395045, Chris Wilson)
5888 2007-01-13 Hans Breuer <hans@breuer.org>
5890 * gtk/gtkprintoperation-win32.c : take the custom tab label from
5891 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
5893 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
5894 differing definitions of GTK_LOCALEDIR (bug #396175).
5896 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
5897 not available everywhere
5899 * gtk/makefile.msc.in : updated
5901 2007-01-12 Michael Natterer <mitch@imendio.com>
5903 * gtk/gtkentry.c (gtk_entry_button_press): don't add
5904 entry->scroll_offset to entry->drag_start_y. Fixes the entry
5905 starting drags after ridiculously small mouse movements.
5907 2007-01-11 Richard Hult <richard@imendio.com>
5909 * demos/gtk-demo/main.c: (load_file): Close the file after it's
5910 loaded (bug #395316).
5912 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
5914 * gtk/gtkfilesystemunix.c: (expand_tilde):
5915 Make a single tilde go to $HOME in the location entry.
5916 Patch from Yevgen Muntyan. Closes the gtk+ part of
5919 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
5921 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
5922 * gtk/gtklabel.c (gtk_label_size_request):
5923 Use pango_matrix_transform_rectangle(). (#340141)
5925 * configure.in: Bump pango requirement to 1.15.3.
5927 2007-01-10 Kristian Rietveld <kris@imendio.com>
5929 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
5930 refactor to initialize indicator_size to TOGGLE_WIDTH instead
5931 of the hardcoded value of 12.
5933 2007-01-09 Matthias Clasen <mclasen@redhat.com>
5935 * configure.in: Fix the directfb cairo test. (#394855,
5938 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
5940 * configure.in: Fix comment for --with-included-loaders. That option
5941 affects builds with module loading enabled too.
5943 2006-01-08 Peter Teichman <peter@novell.com>
5945 * gtk/gtkfilechooserdefault.c:
5946 * gtk/gtkfilechooserprivate.h:
5947 * gtk/gtkfilechoosersettings.c:
5948 * gtk/gtkfilechoosersettings.h:
5949 Save the expanded state of the folder browser with the file
5950 chooser settings. Resolves the expander portions of (#153828,
5953 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
5955 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
5956 Don't leak the icon pixbuf after setting it to the image menu
5957 item. Found by Paolo Borelli.
5959 2007-01-08 Matthias Clasen <mclasen@redhat.com>
5961 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
5962 corrupt memory when faced with paths with ridiculously
5963 large indices. Found by the GTKVTS test suite.
5965 2007-01-08 Matthias Clasen <mclasen@redhat.com>
5967 * gtk/gtkmodules.c (_gtk_modules_init): Set
5968 default_display_opened before loading modules. (#393102,
5971 2007-01-07 Matthias Clasen <mclasen@redhat.com>
5973 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
5974 Call text_window_realize() with the correct parameters.
5975 (#393813, Yevgen Muntyan)
5977 2007-01-07 Matthias Clasen <mclasen@redhat.com>
5979 * gtk/gtkstatusbar.c: Move docs inline, and expand them
5982 2007-01-06 Matthias Clasen <mclasen@redhat.com>
5984 * gtk/gtklabel.c: Make line wrapping work with width-chars
5985 and max-width-chars, and simplify the storage of wrap-width.
5986 (#322580, Itai Bar-Haim)
5988 2007-01-06 Tor Lillqvist <tml@novell.com>
5990 * gdk/win32/cursor.bdf: New file. Downloaded from
5991 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
5992 "diamond_cross", "draft_large", "gobbler" and "target" to fix
5993 #392504. It is possible that the same end result could have been
5994 achieved by tweaking bdfcursor.c instead.
5996 * gdk/win32/bdfcursor.c: Add optional debugging output.
5998 * gdk/win32/xcursors.h: Regenerated.
6000 2007-01-05 Matthias Clasen <mclasen@redhat.com>
6002 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
6003 menu labels. (#393255, Michail Crayson)
6005 2007-01-05 Kristian Rietveld <kris@gtk.org>
6007 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
6008 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
6010 2007-01-05 Kristian Rietveld <kris@gtk.org>
6012 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
6013 invalidate nodes if the tree view is not realized. (#363147,
6014 Carlos Garnacho, Miguel Cabrera).
6016 2007-01-05 Matthias Clasen <mclasen@redhat.com>
6018 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
6019 account when drawing the background. (#393166, Benjamin Berg)
6021 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
6023 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
6026 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
6028 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
6029 both scroll arrows when calculating size request in GTK_POS_LEFT or
6030 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
6032 2007-01-05 Michael Natterer <mitch@imendio.com>
6034 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
6035 the right function (fix taken from maemo-gtk).
6037 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
6040 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
6041 (gdk_draw_layout_with_colors):
6042 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
6043 Avoid overflow when converting coordinates to Pango units. (#332266,
6046 2007-01-04 Matthias Clasen <mclasen@redhat.com>
6048 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
6049 after realization of the popup window, so clamp node doesn't fail.
6050 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
6052 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
6054 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
6057 2007-01-04 Matthias Clasen <mclasen@redhat.com>
6060 * gdk-pixbuf/Makefile.am:
6062 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
6063 (#392646, Yevgen Muntyan)
6065 2007-01-04 Matthias Clasen <mclasen@redhat.com>
6067 * demos/gtk-demo/textscroll.c:
6068 * gtk/gtkhandlebox.c:
6069 * gtk/gtkcolorsel.c: Fix some compiler warnings.
6071 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6073 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
6074 by calling the input method regardless of editability,
6075 and beeping from the commit/preedit-changed handlers.
6076 (#390514, Yevgen Muntyan)
6078 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6080 Fix #332604, reported by Joe Wreschnig, patch
6081 by Jan Arne Petersen and Behdad Esfahbod.
6083 * gtk/gtklabel.c (gtk_label_size_allocate): Only
6084 set the width of the layout when necessary.
6085 (get_layout_location): Use pango_layout_get_pixel_extents()
6086 instead of pango_layout_get_width().
6088 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6090 * modules/printbackends/cups/gtkprintbackendcups.c
6091 (available_choices): Don't leak conflicts.
6093 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
6094 Don't leak the status string.
6096 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6098 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
6099 Exit early if we can't get file info - this happens
6100 if the iter points to the row where we are editing
6101 the name for a newly created folder. (#392191, Michael
6102 Partridge, patch by Kristian Rietveld)
6104 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6107 * gdk/x11/*.c: Apply a patch by Chris Wilson to
6108 avoid spurious valgrind warnings from XSendEvent()
6111 * modules/printbackends/cups/gtkprintbackendcups.c: Close
6112 the http connection after getting the PPD.
6114 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
6117 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6119 * gtk/gtkassistant.c (remove_page): If the current page
6120 is removed, always pick a different one. (#392457,
6123 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6125 * modules/printbackend/cups/*.c: Coding style cleanups.
6127 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6129 * configure.in: Export SED to make sourcing of
6130 libtool work. Tighten up the directfb pkgconfig check.
6132 2007-01-03 Michael Natterer <mitch@imendio.com>
6134 * gtk/gtkstyle.c (option_menu_get_props)
6135 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
6136 gtk_border_free when freeing borders.
6138 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6140 * gtk/gtkentry.c (get_text_area_size): Work when the
6141 entry is not realized. (#392315, Yevgen Muntyan)
6143 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
6144 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
6146 * gtk/gtkentry.c (cursor_blinks): Don't get settings
6147 unnecessarily. (#392227)
6149 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6151 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
6152 updates on the window at hand, not on all windows, to
6153 avoid violating resize/redraw ordering constraints.
6154 (#362406, Owen Taylor)
6156 2007-01-03 Kristian Rietveld <kris@gtk.org>
6158 * gtk/gtkcellrendererprogress.c
6159 (gtk_cell_renderer_progress_class_init): fix docs.
6161 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6163 * gtk/updateiconcache.c: Include locale.h
6165 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6167 * gtk/updateiconcache.c (main): Call setlocale().
6170 * gtk/gtkfilesystemunix.c:
6171 * gtk/gtkfilesystemwin32.c:
6172 * gtk/gtkfilechoosersettings.c:
6173 * gtk/updateiconcache.c: Consistently use folder instead of
6174 directory in translated messages. (#344584, Javier F. Serrador)
6176 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6178 Try to fix #315732, reported by Luke Hutchinson:
6180 * gdk/x11/xsettings-client.[hc]:
6181 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
6182 will guarantee that it can be looked up in the xid hash later.
6183 Also, use the nesting server grab function during the xsettings
6184 client initialization. Finally, make xsettings client not
6185 eat DestroyNotifys so that GDK can do its regular cleanup.
6187 2007-01-02 Michael Natterer <mitch@imendio.com>
6189 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
6190 when a keybinding didn't change adjustment->value.
6192 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6194 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
6195 Try harder not to beep on events which are not meant to
6196 insert stuff in the buffer. (#390514, Yevgen Muntyan)
6198 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6200 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
6202 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6204 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
6205 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
6207 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
6209 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
6211 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6213 * gtk/gtkscrolledwindow.h:
6214 * gtk/gtkscrolledwindow.c: Only handle key bindings
6215 for scrolling if the scrollbars are visible.
6216 (#340135, Christian Persch)
6218 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6220 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
6221 Don't segfault on horizontal scrolling.
6223 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6225 * gtk/gtknotebook.h:
6226 * gtk/gtknotebook.c: Only handle key bindings for
6227 tab reordering if the tabs are shown and reorderable.
6228 (#390468, Yevgen Muntyan)
6230 * gtk/gtkmarshalers.list: Add required marshaler
6232 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6234 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
6235 Mention in the docs that the return value is
6236 NULL-terminated. (#383373, Christian Neumair)
6238 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6240 * gtk/gtkicontheme.c (load_themes): Waste less time
6241 with non-directories. (#391725, Chris Wilson)
6243 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6245 * gtk/gtkcellrendererprogress.c: Implement activity mode
6246 for GtkCellRendererProgress. (#377851, Brad Taylor)
6248 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6250 Fix some IPP compliance issues. (#391523, Albrecht Dress)
6252 * modules/printbackends/cups/gtkcupsutils.c
6253 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
6255 * modules/printbackends/cups/gtkprintbackendcups.c
6256 (gtk_print_backend_cups_print_stream): Don't add the
6257 requesting-user-name attribute a second time.
6259 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6261 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
6263 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
6265 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
6266 right object when disconnecting from the GtkRecentManager::changed
6267 signal; save us a few indirections using a variable.
6269 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
6271 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
6272 disconnections into the dispose function, as well as the
6273 object unrefs; reset every handler id and the
6274 pointers. (suggested by Paolo Borelli, #390873)
6276 2006-12-31 Matthias Clasen <mclasen@redhat.com>
6278 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
6281 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6283 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
6284 scroll timeout. (#390872, Yevgen Muntyan)
6286 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6288 * gtk/gtkprintoperation-unix.c:
6289 * gtk/gtkprintbackend.c:
6290 * gtk/gtkfilechooserdefault.c:
6291 * gtk/gtksettings.c: Move a few settings to gtksettings.c
6292 to make sure they show up in the docs. (#365364, Christian
6295 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6297 * gtk/gtkassistant.c: Redraw assistant on reallocate
6298 to avoid rendering glitches. (#343956, Christian
6299 Persch, Carlos Garnacho)
6301 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6303 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
6305 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6307 * gtk/gtkaction.c: Improve the docs of the "label"
6308 property. (#341730, Kristof Vansant)
6310 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6312 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
6313 Correctly handle min size. (#320465, Philipp Langdale)
6315 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6317 * gtk/prop-editor.c: Implement editing of flags.
6319 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6324 * gtk/gtkstatusbar.c:
6325 * gtk/gtktextview.c: Don't install cursors on insensitive
6326 widgets. (#358864, Jan Schampera)
6328 2006-12-29 Matthias Clasen <mclasen@redhat.com>
6330 * gtk/gtkrecentmanager.h:
6331 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
6334 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
6337 * gtk/gtkentry.c (blink_cb):
6338 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
6339 if focus went missing. Just warn, clean up and continue.
6342 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
6344 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
6345 originally received the event is a notebook page. (#315440, reported
6348 2006-12-29 Matthias Clasen <mclasen@redhat.com>
6350 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
6353 2006-12-29 Matthias Clasen <mclasen@redhat.com>
6355 * tests/prop-editor.c: Display children of containers
6356 and cell renderers of cell layouts.
6359 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
6360 New function to get the cell renderers of a cell layout.
6362 * gtk/gtktreeviewcolumn.c:
6363 * gtk/gtkcellview.c:
6364 * gtk/gtkiconview.c: Implement get_cells.
6366 2006-12-28 Matthias Clasen <mclasen@redhat.com>
6368 * gtk/gtkiconview.c: Use word wrapping by default, and
6369 center multiline labels. (#318763, Ross Burton)
6371 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
6372 case for single-line layouts.
6374 2006-12-28 Matthias Clasen <mclasen@redhat.com>
6376 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
6379 * gtk/gtkuimanager.c (update_node): Only use the results
6380 of find_menu/toolbar_position() if they succeed. May fix
6383 2006-12-28 Matthias Clasen <mclasen@redhat.com>
6385 * gdk/gdk.c: Fix some formatting errors in docs.
6387 2006-12-28 Tor Lillqvist <tml@novell.com>
6389 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
6390 (gtk_status_icon_update_image): Don't leak HICONs on
6391 Win32. (#364868, Hiroyuki Yamamoto)
6393 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
6395 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
6397 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
6398 * gtk/gtkmarshalers.list: add new marshaler definition.
6399 * gtk/gtkenums.h: add GtkDragResult enum.
6401 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
6402 operation wasn't successful.
6403 (_gtk_drag_source_handle_event) (gtk_drag_drop)
6404 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
6405 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
6406 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
6407 gtk_drag_drop_finished() the operation result.
6409 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
6410 (gtk_notebook_drag_data_get): do not call window creation hook here.
6411 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
6412 target, instead connect to "drag-failed".
6413 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
6415 2006-12-28 Mikael Hallendal <micke@imendio.com>
6417 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
6418 integration into gdkeventloop-quartz.c.
6420 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
6422 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
6425 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6427 * modules/printbackends/lpr/gtkprintbackendlpr.c
6428 (gtk_print_backend_lpr_print_stream): Close the io channel
6429 on unref. (#390159, Joe Markus Clarke)
6431 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6433 * gdk/gdk.h: Remove redundant declarations (#390097,
6436 2006-12-27 Kristian Rietveld <kris@gtk.org>
6438 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
6440 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
6441 gtk-alternative-sort-arrows.
6443 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
6446 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
6447 gtk-alternative-sort-arrows setting to true.
6449 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6450 invert direction if gtk-alternative-sort-arrows is TRUE.
6452 2006-12-27 Tor Lillqvist <tml@novell.com>
6454 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
6455 gtk_status_icon_set_screen.
6457 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
6458 on Windows. Keep track of where the last button click on the
6459 taskbar icon took place, and return that. Obviously not correct if
6460 no button has ever been clicked on the icon, or if the geometry of
6461 the taskbar has changed since. But for most use cases where a menu
6462 is going to be displayed as a direct result of a button click on
6463 the status icon, works fine. (#377349)
6465 Implement getting the orientation property on Windows.
6467 (gtk_status_icon_embedded_changed)
6468 (gtk_status_icon_orientation_changed): Ifdefify these functions
6469 that are used only on X11.
6471 2006-12-27 Tor Lillqvist <tml@novell.com>
6473 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
6474 typo. (#390035, Kazuki Iwamoto)
6476 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6478 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
6480 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
6481 (gtk_combo_box_unset_model): Handle repeated unsetting
6482 of models without warnings. (#367529, Robert Ancell)
6484 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6486 * modules/printbackends/cups/gtkcupsutils.c:
6487 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6488 getters for http fields where available. (#364866,
6491 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6493 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
6494 (#362614, Xan Lopez)
6496 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6498 * gtk/gtkuimanager.c (update_node): If a required action
6499 is missing, don't recurse over the children. (#349119,
6502 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6504 Fix a few problems with nested menus in comboboxes
6505 (#386694, Yevgen Muntyan)
6507 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
6508 connect the activate callback.
6509 (gtk_combo_box_menu_item_activate): Do nothing if called on
6510 an item with a submenu.
6511 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
6514 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
6516 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
6517 filechooser button. Bug 353196.
6519 2006-12-26 Kristian Rietveld <kris@gtk.org>
6521 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
6522 the search dialog timeout never to be refreshed. (#389581,
6523 Andrzej Szombierski).
6525 2006-12-26 Kristian Rietveld <kris@gtk.org>
6527 Lots of scrolling fixes. Made scrolling work properly in not fully
6528 validated tree views; fixed a bunch of corner cases.
6530 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
6531 upper - page_size, we know it is located at the end so the test for
6532 dy + height has been dropped.
6533 In the same case if area_below < 0, we know this is the last node
6534 in the tree view so area_above is page_size - height of this row.
6535 (validate_visible_area): got rid of subtracting new_height -
6536 old_height from area_{below,above}, it didn't make any sense at
6537 all and the full height of the row should be subtracted instead.
6538 (validate_visible_area): when scrolling to a given path, set the
6539 top row directly together with the dy offset, then sync that top_row
6541 (gtk_tree_view_set_top_row): new function to directly set a top_row.
6542 (gtk_tree_view_dy_to_top_row): refactored to use
6543 gtk_tree_view_set_top_row().
6544 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
6545 (gtk_tree_view_adjustment_changed): only update our dy and
6546 top_row if the adjustment's dy actually changed.
6548 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
6550 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
6551 Return the correct value from gtk_notebook_insert_page if the
6552 page-added handler reorders the tabs. Bug #345094.
6554 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
6556 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
6558 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
6559 scrolling when hovering with a detached tab.
6560 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
6561 focus tab has changed during a tab DND operation.
6562 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
6563 (gtk_notebook_paint): do not take cur_page as a reference to paint the
6564 box if it's detached.
6565 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
6566 to the detached tab if we hover the arrows during a tabs detaching
6567 operation, do not allocate it unconditionally in 0,0.
6569 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
6571 Expose improvements for GtkNotebook. Bug #383435
6573 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
6575 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
6576 (gtk_notebook_draw_tab): do not send handmade expose events to tab
6579 2006-12-26 Matthias Clasen <mclasen@redhat.com>
6581 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
6582 FALSE. (#389623, Carlos Garnacho Parro)
6584 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
6587 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6589 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
6590 (gtk_plug_unrealize): Notify the "embedded" property also on
6591 normal construction and when destroying the socket window.
6594 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6596 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
6597 (gtk_about_dialog_init), (display_credits_dialog),
6598 (display_license_dialog):
6599 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
6600 (gtk_file_chooser_dialog_init),
6601 (gtk_file_chooser_dialog_constructor),
6602 (gtk_file_chooser_dialog_unmap):
6603 * gtk/gtkrecentchooserdefault.c:
6604 (_gtk_recent_chooser_default_init):
6605 * gtk/gtkrecentchooserdialog.c:
6606 (gtk_recent_chooser_dialog_class_init),
6607 (gtk_recent_chooser_dialog_init),
6608 (gtk_recent_chooser_dialog_constructor),
6609 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
6610 instead of using style-set handlers. Fix the filechooser's spacing
6611 between content and action area to 12px. Bug #372447.
6613 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6615 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
6616 Don't assume statusbar->label is the statusbar's frame's child when
6617 shrinking the size allocation when the grip is shown. Bug #372452.
6619 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6621 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
6622 (add_custom_paper): Fix mem leaks. Bug #389194.
6624 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6626 * gtk/gtktextutil.c: Remove debug output.
6628 * gtk/gtktextview.c: Improve the DND scrolling
6629 behaviour. (#92387, Carlos Garnacho Parro)
6631 * gtk/gtkaccellabel.c: Improve translators comments.
6632 (#389298, Christian Persch)
6634 2006-12-24 Bastien Nocera <hadess@hadess.net>
6636 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
6639 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
6641 * docs/reference/gtk/gtk-sections.txt:
6643 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
6644 * gtk/gtkprinter-private.h:
6645 * gtk/gtkprinter.c: (gtk_printer_list_papers):
6646 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
6648 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
6650 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
6651 when is selected in page setup dialog. Fixes bug #365047.
6653 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6655 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
6656 Use gtk_border_free when freeing border.
6658 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6660 * gtk/gtkentry.c (gtk_entry_button_press): When
6661 shift-clicking, keep the larger part of the selection
6662 selected. (#353709, Benjamin Otte)
6664 * gtk/gtkbutton.c (gtk_button_get_props): Use
6665 gtk_border_free when freeing borders.
6667 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
6668 careful when faking a button release. (#323146,
6671 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
6672 handle with the right orientation, depending on the
6673 position of the handlebox. (#159764, Benjamin Berg)
6675 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6677 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
6678 GtkBorder (#383557).
6680 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6682 Bug 340141 – Update to Pango 1.16 API
6684 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
6685 (gdk_pango_layout_line_get_clip_region):
6686 * gtk/gtkcalendar.c (gtk_calendar_size_request):
6687 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
6688 (get_layout_position), (gtk_entry_find_position),
6689 (gtk_entry_adjust_scroll):
6690 * gtk/gtkiconview.c (get_pango_text_offsets):
6691 * gtk/gtklabel.c (get_cursor_direction):
6692 * gtk/gtkstyle.c (get_insensitive_layout):
6693 * gtk/gtktextdisplay.c (render_para):
6694 * gtk/gtktextlayout.c (allocate_child_widgets),
6695 (find_display_line_below), (find_display_line_above),
6696 (gtk_text_layout_move_iter_to_previous_line),
6697 (gtk_text_layout_move_iter_to_next_line),
6698 (gtk_text_layout_move_iter_to_line_end),
6699 (gtk_text_layout_iter_starts_line),
6700 (gtk_text_layout_move_iter_to_x):
6701 * gtk/gtktextutil.c (limit_layout_lines):
6702 Use the _readonly version of pango_layout_iter_get_line(),
6703 pango_layout_iter_get_run(), pango_layout_get_line(), and
6704 pango_layout_get_lines().
6706 * gtk/gtkmain.c (gtk_get_default_language): Use
6707 pango_get_default_language().
6709 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6711 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
6712 and notify:text only once. The same fix was applied
6713 for replacing the selection via DND or copy-and-paste.
6714 (#64998, Damon Chaplin, Sven Herzberg)
6716 2006-12-23 Matthias Clasen <mclasen@redhat.com>
6718 * gtk/gtkimmulticontext.c: Be careful to not override
6719 GTK+ translations with the translations of the input
6720 method. (#317080, Tor Lillqvist)
6722 * modules/input/imcedilla.c: Use standard macros
6723 for translation domain and locale dir.
6725 * gtk/gtkimcontextsimple.c: Allow composing l with
6726 stroke. (#349638, Daniel Lublin)
6728 * gtk/gen-paper-names.c: Fix a thinko in the suffix
6729 calculation. (#382369, Christian Persch)
6731 * gtk/paper_names_offsets.c: Regenerated.
6733 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6735 * modules/engines/pixbuf/pixbuf.h:
6736 * modules/engines/pixbuf/pixbuf-rc-style.h:
6737 * modules/engines/pixbuf/pixbuf-style.h: Move
6738 G_GNUC_INTERNAL before function declarations. (#352276,
6741 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6743 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
6746 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6748 * *.c: Replace a lot of idle and timeout calls by
6749 the new gdk_threads api.
6753 * gdk/gdk.c: Add functions to allow threadsafe handling
6754 of idles and timeouts wrt. to the GDK lock. (#321886,
6757 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6759 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
6760 (#340141, Behdad Esfahbod)
6762 * configure.in: Check for getc_unlocked.
6764 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
6765 unavailable. (#381499)
6767 * tests/teststatusicon.c: Fix a typo
6769 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6771 Make it possible to track the embeddedness of
6772 statusicon (#387215, Martyn Russell, patch by Christian
6775 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
6777 * gtk/gtkplug-x11.c: Add an embedded property.
6778 * tests/teststatusicon.c: Test the new properties.
6780 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
6781 leak draw_border. (#387170, Kjartan Maraas)
6783 2006-12-21 Matthias Clasen <mclasen@redhat.com>
6785 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
6786 Typo fix. (#388123, Murray Cumming)
6788 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
6789 Generate double-click events. (#380421, Tommi Komulainen)
6791 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
6792 (_gdk_input_enter_event): Correct return_if_fail checks.
6793 (#379803, Tommi Komulainen)
6795 * gdk/gdkdisplay.c: Improve the docs of some functions operating
6796 on the default display. (##353438, Mariano Suárez-Alvarez)
6798 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
6800 * docs/reference/gdk/gdk-sections.txt:
6801 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
6802 converting a GdkColor to a string (#373856).
6804 * configure.in: Bump pango requirement to 1.15.2.
6806 2006-12-20 Matthias Clasen <mclasen@redhat.com>
6808 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
6811 * gdk/keyname-table.h: Regenerated
6813 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
6814 Søren Wedel Nielsen)
6816 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
6817 Silently return if a drag is already in progress, rather
6818 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
6820 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
6821 Allow any GtkDialog that implements GtkFileChooser as
6822 dialog. (#335473, Tommi Komulainen)
6824 2006-12-20 Mikael Hallendal <micke@imendio.com>
6826 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
6827 change in the quartz backend.
6829 2006-12-20 Mikael Hallendal <micke@imendio.com>
6831 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
6832 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
6834 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
6836 2006-12-19 Matthias Clasen <mclasen@redhat.com>
6838 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
6839 format of page ranges, and improve the page sequence icon
6840 for the case of n_copies == 1.
6842 2006-12-19 Mikael Hallendal <micke@imendio.com>
6844 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
6845 routine so that it can be used from libgtk as well (needed for
6846 upcoming GtkStatusIcon support in the Quartz port).
6847 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
6848 created from GDK, this is not true for the status icon.
6849 * gdk/quartz/gdkprivate-quartz.h:
6850 * gdk/quartz/gdkquartz.h: Added
6851 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
6852 the status icon code.
6854 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
6856 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
6857 gtk_message_dialog_set_image ()
6859 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
6860 (setting "window-placement-set" could result in a crash because
6861 of boolean/enum mixup)
6863 2006-12-15 Federico Mena Quintero <federico@novell.com>
6865 Merged from gtk-2-10:
6867 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
6868 the case where the new title is the same as the old title, to
6869 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
6870 equivalent). Handle the case where title == priv->title. This
6871 was found by the LSB compatibility tests:
6872 https://bugzilla.novell.com/show_bug.cgi?id=223882
6874 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
6876 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
6877 more closely resemble its Win32 counterpart. Bug #340204.
6879 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
6881 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
6882 placed inside their GdkWindow. Bug #385672.
6884 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
6886 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
6888 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
6890 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
6891 drawn with extra line below tab in MS-Windows theme. Patch by
6894 2006-12-13 Matthias Clasen <mclasen@redhat.com>
6896 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
6897 for print preview. (#370041, Ghee Teo)
6899 2006-12-11 Matthias Clasen <mclasen@redhat.com>
6901 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
6902 careful when overdrawing antialiased text. (#352435, Alex Jones,
6903 patch by Benjamin Otte)
6905 * gtk/gtksettings.c: Change the way in which color scheme information
6906 is merged to correctly handle vanishing colors. (#374420,
6907 Benjamin Berg, patch by Callum McKenzie)
6908 Also allow to separate entries in color schemes by ';'
6911 2006-12-10 Matthias Clasen <mclasen@redhat.com>
6913 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
6914 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
6916 2006-12-10 Kristian Rietveld <kris@gtk.org>
6918 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
6919 cancel editing (ie. don't accept changes) when the entry loses
6920 focus. (Fixes #164494, reported by Chris Rouch).
6922 2006-12-10 Matthias Clasen <mclasen@redhat.com>
6924 * configure.in: Correct a misapplied patch.
6926 2006-12-10 Tor Lillqvist <tml@novell.com>
6928 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
6929 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
6930 developer zipfile. Users might add pixbuf loaders or immodules
6931 even if they are not interested in developing gtk+-using software.
6933 2006-12-10 Matthias Clasen <mclasen@redhat.com>
6935 * configure.in: Check for crt_extern.h and _NSGetEnviron.
6936 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
6937 environ is not available. (#384168, Min Sik Kim)
6939 2006-12-07 Paolo Maggi <paolo@gnome.org>
6943 * gtk/gtkentry.c (gtk_entry_set_text): check for
6944 completion->priv->changed_id > 0 before calling
6945 g_signal_handler_[un]block.
6946 (gtk_entry_completion_key_press): does not block/unblock the "changed"
6947 signal before calling gtk_entry_set_text.
6949 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
6951 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
6952 xthickness/ythickness, they aren't used any longer for drawing.
6954 2006-12-07 Matthias Clasen <mclasen@redhat.com>
6956 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
6957 underlines by giving labels a small draw-border.
6959 2006-12-06 Kristian Rietveld <kris@gtk.org>
6961 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
6962 draw progress bar through theme engine instead of using our own
6963 custom cairo drawing code (#377244, patch from Carlos Garnacho).
6965 2006-12-06 Matthias Clasen <mclasen@redhat.com>
6967 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
6968 Update the sensitivity of the collate checkbutton more frequently,
6969 proposed by Tim Waugh.
6971 2006-12-04 Matthias Clasen <mclasen@redhat.com>
6973 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
6974 since we no longer set window titles.
6976 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
6978 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
6979 (gtk_page_setup_set_paper_size): Don't leak the old page size when
6980 setting a new one. Bug #382314.
6982 2006-12-03 Michael Natterer <mitch@gimp.org>
6984 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
6986 2006-12-03 Kristian Rietveld <kris@gtk.org>
6988 Make sure [xy]_offset are always being initialized, fix pixbuf
6989 renderer padding. (#108235, Sven Neumann).
6991 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
6992 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
6995 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
6996 always initialize [xy]_offset.
6997 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
6998 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
7001 2006-12-03 Kristian Rietveld <kris@gtk.org>
7003 * gtk/gtktreeview.c (validate_visible_area): when not using an
7004 explicit alignment, use the full area of the row (not just dy)
7005 to determine how to implicitly align it. (Fixes #363191, reported
7006 by Federico Mena Quintero).
7008 2006-12-02 Matthias Clasen <mclasen@redhat.com>
7010 * gtk/gtkicontheme.c (insert_theme): Properly clean up
7011 if an icon theme index file has no directories. (#381236)
7013 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
7015 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
7016 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
7018 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
7020 Remove the broken Thai input method and add a functional Thai and Lao
7021 input method by Theppitak Karoonboonyanan. (#81031)
7023 * modules/input/imthai.c:
7024 * modules/input/gtkimcontextthai.c:
7025 * modules/input/gtkimcontextthai.h:
7026 * modules/input/thai-charprop.c:
7027 * modules/input/thai-charprop.h:
7030 * modules/input/imthai-broken.c:
7033 * modules/input/Makefile.am:
7036 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
7038 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
7040 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
7042 * gtk/gtktextview.c: applied patch by Colin Leroy for
7043 Control+GDK_KP_Left to move one word to the left, #356255.
7045 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
7047 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
7050 2006-11-25 Matthias Clasen <mclasen@redhat.com>
7052 * modules/printbackends/cups/gtkprintbackendcups.c: Make
7053 print dialog work when 'BrowseShortNames Off' is specified
7054 in cups configuration. Patch by Tim Waugh.
7056 2006-11-24 Michael Natterer <mitch@imendio.com>
7058 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
7059 can't go up/down, consult gtk_widget_keynav_failed() and leave the
7060 widget if it returns FALSE (bug #322640).
7062 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
7064 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
7066 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
7068 * gtk/gtkrecentmanager.c:
7069 (get_uri_shortname_for_display): g_filename_from_uri() might
7070 fail; catch the failure and fall back to the non-local URI
7073 2006-11-19 Mark McLoughlin <mark@skynet.ie>
7075 Fixes bug #376502 - multi-screen support for GtkStatusIcon
7077 * gtk/gtkstatusicon.[ch]:
7078 (gtk_status_icon_set_screen),
7079 (gtk_status_icon_get_screen): add multi-screen API. Allows
7080 an app to display an icon on a non-default screen
7081 (gtk_status_icon_class_init),
7082 (gtk_status_icon_set_property),
7083 (gtk_status_icon_get_property): add a "screen" property
7085 * tests/teststatusicon.c: update to test on multiple screens
7087 2006-11-17 Matthias Clasen <mclasen@redhat.com>
7089 Fix problems with drag cancellation. (#376535, Michael Natterer)
7091 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
7092 handlers before emitting drag-end.
7093 (gtk_drag_end): Disconnect signal handlers before removing
7096 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
7098 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
7099 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
7101 2006-11-16 Michael Natterer <mitch@imendio.com>
7103 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
7104 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
7105 and gtk-keynav-wrap-around and wrap around, beep or continue outside
7106 the group manually (bug #322640).
7108 2006-11-16 Michael Natterer <mitch@imendio.com>
7110 Add new infrastructure for notifications of failed keyboard
7111 navigation and navigation with restricted set of keys.
7113 The patch handles configurable beeping, navigating the GUI with
7114 cursor keys only (as in phone environments), and configurable
7115 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
7118 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
7119 gtk-keynav-wrap-around and gtk-error-bell.
7121 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
7122 API to emit it. Added New function gtk_widget_error_bell() which
7123 looks at the gtk-error-bell setting and calls gdk_window_beep()
7126 * gtk/gtk.symbols: add the new widget symbols.
7128 * gtk/gtkcellrendereraccel.c
7129 * gtk/gtkimcontextsimple.c
7131 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
7132 gtk-error-bell setting instead of calling gdk_display_beep()
7139 * gtk/gtkmenushell.c
7140 * gtk/gtkspinbutton.c
7142 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
7147 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
7148 cursor navigation and leave the widget if it returns FALSE.
7150 * gtk/gtkmenushell.c
7151 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
7154 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
7155 whether to to wrap-around, and don't select active items on cursor
7156 navigation if gtk-keynav-cursor-only is TRUE. Should look at
7157 gtk-keynav-wrap-around too, will look into that.
7159 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
7161 * gtk/gtkrecentmanager.c:
7162 (gtk_recent_info_get_uri_display): Return the URI
7163 of the GtkRecentInfo object (upgraded to UTF-8 if
7164 needed) in case of non-local file. (#351945)
7166 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
7168 * gtk/gtkrecentchoosermenu.c:
7169 (gtk_recent_chooser_menu_add_tip): Apply the tip only
7170 if we have a displayable name for the item. (#365031,
7171 patch by padraig.obriain(at)sun.com)
7173 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
7175 * gtk/gtkrecentmanager.c: Provide a fast path returning
7176 NULL when the limit is set to 0.
7178 * gtk/gtkrecentchooserdefault.c:
7179 * gtk/gtkrecentchoosermenu.c: Add the same fast path
7180 inside the RecentChooser implementation; add a check
7181 in the list clamping code. (#373466 and duplicates)
7183 2006-11-15 Matthias Clasen <mclasen@redhat.com>
7185 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
7186 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
7188 2006-11-15 Michael Natterer <mitch@imendio.com>
7190 * gtk/gtkrange.[ch]: added properties "fill-level",
7191 "show-fill-level" and "restrict-to-fill-level" and getters/setters
7192 for them. The "fill level" is an additional marker on the range's
7193 trough than can be e.g. used to indicate the amount of
7194 pre-buffering in a range showing the play position of streamed
7195 media. See the embedded API docs for details. Made GtkRangeLayout
7196 a GTypeInstance private struct and removed finalize()
7197 implementation. Fixes bug #349808
7199 * gtk/gtk.symbols: added the new symbols.
7201 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
7203 * configure.in: Make libtool magic robust. (#352795)
7205 2006-11-13 Paolo Borelli <pborelli@katamail.com>
7207 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
7210 2006-11-09 Kristian Rietveld <kris@imendio.com>
7212 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
7213 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
7215 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
7217 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
7219 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
7221 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
7222 timeout running if the slider buttons are hidden. (#372527)
7224 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
7226 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
7227 the "Location" label bold. Bug #372449.
7229 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
7231 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
7232 non-focused tabs xthickness/ythickness thinner. (#353962)
7234 2006-11-07 Paolo Borelli <pborelli@katamail.com>
7236 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
7237 corruption (#357050).
7239 2006-11-06 Alexander Larsson <alexl@redhat.com>
7241 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
7242 (gtk_drag_source_info_destroy), (gtk_drag_end),
7243 (gtk_drag_grab_notify_cb):
7244 Cancel drag when the grab is shadowed. (#122688)
7246 2006-11-01 Kristian Rietveld <kris@imendio.com>
7248 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
7249 (gtk_combo_box_size_request): add arrow-size property to control
7250 the minimum size of the arrow, have the arrow scale up with the
7251 font by default. (#357950).
7253 2006-10-30 Kristian Rietveld <kris@gtk.org>
7255 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
7256 forget to queue a draw for the new cursor node. (Fixes #366548,
7257 reported by Sven Herzberg).
7259 2006-10-30 Michael Natterer <mitch@imendio.com>
7261 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
7262 only if we actually cancel a drag. Fixes bug #58389.
7264 2006-10-30 Kristian Rietveld <kris@gtk.org>
7266 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
7267 keybindings to collapse/expand rows instead of moving the focus
7268 cursor. (#105895, Brian Bober and others).
7270 2006-10-29 Kristian Rietveld <kris@gtk.org>
7272 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
7273 child removal in row-expanded callback. (#366782, John Ellis).
7275 2006-10-29 Tor Lillqvist <tml@novell.com>
7277 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
7278 of the small icon of the window class. (#152620, Kazuki Iwamoto)
7280 2006-10-29 Tor Lillqvist <tml@novell.com>
7282 * gdk/win32/gdkcursor-win32.c
7283 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
7284 for instance the built-in GDK ones.
7286 2006-10-27 Kristian Rietveld <kris@gtk.org>
7288 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
7289 case to not overwrite the variables in the lower scope (which are
7290 used later on ...), get the path correctly and bail out when there
7291 isn't a node above us. (#359231).
7293 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
7295 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
7297 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
7299 * gtk/gtk.symbols: Add missing symbols to so make check can pass
7301 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
7303 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
7304 to free GDI Pen resources, introduced by bug 340201.(#364514)
7306 2006-10-18 Kristian Rietveld <kris@imendio.com>
7308 * tests/testcombo.c (main): connect to notify::popup-shown instead of
7309 popup-show (the latter does not exist).
7311 2006-10-15 Paolo Borelli <pborelli@katamail.com>
7313 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
7316 2006-10-12 Michael Natterer <mitch@imendio.com>
7318 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
7319 (committed the wrong patch).
7321 2006-10-12 Michael Natterer <mitch@imendio.com>
7323 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
7324 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
7325 obsolete now. Fixes bug #358293.
7327 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
7329 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
7331 2006-10-11 Tor Lillqvist <tml@novell.com>
7333 * configure.in: Enable having some gdk-pixbuf loaders built-in
7334 even if loading the others dynamically. Define Automake
7335 conditional INCLUDE_FOO for each loader as TRUE if that loader is
7336 built-in. See also gdk-pixbuf/ChangeLog.
7338 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
7340 * docs/reference/gtk/gtk-sections.txt:
7341 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
7343 2006-10-11 Tor Lillqvist <tml@novell.com>
7345 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
7348 2006-10-11 Tor Lillqvist <tml@novell.com>
7350 Merge from 2.10 branch:
7352 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
7353 environment variable LC_ALL or LANG is set, set the Win32 thread
7354 locale to the corresponding locale. Then call the C library
7355 setlocale() to set the C library locale accordingly. The
7356 inconsistency mentioned below is gone. (#339756) Do some special
7357 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
7358 scripts for Azeri, Uzbek and Serbian.
7359 (enum_locale_proc): Helper function for the above functionality.
7361 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
7362 if the environment variables are set here, as they have already
7363 been taken into account and the Win32 thread locale has been
7366 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
7368 * gtk/tmpl/gtkbindings.sgml:
7369 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
7370 inline docs. applied wording fixes suggested by Martyn Russell.
7372 2006-10-09 Matthias Clasen <mclasen@redhat.com>
7374 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
7375 Update the docs to state which out parameters may be NULL.
7376 (#360870, Attilio Fiandrotti)
7378 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7380 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
7381 a typo. (#359542, Ghee Teo)
7383 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7385 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
7386 reorder tabs if the focus is in the tab. (#350342, Carlos
7389 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
7391 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
7393 2006-10-08 Kristian Rietveld <kris@gtk.org>
7395 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
7396 (gtk_tree_view_set_show_expanders),
7397 (gtk_tree_view_get_show_expanders): add getter/setter for
7398 show-expanders property, queue a redraw when this property
7399 is toggled (#351167, Martin Ejdestig),
7400 (gtk_tree_view_set_level_indentation),
7401 (gtk_tree_view_get_level_indentation): also add getter/setter
7402 and docs for level-indentation property.
7404 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7406 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
7407 leak a list. (#360350, Benjamin Berg)
7409 * Apply a cleanup patch by Kjartan Maraas (#341812)
7411 2006-10-07 Tor Lillqvist <tml@novell.com>
7413 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
7414 locale's first day of week setting on Win32. (#339752, Bogdan
7415 Nicula) Don't do this if one of the environment variables that
7416 affect gettext is set, though. In that case use the week start day
7417 from the corresponding message catalog.
7419 Unfortunately the same logic isn't possible in the weekday and
7420 month name lookup; there even if you have set one of the
7421 aforementioned environment variables, you still get the weekday
7422 and month names from the Win32 thread locale. Yes, this is
7425 Use only wide-character API in the Win32 code in this file, too.
7427 2006-10-06 Matthias Clasen <mclasen@redhat.com>
7429 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
7430 Fix the docs. (#360112)
7432 * gtk/gtkcellview.c: Don't set the background of the
7433 window in a no-window widget. (#359581, Xan Lopez)
7436 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
7438 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
7439 test correctly. (#359845)
7441 2006-10-05 Michael Natterer <mitch@imendio.com>
7443 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
7444 rid of a key binding (in fact, it only lets it appear unbound).
7446 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
7447 "guint marks_unbound : 1"
7449 (gtk_binding_entry_skip): new API which marks the entry as unbound.
7451 Changed code so it returns FALSE when "marks_unbound == TRUE" is
7452 encountered while activating bindings, effectively letting the
7453 binding appear unbound (regardless of still existing bindings in
7454 lower binding priority levels). Fixes bug #358329.
7456 (gtk_binding_entry_add)
7457 (gtk_binding_entry_clear)
7458 (gtk_binding_entry_add_signall)
7459 (gtk_binding_parse_binding): deprected these functions.
7461 (_gtk_binding_parse_binding)
7462 (_gtk_binding_entry_add_signall): new internal API.
7464 * gtk/gtk.symbols: changed accordingly.
7466 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7468 Fix interaction of GtkEntryCompletion with input
7469 methods. (#354495, Diego Escalante Urrelo)
7471 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
7472 the im context if we actually handle the key event.
7474 * gtk/gtkentrycompletion.c: Also propagate key release events
7477 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7479 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
7480 Fix a typo. (#359052, Ghee Teo)
7482 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
7483 reduce relocations. (#359053)
7485 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7487 * modules/printbackends/cups/gtkcupsutils.c:
7488 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
7489 the fix for bug 357280.
7491 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7493 * gdk-pixbuf/Makefile.am:
7496 Include pltcheck.sh in EXTRA_DIST.
7498 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7500 * gdk/x11/gdkevents-x11.c: Move all includes before including
7503 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7505 * gtk/Makefile.am: Fix typo in file name. (#358931)
7507 2006-10-02 Matthias Clasen <mclasen@redhat.com>
7509 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
7510 Only use the group name field if cups is new enough. (#357280)
7512 * gtk/gtksizegroup.c: Make sure that the quarks are
7513 initialized before using them. (#353736)
7515 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
7516 replace existing links. (#354849, James Evans)
7518 2006-10-01 Matthias Clasen <mclasen@redhat.com>
7520 * gtk/gtkexpander.c (gtk_expander_realize)
7521 (gtk_expander_size_allocate): Make the event_window large
7522 enough to cover the full height of the label_widget. (#358351,
7525 2006-10-01 Tor Lillqvist <tml@novell.com>
7527 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
7529 2006-09-30 Matthias Clasen <mclasen@redhat.com>
7531 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
7532 against base_path being NULL. (#358405, many reporters)
7534 2006-09-29 Matthias Clasen <mclasen@redhat.com>
7536 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
7537 to avoid a deadlock.
7539 2006-09-27 Kristian Rietveld <kris@imendio.com>
7541 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
7542 (gtk_tree_model_filter_ref_node),
7543 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
7544 in sync with each other and the sort model.
7546 2006-09-27 Kristian Rietveld <kris@imendio.com>
7548 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
7549 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
7550 (gtk_tree_model_filter_new): unref the virtual root path once that
7551 node (or one if its ancestors) is deleted, set virtual_root_deleted
7552 so we only unref it once.
7554 2006-09-27 Kristian Rietveld <kris@imendio.com>
7556 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
7557 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
7558 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
7559 (gtk_tree_model_sort_free_level): bring zero ref count loops in
7561 (gtk_tree_model_sort_free_level): free child levels before
7562 decreasing the zero ref count of the current level,
7563 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
7566 2006-09-25 Matthias Clasen <mclasen@redhat.com>
7568 * demos/gtk-demo/*.c:
7569 * gtk/gtkeventbox.c:
7570 * gtk/gtkprintoperation.c: Fix typos. String change.
7572 2006-09-25 Kristian Rietveld <kris@gtk.org>
7574 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
7575 has already been realized; scroll to background area instead of
7576 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
7578 2006-09-25 Kristian Rietveld <kris@gtk.org>
7580 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
7581 to create the GCs if the widget is realized. (Fixes #357578).
7583 2006-09-25 Matthias Clasen <mclasen@redhat.com>
7585 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
7586 the list of children (#357454, Paolo Borelli)
7588 2006-09-25 Michael Natterer <mitch@imendio.com>
7590 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
7591 display->input_windows with g_free(), not g_object_unref()
7592 (#357566, Tommi Komulainen).
7594 2006-09-24 Kristian Rietveld <kris@gtk.org>
7596 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
7597 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
7598 property to the API (left-over patch from #157439).
7600 2006-09-24 Kristian Rietveld <kris@gtk.org>
7602 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
7603 the indicator if the column has a sort column id (and the model is
7604 sortable) or if the user explicitly requested the indicator
7605 to be shown. (Fixes #352738, Chris Vine).
7607 2006-09-23 Tor Lillqvist <tml@novell.com>
7609 * gtk/Makefile.am: Use EXEEXT.
7611 2006-09-22 Michael Natterer <mitch@imendio.com>
7613 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
7614 and color hashes. Fixes bug #357132.
7616 2006-09-22 Matthias Clasen <mclasen@redhat.com>
7618 Make remote bookmarks work better (#354887)
7620 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
7621 (shortcuts_insert_path):
7622 * gtk/gtkfilechooserbutton.c (change_icon_theme):
7623 (model_add_bookmarks):
7624 (model_update_current_folder):
7625 (update_label_and_image):
7626 If the bookmark points to a remote file, don't call get_info(),
7627 since that may a) take a long time and b) pop up an auth dialog.
7628 Instead, just use a folder icon and create a display name
7631 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
7632 New function to create a suitable display name for a remote
7633 uri. This should really be done in GtkFileSystem.
7635 2006-09-21 Michael Natterer <mitch@imendio.com>
7637 Implement lots of value setters for GdkGC, based on a heavily
7638 modified patch from Thomas Broyer (bug #328853):
7640 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
7641 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
7642 which simply returns RGBA values from a GdkColor's pixel value.
7643 See gdk_quartz_update_context_from_gc() below.
7645 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
7646 of members for the newly suppored GC values. Added enum
7647 GdkQuartzContextValuesMask which is used for setting up the
7648 CGContext for filling and/or stroking.
7650 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
7651 (gdk_quartz_gc_set_values)
7652 (_gdk_windowing_gc_copy): support a lot more GC values.
7654 (gdk_quartz_update_context_from_gc): added
7655 GdkQuartzContextValuesMask parameter and set filling/stroking
7656 parameters accordingly. This function also gained full control
7657 over the FG and BG colors (they can't be set separately any more).
7659 The stipple mask part of the patch doesn't work but seems to take
7660 the right approach and doesn't make things worse, so I applied it.
7662 Did *not* apply the clipping part of the patch since I don't
7663 understand it (I don't understand the version in CVS either, but
7664 it at least works :-)
7666 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
7667 gdk_quartz_update_context_from_gc() and removed separate color
7668 setting calls. Some minor fixes.
7670 * gdk/quartz/gdkwindow-quartz.c
7671 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
7672 fill color manually. We don't have/need a GC here.
7674 2006-09-21 Michael Natterer <mitch@imendio.com>
7676 * gdk/quartz/gdkwindow-quartz.c
7677 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
7678 drawable_impl->wrapper that is the GdkWindow, not the
7679 drawable_impl itself.
7681 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
7683 * gdk/x11/gdkkeys-x11.c:
7684 (get_direction): just check the first shift-level of keyboard
7685 layout for RTL and LTR keysyms() (compliment to #116626)
7687 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
7689 * gtk/gtkviewport.c: always update the bin_window position and size
7690 in size_allocate, even if we don't have a visible child. this fixes
7691 expose artefacts as described in #313508.
7693 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
7694 have no visible child explicit.
7696 2006-09-19 Ryan Lortie <desrt@desrt.ca>
7698 * docs/reference/gdk/gdk-sections.txt:
7701 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
7702 (gdk_pango_layout_get_clip_region): Remove an unused variable.
7703 (gdk_pango_attr_embossed_new): Fix documentation.
7705 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
7707 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
7708 control the arrow/border ratio within the allocation.
7710 * tests/testgtk.c: added a GtkArrow to handle box test.
7712 * tests/testgtkrc: test ::arrow-scaling property.
7714 2006-09-19 Matthias Clasen <mclasen@redhat.com>
7716 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7717 Display an error when we come to the root.
7719 2006-09-16 Matthias Clasen <mclasen@redhat.com>
7721 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
7724 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
7725 bookmarks to the model in local-only mode, to avoid
7726 authentication dialogs pop up for invisible bookmarks, and
7727 to fix issues with separators not being hidden when
7728 they should. (#354887, Dennis Cranston)
7730 2006-09-16 Matthias Clasen <mclasen@redhat.com>
7732 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
7733 treeview use in list mode. (#355732, Richard Hult)
7735 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
7736 change notification for the right property. (#355308,
7739 2006-09-15 Michael Natterer <mitch@imendio.com>
7741 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
7742 header navigation/resizing/reordering to be more readable and lose
7743 one level of nesting.
7745 2006-09-15 Kristian Rietveld <kris@imendio.com>
7747 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
7748 return after handling column button focus; we disable wrap around
7749 with this (which actually happened via a really weird code path).
7752 2006-09-15 Kristian Rietveld <kris@imendio.com>
7754 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
7755 code RTL aware, also break from the loops after we have seen the
7756 focussed column button (Michael Natterer).
7758 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
7760 * tests/testrichtext.c (main): intialize random number generator state
7761 upon program start, to enable truely random testing.
7763 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
7765 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
7766 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
7767 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
7768 GDK_DISABLE_DEPRECATED to allow compile per Behdad
7769 * gdk/quartz/Makefile.am same change as directfb Makefile
7770 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
7772 2006-09-13 Matthias Clasen <mclasen@redhat.com>
7774 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
7775 for the grab widget, to make the color picker work with window
7778 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
7780 signed off by: Dom Lachowicz
7782 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
7783 a large number of improvements to the Microsoft Windows theme engine
7784 which are fully described in the bug report.
7786 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
7788 * tests/testgtk.c: fixed compiler warnings.
7790 2006-09-10 Matthias Clasen <mclasen@redhat.com>
7792 * gtk/gtkfilechooserbutton.c (model_add_special): Request
7793 the display name too, otherwise "Desktop" does not appear
7794 in the file chooser button.
7796 2006-09-10 Tor Lillqvist <tml@novell.com>
7798 * gdk/win32/gdkprivate-win32.h
7799 * gdk/win32/gdkmain-win32.c
7800 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
7801 0x0500 in gdkprivate-win32.h instead of doing it in two source
7802 files. (#355212, Mike Edenfield)
7804 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
7805 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
7807 2006-09-10 Matthias Clasen <mclasen@redhat.com>
7809 * Commit a patch by Behdad to fix typos, omissions and other
7810 errors in the symbol aliasing, and add checks for local PLT
7811 entries. (#354687, Behdad Esfahbod)
7813 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
7814 the flush timeout. (#354043, Nelson Benitez)
7816 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
7817 Improve wording. String change! (#355126, David Lodge)
7819 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
7822 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
7825 2006-09-09 Matthias Clasen <mclasen@redhat.com>
7827 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
7828 (#353916, Chris Wilson)
7830 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
7831 Don't leak the to_reset list. (#353914, Chris Wilson)
7833 * gtk/gtkwidget.c: Add docs for the parent-set signal.
7834 (#353772, Mariano Suárez-Alvarez)
7836 2006-09-08 Matthias Clasen <mclasen@redhat.com>
7838 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
7839 Don't clear clipboards here, since we are called from finalize
7840 and can't emit signals.
7842 * configure.in: Set version to 2.11.0
7844 2006-09-06 Richard Hult <richard@imendio.com>
7846 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
7847 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
7849 2006-09-04 Kristian Rietveld <kris@imendio.com>
7851 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7852 if setting the given folder failed, try setting the parent folder
7853 until we succeed; display an error box at the end.
7855 2006-09-04 Kristian Rietveld <kris@imendio.com>
7857 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
7858 operations spawned by buttons here,
7859 (set_button_image_get_info_cb): bail out if button is NULL, but
7860 do free button_data,
7861 (button_data_free): only free the data if non NULL (since this
7862 function can be called multiple times for the same data), cancel
7863 handle if pending but don't free button_data in this case (will
7864 happen in the callback).
7866 2006-09-04 Michael Natterer <mitch@imendio.com>
7868 * gtk/gtkrc.c (rc_parse_token_or_compound)
7869 (gtk_rc_parse_assignment): serialize floating point values using
7870 locale-independent functions. (#346751, Frederic Crozat)
7872 2006-09-04 Tor Lillqvist <tml@novell.com>
7874 * gdk/win32/gdkevents-win32.c
7875 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
7876 window handling (PeekMessage, PostMessage, SendMessage,
7877 DispatchMessage, DefWindowProc, RegisterClassEx,
7878 CreateWindowEx). (#321597)
7880 2006-09-03 Kristian Rietveld <kris@imendio.com>
7882 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
7883 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
7884 change file_exists_and_is_not_folder checks to get the file info
7885 for the path directly instead of querying the current file folder
7888 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
7891 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
7892 (test_reload_sequence), (test_button_folder_states_for_action): wait
7893 for idle after setting a folder to ensure the async operations to load
7894 the folder are finished,
7895 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
7896 factor out test_confirm_overwrite code so we can add tests for more
7899 2006-09-03 Richard Hult <richard@imendio.com>
7901 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
7902 exposure isn't in the event mask, plug a leak, and check that the
7903 window isn't destroyed.
7904 (isOpaque): Check that the window isn't destroyed, fixes bug
7907 2006-09-03 Matthias Clasen <mclasen@redhat.com>
7909 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
7910 (#354035, Mariano Suárez-Alvarez)
7912 * gtk/gtkmain.c (post_parse_hook):
7913 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
7914 (#354004, Chris Wilson)
7916 2006-09-03 Tor Lillqvist <tml@novell.com>
7918 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
7919 GDK_WINDOW_DISPLAY in the Win32 backend.
7921 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
7924 2006-09-02 Kristian Rietveld <kris@imendio.com>
7926 First part of file chooser fixes.
7928 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
7929 handle in the model for the desktopdir case.
7931 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
7932 volume in case we retrieved it but don't pass it on to insert_path,
7933 (shortcuts_model_create): change the column type for the handles
7934 to pointer instead of GObject so our handle ref counting is not
7936 (show_and_select_paths_finished_loading): don't forget to unref
7939 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
7940 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
7941 remove pending execute_callbacks_idle during dispose, also
7942 execute all callbacks waiting to be run in the next idle,
7943 (queue_*callback), (execute_callbacks_idle): refactor to maintain
7944 a list of callbacks to call per file system instead of globally,
7945 guard the file system during callback invocation,
7946 (gtk_file_system_unix_get_folder): only add load folder idle if
7947 none has been added yet.
7949 2006-09-01 Matthias Clasen <mclasen@redhat.com>
7951 * gtk/gtkentry.c: Don't unnecessarily reset the im context
7952 when deleting the selection. (#353803, Alex Larsson)
7954 2006-09-01 Abel Cheung <abel@oaka.org>
7956 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
7958 2006-08-31 Matthias Clasen <mclasen@redhat.com>
7960 Stop cursor blinking after a configurable timeout.
7961 (#353670, #352442, Arjan van de Ven, Manu Cornet)
7963 * gtk/gtksettings.c (gtk_settings_class_init): Add a
7964 gtk-cursor-blink-timeout setting, which specifies the number
7965 of seconds that the cursor should blink after a user interaction.
7966 The default value is G_MAXINT to preserve the current behaviour.
7968 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
7971 * gtk/gtkentry.c (gtk_entry_completion_key_press)
7972 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
7975 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
7978 * gtk/gtktextview.c (gtk_text_view_key_press_event)
7979 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
7980 Reset the blink timer.
7982 2006-08-31 Matthias Clasen <mclasen@redhat.com>
7984 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
7985 explicit format capabilities. (#346505, Christian Persch)
7987 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
7989 2006-08-31 Michael Natterer <mitch@imendio.com>
7991 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
7993 2006-08-30 Richard Hult <richard@imendio.com>
7995 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
7997 2006-08-30 Matthias Clasen <mclasen@redhat.com>
7999 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
8000 for beeping if we are using XKB.
8002 2006-08-29 Matthias Clasen <mclasen@redhat.com>
8006 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
8007 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
8008 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
8009 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
8010 to beep on a window. For X11, implement this with
8011 XkbBell. (#353455, Mariano Suárez-Alvarez)
8013 2006-08-29 Tor Lillqvist <tml@novell.com>
8015 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
8016 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
8017 it isn't being maintained anyway. If somebody is interested, it
8018 can always be found in older GTK+ versions, and in CVS.
8023 * gdk/win32/Makefile.am
8024 * gdk/win32/libie55uid.la
8025 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
8026 switch and associated stuff. Active IMM and the <dimm.h> header
8027 was used for IM support on NT4 and Win9x. Win2k and later have IM
8030 * gdk/win32/gdkcursor-win32.c
8031 * gdk/win32/gdkdnd-win32.c
8032 * gdk/win32/gdkdrawable-win32.c
8033 * gdk/win32/gdkevents-win32.c
8034 * gdk/win32/gdkgc-win32.c
8035 * gdk/win32/gdkglobals-win32.c
8036 * gdk/win32/gdkkeys-win32.c
8037 * gdk/win32/gdkmain-win32.c
8038 * gdk/win32/gdkproperty-win32.c
8039 * gdk/win32/gdkselection-win32.c
8040 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
8041 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
8042 branches, and any variables or static functions used only by the
8045 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
8046 constants that aren't missing from current mingw and MSVC6
8049 * gdk/win32/gdkmain-win32.c
8050 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
8051 function. On NT-based Windows GetLastError() returns error codes
8052 also for failed GDI calls, so we can use _gdk_win32_api_failed()
8055 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
8057 * gtk/gtkrecentchoosermenu.c
8058 (gtk_recent_chooser_menu_set_current_uri): Break when an item
8059 is found and activated. (#353449, based on a patch by Jan Arne
8062 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
8064 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
8065 properties which make all hardcoded padding and spacing values
8066 configurable. properly swap ::text-xalign treatment for RTL widgets.
8068 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
8069 proeprty more consistent with GtkMisc alignment blurbs. mention
8070 RTL treatment for text-xalign.
8072 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
8074 * tests/testgtk.c: allow (most) windows to be resizable.
8075 added ellipsization settings to progress bars.
8077 2006-08-28 Matthias Clasen <mclasen@redhat.com>
8079 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
8080 resonable timeout of 3 seconds when polling for printer
8081 list updates, instead of 300000 seconds...
8083 2006-08-28 Michael Natterer <mitch@imendio.com>
8085 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
8086 </apply_tag> for tags that have already been closed by the logic
8087 which turns overlapping spans into XML-able trees. Fixes broken
8088 XML when there are overlapping tags in the buffer. Also free two
8089 leaked GLists and did some cleanup.
8092 * tests/testrichtext.c: new test which creates randomly tagged
8093 GtkTextBuffers and serializes/deserializes them.
8095 2006-08-26 Matthias Clasen <mclasen@redhat.com>
8097 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
8098 Don't leak pixbufs. (#352264, Ross Burton)
8100 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
8101 PangoAttributes. (#352391, Paolo Borelli)
8103 2006-08-25 Matthias Clasen <mclasen@redhat.com>
8105 * demos/gtk-demo/Makefile.am:
8106 * demos/gtk-demo/textscroll.c: Add an example of automatic
8107 scrolling, thanks to Yevgen Muntyan. (#351206)
8109 * gtk/gtkmodules.c (find_module): Use local binding when
8110 loading modules. (#351868)
8112 2006-08-24 Michael Natterer <mitch@imendio.com>
8114 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
8115 the hostname instead of NULL.
8117 2006-08-23 Matthias Clasen <mclasen@redhat.com>
8119 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
8120 names and values in comboboxes, and clean up some
8121 coding style issues.
8123 2006-08-23 Tor Lillqvist <tml@novell.com>
8125 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
8126 Revert unintended translatable string addition. Use same string
8127 in GError as in gtkfilesystemunix.c.
8129 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
8130 Fix logic at the end of strings.
8132 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
8133 handles and check that we have no outstanding handles at
8134 finalization time. (Copying what Matthias did for
8135 gtkfilesystemunix.c)
8137 2006-08-23 Matthias Clasen <mclasen@redhat.com>
8139 * gtk/gtkfilesystemunix.c: Maintain a hash table
8140 of live handles and check that we have no outstanding
8141 handles at finalization time. (Copying what
8142 Federico did for gtkfilesystemgnomevfs.c)
8144 2007-08-22 Matthias Clasen <mclasen@redhat.com>