1 2008-05-08 Richard Hult <richard@imendio.com>
3 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
4 currently invalidated region. Fixes bug #532048, patch by Yevgen
7 2008-05-08 Richard Hult <richard@imendio.com>
9 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
10 fd's revents, not the first one. Fixes bug #531056, spotted by
13 2008-05-07 Tor Lillqvist <tml@novell.com>
15 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
18 2008-05-05 Matthias Clasen <mclasen@redhat.com>
20 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
21 more printer status information in the print dialog.
23 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
24 printer-state-reasons into suitable messages and icons.
26 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
27 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
28 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
30 * gtk/gtkiconfactory.c:
31 * gtk/gtkstock.h: New stock icons to display printer state.
33 2008-05-07 Michael Natterer <mitch@imendio.com>
37 * gdk/directfb/gdkevents-directfb.c
38 * gdk/quartz/gdkevents-quartz.c
39 * gdk/win32/gdkevents-win32.c
40 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
41 order parameters src,dest and make src const.
43 2008-05-06 Richard Hult <richard@imendio.com>
45 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
46 * gdk/gdkinternals.h: Add private backend data to events, and
47 handle it when copying/freeing events. Currently only needed in
50 * gdk/directfb/gdkevents-directfb.c:
51 * gdk/quartz/gdkevents-quartz.c:
52 * gdk/win32/gdkevents-win32.c:
53 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
54 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
55 directfb. Implement for quartz. Part of fixing bug #473822.
57 2008-05-05 Richard Hult <richard@imendio.com>
59 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
60 framework if there is one.
62 2008-05-05 Michael Natterer <mitch@imendio.com>
64 * gtk/gtkcellrenderercombo.h
65 * gtk/gtkcellrendererspin.h
66 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
69 * gtk/gtkfilechooserdialog.h
70 * gtk/gtkfilechooserwidget.h
71 * gtk/gtkscalebutton.h: reorder instance and class structs to be
74 2008-05-04 Richard Hult <richard@imendio.com>
76 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
77 gdk_unicode_to_keyval() worked before using the result. Makes
78 function keys work, bug #530156. Also add F16 to the function key
81 2008-05-04 Richard Hult <richard@imendio.com>
83 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
84 semicolon after if statement. Fixes bug #530963, patch from Yevgen
87 2008-05-02 Michael Natterer <mitch@imendio.com>
89 * gtk/gtk.h: add 15 files that were missing (they all got included
90 indirectly by including gtk.h, so should have been here in the
93 2008-05-02 Michael Natterer <mitch@imendio.com>
95 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
97 2008-05-01 Richard Hult <richard@imendio.com>
99 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
100 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
102 2008-05-01 Matthias Clasen <mclasen@redhat.com>
104 * modules/imput/imthai.c: Register the right translation domain.
106 2008-04-30 Matthias Clasen <mclasen@redhat.com>
108 Bug 529386 – Printing options hidden by blacklisted option
110 * modules/printbackend/cups/gtkprintbackendcups.c
111 (cups_printer_get_options): Fix the blacklist handling.
112 Patch by Marek Kašík.
114 2008-04-30 Richard Hult <richard@imendio.com>
116 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
119 2008-04-30 Richard Hult <richard@imendio.com>
121 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
122 nsevents with the gdk lock held, fixes deadlock when doing manual
123 window resizing with threading enabled.
125 2008-04-30 Richard Hult <richard@imendio.com>
127 * gdk/quartz/gdkevents-quartz.c:
128 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
129 Alt to Alt and Cmd to Meta. This is not only more logical but also
130 makes it easier to have Mac-like behavior.
132 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
134 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
135 painting the flat box instead of recalculating it. (#437493,
138 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
140 Bug 529841 – incorrect position in directfb
142 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
144 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
146 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
148 2008-04-25 Michael Natterer <mitch@imendio.com>
150 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
151 <pango/pango-layout.h>.
153 * gtk/gtkiconfactory.c
157 * gtk/queryimmodules.c: remove inclusion of single files from
158 pango, none of them was actually needed.
160 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
161 <pango/pango-utils.h>.
163 2008-04-25 Michael Natterer <mitch@imendio.com>
165 * gdk/gdkfont.h: include <pango/pango.h> instead of
166 <pango/pango-font.h>.
168 2008-04-25 Michael Natterer <mitch@imendio.com>
170 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
173 2008-04-21 Michael Natterer <mitch@imendio.com>
175 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
176 crashing when NULL pointers get passed.
178 2008-04-18 Michael Natterer <mitch@imendio.com>
180 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
181 here have the same style.
183 2008-04-18 Michael Natterer <mitch@imendio.com>
186 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
189 * gtk/gtkbuilderparser.c
190 * gtk/gtklinkbutton.c
192 * gtk/gtkrecentchooserdefault.c
193 * gtk/gtkrecentchoosermenu.c
194 * modules/input/gtkimcontextthai.c: remove inclusion of single
195 files from gdk, none of the includes was actually needed.
197 2008-04-18 Michael Natterer <mitch@imendio.com>
199 * gdk/gdk.h: reorder one include so they are all alphabetical.
201 2008-04-18 Michael Natterer <mitch@imendio.com>
203 * modules/printbackends/cups/gtkprintercups.[ch]
204 (gtk_printer_cups_get_ppd_name): change return value and local
205 variable to const gchar* to fix warning about discarding const
208 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
210 * gtk/gtkrecentmanager.c:
211 (gtk_recent_manager_set_filename): Keep the default storage
212 file in $HOME, as we don't have a migration code in place yet.
214 2008-04-18 Michael Natterer <mitch@imendio.com>
216 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
217 g_strfreev() the uris returned by g_bookmark_file_get_uris().
219 2008-04-17 Michael Natterer <mitch@imendio.com>
221 * gtk/gtkiconfactory.c (get_default_icons): register the
222 GTK_STOCK_PAGE_SETUP icon.
224 2008-04-17 Michael Natterer <mitch@imendio.com>
226 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
227 g_return_if_fail(tooltips != NULL);
229 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
231 * gtk/gtkwindow.c: Chain up in buildable_finish()
233 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
234 cases where g_path_get_dirname() returns "."
236 * docs/reference/gtk/tmpl/gtklabel.sgml,
237 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
238 for the <attributes> tags on GtkLabel
240 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
242 * gtk/gtkrecentmanager.c:
243 (gtk_recent_manager_real_changed): Fix last commit, and
244 complete the gtk-recent-files-max-age semantics: if the
245 property is set to 0 then purge the list.
247 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
249 Bug 488507 – boundless growth of .recently-used.xbel file
250 slows down applications
252 * gtk/gtkrecentmanager.c:
253 (gtk_recent_manager_init),
254 (gtk_recent_manager_real_changed),
255 (gtk_recent_manager_set_filename),
256 (gtk_recent_manager_clamp_to_age): Clamp the recently
257 used resources list by the age of its items, using
258 the newly added GtkSettings property.
260 * gtk/gtksettings.c (gtk_settings_class_init): Add the
261 gtk-recent-files-max-age property, controlling the
262 maximum age of the items in the recently used resources
265 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
267 * gtk/gtkrecentmanager.c:
268 (gtk_recent_manager_add_item_query_info),
269 (gtk_recent_manager_add_item): Emit the ::changed signal
270 at the end of the asynchronous MIME type query.
272 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
274 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
277 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
278 changes in the recently used resources storage file, and
279 drop the timeout-based poll.
281 * ChangeLog: Fix attribution of the patch of the previous
284 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
286 Bug 506062 – gtk_recent_manager_add_item does not detect mime
289 * configure.in: Depend on gio-2.0
291 * gtk/gtkrecentmanager.c:
292 (gtk_recent_manager_add_item_query_info_cb),
293 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
294 query the MIME type of the passed URI (based on a patch by
297 2008-04-11 Carlos Garnacho <carlos@imendio.com>
299 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
300 page to visited page list instead of next current page. (#527466,
301 patch by Marcus Brinkmann)
303 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
305 * gtk/gtklabel.c: Added <attributes> / <attribute>
306 custom tags to parse pango attributes into labels.
308 * tests/buildertest.c: Added tests for GtkLabel custom
311 2008-04-10 Carlos Garnacho <carlos@imendio.com>
313 * gtk/gtknotebook.c (hide_drag_window): Do not call
314 gtk_widget_set_parent_window(), using widget->window instead of NULL
315 to unset is the wrong thing, and gtk_widget_unparent() will already
316 take care of this (#467698, patch by Sébastien Granjoux)
318 2008-04-08 Tor Lillqvist <tml@novell.com>
320 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
321 these functions with G_MODULE_EXPORT.
323 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
325 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
326 (gtk_file_system_volume_render_icon):
327 Fix fallback icon rendering size
329 2008-04-08 Michael Natterer <mitch@imendio.com>
331 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
332 touchscreen-mode keynav corner case: when navigating to the parent
333 menu, make sure we don't close two menus at the same time in case
334 the deepest open menu has no selectable items.
336 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
338 * gtk/gtkwidget.c: Clarified a g_warning message regarding
339 parsing accelerators from builder files.
341 2008-04-03 Cody Russell <bratsche@gnome.org>
343 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
344 of the block. (#526021, reported by Kazuki IWAMOTO)
346 2008-04-03 Tor Lillqvist <tml@novell.com>
348 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
351 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
352 workaround for a specific kind of screwed up locale setting.
354 2008-04-02 Matthias Clasen <mclasen@redhat.com>
356 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
357 colormaps. Found by Daniel Berrange.
359 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
361 * tests/autotestfilechooser.c: Cover
362 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
363 name. (#346058, Joe Halliwell)
365 2008-04-02 Federico Mena Quintero <federico@novell.com>
367 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
368 chooser incorrectly substitutes and expands a ~ when you type it
369 in the filename entry.
371 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
372 basenames result in a slash-terminated pathname.
373 gtk_file_system_unix_parse() is correct, but it was splitting
374 "/home/username" into path="/home" and file_part="username", which
375 is not what the caller wants when the entry has just "~" or
378 2008-04-02 Tor Lillqvist <tml@novell.com>
380 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
381 and gtksearchenginetracker.c on Windows.
383 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
386 2008-04-01 Cody Russell <bratsche@gnome.org>
388 * configure.in: Bump required Cairo to 1.5.2.
390 * gtk/gtkprintoperation-win32.c: Add support for using the new
391 cairo_win32_printing_surface for printing. Also fixed to use
392 cairo_surface_show_page(). (#488833 and #521178)
394 2008-03-31 Cody Russell <bratsche@gnome.org>
396 * demos/gtk-demo/printing.c (draw_page): Move down each line in
397 units of text_height rather than in units of data->font_size.
398 (totally awesome catch by Dom Lachowicz)
400 2008-03-28 Richard Hult <richard@imendio.com>
402 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
403 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
404 event to the mainloop and don't generate one at all if the
405 toplevel didn't change. Use the actual window and not the toplevel
406 as event window. These changes make the generated crossing events
407 match the X11 behavior and fixes issues with e.g. tooltips,
408 comboboxes and menus.
410 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
411 the view has no window, it will be updated as soon as it's put
414 * gdk/quartz/gdkwindow-quartz.c:
415 (_gdk_quartz_window_debug_highlight): Make it possible to track
416 multiple windows with debug highlighting.
417 (show_window_internal): Remove workaround for tooltips and popups
418 that is no longer needed with the above changes.
420 2008-03-26 Federico Mena Quintero <federico@novell.com>
422 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
423 helper function; factored out from the functions that commit the
424 current suggested autocompletion and that refresh the entry's paths.
425 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
426 (_gtk_file_chooser_entry_get_file_part): Likewise.
427 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
428 makes the entry have the correct paths when *not* using any form
429 of completion (and makes the file chooser work when clicking the
432 2008-03-25 Richard Hult <richard@imendio.com>
434 * gdk/quartz/gdkevents-quartz.c:
435 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
436 can't find a matching window.
438 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
439 comment, and only trigger an event for non-temp windows, fixes
440 problems for tooltips caused by the workarounds for the
441 problematic tracking rect API.
443 2008-03-25 Richard Hult <richard@imendio.com>
445 * gdk/quartz/gdkwindow-quartz.c:
446 (gdk_window_quartz_process_all_updates): Plug a leak and add a
447 check that we have a toplevel before accessing it.
449 2008-03-24 Tor Lillqvist <tml@novell.com>
451 Bug 524151 - Dragging of 0-byte files results in an empty filename
452 on Windows XP and above
454 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
455 being empty first. For some reason ISHellLink and IPersistFile
456 succeeds in interpreting empty files as shortcuts, claiming the
457 target of the shortcut is an empty path.
459 Change the function to take the wide character file name that the
460 caller already has anyway, to avoid a superfluous conversion from
463 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
465 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
466 against NULL pointer. (#467051, Gian Mario Tagliaretti)
468 2008-03-23 Cody Russell <bratsche@gnome.org>
470 * gdk/win32/gdkevents-win32.c (show_window_recurse):
471 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
472 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
473 menus from a maximized window would force the window to restore
476 2008-03-23 Johan Dahlin <johan@gnome.org>
478 * gtk/gtk-builder-convert:
479 Properly convert GtkImageMenuItems which use stock labels but don't
481 (#523932, Brian Pepple)
483 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
485 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
486 New function implements GtkCellLayoutClass::get_cells. (#523787)
488 2008-03-22 Tor Lillqvist <tml@novell.com>
490 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
492 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
493 GDK_THREADS_LEAVE() call. Approved by mclasen.
495 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
497 * gtk/gtkexpander.c (gtk_expander_get_label):
498 gtk_label_get_label() should be used instead of
499 gtk_label_get_text(). (#353088, Xan Lopez)
501 2008-03-21 Tor Lillqvist <tml@novell.com>
503 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
504 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
505 gdip-pixbuf-loader module.
507 * configure.in: Add switch --disable-gdiplus-loaders that disables
508 building of the GDI+ loaders.
510 When including loaders in the gdk-pixbuf library, and building
511 GDI+ loaders, either build in all the GDI+ loaders or none of
512 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
513 signal building them in.
515 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
516 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
517 indicate whether they should be built-in.
519 For the rest of the changes, see gdk-pixbuf/ChangeLog.
521 2008-03-20 Tor Lillqvist <tml@novell.com>
523 * gtk/Makefile.am: Revert accidental change that went in as part
524 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
525 Darwin. On Windows one has to use a newer GNU grep that has -o,
526 for instance the one from gnuwin32, instead of the oldish one in
527 MSYS that doesn't have -o.
529 2008-03-20 Tor Lillqvist <tml@novell.com>
531 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
532 pass NULL for %s to g_message().
533 (main): Drop unnecessary call to gtk_widget_destroy().
535 2008-03-20 Tor Lillqvist <tml@novell.com>
537 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
539 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
540 in one dimension, or centered in case it doesn't fit.
541 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
544 2008-03-18 Tor Lillqvist <tml@novell.com>
546 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
548 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
549 G_MODULE_ENTRY decoration can be put in a more correct place.
551 2008-03-18 Sven Neumann <sven@gimp.org>
553 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
554 alternative button order on the password dialog.
556 2008-03-18 Tor Lillqvist <tml@novell.com>
558 Bug 99192 - Add --with-include-input-modules
560 * configure.in: Add --with-included-immodules switch. Handled in a
561 similar way as the --with-included-loaders switch. For each input
562 method module foo: Collect the list of input modules to be built
563 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
564 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
565 Define Automake conditionals INCLUDE_IM_FOO.
567 * modules/input/Makefile.am: For modules to be included in libgtk,
568 build a static library.
570 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
571 gdk-pixbuf to get unique names for the functions called by libgtk
572 in the included case. Use G_MODULE_EXPORT in the non-included case
573 so that we don't unnecessarily export unneeded random global
576 * gtk/Makefile.am: Build the included modules and link them into libgtk.
578 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
579 copy/paste leftover mentions of "themes" in comments.
581 2008-03-18 Tor Lillqvist <tml@novell.com>
583 * tests/Makefile.am: Build testmountoperation only on Unix for now.
585 2008-03-17 Christian Kellner <gicmo@gnome.org>
587 Implement GtkMountOperation, a subclass of GMountOperation
588 to be used with gio wherever there is the need to ask the
589 user for credentials or questions while mounting a volume.
592 * gtk/gtkmountoperation.c:
593 * gtk/gtkmountoperation.h:
594 Implement GtkMountOperation.
596 * gtk/gtk.h: Add gtkmountoperation.h
597 * gtk/Makefile.am: Add gtkmountoperation.[hc]
598 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
599 * tests/testmountoperation.c: Test program for it.
600 * tests/Makefile.am: Add testmountoperation.
602 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
604 * gtk/gtkcontainer.c: Properly document
605 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
607 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
609 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
610 style names for the ComboBox thickness style
612 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
614 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
615 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
616 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
617 intelligent separation for the xp theming engine and the classic
618 theme while drawing the GtkComboBox button. combobox_draw_arrow
619 is not used anymore, commented. The style has been updated to fix
620 border/thickness glitches in the combobox according to the fixes
621 commited regarding bug #521442. (bug #461805)
623 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
625 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
626 now aware of both the combobox and frame (if has-frame is set)
627 thickness and border. (bug #521442)
629 2008-03-15 Andre Klapper <a9016009@gmx.de>
631 * configure.in: Added "si" to ALL_LINGUAS.
633 2008-03-15 Matthias Clasen <mclasen@redhat.com>
635 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
636 Set window type hint on the search popup. (#522279, Danny Baumann)
638 2008-03-15 Matthias Clasen <mclasen@redhat.com>
640 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
641 appropriate. (#521934, Huang Peng)
643 2008-03-14 Michael Natterer <mitch@imendio.com>
646 * gtk/gtkbuilderprivate.h
647 * gtk/gtkfilechoosersettings.c
648 * gtk/gtksearchenginesimple.c
649 * gtk/tests/liststore.c
650 * gtk/tests/treestore.c: remove single-file includes of GLib
651 headers or replace them by <glib.h> where needed.
653 2008-03-14 Michael Natterer <mitch@imendio.com>
655 * gtk/gtkadjustment.c: coding style cleanup.
657 (gtk_adjustment_set_property): no need to call g_object_notify()
658 on the set properties.
660 Implement GObject::dispatch_properties_changed() and make sure we
661 emit "changed" when anything but the "value" property changes.
663 2008-03-14 Tor Lillqvist <tml@novell.com>
665 * gdk/win32/gdkevents-win32.c: Drop the support for the
666 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
667 Win95. Thanks to mitch for noticing this obsolete code.
669 2008-03-14 Cody Russell <bratsche@gnome.org>
671 * examples/scribble-xinput/scribble-xinput.c: Changed
672 'void int main()' to 'int main()'. (#522211, Liqing Huang)
674 2008-03-14 Richard Hult <richard@imendio.com>
676 * gdk/quartz/gdkwindow-quartz.c:
677 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
678 only flush the toplevel once per update.
680 2008-03-13 Federico Mena Quintero <federico@novell.com>
682 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
683 Set the mouse cursor of the feedback window to invisible, so that
684 we respect GtkEntry's invisible cursor while typing.
686 2008-03-13 Federico Mena Quintero <federico@novell.com>
688 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
689 the feedback window at entry_height/2 pixels to the right of the
690 cursor, for a cheap "M-width / 2" spacing.
692 2008-03-13 Sven Neumann <sven@gimp.org>
694 * gtk/gtkfilechooserdefault.c
695 * gtk/gtkprintunixdialog.c: set alternative button order for
696 overwrite confirmation dialogs (bug #522191).
698 2008-03-13 Sven Neumann <sven@gimp.org>
700 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
701 (overwrite_confirmation_dialog): added some line-breaks for
704 2008-03-12 Federico Mena Quintero <federico@novell.com>
706 Rework the way completion works in GtkFileChooserEntry. Fixes
707 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
708 Tab completion should work even if the cursor is not at the end of
711 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
714 We distinguish between two cases:
716 - autocompletion - happens only in the Open modes by
717 inserting and selecting the common prefix as you type.
719 - explicit completion - happens when you hit Tab.
721 When some type of completion needs to happen, the entry first
722 parses its input and sees if it needs to initiate a folder load.
723 Completion will not happen until the folder finishes loading.
725 If the folder is already completely loaded, then completion is
726 performed immediately. Otherwise, the entry queues a pending
727 completion and starts loading the new folder (or waits until the
728 current folder is completely loaded).
730 Tab completion is allowed to happen even if the cursor is not at
731 the end of the entry.
733 There is a new feedback mechanism for explicit completion, so that
734 you will get an Emacs-like tip whenever there are ambiguities in
735 completion, no matches, etc. (This needs to be polished so that
736 we support RTL entries and all the fancy Pango layout in GtkEntry).
738 The only remaining thing to fix is the popup suggestion window.
739 Unfortunately, GtkEntryCompletion does not let us do what we want,
740 and will need further changes.
742 2008-03-12 Tor Lillqvist <tml@novell.com>
744 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
746 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
747 for the TaskbarCreated message in the window procedure for the
748 dummy "tray observer" window we create. When we get a
749 TaskbarCreated message, iterate over the status icons and re-add
750 them to the task bar, and update them by calling
751 gtk_status_icon_update_image().
753 Move some ifdefs around to avoid unused functions.
755 2008-03-12 Tor Lillqvist <tml@novell.com>
757 * config.h.win32.in: Update to match what configure produces.
759 2008-03-12 Jens Granseuer <jensgr@gmx.net>
761 * modules/printbackends/cups/gtkprintbackendcups.c:
762 (cups_printer_prepare_for_print): Don't define variables in the
763 middle of a block. (#522067)
765 2008-03-12 Matthias Clasen <mclasen@redhat.com>
767 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
768 dialog for print-to-file. (#474302, Marek Kašík)
770 2008-03-12 Matthias Clasen <mclasen@redhat.com>
772 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
773 (#469210, Wouter Bolsterlee)
775 2008-03-12 Matthias Clasen <mclasen@redhat.com>
777 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
778 paper_size here. (#488820, Morten Welinder)
780 2008-03-12 Michael Natterer <mitch@imendio.com>
782 * acconfig.h: remove this deprecated file.
784 * configure.in: added comments to all instances of AC_DEFINE() so
785 config.h can be completely generated from configure.in.
787 2008-03-12 Michael Natterer <mitch@imendio.com>
789 * modules/printbackends/cups/gtkprintbackendcups.c: include
790 <glib/gstdio.h> for g_fopen().
792 2008-03-11 Matthias Clasen <mclasen@redhat.com>
794 * modules/printbackends/cups/gtkprintbackendcups.c: Use
795 g_ascii_formatd when formatting custom paper sizes, since
796 cups doesn't handle , as decimal separator. (#521548)
798 2008-03-11 Tor Lillqvist <tml@novell.com>
800 Bug 469868 - Filenames with colon ":" are not saved correctly
802 * gtk/gtkfilechooserentry.c (insert_text_callback)
803 (delete_text_callback) [Win32]: New functions to make sure that
804 colons used otherwise than as a separator after a drive letter, or
805 characters that are always illegal in file names, are rejected on
806 input. This means that the GTK+ file chooser can't be used to
807 input full names of alternate data streams, but oh well. There are
808 still more checks that could be done on the file names, see the
809 bug report. But this will do for now.
810 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
812 2008-03-11 Jordi Mallach <jordi@sindominio.net>
814 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
816 2008-03-11 Michael Natterer <mitch@imendio.com>
818 * gdk/linux-fb/*: removed linux-fb backend files.
822 * docs/README.linux-fb
823 * gtk/Makefile.am: remove remaining traces of linux-fb.
825 * gtk/gtkwindow-decorate.c: same here. There is some code that
826 calls into linux-fb to set window move/resize callbacks. I put it
827 in #if 0 as a reminder because we did use decorated windows with
828 the DirectFB backend and it did work, so I don't really know why
829 this code is needed or how it could work with DirectFB back then.
830 The file does actually compile now if DECORATE_WINDOWS is defined,
831 but I didn't test with DirectFB to check if it does anything.
833 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
835 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
836 Take thickness into account in the size allocation of the child widgets in
840 2008-03-11 Richard Hult <richard@imendio.com>
842 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
844 2008-03-10 Tor Lillqvist <tml@novell.com>
846 * tests/teststatusicon.c (do_exit, popup_menu): Add the
847 possibility to test what happens if the process just calls exit()
848 without any orderly cleanup of GTK+.
850 2008-03-10 Tor Lillqvist <tml@novell.com>
852 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
854 2008-03-10 Tor Lillqvist <tml@novell.com>
856 Bug 520286 - Non-deletable window has no minimize / maximize buttons
858 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
859 New debugging output function that decodes a set of WS_* bits.
861 * gdk/win32/gdkprivate-win32.h: Declare it.
863 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
864 New function that enables or disables one menu entry in the system
865 menu of a top-level window. (The corresponding decoration will
866 then also be enabled or disabled (grayed).)
868 (update_style_bits): Do as the comment says and don't try to
869 update the window style based on the GdkWMFunctions set for the
872 (update_system_menu): New function that enables or disables the
873 system menu entries based on a window's stored set of
876 (gdk_window_set_functions): Call update_system_menu() instead of
879 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
881 * README.in: Reword the 2.14 release notes entry about the
882 deprecation of the gtkitemfactory.h header, and fix typos
885 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
887 * modules/engines/ms-windows/msw_style.c (draw_shadow):
888 Do not draw frame if parent if combobox.
890 Uses scrollbar width system metrics for combobox button.
891 Fixes #461805 for XP theme engine.
893 2008-03-07 Johan Dahlin <johan@gnome.org>
896 * gtk/gtkbuilderparser.c:
897 * gtk/gtkbuilderprivate.h:
898 * gtk/gtkiconfactory.c:
899 * tests/buildertest.c:
900 - Treat enums like enums and not values
901 - Avoid invalid free, in case of more than two sources
902 - Add better error messages
903 - Add much improved tests
904 (#520979, Christian Persch)
906 2008-03-07 Carlos Garnacho <carlos@imendio.com>
908 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
911 2008-03-06 Federico Mena Quintero <federico@novell.com>
913 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
914 GtkFileChooserDialog should set a default response button if the
915 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
917 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
918 function, refactor from where there was duplicated code.
919 (gtk_file_chooser_dialog_map): Look at the buttons in our
920 action_area. If the response ID for a button is one of the stock
921 ones, make it the default response button.
923 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
925 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
927 * gtk/gtkbuilderprivate.h:
928 * gtk/gtkiconfactory.c:
929 * tests/buildertest.c:
930 Implement GtkBuildable on GtkIconFactory, to make
931 it possible to register custom stock icons.
934 2008-03-06 Johan Dahlin <johan@gnome.org>
938 * gtk/gtkstyle.c: npoints->n_points.
939 * gtk/gtktestutils.h: widget->spinner
940 * gtk/gtktestutils.c: argc->argcp, argv->argvp
942 2008-03-06 William Lachance <wrlach@gmail.com>
944 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
945 string localizable (as it should be).
947 2008-03-06 William Lachance <wrlach@gmail.com>
949 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
950 the time for today's date. It's redudant. (see bug #410517).
952 2008-03-06 Xan Lopez <xan@gnome.org>
954 * gtk/gtkfixed.c: fix typo in documentation.
956 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
958 * gtk/gtkitemfactory.h:
959 * gtk/gtktypeutils.h:
960 Move GtkTranslateFunc to gtktypeutils.h so we can completely
961 deprecate gtkitemfactory.h.
963 * gtk/gtkactiongroup.h:
965 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
968 Add a note describing this slight incompatible change
970 2008-03-06 Johan Dahlin <johan@gnome.org>
972 * gtk/gtkpreview.h: Avoid double-deprecation.
974 2008-03-06 Michael Natterer <mitch@imendio.com>
977 * gtk/Makefile.am: move the remaining deprecated widgets to the
978 separate sections and replaced spaces by tabs in Makefile.am
980 2008-03-05 Johan Dahlin <johan@gnome.org>
982 * configure.in: Add --disable-cups option.
983 (#513826, Alberto Ruiz)
987 Separate broken and deprecated sources and headers into different sections
989 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
991 2008-03-05 Kristian Rietveld <kris@imendio.com>
993 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
994 short-circuit in case an empty root level would be build (and thus
995 directly destroyed) if no virtual root has been set.
997 2008-03-04 Matthias Clasen <mclasen@redhat.com>
999 * modules/printbackends/cups/gtkprintbackendcups.c:
1000 Honor cups user default options from ~/.cups/lpoptions
1001 (#469210, Stijn Hoop)
1003 2008-03-04 Michael Natterer <mitch@imendio.com>
1006 * gtk/gtkcolorbutton.c
1007 * gtk/gtkentrycompletion.c
1008 * gtk/gtkfontbutton.c
1012 * gtk/gtkpreview.c: don't include "gtksignal.h".
1014 * gtk/gtkfilefilter.c
1015 * gtk/gtkrecentchoosermenu.c
1016 * gtk/gtkrecentfilter.c
1017 * gtk/gtktext.c: don't include "gtkobject.h".
1019 2008-03-04 Simos Xenitellis <simos@gnome.org>
1021 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
1022 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
1024 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
1027 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
1028 file, contains compose sequences that used to exist in
1029 gtk/gtkimcontextsimple.c
1031 * gtk/compose-parse.py: Script to generate compose
1032 sequences from upstream (Xorg).
1034 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
1035 check_algorithmically): New functions. First two search in
1036 gtk_compose_seqs_compact[] for matching compose sequence, third
1037 tries NFC normalisation on incoming compose sequence.
1038 (gtk_im_context_simple_filter_keypress):
1039 Adds searching with check_compact_table(), check_algorithmically().
1041 2008-03-03 Carlos Garnacho <carlos@imendio.com>
1043 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
1044 scrollwheel work in GtkPathBar.
1046 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
1048 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
1049 an input-only window, event_window, which we'll use to capture
1051 (gtk_path_bar_map): Show the event_window under the rest of the
1052 windows, so it will be a catch-all for unhandled events.
1054 2008-03-03 Sven Neumann <sven@gimp.org>
1056 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
1057 typo in the documentation of the GtkFileChooserButtons::file-set
1058 signal (see bug #353196).
1060 2008-03-03 Tor Lillqvist <tml@novell.com>
1062 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
1065 2008-03-02 Johan Dahlin <johan@gnome.org>
1067 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
1068 Remove left-over focus_pad variable.
1069 (#490892, Claudio Saavedra)
1071 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
1072 (#518166, Matt Kraai)
1074 2008-03-02 Johan Dahlin <johan@gnome.org>
1076 * docs/tutorial/gtk-tut.sgml: Add a missing space
1077 (#517954, Matt Kraai)
1079 2008-03-03 Tor Lillqvist <tml@novell.com>
1081 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
1082 the widget is a GtkButton before casting.
1084 2008-03-02 Johan Dahlin <johan@gnome.org>
1086 * configure.in: Compare using = instead of ==, which is portable.
1087 (#490787, Thomas Klausner)
1089 2008-03-02 Johan Dahlin <johan@gnome.org>
1091 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
1092 fixes non-C++ build.
1093 (#496032, Nelson Benitez)
1095 2008-02-29 Johan Dahlin <johan@gnome.org>
1097 * demos/gtk-demo/demo.ui:
1098 * gtk/gtkbuilderparser.c:
1099 * gtk/gtkbuilderprivate.h:
1100 * gtk/gtkliststore.c:
1101 * tests/buildertest.c:
1102 Add translatable/context and comment attributes on
1103 <col> tags under a GtkListStore. Refactor parts of the
1104 translation api and make it available inside gtk+ itself.
1105 Update tests and example.
1106 Fixes a part of #518642
1108 2008-02-29 Johan Dahlin <johan@gnome.org>
1111 Add missing g_return_val_if_fail checks for public API.
1113 * gtk/gtkbuilderparser.c:
1114 * gtk/gtkbuilderprivate.h:
1115 Do not use g_error for a few more errors, instead set
1116 the GError sent in through add_from_file/add_from_string.
1117 * tests/buildertest.c:
1118 Add a couple of new parsing tests.
1119 (#519199, Pavel Syomin)
1121 2008-02-29 Federico Mena Quintero <federico@novell.com>
1123 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
1124 refreshing an existing folder (i.e. when we are about to reload
1125 its file list), turn off the folder's is_finished_loading flag.
1126 Otherwise callers which do ::is_finished_loading() followed by
1127 ::list_children() will get nothing.
1129 2008-02-29 Cody Russell <bratsche@gnome.org>
1131 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
1132 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
1134 2008-02-28 Matthias Clasen <mclasen@redhat.com>
1136 * gtk/gtkcalendar.h: Remove trailing comma from enum to
1137 make the compiler happy. (#517295, Sylvain Pasche)
1139 2008-02-27 Michael Natterer <mitch@imendio.com>
1141 * gtk/gtkmenushell.c
1144 * gtk/gtktipsquery.c
1149 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
1150 private functions and virtual function implementations.
1152 2008-02-27 Richard Hult <richard@imendio.com>
1154 * gdk/quartz/GdkQuartzView.c:
1155 * gdk/quartz/GdkQuartzView.h:
1156 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
1157 Fix performance regression for borderless transparent windows
1160 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
1162 * tests/testgtk.c: Revert back to r19454.
1164 2008-02-27 Sven Neumann <sven@gimp.org>
1166 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1167 Quartz backend, use a native Mac OS X application for the print
1168 preview (bug #518624).
1170 2008-02-26 Michael Natterer <mitch@imendio.com>
1172 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1173 the members of info->tag_stack since they are a) gobjects and b)
1174 not even owned by us, ugh... Fixes crash when deserializing fails.
1176 2008-02-26 Sven Neumann <sven@gimp.org>
1178 * docs/tools/shooter.c (find_toplevel_window)
1179 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1180 argument passed to XQueryTree().
1182 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1184 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1185 don't use beagle_query_add_hit_type.
1187 2008-02-25 Richard Hult <richard@imendio.com>
1189 * gdk/quartz/gdkevents-quartz.c
1190 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1192 2008-02-24 Richard Hult <richard@imendio.com>
1194 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1195 shown without gdk's control when clicking the dock icon.
1197 2008-02-24 Richard Hult <richard@imendio.com>
1199 * gdk/quartz/gdkprivate-quartz.h:
1200 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1201 Use the subtype field for the custom event that is used to wake up
1202 the mainloop so we can have other custom event types.
1204 * gdk/quartz/gdkevents-quartz.c:
1205 (_gdk_quartz_events_trigger_crossing_events):
1206 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1207 crossing events after showing a window if necessary, to work
1208 around problems with the tracking rect API.
1210 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1212 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1213 wrong results on win32 because it doesn't set the printing units,
1214 which affect the transformation of the cairo context
1215 (#347125, Erik van Pienbroek)
1217 2008-02-22 Tor Lillqvist <tml@novell.com>
1219 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1221 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1223 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1224 acceptable for a module to only support the save_to_callback()
1225 method if it marks itself as WRITABLE
1227 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1229 * configure.in: Bump version
1231 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1233 * === Released 2.13.0 ===
1235 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1237 2008-02-21 Tor Lillqvist <tml@novell.com>
1239 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1240 pass the format string to strftime in the C library's locale's
1241 charset, not the system's. Correspondingly, the return value from
1242 strftime() is in the C library's locale's charset. (#509885)
1244 2008-02-20 Richard Hult <richard@imendio.com>
1246 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1247 the right window level and shadow after recreating the window.
1249 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1250 necessary after drawing (bug #517338).
1252 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1254 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1255 call to g_type_class_unref in case of error. (#517563)
1257 2008-02-18 Sven Neumann <sven@gimp.org>
1259 * gtk/Makefile.am (STOCK_ICONS)
1260 * gtk/stock-icons/16/gtk-page-setup.png
1261 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1262 taken from GNOME icon theme.
1264 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1266 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1268 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1270 2008-02-17 Johan Dahlin <johan@gnome.org>
1272 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1273 When converting a stock item based on the label, remove the label property.
1275 2008-02-17 Richard Hult <richard@imendio.com>
1277 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1278 position after showing the window since the window manager might
1279 not place it where we requested in the first places.
1281 2008-02-17 Richard Hult <richard@imendio.com>
1283 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1284 (_gdk_quartz_window_detach_from_parent),
1285 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1286 the toplevel ordering list in all places where the order is
1287 potentially changed. Fixes mouse focus issues for windows with
1288 a transient parent set.
1290 2008-02-17 Richard Hult <richard@imendio.com>
1292 * gdk/quartz/gdkevents-quartz.c
1293 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1294 window when event debugging is enabled.
1296 2008-02-16 Richard Hult <richard@imendio.com>
1298 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1299 to the scroll event (bug #516757, Paul Davis).
1301 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1305 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1307 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1310 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1312 * gdk/Makefile.am: Don't install private headers. (#463510)
1314 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1315 the installed header gdkprivate.h.
1317 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1319 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1320 a crash with hidden, reorderable tabs. (#513230,
1321 Mike Massonnet, patch by Carlos Garnacho)
1323 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1325 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1326 Warn on duplicate action group names. (#501746, Christian
1329 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1332 * modules/other/gail/tests/Makefile.am:
1333 * modules/other/gail/libgail-util/Makefile.am:
1334 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1335 builds. (#516254, Yevgen Muntyan)
1337 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1342 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1343 instead of hardcoded target tables. (#516092, Christian Persch)
1345 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1347 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1348 add the same target atom twice. (#516087, Christian Persch)
1350 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1352 * tests/testfilechooser.c: Add a --backend option.
1353 (#516073, Christian Persch)
1355 2008-02-16 Richard Hult <richard@imendio.com>
1357 * gdk/quartz/gdkprivate-quartz.h:
1358 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1361 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1363 * configure.in: Go back to 2.13.0 as version for now,
1364 as there was no consensus to do the jump.
1366 * many other places: Update Since: tags.
1368 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1370 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1372 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1374 2008-02-15 Richard Hult <richard@imendio.com>
1376 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1377 instead of bounds when resizing windows.
1379 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1381 * gdk/x11/gdkkeys-x11.c:
1382 * gdk/x11/gdkcolor-x11.c:
1383 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1385 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1387 * gdk/x11/gdktestutils-x11.c:
1388 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1390 2008-02-15 Tor Lillqvist <tml@novell.com>
1392 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1393 leak Registry key handles. (#516578)
1395 2008-02-14 Richard Hult <richard@imendio.com>
1397 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1398 makeKeyWindow unfortunately doesn't work in all cases, we must use
1399 makeKeyAndOrderFront.
1401 2008-02-14 Richard Hult <richard@imendio.com>
1403 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1404 (gdk_window_hide), (gdk_window_fullscreen),
1405 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1406 the window is hidden.
1408 2008-02-14 Richard Hult <richard@imendio.com>
1410 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1411 resizing to be consistent and to avoid introducing an internal
1412 transform in the view.
1414 2008-02-14 Richard Hult <richard@imendio.com>
1416 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1419 2008-02-14 Johan Dahlin <johan@gnome.org>
1421 * gdk/gdktestutils.h
1422 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1424 2008-02-13 Richard Hult <richard@imendio.com>
1426 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1427 Remove unused variables.
1428 (gtk_clipboard_set_contents),
1429 (gtk_clipboard_get_owner), (clipboard_unset),
1430 (gtk_clipboard_request_targets): Notify the previous clipboard
1431 owner when the owner changes. Fixes bug #493406.
1433 2008-02-13 Richard Hult <richard@imendio.com>
1435 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1436 the return value (return number of colors that failed), and handle
1438 (gdk_colormap_free_colors): Fix typo in comment.
1440 2008-02-13 Kristian Rietveld <kris@imendio.com>
1442 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1443 queue a redraw if the rubber banding has actually been active.
1445 2008-02-12 Matthias Clasen <mclasne@redhat.com>
1447 * gtk/gtkpapersize.c:
1448 * gtk/gtkprintoperation.c:
1449 * gtk/gtkvolumebutton.c:
1450 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1451 out by Behdad Esfahbod.
1453 2008-02-12 Federico Mena Quintero <federico@novell.com>
1455 Merged from gtk-2-12:
1457 Don't focus the file list when shortcuts get activated. This
1458 removes a lot of ambiguity in when the file selection should
1459 change, and makes the overall code flow simpler.
1461 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1462 file/save dialog clears the filename entry when changing
1465 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1466 focus should not go to the file list when a shortcut is activated.
1468 * gtk/gtkfilechooserdefault.c
1469 (shortcuts_activate_volume_mount_cb): Don't focus the file list
1470 (shortcuts_activate_get_info_cb): Likewise.
1472 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1473 the file list (this was the last place where we would focus the
1474 file list explicitly). If you are in the location entry, for
1475 example, you don't want Alt-Home to take you to the file list; you
1476 just want the current folder to change. Thanks to Olle Bergkvist
1477 <olle.bergkvist@yahoo.se> for pointing this out in
1478 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1479 (focus_browse_tree_view_if_possible): Removed.
1481 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1483 Skip exensions when selecting filenames in the save-as dialog.
1484 (#362516, Carlos Garnacho)
1486 * gtk/gtkfilechooserentry.h:
1487 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1488 New function to skip the extension part when selecting a filename.
1489 (_gtk_file_chooser_entry_set_base_folder): Use it here.
1491 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1494 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1496 * gtk/gtkiconview.c: Fix state change reporting for
1497 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
1499 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
1501 * gtk/gtkrecentchooser.c:
1502 (gtk_recent_chooser_class_init): Set the default value of the
1503 :show-not-found property to TRUE, as every implementation sets
1506 * gtk/gtkrecentchooserdefault.c:
1507 (_gtk_recent_chooser_default_init): Sync show_tips to the
1508 default value of the :show-tips property.
1510 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1512 * gtk/gtkclipboard-quartz.c:
1514 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
1517 2008-02-12 Kristian Rietveld <kris@imendio.com>
1519 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1520 (gtk_tree_view_real_toggle_cursor_row): guard against people
1521 deleting the row in question in the selection-changed callback.
1522 (#514621, Andreas Koehler).
1524 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1526 * gtk/*.c: Unify the handling of various "Enter" keysyms
1527 all over the place. (#515047, Christian Persch)
1529 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1531 * gtk/gtkfilesystemmodel.c:
1533 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1534 appropriate. (#515042, Christian Persch)
1536 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1538 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1540 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1542 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1544 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1546 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1547 (recent_model_sort_drag_data_get):
1548 (search_model_sort_drag_data_get):
1549 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1550 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1551 Use gtk_selection_data_set_uris() instead of doing it
1552 by hand. (#514890, Christian Persch)
1554 2008-02-12 Michael Natterer <mitch@imendio.com>
1556 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1557 gtk_get_current_event_time().
1559 2008-02-12 Michael Natterer <mitch@imendio.com>
1561 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1562 gtk_window_get_key_hash() to get the hash instead of manually
1563 fiddling with quarks and gtk_window_keys_changed(). Also add
1564 g_return_if_fail() to this public function.
1566 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1568 Support keynav in status icons. (#473786, Li Yuan)
1570 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1572 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1574 2008-02-11 Kristian Rietveld <kris@imendio.com>
1576 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1577 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1578 wrt. link deletion from list; contination of fix for #503569.
1580 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1582 * gtk/gtkrecentchoosermenu.c:
1583 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1584 on the placeholder menu item.
1586 * tests/testrecentchoosermenu.c:
1587 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1588 whether the placeholder menu item gets shown.
1590 2008-02-10 Cody Russell <bratsche@gnome.org>
1592 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1593 Check the return value of _gtk_file_chooser_get_file_system () for
1594 NULL before passing it to gtk_file_system_path_to_uri ().
1595 (#515667, Francesco Montorsi)
1597 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1599 * gtk/gtkbuilder.c: Improve the documentation for
1600 gtk_builder_connect_signals. (#514471)
1602 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1604 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1607 2008-02-08 Cody Russell <bratsche@gnome.org>
1609 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1610 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1612 2008-02-08 Richard Hult <richard@imendio.com>
1614 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1615 delta from the NSEvent for now, generating multiple scroll events
1616 results in a lot of events getting queued up and things get really
1619 2008-02-08 Sven Herzberg <sven@imendio.com>
1621 Adjust the code to match the documentation, examples, "common sense"
1622 and existing applications.
1624 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1625 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1628 2008-02-07 Cody Russell <bratsche@gnome.org>
1630 * gdk/win32/gdkevents-win32.c
1631 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1632 of a block that were causing compile problems on old
1633 compilers. (#515053, reported by Kazuki IWAMOTO)
1635 2008-02-07 Michael Natterer <mitch@imendio.com>
1642 * gtk/gtkmenushell.c
1644 * gtk/gtkoptionmenu.c
1648 * gtk/gtkradiomenuitem.c
1650 * gtk/gtkscrolledwindow.c
1651 * gtk/gtksocket.c: remove g_return_if_fail() from private
1652 functions and virtual function implementations.
1654 2008-02-07 Michael Natterer <mitch@imendio.com>
1657 * gtk/gtkassistant.c
1661 * gtk/gtkcellrenderercombo.c
1664 * gtk/gtkdrawingarea.c
1665 * gtk/gtkentrycompletion.c
1671 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1672 functions and virtual function implementations.
1674 2008-02-07 Christian Persch <chpe@gnome.org>
1676 * gdk/gdkpixbuf-render.c:
1677 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1678 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1679 otherwise there will be random pixel values in the semi-transparent
1680 area of the pixbuf within the mask. Bug #487865.
1682 2008-02-06 Cody Russell <bratsche@gnome.org>
1684 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1685 otherwise things get wonky when you click on a menu. This fixes
1686 a regression caused in #505928. Thanks to Tor for spotting this
1689 2008-02-06 Michael Natterer <mitch@imendio.com>
1691 * gtk/gtkcontainer.c
1698 * gtk/gtkmenushell.c
1700 * gtk/gtkseparatortoolitem.c
1702 * gtk/gtktextlayout.c
1703 * gtk/gtktoggletoolbutton.c
1704 * gtk/gtktoolbutton.c
1707 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1710 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1712 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1713 Allow to store half-open ranges.
1715 2008-02-05 Cody Russell <bratsche@gnome.org>
1717 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1718 down the stack until we get to a window that is mapped.
1719 Otherwise hiding a window will cause all windows in the app
1720 to be blocked. (#514643)
1722 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1724 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1725 directory, avoiding one source of invalid caches that has been
1726 spotted in the wild.
1728 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1730 * gtk/updateiconcache.c: Fix the previous commit to compile.
1732 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1734 * gtk/updateiconcache.c: Install a printerr handler that
1735 prepends the program name, since gtk-update-icon-cache output
1736 often appears in the middle of other output, e.g. rpm update logs.
1738 2008-02-05 Cody Russell <bratsche@gnome.org>
1740 * gdk/win32/gdkprivate-win32.h
1741 * gdk/win32/gdkevents-win32.c
1742 * gdk/win32/gdkwindow-win32.c
1743 * gdk/win32/gdkwindow-win32.h
1744 * gdk/win32/gdkwin32.h:
1745 Modal window rework. (#455627 and #511111)
1747 2008-02-04 Michael Natterer <mitch@imendio.com>
1749 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1750 g_return_if_fail() if the cell is not part of the combo instead of
1751 crashing in the next line.
1753 2008-02-01 Cody Russell <cody@jhu.edu>
1755 * modules/engines/ms-windows/xp_theme.[ch]
1756 * modules/engines/ms-windows/xp_theme_defs.h
1757 * modules/engines/ms-windows/msw_rc_style.c
1758 * modules/engines/ms-windows/msw_theme_main.c
1759 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1760 attempted to stylize more like the rest of the gtk+ stack's code.
1762 2008-02-01 Michael Natterer <mitch@imendio.com>
1764 * tests/testgtk.c: initialize GdkColor structs to fix warning
1765 about uninitialized "pixel" member.
1767 * tests/testactions.c: connect the toolbar_style() callback so it
1768 does something useful and doesn't warn about being defined but not
1771 2008-01-31 Cody Russell <bratsche@gnome.org>
1773 * gdk/win32/gdkevents-win32.c:
1774 Refactored some of the window hiding/showing code from
1775 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1776 under WM_ACTIVATE was causing the application to go into
1777 a weird state when the user right-clicked on the taskbar
1778 entry of a window that was minimized. (#505928)
1780 2008-01-31 Cody Russell <bratsche@gnome.org>
1782 * gtk/gtkpaned.c (gtk_paned_set_position):
1783 Change queue_resize() to queue_draw(), and add a check for
1784 child2 != NULL in case someone calls this before there is
1785 a child packed in there. (#144269 again)
1787 2008-01-31 Sven Neumann <sven@gimp.org>
1789 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1790 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1792 2008-01-31 Sven Neumann <sven@gimp.org>
1794 * gdk/directfb/gdkdisplay-directfb.c
1795 * gdk/directfb/gdkdrawable-directfb.c
1796 * gdk/directfb/gdkprivate-directfb.h
1797 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1798 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1800 2008-01-31 Richard Hult <richard@imendio.com>
1802 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1803 issues with undecorated windows. Revert the change done on
1804 2008-01-25 and fix it by using the view's bounds instead. The
1805 bounds will always be up to date when setting up the tracking
1806 rect, so this should be more robust.
1808 2008-01-30 Sven Neumann <sven@gimp.org>
1810 * gdk/directfb/gdkdrawable-directfb.c
1811 * gdk/directfb/gdkwindow-directfb.c
1812 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1813 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1814 DirectFB's debugging system
1816 2008-01-30 Sven Neumann <sven@gimp.org>
1818 * gdk/directfb/gdkdirectfb.h
1819 * gdk/directfb/gdkdisplay-directfb.c
1820 * gdk/directfb/gdkdrawable-directfb.c
1821 * gdk/directfb/gdkim-directfb.c
1822 * gdk/directfb/gdkimage-directfb.c
1823 * gdk/directfb/gdkinput-directfb.c
1824 * gdk/directfb/gdkmain-directfb.c
1825 * gdk/directfb/gdkpixmap-directfb.c
1826 * gdk/directfb/gdktestutils-directfb.c
1827 * gdk/directfb/gdkvisual-directfb.c
1828 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1829 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1830 errors and has some cleanups.
1832 2008-01-30 Michael Natterer <mitch@imendio.com>
1834 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1835 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1838 * gtk/updateiconcache.c (add_string): cast const gchar* to
1839 gpointer when inserting in a GHashTable.
1841 * tests/testcalendar.c (calendar_detail_cb): remove const from
1842 return value since it's a newly allocated string.
1844 (calendar_update_details): free the detail.
1846 2008-01-29 Johan Dahlin <johan@gnome.org>
1848 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1850 * demos/gtk-demo/demo.ui:
1851 Move the about dialog to the glade file, add accessible tags
1852 examples to the markup file.
1854 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1856 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1857 layout, fixes #512375.
1859 2008-01-28 Michael Natterer <mitch@imendio.com>
1861 * gtk/gtktextchild.c
1862 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1864 2008-01-28 Michael Natterer <mitch@imendio.com>
1866 * demos/gtk-demo/builder.c (about_activate): use
1867 gtk_about_dialog_set_program_name() instead of the deprecated
1870 2008-01-28 Michael Natterer <mitch@imendio.com>
1872 * gtk/gtktextchild.c
1873 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1876 2008-01-26 Johan Dahlin <johan@gnome.org>
1878 * tests/Makefile.am:
1879 * tests/textbuffertest.c:
1880 Rename textbuffer test and port it to the new test framework
1882 2008-01-25 Johan Dahlin <johan@gnome.org>
1884 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1885 unsetting of GTK_MODULES.
1887 * gtk/gtk-builder-convert
1888 (GtkBuilderConverter._convert_adjustment): Handle the case where
1889 there is no child text node.
1890 (GtkBuilderConverter): Allow xml comments in most places.
1892 2008-01-25 Johan Dahlin <johan@gnome.org>
1894 * gtk/gtk-builder-convert
1895 (GtkBuilderConverter._convert_combobox_items): Remove the items
1896 even if there are no items set.
1897 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1898 signals and tooltips for all menu items subclasses and
1899 GtkImageMenuItem:label.
1900 Makes it possible to fully convert and run Jokosher.glade.
1902 2008-01-25 Johan Dahlin <johan@gnome.org>
1904 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1905 (gtk_widget_buildable_get_internal_child), (free_action),
1906 (free_relation), (gtk_widget_buildable_parser_finished),
1907 (accessibility_start_element),
1908 (gtk_widget_buildable_custom_tag_start),
1909 (gtk_widget_buildable_custom_finished):
1910 Implement accessible support, fixes #454653.
1912 * gtk/gtk-builder-convert:
1913 Add support for migrating old glade files
1915 * tests/buildertest.c: (test_widget), (test_file):
1916 Add accessible tests and imprve the test_file function to display
1917 toplevels and run dialogs.
1919 2008-01-25 Richard Hult <richard@imendio.com>
1921 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1922 didn't change, fixes focus event issues for undecorated windows.
1924 2008-01-25 Richard Hult <richard@imendio.com>
1926 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1927 const and remove unused variables).
1929 2008-01-25 Michael Natterer <mitch@imendio.com>
1932 * gtk/gtkcellrenderer.h
1933 * gtk/gtkimcontext.h
1937 * gtk/gtktreeprivate.h
1938 * gtk/gtktreeviewcolumn.h
1939 * gtk/gtkwidget.h: add const to constant structs which are passed
1940 into GTK+. Also add some forgotten const for const strings.
1944 * gtk/gtkcellrenderer.c
1945 * gtk/gtkimcontext.c
1950 * gtk/gtktreeviewcolumn.c
1951 * gtk/gtkwidget.c: changed accordingly.
1953 2008-01-25 Sven Herzberg <sven@imendio.com>
1955 Reviewed by Johan Dahlin.
1957 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1958 this is called with something that's not a GtkUIManager
1960 2008-01-24 Johan Dahlin <johan@gnome.org>
1962 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1963 Chain up to parent, so widgets can have internal children.
1965 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1967 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1970 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1972 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1974 Use pango_layout_set_height() for calendar details (#506049).
1976 * configure.in: Require 1.19.3 for pango_layout_set_height().
1977 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1979 2008-01-18 Johan Dahlin <johan@gnome.org>
1981 * gtk/gtk-builder-convert (get_property_node): New method
1982 (GtkBuilderConverter._create_object): Conditionally take a node as
1983 a property value, so don't lose translate/context attributes if they
1985 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1986 property values instead of strings.
1987 (#509153, Erik van Pienbroek)
1989 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1991 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1993 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1994 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1995 * tests/testcalendar.c: Duplicate calendar details before returning.
1997 2008-01-16 Christian Persch <chpe@gnome.org>
1999 * gtk/gtkwidget.c: Store the event mask and extension event mode
2000 directly in the gobject data pointer, instead of in an allocated
2003 2008-01-16 Michael Natterer <mitch@imendio.com>
2005 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
2006 gdk-pixbuf now uses gio functions.
2008 2008-01-16 Matthias Clasen <mclasen@redhat.com>
2010 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
2011 the notify::model signal. (#509819, David Zeuthen)
2013 2008-01-15 Michael Natterer <mitch@imendio.com>
2021 * gdk/gdkwindow.h: made more struct pointer and array parameters
2022 const. GDK should now be constified as far as possible without
2023 breaking source compatibility. Includes some minor cleanup like
2024 indentation and s/nfoo/n_foo/ (bug #508544).
2030 * gdk/gdkregion-generic.c
2032 * gdk/directfb/gdkdisplay-directfb.c
2033 * gdk/directfb/gdkwindow-directfb.c
2034 * gdk/quartz/gdkdisplay-quartz.c
2035 * gdk/quartz/gdkwindow-quartz.c
2036 * gdk/win32/gdkdisplay-win32.c
2037 * gdk/win32/gdkwindow-win32.c
2038 * gdk/x11/gdkdisplay-x11.c
2039 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2041 2008-01-14 Michael Natterer <mitch@imendio.com>
2043 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
2046 (gtk_rc_parse_any): change variables to const and introduce
2047 another local variable to fix const warnings.
2049 2008-01-14 Michael Natterer <mitch@imendio.com>
2051 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
2052 of gdk_screen_get_font_options() to gpointer to get rid of const
2055 2008-01-14 Michael Natterer <mitch@imendio.com>
2057 * tests/testdnd.c (source_drag_data_get): fix another call to
2058 gtk_selection_data_set().
2060 2008-01-14 Michael Natterer <mitch@imendio.com>
2062 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
2065 2008-01-14 Michael Natterer <mitch@imendio.com>
2067 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
2069 2008-01-14 Michael Natterer <mitch@imendio.com>
2071 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
2072 "uris" to guchar* when passing it to gtk_selection_data_set().
2074 2008-01-14 Michael Natterer <mitch@imendio.com>
2080 * gdk/gdkinternals.h
2082 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
2083 parameters const (bug #508544).
2088 * gdk/gdkrectangle.c
2089 * gdk/gdkpolyreg-generic.c
2090 * gdk/gdkregion-generic.c
2091 * gdk/directfb/gdkcolor-directfb.c
2092 * gdk/directfb/gdkgc-directfb.c
2093 * gdk/directfb/gdkgeometry-directfb.c
2094 * gdk/directfb/gdkwindow-directfb.c
2095 * gdk/quartz/gdkcolor-quartz.c
2096 * gdk/quartz/gdkgc-quartz.c
2097 * gdk/quartz/gdkgeometry-quartz.c
2098 * gdk/quartz/gdkwindow-quartz.c
2099 * gdk/win32/gdkcolor-win32.c
2100 * gdk/win32/gdkgc-win32.c
2101 * gdk/win32/gdkgeometry-win32.c
2102 * gdk/win32/gdkprivate-win32.h
2103 * gdk/win32/gdkwindow-win32.c
2104 * gdk/x11/gdkcolor-x11.c
2105 * gdk/x11/gdkgc-x11.c
2106 * gdk/x11/gdkgeometry-x11.c
2107 * gdk/x11/gdkmain-x11.c
2108 * gdk/x11/gdkprivate-x11.h
2109 * gdk/x11/gdkwindow-x11.c: changed accordingly.
2111 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
2114 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2116 Explain name choice for gtk_tool_item_toolbar_reconfigured.
2118 * gtk/gtktoolitem.c: Add comment expaining name choice for
2119 gtk_tool_item_toolbar_reconfigured.
2121 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
2123 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
2124 implementations to notify its children, when some aspect of their
2125 configuration changed (#509042).
2127 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
2128 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
2129 Rename _gtk_tool_item_toolbar_reconfigured.
2131 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2133 Include <gtk/gtktoolshell.h> from gtk.h.
2135 * gtk/gtk.h: Add gtktoolshell.h
2137 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
2139 Print angle brackets arround e-mail addresses in the about dialog
2140 (#409520, Mariano Suárez-Alvarez).
2142 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
2144 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
2146 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
2147 special casing so test widgets are always queues for destruction
2150 * gtk/tests/testing.c: removed bits left-over from testing without
2153 2008-01-10 Tor Lillqvist <tml@novell.com>
2155 * modules/other/gail/libgail-util/Makefile.am
2156 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
2159 2008-01-10 Tor Lillqvist <tml@novell.com>
2161 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
2162 uses gtkprintunixdialog API.
2164 2008-01-10 Tor Lillqvist <tml@novell.com>
2166 * gdk/win32/gdkdisplay-win32.c
2167 * gdk/win32/gdkglobals-win32.c
2168 * gdk/win32/gdkprivate-win32.h
2169 * gdk/win32/gdkscreen-win32.c
2170 * gdk/win32/gdkwindow-win32.c: Implement
2171 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2172 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2175 2008-01-10 Cody Russell <bratsche@gnome.org>
2177 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2178 Properly ref/unref windows and parents. (#506769)
2180 2008-01-10 Richard Hult <richard@imendio.com>
2182 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2183 (gdk_window_hide), (move_resize_window_internal): Move the
2184 tracking rect workaround from here...
2186 * gdk/quartz/GdkQuartzWindow.c:
2187 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2188 movements during showing/hiding operations. Fixes bug #508516.
2190 2008-01-10 Michael Natterer <mitch@imendio.com>
2192 * gdk/directfb/gdkscreen-directfb.c
2193 (gdk_screen_get_monitor_width_mm)
2194 (gdk_screen_get_monitor_height_mm)
2195 (gdk_screen_get_monitor_plug_name): add these functions to make
2198 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2200 * gtk/gtkrecentchoosermenu.c:
2201 (idle_populate_func), (idle_populate_clean_up): Fix possible
2202 recursion by resetting the idle source id. (#507605, William
2205 2008-01-10 Kristian Rietveld <kris@imendio.com>
2207 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2208 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2209 avoid valgrind warnings. (#507751, patch from Christian Persch).
2211 2008-01-10 Kristian Rietveld <kris@imendio.com>
2213 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2214 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2216 2008-01-10 Kristian Rietveld <kris@imendio.com>
2218 Fix #477175, reported by Juri Pakaste.
2220 * gtk/gtktreeprivate.h:
2221 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2222 tree_view->priv->dy here directly, just calculate the new value
2223 and set it on the adjustment,
2224 (gtk_tree_view_adjustment_changed): add guards to not call
2225 gtk_tree_view_dy_to_top_row() if we are currently in
2226 gtk_tree_view_top_row_to_dy(),
2227 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2228 coordinates, not tree coordinates,
2229 (gtk_tree_view_real_start_editing): add cast.
2231 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2232 position of the editable in the "create new row and start editing"
2235 2008-01-09 Michael Natterer <mitch@imendio.com>
2237 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2240 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2241 * gtk/gtkicontheme.c (theme_list_contexts)
2242 (gtk_icon_theme_lookup_icon)
2243 * gtk/gtkimcontextsimple.c (beep_window)
2244 * gtk/gtklinkbutton.c (set_link_color)
2245 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2248 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2249 variable and add const to another to fix a warning.
2251 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2253 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2254 the current page. (#499951, Andreas Sandberg)
2256 2008-01-06 Johan Dahlin <johan@gnome.org>
2258 * gtk/gtkspinbutton.c: Declare value in the example code for
2259 GtkSpinButton::output, as pointed out by Anders Carlsson.
2261 2008-01-06 Christian Persch <chpe@gnome.org>
2263 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2264 and remove an obsolete event box. Bug #506760.
2266 2008-01-06 Johan Dahlin <johan@gnome.org>
2268 * tests/buildertest.c (test_domain):
2269 Update, GtkBuilder::translation-domain is no longer set
2271 * gtk/gtkbuilderparser.c (parse_interface):
2272 Allow domains to be overridden in <interface>'s if a translation-domain
2273 is set in the builder.
2274 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2275 of the builder, make the domain set in the <interface> apply only to strings
2277 (#496831, Ryan Lortie)
2279 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2282 * gtk/gtktreestore.c (tree_model_end_element):
2283 Remove an unused variable
2285 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2287 * gtk/gtkspinbutton.c: Document the ::output signal and
2288 add an example. (#507566, example by Owen Taylor)
2290 2008-01-06 Johan Dahlin <johan@gnome.org>
2292 * gtk/gtkcellrenderercombo.c:
2293 (gtk_cell_renderer_combo_get_property),
2294 (gtk_cell_renderer_combo_set_property):
2295 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2296 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2297 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2298 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2299 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2300 (gtk_text_buffer_get_property):
2301 * gtk/gtktextview.c: (gtk_text_view_set_property):
2302 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2303 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2304 (gtk_tool_button_get_property):
2305 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2306 (gtk_tool_item_get_property):
2307 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2308 * gtk/gtkwidget.c: (gtk_widget_set_property):
2309 * gtk/gtkwindow.c: (gtk_window_set_property):
2310 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2313 2008-01-06 Johan Dahlin <johan@gnome.org>
2315 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2316 Make sure that --root works for toplevel widgets.
2317 (#491847, Phil Lello)
2319 2008-01-05 Johan Dahlin <johan@gnome.org>
2321 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2322 to make sure that make test-report works properly
2324 2008-01-05 Christian Persch <chpe@gnome.org>
2326 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2327 GType as integer through gpointer. Bug #507395.
2329 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2331 Avoid some compiler warnings (#507000).
2333 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2334 for value argument of _gtk_builder_flags_from_string.
2335 * gtk/gtkwidget.c: Don't alias the child pointer passed
2336 to gdk_window_get_user_data.
2338 2008-01-04 Michael Natterer <mitch@imendio.com>
2340 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2341 to set the time in the returned GdkTimeCoords.
2343 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2345 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2346 correct comparison function (kudos to Christian Persch and
2347 Claudio Saavedra for spotting this)
2349 * gtk/gtkrecentchooserutils.c:
2350 (sort_recent_items_mru),
2351 (sort_recent_items_lru): Ditto as above.
2353 2008-01-03 Johan Dahlin <johan@gnome.org>
2355 * tests/defaultvaluetest.c: Make it pass again.
2357 2008-01-02 Johan Dahlin <johan@gnome.org>
2359 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2360 make it pass on Ubuntu.
2361 (main): Use gtk_test_list_all_types () instead of providing our
2363 And it no longer passes.
2365 2007-12-30 Johannes Schmid <jhs@gnome.org>
2367 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2368 Also reorder menu when reordering tabs by drag & drop
2371 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2372 Add a menu to one of the notebooks to have a test-case for
2373 the change mentioned above.
2375 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2377 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2379 2007-12-31 Christian Persch <chpe@gnome.org>
2381 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2382 Plug a mem leak. Bug #506107.
2384 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2386 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2387 icon cache api change. (#506135, Kazuki Iwamoto)
2389 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2391 Consider "wide-separators" and "separator-height" style properties:
2392 The separator is drawn using gtk_paint_box instead of cairo, when
2393 "wide-separators" is set. Also do not highlight details for previous
2394 or next month, if their day matches the selected day. (#339540)
2396 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2397 in gtk_calendar_size_request and calendar_paint_day
2398 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2399 for selected detail separators in GtkCalendar.
2401 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2403 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2405 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2406 a local variable instead in gtk_calendar_size_request.
2408 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2410 * tests/defaultvaluetest.c: Add enough exclusions to make the
2413 2007-12-28 Christian Persch <chpe@gnome.org>
2415 * modules/other/gail/Makefile.am:
2416 * modules/other/gail/tests/*:
2417 * configure.in: Merge tests from standalone gail. Bug #504568.
2419 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2421 * gtk/gtkclipboard.c: Make the finalizer work when display is
2424 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2426 Draw bottom shadow of GtkCalender headings. (#506113)
2428 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2430 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2432 * gtk/gtkcalendar.c: Document the initial values of year/month/day
2435 2007-12-28 Christian Persch <chpe@gnome.org>
2437 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2438 a mem leak. Bug #506096.
2440 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2443 * gtk/gtktreeview.c:
2444 * gtk/gtkprintoperation.c:
2445 * gtk/gtkprogressbar.c:
2446 * gtk/gtkmessagedialog.c:
2447 * gtk/gtknotebook.c:
2451 * gtk/gtklinkbutton.c:
2452 * gtk/gtkmenu.c: More default property value corrections.
2454 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2456 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2457 accel_group unless it is set.
2459 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2461 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2463 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2465 * gtk/gtkhandlebox.c: Fix the default values of shadow and
2466 shadow-type properties.
2468 * gtk/gtkfontsel.c: Fix the default values of several properties.
2470 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2473 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2475 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2478 2007-12-28 Johan Dahlin <johan@gnome.org>
2480 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2481 (gtk_dialog_buildable_custom_tag_start): Chain up.
2482 This makes it possible to have accelerators tags on GtkDialog
2485 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2487 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2488 are shown within the widget, or just as tooltip. (#339540)
2490 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2491 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2492 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2495 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2497 Try more decent appearance of calendar details separator. (#339540)
2499 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2500 and make it short by one pixel on each side.
2502 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2504 Apply trivial code-style changes from attachement 101101. (#339540)
2506 * tests/testcalendar.c: Some updates to current GTK+ code-style.
2508 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2510 Restructure testcalendar for testing calendar details. (#339540)
2512 * tests/testcalendar.c: Push code arround for testing calendar details.
2514 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2516 Implement GtkTooltip API for calendar details. (#339540)
2518 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2519 Remember detail overflows in calendar_paint_day to show the tooltip
2520 only when neccessary.
2522 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2524 Without setting "detail-width-chars" and "detail-height-rows"
2525 properties not only the widget has to be redrawn on certain
2526 conditions, but also its size must be recalculated. (#339540)
2528 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2529 that function instead of gtk_widget_queue_draw.
2531 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2533 Consider details for size-request and expose-event. (#339540)
2535 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2536 is_color_attribute functions. Change gtk_calendar_size_request
2537 and calendar_paint_day to consider and show calender details.
2539 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2541 * gtk/gtkcombobox.c: Introduce local priv variables to
2544 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2546 * gtk/gtkcombobox.c: Correct the default value for the
2547 tearoff-title property.
2549 * gtk/gtkcellrenderertext.c: Fix the default value for the
2550 wrap-mode and font-scale properties.
2552 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2555 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2557 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2558 defines. (#505708, MINAMI Hirokazu)
2560 2007-12-27 Christian Persch <chpe@gnome.org>
2562 * Makefile.am: Install gail.pc. Bug #505859.
2564 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2566 Add infrastructure for GtkCalendar details. (#339540)
2568 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2569 Add "detail-width-chars" and "detail-height-rows" properties,
2570 and gtk_calendar_set_detail_func function.
2572 2007-12-27 Xan Lopez <xan@gnome.org>
2575 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2577 Add gtk_border_new to avoid memory allocator confusions when using
2578 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2580 2007-12-27 Christian Persch <chpe@gnome.org>
2582 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2583 bug #504886 not to read unitialised memory.
2585 2007-12-26 Xan Lopez <xan@gnome.org>
2587 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2588 modification of the internal frame contents to decide if we have
2589 extra children. (#415677)
2591 2007-12-22 Christian Persch <chpe@gnome.org>
2593 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2595 2007-12-25 Christian Persch <chpe@gnome.org>
2597 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2598 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2601 2007-12-25 Christian Persch <chpe@gnome.org>
2603 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2605 2007-12-25 Christian Persch <chpe@gnome.org>
2607 * modules/other/gail/*.[ch]: Remove relocations from the atk
2608 factories. Remove unused gail_foo_new() functions. Fix object
2609 instantiation to be derivation safe by moving initialisation code
2610 from the removed gail_foo_new() functions to the
2611 AtkObjectClass::initialize implementation. Bug #505226.
2613 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2615 * modules/other/gail/gailentry.c:
2616 * modules/other/gail/gailimage.c:
2617 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2618 uses of clipboards and settings. (#504722, Christian Persch)
2620 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2622 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2625 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2627 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2628 use the time and button information from the event. (#504901,
2631 2007-12-23 Cody Russell <bratsche@gnome.org>
2633 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2634 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2635 Fixes a regression caused by #164537 patch where transient
2636 windows that are hidden get shown (incorrectly) when their
2637 parents are minimized. (#504984)
2639 2007-12-22 Christian Persch <chpe@gnome.org>
2641 * modules/other/gail/gailcell.c:
2642 * modules/other/gail/gailcontainercell.c:
2643 * modules/other/gail/gailexpander.c:
2644 * modules/other/gail/gailtextcell.c:
2645 * modules/other/gail/gailtextview.c:
2646 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2648 2007-12-22 Christian Persch <chpe@gnome.org>
2650 * modules/other/gail/*.c: Include config.h. Bug #504720.
2652 2007-12-22 Christian Persch <chpe@gnome.org>
2654 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2655 handwritten get_type functions. Bug #504661.
2657 2007-12-23 Xan Lopez <xan@gnome.org>
2659 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2660 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2662 Patch by Sadrul Habib Chowdhury (#504804)
2664 2007-12-22 Christian Persch <chpe@gnome.org>
2666 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2667 #504645, patch by Li Yuan.
2669 2007-12-22 Christian Persch <chpe@gnome.org>
2671 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2673 2007-12-22 Christian Persch <chpe@gnome.org>
2675 * modules/other/gail/gail.c:
2676 * modules/other/gail/gailbutton.c:
2677 * modules/other/gail/gailcell.c:
2678 * modules/other/gail/gailcombo.c:
2679 * modules/other/gail/gailcombo.h:
2680 * modules/other/gail/gailcombobox.c:
2681 * modules/other/gail/gailentry.c:
2682 * modules/other/gail/gailexpander.c:
2683 * modules/other/gail/gailmenuitem.c:
2684 * modules/other/gail/gailnotebook.c:
2685 * modules/other/gail/gailnotebookpage.c:
2686 * modules/other/gail/gailnotebookpage.h:
2687 * modules/other/gail/gailoptionmenu.c:
2688 * modules/other/gail/gailrange.c:
2689 * modules/other/gail/gailtextview.c:
2690 * modules/other/gail/gailtreeview.c:
2691 * modules/other/gail/gailtreeview.h:
2692 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2695 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2697 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2700 2007-12-21 Richard Hult <richard@imendio.com>
2702 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2703 Plug leak of destroyed subviews, fixes bug #504753.
2705 2007-12-20 Johan Dahlin <johan@gnome.org>
2707 * tests/Makefile.am (TEST_PROGS):
2708 * tests/defaultvaluetest.c: Add a test for default values,
2709 based on program by Christan Perch
2711 2007-12-20 Johan Dahlin <johan@gnome.org>
2713 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2714 Refactor to avoid some duplication.
2715 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2716 Fixes #504749, Yuri Pimenov
2718 2007-12-20 Kristian Rietveld <kris@imendio.com>
2720 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2721 the build work again on systems without xrandr 1.2.
2723 2007-12-20 Christian Persch <chpe@gnome.org>
2726 * modules/other/gail/libgail-util/Makefile.am:
2727 Keep the same libtool version as the standalone libgail-util had.
2730 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2732 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2734 2007-12-20 Alexander Larsson <alexl@redhat.com>
2736 * gdk/x11/gdkapplaunchcontext-x11.c:
2737 Update for gio API changes
2739 2007-12-20 Richard Hult <richard@imendio.com>
2741 * gdk/quartz/GdkQuartzWindow.c:
2742 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2743 processing events after changing the size.
2745 2007-12-20 Richard Hult <richard@imendio.com>
2747 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2748 Add stub for quartz to fix build.
2750 2007-12-20 Christian Persch <chpe@gnome.org>
2752 * modules/other/gail/Makefile.am:
2753 * modules/other/gail/gailimage.c: (gail_image_class_init),
2754 (gail_image_init), (elide_underscores), (gail_image_get_name),
2755 (atk_image_interface_init), (gail_image_finalize):
2756 * modules/other/gail/gailimage.h:
2757 R modules/other/gail/gailintl.h:
2758 * po/POTFILES.skip: Use the stock item's label as the name of the
2759 accessible in gailimage.c. Bug #504246.
2761 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2763 Avoid some compiler warnings and remove obsolete code. (#339540)
2765 * gtk/gtkcalendar.c: Change week and year variable in
2766 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2767 0" block from calendar_paint_day: The feature in question is handled
2768 few lines above. Cast data returned by gtk_selection_data_get_text()
2769 to (gchar*) in gtk_calendar_drag_data_received.
2771 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2773 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2775 2007-12-19 Johan Dahlin <johan@gnome.org>
2777 * tests/buildertest.c (test_object_properties):
2778 Add another call to gtk_builder_add_string after using
2779 delayed properties, as reported in #504393 but already
2782 2007-12-18 Christian Persch <chpe@gnome.org>
2785 * docs/reference/Makefile.am:
2786 * docs/reference/libgail-util/*:
2787 * gail-uninstalled.pc.in:
2789 * modules/Makefile.am:
2790 * modules/other/Makefile.am:
2791 * modules/other/gail/*:
2792 * modules/other/gail/libgail-util/*:
2793 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2795 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2797 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2798 * gdk/win32/gdkproperty-win32.c:
2799 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2801 * gtk/gtkimmodule.[hc]:
2802 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2803 look at the gtk-im-module setting, and listen for changes to the
2804 setting. (#502446, Akira Tagoh)
2806 2007-12-17 Kristian Rietveld <kris@imendio.com>
2808 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2809 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2810 to NULL as soon as it's destroyed. (#496546, patch from
2813 2007-12-17 Kristian Rietveld <kris@imendio.com>
2815 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2816 always determine what arrow to show if show_sort_indicator is true.
2817 (#352738, Chris Vine).
2819 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2821 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2824 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2825 gtk_container_foreach in get_child_panes.
2827 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2829 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2831 Plug leak: When reordering the info in the list the old node is
2832 removed but not freed. (#503569)
2834 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2836 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2837 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2838 are deprecated since DirectFB 1.0.0. If compiling with an older
2839 version define the new type name to the old types. Fixes bug #503190.
2841 2007-12-14 Ray Strode <rstrode@redhat.com>
2843 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2844 instead of g_signal_connect_after (..., "realize", ...) as an
2845 alternative to gtk_widget_realize () (bug 503537).
2847 2007-12-14 Michael Natterer <mitch@imendio.com>
2849 * gdk/gdkinternals.h
2850 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2853 * gdk/gdkapplaunchcontext.c
2854 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2855 header already includes everything now.
2857 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2859 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2860 next stable release shall be 2.16, not 2.14 - even if disagree.
2862 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2864 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2866 Change GtkToolItem to retrieve its properties from GtkToolShell
2867 interface, instead of relying on being child of a GtkToolbar.
2870 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2871 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2872 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2873 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2874 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2875 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2876 Take section docs from template file and update them for GtkToolShell.
2877 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2878 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2880 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2882 Extract loading of GtkPageSetup and GtkPrintSettings from their
2883 *_new_*() functions and move that code into separate
2884 *_load_*() functions (#475565).
2886 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2887 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2888 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2889 Change the matching *_new_*() functions to use those functions.
2891 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2894 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2896 2007-12-14 Kristian Rietveld <kris@imendio.com>
2898 * gtk/tests/liststore.c:
2899 * gtk/tests/treestore.c: added tests for insertion functions.
2901 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2903 * Add RandR 1.2 support
2905 - New monitors_changed signal - New API to get width/height of
2906 monitors, and the name of the plug
2908 2007-12-13 Kristian Rietveld <kris@imendio.com>
2910 * gtk/tests/liststore.c:
2911 * gtk/tests/treestore.c: test the move and swap functions on a
2912 store with only one node.
2914 2007-12-13 Kristian Rietveld <kris@imendio.com>
2916 * gtk/gtktestutils.c (gtk_test_init): add a call to
2919 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2922 2007-12-13 Kristian Rietveld <kris@imendio.com>
2924 * gtk/tests/liststore.c:
2925 * gtk/tests/treestore.c: start composing tests for the list and tree
2928 * gtk/tests/treeview-scrolling.c: added automated tests for
2929 GtkTreeView's scrolling "subsystem".
2931 * gtk/tests/Makefile.am: updated; added new test programs.
2933 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2935 Make the code compile again after the GdkAppLaunchContext changes.
2937 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2938 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2940 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2942 * gdk/gdkapplaunchcontext.c: Add docs
2944 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2946 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2947 in gdk, providing startup notification. (#503203)
2949 * gdk/x11/gdkapplaunchcontext-x11.c:
2950 * gdk/win32/gdkapplaunchcontext-win32.c:
2951 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2952 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2953 parts. All but X11 are just empty stubs for now.
2956 * gdk/gdkinternals.h:
2958 * gdk/x11/Makefile.am:
2959 * gdk/win32/Makefile.am:
2960 * gdk/quartz/Makefile.am:
2961 * gdk/directfb/Makefile.am: Necessary glue.
2963 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2965 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2967 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2969 * gdk/directfb/gdktestutils-directfb.c:
2970 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2971 which adds testing functions to the DirectFB backend.
2973 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2975 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2976 Ciccani which fixes the mixing of gdk and cairo rendering.
2978 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2980 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2981 on "drag-motion" handlers. Clearify documentation for
2984 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2986 * buildertest.c: made unnecessarily exported symbols static.
2987 switched g_return_if_fail() statements in tests to assertions.
2988 special cased currently failing Widget/accesibility test to
2989 run only for g_test_thorough(), so it doesn't break make check.
2990 some coding style fixes.
2992 * Makefile.am: added buildertest to TEST_PROGS.
2994 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2996 * docs/tutorial/gtk-tut.sgml:
2997 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2999 2007-12-10 Richard Hult <richard@imendio.com>
3001 * gdk/quartz/Makefile.am:
3002 * gdk/quartz/gdkquartz.h:
3003 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
3004 header (bug #405915). Also add a getter for the toplevel nswindow.
3006 2007-12-10 Richard Hult <richard@imendio.com>
3008 * gdk/quartz/gdkdrawable-quartz.c:
3009 (gdk_quartz_drawable_get_context),
3010 (gdk_quartz_drawable_release_context):
3011 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
3012 (gdk_event_check), (gdk_event_dispatch), (poll_func):
3013 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
3014 used for each drawing context and in prepare, dispatch and poll
3015 with one that exists across each main loop iteration. Fixes leaks
3016 on leopard and protects against future leaks introduce when the
3017 underlying system changes again (bug #492977).
3019 2007-12-10 Richard Hult <richard@imendio.com>
3021 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
3022 Fix the check for no changes to position and size.
3024 2007-12-10 Richard Hult <richard@imendio.com>
3026 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
3027 sized areas at (0, 0), patch from Paul Davis.
3029 2007-12-10 Richard Hult <richard@imendio.com>
3031 * gdk/quartz/gdkprivate-quartz.h:
3032 * gdk/quartz/gdkeventloop-quartz.c:
3033 (_gdk_quartz_event_loop_get_pending),
3034 (_gdk_quartz_event_loop_check_pending),
3035 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
3036 (gdk_event_check), (gdk_event_dispatch):
3037 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
3038 (_gdk_events_queue): Fix a bug where we could end up trying to
3039 handle the same event more than once. Based on patch from Paul
3042 2007-12-10 Tor Lillqvist <tml@novell.com>
3044 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
3047 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3049 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
3050 to avoid further fallout from the fix for bug 388321.
3052 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3054 * gdk/directfb/gdkgc-directfb.c:
3055 * gdk/directfb/gdkdrawable-directfb.c:
3056 * gdk/directfb/gdkdirectfb.h:
3057 * gdk/directfb/gdkwindow-directfb.c:
3058 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
3059 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
3060 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
3061 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
3062 which are expected to improve the performance of the DirectFB backend.
3063 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
3065 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3067 * gtk/gtkcontainer.c: Correct the documentation of child
3068 property getter arguments. (#501992, David Brigada)
3070 2007-12-07 Matthias Clasen <mclasen@redhat.com>
3072 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
3073 leak pixbufs. (#502250, Yevgen Muntyan)
3075 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
3077 * gtk/gtkprintunixdialog.c:
3078 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
3079 Print and Page Setup dialogs (#502202).
3081 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
3083 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
3084 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
3085 of XVFB_START, since it's the GTESTER invokation that needs this.
3087 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
3089 * gdk-pixbuf/gdk-pixbuf.symbols:
3091 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
3092 positives in abicheck.sh
3094 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3096 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
3097 GDK events generations in the DirectFB backend.
3099 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
3101 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
3102 set of likely unused display ids, because MacOS has no seq(1) command.
3104 2007-12-06 Richard Hult <richard@imendio.com>
3106 * gdk/quartz/gdkevents-quartz.c:
3107 (synthesize_crossing_events_for_ns_event): Fix warning when
3108 switching spaces in leopard.
3110 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
3112 * tests/floatingtest.c: ported to new testing framework.
3114 * tests/Makefile.am: run floatingtest as testing framework test.
3116 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
3118 * tests/autotestfilechooser.c: majorly speed up execution by reducing
3119 timeouts and converting main loop sleeps to pending/iterate loops with
3120 very low priority async handlers. eliminate output for non-verbose
3121 tests. assert successfull subtests in all test functions. use testing
3122 framework in main().
3124 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
3125 executed inside Xvfb upon make check.
3127 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
3129 * tests/objecttests.c: use string comparisons for string property
3130 values and get rid of referencing symbols in array initialization.
3132 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
3134 * gtk+/Makefile.decl: run tests in current dir after setting up the
3135 logging directory, so their results get properly merged into the
3138 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
3139 tests to loop over registered Gdk/Gtk+ types.
3141 * gtk+/tests/objecttests.c: new test program, implements automated
3142 property tests. several properties are blacklisted because they
3143 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
3144 can be used to test blacklisted properties and see which proprty failed.
3146 2007-12-04 Richard Hult <richard@imendio.com>
3148 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
3149 Fully initialize the root window, fixes bug #501583.
3151 2007-12-04 Matthias Clasen <mclasen@redhat.com>
3153 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
3156 2007-12-03 Richard Hult <richard@imendio.com>
3158 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3159 Don't crash when dragging from a source that doesn't support uri
3160 lists (bug #499868, Paul Davis).
3162 2007-12-03 Richard Hult <richard@imendio.com>
3164 * gdk/quartz/gdkwindow-quartz.c:
3165 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
3166 parent relative bg pixmap is set, and no parent has a bg
3167 pixmap. Fixes bug #500804.
3169 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3171 Two optimizations for icon cache lookups.
3173 * gtk/gtkiconcache.[hc]:
3174 * gtk/gtkicontheme.c: Remember the directory index for
3175 subdirectories, instead of running over the directory list
3178 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3179 chain and try it first; this helps with the the usage patterns
3180 in gtkicontheme.c, where the same icon is queried for a lot
3183 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3185 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3186 functions from header files. this should be portable across linux and
3187 Mac OS, unlike the previpous sed expression.
3189 2007-12-1 Cody Russell <bratsche@gnome.org>
3191 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3192 On Windows, queue a redraw of child2 whenever we set
3193 the pane handle position. This is unfortunately kind
3194 of hacky, but solves the visual artifacts that were
3195 occuring on at least certain types of child widgets
3196 (e.g., text views and tree views) that are inside
3197 horizontal or vertical panes. (#144269)
3199 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3201 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3203 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3205 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3208 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3210 * gtk/Makefile.am: Fix ordering of subdirs.
3212 2007-11-28 Tor Lillqvist <tml@novell.com>
3214 A proper build of GNU libintl is supposed to export the variable
3215 _nl_msg_cat_cntr. configure looks for that variable in order to
3216 recognize GNU gettext. If it sees that it is indeed GNU gettext
3217 that is used, it decides to install message catalogs in
3218 share/locale, otherwise in lib/locale. Until now on Windows I have
3219 built GTK+ against a build of GNU gettext that did not export
3220 _nl_msg_cat_cntr. But this will change, so we can't assume message
3221 catalogs are always in lib/locale.
3223 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3224 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3225 before the inclusion of gtkprivate.h so that it sees the original
3228 * gtk-zip.sh.in: Check whether the message catalogs are in
3229 share/locale or lib/locale.
3231 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3232 that the code in _gtk_get_localedir() will find the slashes.
3234 2007-11-28 Tor Lillqvist <tml@novell.com>
3236 * gtk/Makefile.am: Improve portability. The -o option is present
3237 only in newish GNU egreps. Use one more sed in the pipeline
3240 2007-11-28 Tor Lillqvist <tml@novell.com>
3242 Fix #375893, patch by Ben Hague:
3244 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3245 around GetLogicalDrives() that takes also the viewable drive
3246 restrictions in the Registry (which are usually the result of an
3247 Active Directory Group Policy) into account.
3249 (check_volumes, gtk_file_system_win32_list_volumes) Call
3250 get_viewable_logical_drives() instead of GetLogicalDrives().
3252 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3254 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3255 variables to silence valgrind. (#495124, Morten Welinder)
3257 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3259 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3260 that the construct_child function is responsible for returning a
3262 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3263 objects from constructors
3264 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3265 g_object_ref() to this construction function (it's the only
3270 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3272 * gtkbuilder.c: remove concept of root objects and just refcount
3273 all objects in the builder. Fixes #496651.
3275 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3277 * tests/buildertest.c (test_window): fix invalid free
3279 2007-11-26 Josselin Mouette <joss@malsain.org>
3281 reviewed by: Federico Mena Quintero
3283 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3284 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3285 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3286 Make the shortcuts activate with a single click. (#148828)
3287 Fix a few things affected by the change:
3288 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3289 where no shortcut is selected.
3290 - Don't activate a shortcut in the response callback.
3291 - Filter out duplicate entries in volumes and bookmarks to
3292 avoid the selection to change when reordering them with DnD.
3294 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3297 * gtk/gtknotebook.c:
3298 * gtk/gtkplugprivate.h:
3300 * gtk/gtksocketprivate.h:
3301 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3303 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3305 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3306 (#495574, Richard Hult)
3308 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3310 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3311 String change ! (#376361, Sven Neumann)
3313 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3315 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3317 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3320 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3322 * gtk/gtkassistant.c: Improve alternative button
3323 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3325 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3327 * gtk/gtkcalendar.c: Fix a theming problem with colors
3328 in GtkCalendar. (#499703, Michael Hofmann)
3330 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3332 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3334 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3336 Use templates for glib-mkenums calls instead of
3337 complicated commandlines in Makefiles. (#429910)
3339 * gdk-pixbuf/Makefile.am:
3342 * perf/Makefile.am: Use templates for glib-mkenums
3344 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3345 * gdk/gdkenumtypes.[ch].template:
3346 * gtk/gtktypebuiltings.[ch].template:
3347 * perf/typebuiltins.[ch].template: The templates
3349 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3351 * gtk/gtkfilechooserbutton.c:
3352 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3353 some compilers choke on that. (#467722)
3355 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3357 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3358 about hook setup. (#425004, Emmanuele Bassi)
3360 2007-11-26 Tor Lillqvist <tml@novell.com>
3362 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3363 monitor the window currently is on, not always the primary
3364 monitor. (#463865, Tim Evans)
3366 2007-11-26 Tor Lillqvist <tml@novell.com>
3368 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3370 * gdk/win32/Makefile.am: Add it.
3372 2007-11-26 Tor Lillqvist <tml@novell.com>
3374 * configure.in: Don't add jasper to all_loaders if no libjasper.
3376 2007-11-25 Bastien Nocera <hadess@hadess.net>
3378 * configure.in: Add detection for libjasper, used by the
3379 gdk-pixbuf JPEG2000 loader
3381 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3383 * configure.in: Require gtk-doc 1.8
3385 * */*.c: Use gtk-doc abbreviations for examples in docs.
3387 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3389 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3392 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3394 * gtk/gtkdialog.c: Move signal and property documentation inline,
3395 fix a problem with the ::response signal docs. (#499133, Josselin
3398 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3400 * Makefile.decl: initialize automake variables EXTRA_DIST and
3401 TEST_PROGS for unconditional appending via += in other makefiles.
3402 define recursive test targets: test, test-report, perf-report,
3403 full-report, as described here:
3404 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3405 the test targets will execute Gtk+ test programs within an Xvfb session.
3407 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3409 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3410 g_test_run() to run the tests to integrate with the testing framework.
3412 * gtk/tests/Makefile.am: removed exemplary testing rules.
3414 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3415 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3416 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3417 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3418 * docs/reference/Makefile.am, docs/tools/Makefile.am:
3419 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3420 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3421 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3422 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3423 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3424 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3425 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3426 * modules/engines/ms-windows/Theme/Makefile.am:
3427 * modules/engines/ms-windows/Makefile.am:
3428 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
3429 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3430 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3431 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3432 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3433 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3434 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3436 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3438 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3439 (#485662, patch by Herbert Valerio Riedel)
3441 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3443 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
3445 2007-11-21 Richard Hult <richard@imendio.com>
3447 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3448 stubs for the testing functions to fix the build.
3450 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3452 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3453 (#467711, The Written Word)
3455 2007-11-21 Ross Burton <ross@openedhand.com>
3457 * gdk/x11/gdksettings.c:
3458 Add xsetting for gtk-scrolled-window-placement (#458103).
3460 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3462 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3463 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3464 (#469239, Michael Natterer)
3466 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3468 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3469 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3470 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3471 (#436536, Tommi Komulainen)
3473 2007-11-21 Matthias Clasen <mclasen@redhat.com>
3475 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3476 property. (#489782, Jan Janech)
3478 2007-11-20 Matthias Clasen <mclasen@redhat.com>
3480 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3481 frames. (#107398, Owen Taylor, Miguel Gomez)
3483 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3485 Moved Gdk test functions from Gtk+ to Gdk test utils.
3487 * gdk/Makefile.am: added gdktestutils.h to public includes.
3489 * gdk/gdk.h: added gdktestutils.h to public includes.
3491 * gdk/gdk.symbols: added gdk_test_simulate_button,
3492 gdk_test_simulate_key, gdk_test_render_sync.
3494 * gdk/gdktestutils.h: new file, added prototypes for
3495 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3497 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3499 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3500 gdk_test_simulate_key, gdk_test_render_sync.
3502 * gtk/gtktestutils.c:
3503 * gtk/gtktestutils.h:
3504 * gtk/gtk.symbols: removed gtk_test_simulate_button
3505 gtk_test_simulate_key, gtk_test_xserver_render_sync.
3507 * gtk/tests/testing.c: call gdk_test_render_sync.
3509 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3511 Added unit tests for Gtk+ testing utilities.
3513 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3514 utility functions. some g_test_* related portions are disabled and need
3515 to be enabled once Gtk+ depends on a new glib with the GLib testing
3516 framework integrated.
3518 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3519 tests. added exemplary test rules to run tests inside Xvfb. this
3520 needs to depend on gtester for full fledged testing.
3522 * gtk/Makefile.am: build gtk+/gtk/tests, define
3523 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3524 e.g. gtk_text_get_type().
3526 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3528 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3530 Added Gtk+ testing utilities.
3532 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3533 functions. for the most part, the functions herein involve
3534 navigating and interacting with dialog elements programatically,
3535 to automate user interaction tests of dialogs and widgets.
3537 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3539 * gtk/gtk.symbols: added gtk_test_* symbols.
3541 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3542 the build. generate gtktypefuncs.c which contains a list of all
3543 _get_type functions in Gtk+ and Gdk.
3545 2007-11-20 Bastien Nocera <hadess@hadess.net>
3547 * configure.in: add support for conditional icns gdk-pixbuf loader
3550 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3552 * configure.in: updated version number to 2.15.0 for development.
3554 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3556 === Branch for 2.12 ===