1 2008-05-04 Richard Hult <richard@imendio.com>
3 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
4 semicolon after if statement. Fixes bug #530963, patch from Yevgen
7 2008-05-02 Michael Natterer <mitch@imendio.com>
9 * gtk/gtk.h: add 15 files that were missing (they all got included
10 indirectly by including gtk.h, so should have been here in the
13 2008-05-02 Michael Natterer <mitch@imendio.com>
15 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
17 2008-05-01 Richard Hult <richard@imendio.com>
19 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
20 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
22 2008-05-01 Matthias Clasen <mclasen@redhat.com>
24 * modules/imput/imthai.c: Register the right translation domain.
26 2008-04-30 Matthias Clasen <mclasen@redhat.com>
28 Bug 529386 – Printing options hidden by blacklisted option
30 * modules/printbackend/cups/gtkprintbackendcups.c
31 (cups_printer_get_options): Fix the blacklist handling.
34 2008-04-30 Richard Hult <richard@imendio.com>
36 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
39 2008-04-30 Richard Hult <richard@imendio.com>
41 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
42 nsevents with the gdk lock held, fixes deadlock when doing manual
43 window resizing with threading enabled.
45 2008-04-30 Richard Hult <richard@imendio.com>
47 * gdk/quartz/gdkevents-quartz.c:
48 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
49 Alt to Alt and Cmd to Meta. This is not only more logical but also
50 makes it easier to have Mac-like behavior.
52 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
54 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
55 painting the flat box instead of recalculating it. (#437493,
58 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
60 Bug 529841 – incorrect position in directfb
62 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
64 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
66 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
68 2008-04-25 Michael Natterer <mitch@imendio.com>
70 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
71 <pango/pango-layout.h>.
73 * gtk/gtkiconfactory.c
77 * gtk/queryimmodules.c: remove inclusion of single files from
78 pango, none of them was actually needed.
80 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
81 <pango/pango-utils.h>.
83 2008-04-25 Michael Natterer <mitch@imendio.com>
85 * gdk/gdkfont.h: include <pango/pango.h> instead of
88 2008-04-25 Michael Natterer <mitch@imendio.com>
90 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
93 2008-04-21 Michael Natterer <mitch@imendio.com>
95 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
96 crashing when NULL pointers get passed.
98 2008-04-18 Michael Natterer <mitch@imendio.com>
100 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
101 here have the same style.
103 2008-04-18 Michael Natterer <mitch@imendio.com>
106 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
109 * gtk/gtkbuilderparser.c
110 * gtk/gtklinkbutton.c
112 * gtk/gtkrecentchooserdefault.c
113 * gtk/gtkrecentchoosermenu.c
114 * modules/input/gtkimcontextthai.c: remove inclusion of single
115 files from gdk, none of the includes was actually needed.
117 2008-04-18 Michael Natterer <mitch@imendio.com>
119 * gdk/gdk.h: reorder one include so they are all alphabetical.
121 2008-04-18 Michael Natterer <mitch@imendio.com>
123 * modules/printbackends/cups/gtkprintercups.[ch]
124 (gtk_printer_cups_get_ppd_name): change return value and local
125 variable to const gchar* to fix warning about discarding const
128 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
130 * gtk/gtkrecentmanager.c:
131 (gtk_recent_manager_set_filename): Keep the default storage
132 file in $HOME, as we don't have a migration code in place yet.
134 2008-04-18 Michael Natterer <mitch@imendio.com>
136 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
137 g_strfreev() the uris returned by g_bookmark_file_get_uris().
139 2008-04-17 Michael Natterer <mitch@imendio.com>
141 * gtk/gtkiconfactory.c (get_default_icons): register the
142 GTK_STOCK_PAGE_SETUP icon.
144 2008-04-17 Michael Natterer <mitch@imendio.com>
146 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
147 g_return_if_fail(tooltips != NULL);
149 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
151 * gtk/gtkwindow.c: Chain up in buildable_finish()
153 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
154 cases where g_path_get_dirname() returns "."
156 * docs/reference/gtk/tmpl/gtklabel.sgml,
157 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
158 for the <attributes> tags on GtkLabel
160 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
162 * gtk/gtkrecentmanager.c:
163 (gtk_recent_manager_real_changed): Fix last commit, and
164 complete the gtk-recent-files-max-age semantics: if the
165 property is set to 0 then purge the list.
167 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
169 Bug 488507 – boundless growth of .recently-used.xbel file
170 slows down applications
172 * gtk/gtkrecentmanager.c:
173 (gtk_recent_manager_init),
174 (gtk_recent_manager_real_changed),
175 (gtk_recent_manager_set_filename),
176 (gtk_recent_manager_clamp_to_age): Clamp the recently
177 used resources list by the age of its items, using
178 the newly added GtkSettings property.
180 * gtk/gtksettings.c (gtk_settings_class_init): Add the
181 gtk-recent-files-max-age property, controlling the
182 maximum age of the items in the recently used resources
185 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
187 * gtk/gtkrecentmanager.c:
188 (gtk_recent_manager_add_item_query_info),
189 (gtk_recent_manager_add_item): Emit the ::changed signal
190 at the end of the asynchronous MIME type query.
192 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
194 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
197 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
198 changes in the recently used resources storage file, and
199 drop the timeout-based poll.
201 * ChangeLog: Fix attribution of the patch of the previous
204 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
206 Bug 506062 – gtk_recent_manager_add_item does not detect mime
209 * configure.in: Depend on gio-2.0
211 * gtk/gtkrecentmanager.c:
212 (gtk_recent_manager_add_item_query_info_cb),
213 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
214 query the MIME type of the passed URI (based on a patch by
217 2008-04-11 Carlos Garnacho <carlos@imendio.com>
219 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
220 page to visited page list instead of next current page. (#527466,
221 patch by Marcus Brinkmann)
223 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
225 * gtk/gtklabel.c: Added <attributes> / <attribute>
226 custom tags to parse pango attributes into labels.
228 * tests/buildertest.c: Added tests for GtkLabel custom
231 2008-04-10 Carlos Garnacho <carlos@imendio.com>
233 * gtk/gtknotebook.c (hide_drag_window): Do not call
234 gtk_widget_set_parent_window(), using widget->window instead of NULL
235 to unset is the wrong thing, and gtk_widget_unparent() will already
236 take care of this (#467698, patch by Sébastien Granjoux)
238 2008-04-08 Tor Lillqvist <tml@novell.com>
240 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
241 these functions with G_MODULE_EXPORT.
243 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
245 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
246 (gtk_file_system_volume_render_icon):
247 Fix fallback icon rendering size
249 2008-04-08 Michael Natterer <mitch@imendio.com>
251 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
252 touchscreen-mode keynav corner case: when navigating to the parent
253 menu, make sure we don't close two menus at the same time in case
254 the deepest open menu has no selectable items.
256 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
258 * gtk/gtkwidget.c: Clarified a g_warning message regarding
259 parsing accelerators from builder files.
261 2008-04-03 Cody Russell <bratsche@gnome.org>
263 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
264 of the block. (#526021, reported by Kazuki IWAMOTO)
266 2008-04-03 Tor Lillqvist <tml@novell.com>
268 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
271 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
272 workaround for a specific kind of screwed up locale setting.
274 2008-04-02 Matthias Clasen <mclasen@redhat.com>
276 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
277 colormaps. Found by Daniel Berrange.
279 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
281 * tests/autotestfilechooser.c: Cover
282 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
283 name. (#346058, Joe Halliwell)
285 2008-04-02 Federico Mena Quintero <federico@novell.com>
287 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
288 chooser incorrectly substitutes and expands a ~ when you type it
289 in the filename entry.
291 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
292 basenames result in a slash-terminated pathname.
293 gtk_file_system_unix_parse() is correct, but it was splitting
294 "/home/username" into path="/home" and file_part="username", which
295 is not what the caller wants when the entry has just "~" or
298 2008-04-02 Tor Lillqvist <tml@novell.com>
300 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
301 and gtksearchenginetracker.c on Windows.
303 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
306 2008-04-01 Cody Russell <bratsche@gnome.org>
308 * configure.in: Bump required Cairo to 1.5.2.
310 * gtk/gtkprintoperation-win32.c: Add support for using the new
311 cairo_win32_printing_surface for printing. Also fixed to use
312 cairo_surface_show_page(). (#488833 and #521178)
314 2008-03-31 Cody Russell <bratsche@gnome.org>
316 * demos/gtk-demo/printing.c (draw_page): Move down each line in
317 units of text_height rather than in units of data->font_size.
318 (totally awesome catch by Dom Lachowicz)
320 2008-03-28 Richard Hult <richard@imendio.com>
322 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
323 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
324 event to the mainloop and don't generate one at all if the
325 toplevel didn't change. Use the actual window and not the toplevel
326 as event window. These changes make the generated crossing events
327 match the X11 behavior and fixes issues with e.g. tooltips,
328 comboboxes and menus.
330 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
331 the view has no window, it will be updated as soon as it's put
334 * gdk/quartz/gdkwindow-quartz.c:
335 (_gdk_quartz_window_debug_highlight): Make it possible to track
336 multiple windows with debug highlighting.
337 (show_window_internal): Remove workaround for tooltips and popups
338 that is no longer needed with the above changes.
340 2008-03-26 Federico Mena Quintero <federico@novell.com>
342 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
343 helper function; factored out from the functions that commit the
344 current suggested autocompletion and that refresh the entry's paths.
345 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
346 (_gtk_file_chooser_entry_get_file_part): Likewise.
347 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
348 makes the entry have the correct paths when *not* using any form
349 of completion (and makes the file chooser work when clicking the
352 2008-03-25 Richard Hult <richard@imendio.com>
354 * gdk/quartz/gdkevents-quartz.c:
355 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
356 can't find a matching window.
358 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
359 comment, and only trigger an event for non-temp windows, fixes
360 problems for tooltips caused by the workarounds for the
361 problematic tracking rect API.
363 2008-03-25 Richard Hult <richard@imendio.com>
365 * gdk/quartz/gdkwindow-quartz.c:
366 (gdk_window_quartz_process_all_updates): Plug a leak and add a
367 check that we have a toplevel before accessing it.
369 2008-03-24 Tor Lillqvist <tml@novell.com>
371 Bug 524151 - Dragging of 0-byte files results in an empty filename
372 on Windows XP and above
374 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
375 being empty first. For some reason ISHellLink and IPersistFile
376 succeeds in interpreting empty files as shortcuts, claiming the
377 target of the shortcut is an empty path.
379 Change the function to take the wide character file name that the
380 caller already has anyway, to avoid a superfluous conversion from
383 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
385 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
386 against NULL pointer. (#467051, Gian Mario Tagliaretti)
388 2008-03-23 Cody Russell <bratsche@gnome.org>
390 * gdk/win32/gdkevents-win32.c (show_window_recurse):
391 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
392 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
393 menus from a maximized window would force the window to restore
396 2008-03-23 Johan Dahlin <johan@gnome.org>
398 * gtk/gtk-builder-convert:
399 Properly convert GtkImageMenuItems which use stock labels but don't
401 (#523932, Brian Pepple)
403 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
405 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
406 New function implements GtkCellLayoutClass::get_cells. (#523787)
408 2008-03-22 Tor Lillqvist <tml@novell.com>
410 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
412 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
413 GDK_THREADS_LEAVE() call. Approved by mclasen.
415 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
417 * gtk/gtkexpander.c (gtk_expander_get_label):
418 gtk_label_get_label() should be used instead of
419 gtk_label_get_text(). (#353088, Xan Lopez)
421 2008-03-21 Tor Lillqvist <tml@novell.com>
423 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
424 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
425 gdip-pixbuf-loader module.
427 * configure.in: Add switch --disable-gdiplus-loaders that disables
428 building of the GDI+ loaders.
430 When including loaders in the gdk-pixbuf library, and building
431 GDI+ loaders, either build in all the GDI+ loaders or none of
432 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
433 signal building them in.
435 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
436 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
437 indicate whether they should be built-in.
439 For the rest of the changes, see gdk-pixbuf/ChangeLog.
441 2008-03-20 Tor Lillqvist <tml@novell.com>
443 * gtk/Makefile.am: Revert accidental change that went in as part
444 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
445 Darwin. On Windows one has to use a newer GNU grep that has -o,
446 for instance the one from gnuwin32, instead of the oldish one in
447 MSYS that doesn't have -o.
449 2008-03-20 Tor Lillqvist <tml@novell.com>
451 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
452 pass NULL for %s to g_message().
453 (main): Drop unnecessary call to gtk_widget_destroy().
455 2008-03-20 Tor Lillqvist <tml@novell.com>
457 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
459 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
460 in one dimension, or centered in case it doesn't fit.
461 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
464 2008-03-18 Tor Lillqvist <tml@novell.com>
466 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
468 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
469 G_MODULE_ENTRY decoration can be put in a more correct place.
471 2008-03-18 Sven Neumann <sven@gimp.org>
473 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
474 alternative button order on the password dialog.
476 2008-03-18 Tor Lillqvist <tml@novell.com>
478 Bug 99192 - Add --with-include-input-modules
480 * configure.in: Add --with-included-immodules switch. Handled in a
481 similar way as the --with-included-loaders switch. For each input
482 method module foo: Collect the list of input modules to be built
483 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
484 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
485 Define Automake conditionals INCLUDE_IM_FOO.
487 * modules/input/Makefile.am: For modules to be included in libgtk,
488 build a static library.
490 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
491 gdk-pixbuf to get unique names for the functions called by libgtk
492 in the included case. Use G_MODULE_EXPORT in the non-included case
493 so that we don't unnecessarily export unneeded random global
496 * gtk/Makefile.am: Build the included modules and link them into libgtk.
498 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
499 copy/paste leftover mentions of "themes" in comments.
501 2008-03-18 Tor Lillqvist <tml@novell.com>
503 * tests/Makefile.am: Build testmountoperation only on Unix for now.
505 2008-03-17 Christian Kellner <gicmo@gnome.org>
507 Implement GtkMountOperation, a subclass of GMountOperation
508 to be used with gio wherever there is the need to ask the
509 user for credentials or questions while mounting a volume.
512 * gtk/gtkmountoperation.c:
513 * gtk/gtkmountoperation.h:
514 Implement GtkMountOperation.
516 * gtk/gtk.h: Add gtkmountoperation.h
517 * gtk/Makefile.am: Add gtkmountoperation.[hc]
518 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
519 * tests/testmountoperation.c: Test program for it.
520 * tests/Makefile.am: Add testmountoperation.
522 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
524 * gtk/gtkcontainer.c: Properly document
525 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
527 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
529 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
530 style names for the ComboBox thickness style
532 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
534 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
535 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
536 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
537 intelligent separation for the xp theming engine and the classic
538 theme while drawing the GtkComboBox button. combobox_draw_arrow
539 is not used anymore, commented. The style has been updated to fix
540 border/thickness glitches in the combobox according to the fixes
541 commited regarding bug #521442. (bug #461805)
543 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
545 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
546 now aware of both the combobox and frame (if has-frame is set)
547 thickness and border. (bug #521442)
549 2008-03-15 Andre Klapper <a9016009@gmx.de>
551 * configure.in: Added "si" to ALL_LINGUAS.
553 2008-03-15 Matthias Clasen <mclasen@redhat.com>
555 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
556 Set window type hint on the search popup. (#522279, Danny Baumann)
558 2008-03-15 Matthias Clasen <mclasen@redhat.com>
560 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
561 appropriate. (#521934, Huang Peng)
563 2008-03-14 Michael Natterer <mitch@imendio.com>
566 * gtk/gtkbuilderprivate.h
567 * gtk/gtkfilechoosersettings.c
568 * gtk/gtksearchenginesimple.c
569 * gtk/tests/liststore.c
570 * gtk/tests/treestore.c: remove single-file includes of GLib
571 headers or replace them by <glib.h> where needed.
573 2008-03-14 Michael Natterer <mitch@imendio.com>
575 * gtk/gtkadjustment.c: coding style cleanup.
577 (gtk_adjustment_set_property): no need to call g_object_notify()
578 on the set properties.
580 Implement GObject::dispatch_properties_changed() and make sure we
581 emit "changed" when anything but the "value" property changes.
583 2008-03-14 Tor Lillqvist <tml@novell.com>
585 * gdk/win32/gdkevents-win32.c: Drop the support for the
586 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
587 Win95. Thanks to mitch for noticing this obsolete code.
589 2008-03-14 Cody Russell <bratsche@gnome.org>
591 * examples/scribble-xinput/scribble-xinput.c: Changed
592 'void int main()' to 'int main()'. (#522211, Liqing Huang)
594 2008-03-14 Richard Hult <richard@imendio.com>
596 * gdk/quartz/gdkwindow-quartz.c:
597 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
598 only flush the toplevel once per update.
600 2008-03-13 Federico Mena Quintero <federico@novell.com>
602 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
603 Set the mouse cursor of the feedback window to invisible, so that
604 we respect GtkEntry's invisible cursor while typing.
606 2008-03-13 Federico Mena Quintero <federico@novell.com>
608 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
609 the feedback window at entry_height/2 pixels to the right of the
610 cursor, for a cheap "M-width / 2" spacing.
612 2008-03-13 Sven Neumann <sven@gimp.org>
614 * gtk/gtkfilechooserdefault.c
615 * gtk/gtkprintunixdialog.c: set alternative button order for
616 overwrite confirmation dialogs (bug #522191).
618 2008-03-13 Sven Neumann <sven@gimp.org>
620 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
621 (overwrite_confirmation_dialog): added some line-breaks for
624 2008-03-12 Federico Mena Quintero <federico@novell.com>
626 Rework the way completion works in GtkFileChooserEntry. Fixes
627 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
628 Tab completion should work even if the cursor is not at the end of
631 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
634 We distinguish between two cases:
636 - autocompletion - happens only in the Open modes by
637 inserting and selecting the common prefix as you type.
639 - explicit completion - happens when you hit Tab.
641 When some type of completion needs to happen, the entry first
642 parses its input and sees if it needs to initiate a folder load.
643 Completion will not happen until the folder finishes loading.
645 If the folder is already completely loaded, then completion is
646 performed immediately. Otherwise, the entry queues a pending
647 completion and starts loading the new folder (or waits until the
648 current folder is completely loaded).
650 Tab completion is allowed to happen even if the cursor is not at
651 the end of the entry.
653 There is a new feedback mechanism for explicit completion, so that
654 you will get an Emacs-like tip whenever there are ambiguities in
655 completion, no matches, etc. (This needs to be polished so that
656 we support RTL entries and all the fancy Pango layout in GtkEntry).
658 The only remaining thing to fix is the popup suggestion window.
659 Unfortunately, GtkEntryCompletion does not let us do what we want,
660 and will need further changes.
662 2008-03-12 Tor Lillqvist <tml@novell.com>
664 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
666 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
667 for the TaskbarCreated message in the window procedure for the
668 dummy "tray observer" window we create. When we get a
669 TaskbarCreated message, iterate over the status icons and re-add
670 them to the task bar, and update them by calling
671 gtk_status_icon_update_image().
673 Move some ifdefs around to avoid unused functions.
675 2008-03-12 Tor Lillqvist <tml@novell.com>
677 * config.h.win32.in: Update to match what configure produces.
679 2008-03-12 Jens Granseuer <jensgr@gmx.net>
681 * modules/printbackends/cups/gtkprintbackendcups.c:
682 (cups_printer_prepare_for_print): Don't define variables in the
683 middle of a block. (#522067)
685 2008-03-12 Matthias Clasen <mclasen@redhat.com>
687 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
688 dialog for print-to-file. (#474302, Marek Kašík)
690 2008-03-12 Matthias Clasen <mclasen@redhat.com>
692 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
693 (#469210, Wouter Bolsterlee)
695 2008-03-12 Matthias Clasen <mclasen@redhat.com>
697 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
698 paper_size here. (#488820, Morten Welinder)
700 2008-03-12 Michael Natterer <mitch@imendio.com>
702 * acconfig.h: remove this deprecated file.
704 * configure.in: added comments to all instances of AC_DEFINE() so
705 config.h can be completely generated from configure.in.
707 2008-03-12 Michael Natterer <mitch@imendio.com>
709 * modules/printbackends/cups/gtkprintbackendcups.c: include
710 <glib/gstdio.h> for g_fopen().
712 2008-03-11 Matthias Clasen <mclasen@redhat.com>
714 * modules/printbackends/cups/gtkprintbackendcups.c: Use
715 g_ascii_formatd when formatting custom paper sizes, since
716 cups doesn't handle , as decimal separator. (#521548)
718 2008-03-11 Tor Lillqvist <tml@novell.com>
720 Bug 469868 - Filenames with colon ":" are not saved correctly
722 * gtk/gtkfilechooserentry.c (insert_text_callback)
723 (delete_text_callback) [Win32]: New functions to make sure that
724 colons used otherwise than as a separator after a drive letter, or
725 characters that are always illegal in file names, are rejected on
726 input. This means that the GTK+ file chooser can't be used to
727 input full names of alternate data streams, but oh well. There are
728 still more checks that could be done on the file names, see the
729 bug report. But this will do for now.
730 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
732 2008-03-11 Jordi Mallach <jordi@sindominio.net>
734 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
736 2008-03-11 Michael Natterer <mitch@imendio.com>
738 * gdk/linux-fb/*: removed linux-fb backend files.
742 * docs/README.linux-fb
743 * gtk/Makefile.am: remove remaining traces of linux-fb.
745 * gtk/gtkwindow-decorate.c: same here. There is some code that
746 calls into linux-fb to set window move/resize callbacks. I put it
747 in #if 0 as a reminder because we did use decorated windows with
748 the DirectFB backend and it did work, so I don't really know why
749 this code is needed or how it could work with DirectFB back then.
750 The file does actually compile now if DECORATE_WINDOWS is defined,
751 but I didn't test with DirectFB to check if it does anything.
753 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
755 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
756 Take thickness into account in the size allocation of the child widgets in
760 2008-03-11 Richard Hult <richard@imendio.com>
762 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
764 2008-03-10 Tor Lillqvist <tml@novell.com>
766 * tests/teststatusicon.c (do_exit, popup_menu): Add the
767 possibility to test what happens if the process just calls exit()
768 without any orderly cleanup of GTK+.
770 2008-03-10 Tor Lillqvist <tml@novell.com>
772 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
774 2008-03-10 Tor Lillqvist <tml@novell.com>
776 Bug 520286 - Non-deletable window has no minimize / maximize buttons
778 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
779 New debugging output function that decodes a set of WS_* bits.
781 * gdk/win32/gdkprivate-win32.h: Declare it.
783 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
784 New function that enables or disables one menu entry in the system
785 menu of a top-level window. (The corresponding decoration will
786 then also be enabled or disabled (grayed).)
788 (update_style_bits): Do as the comment says and don't try to
789 update the window style based on the GdkWMFunctions set for the
792 (update_system_menu): New function that enables or disables the
793 system menu entries based on a window's stored set of
796 (gdk_window_set_functions): Call update_system_menu() instead of
799 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
801 * README.in: Reword the 2.14 release notes entry about the
802 deprecation of the gtkitemfactory.h header, and fix typos
805 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
807 * modules/engines/ms-windows/msw_style.c (draw_shadow):
808 Do not draw frame if parent if combobox.
810 Uses scrollbar width system metrics for combobox button.
811 Fixes #461805 for XP theme engine.
813 2008-03-07 Johan Dahlin <johan@gnome.org>
816 * gtk/gtkbuilderparser.c:
817 * gtk/gtkbuilderprivate.h:
818 * gtk/gtkiconfactory.c:
819 * tests/buildertest.c:
820 - Treat enums like enums and not values
821 - Avoid invalid free, in case of more than two sources
822 - Add better error messages
823 - Add much improved tests
824 (#520979, Christian Persch)
826 2008-03-07 Carlos Garnacho <carlos@imendio.com>
828 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
831 2008-03-06 Federico Mena Quintero <federico@novell.com>
833 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
834 GtkFileChooserDialog should set a default response button if the
835 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
837 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
838 function, refactor from where there was duplicated code.
839 (gtk_file_chooser_dialog_map): Look at the buttons in our
840 action_area. If the response ID for a button is one of the stock
841 ones, make it the default response button.
843 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
845 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
847 * gtk/gtkbuilderprivate.h:
848 * gtk/gtkiconfactory.c:
849 * tests/buildertest.c:
850 Implement GtkBuildable on GtkIconFactory, to make
851 it possible to register custom stock icons.
854 2008-03-06 Johan Dahlin <johan@gnome.org>
858 * gtk/gtkstyle.c: npoints->n_points.
859 * gtk/gtktestutils.h: widget->spinner
860 * gtk/gtktestutils.c: argc->argcp, argv->argvp
862 2008-03-06 William Lachance <wrlach@gmail.com>
864 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
865 string localizable (as it should be).
867 2008-03-06 William Lachance <wrlach@gmail.com>
869 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
870 the time for today's date. It's redudant. (see bug #410517).
872 2008-03-06 Xan Lopez <xan@gnome.org>
874 * gtk/gtkfixed.c: fix typo in documentation.
876 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
878 * gtk/gtkitemfactory.h:
879 * gtk/gtktypeutils.h:
880 Move GtkTranslateFunc to gtktypeutils.h so we can completely
881 deprecate gtkitemfactory.h.
883 * gtk/gtkactiongroup.h:
885 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
888 Add a note describing this slight incompatible change
890 2008-03-06 Johan Dahlin <johan@gnome.org>
892 * gtk/gtkpreview.h: Avoid double-deprecation.
894 2008-03-06 Michael Natterer <mitch@imendio.com>
897 * gtk/Makefile.am: move the remaining deprecated widgets to the
898 separate sections and replaced spaces by tabs in Makefile.am
900 2008-03-05 Johan Dahlin <johan@gnome.org>
902 * configure.in: Add --disable-cups option.
903 (#513826, Alberto Ruiz)
907 Separate broken and deprecated sources and headers into different sections
909 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
911 2008-03-05 Kristian Rietveld <kris@imendio.com>
913 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
914 short-circuit in case an empty root level would be build (and thus
915 directly destroyed) if no virtual root has been set.
917 2008-03-04 Matthias Clasen <mclasen@redhat.com>
919 * modules/printbackends/cups/gtkprintbackendcups.c:
920 Honor cups user default options from ~/.cups/lpoptions
921 (#469210, Stijn Hoop)
923 2008-03-04 Michael Natterer <mitch@imendio.com>
926 * gtk/gtkcolorbutton.c
927 * gtk/gtkentrycompletion.c
928 * gtk/gtkfontbutton.c
932 * gtk/gtkpreview.c: don't include "gtksignal.h".
934 * gtk/gtkfilefilter.c
935 * gtk/gtkrecentchoosermenu.c
936 * gtk/gtkrecentfilter.c
937 * gtk/gtktext.c: don't include "gtkobject.h".
939 2008-03-04 Simos Xenitellis <simos@gnome.org>
941 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
942 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
944 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
947 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
948 file, contains compose sequences that used to exist in
949 gtk/gtkimcontextsimple.c
951 * gtk/compose-parse.py: Script to generate compose
952 sequences from upstream (Xorg).
954 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
955 check_algorithmically): New functions. First two search in
956 gtk_compose_seqs_compact[] for matching compose sequence, third
957 tries NFC normalisation on incoming compose sequence.
958 (gtk_im_context_simple_filter_keypress):
959 Adds searching with check_compact_table(), check_algorithmically().
961 2008-03-03 Carlos Garnacho <carlos@imendio.com>
963 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
964 scrollwheel work in GtkPathBar.
966 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
968 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
969 an input-only window, event_window, which we'll use to capture
971 (gtk_path_bar_map): Show the event_window under the rest of the
972 windows, so it will be a catch-all for unhandled events.
974 2008-03-03 Sven Neumann <sven@gimp.org>
976 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
977 typo in the documentation of the GtkFileChooserButtons::file-set
978 signal (see bug #353196).
980 2008-03-03 Tor Lillqvist <tml@novell.com>
982 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
985 2008-03-02 Johan Dahlin <johan@gnome.org>
987 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
988 Remove left-over focus_pad variable.
989 (#490892, Claudio Saavedra)
991 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
992 (#518166, Matt Kraai)
994 2008-03-02 Johan Dahlin <johan@gnome.org>
996 * docs/tutorial/gtk-tut.sgml: Add a missing space
997 (#517954, Matt Kraai)
999 2008-03-03 Tor Lillqvist <tml@novell.com>
1001 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1002 the widget is a GtkButton before casting.
1004 2008-03-02 Johan Dahlin <johan@gnome.org>
1006 * configure.in: Compare using = instead of ==, which is portable.
1007 (#490787, Thomas Klausner)
1009 2008-03-02 Johan Dahlin <johan@gnome.org>
1011 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1012 fixes non-C++ build.
1013 (#496032, Nelson Benitez)
1015 2008-02-29 Johan Dahlin <johan@gnome.org>
1017 * demos/gtk-demo/demo.ui:
1018 * gtk/gtkbuilderparser.c:
1019 * gtk/gtkbuilderprivate.h:
1020 * gtk/gtkliststore.c:
1021 * tests/buildertest.c:
1022 Add translatable/context and comment attributes on
1023 <col> tags under a GtkListStore. Refactor parts of the
1024 translation api and make it available inside gtk+ itself.
1025 Update tests and example.
1026 Fixes a part of #518642
1028 2008-02-29 Johan Dahlin <johan@gnome.org>
1031 Add missing g_return_val_if_fail checks for public API.
1033 * gtk/gtkbuilderparser.c:
1034 * gtk/gtkbuilderprivate.h:
1035 Do not use g_error for a few more errors, instead set
1036 the GError sent in through add_from_file/add_from_string.
1037 * tests/buildertest.c:
1038 Add a couple of new parsing tests.
1039 (#519199, Pavel Syomin)
1041 2008-02-29 Federico Mena Quintero <federico@novell.com>
1043 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1044 refreshing an existing folder (i.e. when we are about to reload
1045 its file list), turn off the folder's is_finished_loading flag.
1046 Otherwise callers which do ::is_finished_loading() followed by
1047 ::list_children() will get nothing.
1049 2008-02-29 Cody Russell <bratsche@gnome.org>
1051 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1052 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1054 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1056 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1057 make the compiler happy. (#517295, Sylvain Pasche)
1059 2008-02-27 Michael Natterer <mitch@imendio.com>
1061 * gtk/gtkmenushell.c
1064 * gtk/gtktipsquery.c
1069 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1070 private functions and virtual function implementations.
1072 2008-02-27 Richard Hult <richard@imendio.com>
1074 * gdk/quartz/GdkQuartzView.c:
1075 * gdk/quartz/GdkQuartzView.h:
1076 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1077 Fix performance regression for borderless transparent windows
1080 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1082 * tests/testgtk.c: Revert back to r19454.
1084 2008-02-27 Sven Neumann <sven@gimp.org>
1086 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1087 Quartz backend, use a native Mac OS X application for the print
1088 preview (bug #518624).
1090 2008-02-26 Michael Natterer <mitch@imendio.com>
1092 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1093 the members of info->tag_stack since they are a) gobjects and b)
1094 not even owned by us, ugh... Fixes crash when deserializing fails.
1096 2008-02-26 Sven Neumann <sven@gimp.org>
1098 * docs/tools/shooter.c (find_toplevel_window)
1099 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1100 argument passed to XQueryTree().
1102 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1104 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1105 don't use beagle_query_add_hit_type.
1107 2008-02-25 Richard Hult <richard@imendio.com>
1109 * gdk/quartz/gdkevents-quartz.c
1110 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1112 2008-02-24 Richard Hult <richard@imendio.com>
1114 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1115 shown without gdk's control when clicking the dock icon.
1117 2008-02-24 Richard Hult <richard@imendio.com>
1119 * gdk/quartz/gdkprivate-quartz.h:
1120 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1121 Use the subtype field for the custom event that is used to wake up
1122 the mainloop so we can have other custom event types.
1124 * gdk/quartz/gdkevents-quartz.c:
1125 (_gdk_quartz_events_trigger_crossing_events):
1126 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1127 crossing events after showing a window if necessary, to work
1128 around problems with the tracking rect API.
1130 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1132 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1133 wrong results on win32 because it doesn't set the printing units,
1134 which affect the transformation of the cairo context
1135 (#347125, Erik van Pienbroek)
1137 2008-02-22 Tor Lillqvist <tml@novell.com>
1139 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1141 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1143 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1144 acceptable for a module to only support the save_to_callback()
1145 method if it marks itself as WRITABLE
1147 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1149 * configure.in: Bump version
1151 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1153 * === Released 2.13.0 ===
1155 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1157 2008-02-21 Tor Lillqvist <tml@novell.com>
1159 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1160 pass the format string to strftime in the C library's locale's
1161 charset, not the system's. Correspondingly, the return value from
1162 strftime() is in the C library's locale's charset. (#509885)
1164 2008-02-20 Richard Hult <richard@imendio.com>
1166 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1167 the right window level and shadow after recreating the window.
1169 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1170 necessary after drawing (bug #517338).
1172 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1174 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1175 call to g_type_class_unref in case of error. (#517563)
1177 2008-02-18 Sven Neumann <sven@gimp.org>
1179 * gtk/Makefile.am (STOCK_ICONS)
1180 * gtk/stock-icons/16/gtk-page-setup.png
1181 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1182 taken from GNOME icon theme.
1184 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1186 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1188 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1190 2008-02-17 Johan Dahlin <johan@gnome.org>
1192 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1193 When converting a stock item based on the label, remove the label property.
1195 2008-02-17 Richard Hult <richard@imendio.com>
1197 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1198 position after showing the window since the window manager might
1199 not place it where we requested in the first places.
1201 2008-02-17 Richard Hult <richard@imendio.com>
1203 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1204 (_gdk_quartz_window_detach_from_parent),
1205 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1206 the toplevel ordering list in all places where the order is
1207 potentially changed. Fixes mouse focus issues for windows with
1208 a transient parent set.
1210 2008-02-17 Richard Hult <richard@imendio.com>
1212 * gdk/quartz/gdkevents-quartz.c
1213 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1214 window when event debugging is enabled.
1216 2008-02-16 Richard Hult <richard@imendio.com>
1218 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1219 to the scroll event (bug #516757, Paul Davis).
1221 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1225 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1227 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1230 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1232 * gdk/Makefile.am: Don't install private headers. (#463510)
1234 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1235 the installed header gdkprivate.h.
1237 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1239 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1240 a crash with hidden, reorderable tabs. (#513230,
1241 Mike Massonnet, patch by Carlos Garnacho)
1243 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1245 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1246 Warn on duplicate action group names. (#501746, Christian
1249 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1252 * modules/other/gail/tests/Makefile.am:
1253 * modules/other/gail/libgail-util/Makefile.am:
1254 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1255 builds. (#516254, Yevgen Muntyan)
1257 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1262 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1263 instead of hardcoded target tables. (#516092, Christian Persch)
1265 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1267 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1268 add the same target atom twice. (#516087, Christian Persch)
1270 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1272 * tests/testfilechooser.c: Add a --backend option.
1273 (#516073, Christian Persch)
1275 2008-02-16 Richard Hult <richard@imendio.com>
1277 * gdk/quartz/gdkprivate-quartz.h:
1278 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1281 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1283 * configure.in: Go back to 2.13.0 as version for now,
1284 as there was no consensus to do the jump.
1286 * many other places: Update Since: tags.
1288 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1290 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1292 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1294 2008-02-15 Richard Hult <richard@imendio.com>
1296 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1297 instead of bounds when resizing windows.
1299 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1301 * gdk/x11/gdkkeys-x11.c:
1302 * gdk/x11/gdkcolor-x11.c:
1303 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1305 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1307 * gdk/x11/gdktestutils-x11.c:
1308 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1310 2008-02-15 Tor Lillqvist <tml@novell.com>
1312 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1313 leak Registry key handles. (#516578)
1315 2008-02-14 Richard Hult <richard@imendio.com>
1317 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1318 makeKeyWindow unfortunately doesn't work in all cases, we must use
1319 makeKeyAndOrderFront.
1321 2008-02-14 Richard Hult <richard@imendio.com>
1323 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1324 (gdk_window_hide), (gdk_window_fullscreen),
1325 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1326 the window is hidden.
1328 2008-02-14 Richard Hult <richard@imendio.com>
1330 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1331 resizing to be consistent and to avoid introducing an internal
1332 transform in the view.
1334 2008-02-14 Richard Hult <richard@imendio.com>
1336 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1339 2008-02-14 Johan Dahlin <johan@gnome.org>
1341 * gdk/gdktestutils.h
1342 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1344 2008-02-13 Richard Hult <richard@imendio.com>
1346 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1347 Remove unused variables.
1348 (gtk_clipboard_set_contents),
1349 (gtk_clipboard_get_owner), (clipboard_unset),
1350 (gtk_clipboard_request_targets): Notify the previous clipboard
1351 owner when the owner changes. Fixes bug #493406.
1353 2008-02-13 Richard Hult <richard@imendio.com>
1355 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1356 the return value (return number of colors that failed), and handle
1358 (gdk_colormap_free_colors): Fix typo in comment.
1360 2008-02-13 Kristian Rietveld <kris@imendio.com>
1362 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1363 queue a redraw if the rubber banding has actually been active.
1365 2008-02-12 Matthias Clasen <mclasne@redhat.com>
1367 * gtk/gtkpapersize.c:
1368 * gtk/gtkprintoperation.c:
1369 * gtk/gtkvolumebutton.c:
1370 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1371 out by Behdad Esfahbod.
1373 2008-02-12 Federico Mena Quintero <federico@novell.com>
1375 Merged from gtk-2-12:
1377 Don't focus the file list when shortcuts get activated. This
1378 removes a lot of ambiguity in when the file selection should
1379 change, and makes the overall code flow simpler.
1381 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1382 file/save dialog clears the filename entry when changing
1385 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1386 focus should not go to the file list when a shortcut is activated.
1388 * gtk/gtkfilechooserdefault.c
1389 (shortcuts_activate_volume_mount_cb): Don't focus the file list
1390 (shortcuts_activate_get_info_cb): Likewise.
1392 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1393 the file list (this was the last place where we would focus the
1394 file list explicitly). If you are in the location entry, for
1395 example, you don't want Alt-Home to take you to the file list; you
1396 just want the current folder to change. Thanks to Olle Bergkvist
1397 <olle.bergkvist@yahoo.se> for pointing this out in
1398 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1399 (focus_browse_tree_view_if_possible): Removed.
1401 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1403 Skip exensions when selecting filenames in the save-as dialog.
1404 (#362516, Carlos Garnacho)
1406 * gtk/gtkfilechooserentry.h:
1407 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1408 New function to skip the extension part when selecting a filename.
1409 (_gtk_file_chooser_entry_set_base_folder): Use it here.
1411 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1414 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1416 * gtk/gtkiconview.c: Fix state change reporting for
1417 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
1419 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
1421 * gtk/gtkrecentchooser.c:
1422 (gtk_recent_chooser_class_init): Set the default value of the
1423 :show-not-found property to TRUE, as every implementation sets
1426 * gtk/gtkrecentchooserdefault.c:
1427 (_gtk_recent_chooser_default_init): Sync show_tips to the
1428 default value of the :show-tips property.
1430 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1432 * gtk/gtkclipboard-quartz.c:
1434 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
1437 2008-02-12 Kristian Rietveld <kris@imendio.com>
1439 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1440 (gtk_tree_view_real_toggle_cursor_row): guard against people
1441 deleting the row in question in the selection-changed callback.
1442 (#514621, Andreas Koehler).
1444 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1446 * gtk/*.c: Unify the handling of various "Enter" keysyms
1447 all over the place. (#515047, Christian Persch)
1449 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1451 * gtk/gtkfilesystemmodel.c:
1453 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1454 appropriate. (#515042, Christian Persch)
1456 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1458 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1460 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1462 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1464 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1466 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1467 (recent_model_sort_drag_data_get):
1468 (search_model_sort_drag_data_get):
1469 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1470 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1471 Use gtk_selection_data_set_uris() instead of doing it
1472 by hand. (#514890, Christian Persch)
1474 2008-02-12 Michael Natterer <mitch@imendio.com>
1476 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1477 gtk_get_current_event_time().
1479 2008-02-12 Michael Natterer <mitch@imendio.com>
1481 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1482 gtk_window_get_key_hash() to get the hash instead of manually
1483 fiddling with quarks and gtk_window_keys_changed(). Also add
1484 g_return_if_fail() to this public function.
1486 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1488 Support keynav in status icons. (#473786, Li Yuan)
1490 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1492 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1494 2008-02-11 Kristian Rietveld <kris@imendio.com>
1496 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1497 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1498 wrt. link deletion from list; contination of fix for #503569.
1500 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1502 * gtk/gtkrecentchoosermenu.c:
1503 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1504 on the placeholder menu item.
1506 * tests/testrecentchoosermenu.c:
1507 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1508 whether the placeholder menu item gets shown.
1510 2008-02-10 Cody Russell <bratsche@gnome.org>
1512 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1513 Check the return value of _gtk_file_chooser_get_file_system () for
1514 NULL before passing it to gtk_file_system_path_to_uri ().
1515 (#515667, Francesco Montorsi)
1517 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1519 * gtk/gtkbuilder.c: Improve the documentation for
1520 gtk_builder_connect_signals. (#514471)
1522 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1524 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1527 2008-02-08 Cody Russell <bratsche@gnome.org>
1529 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1530 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1532 2008-02-08 Richard Hult <richard@imendio.com>
1534 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1535 delta from the NSEvent for now, generating multiple scroll events
1536 results in a lot of events getting queued up and things get really
1539 2008-02-08 Sven Herzberg <sven@imendio.com>
1541 Adjust the code to match the documentation, examples, "common sense"
1542 and existing applications.
1544 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1545 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1548 2008-02-07 Cody Russell <bratsche@gnome.org>
1550 * gdk/win32/gdkevents-win32.c
1551 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1552 of a block that were causing compile problems on old
1553 compilers. (#515053, reported by Kazuki IWAMOTO)
1555 2008-02-07 Michael Natterer <mitch@imendio.com>
1562 * gtk/gtkmenushell.c
1564 * gtk/gtkoptionmenu.c
1568 * gtk/gtkradiomenuitem.c
1570 * gtk/gtkscrolledwindow.c
1571 * gtk/gtksocket.c: remove g_return_if_fail() from private
1572 functions and virtual function implementations.
1574 2008-02-07 Michael Natterer <mitch@imendio.com>
1577 * gtk/gtkassistant.c
1581 * gtk/gtkcellrenderercombo.c
1584 * gtk/gtkdrawingarea.c
1585 * gtk/gtkentrycompletion.c
1591 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1592 functions and virtual function implementations.
1594 2008-02-07 Christian Persch <chpe@gnome.org>
1596 * gdk/gdkpixbuf-render.c:
1597 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1598 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1599 otherwise there will be random pixel values in the semi-transparent
1600 area of the pixbuf within the mask. Bug #487865.
1602 2008-02-06 Cody Russell <bratsche@gnome.org>
1604 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1605 otherwise things get wonky when you click on a menu. This fixes
1606 a regression caused in #505928. Thanks to Tor for spotting this
1609 2008-02-06 Michael Natterer <mitch@imendio.com>
1611 * gtk/gtkcontainer.c
1618 * gtk/gtkmenushell.c
1620 * gtk/gtkseparatortoolitem.c
1622 * gtk/gtktextlayout.c
1623 * gtk/gtktoggletoolbutton.c
1624 * gtk/gtktoolbutton.c
1627 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1630 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1632 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1633 Allow to store half-open ranges.
1635 2008-02-05 Cody Russell <bratsche@gnome.org>
1637 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1638 down the stack until we get to a window that is mapped.
1639 Otherwise hiding a window will cause all windows in the app
1640 to be blocked. (#514643)
1642 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1644 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1645 directory, avoiding one source of invalid caches that has been
1646 spotted in the wild.
1648 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1650 * gtk/updateiconcache.c: Fix the previous commit to compile.
1652 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1654 * gtk/updateiconcache.c: Install a printerr handler that
1655 prepends the program name, since gtk-update-icon-cache output
1656 often appears in the middle of other output, e.g. rpm update logs.
1658 2008-02-05 Cody Russell <bratsche@gnome.org>
1660 * gdk/win32/gdkprivate-win32.h
1661 * gdk/win32/gdkevents-win32.c
1662 * gdk/win32/gdkwindow-win32.c
1663 * gdk/win32/gdkwindow-win32.h
1664 * gdk/win32/gdkwin32.h:
1665 Modal window rework. (#455627 and #511111)
1667 2008-02-04 Michael Natterer <mitch@imendio.com>
1669 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1670 g_return_if_fail() if the cell is not part of the combo instead of
1671 crashing in the next line.
1673 2008-02-01 Cody Russell <cody@jhu.edu>
1675 * modules/engines/ms-windows/xp_theme.[ch]
1676 * modules/engines/ms-windows/xp_theme_defs.h
1677 * modules/engines/ms-windows/msw_rc_style.c
1678 * modules/engines/ms-windows/msw_theme_main.c
1679 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1680 attempted to stylize more like the rest of the gtk+ stack's code.
1682 2008-02-01 Michael Natterer <mitch@imendio.com>
1684 * tests/testgtk.c: initialize GdkColor structs to fix warning
1685 about uninitialized "pixel" member.
1687 * tests/testactions.c: connect the toolbar_style() callback so it
1688 does something useful and doesn't warn about being defined but not
1691 2008-01-31 Cody Russell <bratsche@gnome.org>
1693 * gdk/win32/gdkevents-win32.c:
1694 Refactored some of the window hiding/showing code from
1695 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1696 under WM_ACTIVATE was causing the application to go into
1697 a weird state when the user right-clicked on the taskbar
1698 entry of a window that was minimized. (#505928)
1700 2008-01-31 Cody Russell <bratsche@gnome.org>
1702 * gtk/gtkpaned.c (gtk_paned_set_position):
1703 Change queue_resize() to queue_draw(), and add a check for
1704 child2 != NULL in case someone calls this before there is
1705 a child packed in there. (#144269 again)
1707 2008-01-31 Sven Neumann <sven@gimp.org>
1709 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1710 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1712 2008-01-31 Sven Neumann <sven@gimp.org>
1714 * gdk/directfb/gdkdisplay-directfb.c
1715 * gdk/directfb/gdkdrawable-directfb.c
1716 * gdk/directfb/gdkprivate-directfb.h
1717 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1718 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1720 2008-01-31 Richard Hult <richard@imendio.com>
1722 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1723 issues with undecorated windows. Revert the change done on
1724 2008-01-25 and fix it by using the view's bounds instead. The
1725 bounds will always be up to date when setting up the tracking
1726 rect, so this should be more robust.
1728 2008-01-30 Sven Neumann <sven@gimp.org>
1730 * gdk/directfb/gdkdrawable-directfb.c
1731 * gdk/directfb/gdkwindow-directfb.c
1732 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1733 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1734 DirectFB's debugging system
1736 2008-01-30 Sven Neumann <sven@gimp.org>
1738 * gdk/directfb/gdkdirectfb.h
1739 * gdk/directfb/gdkdisplay-directfb.c
1740 * gdk/directfb/gdkdrawable-directfb.c
1741 * gdk/directfb/gdkim-directfb.c
1742 * gdk/directfb/gdkimage-directfb.c
1743 * gdk/directfb/gdkinput-directfb.c
1744 * gdk/directfb/gdkmain-directfb.c
1745 * gdk/directfb/gdkpixmap-directfb.c
1746 * gdk/directfb/gdktestutils-directfb.c
1747 * gdk/directfb/gdkvisual-directfb.c
1748 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1749 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1750 errors and has some cleanups.
1752 2008-01-30 Michael Natterer <mitch@imendio.com>
1754 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1755 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1758 * gtk/updateiconcache.c (add_string): cast const gchar* to
1759 gpointer when inserting in a GHashTable.
1761 * tests/testcalendar.c (calendar_detail_cb): remove const from
1762 return value since it's a newly allocated string.
1764 (calendar_update_details): free the detail.
1766 2008-01-29 Johan Dahlin <johan@gnome.org>
1768 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1770 * demos/gtk-demo/demo.ui:
1771 Move the about dialog to the glade file, add accessible tags
1772 examples to the markup file.
1774 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1776 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1777 layout, fixes #512375.
1779 2008-01-28 Michael Natterer <mitch@imendio.com>
1781 * gtk/gtktextchild.c
1782 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1784 2008-01-28 Michael Natterer <mitch@imendio.com>
1786 * demos/gtk-demo/builder.c (about_activate): use
1787 gtk_about_dialog_set_program_name() instead of the deprecated
1790 2008-01-28 Michael Natterer <mitch@imendio.com>
1792 * gtk/gtktextchild.c
1793 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1796 2008-01-26 Johan Dahlin <johan@gnome.org>
1798 * tests/Makefile.am:
1799 * tests/textbuffertest.c:
1800 Rename textbuffer test and port it to the new test framework
1802 2008-01-25 Johan Dahlin <johan@gnome.org>
1804 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1805 unsetting of GTK_MODULES.
1807 * gtk/gtk-builder-convert
1808 (GtkBuilderConverter._convert_adjustment): Handle the case where
1809 there is no child text node.
1810 (GtkBuilderConverter): Allow xml comments in most places.
1812 2008-01-25 Johan Dahlin <johan@gnome.org>
1814 * gtk/gtk-builder-convert
1815 (GtkBuilderConverter._convert_combobox_items): Remove the items
1816 even if there are no items set.
1817 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1818 signals and tooltips for all menu items subclasses and
1819 GtkImageMenuItem:label.
1820 Makes it possible to fully convert and run Jokosher.glade.
1822 2008-01-25 Johan Dahlin <johan@gnome.org>
1824 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1825 (gtk_widget_buildable_get_internal_child), (free_action),
1826 (free_relation), (gtk_widget_buildable_parser_finished),
1827 (accessibility_start_element),
1828 (gtk_widget_buildable_custom_tag_start),
1829 (gtk_widget_buildable_custom_finished):
1830 Implement accessible support, fixes #454653.
1832 * gtk/gtk-builder-convert:
1833 Add support for migrating old glade files
1835 * tests/buildertest.c: (test_widget), (test_file):
1836 Add accessible tests and imprve the test_file function to display
1837 toplevels and run dialogs.
1839 2008-01-25 Richard Hult <richard@imendio.com>
1841 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1842 didn't change, fixes focus event issues for undecorated windows.
1844 2008-01-25 Richard Hult <richard@imendio.com>
1846 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1847 const and remove unused variables).
1849 2008-01-25 Michael Natterer <mitch@imendio.com>
1852 * gtk/gtkcellrenderer.h
1853 * gtk/gtkimcontext.h
1857 * gtk/gtktreeprivate.h
1858 * gtk/gtktreeviewcolumn.h
1859 * gtk/gtkwidget.h: add const to constant structs which are passed
1860 into GTK+. Also add some forgotten const for const strings.
1864 * gtk/gtkcellrenderer.c
1865 * gtk/gtkimcontext.c
1870 * gtk/gtktreeviewcolumn.c
1871 * gtk/gtkwidget.c: changed accordingly.
1873 2008-01-25 Sven Herzberg <sven@imendio.com>
1875 Reviewed by Johan Dahlin.
1877 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1878 this is called with something that's not a GtkUIManager
1880 2008-01-24 Johan Dahlin <johan@gnome.org>
1882 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1883 Chain up to parent, so widgets can have internal children.
1885 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1887 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1890 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1892 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1894 Use pango_layout_set_height() for calendar details (#506049).
1896 * configure.in: Require 1.19.3 for pango_layout_set_height().
1897 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1899 2008-01-18 Johan Dahlin <johan@gnome.org>
1901 * gtk/gtk-builder-convert (get_property_node): New method
1902 (GtkBuilderConverter._create_object): Conditionally take a node as
1903 a property value, so don't lose translate/context attributes if they
1905 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1906 property values instead of strings.
1907 (#509153, Erik van Pienbroek)
1909 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1911 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1913 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1914 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1915 * tests/testcalendar.c: Duplicate calendar details before returning.
1917 2008-01-16 Christian Persch <chpe@gnome.org>
1919 * gtk/gtkwidget.c: Store the event mask and extension event mode
1920 directly in the gobject data pointer, instead of in an allocated
1923 2008-01-16 Michael Natterer <mitch@imendio.com>
1925 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1926 gdk-pixbuf now uses gio functions.
1928 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1930 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1931 the notify::model signal. (#509819, David Zeuthen)
1933 2008-01-15 Michael Natterer <mitch@imendio.com>
1941 * gdk/gdkwindow.h: made more struct pointer and array parameters
1942 const. GDK should now be constified as far as possible without
1943 breaking source compatibility. Includes some minor cleanup like
1944 indentation and s/nfoo/n_foo/ (bug #508544).
1950 * gdk/gdkregion-generic.c
1952 * gdk/directfb/gdkdisplay-directfb.c
1953 * gdk/directfb/gdkwindow-directfb.c
1954 * gdk/quartz/gdkdisplay-quartz.c
1955 * gdk/quartz/gdkwindow-quartz.c
1956 * gdk/win32/gdkdisplay-win32.c
1957 * gdk/win32/gdkwindow-win32.c
1958 * gdk/x11/gdkdisplay-x11.c
1959 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1961 2008-01-14 Michael Natterer <mitch@imendio.com>
1963 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1966 (gtk_rc_parse_any): change variables to const and introduce
1967 another local variable to fix const warnings.
1969 2008-01-14 Michael Natterer <mitch@imendio.com>
1971 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1972 of gdk_screen_get_font_options() to gpointer to get rid of const
1975 2008-01-14 Michael Natterer <mitch@imendio.com>
1977 * tests/testdnd.c (source_drag_data_get): fix another call to
1978 gtk_selection_data_set().
1980 2008-01-14 Michael Natterer <mitch@imendio.com>
1982 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1985 2008-01-14 Michael Natterer <mitch@imendio.com>
1987 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1989 2008-01-14 Michael Natterer <mitch@imendio.com>
1991 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1992 "uris" to guchar* when passing it to gtk_selection_data_set().
1994 2008-01-14 Michael Natterer <mitch@imendio.com>
2000 * gdk/gdkinternals.h
2002 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2003 parameters const (bug #508544).
2008 * gdk/gdkrectangle.c
2009 * gdk/gdkpolyreg-generic.c
2010 * gdk/gdkregion-generic.c
2011 * gdk/directfb/gdkcolor-directfb.c
2012 * gdk/directfb/gdkgc-directfb.c
2013 * gdk/directfb/gdkgeometry-directfb.c
2014 * gdk/directfb/gdkwindow-directfb.c
2015 * gdk/quartz/gdkcolor-quartz.c
2016 * gdk/quartz/gdkgc-quartz.c
2017 * gdk/quartz/gdkgeometry-quartz.c
2018 * gdk/quartz/gdkwindow-quartz.c
2019 * gdk/win32/gdkcolor-win32.c
2020 * gdk/win32/gdkgc-win32.c
2021 * gdk/win32/gdkgeometry-win32.c
2022 * gdk/win32/gdkprivate-win32.h
2023 * gdk/win32/gdkwindow-win32.c
2024 * gdk/x11/gdkcolor-x11.c
2025 * gdk/x11/gdkgc-x11.c
2026 * gdk/x11/gdkgeometry-x11.c
2027 * gdk/x11/gdkmain-x11.c
2028 * gdk/x11/gdkprivate-x11.h
2029 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2031 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2034 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2036 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2038 * gtk/gtktoolitem.c: Add comment expaining name choice for
2039 gtk_tool_item_toolbar_reconfigured.
2041 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2043 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2044 implementations to notify its children, when some aspect of their
2045 configuration changed (#509042).
2047 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2048 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2049 Rename _gtk_tool_item_toolbar_reconfigured.
2051 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2053 Include <gtk/gtktoolshell.h> from gtk.h.
2055 * gtk/gtk.h: Add gtktoolshell.h
2057 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2059 Print angle brackets arround e-mail addresses in the about dialog
2060 (#409520, Mariano Suárez-Alvarez).
2062 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2064 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2066 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2067 special casing so test widgets are always queues for destruction
2070 * gtk/tests/testing.c: removed bits left-over from testing without
2073 2008-01-10 Tor Lillqvist <tml@novell.com>
2075 * modules/other/gail/libgail-util/Makefile.am
2076 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2079 2008-01-10 Tor Lillqvist <tml@novell.com>
2081 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2082 uses gtkprintunixdialog API.
2084 2008-01-10 Tor Lillqvist <tml@novell.com>
2086 * gdk/win32/gdkdisplay-win32.c
2087 * gdk/win32/gdkglobals-win32.c
2088 * gdk/win32/gdkprivate-win32.h
2089 * gdk/win32/gdkscreen-win32.c
2090 * gdk/win32/gdkwindow-win32.c: Implement
2091 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2092 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2095 2008-01-10 Cody Russell <bratsche@gnome.org>
2097 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2098 Properly ref/unref windows and parents. (#506769)
2100 2008-01-10 Richard Hult <richard@imendio.com>
2102 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2103 (gdk_window_hide), (move_resize_window_internal): Move the
2104 tracking rect workaround from here...
2106 * gdk/quartz/GdkQuartzWindow.c:
2107 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2108 movements during showing/hiding operations. Fixes bug #508516.
2110 2008-01-10 Michael Natterer <mitch@imendio.com>
2112 * gdk/directfb/gdkscreen-directfb.c
2113 (gdk_screen_get_monitor_width_mm)
2114 (gdk_screen_get_monitor_height_mm)
2115 (gdk_screen_get_monitor_plug_name): add these functions to make
2118 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2120 * gtk/gtkrecentchoosermenu.c:
2121 (idle_populate_func), (idle_populate_clean_up): Fix possible
2122 recursion by resetting the idle source id. (#507605, William
2125 2008-01-10 Kristian Rietveld <kris@imendio.com>
2127 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2128 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2129 avoid valgrind warnings. (#507751, patch from Christian Persch).
2131 2008-01-10 Kristian Rietveld <kris@imendio.com>
2133 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2134 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2136 2008-01-10 Kristian Rietveld <kris@imendio.com>
2138 Fix #477175, reported by Juri Pakaste.
2140 * gtk/gtktreeprivate.h:
2141 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2142 tree_view->priv->dy here directly, just calculate the new value
2143 and set it on the adjustment,
2144 (gtk_tree_view_adjustment_changed): add guards to not call
2145 gtk_tree_view_dy_to_top_row() if we are currently in
2146 gtk_tree_view_top_row_to_dy(),
2147 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2148 coordinates, not tree coordinates,
2149 (gtk_tree_view_real_start_editing): add cast.
2151 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2152 position of the editable in the "create new row and start editing"
2155 2008-01-09 Michael Natterer <mitch@imendio.com>
2157 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2160 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2161 * gtk/gtkicontheme.c (theme_list_contexts)
2162 (gtk_icon_theme_lookup_icon)
2163 * gtk/gtkimcontextsimple.c (beep_window)
2164 * gtk/gtklinkbutton.c (set_link_color)
2165 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2168 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2169 variable and add const to another to fix a warning.
2171 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2173 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2174 the current page. (#499951, Andreas Sandberg)
2176 2008-01-06 Johan Dahlin <johan@gnome.org>
2178 * gtk/gtkspinbutton.c: Declare value in the example code for
2179 GtkSpinButton::output, as pointed out by Anders Carlsson.
2181 2008-01-06 Christian Persch <chpe@gnome.org>
2183 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2184 and remove an obsolete event box. Bug #506760.
2186 2008-01-06 Johan Dahlin <johan@gnome.org>
2188 * tests/buildertest.c (test_domain):
2189 Update, GtkBuilder::translation-domain is no longer set
2191 * gtk/gtkbuilderparser.c (parse_interface):
2192 Allow domains to be overridden in <interface>'s if a translation-domain
2193 is set in the builder.
2194 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2195 of the builder, make the domain set in the <interface> apply only to strings
2197 (#496831, Ryan Lortie)
2199 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2202 * gtk/gtktreestore.c (tree_model_end_element):
2203 Remove an unused variable
2205 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2207 * gtk/gtkspinbutton.c: Document the ::output signal and
2208 add an example. (#507566, example by Owen Taylor)
2210 2008-01-06 Johan Dahlin <johan@gnome.org>
2212 * gtk/gtkcellrenderercombo.c:
2213 (gtk_cell_renderer_combo_get_property),
2214 (gtk_cell_renderer_combo_set_property):
2215 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2216 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2217 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2218 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2219 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2220 (gtk_text_buffer_get_property):
2221 * gtk/gtktextview.c: (gtk_text_view_set_property):
2222 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2223 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2224 (gtk_tool_button_get_property):
2225 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2226 (gtk_tool_item_get_property):
2227 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2228 * gtk/gtkwidget.c: (gtk_widget_set_property):
2229 * gtk/gtkwindow.c: (gtk_window_set_property):
2230 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2233 2008-01-06 Johan Dahlin <johan@gnome.org>
2235 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2236 Make sure that --root works for toplevel widgets.
2237 (#491847, Phil Lello)
2239 2008-01-05 Johan Dahlin <johan@gnome.org>
2241 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2242 to make sure that make test-report works properly
2244 2008-01-05 Christian Persch <chpe@gnome.org>
2246 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2247 GType as integer through gpointer. Bug #507395.
2249 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2251 Avoid some compiler warnings (#507000).
2253 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2254 for value argument of _gtk_builder_flags_from_string.
2255 * gtk/gtkwidget.c: Don't alias the child pointer passed
2256 to gdk_window_get_user_data.
2258 2008-01-04 Michael Natterer <mitch@imendio.com>
2260 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2261 to set the time in the returned GdkTimeCoords.
2263 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2265 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2266 correct comparison function (kudos to Christian Persch and
2267 Claudio Saavedra for spotting this)
2269 * gtk/gtkrecentchooserutils.c:
2270 (sort_recent_items_mru),
2271 (sort_recent_items_lru): Ditto as above.
2273 2008-01-03 Johan Dahlin <johan@gnome.org>
2275 * tests/defaultvaluetest.c: Make it pass again.
2277 2008-01-02 Johan Dahlin <johan@gnome.org>
2279 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2280 make it pass on Ubuntu.
2281 (main): Use gtk_test_list_all_types () instead of providing our
2283 And it no longer passes.
2285 2007-12-30 Johannes Schmid <jhs@gnome.org>
2287 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2288 Also reorder menu when reordering tabs by drag & drop
2291 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2292 Add a menu to one of the notebooks to have a test-case for
2293 the change mentioned above.
2295 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2297 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2299 2007-12-31 Christian Persch <chpe@gnome.org>
2301 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2302 Plug a mem leak. Bug #506107.
2304 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2306 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2307 icon cache api change. (#506135, Kazuki Iwamoto)
2309 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2311 Consider "wide-separators" and "separator-height" style properties:
2312 The separator is drawn using gtk_paint_box instead of cairo, when
2313 "wide-separators" is set. Also do not highlight details for previous
2314 or next month, if their day matches the selected day. (#339540)
2316 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2317 in gtk_calendar_size_request and calendar_paint_day
2318 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2319 for selected detail separators in GtkCalendar.
2321 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2323 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2325 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2326 a local variable instead in gtk_calendar_size_request.
2328 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2330 * tests/defaultvaluetest.c: Add enough exclusions to make the
2333 2007-12-28 Christian Persch <chpe@gnome.org>
2335 * modules/other/gail/Makefile.am:
2336 * modules/other/gail/tests/*:
2337 * configure.in: Merge tests from standalone gail. Bug #504568.
2339 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2341 * gtk/gtkclipboard.c: Make the finalizer work when display is
2344 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2346 Draw bottom shadow of GtkCalender headings. (#506113)
2348 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2350 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2352 * gtk/gtkcalendar.c: Document the initial values of year/month/day
2355 2007-12-28 Christian Persch <chpe@gnome.org>
2357 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2358 a mem leak. Bug #506096.
2360 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2363 * gtk/gtktreeview.c:
2364 * gtk/gtkprintoperation.c:
2365 * gtk/gtkprogressbar.c:
2366 * gtk/gtkmessagedialog.c:
2367 * gtk/gtknotebook.c:
2371 * gtk/gtklinkbutton.c:
2372 * gtk/gtkmenu.c: More default property value corrections.
2374 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2376 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2377 accel_group unless it is set.
2379 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2381 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2383 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2385 * gtk/gtkhandlebox.c: Fix the default values of shadow and
2386 shadow-type properties.
2388 * gtk/gtkfontsel.c: Fix the default values of several properties.
2390 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2393 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2395 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2398 2007-12-28 Johan Dahlin <johan@gnome.org>
2400 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2401 (gtk_dialog_buildable_custom_tag_start): Chain up.
2402 This makes it possible to have accelerators tags on GtkDialog
2405 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2407 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2408 are shown within the widget, or just as tooltip. (#339540)
2410 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2411 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2412 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2415 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2417 Try more decent appearance of calendar details separator. (#339540)
2419 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2420 and make it short by one pixel on each side.
2422 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2424 Apply trivial code-style changes from attachement 101101. (#339540)
2426 * tests/testcalendar.c: Some updates to current GTK+ code-style.
2428 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2430 Restructure testcalendar for testing calendar details. (#339540)
2432 * tests/testcalendar.c: Push code arround for testing calendar details.
2434 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2436 Implement GtkTooltip API for calendar details. (#339540)
2438 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2439 Remember detail overflows in calendar_paint_day to show the tooltip
2440 only when neccessary.
2442 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2444 Without setting "detail-width-chars" and "detail-height-rows"
2445 properties not only the widget has to be redrawn on certain
2446 conditions, but also its size must be recalculated. (#339540)
2448 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2449 that function instead of gtk_widget_queue_draw.
2451 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2453 Consider details for size-request and expose-event. (#339540)
2455 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2456 is_color_attribute functions. Change gtk_calendar_size_request
2457 and calendar_paint_day to consider and show calender details.
2459 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2461 * gtk/gtkcombobox.c: Introduce local priv variables to
2464 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2466 * gtk/gtkcombobox.c: Correct the default value for the
2467 tearoff-title property.
2469 * gtk/gtkcellrenderertext.c: Fix the default value for the
2470 wrap-mode and font-scale properties.
2472 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2475 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2477 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2478 defines. (#505708, MINAMI Hirokazu)
2480 2007-12-27 Christian Persch <chpe@gnome.org>
2482 * Makefile.am: Install gail.pc. Bug #505859.
2484 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2486 Add infrastructure for GtkCalendar details. (#339540)
2488 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2489 Add "detail-width-chars" and "detail-height-rows" properties,
2490 and gtk_calendar_set_detail_func function.
2492 2007-12-27 Xan Lopez <xan@gnome.org>
2495 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2497 Add gtk_border_new to avoid memory allocator confusions when using
2498 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2500 2007-12-27 Christian Persch <chpe@gnome.org>
2502 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2503 bug #504886 not to read unitialised memory.
2505 2007-12-26 Xan Lopez <xan@gnome.org>
2507 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2508 modification of the internal frame contents to decide if we have
2509 extra children. (#415677)
2511 2007-12-22 Christian Persch <chpe@gnome.org>
2513 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2515 2007-12-25 Christian Persch <chpe@gnome.org>
2517 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2518 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2521 2007-12-25 Christian Persch <chpe@gnome.org>
2523 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2525 2007-12-25 Christian Persch <chpe@gnome.org>
2527 * modules/other/gail/*.[ch]: Remove relocations from the atk
2528 factories. Remove unused gail_foo_new() functions. Fix object
2529 instantiation to be derivation safe by moving initialisation code
2530 from the removed gail_foo_new() functions to the
2531 AtkObjectClass::initialize implementation. Bug #505226.
2533 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2535 * modules/other/gail/gailentry.c:
2536 * modules/other/gail/gailimage.c:
2537 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2538 uses of clipboards and settings. (#504722, Christian Persch)
2540 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2542 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2545 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2547 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2548 use the time and button information from the event. (#504901,
2551 2007-12-23 Cody Russell <bratsche@gnome.org>
2553 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2554 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2555 Fixes a regression caused by #164537 patch where transient
2556 windows that are hidden get shown (incorrectly) when their
2557 parents are minimized. (#504984)
2559 2007-12-22 Christian Persch <chpe@gnome.org>
2561 * modules/other/gail/gailcell.c:
2562 * modules/other/gail/gailcontainercell.c:
2563 * modules/other/gail/gailexpander.c:
2564 * modules/other/gail/gailtextcell.c:
2565 * modules/other/gail/gailtextview.c:
2566 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2568 2007-12-22 Christian Persch <chpe@gnome.org>
2570 * modules/other/gail/*.c: Include config.h. Bug #504720.
2572 2007-12-22 Christian Persch <chpe@gnome.org>
2574 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2575 handwritten get_type functions. Bug #504661.
2577 2007-12-23 Xan Lopez <xan@gnome.org>
2579 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2580 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2582 Patch by Sadrul Habib Chowdhury (#504804)
2584 2007-12-22 Christian Persch <chpe@gnome.org>
2586 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2587 #504645, patch by Li Yuan.
2589 2007-12-22 Christian Persch <chpe@gnome.org>
2591 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2593 2007-12-22 Christian Persch <chpe@gnome.org>
2595 * modules/other/gail/gail.c:
2596 * modules/other/gail/gailbutton.c:
2597 * modules/other/gail/gailcell.c:
2598 * modules/other/gail/gailcombo.c:
2599 * modules/other/gail/gailcombo.h:
2600 * modules/other/gail/gailcombobox.c:
2601 * modules/other/gail/gailentry.c:
2602 * modules/other/gail/gailexpander.c:
2603 * modules/other/gail/gailmenuitem.c:
2604 * modules/other/gail/gailnotebook.c:
2605 * modules/other/gail/gailnotebookpage.c:
2606 * modules/other/gail/gailnotebookpage.h:
2607 * modules/other/gail/gailoptionmenu.c:
2608 * modules/other/gail/gailrange.c:
2609 * modules/other/gail/gailtextview.c:
2610 * modules/other/gail/gailtreeview.c:
2611 * modules/other/gail/gailtreeview.h:
2612 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2615 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2617 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2620 2007-12-21 Richard Hult <richard@imendio.com>
2622 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2623 Plug leak of destroyed subviews, fixes bug #504753.
2625 2007-12-20 Johan Dahlin <johan@gnome.org>
2627 * tests/Makefile.am (TEST_PROGS):
2628 * tests/defaultvaluetest.c: Add a test for default values,
2629 based on program by Christan Perch
2631 2007-12-20 Johan Dahlin <johan@gnome.org>
2633 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2634 Refactor to avoid some duplication.
2635 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2636 Fixes #504749, Yuri Pimenov
2638 2007-12-20 Kristian Rietveld <kris@imendio.com>
2640 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2641 the build work again on systems without xrandr 1.2.
2643 2007-12-20 Christian Persch <chpe@gnome.org>
2646 * modules/other/gail/libgail-util/Makefile.am:
2647 Keep the same libtool version as the standalone libgail-util had.
2650 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2652 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2654 2007-12-20 Alexander Larsson <alexl@redhat.com>
2656 * gdk/x11/gdkapplaunchcontext-x11.c:
2657 Update for gio API changes
2659 2007-12-20 Richard Hult <richard@imendio.com>
2661 * gdk/quartz/GdkQuartzWindow.c:
2662 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2663 processing events after changing the size.
2665 2007-12-20 Richard Hult <richard@imendio.com>
2667 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2668 Add stub for quartz to fix build.
2670 2007-12-20 Christian Persch <chpe@gnome.org>
2672 * modules/other/gail/Makefile.am:
2673 * modules/other/gail/gailimage.c: (gail_image_class_init),
2674 (gail_image_init), (elide_underscores), (gail_image_get_name),
2675 (atk_image_interface_init), (gail_image_finalize):
2676 * modules/other/gail/gailimage.h:
2677 R modules/other/gail/gailintl.h:
2678 * po/POTFILES.skip: Use the stock item's label as the name of the
2679 accessible in gailimage.c. Bug #504246.
2681 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2683 Avoid some compiler warnings and remove obsolete code. (#339540)
2685 * gtk/gtkcalendar.c: Change week and year variable in
2686 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2687 0" block from calendar_paint_day: The feature in question is handled
2688 few lines above. Cast data returned by gtk_selection_data_get_text()
2689 to (gchar*) in gtk_calendar_drag_data_received.
2691 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2693 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2695 2007-12-19 Johan Dahlin <johan@gnome.org>
2697 * tests/buildertest.c (test_object_properties):
2698 Add another call to gtk_builder_add_string after using
2699 delayed properties, as reported in #504393 but already
2702 2007-12-18 Christian Persch <chpe@gnome.org>
2705 * docs/reference/Makefile.am:
2706 * docs/reference/libgail-util/*:
2707 * gail-uninstalled.pc.in:
2709 * modules/Makefile.am:
2710 * modules/other/Makefile.am:
2711 * modules/other/gail/*:
2712 * modules/other/gail/libgail-util/*:
2713 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2715 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2717 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2718 * gdk/win32/gdkproperty-win32.c:
2719 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2721 * gtk/gtkimmodule.[hc]:
2722 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2723 look at the gtk-im-module setting, and listen for changes to the
2724 setting. (#502446, Akira Tagoh)
2726 2007-12-17 Kristian Rietveld <kris@imendio.com>
2728 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2729 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2730 to NULL as soon as it's destroyed. (#496546, patch from
2733 2007-12-17 Kristian Rietveld <kris@imendio.com>
2735 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2736 always determine what arrow to show if show_sort_indicator is true.
2737 (#352738, Chris Vine).
2739 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2741 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2744 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2745 gtk_container_foreach in get_child_panes.
2747 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2749 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2751 Plug leak: When reordering the info in the list the old node is
2752 removed but not freed. (#503569)
2754 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2756 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2757 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2758 are deprecated since DirectFB 1.0.0. If compiling with an older
2759 version define the new type name to the old types. Fixes bug #503190.
2761 2007-12-14 Ray Strode <rstrode@redhat.com>
2763 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2764 instead of g_signal_connect_after (..., "realize", ...) as an
2765 alternative to gtk_widget_realize () (bug 503537).
2767 2007-12-14 Michael Natterer <mitch@imendio.com>
2769 * gdk/gdkinternals.h
2770 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2773 * gdk/gdkapplaunchcontext.c
2774 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2775 header already includes everything now.
2777 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2779 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2780 next stable release shall be 2.16, not 2.14 - even if disagree.
2782 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2784 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2786 Change GtkToolItem to retrieve its properties from GtkToolShell
2787 interface, instead of relying on being child of a GtkToolbar.
2790 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2791 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2792 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2793 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2794 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2795 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2796 Take section docs from template file and update them for GtkToolShell.
2797 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2798 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2800 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2802 Extract loading of GtkPageSetup and GtkPrintSettings from their
2803 *_new_*() functions and move that code into separate
2804 *_load_*() functions (#475565).
2806 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2807 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2808 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2809 Change the matching *_new_*() functions to use those functions.
2811 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2814 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2816 2007-12-14 Kristian Rietveld <kris@imendio.com>
2818 * gtk/tests/liststore.c:
2819 * gtk/tests/treestore.c: added tests for insertion functions.
2821 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2823 * Add RandR 1.2 support
2825 - New monitors_changed signal - New API to get width/height of
2826 monitors, and the name of the plug
2828 2007-12-13 Kristian Rietveld <kris@imendio.com>
2830 * gtk/tests/liststore.c:
2831 * gtk/tests/treestore.c: test the move and swap functions on a
2832 store with only one node.
2834 2007-12-13 Kristian Rietveld <kris@imendio.com>
2836 * gtk/gtktestutils.c (gtk_test_init): add a call to
2839 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2842 2007-12-13 Kristian Rietveld <kris@imendio.com>
2844 * gtk/tests/liststore.c:
2845 * gtk/tests/treestore.c: start composing tests for the list and tree
2848 * gtk/tests/treeview-scrolling.c: added automated tests for
2849 GtkTreeView's scrolling "subsystem".
2851 * gtk/tests/Makefile.am: updated; added new test programs.
2853 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2855 Make the code compile again after the GdkAppLaunchContext changes.
2857 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2858 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2860 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2862 * gdk/gdkapplaunchcontext.c: Add docs
2864 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2866 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2867 in gdk, providing startup notification. (#503203)
2869 * gdk/x11/gdkapplaunchcontext-x11.c:
2870 * gdk/win32/gdkapplaunchcontext-win32.c:
2871 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2872 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2873 parts. All but X11 are just empty stubs for now.
2876 * gdk/gdkinternals.h:
2878 * gdk/x11/Makefile.am:
2879 * gdk/win32/Makefile.am:
2880 * gdk/quartz/Makefile.am:
2881 * gdk/directfb/Makefile.am: Necessary glue.
2883 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2885 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2887 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2889 * gdk/directfb/gdktestutils-directfb.c:
2890 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2891 which adds testing functions to the DirectFB backend.
2893 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2895 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2896 Ciccani which fixes the mixing of gdk and cairo rendering.
2898 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2900 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2901 on "drag-motion" handlers. Clearify documentation for
2904 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2906 * buildertest.c: made unnecessarily exported symbols static.
2907 switched g_return_if_fail() statements in tests to assertions.
2908 special cased currently failing Widget/accesibility test to
2909 run only for g_test_thorough(), so it doesn't break make check.
2910 some coding style fixes.
2912 * Makefile.am: added buildertest to TEST_PROGS.
2914 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2916 * docs/tutorial/gtk-tut.sgml:
2917 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2919 2007-12-10 Richard Hult <richard@imendio.com>
2921 * gdk/quartz/Makefile.am:
2922 * gdk/quartz/gdkquartz.h:
2923 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2924 header (bug #405915). Also add a getter for the toplevel nswindow.
2926 2007-12-10 Richard Hult <richard@imendio.com>
2928 * gdk/quartz/gdkdrawable-quartz.c:
2929 (gdk_quartz_drawable_get_context),
2930 (gdk_quartz_drawable_release_context):
2931 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2932 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2933 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2934 used for each drawing context and in prepare, dispatch and poll
2935 with one that exists across each main loop iteration. Fixes leaks
2936 on leopard and protects against future leaks introduce when the
2937 underlying system changes again (bug #492977).
2939 2007-12-10 Richard Hult <richard@imendio.com>
2941 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2942 Fix the check for no changes to position and size.
2944 2007-12-10 Richard Hult <richard@imendio.com>
2946 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2947 sized areas at (0, 0), patch from Paul Davis.
2949 2007-12-10 Richard Hult <richard@imendio.com>
2951 * gdk/quartz/gdkprivate-quartz.h:
2952 * gdk/quartz/gdkeventloop-quartz.c:
2953 (_gdk_quartz_event_loop_get_pending),
2954 (_gdk_quartz_event_loop_check_pending),
2955 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2956 (gdk_event_check), (gdk_event_dispatch):
2957 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2958 (_gdk_events_queue): Fix a bug where we could end up trying to
2959 handle the same event more than once. Based on patch from Paul
2962 2007-12-10 Tor Lillqvist <tml@novell.com>
2964 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2967 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2969 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2970 to avoid further fallout from the fix for bug 388321.
2972 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2974 * gdk/directfb/gdkgc-directfb.c:
2975 * gdk/directfb/gdkdrawable-directfb.c:
2976 * gdk/directfb/gdkdirectfb.h:
2977 * gdk/directfb/gdkwindow-directfb.c:
2978 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2979 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2980 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2981 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2982 which are expected to improve the performance of the DirectFB backend.
2983 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2985 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2987 * gtk/gtkcontainer.c: Correct the documentation of child
2988 property getter arguments. (#501992, David Brigada)
2990 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2992 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2993 leak pixbufs. (#502250, Yevgen Muntyan)
2995 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2997 * gtk/gtkprintunixdialog.c:
2998 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2999 Print and Page Setup dialogs (#502202).
3001 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3003 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3004 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3005 of XVFB_START, since it's the GTESTER invokation that needs this.
3007 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3009 * gdk-pixbuf/gdk-pixbuf.symbols:
3011 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3012 positives in abicheck.sh
3014 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3016 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3017 GDK events generations in the DirectFB backend.
3019 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3021 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3022 set of likely unused display ids, because MacOS has no seq(1) command.
3024 2007-12-06 Richard Hult <richard@imendio.com>
3026 * gdk/quartz/gdkevents-quartz.c:
3027 (synthesize_crossing_events_for_ns_event): Fix warning when
3028 switching spaces in leopard.
3030 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3032 * tests/floatingtest.c: ported to new testing framework.
3034 * tests/Makefile.am: run floatingtest as testing framework test.
3036 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3038 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3039 timeouts and converting main loop sleeps to pending/iterate loops with
3040 very low priority async handlers. eliminate output for non-verbose
3041 tests. assert successfull subtests in all test functions. use testing
3042 framework in main().
3044 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3045 executed inside Xvfb upon make check.
3047 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3049 * tests/objecttests.c: use string comparisons for string property
3050 values and get rid of referencing symbols in array initialization.
3052 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3054 * gtk+/Makefile.decl: run tests in current dir after setting up the
3055 logging directory, so their results get properly merged into the
3058 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3059 tests to loop over registered Gdk/Gtk+ types.
3061 * gtk+/tests/objecttests.c: new test program, implements automated
3062 property tests. several properties are blacklisted because they
3063 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3064 can be used to test blacklisted properties and see which proprty failed.
3066 2007-12-04 Richard Hult <richard@imendio.com>
3068 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3069 Fully initialize the root window, fixes bug #501583.
3071 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3073 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3076 2007-12-03 Richard Hult <richard@imendio.com>
3078 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3079 Don't crash when dragging from a source that doesn't support uri
3080 lists (bug #499868, Paul Davis).
3082 2007-12-03 Richard Hult <richard@imendio.com>
3084 * gdk/quartz/gdkwindow-quartz.c:
3085 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3086 parent relative bg pixmap is set, and no parent has a bg
3087 pixmap. Fixes bug #500804.
3089 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3091 Two optimizations for icon cache lookups.
3093 * gtk/gtkiconcache.[hc]:
3094 * gtk/gtkicontheme.c: Remember the directory index for
3095 subdirectories, instead of running over the directory list
3098 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3099 chain and try it first; this helps with the the usage patterns
3100 in gtkicontheme.c, where the same icon is queried for a lot
3103 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3105 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3106 functions from header files. this should be portable across linux and
3107 Mac OS, unlike the previpous sed expression.
3109 2007-12-1 Cody Russell <bratsche@gnome.org>
3111 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3112 On Windows, queue a redraw of child2 whenever we set
3113 the pane handle position. This is unfortunately kind
3114 of hacky, but solves the visual artifacts that were
3115 occuring on at least certain types of child widgets
3116 (e.g., text views and tree views) that are inside
3117 horizontal or vertical panes. (#144269)
3119 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3121 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3123 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3125 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3128 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3130 * gtk/Makefile.am: Fix ordering of subdirs.
3132 2007-11-28 Tor Lillqvist <tml@novell.com>
3134 A proper build of GNU libintl is supposed to export the variable
3135 _nl_msg_cat_cntr. configure looks for that variable in order to
3136 recognize GNU gettext. If it sees that it is indeed GNU gettext
3137 that is used, it decides to install message catalogs in
3138 share/locale, otherwise in lib/locale. Until now on Windows I have
3139 built GTK+ against a build of GNU gettext that did not export
3140 _nl_msg_cat_cntr. But this will change, so we can't assume message
3141 catalogs are always in lib/locale.
3143 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3144 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3145 before the inclusion of gtkprivate.h so that it sees the original
3148 * gtk-zip.sh.in: Check whether the message catalogs are in
3149 share/locale or lib/locale.
3151 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3152 that the code in _gtk_get_localedir() will find the slashes.
3154 2007-11-28 Tor Lillqvist <tml@novell.com>
3156 * gtk/Makefile.am: Improve portability. The -o option is present
3157 only in newish GNU egreps. Use one more sed in the pipeline
3160 2007-11-28 Tor Lillqvist <tml@novell.com>
3162 Fix #375893, patch by Ben Hague:
3164 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3165 around GetLogicalDrives() that takes also the viewable drive
3166 restrictions in the Registry (which are usually the result of an
3167 Active Directory Group Policy) into account.
3169 (check_volumes, gtk_file_system_win32_list_volumes) Call
3170 get_viewable_logical_drives() instead of GetLogicalDrives().
3172 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3174 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3175 variables to silence valgrind. (#495124, Morten Welinder)
3177 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3179 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3180 that the construct_child function is responsible for returning a
3182 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3183 objects from constructors
3184 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3185 g_object_ref() to this construction function (it's the only
3190 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3192 * gtkbuilder.c: remove concept of root objects and just refcount
3193 all objects in the builder. Fixes #496651.
3195 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3197 * tests/buildertest.c (test_window): fix invalid free
3199 2007-11-26 Josselin Mouette <joss@malsain.org>
3201 reviewed by: Federico Mena Quintero
3203 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3204 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3205 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3206 Make the shortcuts activate with a single click. (#148828)
3207 Fix a few things affected by the change:
3208 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3209 where no shortcut is selected.
3210 - Don't activate a shortcut in the response callback.
3211 - Filter out duplicate entries in volumes and bookmarks to
3212 avoid the selection to change when reordering them with DnD.
3214 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3217 * gtk/gtknotebook.c:
3218 * gtk/gtkplugprivate.h:
3220 * gtk/gtksocketprivate.h:
3221 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3223 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3225 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3226 (#495574, Richard Hult)
3228 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3230 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3231 String change ! (#376361, Sven Neumann)
3233 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3235 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3237 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3240 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3242 * gtk/gtkassistant.c: Improve alternative button
3243 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3245 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3247 * gtk/gtkcalendar.c: Fix a theming problem with colors
3248 in GtkCalendar. (#499703, Michael Hofmann)
3250 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3252 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3254 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3256 Use templates for glib-mkenums calls instead of
3257 complicated commandlines in Makefiles. (#429910)
3259 * gdk-pixbuf/Makefile.am:
3262 * perf/Makefile.am: Use templates for glib-mkenums
3264 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3265 * gdk/gdkenumtypes.[ch].template:
3266 * gtk/gtktypebuiltings.[ch].template:
3267 * perf/typebuiltins.[ch].template: The templates
3269 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3271 * gtk/gtkfilechooserbutton.c:
3272 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3273 some compilers choke on that. (#467722)
3275 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3277 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3278 about hook setup. (#425004, Emmanuele Bassi)
3280 2007-11-26 Tor Lillqvist <tml@novell.com>
3282 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3283 monitor the window currently is on, not always the primary
3284 monitor. (#463865, Tim Evans)
3286 2007-11-26 Tor Lillqvist <tml@novell.com>
3288 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3290 * gdk/win32/Makefile.am: Add it.
3292 2007-11-26 Tor Lillqvist <tml@novell.com>
3294 * configure.in: Don't add jasper to all_loaders if no libjasper.
3296 2007-11-25 Bastien Nocera <hadess@hadess.net>
3298 * configure.in: Add detection for libjasper, used by the
3299 gdk-pixbuf JPEG2000 loader
3301 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3303 * configure.in: Require gtk-doc 1.8
3305 * */*.c: Use gtk-doc abbreviations for examples in docs.
3307 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3309 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3312 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3314 * gtk/gtkdialog.c: Move signal and property documentation inline,
3315 fix a problem with the ::response signal docs. (#499133, Josselin
3318 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3320 * Makefile.decl: initialize automake variables EXTRA_DIST and
3321 TEST_PROGS for unconditional appending via += in other makefiles.
3322 define recursive test targets: test, test-report, perf-report,
3323 full-report, as described here:
3324 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3325 the test targets will execute Gtk+ test programs within an Xvfb session.
3327 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3329 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3330 g_test_run() to run the tests to integrate with the testing framework.
3332 * gtk/tests/Makefile.am: removed exemplary testing rules.
3334 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3335 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3336 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3337 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3338 * docs/reference/Makefile.am, docs/tools/Makefile.am:
3339 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3340 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3341 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3342 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3343 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3344 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3345 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3346 * modules/engines/ms-windows/Theme/Makefile.am:
3347 * modules/engines/ms-windows/Makefile.am:
3348 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
3349 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3350 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3351 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3352 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3353 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3354 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3356 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3358 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3359 (#485662, patch by Herbert Valerio Riedel)
3361 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3363 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
3365 2007-11-21 Richard Hult <richard@imendio.com>
3367 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3368 stubs for the testing functions to fix the build.
3370 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3372 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3373 (#467711, The Written Word)
3375 2007-11-21 Ross Burton <ross@openedhand.com>
3377 * gdk/x11/gdksettings.c:
3378 Add xsetting for gtk-scrolled-window-placement (#458103).
3380 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3382 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3383 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3384 (#469239, Michael Natterer)
3386 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3388 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3389 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3390 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3391 (#436536, Tommi Komulainen)
3393 2007-11-21 Matthias Clasen <mclasen@redhat.com>
3395 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3396 property. (#489782, Jan Janech)
3398 2007-11-20 Matthias Clasen <mclasen@redhat.com>
3400 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3401 frames. (#107398, Owen Taylor, Miguel Gomez)
3403 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3405 Moved Gdk test functions from Gtk+ to Gdk test utils.
3407 * gdk/Makefile.am: added gdktestutils.h to public includes.
3409 * gdk/gdk.h: added gdktestutils.h to public includes.
3411 * gdk/gdk.symbols: added gdk_test_simulate_button,
3412 gdk_test_simulate_key, gdk_test_render_sync.
3414 * gdk/gdktestutils.h: new file, added prototypes for
3415 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3417 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3419 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3420 gdk_test_simulate_key, gdk_test_render_sync.
3422 * gtk/gtktestutils.c:
3423 * gtk/gtktestutils.h:
3424 * gtk/gtk.symbols: removed gtk_test_simulate_button
3425 gtk_test_simulate_key, gtk_test_xserver_render_sync.
3427 * gtk/tests/testing.c: call gdk_test_render_sync.
3429 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3431 Added unit tests for Gtk+ testing utilities.
3433 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3434 utility functions. some g_test_* related portions are disabled and need
3435 to be enabled once Gtk+ depends on a new glib with the GLib testing
3436 framework integrated.
3438 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3439 tests. added exemplary test rules to run tests inside Xvfb. this
3440 needs to depend on gtester for full fledged testing.
3442 * gtk/Makefile.am: build gtk+/gtk/tests, define
3443 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3444 e.g. gtk_text_get_type().
3446 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3448 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3450 Added Gtk+ testing utilities.
3452 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3453 functions. for the most part, the functions herein involve
3454 navigating and interacting with dialog elements programatically,
3455 to automate user interaction tests of dialogs and widgets.
3457 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3459 * gtk/gtk.symbols: added gtk_test_* symbols.
3461 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3462 the build. generate gtktypefuncs.c which contains a list of all
3463 _get_type functions in Gtk+ and Gdk.
3465 2007-11-20 Bastien Nocera <hadess@hadess.net>
3467 * configure.in: add support for conditional icns gdk-pixbuf loader
3470 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3472 * configure.in: updated version number to 2.15.0 for development.
3474 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3476 === Branch for 2.12 ===