1 2008-05-05 Matthias Clasen <mclasen@redhat.com>
3 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
4 more printer status information in the print dialog.
6 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
7 printer-state-reasons into suitable messages and icons.
9 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
10 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
11 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
13 * gtk/gtkiconfactory.c:
14 * gtk/gtkstock.h: New stock icons to display printer state.
16 2008-05-07 Michael Natterer <mitch@imendio.com>
20 * gdk/directfb/gdkevents-directfb.c
21 * gdk/quartz/gdkevents-quartz.c
22 * gdk/win32/gdkevents-win32.c
23 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
24 order parameters src,dest and make src const.
26 2008-05-06 Richard Hult <richard@imendio.com>
28 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
29 * gdk/gdkinternals.h: Add private backend data to events, and
30 handle it when copying/freeing events. Currently only needed in
33 * gdk/directfb/gdkevents-directfb.c:
34 * gdk/quartz/gdkevents-quartz.c:
35 * gdk/win32/gdkevents-win32.c:
36 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
37 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
38 directfb. Implement for quartz. Part of fixing bug #473822.
40 2008-05-05 Richard Hult <richard@imendio.com>
42 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
43 framework if there is one.
45 2008-05-05 Michael Natterer <mitch@imendio.com>
47 * gtk/gtkcellrenderercombo.h
48 * gtk/gtkcellrendererspin.h
49 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
52 * gtk/gtkfilechooserdialog.h
53 * gtk/gtkfilechooserwidget.h
54 * gtk/gtkscalebutton.h: reorder instance and class structs to be
57 2008-05-04 Richard Hult <richard@imendio.com>
59 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
60 gdk_unicode_to_keyval() worked before using the result. Makes
61 function keys work, bug #530156. Also add F16 to the function key
64 2008-05-04 Richard Hult <richard@imendio.com>
66 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
67 semicolon after if statement. Fixes bug #530963, patch from Yevgen
70 2008-05-02 Michael Natterer <mitch@imendio.com>
72 * gtk/gtk.h: add 15 files that were missing (they all got included
73 indirectly by including gtk.h, so should have been here in the
76 2008-05-02 Michael Natterer <mitch@imendio.com>
78 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
80 2008-05-01 Richard Hult <richard@imendio.com>
82 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
83 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
85 2008-05-01 Matthias Clasen <mclasen@redhat.com>
87 * modules/imput/imthai.c: Register the right translation domain.
89 2008-04-30 Matthias Clasen <mclasen@redhat.com>
91 Bug 529386 – Printing options hidden by blacklisted option
93 * modules/printbackend/cups/gtkprintbackendcups.c
94 (cups_printer_get_options): Fix the blacklist handling.
97 2008-04-30 Richard Hult <richard@imendio.com>
99 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
102 2008-04-30 Richard Hult <richard@imendio.com>
104 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
105 nsevents with the gdk lock held, fixes deadlock when doing manual
106 window resizing with threading enabled.
108 2008-04-30 Richard Hult <richard@imendio.com>
110 * gdk/quartz/gdkevents-quartz.c:
111 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
112 Alt to Alt and Cmd to Meta. This is not only more logical but also
113 makes it easier to have Mac-like behavior.
115 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
117 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
118 painting the flat box instead of recalculating it. (#437493,
121 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
123 Bug 529841 – incorrect position in directfb
125 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
127 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
129 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
131 2008-04-25 Michael Natterer <mitch@imendio.com>
133 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
134 <pango/pango-layout.h>.
136 * gtk/gtkiconfactory.c
140 * gtk/queryimmodules.c: remove inclusion of single files from
141 pango, none of them was actually needed.
143 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
144 <pango/pango-utils.h>.
146 2008-04-25 Michael Natterer <mitch@imendio.com>
148 * gdk/gdkfont.h: include <pango/pango.h> instead of
149 <pango/pango-font.h>.
151 2008-04-25 Michael Natterer <mitch@imendio.com>
153 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
156 2008-04-21 Michael Natterer <mitch@imendio.com>
158 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
159 crashing when NULL pointers get passed.
161 2008-04-18 Michael Natterer <mitch@imendio.com>
163 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
164 here have the same style.
166 2008-04-18 Michael Natterer <mitch@imendio.com>
169 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
172 * gtk/gtkbuilderparser.c
173 * gtk/gtklinkbutton.c
175 * gtk/gtkrecentchooserdefault.c
176 * gtk/gtkrecentchoosermenu.c
177 * modules/input/gtkimcontextthai.c: remove inclusion of single
178 files from gdk, none of the includes was actually needed.
180 2008-04-18 Michael Natterer <mitch@imendio.com>
182 * gdk/gdk.h: reorder one include so they are all alphabetical.
184 2008-04-18 Michael Natterer <mitch@imendio.com>
186 * modules/printbackends/cups/gtkprintercups.[ch]
187 (gtk_printer_cups_get_ppd_name): change return value and local
188 variable to const gchar* to fix warning about discarding const
191 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
193 * gtk/gtkrecentmanager.c:
194 (gtk_recent_manager_set_filename): Keep the default storage
195 file in $HOME, as we don't have a migration code in place yet.
197 2008-04-18 Michael Natterer <mitch@imendio.com>
199 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
200 g_strfreev() the uris returned by g_bookmark_file_get_uris().
202 2008-04-17 Michael Natterer <mitch@imendio.com>
204 * gtk/gtkiconfactory.c (get_default_icons): register the
205 GTK_STOCK_PAGE_SETUP icon.
207 2008-04-17 Michael Natterer <mitch@imendio.com>
209 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
210 g_return_if_fail(tooltips != NULL);
212 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
214 * gtk/gtkwindow.c: Chain up in buildable_finish()
216 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
217 cases where g_path_get_dirname() returns "."
219 * docs/reference/gtk/tmpl/gtklabel.sgml,
220 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
221 for the <attributes> tags on GtkLabel
223 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
225 * gtk/gtkrecentmanager.c:
226 (gtk_recent_manager_real_changed): Fix last commit, and
227 complete the gtk-recent-files-max-age semantics: if the
228 property is set to 0 then purge the list.
230 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
232 Bug 488507 – boundless growth of .recently-used.xbel file
233 slows down applications
235 * gtk/gtkrecentmanager.c:
236 (gtk_recent_manager_init),
237 (gtk_recent_manager_real_changed),
238 (gtk_recent_manager_set_filename),
239 (gtk_recent_manager_clamp_to_age): Clamp the recently
240 used resources list by the age of its items, using
241 the newly added GtkSettings property.
243 * gtk/gtksettings.c (gtk_settings_class_init): Add the
244 gtk-recent-files-max-age property, controlling the
245 maximum age of the items in the recently used resources
248 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
250 * gtk/gtkrecentmanager.c:
251 (gtk_recent_manager_add_item_query_info),
252 (gtk_recent_manager_add_item): Emit the ::changed signal
253 at the end of the asynchronous MIME type query.
255 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
257 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
260 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
261 changes in the recently used resources storage file, and
262 drop the timeout-based poll.
264 * ChangeLog: Fix attribution of the patch of the previous
267 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
269 Bug 506062 – gtk_recent_manager_add_item does not detect mime
272 * configure.in: Depend on gio-2.0
274 * gtk/gtkrecentmanager.c:
275 (gtk_recent_manager_add_item_query_info_cb),
276 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
277 query the MIME type of the passed URI (based on a patch by
280 2008-04-11 Carlos Garnacho <carlos@imendio.com>
282 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
283 page to visited page list instead of next current page. (#527466,
284 patch by Marcus Brinkmann)
286 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
288 * gtk/gtklabel.c: Added <attributes> / <attribute>
289 custom tags to parse pango attributes into labels.
291 * tests/buildertest.c: Added tests for GtkLabel custom
294 2008-04-10 Carlos Garnacho <carlos@imendio.com>
296 * gtk/gtknotebook.c (hide_drag_window): Do not call
297 gtk_widget_set_parent_window(), using widget->window instead of NULL
298 to unset is the wrong thing, and gtk_widget_unparent() will already
299 take care of this (#467698, patch by Sébastien Granjoux)
301 2008-04-08 Tor Lillqvist <tml@novell.com>
303 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
304 these functions with G_MODULE_EXPORT.
306 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
308 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
309 (gtk_file_system_volume_render_icon):
310 Fix fallback icon rendering size
312 2008-04-08 Michael Natterer <mitch@imendio.com>
314 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
315 touchscreen-mode keynav corner case: when navigating to the parent
316 menu, make sure we don't close two menus at the same time in case
317 the deepest open menu has no selectable items.
319 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
321 * gtk/gtkwidget.c: Clarified a g_warning message regarding
322 parsing accelerators from builder files.
324 2008-04-03 Cody Russell <bratsche@gnome.org>
326 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
327 of the block. (#526021, reported by Kazuki IWAMOTO)
329 2008-04-03 Tor Lillqvist <tml@novell.com>
331 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
334 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
335 workaround for a specific kind of screwed up locale setting.
337 2008-04-02 Matthias Clasen <mclasen@redhat.com>
339 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
340 colormaps. Found by Daniel Berrange.
342 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
344 * tests/autotestfilechooser.c: Cover
345 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
346 name. (#346058, Joe Halliwell)
348 2008-04-02 Federico Mena Quintero <federico@novell.com>
350 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
351 chooser incorrectly substitutes and expands a ~ when you type it
352 in the filename entry.
354 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
355 basenames result in a slash-terminated pathname.
356 gtk_file_system_unix_parse() is correct, but it was splitting
357 "/home/username" into path="/home" and file_part="username", which
358 is not what the caller wants when the entry has just "~" or
361 2008-04-02 Tor Lillqvist <tml@novell.com>
363 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
364 and gtksearchenginetracker.c on Windows.
366 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
369 2008-04-01 Cody Russell <bratsche@gnome.org>
371 * configure.in: Bump required Cairo to 1.5.2.
373 * gtk/gtkprintoperation-win32.c: Add support for using the new
374 cairo_win32_printing_surface for printing. Also fixed to use
375 cairo_surface_show_page(). (#488833 and #521178)
377 2008-03-31 Cody Russell <bratsche@gnome.org>
379 * demos/gtk-demo/printing.c (draw_page): Move down each line in
380 units of text_height rather than in units of data->font_size.
381 (totally awesome catch by Dom Lachowicz)
383 2008-03-28 Richard Hult <richard@imendio.com>
385 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
386 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
387 event to the mainloop and don't generate one at all if the
388 toplevel didn't change. Use the actual window and not the toplevel
389 as event window. These changes make the generated crossing events
390 match the X11 behavior and fixes issues with e.g. tooltips,
391 comboboxes and menus.
393 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
394 the view has no window, it will be updated as soon as it's put
397 * gdk/quartz/gdkwindow-quartz.c:
398 (_gdk_quartz_window_debug_highlight): Make it possible to track
399 multiple windows with debug highlighting.
400 (show_window_internal): Remove workaround for tooltips and popups
401 that is no longer needed with the above changes.
403 2008-03-26 Federico Mena Quintero <federico@novell.com>
405 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
406 helper function; factored out from the functions that commit the
407 current suggested autocompletion and that refresh the entry's paths.
408 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
409 (_gtk_file_chooser_entry_get_file_part): Likewise.
410 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
411 makes the entry have the correct paths when *not* using any form
412 of completion (and makes the file chooser work when clicking the
415 2008-03-25 Richard Hult <richard@imendio.com>
417 * gdk/quartz/gdkevents-quartz.c:
418 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
419 can't find a matching window.
421 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
422 comment, and only trigger an event for non-temp windows, fixes
423 problems for tooltips caused by the workarounds for the
424 problematic tracking rect API.
426 2008-03-25 Richard Hult <richard@imendio.com>
428 * gdk/quartz/gdkwindow-quartz.c:
429 (gdk_window_quartz_process_all_updates): Plug a leak and add a
430 check that we have a toplevel before accessing it.
432 2008-03-24 Tor Lillqvist <tml@novell.com>
434 Bug 524151 - Dragging of 0-byte files results in an empty filename
435 on Windows XP and above
437 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
438 being empty first. For some reason ISHellLink and IPersistFile
439 succeeds in interpreting empty files as shortcuts, claiming the
440 target of the shortcut is an empty path.
442 Change the function to take the wide character file name that the
443 caller already has anyway, to avoid a superfluous conversion from
446 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
448 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
449 against NULL pointer. (#467051, Gian Mario Tagliaretti)
451 2008-03-23 Cody Russell <bratsche@gnome.org>
453 * gdk/win32/gdkevents-win32.c (show_window_recurse):
454 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
455 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
456 menus from a maximized window would force the window to restore
459 2008-03-23 Johan Dahlin <johan@gnome.org>
461 * gtk/gtk-builder-convert:
462 Properly convert GtkImageMenuItems which use stock labels but don't
464 (#523932, Brian Pepple)
466 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
468 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
469 New function implements GtkCellLayoutClass::get_cells. (#523787)
471 2008-03-22 Tor Lillqvist <tml@novell.com>
473 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
475 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
476 GDK_THREADS_LEAVE() call. Approved by mclasen.
478 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
480 * gtk/gtkexpander.c (gtk_expander_get_label):
481 gtk_label_get_label() should be used instead of
482 gtk_label_get_text(). (#353088, Xan Lopez)
484 2008-03-21 Tor Lillqvist <tml@novell.com>
486 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
487 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
488 gdip-pixbuf-loader module.
490 * configure.in: Add switch --disable-gdiplus-loaders that disables
491 building of the GDI+ loaders.
493 When including loaders in the gdk-pixbuf library, and building
494 GDI+ loaders, either build in all the GDI+ loaders or none of
495 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
496 signal building them in.
498 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
499 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
500 indicate whether they should be built-in.
502 For the rest of the changes, see gdk-pixbuf/ChangeLog.
504 2008-03-20 Tor Lillqvist <tml@novell.com>
506 * gtk/Makefile.am: Revert accidental change that went in as part
507 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
508 Darwin. On Windows one has to use a newer GNU grep that has -o,
509 for instance the one from gnuwin32, instead of the oldish one in
510 MSYS that doesn't have -o.
512 2008-03-20 Tor Lillqvist <tml@novell.com>
514 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
515 pass NULL for %s to g_message().
516 (main): Drop unnecessary call to gtk_widget_destroy().
518 2008-03-20 Tor Lillqvist <tml@novell.com>
520 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
522 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
523 in one dimension, or centered in case it doesn't fit.
524 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
527 2008-03-18 Tor Lillqvist <tml@novell.com>
529 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
531 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
532 G_MODULE_ENTRY decoration can be put in a more correct place.
534 2008-03-18 Sven Neumann <sven@gimp.org>
536 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
537 alternative button order on the password dialog.
539 2008-03-18 Tor Lillqvist <tml@novell.com>
541 Bug 99192 - Add --with-include-input-modules
543 * configure.in: Add --with-included-immodules switch. Handled in a
544 similar way as the --with-included-loaders switch. For each input
545 method module foo: Collect the list of input modules to be built
546 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
547 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
548 Define Automake conditionals INCLUDE_IM_FOO.
550 * modules/input/Makefile.am: For modules to be included in libgtk,
551 build a static library.
553 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
554 gdk-pixbuf to get unique names for the functions called by libgtk
555 in the included case. Use G_MODULE_EXPORT in the non-included case
556 so that we don't unnecessarily export unneeded random global
559 * gtk/Makefile.am: Build the included modules and link them into libgtk.
561 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
562 copy/paste leftover mentions of "themes" in comments.
564 2008-03-18 Tor Lillqvist <tml@novell.com>
566 * tests/Makefile.am: Build testmountoperation only on Unix for now.
568 2008-03-17 Christian Kellner <gicmo@gnome.org>
570 Implement GtkMountOperation, a subclass of GMountOperation
571 to be used with gio wherever there is the need to ask the
572 user for credentials or questions while mounting a volume.
575 * gtk/gtkmountoperation.c:
576 * gtk/gtkmountoperation.h:
577 Implement GtkMountOperation.
579 * gtk/gtk.h: Add gtkmountoperation.h
580 * gtk/Makefile.am: Add gtkmountoperation.[hc]
581 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
582 * tests/testmountoperation.c: Test program for it.
583 * tests/Makefile.am: Add testmountoperation.
585 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
587 * gtk/gtkcontainer.c: Properly document
588 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
590 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
592 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
593 style names for the ComboBox thickness style
595 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
597 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
598 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
599 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
600 intelligent separation for the xp theming engine and the classic
601 theme while drawing the GtkComboBox button. combobox_draw_arrow
602 is not used anymore, commented. The style has been updated to fix
603 border/thickness glitches in the combobox according to the fixes
604 commited regarding bug #521442. (bug #461805)
606 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
608 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
609 now aware of both the combobox and frame (if has-frame is set)
610 thickness and border. (bug #521442)
612 2008-03-15 Andre Klapper <a9016009@gmx.de>
614 * configure.in: Added "si" to ALL_LINGUAS.
616 2008-03-15 Matthias Clasen <mclasen@redhat.com>
618 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
619 Set window type hint on the search popup. (#522279, Danny Baumann)
621 2008-03-15 Matthias Clasen <mclasen@redhat.com>
623 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
624 appropriate. (#521934, Huang Peng)
626 2008-03-14 Michael Natterer <mitch@imendio.com>
629 * gtk/gtkbuilderprivate.h
630 * gtk/gtkfilechoosersettings.c
631 * gtk/gtksearchenginesimple.c
632 * gtk/tests/liststore.c
633 * gtk/tests/treestore.c: remove single-file includes of GLib
634 headers or replace them by <glib.h> where needed.
636 2008-03-14 Michael Natterer <mitch@imendio.com>
638 * gtk/gtkadjustment.c: coding style cleanup.
640 (gtk_adjustment_set_property): no need to call g_object_notify()
641 on the set properties.
643 Implement GObject::dispatch_properties_changed() and make sure we
644 emit "changed" when anything but the "value" property changes.
646 2008-03-14 Tor Lillqvist <tml@novell.com>
648 * gdk/win32/gdkevents-win32.c: Drop the support for the
649 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
650 Win95. Thanks to mitch for noticing this obsolete code.
652 2008-03-14 Cody Russell <bratsche@gnome.org>
654 * examples/scribble-xinput/scribble-xinput.c: Changed
655 'void int main()' to 'int main()'. (#522211, Liqing Huang)
657 2008-03-14 Richard Hult <richard@imendio.com>
659 * gdk/quartz/gdkwindow-quartz.c:
660 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
661 only flush the toplevel once per update.
663 2008-03-13 Federico Mena Quintero <federico@novell.com>
665 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
666 Set the mouse cursor of the feedback window to invisible, so that
667 we respect GtkEntry's invisible cursor while typing.
669 2008-03-13 Federico Mena Quintero <federico@novell.com>
671 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
672 the feedback window at entry_height/2 pixels to the right of the
673 cursor, for a cheap "M-width / 2" spacing.
675 2008-03-13 Sven Neumann <sven@gimp.org>
677 * gtk/gtkfilechooserdefault.c
678 * gtk/gtkprintunixdialog.c: set alternative button order for
679 overwrite confirmation dialogs (bug #522191).
681 2008-03-13 Sven Neumann <sven@gimp.org>
683 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
684 (overwrite_confirmation_dialog): added some line-breaks for
687 2008-03-12 Federico Mena Quintero <federico@novell.com>
689 Rework the way completion works in GtkFileChooserEntry. Fixes
690 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
691 Tab completion should work even if the cursor is not at the end of
694 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
697 We distinguish between two cases:
699 - autocompletion - happens only in the Open modes by
700 inserting and selecting the common prefix as you type.
702 - explicit completion - happens when you hit Tab.
704 When some type of completion needs to happen, the entry first
705 parses its input and sees if it needs to initiate a folder load.
706 Completion will not happen until the folder finishes loading.
708 If the folder is already completely loaded, then completion is
709 performed immediately. Otherwise, the entry queues a pending
710 completion and starts loading the new folder (or waits until the
711 current folder is completely loaded).
713 Tab completion is allowed to happen even if the cursor is not at
714 the end of the entry.
716 There is a new feedback mechanism for explicit completion, so that
717 you will get an Emacs-like tip whenever there are ambiguities in
718 completion, no matches, etc. (This needs to be polished so that
719 we support RTL entries and all the fancy Pango layout in GtkEntry).
721 The only remaining thing to fix is the popup suggestion window.
722 Unfortunately, GtkEntryCompletion does not let us do what we want,
723 and will need further changes.
725 2008-03-12 Tor Lillqvist <tml@novell.com>
727 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
729 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
730 for the TaskbarCreated message in the window procedure for the
731 dummy "tray observer" window we create. When we get a
732 TaskbarCreated message, iterate over the status icons and re-add
733 them to the task bar, and update them by calling
734 gtk_status_icon_update_image().
736 Move some ifdefs around to avoid unused functions.
738 2008-03-12 Tor Lillqvist <tml@novell.com>
740 * config.h.win32.in: Update to match what configure produces.
742 2008-03-12 Jens Granseuer <jensgr@gmx.net>
744 * modules/printbackends/cups/gtkprintbackendcups.c:
745 (cups_printer_prepare_for_print): Don't define variables in the
746 middle of a block. (#522067)
748 2008-03-12 Matthias Clasen <mclasen@redhat.com>
750 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
751 dialog for print-to-file. (#474302, Marek Kašík)
753 2008-03-12 Matthias Clasen <mclasen@redhat.com>
755 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
756 (#469210, Wouter Bolsterlee)
758 2008-03-12 Matthias Clasen <mclasen@redhat.com>
760 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
761 paper_size here. (#488820, Morten Welinder)
763 2008-03-12 Michael Natterer <mitch@imendio.com>
765 * acconfig.h: remove this deprecated file.
767 * configure.in: added comments to all instances of AC_DEFINE() so
768 config.h can be completely generated from configure.in.
770 2008-03-12 Michael Natterer <mitch@imendio.com>
772 * modules/printbackends/cups/gtkprintbackendcups.c: include
773 <glib/gstdio.h> for g_fopen().
775 2008-03-11 Matthias Clasen <mclasen@redhat.com>
777 * modules/printbackends/cups/gtkprintbackendcups.c: Use
778 g_ascii_formatd when formatting custom paper sizes, since
779 cups doesn't handle , as decimal separator. (#521548)
781 2008-03-11 Tor Lillqvist <tml@novell.com>
783 Bug 469868 - Filenames with colon ":" are not saved correctly
785 * gtk/gtkfilechooserentry.c (insert_text_callback)
786 (delete_text_callback) [Win32]: New functions to make sure that
787 colons used otherwise than as a separator after a drive letter, or
788 characters that are always illegal in file names, are rejected on
789 input. This means that the GTK+ file chooser can't be used to
790 input full names of alternate data streams, but oh well. There are
791 still more checks that could be done on the file names, see the
792 bug report. But this will do for now.
793 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
795 2008-03-11 Jordi Mallach <jordi@sindominio.net>
797 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
799 2008-03-11 Michael Natterer <mitch@imendio.com>
801 * gdk/linux-fb/*: removed linux-fb backend files.
805 * docs/README.linux-fb
806 * gtk/Makefile.am: remove remaining traces of linux-fb.
808 * gtk/gtkwindow-decorate.c: same here. There is some code that
809 calls into linux-fb to set window move/resize callbacks. I put it
810 in #if 0 as a reminder because we did use decorated windows with
811 the DirectFB backend and it did work, so I don't really know why
812 this code is needed or how it could work with DirectFB back then.
813 The file does actually compile now if DECORATE_WINDOWS is defined,
814 but I didn't test with DirectFB to check if it does anything.
816 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
818 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
819 Take thickness into account in the size allocation of the child widgets in
823 2008-03-11 Richard Hult <richard@imendio.com>
825 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
827 2008-03-10 Tor Lillqvist <tml@novell.com>
829 * tests/teststatusicon.c (do_exit, popup_menu): Add the
830 possibility to test what happens if the process just calls exit()
831 without any orderly cleanup of GTK+.
833 2008-03-10 Tor Lillqvist <tml@novell.com>
835 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
837 2008-03-10 Tor Lillqvist <tml@novell.com>
839 Bug 520286 - Non-deletable window has no minimize / maximize buttons
841 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
842 New debugging output function that decodes a set of WS_* bits.
844 * gdk/win32/gdkprivate-win32.h: Declare it.
846 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
847 New function that enables or disables one menu entry in the system
848 menu of a top-level window. (The corresponding decoration will
849 then also be enabled or disabled (grayed).)
851 (update_style_bits): Do as the comment says and don't try to
852 update the window style based on the GdkWMFunctions set for the
855 (update_system_menu): New function that enables or disables the
856 system menu entries based on a window's stored set of
859 (gdk_window_set_functions): Call update_system_menu() instead of
862 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
864 * README.in: Reword the 2.14 release notes entry about the
865 deprecation of the gtkitemfactory.h header, and fix typos
868 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
870 * modules/engines/ms-windows/msw_style.c (draw_shadow):
871 Do not draw frame if parent if combobox.
873 Uses scrollbar width system metrics for combobox button.
874 Fixes #461805 for XP theme engine.
876 2008-03-07 Johan Dahlin <johan@gnome.org>
879 * gtk/gtkbuilderparser.c:
880 * gtk/gtkbuilderprivate.h:
881 * gtk/gtkiconfactory.c:
882 * tests/buildertest.c:
883 - Treat enums like enums and not values
884 - Avoid invalid free, in case of more than two sources
885 - Add better error messages
886 - Add much improved tests
887 (#520979, Christian Persch)
889 2008-03-07 Carlos Garnacho <carlos@imendio.com>
891 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
894 2008-03-06 Federico Mena Quintero <federico@novell.com>
896 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
897 GtkFileChooserDialog should set a default response button if the
898 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
900 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
901 function, refactor from where there was duplicated code.
902 (gtk_file_chooser_dialog_map): Look at the buttons in our
903 action_area. If the response ID for a button is one of the stock
904 ones, make it the default response button.
906 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
908 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
910 * gtk/gtkbuilderprivate.h:
911 * gtk/gtkiconfactory.c:
912 * tests/buildertest.c:
913 Implement GtkBuildable on GtkIconFactory, to make
914 it possible to register custom stock icons.
917 2008-03-06 Johan Dahlin <johan@gnome.org>
921 * gtk/gtkstyle.c: npoints->n_points.
922 * gtk/gtktestutils.h: widget->spinner
923 * gtk/gtktestutils.c: argc->argcp, argv->argvp
925 2008-03-06 William Lachance <wrlach@gmail.com>
927 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
928 string localizable (as it should be).
930 2008-03-06 William Lachance <wrlach@gmail.com>
932 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
933 the time for today's date. It's redudant. (see bug #410517).
935 2008-03-06 Xan Lopez <xan@gnome.org>
937 * gtk/gtkfixed.c: fix typo in documentation.
939 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
941 * gtk/gtkitemfactory.h:
942 * gtk/gtktypeutils.h:
943 Move GtkTranslateFunc to gtktypeutils.h so we can completely
944 deprecate gtkitemfactory.h.
946 * gtk/gtkactiongroup.h:
948 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
951 Add a note describing this slight incompatible change
953 2008-03-06 Johan Dahlin <johan@gnome.org>
955 * gtk/gtkpreview.h: Avoid double-deprecation.
957 2008-03-06 Michael Natterer <mitch@imendio.com>
960 * gtk/Makefile.am: move the remaining deprecated widgets to the
961 separate sections and replaced spaces by tabs in Makefile.am
963 2008-03-05 Johan Dahlin <johan@gnome.org>
965 * configure.in: Add --disable-cups option.
966 (#513826, Alberto Ruiz)
970 Separate broken and deprecated sources and headers into different sections
972 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
974 2008-03-05 Kristian Rietveld <kris@imendio.com>
976 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
977 short-circuit in case an empty root level would be build (and thus
978 directly destroyed) if no virtual root has been set.
980 2008-03-04 Matthias Clasen <mclasen@redhat.com>
982 * modules/printbackends/cups/gtkprintbackendcups.c:
983 Honor cups user default options from ~/.cups/lpoptions
984 (#469210, Stijn Hoop)
986 2008-03-04 Michael Natterer <mitch@imendio.com>
989 * gtk/gtkcolorbutton.c
990 * gtk/gtkentrycompletion.c
991 * gtk/gtkfontbutton.c
995 * gtk/gtkpreview.c: don't include "gtksignal.h".
997 * gtk/gtkfilefilter.c
998 * gtk/gtkrecentchoosermenu.c
999 * gtk/gtkrecentfilter.c
1000 * gtk/gtktext.c: don't include "gtkobject.h".
1002 2008-03-04 Simos Xenitellis <simos@gnome.org>
1004 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
1005 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
1007 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
1010 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
1011 file, contains compose sequences that used to exist in
1012 gtk/gtkimcontextsimple.c
1014 * gtk/compose-parse.py: Script to generate compose
1015 sequences from upstream (Xorg).
1017 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
1018 check_algorithmically): New functions. First two search in
1019 gtk_compose_seqs_compact[] for matching compose sequence, third
1020 tries NFC normalisation on incoming compose sequence.
1021 (gtk_im_context_simple_filter_keypress):
1022 Adds searching with check_compact_table(), check_algorithmically().
1024 2008-03-03 Carlos Garnacho <carlos@imendio.com>
1026 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
1027 scrollwheel work in GtkPathBar.
1029 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
1031 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
1032 an input-only window, event_window, which we'll use to capture
1034 (gtk_path_bar_map): Show the event_window under the rest of the
1035 windows, so it will be a catch-all for unhandled events.
1037 2008-03-03 Sven Neumann <sven@gimp.org>
1039 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
1040 typo in the documentation of the GtkFileChooserButtons::file-set
1041 signal (see bug #353196).
1043 2008-03-03 Tor Lillqvist <tml@novell.com>
1045 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
1048 2008-03-02 Johan Dahlin <johan@gnome.org>
1050 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
1051 Remove left-over focus_pad variable.
1052 (#490892, Claudio Saavedra)
1054 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
1055 (#518166, Matt Kraai)
1057 2008-03-02 Johan Dahlin <johan@gnome.org>
1059 * docs/tutorial/gtk-tut.sgml: Add a missing space
1060 (#517954, Matt Kraai)
1062 2008-03-03 Tor Lillqvist <tml@novell.com>
1064 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1065 the widget is a GtkButton before casting.
1067 2008-03-02 Johan Dahlin <johan@gnome.org>
1069 * configure.in: Compare using = instead of ==, which is portable.
1070 (#490787, Thomas Klausner)
1072 2008-03-02 Johan Dahlin <johan@gnome.org>
1074 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1075 fixes non-C++ build.
1076 (#496032, Nelson Benitez)
1078 2008-02-29 Johan Dahlin <johan@gnome.org>
1080 * demos/gtk-demo/demo.ui:
1081 * gtk/gtkbuilderparser.c:
1082 * gtk/gtkbuilderprivate.h:
1083 * gtk/gtkliststore.c:
1084 * tests/buildertest.c:
1085 Add translatable/context and comment attributes on
1086 <col> tags under a GtkListStore. Refactor parts of the
1087 translation api and make it available inside gtk+ itself.
1088 Update tests and example.
1089 Fixes a part of #518642
1091 2008-02-29 Johan Dahlin <johan@gnome.org>
1094 Add missing g_return_val_if_fail checks for public API.
1096 * gtk/gtkbuilderparser.c:
1097 * gtk/gtkbuilderprivate.h:
1098 Do not use g_error for a few more errors, instead set
1099 the GError sent in through add_from_file/add_from_string.
1100 * tests/buildertest.c:
1101 Add a couple of new parsing tests.
1102 (#519199, Pavel Syomin)
1104 2008-02-29 Federico Mena Quintero <federico@novell.com>
1106 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1107 refreshing an existing folder (i.e. when we are about to reload
1108 its file list), turn off the folder's is_finished_loading flag.
1109 Otherwise callers which do ::is_finished_loading() followed by
1110 ::list_children() will get nothing.
1112 2008-02-29 Cody Russell <bratsche@gnome.org>
1114 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1115 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1117 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1119 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1120 make the compiler happy. (#517295, Sylvain Pasche)
1122 2008-02-27 Michael Natterer <mitch@imendio.com>
1124 * gtk/gtkmenushell.c
1127 * gtk/gtktipsquery.c
1132 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1133 private functions and virtual function implementations.
1135 2008-02-27 Richard Hult <richard@imendio.com>
1137 * gdk/quartz/GdkQuartzView.c:
1138 * gdk/quartz/GdkQuartzView.h:
1139 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1140 Fix performance regression for borderless transparent windows
1143 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1145 * tests/testgtk.c: Revert back to r19454.
1147 2008-02-27 Sven Neumann <sven@gimp.org>
1149 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1150 Quartz backend, use a native Mac OS X application for the print
1151 preview (bug #518624).
1153 2008-02-26 Michael Natterer <mitch@imendio.com>
1155 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1156 the members of info->tag_stack since they are a) gobjects and b)
1157 not even owned by us, ugh... Fixes crash when deserializing fails.
1159 2008-02-26 Sven Neumann <sven@gimp.org>
1161 * docs/tools/shooter.c (find_toplevel_window)
1162 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1163 argument passed to XQueryTree().
1165 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1167 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1168 don't use beagle_query_add_hit_type.
1170 2008-02-25 Richard Hult <richard@imendio.com>
1172 * gdk/quartz/gdkevents-quartz.c
1173 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1175 2008-02-24 Richard Hult <richard@imendio.com>
1177 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1178 shown without gdk's control when clicking the dock icon.
1180 2008-02-24 Richard Hult <richard@imendio.com>
1182 * gdk/quartz/gdkprivate-quartz.h:
1183 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1184 Use the subtype field for the custom event that is used to wake up
1185 the mainloop so we can have other custom event types.
1187 * gdk/quartz/gdkevents-quartz.c:
1188 (_gdk_quartz_events_trigger_crossing_events):
1189 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1190 crossing events after showing a window if necessary, to work
1191 around problems with the tracking rect API.
1193 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1195 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1196 wrong results on win32 because it doesn't set the printing units,
1197 which affect the transformation of the cairo context
1198 (#347125, Erik van Pienbroek)
1200 2008-02-22 Tor Lillqvist <tml@novell.com>
1202 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1204 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1206 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1207 acceptable for a module to only support the save_to_callback()
1208 method if it marks itself as WRITABLE
1210 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1212 * configure.in: Bump version
1214 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1216 * === Released 2.13.0 ===
1218 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1220 2008-02-21 Tor Lillqvist <tml@novell.com>
1222 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1223 pass the format string to strftime in the C library's locale's
1224 charset, not the system's. Correspondingly, the return value from
1225 strftime() is in the C library's locale's charset. (#509885)
1227 2008-02-20 Richard Hult <richard@imendio.com>
1229 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1230 the right window level and shadow after recreating the window.
1232 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1233 necessary after drawing (bug #517338).
1235 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1237 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1238 call to g_type_class_unref in case of error. (#517563)
1240 2008-02-18 Sven Neumann <sven@gimp.org>
1242 * gtk/Makefile.am (STOCK_ICONS)
1243 * gtk/stock-icons/16/gtk-page-setup.png
1244 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1245 taken from GNOME icon theme.
1247 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1249 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1251 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1253 2008-02-17 Johan Dahlin <johan@gnome.org>
1255 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1256 When converting a stock item based on the label, remove the label property.
1258 2008-02-17 Richard Hult <richard@imendio.com>
1260 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1261 position after showing the window since the window manager might
1262 not place it where we requested in the first places.
1264 2008-02-17 Richard Hult <richard@imendio.com>
1266 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1267 (_gdk_quartz_window_detach_from_parent),
1268 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1269 the toplevel ordering list in all places where the order is
1270 potentially changed. Fixes mouse focus issues for windows with
1271 a transient parent set.
1273 2008-02-17 Richard Hult <richard@imendio.com>
1275 * gdk/quartz/gdkevents-quartz.c
1276 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1277 window when event debugging is enabled.
1279 2008-02-16 Richard Hult <richard@imendio.com>
1281 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1282 to the scroll event (bug #516757, Paul Davis).
1284 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1288 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1290 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1293 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1295 * gdk/Makefile.am: Don't install private headers. (#463510)
1297 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1298 the installed header gdkprivate.h.
1300 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1302 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1303 a crash with hidden, reorderable tabs. (#513230,
1304 Mike Massonnet, patch by Carlos Garnacho)
1306 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1308 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1309 Warn on duplicate action group names. (#501746, Christian
1312 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1315 * modules/other/gail/tests/Makefile.am:
1316 * modules/other/gail/libgail-util/Makefile.am:
1317 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1318 builds. (#516254, Yevgen Muntyan)
1320 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1325 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1326 instead of hardcoded target tables. (#516092, Christian Persch)
1328 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1330 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1331 add the same target atom twice. (#516087, Christian Persch)
1333 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1335 * tests/testfilechooser.c: Add a --backend option.
1336 (#516073, Christian Persch)
1338 2008-02-16 Richard Hult <richard@imendio.com>
1340 * gdk/quartz/gdkprivate-quartz.h:
1341 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1344 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1346 * configure.in: Go back to 2.13.0 as version for now,
1347 as there was no consensus to do the jump.
1349 * many other places: Update Since: tags.
1351 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1353 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1355 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1357 2008-02-15 Richard Hult <richard@imendio.com>
1359 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1360 instead of bounds when resizing windows.
1362 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1364 * gdk/x11/gdkkeys-x11.c:
1365 * gdk/x11/gdkcolor-x11.c:
1366 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1368 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1370 * gdk/x11/gdktestutils-x11.c:
1371 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1373 2008-02-15 Tor Lillqvist <tml@novell.com>
1375 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1376 leak Registry key handles. (#516578)
1378 2008-02-14 Richard Hult <richard@imendio.com>
1380 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1381 makeKeyWindow unfortunately doesn't work in all cases, we must use
1382 makeKeyAndOrderFront.
1384 2008-02-14 Richard Hult <richard@imendio.com>
1386 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1387 (gdk_window_hide), (gdk_window_fullscreen),
1388 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1389 the window is hidden.
1391 2008-02-14 Richard Hult <richard@imendio.com>
1393 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1394 resizing to be consistent and to avoid introducing an internal
1395 transform in the view.
1397 2008-02-14 Richard Hult <richard@imendio.com>
1399 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1402 2008-02-14 Johan Dahlin <johan@gnome.org>
1404 * gdk/gdktestutils.h
1405 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1407 2008-02-13 Richard Hult <richard@imendio.com>
1409 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1410 Remove unused variables.
1411 (gtk_clipboard_set_contents),
1412 (gtk_clipboard_get_owner), (clipboard_unset),
1413 (gtk_clipboard_request_targets): Notify the previous clipboard
1414 owner when the owner changes. Fixes bug #493406.
1416 2008-02-13 Richard Hult <richard@imendio.com>
1418 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1419 the return value (return number of colors that failed), and handle
1421 (gdk_colormap_free_colors): Fix typo in comment.
1423 2008-02-13 Kristian Rietveld <kris@imendio.com>
1425 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1426 queue a redraw if the rubber banding has actually been active.
1428 2008-02-12 Matthias Clasen <mclasne@redhat.com>
1430 * gtk/gtkpapersize.c:
1431 * gtk/gtkprintoperation.c:
1432 * gtk/gtkvolumebutton.c:
1433 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1434 out by Behdad Esfahbod.
1436 2008-02-12 Federico Mena Quintero <federico@novell.com>
1438 Merged from gtk-2-12:
1440 Don't focus the file list when shortcuts get activated. This
1441 removes a lot of ambiguity in when the file selection should
1442 change, and makes the overall code flow simpler.
1444 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1445 file/save dialog clears the filename entry when changing
1448 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1449 focus should not go to the file list when a shortcut is activated.
1451 * gtk/gtkfilechooserdefault.c
1452 (shortcuts_activate_volume_mount_cb): Don't focus the file list
1453 (shortcuts_activate_get_info_cb): Likewise.
1455 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1456 the file list (this was the last place where we would focus the
1457 file list explicitly). If you are in the location entry, for
1458 example, you don't want Alt-Home to take you to the file list; you
1459 just want the current folder to change. Thanks to Olle Bergkvist
1460 <olle.bergkvist@yahoo.se> for pointing this out in
1461 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1462 (focus_browse_tree_view_if_possible): Removed.
1464 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1466 Skip exensions when selecting filenames in the save-as dialog.
1467 (#362516, Carlos Garnacho)
1469 * gtk/gtkfilechooserentry.h:
1470 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1471 New function to skip the extension part when selecting a filename.
1472 (_gtk_file_chooser_entry_set_base_folder): Use it here.
1474 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1477 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1479 * gtk/gtkiconview.c: Fix state change reporting for
1480 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
1482 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
1484 * gtk/gtkrecentchooser.c:
1485 (gtk_recent_chooser_class_init): Set the default value of the
1486 :show-not-found property to TRUE, as every implementation sets
1489 * gtk/gtkrecentchooserdefault.c:
1490 (_gtk_recent_chooser_default_init): Sync show_tips to the
1491 default value of the :show-tips property.
1493 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1495 * gtk/gtkclipboard-quartz.c:
1497 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
1500 2008-02-12 Kristian Rietveld <kris@imendio.com>
1502 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1503 (gtk_tree_view_real_toggle_cursor_row): guard against people
1504 deleting the row in question in the selection-changed callback.
1505 (#514621, Andreas Koehler).
1507 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1509 * gtk/*.c: Unify the handling of various "Enter" keysyms
1510 all over the place. (#515047, Christian Persch)
1512 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1514 * gtk/gtkfilesystemmodel.c:
1516 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1517 appropriate. (#515042, Christian Persch)
1519 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1521 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1523 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1525 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1527 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1529 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1530 (recent_model_sort_drag_data_get):
1531 (search_model_sort_drag_data_get):
1532 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1533 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1534 Use gtk_selection_data_set_uris() instead of doing it
1535 by hand. (#514890, Christian Persch)
1537 2008-02-12 Michael Natterer <mitch@imendio.com>
1539 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1540 gtk_get_current_event_time().
1542 2008-02-12 Michael Natterer <mitch@imendio.com>
1544 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1545 gtk_window_get_key_hash() to get the hash instead of manually
1546 fiddling with quarks and gtk_window_keys_changed(). Also add
1547 g_return_if_fail() to this public function.
1549 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1551 Support keynav in status icons. (#473786, Li Yuan)
1553 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1555 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1557 2008-02-11 Kristian Rietveld <kris@imendio.com>
1559 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1560 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1561 wrt. link deletion from list; contination of fix for #503569.
1563 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1565 * gtk/gtkrecentchoosermenu.c:
1566 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1567 on the placeholder menu item.
1569 * tests/testrecentchoosermenu.c:
1570 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1571 whether the placeholder menu item gets shown.
1573 2008-02-10 Cody Russell <bratsche@gnome.org>
1575 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1576 Check the return value of _gtk_file_chooser_get_file_system () for
1577 NULL before passing it to gtk_file_system_path_to_uri ().
1578 (#515667, Francesco Montorsi)
1580 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1582 * gtk/gtkbuilder.c: Improve the documentation for
1583 gtk_builder_connect_signals. (#514471)
1585 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1587 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1590 2008-02-08 Cody Russell <bratsche@gnome.org>
1592 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1593 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1595 2008-02-08 Richard Hult <richard@imendio.com>
1597 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1598 delta from the NSEvent for now, generating multiple scroll events
1599 results in a lot of events getting queued up and things get really
1602 2008-02-08 Sven Herzberg <sven@imendio.com>
1604 Adjust the code to match the documentation, examples, "common sense"
1605 and existing applications.
1607 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1608 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1611 2008-02-07 Cody Russell <bratsche@gnome.org>
1613 * gdk/win32/gdkevents-win32.c
1614 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1615 of a block that were causing compile problems on old
1616 compilers. (#515053, reported by Kazuki IWAMOTO)
1618 2008-02-07 Michael Natterer <mitch@imendio.com>
1625 * gtk/gtkmenushell.c
1627 * gtk/gtkoptionmenu.c
1631 * gtk/gtkradiomenuitem.c
1633 * gtk/gtkscrolledwindow.c
1634 * gtk/gtksocket.c: remove g_return_if_fail() from private
1635 functions and virtual function implementations.
1637 2008-02-07 Michael Natterer <mitch@imendio.com>
1640 * gtk/gtkassistant.c
1644 * gtk/gtkcellrenderercombo.c
1647 * gtk/gtkdrawingarea.c
1648 * gtk/gtkentrycompletion.c
1654 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1655 functions and virtual function implementations.
1657 2008-02-07 Christian Persch <chpe@gnome.org>
1659 * gdk/gdkpixbuf-render.c:
1660 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1661 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1662 otherwise there will be random pixel values in the semi-transparent
1663 area of the pixbuf within the mask. Bug #487865.
1665 2008-02-06 Cody Russell <bratsche@gnome.org>
1667 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1668 otherwise things get wonky when you click on a menu. This fixes
1669 a regression caused in #505928. Thanks to Tor for spotting this
1672 2008-02-06 Michael Natterer <mitch@imendio.com>
1674 * gtk/gtkcontainer.c
1681 * gtk/gtkmenushell.c
1683 * gtk/gtkseparatortoolitem.c
1685 * gtk/gtktextlayout.c
1686 * gtk/gtktoggletoolbutton.c
1687 * gtk/gtktoolbutton.c
1690 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1693 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1695 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1696 Allow to store half-open ranges.
1698 2008-02-05 Cody Russell <bratsche@gnome.org>
1700 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1701 down the stack until we get to a window that is mapped.
1702 Otherwise hiding a window will cause all windows in the app
1703 to be blocked. (#514643)
1705 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1707 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1708 directory, avoiding one source of invalid caches that has been
1709 spotted in the wild.
1711 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1713 * gtk/updateiconcache.c: Fix the previous commit to compile.
1715 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1717 * gtk/updateiconcache.c: Install a printerr handler that
1718 prepends the program name, since gtk-update-icon-cache output
1719 often appears in the middle of other output, e.g. rpm update logs.
1721 2008-02-05 Cody Russell <bratsche@gnome.org>
1723 * gdk/win32/gdkprivate-win32.h
1724 * gdk/win32/gdkevents-win32.c
1725 * gdk/win32/gdkwindow-win32.c
1726 * gdk/win32/gdkwindow-win32.h
1727 * gdk/win32/gdkwin32.h:
1728 Modal window rework. (#455627 and #511111)
1730 2008-02-04 Michael Natterer <mitch@imendio.com>
1732 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1733 g_return_if_fail() if the cell is not part of the combo instead of
1734 crashing in the next line.
1736 2008-02-01 Cody Russell <cody@jhu.edu>
1738 * modules/engines/ms-windows/xp_theme.[ch]
1739 * modules/engines/ms-windows/xp_theme_defs.h
1740 * modules/engines/ms-windows/msw_rc_style.c
1741 * modules/engines/ms-windows/msw_theme_main.c
1742 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1743 attempted to stylize more like the rest of the gtk+ stack's code.
1745 2008-02-01 Michael Natterer <mitch@imendio.com>
1747 * tests/testgtk.c: initialize GdkColor structs to fix warning
1748 about uninitialized "pixel" member.
1750 * tests/testactions.c: connect the toolbar_style() callback so it
1751 does something useful and doesn't warn about being defined but not
1754 2008-01-31 Cody Russell <bratsche@gnome.org>
1756 * gdk/win32/gdkevents-win32.c:
1757 Refactored some of the window hiding/showing code from
1758 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1759 under WM_ACTIVATE was causing the application to go into
1760 a weird state when the user right-clicked on the taskbar
1761 entry of a window that was minimized. (#505928)
1763 2008-01-31 Cody Russell <bratsche@gnome.org>
1765 * gtk/gtkpaned.c (gtk_paned_set_position):
1766 Change queue_resize() to queue_draw(), and add a check for
1767 child2 != NULL in case someone calls this before there is
1768 a child packed in there. (#144269 again)
1770 2008-01-31 Sven Neumann <sven@gimp.org>
1772 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1773 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1775 2008-01-31 Sven Neumann <sven@gimp.org>
1777 * gdk/directfb/gdkdisplay-directfb.c
1778 * gdk/directfb/gdkdrawable-directfb.c
1779 * gdk/directfb/gdkprivate-directfb.h
1780 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1781 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1783 2008-01-31 Richard Hult <richard@imendio.com>
1785 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1786 issues with undecorated windows. Revert the change done on
1787 2008-01-25 and fix it by using the view's bounds instead. The
1788 bounds will always be up to date when setting up the tracking
1789 rect, so this should be more robust.
1791 2008-01-30 Sven Neumann <sven@gimp.org>
1793 * gdk/directfb/gdkdrawable-directfb.c
1794 * gdk/directfb/gdkwindow-directfb.c
1795 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1796 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1797 DirectFB's debugging system
1799 2008-01-30 Sven Neumann <sven@gimp.org>
1801 * gdk/directfb/gdkdirectfb.h
1802 * gdk/directfb/gdkdisplay-directfb.c
1803 * gdk/directfb/gdkdrawable-directfb.c
1804 * gdk/directfb/gdkim-directfb.c
1805 * gdk/directfb/gdkimage-directfb.c
1806 * gdk/directfb/gdkinput-directfb.c
1807 * gdk/directfb/gdkmain-directfb.c
1808 * gdk/directfb/gdkpixmap-directfb.c
1809 * gdk/directfb/gdktestutils-directfb.c
1810 * gdk/directfb/gdkvisual-directfb.c
1811 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1812 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1813 errors and has some cleanups.
1815 2008-01-30 Michael Natterer <mitch@imendio.com>
1817 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1818 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1821 * gtk/updateiconcache.c (add_string): cast const gchar* to
1822 gpointer when inserting in a GHashTable.
1824 * tests/testcalendar.c (calendar_detail_cb): remove const from
1825 return value since it's a newly allocated string.
1827 (calendar_update_details): free the detail.
1829 2008-01-29 Johan Dahlin <johan@gnome.org>
1831 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1833 * demos/gtk-demo/demo.ui:
1834 Move the about dialog to the glade file, add accessible tags
1835 examples to the markup file.
1837 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1839 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1840 layout, fixes #512375.
1842 2008-01-28 Michael Natterer <mitch@imendio.com>
1844 * gtk/gtktextchild.c
1845 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1847 2008-01-28 Michael Natterer <mitch@imendio.com>
1849 * demos/gtk-demo/builder.c (about_activate): use
1850 gtk_about_dialog_set_program_name() instead of the deprecated
1853 2008-01-28 Michael Natterer <mitch@imendio.com>
1855 * gtk/gtktextchild.c
1856 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1859 2008-01-26 Johan Dahlin <johan@gnome.org>
1861 * tests/Makefile.am:
1862 * tests/textbuffertest.c:
1863 Rename textbuffer test and port it to the new test framework
1865 2008-01-25 Johan Dahlin <johan@gnome.org>
1867 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1868 unsetting of GTK_MODULES.
1870 * gtk/gtk-builder-convert
1871 (GtkBuilderConverter._convert_adjustment): Handle the case where
1872 there is no child text node.
1873 (GtkBuilderConverter): Allow xml comments in most places.
1875 2008-01-25 Johan Dahlin <johan@gnome.org>
1877 * gtk/gtk-builder-convert
1878 (GtkBuilderConverter._convert_combobox_items): Remove the items
1879 even if there are no items set.
1880 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1881 signals and tooltips for all menu items subclasses and
1882 GtkImageMenuItem:label.
1883 Makes it possible to fully convert and run Jokosher.glade.
1885 2008-01-25 Johan Dahlin <johan@gnome.org>
1887 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1888 (gtk_widget_buildable_get_internal_child), (free_action),
1889 (free_relation), (gtk_widget_buildable_parser_finished),
1890 (accessibility_start_element),
1891 (gtk_widget_buildable_custom_tag_start),
1892 (gtk_widget_buildable_custom_finished):
1893 Implement accessible support, fixes #454653.
1895 * gtk/gtk-builder-convert:
1896 Add support for migrating old glade files
1898 * tests/buildertest.c: (test_widget), (test_file):
1899 Add accessible tests and imprve the test_file function to display
1900 toplevels and run dialogs.
1902 2008-01-25 Richard Hult <richard@imendio.com>
1904 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1905 didn't change, fixes focus event issues for undecorated windows.
1907 2008-01-25 Richard Hult <richard@imendio.com>
1909 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1910 const and remove unused variables).
1912 2008-01-25 Michael Natterer <mitch@imendio.com>
1915 * gtk/gtkcellrenderer.h
1916 * gtk/gtkimcontext.h
1920 * gtk/gtktreeprivate.h
1921 * gtk/gtktreeviewcolumn.h
1922 * gtk/gtkwidget.h: add const to constant structs which are passed
1923 into GTK+. Also add some forgotten const for const strings.
1927 * gtk/gtkcellrenderer.c
1928 * gtk/gtkimcontext.c
1933 * gtk/gtktreeviewcolumn.c
1934 * gtk/gtkwidget.c: changed accordingly.
1936 2008-01-25 Sven Herzberg <sven@imendio.com>
1938 Reviewed by Johan Dahlin.
1940 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1941 this is called with something that's not a GtkUIManager
1943 2008-01-24 Johan Dahlin <johan@gnome.org>
1945 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1946 Chain up to parent, so widgets can have internal children.
1948 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1950 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1953 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1955 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1957 Use pango_layout_set_height() for calendar details (#506049).
1959 * configure.in: Require 1.19.3 for pango_layout_set_height().
1960 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1962 2008-01-18 Johan Dahlin <johan@gnome.org>
1964 * gtk/gtk-builder-convert (get_property_node): New method
1965 (GtkBuilderConverter._create_object): Conditionally take a node as
1966 a property value, so don't lose translate/context attributes if they
1968 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1969 property values instead of strings.
1970 (#509153, Erik van Pienbroek)
1972 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1974 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1976 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1977 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1978 * tests/testcalendar.c: Duplicate calendar details before returning.
1980 2008-01-16 Christian Persch <chpe@gnome.org>
1982 * gtk/gtkwidget.c: Store the event mask and extension event mode
1983 directly in the gobject data pointer, instead of in an allocated
1986 2008-01-16 Michael Natterer <mitch@imendio.com>
1988 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1989 gdk-pixbuf now uses gio functions.
1991 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1993 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1994 the notify::model signal. (#509819, David Zeuthen)
1996 2008-01-15 Michael Natterer <mitch@imendio.com>
2004 * gdk/gdkwindow.h: made more struct pointer and array parameters
2005 const. GDK should now be constified as far as possible without
2006 breaking source compatibility. Includes some minor cleanup like
2007 indentation and s/nfoo/n_foo/ (bug #508544).
2013 * gdk/gdkregion-generic.c
2015 * gdk/directfb/gdkdisplay-directfb.c
2016 * gdk/directfb/gdkwindow-directfb.c
2017 * gdk/quartz/gdkdisplay-quartz.c
2018 * gdk/quartz/gdkwindow-quartz.c
2019 * gdk/win32/gdkdisplay-win32.c
2020 * gdk/win32/gdkwindow-win32.c
2021 * gdk/x11/gdkdisplay-x11.c
2022 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2024 2008-01-14 Michael Natterer <mitch@imendio.com>
2026 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
2029 (gtk_rc_parse_any): change variables to const and introduce
2030 another local variable to fix const warnings.
2032 2008-01-14 Michael Natterer <mitch@imendio.com>
2034 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
2035 of gdk_screen_get_font_options() to gpointer to get rid of const
2038 2008-01-14 Michael Natterer <mitch@imendio.com>
2040 * tests/testdnd.c (source_drag_data_get): fix another call to
2041 gtk_selection_data_set().
2043 2008-01-14 Michael Natterer <mitch@imendio.com>
2045 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
2048 2008-01-14 Michael Natterer <mitch@imendio.com>
2050 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
2052 2008-01-14 Michael Natterer <mitch@imendio.com>
2054 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
2055 "uris" to guchar* when passing it to gtk_selection_data_set().
2057 2008-01-14 Michael Natterer <mitch@imendio.com>
2063 * gdk/gdkinternals.h
2065 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2066 parameters const (bug #508544).
2071 * gdk/gdkrectangle.c
2072 * gdk/gdkpolyreg-generic.c
2073 * gdk/gdkregion-generic.c
2074 * gdk/directfb/gdkcolor-directfb.c
2075 * gdk/directfb/gdkgc-directfb.c
2076 * gdk/directfb/gdkgeometry-directfb.c
2077 * gdk/directfb/gdkwindow-directfb.c
2078 * gdk/quartz/gdkcolor-quartz.c
2079 * gdk/quartz/gdkgc-quartz.c
2080 * gdk/quartz/gdkgeometry-quartz.c
2081 * gdk/quartz/gdkwindow-quartz.c
2082 * gdk/win32/gdkcolor-win32.c
2083 * gdk/win32/gdkgc-win32.c
2084 * gdk/win32/gdkgeometry-win32.c
2085 * gdk/win32/gdkprivate-win32.h
2086 * gdk/win32/gdkwindow-win32.c
2087 * gdk/x11/gdkcolor-x11.c
2088 * gdk/x11/gdkgc-x11.c
2089 * gdk/x11/gdkgeometry-x11.c
2090 * gdk/x11/gdkmain-x11.c
2091 * gdk/x11/gdkprivate-x11.h
2092 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2094 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2097 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2099 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2101 * gtk/gtktoolitem.c: Add comment expaining name choice for
2102 gtk_tool_item_toolbar_reconfigured.
2104 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2106 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2107 implementations to notify its children, when some aspect of their
2108 configuration changed (#509042).
2110 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2111 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2112 Rename _gtk_tool_item_toolbar_reconfigured.
2114 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2116 Include <gtk/gtktoolshell.h> from gtk.h.
2118 * gtk/gtk.h: Add gtktoolshell.h
2120 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2122 Print angle brackets arround e-mail addresses in the about dialog
2123 (#409520, Mariano Suárez-Alvarez).
2125 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2127 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2129 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2130 special casing so test widgets are always queues for destruction
2133 * gtk/tests/testing.c: removed bits left-over from testing without
2136 2008-01-10 Tor Lillqvist <tml@novell.com>
2138 * modules/other/gail/libgail-util/Makefile.am
2139 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2142 2008-01-10 Tor Lillqvist <tml@novell.com>
2144 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2145 uses gtkprintunixdialog API.
2147 2008-01-10 Tor Lillqvist <tml@novell.com>
2149 * gdk/win32/gdkdisplay-win32.c
2150 * gdk/win32/gdkglobals-win32.c
2151 * gdk/win32/gdkprivate-win32.h
2152 * gdk/win32/gdkscreen-win32.c
2153 * gdk/win32/gdkwindow-win32.c: Implement
2154 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2155 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2158 2008-01-10 Cody Russell <bratsche@gnome.org>
2160 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2161 Properly ref/unref windows and parents. (#506769)
2163 2008-01-10 Richard Hult <richard@imendio.com>
2165 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2166 (gdk_window_hide), (move_resize_window_internal): Move the
2167 tracking rect workaround from here...
2169 * gdk/quartz/GdkQuartzWindow.c:
2170 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2171 movements during showing/hiding operations. Fixes bug #508516.
2173 2008-01-10 Michael Natterer <mitch@imendio.com>
2175 * gdk/directfb/gdkscreen-directfb.c
2176 (gdk_screen_get_monitor_width_mm)
2177 (gdk_screen_get_monitor_height_mm)
2178 (gdk_screen_get_monitor_plug_name): add these functions to make
2181 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2183 * gtk/gtkrecentchoosermenu.c:
2184 (idle_populate_func), (idle_populate_clean_up): Fix possible
2185 recursion by resetting the idle source id. (#507605, William
2188 2008-01-10 Kristian Rietveld <kris@imendio.com>
2190 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2191 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2192 avoid valgrind warnings. (#507751, patch from Christian Persch).
2194 2008-01-10 Kristian Rietveld <kris@imendio.com>
2196 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2197 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2199 2008-01-10 Kristian Rietveld <kris@imendio.com>
2201 Fix #477175, reported by Juri Pakaste.
2203 * gtk/gtktreeprivate.h:
2204 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2205 tree_view->priv->dy here directly, just calculate the new value
2206 and set it on the adjustment,
2207 (gtk_tree_view_adjustment_changed): add guards to not call
2208 gtk_tree_view_dy_to_top_row() if we are currently in
2209 gtk_tree_view_top_row_to_dy(),
2210 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2211 coordinates, not tree coordinates,
2212 (gtk_tree_view_real_start_editing): add cast.
2214 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2215 position of the editable in the "create new row and start editing"
2218 2008-01-09 Michael Natterer <mitch@imendio.com>
2220 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2223 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2224 * gtk/gtkicontheme.c (theme_list_contexts)
2225 (gtk_icon_theme_lookup_icon)
2226 * gtk/gtkimcontextsimple.c (beep_window)
2227 * gtk/gtklinkbutton.c (set_link_color)
2228 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2231 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2232 variable and add const to another to fix a warning.
2234 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2236 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2237 the current page. (#499951, Andreas Sandberg)
2239 2008-01-06 Johan Dahlin <johan@gnome.org>
2241 * gtk/gtkspinbutton.c: Declare value in the example code for
2242 GtkSpinButton::output, as pointed out by Anders Carlsson.
2244 2008-01-06 Christian Persch <chpe@gnome.org>
2246 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2247 and remove an obsolete event box. Bug #506760.
2249 2008-01-06 Johan Dahlin <johan@gnome.org>
2251 * tests/buildertest.c (test_domain):
2252 Update, GtkBuilder::translation-domain is no longer set
2254 * gtk/gtkbuilderparser.c (parse_interface):
2255 Allow domains to be overridden in <interface>'s if a translation-domain
2256 is set in the builder.
2257 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2258 of the builder, make the domain set in the <interface> apply only to strings
2260 (#496831, Ryan Lortie)
2262 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2265 * gtk/gtktreestore.c (tree_model_end_element):
2266 Remove an unused variable
2268 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2270 * gtk/gtkspinbutton.c: Document the ::output signal and
2271 add an example. (#507566, example by Owen Taylor)
2273 2008-01-06 Johan Dahlin <johan@gnome.org>
2275 * gtk/gtkcellrenderercombo.c:
2276 (gtk_cell_renderer_combo_get_property),
2277 (gtk_cell_renderer_combo_set_property):
2278 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2279 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2280 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2281 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2282 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2283 (gtk_text_buffer_get_property):
2284 * gtk/gtktextview.c: (gtk_text_view_set_property):
2285 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2286 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2287 (gtk_tool_button_get_property):
2288 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2289 (gtk_tool_item_get_property):
2290 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2291 * gtk/gtkwidget.c: (gtk_widget_set_property):
2292 * gtk/gtkwindow.c: (gtk_window_set_property):
2293 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2296 2008-01-06 Johan Dahlin <johan@gnome.org>
2298 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2299 Make sure that --root works for toplevel widgets.
2300 (#491847, Phil Lello)
2302 2008-01-05 Johan Dahlin <johan@gnome.org>
2304 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2305 to make sure that make test-report works properly
2307 2008-01-05 Christian Persch <chpe@gnome.org>
2309 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2310 GType as integer through gpointer. Bug #507395.
2312 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2314 Avoid some compiler warnings (#507000).
2316 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2317 for value argument of _gtk_builder_flags_from_string.
2318 * gtk/gtkwidget.c: Don't alias the child pointer passed
2319 to gdk_window_get_user_data.
2321 2008-01-04 Michael Natterer <mitch@imendio.com>
2323 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2324 to set the time in the returned GdkTimeCoords.
2326 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2328 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2329 correct comparison function (kudos to Christian Persch and
2330 Claudio Saavedra for spotting this)
2332 * gtk/gtkrecentchooserutils.c:
2333 (sort_recent_items_mru),
2334 (sort_recent_items_lru): Ditto as above.
2336 2008-01-03 Johan Dahlin <johan@gnome.org>
2338 * tests/defaultvaluetest.c: Make it pass again.
2340 2008-01-02 Johan Dahlin <johan@gnome.org>
2342 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2343 make it pass on Ubuntu.
2344 (main): Use gtk_test_list_all_types () instead of providing our
2346 And it no longer passes.
2348 2007-12-30 Johannes Schmid <jhs@gnome.org>
2350 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2351 Also reorder menu when reordering tabs by drag & drop
2354 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2355 Add a menu to one of the notebooks to have a test-case for
2356 the change mentioned above.
2358 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2360 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2362 2007-12-31 Christian Persch <chpe@gnome.org>
2364 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2365 Plug a mem leak. Bug #506107.
2367 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2369 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2370 icon cache api change. (#506135, Kazuki Iwamoto)
2372 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2374 Consider "wide-separators" and "separator-height" style properties:
2375 The separator is drawn using gtk_paint_box instead of cairo, when
2376 "wide-separators" is set. Also do not highlight details for previous
2377 or next month, if their day matches the selected day. (#339540)
2379 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2380 in gtk_calendar_size_request and calendar_paint_day
2381 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2382 for selected detail separators in GtkCalendar.
2384 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2386 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2388 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2389 a local variable instead in gtk_calendar_size_request.
2391 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2393 * tests/defaultvaluetest.c: Add enough exclusions to make the
2396 2007-12-28 Christian Persch <chpe@gnome.org>
2398 * modules/other/gail/Makefile.am:
2399 * modules/other/gail/tests/*:
2400 * configure.in: Merge tests from standalone gail. Bug #504568.
2402 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2404 * gtk/gtkclipboard.c: Make the finalizer work when display is
2407 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2409 Draw bottom shadow of GtkCalender headings. (#506113)
2411 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2413 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2415 * gtk/gtkcalendar.c: Document the initial values of year/month/day
2418 2007-12-28 Christian Persch <chpe@gnome.org>
2420 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2421 a mem leak. Bug #506096.
2423 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2426 * gtk/gtktreeview.c:
2427 * gtk/gtkprintoperation.c:
2428 * gtk/gtkprogressbar.c:
2429 * gtk/gtkmessagedialog.c:
2430 * gtk/gtknotebook.c:
2434 * gtk/gtklinkbutton.c:
2435 * gtk/gtkmenu.c: More default property value corrections.
2437 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2439 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2440 accel_group unless it is set.
2442 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2444 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2446 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2448 * gtk/gtkhandlebox.c: Fix the default values of shadow and
2449 shadow-type properties.
2451 * gtk/gtkfontsel.c: Fix the default values of several properties.
2453 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2456 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2458 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2461 2007-12-28 Johan Dahlin <johan@gnome.org>
2463 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2464 (gtk_dialog_buildable_custom_tag_start): Chain up.
2465 This makes it possible to have accelerators tags on GtkDialog
2468 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2470 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2471 are shown within the widget, or just as tooltip. (#339540)
2473 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2474 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2475 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2478 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2480 Try more decent appearance of calendar details separator. (#339540)
2482 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2483 and make it short by one pixel on each side.
2485 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2487 Apply trivial code-style changes from attachement 101101. (#339540)
2489 * tests/testcalendar.c: Some updates to current GTK+ code-style.
2491 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2493 Restructure testcalendar for testing calendar details. (#339540)
2495 * tests/testcalendar.c: Push code arround for testing calendar details.
2497 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2499 Implement GtkTooltip API for calendar details. (#339540)
2501 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2502 Remember detail overflows in calendar_paint_day to show the tooltip
2503 only when neccessary.
2505 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2507 Without setting "detail-width-chars" and "detail-height-rows"
2508 properties not only the widget has to be redrawn on certain
2509 conditions, but also its size must be recalculated. (#339540)
2511 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2512 that function instead of gtk_widget_queue_draw.
2514 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2516 Consider details for size-request and expose-event. (#339540)
2518 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2519 is_color_attribute functions. Change gtk_calendar_size_request
2520 and calendar_paint_day to consider and show calender details.
2522 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2524 * gtk/gtkcombobox.c: Introduce local priv variables to
2527 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2529 * gtk/gtkcombobox.c: Correct the default value for the
2530 tearoff-title property.
2532 * gtk/gtkcellrenderertext.c: Fix the default value for the
2533 wrap-mode and font-scale properties.
2535 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2538 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2540 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2541 defines. (#505708, MINAMI Hirokazu)
2543 2007-12-27 Christian Persch <chpe@gnome.org>
2545 * Makefile.am: Install gail.pc. Bug #505859.
2547 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2549 Add infrastructure for GtkCalendar details. (#339540)
2551 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2552 Add "detail-width-chars" and "detail-height-rows" properties,
2553 and gtk_calendar_set_detail_func function.
2555 2007-12-27 Xan Lopez <xan@gnome.org>
2558 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2560 Add gtk_border_new to avoid memory allocator confusions when using
2561 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2563 2007-12-27 Christian Persch <chpe@gnome.org>
2565 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2566 bug #504886 not to read unitialised memory.
2568 2007-12-26 Xan Lopez <xan@gnome.org>
2570 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2571 modification of the internal frame contents to decide if we have
2572 extra children. (#415677)
2574 2007-12-22 Christian Persch <chpe@gnome.org>
2576 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2578 2007-12-25 Christian Persch <chpe@gnome.org>
2580 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2581 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2584 2007-12-25 Christian Persch <chpe@gnome.org>
2586 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2588 2007-12-25 Christian Persch <chpe@gnome.org>
2590 * modules/other/gail/*.[ch]: Remove relocations from the atk
2591 factories. Remove unused gail_foo_new() functions. Fix object
2592 instantiation to be derivation safe by moving initialisation code
2593 from the removed gail_foo_new() functions to the
2594 AtkObjectClass::initialize implementation. Bug #505226.
2596 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2598 * modules/other/gail/gailentry.c:
2599 * modules/other/gail/gailimage.c:
2600 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2601 uses of clipboards and settings. (#504722, Christian Persch)
2603 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2605 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2608 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2610 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2611 use the time and button information from the event. (#504901,
2614 2007-12-23 Cody Russell <bratsche@gnome.org>
2616 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2617 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2618 Fixes a regression caused by #164537 patch where transient
2619 windows that are hidden get shown (incorrectly) when their
2620 parents are minimized. (#504984)
2622 2007-12-22 Christian Persch <chpe@gnome.org>
2624 * modules/other/gail/gailcell.c:
2625 * modules/other/gail/gailcontainercell.c:
2626 * modules/other/gail/gailexpander.c:
2627 * modules/other/gail/gailtextcell.c:
2628 * modules/other/gail/gailtextview.c:
2629 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2631 2007-12-22 Christian Persch <chpe@gnome.org>
2633 * modules/other/gail/*.c: Include config.h. Bug #504720.
2635 2007-12-22 Christian Persch <chpe@gnome.org>
2637 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2638 handwritten get_type functions. Bug #504661.
2640 2007-12-23 Xan Lopez <xan@gnome.org>
2642 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2643 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2645 Patch by Sadrul Habib Chowdhury (#504804)
2647 2007-12-22 Christian Persch <chpe@gnome.org>
2649 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2650 #504645, patch by Li Yuan.
2652 2007-12-22 Christian Persch <chpe@gnome.org>
2654 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2656 2007-12-22 Christian Persch <chpe@gnome.org>
2658 * modules/other/gail/gail.c:
2659 * modules/other/gail/gailbutton.c:
2660 * modules/other/gail/gailcell.c:
2661 * modules/other/gail/gailcombo.c:
2662 * modules/other/gail/gailcombo.h:
2663 * modules/other/gail/gailcombobox.c:
2664 * modules/other/gail/gailentry.c:
2665 * modules/other/gail/gailexpander.c:
2666 * modules/other/gail/gailmenuitem.c:
2667 * modules/other/gail/gailnotebook.c:
2668 * modules/other/gail/gailnotebookpage.c:
2669 * modules/other/gail/gailnotebookpage.h:
2670 * modules/other/gail/gailoptionmenu.c:
2671 * modules/other/gail/gailrange.c:
2672 * modules/other/gail/gailtextview.c:
2673 * modules/other/gail/gailtreeview.c:
2674 * modules/other/gail/gailtreeview.h:
2675 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2678 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2680 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2683 2007-12-21 Richard Hult <richard@imendio.com>
2685 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2686 Plug leak of destroyed subviews, fixes bug #504753.
2688 2007-12-20 Johan Dahlin <johan@gnome.org>
2690 * tests/Makefile.am (TEST_PROGS):
2691 * tests/defaultvaluetest.c: Add a test for default values,
2692 based on program by Christan Perch
2694 2007-12-20 Johan Dahlin <johan@gnome.org>
2696 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2697 Refactor to avoid some duplication.
2698 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2699 Fixes #504749, Yuri Pimenov
2701 2007-12-20 Kristian Rietveld <kris@imendio.com>
2703 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2704 the build work again on systems without xrandr 1.2.
2706 2007-12-20 Christian Persch <chpe@gnome.org>
2709 * modules/other/gail/libgail-util/Makefile.am:
2710 Keep the same libtool version as the standalone libgail-util had.
2713 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2715 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2717 2007-12-20 Alexander Larsson <alexl@redhat.com>
2719 * gdk/x11/gdkapplaunchcontext-x11.c:
2720 Update for gio API changes
2722 2007-12-20 Richard Hult <richard@imendio.com>
2724 * gdk/quartz/GdkQuartzWindow.c:
2725 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2726 processing events after changing the size.
2728 2007-12-20 Richard Hult <richard@imendio.com>
2730 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2731 Add stub for quartz to fix build.
2733 2007-12-20 Christian Persch <chpe@gnome.org>
2735 * modules/other/gail/Makefile.am:
2736 * modules/other/gail/gailimage.c: (gail_image_class_init),
2737 (gail_image_init), (elide_underscores), (gail_image_get_name),
2738 (atk_image_interface_init), (gail_image_finalize):
2739 * modules/other/gail/gailimage.h:
2740 R modules/other/gail/gailintl.h:
2741 * po/POTFILES.skip: Use the stock item's label as the name of the
2742 accessible in gailimage.c. Bug #504246.
2744 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2746 Avoid some compiler warnings and remove obsolete code. (#339540)
2748 * gtk/gtkcalendar.c: Change week and year variable in
2749 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2750 0" block from calendar_paint_day: The feature in question is handled
2751 few lines above. Cast data returned by gtk_selection_data_get_text()
2752 to (gchar*) in gtk_calendar_drag_data_received.
2754 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2756 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2758 2007-12-19 Johan Dahlin <johan@gnome.org>
2760 * tests/buildertest.c (test_object_properties):
2761 Add another call to gtk_builder_add_string after using
2762 delayed properties, as reported in #504393 but already
2765 2007-12-18 Christian Persch <chpe@gnome.org>
2768 * docs/reference/Makefile.am:
2769 * docs/reference/libgail-util/*:
2770 * gail-uninstalled.pc.in:
2772 * modules/Makefile.am:
2773 * modules/other/Makefile.am:
2774 * modules/other/gail/*:
2775 * modules/other/gail/libgail-util/*:
2776 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2778 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2780 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2781 * gdk/win32/gdkproperty-win32.c:
2782 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2784 * gtk/gtkimmodule.[hc]:
2785 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2786 look at the gtk-im-module setting, and listen for changes to the
2787 setting. (#502446, Akira Tagoh)
2789 2007-12-17 Kristian Rietveld <kris@imendio.com>
2791 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2792 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2793 to NULL as soon as it's destroyed. (#496546, patch from
2796 2007-12-17 Kristian Rietveld <kris@imendio.com>
2798 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2799 always determine what arrow to show if show_sort_indicator is true.
2800 (#352738, Chris Vine).
2802 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2804 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2807 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2808 gtk_container_foreach in get_child_panes.
2810 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2812 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2814 Plug leak: When reordering the info in the list the old node is
2815 removed but not freed. (#503569)
2817 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2819 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2820 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2821 are deprecated since DirectFB 1.0.0. If compiling with an older
2822 version define the new type name to the old types. Fixes bug #503190.
2824 2007-12-14 Ray Strode <rstrode@redhat.com>
2826 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2827 instead of g_signal_connect_after (..., "realize", ...) as an
2828 alternative to gtk_widget_realize () (bug 503537).
2830 2007-12-14 Michael Natterer <mitch@imendio.com>
2832 * gdk/gdkinternals.h
2833 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2836 * gdk/gdkapplaunchcontext.c
2837 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2838 header already includes everything now.
2840 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2842 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2843 next stable release shall be 2.16, not 2.14 - even if disagree.
2845 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2847 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2849 Change GtkToolItem to retrieve its properties from GtkToolShell
2850 interface, instead of relying on being child of a GtkToolbar.
2853 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2854 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2855 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2856 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2857 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2858 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2859 Take section docs from template file and update them for GtkToolShell.
2860 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2861 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2863 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2865 Extract loading of GtkPageSetup and GtkPrintSettings from their
2866 *_new_*() functions and move that code into separate
2867 *_load_*() functions (#475565).
2869 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2870 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2871 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2872 Change the matching *_new_*() functions to use those functions.
2874 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2877 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2879 2007-12-14 Kristian Rietveld <kris@imendio.com>
2881 * gtk/tests/liststore.c:
2882 * gtk/tests/treestore.c: added tests for insertion functions.
2884 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2886 * Add RandR 1.2 support
2888 - New monitors_changed signal - New API to get width/height of
2889 monitors, and the name of the plug
2891 2007-12-13 Kristian Rietveld <kris@imendio.com>
2893 * gtk/tests/liststore.c:
2894 * gtk/tests/treestore.c: test the move and swap functions on a
2895 store with only one node.
2897 2007-12-13 Kristian Rietveld <kris@imendio.com>
2899 * gtk/gtktestutils.c (gtk_test_init): add a call to
2902 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2905 2007-12-13 Kristian Rietveld <kris@imendio.com>
2907 * gtk/tests/liststore.c:
2908 * gtk/tests/treestore.c: start composing tests for the list and tree
2911 * gtk/tests/treeview-scrolling.c: added automated tests for
2912 GtkTreeView's scrolling "subsystem".
2914 * gtk/tests/Makefile.am: updated; added new test programs.
2916 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2918 Make the code compile again after the GdkAppLaunchContext changes.
2920 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2921 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2923 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2925 * gdk/gdkapplaunchcontext.c: Add docs
2927 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2929 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2930 in gdk, providing startup notification. (#503203)
2932 * gdk/x11/gdkapplaunchcontext-x11.c:
2933 * gdk/win32/gdkapplaunchcontext-win32.c:
2934 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2935 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2936 parts. All but X11 are just empty stubs for now.
2939 * gdk/gdkinternals.h:
2941 * gdk/x11/Makefile.am:
2942 * gdk/win32/Makefile.am:
2943 * gdk/quartz/Makefile.am:
2944 * gdk/directfb/Makefile.am: Necessary glue.
2946 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2948 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2950 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2952 * gdk/directfb/gdktestutils-directfb.c:
2953 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2954 which adds testing functions to the DirectFB backend.
2956 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2958 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2959 Ciccani which fixes the mixing of gdk and cairo rendering.
2961 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2963 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2964 on "drag-motion" handlers. Clearify documentation for
2967 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2969 * buildertest.c: made unnecessarily exported symbols static.
2970 switched g_return_if_fail() statements in tests to assertions.
2971 special cased currently failing Widget/accesibility test to
2972 run only for g_test_thorough(), so it doesn't break make check.
2973 some coding style fixes.
2975 * Makefile.am: added buildertest to TEST_PROGS.
2977 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2979 * docs/tutorial/gtk-tut.sgml:
2980 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2982 2007-12-10 Richard Hult <richard@imendio.com>
2984 * gdk/quartz/Makefile.am:
2985 * gdk/quartz/gdkquartz.h:
2986 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2987 header (bug #405915). Also add a getter for the toplevel nswindow.
2989 2007-12-10 Richard Hult <richard@imendio.com>
2991 * gdk/quartz/gdkdrawable-quartz.c:
2992 (gdk_quartz_drawable_get_context),
2993 (gdk_quartz_drawable_release_context):
2994 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2995 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2996 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2997 used for each drawing context and in prepare, dispatch and poll
2998 with one that exists across each main loop iteration. Fixes leaks
2999 on leopard and protects against future leaks introduce when the
3000 underlying system changes again (bug #492977).
3002 2007-12-10 Richard Hult <richard@imendio.com>
3004 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
3005 Fix the check for no changes to position and size.
3007 2007-12-10 Richard Hult <richard@imendio.com>
3009 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
3010 sized areas at (0, 0), patch from Paul Davis.
3012 2007-12-10 Richard Hult <richard@imendio.com>
3014 * gdk/quartz/gdkprivate-quartz.h:
3015 * gdk/quartz/gdkeventloop-quartz.c:
3016 (_gdk_quartz_event_loop_get_pending),
3017 (_gdk_quartz_event_loop_check_pending),
3018 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
3019 (gdk_event_check), (gdk_event_dispatch):
3020 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
3021 (_gdk_events_queue): Fix a bug where we could end up trying to
3022 handle the same event more than once. Based on patch from Paul
3025 2007-12-10 Tor Lillqvist <tml@novell.com>
3027 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
3030 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3032 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
3033 to avoid further fallout from the fix for bug 388321.
3035 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3037 * gdk/directfb/gdkgc-directfb.c:
3038 * gdk/directfb/gdkdrawable-directfb.c:
3039 * gdk/directfb/gdkdirectfb.h:
3040 * gdk/directfb/gdkwindow-directfb.c:
3041 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
3042 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
3043 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
3044 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
3045 which are expected to improve the performance of the DirectFB backend.
3046 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
3048 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3050 * gtk/gtkcontainer.c: Correct the documentation of child
3051 property getter arguments. (#501992, David Brigada)
3053 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3055 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
3056 leak pixbufs. (#502250, Yevgen Muntyan)
3058 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
3060 * gtk/gtkprintunixdialog.c:
3061 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
3062 Print and Page Setup dialogs (#502202).
3064 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3066 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3067 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3068 of XVFB_START, since it's the GTESTER invokation that needs this.
3070 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3072 * gdk-pixbuf/gdk-pixbuf.symbols:
3074 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3075 positives in abicheck.sh
3077 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3079 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3080 GDK events generations in the DirectFB backend.
3082 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3084 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3085 set of likely unused display ids, because MacOS has no seq(1) command.
3087 2007-12-06 Richard Hult <richard@imendio.com>
3089 * gdk/quartz/gdkevents-quartz.c:
3090 (synthesize_crossing_events_for_ns_event): Fix warning when
3091 switching spaces in leopard.
3093 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3095 * tests/floatingtest.c: ported to new testing framework.
3097 * tests/Makefile.am: run floatingtest as testing framework test.
3099 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3101 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3102 timeouts and converting main loop sleeps to pending/iterate loops with
3103 very low priority async handlers. eliminate output for non-verbose
3104 tests. assert successfull subtests in all test functions. use testing
3105 framework in main().
3107 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3108 executed inside Xvfb upon make check.
3110 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3112 * tests/objecttests.c: use string comparisons for string property
3113 values and get rid of referencing symbols in array initialization.
3115 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3117 * gtk+/Makefile.decl: run tests in current dir after setting up the
3118 logging directory, so their results get properly merged into the
3121 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3122 tests to loop over registered Gdk/Gtk+ types.
3124 * gtk+/tests/objecttests.c: new test program, implements automated
3125 property tests. several properties are blacklisted because they
3126 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3127 can be used to test blacklisted properties and see which proprty failed.
3129 2007-12-04 Richard Hult <richard@imendio.com>
3131 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3132 Fully initialize the root window, fixes bug #501583.
3134 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3136 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3139 2007-12-03 Richard Hult <richard@imendio.com>
3141 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3142 Don't crash when dragging from a source that doesn't support uri
3143 lists (bug #499868, Paul Davis).
3145 2007-12-03 Richard Hult <richard@imendio.com>
3147 * gdk/quartz/gdkwindow-quartz.c:
3148 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3149 parent relative bg pixmap is set, and no parent has a bg
3150 pixmap. Fixes bug #500804.
3152 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3154 Two optimizations for icon cache lookups.
3156 * gtk/gtkiconcache.[hc]:
3157 * gtk/gtkicontheme.c: Remember the directory index for
3158 subdirectories, instead of running over the directory list
3161 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3162 chain and try it first; this helps with the the usage patterns
3163 in gtkicontheme.c, where the same icon is queried for a lot
3166 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3168 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3169 functions from header files. this should be portable across linux and
3170 Mac OS, unlike the previpous sed expression.
3172 2007-12-1 Cody Russell <bratsche@gnome.org>
3174 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3175 On Windows, queue a redraw of child2 whenever we set
3176 the pane handle position. This is unfortunately kind
3177 of hacky, but solves the visual artifacts that were
3178 occuring on at least certain types of child widgets
3179 (e.g., text views and tree views) that are inside
3180 horizontal or vertical panes. (#144269)
3182 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3184 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3186 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3188 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3191 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3193 * gtk/Makefile.am: Fix ordering of subdirs.
3195 2007-11-28 Tor Lillqvist <tml@novell.com>
3197 A proper build of GNU libintl is supposed to export the variable
3198 _nl_msg_cat_cntr. configure looks for that variable in order to
3199 recognize GNU gettext. If it sees that it is indeed GNU gettext
3200 that is used, it decides to install message catalogs in
3201 share/locale, otherwise in lib/locale. Until now on Windows I have
3202 built GTK+ against a build of GNU gettext that did not export
3203 _nl_msg_cat_cntr. But this will change, so we can't assume message
3204 catalogs are always in lib/locale.
3206 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3207 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3208 before the inclusion of gtkprivate.h so that it sees the original
3211 * gtk-zip.sh.in: Check whether the message catalogs are in
3212 share/locale or lib/locale.
3214 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3215 that the code in _gtk_get_localedir() will find the slashes.
3217 2007-11-28 Tor Lillqvist <tml@novell.com>
3219 * gtk/Makefile.am: Improve portability. The -o option is present
3220 only in newish GNU egreps. Use one more sed in the pipeline
3223 2007-11-28 Tor Lillqvist <tml@novell.com>
3225 Fix #375893, patch by Ben Hague:
3227 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3228 around GetLogicalDrives() that takes also the viewable drive
3229 restrictions in the Registry (which are usually the result of an
3230 Active Directory Group Policy) into account.
3232 (check_volumes, gtk_file_system_win32_list_volumes) Call
3233 get_viewable_logical_drives() instead of GetLogicalDrives().
3235 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3237 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3238 variables to silence valgrind. (#495124, Morten Welinder)
3240 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3242 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3243 that the construct_child function is responsible for returning a
3245 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3246 objects from constructors
3247 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3248 g_object_ref() to this construction function (it's the only
3253 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3255 * gtkbuilder.c: remove concept of root objects and just refcount
3256 all objects in the builder. Fixes #496651.
3258 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3260 * tests/buildertest.c (test_window): fix invalid free
3262 2007-11-26 Josselin Mouette <joss@malsain.org>
3264 reviewed by: Federico Mena Quintero
3266 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3267 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3268 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3269 Make the shortcuts activate with a single click. (#148828)
3270 Fix a few things affected by the change:
3271 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3272 where no shortcut is selected.
3273 - Don't activate a shortcut in the response callback.
3274 - Filter out duplicate entries in volumes and bookmarks to
3275 avoid the selection to change when reordering them with DnD.
3277 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3280 * gtk/gtknotebook.c:
3281 * gtk/gtkplugprivate.h:
3283 * gtk/gtksocketprivate.h:
3284 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3286 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3288 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3289 (#495574, Richard Hult)
3291 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3293 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3294 String change ! (#376361, Sven Neumann)
3296 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3298 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3300 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3303 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3305 * gtk/gtkassistant.c: Improve alternative button
3306 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3308 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3310 * gtk/gtkcalendar.c: Fix a theming problem with colors
3311 in GtkCalendar. (#499703, Michael Hofmann)
3313 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3315 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3317 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3319 Use templates for glib-mkenums calls instead of
3320 complicated commandlines in Makefiles. (#429910)
3322 * gdk-pixbuf/Makefile.am:
3325 * perf/Makefile.am: Use templates for glib-mkenums
3327 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3328 * gdk/gdkenumtypes.[ch].template:
3329 * gtk/gtktypebuiltings.[ch].template:
3330 * perf/typebuiltins.[ch].template: The templates
3332 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3334 * gtk/gtkfilechooserbutton.c:
3335 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3336 some compilers choke on that. (#467722)
3338 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3340 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3341 about hook setup. (#425004, Emmanuele Bassi)
3343 2007-11-26 Tor Lillqvist <tml@novell.com>
3345 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3346 monitor the window currently is on, not always the primary
3347 monitor. (#463865, Tim Evans)
3349 2007-11-26 Tor Lillqvist <tml@novell.com>
3351 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3353 * gdk/win32/Makefile.am: Add it.
3355 2007-11-26 Tor Lillqvist <tml@novell.com>
3357 * configure.in: Don't add jasper to all_loaders if no libjasper.
3359 2007-11-25 Bastien Nocera <hadess@hadess.net>
3361 * configure.in: Add detection for libjasper, used by the
3362 gdk-pixbuf JPEG2000 loader
3364 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3366 * configure.in: Require gtk-doc 1.8
3368 * */*.c: Use gtk-doc abbreviations for examples in docs.
3370 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3372 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3375 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3377 * gtk/gtkdialog.c: Move signal and property documentation inline,
3378 fix a problem with the ::response signal docs. (#499133, Josselin
3381 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3383 * Makefile.decl: initialize automake variables EXTRA_DIST and
3384 TEST_PROGS for unconditional appending via += in other makefiles.
3385 define recursive test targets: test, test-report, perf-report,
3386 full-report, as described here:
3387 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3388 the test targets will execute Gtk+ test programs within an Xvfb session.
3390 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3392 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3393 g_test_run() to run the tests to integrate with the testing framework.
3395 * gtk/tests/Makefile.am: removed exemplary testing rules.
3397 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3398 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3399 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3400 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3401 * docs/reference/Makefile.am, docs/tools/Makefile.am:
3402 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3403 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3404 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3405 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3406 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3407 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3408 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3409 * modules/engines/ms-windows/Theme/Makefile.am:
3410 * modules/engines/ms-windows/Makefile.am:
3411 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
3412 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3413 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3414 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3415 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3416 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3417 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3419 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3421 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3422 (#485662, patch by Herbert Valerio Riedel)
3424 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3426 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
3428 2007-11-21 Richard Hult <richard@imendio.com>
3430 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3431 stubs for the testing functions to fix the build.
3433 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3435 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3436 (#467711, The Written Word)
3438 2007-11-21 Ross Burton <ross@openedhand.com>
3440 * gdk/x11/gdksettings.c:
3441 Add xsetting for gtk-scrolled-window-placement (#458103).
3443 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3445 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3446 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3447 (#469239, Michael Natterer)
3449 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3451 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3452 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3453 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3454 (#436536, Tommi Komulainen)
3456 2007-11-21 Matthias Clasen <mclasen@redhat.com>
3458 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3459 property. (#489782, Jan Janech)
3461 2007-11-20 Matthias Clasen <mclasen@redhat.com>
3463 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3464 frames. (#107398, Owen Taylor, Miguel Gomez)
3466 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3468 Moved Gdk test functions from Gtk+ to Gdk test utils.
3470 * gdk/Makefile.am: added gdktestutils.h to public includes.
3472 * gdk/gdk.h: added gdktestutils.h to public includes.
3474 * gdk/gdk.symbols: added gdk_test_simulate_button,
3475 gdk_test_simulate_key, gdk_test_render_sync.
3477 * gdk/gdktestutils.h: new file, added prototypes for
3478 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3480 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3482 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3483 gdk_test_simulate_key, gdk_test_render_sync.
3485 * gtk/gtktestutils.c:
3486 * gtk/gtktestutils.h:
3487 * gtk/gtk.symbols: removed gtk_test_simulate_button
3488 gtk_test_simulate_key, gtk_test_xserver_render_sync.
3490 * gtk/tests/testing.c: call gdk_test_render_sync.
3492 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3494 Added unit tests for Gtk+ testing utilities.
3496 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3497 utility functions. some g_test_* related portions are disabled and need
3498 to be enabled once Gtk+ depends on a new glib with the GLib testing
3499 framework integrated.
3501 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3502 tests. added exemplary test rules to run tests inside Xvfb. this
3503 needs to depend on gtester for full fledged testing.
3505 * gtk/Makefile.am: build gtk+/gtk/tests, define
3506 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3507 e.g. gtk_text_get_type().
3509 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3511 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3513 Added Gtk+ testing utilities.
3515 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3516 functions. for the most part, the functions herein involve
3517 navigating and interacting with dialog elements programatically,
3518 to automate user interaction tests of dialogs and widgets.
3520 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3522 * gtk/gtk.symbols: added gtk_test_* symbols.
3524 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3525 the build. generate gtktypefuncs.c which contains a list of all
3526 _get_type functions in Gtk+ and Gdk.
3528 2007-11-20 Bastien Nocera <hadess@hadess.net>
3530 * configure.in: add support for conditional icns gdk-pixbuf loader
3533 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3535 * configure.in: updated version number to 2.15.0 for development.
3537 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3539 === Branch for 2.12 ===