1 2008-03-13 Federico Mena Quintero <federico@novell.com>
3 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
4 the feedback window at entry_height/2 pixels to the right of the
5 cursor, for a cheap "M-width / 2" spacing.
7 2008-03-13 Sven Neumann <sven@gimp.org>
9 * gtk/gtkfilechooserdefault.c
10 * gtk/gtkprintunixdialog.c: set alternative button order for
11 overwrite confirmation dialogs (bug #522191).
13 2008-03-13 Sven Neumann <sven@gimp.org>
15 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
16 (overwrite_confirmation_dialog): added some line-breaks for
19 2008-03-12 Federico Mena Quintero <federico@novell.com>
21 Rework the way completion works in GtkFileChooserEntry. Fixes
22 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
23 Tab completion should work even if the cursor is not at the end of
26 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
29 We distinguish between two cases:
31 - autocompletion - happens only in the Open modes by
32 inserting and selecting the common prefix as you type.
34 - explicit completion - happens when you hit Tab.
36 When some type of completion needs to happen, the entry first
37 parses its input and sees if it needs to initiate a folder load.
38 Completion will not happen until the folder finishes loading.
40 If the folder is already completely loaded, then completion is
41 performed immediately. Otherwise, the entry queues a pending
42 completion and starts loading the new folder (or waits until the
43 current folder is completely loaded).
45 Tab completion is allowed to happen even if the cursor is not at
48 There is a new feedback mechanism for explicit completion, so that
49 you will get an Emacs-like tip whenever there are ambiguities in
50 completion, no matches, etc. (This needs to be polished so that
51 we support RTL entries and all the fancy Pango layout in GtkEntry).
53 The only remaining thing to fix is the popup suggestion window.
54 Unfortunately, GtkEntryCompletion does not let us do what we want,
55 and will need further changes.
57 2008-03-12 Tor Lillqvist <tml@novell.com>
59 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
61 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
62 for the TaskbarCreated message in the window procedure for the
63 dummy "tray observer" window we create. When we get a
64 TaskbarCreated message, iterate over the status icons and re-add
65 them to the task bar, and update them by calling
66 gtk_status_icon_update_image().
68 Move some ifdefs around to avoid unused functions.
70 2008-03-12 Tor Lillqvist <tml@novell.com>
72 * config.h.win32.in: Update to match what configure produces.
74 2008-03-12 Jens Granseuer <jensgr@gmx.net>
76 * modules/printbackends/cups/gtkprintbackendcups.c:
77 (cups_printer_prepare_for_print): Don't define variables in the
78 middle of a block. (#522067)
80 2008-03-12 Matthias Clasen <mclasen@redhat.com>
82 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
83 dialog for print-to-file. (#474302, Marek Kašík)
85 2008-03-12 Matthias Clasen <mclasen@redhat.com>
87 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
88 (#469210, Wouter Bolsterlee)
90 2008-03-12 Matthias Clasen <mclasen@redhat.com>
92 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
93 paper_size here. (#488820, Morten Welinder)
95 2008-03-12 Michael Natterer <mitch@imendio.com>
97 * acconfig.h: remove this deprecated file.
99 * configure.in: added comments to all instances of AC_DEFINE() so
100 config.h can be completely generated from configure.in.
102 2008-03-12 Michael Natterer <mitch@imendio.com>
104 * modules/printbackends/cups/gtkprintbackendcups.c: include
105 <glib/gstdio.h> for g_fopen().
107 2008-03-11 Matthias Clasen <mclasen@redhat.com>
109 * modules/printbackends/cups/gtkprintbackendcups.c: Use
110 g_ascii_formatd when formatting custom paper sizes, since
111 cups doesn't handle , as decimal separator. (#521548)
113 2008-03-11 Tor Lillqvist <tml@novell.com>
115 Bug 469868 - Filenames with colon ":" are not saved correctly
117 * gtk/gtkfilechooserentry.c (insert_text_callback)
118 (delete_text_callback) [Win32]: New functions to make sure that
119 colons used otherwise than as a separator after a drive letter, or
120 characters that are always illegal in file names, are rejected on
121 input. This means that the GTK+ file chooser can't be used to
122 input full names of alternate data streams, but oh well. There are
123 still more checks that could be done on the file names, see the
124 bug report. But this will do for now.
125 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
127 2008-03-11 Jordi Mallach <jordi@sindominio.net>
129 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
131 2008-03-11 Michael Natterer <mitch@imendio.com>
133 * gdk/linux-fb/*: removed linux-fb backend files.
137 * docs/README.linux-fb
138 * gtk/Makefile.am: remove remaining traces of linux-fb.
140 * gtk/gtkwindow-decorate.c: same here. There is some code that
141 calls into linux-fb to set window move/resize callbacks. I put it
142 in #if 0 as a reminder because we did use decorated windows with
143 the DirectFB backend and it did work, so I don't really know why
144 this code is needed or how it could work with DirectFB back then.
145 The file does actually compile now if DECORATE_WINDOWS is defined,
146 but I didn't test with DirectFB to check if it does anything.
148 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
150 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
151 Take thickness into account in the size allocation of the child widgets in
155 2008-03-11 Richard Hult <richard@imendio.com>
157 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
159 2008-03-10 Tor Lillqvist <tml@novell.com>
161 * tests/teststatusicon.c (do_exit, popup_menu): Add the
162 possibility to test what happens if the process just calls exit()
163 without any orderly cleanup of GTK+.
165 2008-03-10 Tor Lillqvist <tml@novell.com>
167 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
169 2008-03-10 Tor Lillqvist <tml@novell.com>
171 Bug 520286 - Non-deletable window has no minimize / maximize buttons
173 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
174 New debugging output function that decodes a set of WS_* bits.
176 * gdk/win32/gdkprivate-win32.h: Declare it.
178 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
179 New function that enables or disables one menu entry in the system
180 menu of a top-level window. (The corresponding decoration will
181 then also be enabled or disabled (grayed).)
183 (update_style_bits): Do as the comment says and don't try to
184 update the window style based on the GdkWMFunctions set for the
187 (update_system_menu): New function that enables or disables the
188 system menu entries based on a window's stored set of
191 (gdk_window_set_functions): Call update_system_menu() instead of
194 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
196 * README.in: Reword the 2.14 release notes entry about the
197 deprecation of the gtkitemfactory.h header, and fix typos
200 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
202 * modules/engines/ms-windows/msw_style.c (draw_shadow):
203 Do not draw frame if parent if combobox.
205 Uses scrollbar width system metrics for combobox button.
206 Fixes #461805 for XP theme engine.
208 2008-03-07 Johan Dahlin <johan@gnome.org>
211 * gtk/gtkbuilderparser.c:
212 * gtk/gtkbuilderprivate.h:
213 * gtk/gtkiconfactory.c:
214 * tests/buildertest.c:
215 - Treat enums like enums and not values
216 - Avoid invalid free, in case of more than two sources
217 - Add better error messages
218 - Add much improved tests
219 (#520979, Christian Persch)
221 2008-03-07 Carlos Garnacho <carlos@imendio.com>
223 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
226 2008-03-06 Federico Mena Quintero <federico@novell.com>
228 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
229 GtkFileChooserDialog should set a default response button if the
230 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
232 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
233 function, refactor from where there was duplicated code.
234 (gtk_file_chooser_dialog_map): Look at the buttons in our
235 action_area. If the response ID for a button is one of the stock
236 ones, make it the default response button.
238 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
240 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
242 * gtk/gtkbuilderprivate.h:
243 * gtk/gtkiconfactory.c:
244 * tests/buildertest.c:
245 Implement GtkBuildable on GtkIconFactory, to make
246 it possible to register custom stock icons.
249 2008-03-06 Johan Dahlin <johan@gnome.org>
253 * gtk/gtkstyle.c: npoints->n_points.
254 * gtk/gtktestutils.h: widget->spinner
255 * gtk/gtktestutils.c: argc->argcp, argv->argvp
257 2008-03-06 William Lachance <wrlach@gmail.com>
259 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
260 string localizable (as it should be).
262 2008-03-06 William Lachance <wrlach@gmail.com>
264 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
265 the time for today's date. It's redudant. (see bug #410517).
267 2008-03-06 Xan Lopez <xan@gnome.org>
269 * gtk/gtkfixed.c: fix typo in documentation.
271 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
273 * gtk/gtkitemfactory.h:
274 * gtk/gtktypeutils.h:
275 Move GtkTranslateFunc to gtktypeutils.h so we can completely
276 deprecate gtkitemfactory.h.
278 * gtk/gtkactiongroup.h:
280 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
283 Add a note describing this slight incompatible change
285 2008-03-06 Johan Dahlin <johan@gnome.org>
287 * gtk/gtkpreview.h: Avoid double-deprecation.
289 2008-03-06 Michael Natterer <mitch@imendio.com>
292 * gtk/Makefile.am: move the remaining deprecated widgets to the
293 separate sections and replaced spaces by tabs in Makefile.am
295 2008-03-05 Johan Dahlin <johan@gnome.org>
297 * configure.in: Add --disable-cups option.
298 (#513826, Alberto Ruiz)
302 Separate broken and deprecated sources and headers into different sections
304 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
306 2008-03-05 Kristian Rietveld <kris@imendio.com>
308 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
309 short-circuit in case an empty root level would be build (and thus
310 directly destroyed) if no virtual root has been set.
312 2008-03-04 Matthias Clasen <mclasen@redhat.com>
314 * modules/printbackends/cups/gtkprintbackendcups.c:
315 Honor cups user default options from ~/.cups/lpoptions
316 (#469210, Stijn Hoop)
318 2008-03-04 Michael Natterer <mitch@imendio.com>
321 * gtk/gtkcolorbutton.c
322 * gtk/gtkentrycompletion.c
323 * gtk/gtkfontbutton.c
327 * gtk/gtkpreview.c: don't include "gtksignal.h".
329 * gtk/gtkfilefilter.c
330 * gtk/gtkrecentchoosermenu.c
331 * gtk/gtkrecentfilter.c
332 * gtk/gtktext.c: don't include "gtkobject.h".
334 2008-03-04 Simos Xenitellis <simos@gnome.org>
336 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
337 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
339 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
342 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
343 file, contains compose sequences that used to exist in
344 gtk/gtkimcontextsimple.c
346 * gtk/compose-parse.py: Script to generate compose
347 sequences from upstream (Xorg).
349 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
350 check_algorithmically): New functions. First two search in
351 gtk_compose_seqs_compact[] for matching compose sequence, third
352 tries NFC normalisation on incoming compose sequence.
353 (gtk_im_context_simple_filter_keypress):
354 Adds searching with check_compact_table(), check_algorithmically().
356 2008-03-03 Carlos Garnacho <carlos@imendio.com>
358 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
359 scrollwheel work in GtkPathBar.
361 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
363 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
364 an input-only window, event_window, which we'll use to capture
366 (gtk_path_bar_map): Show the event_window under the rest of the
367 windows, so it will be a catch-all for unhandled events.
369 2008-03-03 Sven Neumann <sven@gimp.org>
371 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
372 typo in the documentation of the GtkFileChooserButtons::file-set
373 signal (see bug #353196).
375 2008-03-03 Tor Lillqvist <tml@novell.com>
377 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
380 2008-03-02 Johan Dahlin <johan@gnome.org>
382 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
383 Remove left-over focus_pad variable.
384 (#490892, Claudio Saavedra)
386 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
387 (#518166, Matt Kraai)
389 2008-03-02 Johan Dahlin <johan@gnome.org>
391 * docs/tutorial/gtk-tut.sgml: Add a missing space
392 (#517954, Matt Kraai)
394 2008-03-03 Tor Lillqvist <tml@novell.com>
396 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
397 the widget is a GtkButton before casting.
399 2008-03-02 Johan Dahlin <johan@gnome.org>
401 * configure.in: Compare using = instead of ==, which is portable.
402 (#490787, Thomas Klausner)
404 2008-03-02 Johan Dahlin <johan@gnome.org>
406 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
408 (#496032, Nelson Benitez)
410 2008-02-29 Johan Dahlin <johan@gnome.org>
412 * demos/gtk-demo/demo.ui:
413 * gtk/gtkbuilderparser.c:
414 * gtk/gtkbuilderprivate.h:
415 * gtk/gtkliststore.c:
416 * tests/buildertest.c:
417 Add translatable/context and comment attributes on
418 <col> tags under a GtkListStore. Refactor parts of the
419 translation api and make it available inside gtk+ itself.
420 Update tests and example.
421 Fixes a part of #518642
423 2008-02-29 Johan Dahlin <johan@gnome.org>
426 Add missing g_return_val_if_fail checks for public API.
428 * gtk/gtkbuilderparser.c:
429 * gtk/gtkbuilderprivate.h:
430 Do not use g_error for a few more errors, instead set
431 the GError sent in through add_from_file/add_from_string.
432 * tests/buildertest.c:
433 Add a couple of new parsing tests.
434 (#519199, Pavel Syomin)
436 2008-02-29 Federico Mena Quintero <federico@novell.com>
438 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
439 refreshing an existing folder (i.e. when we are about to reload
440 its file list), turn off the folder's is_finished_loading flag.
441 Otherwise callers which do ::is_finished_loading() followed by
442 ::list_children() will get nothing.
444 2008-02-29 Cody Russell <bratsche@gnome.org>
446 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
447 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
449 2008-02-28 Matthias Clasen <mclasen@redhat.com>
451 * gtk/gtkcalendar.h: Remove trailing comma from enum to
452 make the compiler happy. (#517295, Sylvain Pasche)
454 2008-02-27 Michael Natterer <mitch@imendio.com>
464 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
465 private functions and virtual function implementations.
467 2008-02-27 Richard Hult <richard@imendio.com>
469 * gdk/quartz/GdkQuartzView.c:
470 * gdk/quartz/GdkQuartzView.h:
471 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
472 Fix performance regression for borderless transparent windows
475 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
477 * tests/testgtk.c: Revert back to r19454.
479 2008-02-27 Sven Neumann <sven@gimp.org>
481 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
482 Quartz backend, use a native Mac OS X application for the print
483 preview (bug #518624).
485 2008-02-26 Michael Natterer <mitch@imendio.com>
487 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
488 the members of info->tag_stack since they are a) gobjects and b)
489 not even owned by us, ugh... Fixes crash when deserializing fails.
491 2008-02-26 Sven Neumann <sven@gimp.org>
493 * docs/tools/shooter.c (find_toplevel_window)
494 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
495 argument passed to XQueryTree().
497 2008-02-25 Matthias Clasen <mclasen@redhat.com>
499 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
500 don't use beagle_query_add_hit_type.
502 2008-02-25 Richard Hult <richard@imendio.com>
504 * gdk/quartz/gdkevents-quartz.c
505 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
507 2008-02-24 Richard Hult <richard@imendio.com>
509 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
510 shown without gdk's control when clicking the dock icon.
512 2008-02-24 Richard Hult <richard@imendio.com>
514 * gdk/quartz/gdkprivate-quartz.h:
515 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
516 Use the subtype field for the custom event that is used to wake up
517 the mainloop so we can have other custom event types.
519 * gdk/quartz/gdkevents-quartz.c:
520 (_gdk_quartz_events_trigger_crossing_events):
521 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
522 crossing events after showing a window if necessary, to work
523 around problems with the tracking rect API.
525 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
527 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
528 wrong results on win32 because it doesn't set the printing units,
529 which affect the transformation of the cairo context
530 (#347125, Erik van Pienbroek)
532 2008-02-22 Tor Lillqvist <tml@novell.com>
534 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
536 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
538 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
539 acceptable for a module to only support the save_to_callback()
540 method if it marks itself as WRITABLE
542 2008-02-16 Matthias Clasen <mclasen@redhat.com>
544 * configure.in: Bump version
546 2008-02-16 Matthias Clasen <mclasen@redhat.com>
548 * === Released 2.13.0 ===
550 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
552 2008-02-21 Tor Lillqvist <tml@novell.com>
554 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
555 pass the format string to strftime in the C library's locale's
556 charset, not the system's. Correspondingly, the return value from
557 strftime() is in the C library's locale's charset. (#509885)
559 2008-02-20 Richard Hult <richard@imendio.com>
561 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
562 the right window level and shadow after recreating the window.
564 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
565 necessary after drawing (bug #517338).
567 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
569 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
570 call to g_type_class_unref in case of error. (#517563)
572 2008-02-18 Sven Neumann <sven@gimp.org>
574 * gtk/Makefile.am (STOCK_ICONS)
575 * gtk/stock-icons/16/gtk-page-setup.png
576 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
577 taken from GNOME icon theme.
579 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
581 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
583 * configure.in: Added Kannada (kn) to ALL_LINGUAS
585 2008-02-17 Johan Dahlin <johan@gnome.org>
587 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
588 When converting a stock item based on the label, remove the label property.
590 2008-02-17 Richard Hult <richard@imendio.com>
592 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
593 position after showing the window since the window manager might
594 not place it where we requested in the first places.
596 2008-02-17 Richard Hult <richard@imendio.com>
598 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
599 (_gdk_quartz_window_detach_from_parent),
600 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
601 the toplevel ordering list in all places where the order is
602 potentially changed. Fixes mouse focus issues for windows with
603 a transient parent set.
605 2008-02-17 Richard Hult <richard@imendio.com>
607 * gdk/quartz/gdkevents-quartz.c
608 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
609 window when event debugging is enabled.
611 2008-02-16 Richard Hult <richard@imendio.com>
613 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
614 to the scroll event (bug #516757, Paul Davis).
616 2008-02-16 Matthias Clasen <mclasen@redhat.com>
620 2008-02-16 Matthias Clasen <mclasen@redhat.com>
622 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
625 2008-02-15 Matthias Clasen <mclasen@redhat.com>
627 * gdk/Makefile.am: Don't install private headers. (#463510)
629 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
630 the installed header gdkprivate.h.
632 2008-02-15 Matthias Clasen <mclasen@redhat.com>
634 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
635 a crash with hidden, reorderable tabs. (#513230,
636 Mike Massonnet, patch by Carlos Garnacho)
638 2008-02-15 Matthias Clasen <mclasen@redhat.com>
640 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
641 Warn on duplicate action group names. (#501746, Christian
644 2008-02-15 Matthias Clasen <mclasen@redhat.com>
647 * modules/other/gail/tests/Makefile.am:
648 * modules/other/gail/libgail-util/Makefile.am:
649 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
650 builds. (#516254, Yevgen Muntyan)
652 2008-02-15 Matthias Clasen <mclasen@redhat.com>
657 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
658 instead of hardcoded target tables. (#516092, Christian Persch)
660 2008-02-15 Matthias Clasen <mclasen@redhat.com>
662 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
663 add the same target atom twice. (#516087, Christian Persch)
665 2008-02-15 Matthias Clasen <mclasen@redhat.com>
667 * tests/testfilechooser.c: Add a --backend option.
668 (#516073, Christian Persch)
670 2008-02-16 Richard Hult <richard@imendio.com>
672 * gdk/quartz/gdkprivate-quartz.h:
673 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
676 2008-02-15 Matthias Clasen <mclasen@redhat.com>
678 * configure.in: Go back to 2.13.0 as version for now,
679 as there was no consensus to do the jump.
681 * many other places: Update Since: tags.
683 2008-02-15 Matthias Clasen <mclasen@redhat.com>
685 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
687 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
689 2008-02-15 Richard Hult <richard@imendio.com>
691 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
692 instead of bounds when resizing windows.
694 2008-02-15 Matthias Clasen <mclasen@redhat.com>
696 * gdk/x11/gdkkeys-x11.c:
697 * gdk/x11/gdkcolor-x11.c:
698 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
700 2008-02-15 Matthias Clasen <mclasen@redhat.com>
702 * gdk/x11/gdktestutils-x11.c:
703 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
705 2008-02-15 Tor Lillqvist <tml@novell.com>
707 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
708 leak Registry key handles. (#516578)
710 2008-02-14 Richard Hult <richard@imendio.com>
712 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
713 makeKeyWindow unfortunately doesn't work in all cases, we must use
714 makeKeyAndOrderFront.
716 2008-02-14 Richard Hult <richard@imendio.com>
718 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
719 (gdk_window_hide), (gdk_window_fullscreen),
720 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
721 the window is hidden.
723 2008-02-14 Richard Hult <richard@imendio.com>
725 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
726 resizing to be consistent and to avoid introducing an internal
727 transform in the view.
729 2008-02-14 Richard Hult <richard@imendio.com>
731 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
734 2008-02-14 Johan Dahlin <johan@gnome.org>
737 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
739 2008-02-13 Richard Hult <richard@imendio.com>
741 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
742 Remove unused variables.
743 (gtk_clipboard_set_contents),
744 (gtk_clipboard_get_owner), (clipboard_unset),
745 (gtk_clipboard_request_targets): Notify the previous clipboard
746 owner when the owner changes. Fixes bug #493406.
748 2008-02-13 Richard Hult <richard@imendio.com>
750 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
751 the return value (return number of colors that failed), and handle
753 (gdk_colormap_free_colors): Fix typo in comment.
755 2008-02-13 Kristian Rietveld <kris@imendio.com>
757 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
758 queue a redraw if the rubber banding has actually been active.
760 2008-02-12 Matthias Clasen <mclasne@redhat.com>
762 * gtk/gtkpapersize.c:
763 * gtk/gtkprintoperation.c:
764 * gtk/gtkvolumebutton.c:
765 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
766 out by Behdad Esfahbod.
768 2008-02-12 Federico Mena Quintero <federico@novell.com>
770 Merged from gtk-2-12:
772 Don't focus the file list when shortcuts get activated. This
773 removes a lot of ambiguity in when the file selection should
774 change, and makes the overall code flow simpler.
776 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
777 file/save dialog clears the filename entry when changing
780 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
781 focus should not go to the file list when a shortcut is activated.
783 * gtk/gtkfilechooserdefault.c
784 (shortcuts_activate_volume_mount_cb): Don't focus the file list
785 (shortcuts_activate_get_info_cb): Likewise.
787 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
788 the file list (this was the last place where we would focus the
789 file list explicitly). If you are in the location entry, for
790 example, you don't want Alt-Home to take you to the file list; you
791 just want the current folder to change. Thanks to Olle Bergkvist
792 <olle.bergkvist@yahoo.se> for pointing this out in
793 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
794 (focus_browse_tree_view_if_possible): Removed.
796 2008-02-12 Matthias Clasen <mclasen@redhat.com>
798 Skip exensions when selecting filenames in the save-as dialog.
799 (#362516, Carlos Garnacho)
801 * gtk/gtkfilechooserentry.h:
802 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
803 New function to skip the extension part when selecting a filename.
804 (_gtk_file_chooser_entry_set_base_folder): Use it here.
806 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
809 2008-02-12 Matthias Clasen <mclasen@redhat.com>
811 * gtk/gtkiconview.c: Fix state change reporting for
812 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
814 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
816 * gtk/gtkrecentchooser.c:
817 (gtk_recent_chooser_class_init): Set the default value of the
818 :show-not-found property to TRUE, as every implementation sets
821 * gtk/gtkrecentchooserdefault.c:
822 (_gtk_recent_chooser_default_init): Sync show_tips to the
823 default value of the :show-tips property.
825 2008-02-12 Matthias Clasen <mclasen@redhat.com>
827 * gtk/gtkclipboard-quartz.c:
829 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
832 2008-02-12 Kristian Rietveld <kris@imendio.com>
834 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
835 (gtk_tree_view_real_toggle_cursor_row): guard against people
836 deleting the row in question in the selection-changed callback.
837 (#514621, Andreas Koehler).
839 2008-02-12 Matthias Clasen <mclasen@redhat.com>
841 * gtk/*.c: Unify the handling of various "Enter" keysyms
842 all over the place. (#515047, Christian Persch)
844 2008-02-12 Matthias Clasen <mclasen@redhat.com>
846 * gtk/gtkfilesystemmodel.c:
848 * gtk/gtkwidget.c: Use g_value_set_static_string() where
849 appropriate. (#515042, Christian Persch)
851 2008-02-12 Matthias Clasen <mclasen@redhat.com>
853 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
855 2008-02-12 Matthias Clasen <mclasen@redhat.com>
857 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
859 2008-02-12 Matthias Clasen <mclasen@redhat.com>
861 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
862 (recent_model_sort_drag_data_get):
863 (search_model_sort_drag_data_get):
864 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
865 * gtk/gtkpathbar.c (button_drag_data_get_cb):
866 Use gtk_selection_data_set_uris() instead of doing it
867 by hand. (#514890, Christian Persch)
869 2008-02-12 Michael Natterer <mitch@imendio.com>
871 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
872 gtk_get_current_event_time().
874 2008-02-12 Michael Natterer <mitch@imendio.com>
876 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
877 gtk_window_get_key_hash() to get the hash instead of manually
878 fiddling with quarks and gtk_window_keys_changed(). Also add
879 g_return_if_fail() to this public function.
881 2008-02-11 Matthias Clasen <mclasen@redhat.com>
883 Support keynav in status icons. (#473786, Li Yuan)
885 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
887 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
889 2008-02-11 Kristian Rietveld <kris@imendio.com>
891 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
892 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
893 wrt. link deletion from list; contination of fix for #503569.
895 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
897 * gtk/gtkrecentchoosermenu.c:
898 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
899 on the placeholder menu item.
901 * tests/testrecentchoosermenu.c:
902 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
903 whether the placeholder menu item gets shown.
905 2008-02-10 Cody Russell <bratsche@gnome.org>
907 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
908 Check the return value of _gtk_file_chooser_get_file_system () for
909 NULL before passing it to gtk_file_system_path_to_uri ().
910 (#515667, Francesco Montorsi)
912 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
914 * gtk/gtkbuilder.c: Improve the documentation for
915 gtk_builder_connect_signals. (#514471)
917 2008-02-10 Matthias Clasen <mclasen@redhat.com>
919 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
922 2008-02-08 Cody Russell <bratsche@gnome.org>
924 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
925 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
927 2008-02-08 Richard Hult <richard@imendio.com>
929 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
930 delta from the NSEvent for now, generating multiple scroll events
931 results in a lot of events getting queued up and things get really
934 2008-02-08 Sven Herzberg <sven@imendio.com>
936 Adjust the code to match the documentation, examples, "common sense"
937 and existing applications.
939 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
940 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
943 2008-02-07 Cody Russell <bratsche@gnome.org>
945 * gdk/win32/gdkevents-win32.c
946 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
947 of a block that were causing compile problems on old
948 compilers. (#515053, reported by Kazuki IWAMOTO)
950 2008-02-07 Michael Natterer <mitch@imendio.com>
959 * gtk/gtkoptionmenu.c
963 * gtk/gtkradiomenuitem.c
965 * gtk/gtkscrolledwindow.c
966 * gtk/gtksocket.c: remove g_return_if_fail() from private
967 functions and virtual function implementations.
969 2008-02-07 Michael Natterer <mitch@imendio.com>
976 * gtk/gtkcellrenderercombo.c
979 * gtk/gtkdrawingarea.c
980 * gtk/gtkentrycompletion.c
986 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
987 functions and virtual function implementations.
989 2008-02-07 Christian Persch <chpe@gnome.org>
991 * gdk/gdkpixbuf-render.c:
992 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
993 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
994 otherwise there will be random pixel values in the semi-transparent
995 area of the pixbuf within the mask. Bug #487865.
997 2008-02-06 Cody Russell <bratsche@gnome.org>
999 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1000 otherwise things get wonky when you click on a menu. This fixes
1001 a regression caused in #505928. Thanks to Tor for spotting this
1004 2008-02-06 Michael Natterer <mitch@imendio.com>
1006 * gtk/gtkcontainer.c
1013 * gtk/gtkmenushell.c
1015 * gtk/gtkseparatortoolitem.c
1017 * gtk/gtktextlayout.c
1018 * gtk/gtktoggletoolbutton.c
1019 * gtk/gtktoolbutton.c
1022 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1025 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1027 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1028 Allow to store half-open ranges.
1030 2008-02-05 Cody Russell <bratsche@gnome.org>
1032 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1033 down the stack until we get to a window that is mapped.
1034 Otherwise hiding a window will cause all windows in the app
1035 to be blocked. (#514643)
1037 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1039 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1040 directory, avoiding one source of invalid caches that has been
1041 spotted in the wild.
1043 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1045 * gtk/updateiconcache.c: Fix the previous commit to compile.
1047 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1049 * gtk/updateiconcache.c: Install a printerr handler that
1050 prepends the program name, since gtk-update-icon-cache output
1051 often appears in the middle of other output, e.g. rpm update logs.
1053 2008-02-05 Cody Russell <bratsche@gnome.org>
1055 * gdk/win32/gdkprivate-win32.h
1056 * gdk/win32/gdkevents-win32.c
1057 * gdk/win32/gdkwindow-win32.c
1058 * gdk/win32/gdkwindow-win32.h
1059 * gdk/win32/gdkwin32.h:
1060 Modal window rework. (#455627 and #511111)
1062 2008-02-04 Michael Natterer <mitch@imendio.com>
1064 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1065 g_return_if_fail() if the cell is not part of the combo instead of
1066 crashing in the next line.
1068 2008-02-01 Cody Russell <cody@jhu.edu>
1070 * modules/engines/ms-windows/xp_theme.[ch]
1071 * modules/engines/ms-windows/xp_theme_defs.h
1072 * modules/engines/ms-windows/msw_rc_style.c
1073 * modules/engines/ms-windows/msw_theme_main.c
1074 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1075 attempted to stylize more like the rest of the gtk+ stack's code.
1077 2008-02-01 Michael Natterer <mitch@imendio.com>
1079 * tests/testgtk.c: initialize GdkColor structs to fix warning
1080 about uninitialized "pixel" member.
1082 * tests/testactions.c: connect the toolbar_style() callback so it
1083 does something useful and doesn't warn about being defined but not
1086 2008-01-31 Cody Russell <bratsche@gnome.org>
1088 * gdk/win32/gdkevents-win32.c:
1089 Refactored some of the window hiding/showing code from
1090 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1091 under WM_ACTIVATE was causing the application to go into
1092 a weird state when the user right-clicked on the taskbar
1093 entry of a window that was minimized. (#505928)
1095 2008-01-31 Cody Russell <bratsche@gnome.org>
1097 * gtk/gtkpaned.c (gtk_paned_set_position):
1098 Change queue_resize() to queue_draw(), and add a check for
1099 child2 != NULL in case someone calls this before there is
1100 a child packed in there. (#144269 again)
1102 2008-01-31 Sven Neumann <sven@gimp.org>
1104 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1105 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1107 2008-01-31 Sven Neumann <sven@gimp.org>
1109 * gdk/directfb/gdkdisplay-directfb.c
1110 * gdk/directfb/gdkdrawable-directfb.c
1111 * gdk/directfb/gdkprivate-directfb.h
1112 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1113 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1115 2008-01-31 Richard Hult <richard@imendio.com>
1117 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1118 issues with undecorated windows. Revert the change done on
1119 2008-01-25 and fix it by using the view's bounds instead. The
1120 bounds will always be up to date when setting up the tracking
1121 rect, so this should be more robust.
1123 2008-01-30 Sven Neumann <sven@gimp.org>
1125 * gdk/directfb/gdkdrawable-directfb.c
1126 * gdk/directfb/gdkwindow-directfb.c
1127 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1128 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1129 DirectFB's debugging system
1131 2008-01-30 Sven Neumann <sven@gimp.org>
1133 * gdk/directfb/gdkdirectfb.h
1134 * gdk/directfb/gdkdisplay-directfb.c
1135 * gdk/directfb/gdkdrawable-directfb.c
1136 * gdk/directfb/gdkim-directfb.c
1137 * gdk/directfb/gdkimage-directfb.c
1138 * gdk/directfb/gdkinput-directfb.c
1139 * gdk/directfb/gdkmain-directfb.c
1140 * gdk/directfb/gdkpixmap-directfb.c
1141 * gdk/directfb/gdktestutils-directfb.c
1142 * gdk/directfb/gdkvisual-directfb.c
1143 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1144 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1145 errors and has some cleanups.
1147 2008-01-30 Michael Natterer <mitch@imendio.com>
1149 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1150 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1153 * gtk/updateiconcache.c (add_string): cast const gchar* to
1154 gpointer when inserting in a GHashTable.
1156 * tests/testcalendar.c (calendar_detail_cb): remove const from
1157 return value since it's a newly allocated string.
1159 (calendar_update_details): free the detail.
1161 2008-01-29 Johan Dahlin <johan@gnome.org>
1163 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1165 * demos/gtk-demo/demo.ui:
1166 Move the about dialog to the glade file, add accessible tags
1167 examples to the markup file.
1169 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1171 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1172 layout, fixes #512375.
1174 2008-01-28 Michael Natterer <mitch@imendio.com>
1176 * gtk/gtktextchild.c
1177 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1179 2008-01-28 Michael Natterer <mitch@imendio.com>
1181 * demos/gtk-demo/builder.c (about_activate): use
1182 gtk_about_dialog_set_program_name() instead of the deprecated
1185 2008-01-28 Michael Natterer <mitch@imendio.com>
1187 * gtk/gtktextchild.c
1188 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1191 2008-01-26 Johan Dahlin <johan@gnome.org>
1193 * tests/Makefile.am:
1194 * tests/textbuffertest.c:
1195 Rename textbuffer test and port it to the new test framework
1197 2008-01-25 Johan Dahlin <johan@gnome.org>
1199 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1200 unsetting of GTK_MODULES.
1202 * gtk/gtk-builder-convert
1203 (GtkBuilderConverter._convert_adjustment): Handle the case where
1204 there is no child text node.
1205 (GtkBuilderConverter): Allow xml comments in most places.
1207 2008-01-25 Johan Dahlin <johan@gnome.org>
1209 * gtk/gtk-builder-convert
1210 (GtkBuilderConverter._convert_combobox_items): Remove the items
1211 even if there are no items set.
1212 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1213 signals and tooltips for all menu items subclasses and
1214 GtkImageMenuItem:label.
1215 Makes it possible to fully convert and run Jokosher.glade.
1217 2008-01-25 Johan Dahlin <johan@gnome.org>
1219 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1220 (gtk_widget_buildable_get_internal_child), (free_action),
1221 (free_relation), (gtk_widget_buildable_parser_finished),
1222 (accessibility_start_element),
1223 (gtk_widget_buildable_custom_tag_start),
1224 (gtk_widget_buildable_custom_finished):
1225 Implement accessible support, fixes #454653.
1227 * gtk/gtk-builder-convert:
1228 Add support for migrating old glade files
1230 * tests/buildertest.c: (test_widget), (test_file):
1231 Add accessible tests and imprve the test_file function to display
1232 toplevels and run dialogs.
1234 2008-01-25 Richard Hult <richard@imendio.com>
1236 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1237 didn't change, fixes focus event issues for undecorated windows.
1239 2008-01-25 Richard Hult <richard@imendio.com>
1241 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1242 const and remove unused variables).
1244 2008-01-25 Michael Natterer <mitch@imendio.com>
1247 * gtk/gtkcellrenderer.h
1248 * gtk/gtkimcontext.h
1252 * gtk/gtktreeprivate.h
1253 * gtk/gtktreeviewcolumn.h
1254 * gtk/gtkwidget.h: add const to constant structs which are passed
1255 into GTK+. Also add some forgotten const for const strings.
1259 * gtk/gtkcellrenderer.c
1260 * gtk/gtkimcontext.c
1265 * gtk/gtktreeviewcolumn.c
1266 * gtk/gtkwidget.c: changed accordingly.
1268 2008-01-25 Sven Herzberg <sven@imendio.com>
1270 Reviewed by Johan Dahlin.
1272 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1273 this is called with something that's not a GtkUIManager
1275 2008-01-24 Johan Dahlin <johan@gnome.org>
1277 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1278 Chain up to parent, so widgets can have internal children.
1280 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1282 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1285 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1287 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1289 Use pango_layout_set_height() for calendar details (#506049).
1291 * configure.in: Require 1.19.3 for pango_layout_set_height().
1292 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1294 2008-01-18 Johan Dahlin <johan@gnome.org>
1296 * gtk/gtk-builder-convert (get_property_node): New method
1297 (GtkBuilderConverter._create_object): Conditionally take a node as
1298 a property value, so don't lose translate/context attributes if they
1300 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1301 property values instead of strings.
1302 (#509153, Erik van Pienbroek)
1304 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1306 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1308 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1309 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1310 * tests/testcalendar.c: Duplicate calendar details before returning.
1312 2008-01-16 Christian Persch <chpe@gnome.org>
1314 * gtk/gtkwidget.c: Store the event mask and extension event mode
1315 directly in the gobject data pointer, instead of in an allocated
1318 2008-01-16 Michael Natterer <mitch@imendio.com>
1320 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1321 gdk-pixbuf now uses gio functions.
1323 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1325 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1326 the notify::model signal. (#509819, David Zeuthen)
1328 2008-01-15 Michael Natterer <mitch@imendio.com>
1336 * gdk/gdkwindow.h: made more struct pointer and array parameters
1337 const. GDK should now be constified as far as possible without
1338 breaking source compatibility. Includes some minor cleanup like
1339 indentation and s/nfoo/n_foo/ (bug #508544).
1345 * gdk/gdkregion-generic.c
1347 * gdk/directfb/gdkdisplay-directfb.c
1348 * gdk/directfb/gdkwindow-directfb.c
1349 * gdk/quartz/gdkdisplay-quartz.c
1350 * gdk/quartz/gdkwindow-quartz.c
1351 * gdk/win32/gdkdisplay-win32.c
1352 * gdk/win32/gdkwindow-win32.c
1353 * gdk/x11/gdkdisplay-x11.c
1354 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1356 2008-01-14 Michael Natterer <mitch@imendio.com>
1358 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1361 (gtk_rc_parse_any): change variables to const and introduce
1362 another local variable to fix const warnings.
1364 2008-01-14 Michael Natterer <mitch@imendio.com>
1366 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1367 of gdk_screen_get_font_options() to gpointer to get rid of const
1370 2008-01-14 Michael Natterer <mitch@imendio.com>
1372 * tests/testdnd.c (source_drag_data_get): fix another call to
1373 gtk_selection_data_set().
1375 2008-01-14 Michael Natterer <mitch@imendio.com>
1377 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1380 2008-01-14 Michael Natterer <mitch@imendio.com>
1382 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1384 2008-01-14 Michael Natterer <mitch@imendio.com>
1386 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1387 "uris" to guchar* when passing it to gtk_selection_data_set().
1389 2008-01-14 Michael Natterer <mitch@imendio.com>
1395 * gdk/gdkinternals.h
1397 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1398 parameters const (bug #508544).
1403 * gdk/gdkrectangle.c
1404 * gdk/gdkpolyreg-generic.c
1405 * gdk/gdkregion-generic.c
1406 * gdk/directfb/gdkcolor-directfb.c
1407 * gdk/directfb/gdkgc-directfb.c
1408 * gdk/directfb/gdkgeometry-directfb.c
1409 * gdk/directfb/gdkwindow-directfb.c
1410 * gdk/quartz/gdkcolor-quartz.c
1411 * gdk/quartz/gdkgc-quartz.c
1412 * gdk/quartz/gdkgeometry-quartz.c
1413 * gdk/quartz/gdkwindow-quartz.c
1414 * gdk/win32/gdkcolor-win32.c
1415 * gdk/win32/gdkgc-win32.c
1416 * gdk/win32/gdkgeometry-win32.c
1417 * gdk/win32/gdkprivate-win32.h
1418 * gdk/win32/gdkwindow-win32.c
1419 * gdk/x11/gdkcolor-x11.c
1420 * gdk/x11/gdkgc-x11.c
1421 * gdk/x11/gdkgeometry-x11.c
1422 * gdk/x11/gdkmain-x11.c
1423 * gdk/x11/gdkprivate-x11.h
1424 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1426 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1429 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1431 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1433 * gtk/gtktoolitem.c: Add comment expaining name choice for
1434 gtk_tool_item_toolbar_reconfigured.
1436 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1438 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1439 implementations to notify its children, when some aspect of their
1440 configuration changed (#509042).
1442 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1443 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1444 Rename _gtk_tool_item_toolbar_reconfigured.
1446 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1448 Include <gtk/gtktoolshell.h> from gtk.h.
1450 * gtk/gtk.h: Add gtktoolshell.h
1452 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1454 Print angle brackets arround e-mail addresses in the about dialog
1455 (#409520, Mariano Suárez-Alvarez).
1457 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1459 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1461 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1462 special casing so test widgets are always queues for destruction
1465 * gtk/tests/testing.c: removed bits left-over from testing without
1468 2008-01-10 Tor Lillqvist <tml@novell.com>
1470 * modules/other/gail/libgail-util/Makefile.am
1471 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1474 2008-01-10 Tor Lillqvist <tml@novell.com>
1476 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1477 uses gtkprintunixdialog API.
1479 2008-01-10 Tor Lillqvist <tml@novell.com>
1481 * gdk/win32/gdkdisplay-win32.c
1482 * gdk/win32/gdkglobals-win32.c
1483 * gdk/win32/gdkprivate-win32.h
1484 * gdk/win32/gdkscreen-win32.c
1485 * gdk/win32/gdkwindow-win32.c: Implement
1486 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1487 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1490 2008-01-10 Cody Russell <bratsche@gnome.org>
1492 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1493 Properly ref/unref windows and parents. (#506769)
1495 2008-01-10 Richard Hult <richard@imendio.com>
1497 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1498 (gdk_window_hide), (move_resize_window_internal): Move the
1499 tracking rect workaround from here...
1501 * gdk/quartz/GdkQuartzWindow.c:
1502 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1503 movements during showing/hiding operations. Fixes bug #508516.
1505 2008-01-10 Michael Natterer <mitch@imendio.com>
1507 * gdk/directfb/gdkscreen-directfb.c
1508 (gdk_screen_get_monitor_width_mm)
1509 (gdk_screen_get_monitor_height_mm)
1510 (gdk_screen_get_monitor_plug_name): add these functions to make
1513 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1515 * gtk/gtkrecentchoosermenu.c:
1516 (idle_populate_func), (idle_populate_clean_up): Fix possible
1517 recursion by resetting the idle source id. (#507605, William
1520 2008-01-10 Kristian Rietveld <kris@imendio.com>
1522 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1523 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1524 avoid valgrind warnings. (#507751, patch from Christian Persch).
1526 2008-01-10 Kristian Rietveld <kris@imendio.com>
1528 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1529 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1531 2008-01-10 Kristian Rietveld <kris@imendio.com>
1533 Fix #477175, reported by Juri Pakaste.
1535 * gtk/gtktreeprivate.h:
1536 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1537 tree_view->priv->dy here directly, just calculate the new value
1538 and set it on the adjustment,
1539 (gtk_tree_view_adjustment_changed): add guards to not call
1540 gtk_tree_view_dy_to_top_row() if we are currently in
1541 gtk_tree_view_top_row_to_dy(),
1542 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1543 coordinates, not tree coordinates,
1544 (gtk_tree_view_real_start_editing): add cast.
1546 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1547 position of the editable in the "create new row and start editing"
1550 2008-01-09 Michael Natterer <mitch@imendio.com>
1552 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1555 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1556 * gtk/gtkicontheme.c (theme_list_contexts)
1557 (gtk_icon_theme_lookup_icon)
1558 * gtk/gtkimcontextsimple.c (beep_window)
1559 * gtk/gtklinkbutton.c (set_link_color)
1560 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1563 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1564 variable and add const to another to fix a warning.
1566 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1568 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1569 the current page. (#499951, Andreas Sandberg)
1571 2008-01-06 Johan Dahlin <johan@gnome.org>
1573 * gtk/gtkspinbutton.c: Declare value in the example code for
1574 GtkSpinButton::output, as pointed out by Anders Carlsson.
1576 2008-01-06 Christian Persch <chpe@gnome.org>
1578 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1579 and remove an obsolete event box. Bug #506760.
1581 2008-01-06 Johan Dahlin <johan@gnome.org>
1583 * tests/buildertest.c (test_domain):
1584 Update, GtkBuilder::translation-domain is no longer set
1586 * gtk/gtkbuilderparser.c (parse_interface):
1587 Allow domains to be overridden in <interface>'s if a translation-domain
1588 is set in the builder.
1589 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1590 of the builder, make the domain set in the <interface> apply only to strings
1592 (#496831, Ryan Lortie)
1594 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1597 * gtk/gtktreestore.c (tree_model_end_element):
1598 Remove an unused variable
1600 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1602 * gtk/gtkspinbutton.c: Document the ::output signal and
1603 add an example. (#507566, example by Owen Taylor)
1605 2008-01-06 Johan Dahlin <johan@gnome.org>
1607 * gtk/gtkcellrenderercombo.c:
1608 (gtk_cell_renderer_combo_get_property),
1609 (gtk_cell_renderer_combo_set_property):
1610 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1611 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1612 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1613 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1614 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1615 (gtk_text_buffer_get_property):
1616 * gtk/gtktextview.c: (gtk_text_view_set_property):
1617 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1618 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1619 (gtk_tool_button_get_property):
1620 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1621 (gtk_tool_item_get_property):
1622 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1623 * gtk/gtkwidget.c: (gtk_widget_set_property):
1624 * gtk/gtkwindow.c: (gtk_window_set_property):
1625 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1628 2008-01-06 Johan Dahlin <johan@gnome.org>
1630 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1631 Make sure that --root works for toplevel widgets.
1632 (#491847, Phil Lello)
1634 2008-01-05 Johan Dahlin <johan@gnome.org>
1636 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1637 to make sure that make test-report works properly
1639 2008-01-05 Christian Persch <chpe@gnome.org>
1641 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1642 GType as integer through gpointer. Bug #507395.
1644 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1646 Avoid some compiler warnings (#507000).
1648 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1649 for value argument of _gtk_builder_flags_from_string.
1650 * gtk/gtkwidget.c: Don't alias the child pointer passed
1651 to gdk_window_get_user_data.
1653 2008-01-04 Michael Natterer <mitch@imendio.com>
1655 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1656 to set the time in the returned GdkTimeCoords.
1658 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1660 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1661 correct comparison function (kudos to Christian Persch and
1662 Claudio Saavedra for spotting this)
1664 * gtk/gtkrecentchooserutils.c:
1665 (sort_recent_items_mru),
1666 (sort_recent_items_lru): Ditto as above.
1668 2008-01-03 Johan Dahlin <johan@gnome.org>
1670 * tests/defaultvaluetest.c: Make it pass again.
1672 2008-01-02 Johan Dahlin <johan@gnome.org>
1674 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1675 make it pass on Ubuntu.
1676 (main): Use gtk_test_list_all_types () instead of providing our
1678 And it no longer passes.
1680 2007-12-30 Johannes Schmid <jhs@gnome.org>
1682 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1683 Also reorder menu when reordering tabs by drag & drop
1686 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1687 Add a menu to one of the notebooks to have a test-case for
1688 the change mentioned above.
1690 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1692 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1694 2007-12-31 Christian Persch <chpe@gnome.org>
1696 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1697 Plug a mem leak. Bug #506107.
1699 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1701 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1702 icon cache api change. (#506135, Kazuki Iwamoto)
1704 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1706 Consider "wide-separators" and "separator-height" style properties:
1707 The separator is drawn using gtk_paint_box instead of cairo, when
1708 "wide-separators" is set. Also do not highlight details for previous
1709 or next month, if their day matches the selected day. (#339540)
1711 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1712 in gtk_calendar_size_request and calendar_paint_day
1713 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1714 for selected detail separators in GtkCalendar.
1716 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1718 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1720 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1721 a local variable instead in gtk_calendar_size_request.
1723 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1725 * tests/defaultvaluetest.c: Add enough exclusions to make the
1728 2007-12-28 Christian Persch <chpe@gnome.org>
1730 * modules/other/gail/Makefile.am:
1731 * modules/other/gail/tests/*:
1732 * configure.in: Merge tests from standalone gail. Bug #504568.
1734 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1736 * gtk/gtkclipboard.c: Make the finalizer work when display is
1739 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1741 Draw bottom shadow of GtkCalender headings. (#506113)
1743 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1745 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1747 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1750 2007-12-28 Christian Persch <chpe@gnome.org>
1752 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1753 a mem leak. Bug #506096.
1755 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1758 * gtk/gtktreeview.c:
1759 * gtk/gtkprintoperation.c:
1760 * gtk/gtkprogressbar.c:
1761 * gtk/gtkmessagedialog.c:
1762 * gtk/gtknotebook.c:
1766 * gtk/gtklinkbutton.c:
1767 * gtk/gtkmenu.c: More default property value corrections.
1769 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1771 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1772 accel_group unless it is set.
1774 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1776 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1778 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1780 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1781 shadow-type properties.
1783 * gtk/gtkfontsel.c: Fix the default values of several properties.
1785 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1788 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1790 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1793 2007-12-28 Johan Dahlin <johan@gnome.org>
1795 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1796 (gtk_dialog_buildable_custom_tag_start): Chain up.
1797 This makes it possible to have accelerators tags on GtkDialog
1800 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1802 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1803 are shown within the widget, or just as tooltip. (#339540)
1805 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1806 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1807 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1810 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1812 Try more decent appearance of calendar details separator. (#339540)
1814 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1815 and make it short by one pixel on each side.
1817 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1819 Apply trivial code-style changes from attachement 101101. (#339540)
1821 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1823 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1825 Restructure testcalendar for testing calendar details. (#339540)
1827 * tests/testcalendar.c: Push code arround for testing calendar details.
1829 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1831 Implement GtkTooltip API for calendar details. (#339540)
1833 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1834 Remember detail overflows in calendar_paint_day to show the tooltip
1835 only when neccessary.
1837 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1839 Without setting "detail-width-chars" and "detail-height-rows"
1840 properties not only the widget has to be redrawn on certain
1841 conditions, but also its size must be recalculated. (#339540)
1843 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1844 that function instead of gtk_widget_queue_draw.
1846 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1848 Consider details for size-request and expose-event. (#339540)
1850 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1851 is_color_attribute functions. Change gtk_calendar_size_request
1852 and calendar_paint_day to consider and show calender details.
1854 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1856 * gtk/gtkcombobox.c: Introduce local priv variables to
1859 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1861 * gtk/gtkcombobox.c: Correct the default value for the
1862 tearoff-title property.
1864 * gtk/gtkcellrenderertext.c: Fix the default value for the
1865 wrap-mode and font-scale properties.
1867 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1870 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1872 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1873 defines. (#505708, MINAMI Hirokazu)
1875 2007-12-27 Christian Persch <chpe@gnome.org>
1877 * Makefile.am: Install gail.pc. Bug #505859.
1879 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1881 Add infrastructure for GtkCalendar details. (#339540)
1883 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1884 Add "detail-width-chars" and "detail-height-rows" properties,
1885 and gtk_calendar_set_detail_func function.
1887 2007-12-27 Xan Lopez <xan@gnome.org>
1890 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1892 Add gtk_border_new to avoid memory allocator confusions when using
1893 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1895 2007-12-27 Christian Persch <chpe@gnome.org>
1897 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1898 bug #504886 not to read unitialised memory.
1900 2007-12-26 Xan Lopez <xan@gnome.org>
1902 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1903 modification of the internal frame contents to decide if we have
1904 extra children. (#415677)
1906 2007-12-22 Christian Persch <chpe@gnome.org>
1908 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1910 2007-12-25 Christian Persch <chpe@gnome.org>
1912 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1913 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1916 2007-12-25 Christian Persch <chpe@gnome.org>
1918 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1920 2007-12-25 Christian Persch <chpe@gnome.org>
1922 * modules/other/gail/*.[ch]: Remove relocations from the atk
1923 factories. Remove unused gail_foo_new() functions. Fix object
1924 instantiation to be derivation safe by moving initialisation code
1925 from the removed gail_foo_new() functions to the
1926 AtkObjectClass::initialize implementation. Bug #505226.
1928 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1930 * modules/other/gail/gailentry.c:
1931 * modules/other/gail/gailimage.c:
1932 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1933 uses of clipboards and settings. (#504722, Christian Persch)
1935 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1937 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1940 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1942 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1943 use the time and button information from the event. (#504901,
1946 2007-12-23 Cody Russell <bratsche@gnome.org>
1948 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1949 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1950 Fixes a regression caused by #164537 patch where transient
1951 windows that are hidden get shown (incorrectly) when their
1952 parents are minimized. (#504984)
1954 2007-12-22 Christian Persch <chpe@gnome.org>
1956 * modules/other/gail/gailcell.c:
1957 * modules/other/gail/gailcontainercell.c:
1958 * modules/other/gail/gailexpander.c:
1959 * modules/other/gail/gailtextcell.c:
1960 * modules/other/gail/gailtextview.c:
1961 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1963 2007-12-22 Christian Persch <chpe@gnome.org>
1965 * modules/other/gail/*.c: Include config.h. Bug #504720.
1967 2007-12-22 Christian Persch <chpe@gnome.org>
1969 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1970 handwritten get_type functions. Bug #504661.
1972 2007-12-23 Xan Lopez <xan@gnome.org>
1974 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1975 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1977 Patch by Sadrul Habib Chowdhury (#504804)
1979 2007-12-22 Christian Persch <chpe@gnome.org>
1981 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1982 #504645, patch by Li Yuan.
1984 2007-12-22 Christian Persch <chpe@gnome.org>
1986 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1988 2007-12-22 Christian Persch <chpe@gnome.org>
1990 * modules/other/gail/gail.c:
1991 * modules/other/gail/gailbutton.c:
1992 * modules/other/gail/gailcell.c:
1993 * modules/other/gail/gailcombo.c:
1994 * modules/other/gail/gailcombo.h:
1995 * modules/other/gail/gailcombobox.c:
1996 * modules/other/gail/gailentry.c:
1997 * modules/other/gail/gailexpander.c:
1998 * modules/other/gail/gailmenuitem.c:
1999 * modules/other/gail/gailnotebook.c:
2000 * modules/other/gail/gailnotebookpage.c:
2001 * modules/other/gail/gailnotebookpage.h:
2002 * modules/other/gail/gailoptionmenu.c:
2003 * modules/other/gail/gailrange.c:
2004 * modules/other/gail/gailtextview.c:
2005 * modules/other/gail/gailtreeview.c:
2006 * modules/other/gail/gailtreeview.h:
2007 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2010 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2012 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2015 2007-12-21 Richard Hult <richard@imendio.com>
2017 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2018 Plug leak of destroyed subviews, fixes bug #504753.
2020 2007-12-20 Johan Dahlin <johan@gnome.org>
2022 * tests/Makefile.am (TEST_PROGS):
2023 * tests/defaultvaluetest.c: Add a test for default values,
2024 based on program by Christan Perch
2026 2007-12-20 Johan Dahlin <johan@gnome.org>
2028 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2029 Refactor to avoid some duplication.
2030 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2031 Fixes #504749, Yuri Pimenov
2033 2007-12-20 Kristian Rietveld <kris@imendio.com>
2035 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2036 the build work again on systems without xrandr 1.2.
2038 2007-12-20 Christian Persch <chpe@gnome.org>
2041 * modules/other/gail/libgail-util/Makefile.am:
2042 Keep the same libtool version as the standalone libgail-util had.
2045 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2047 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2049 2007-12-20 Alexander Larsson <alexl@redhat.com>
2051 * gdk/x11/gdkapplaunchcontext-x11.c:
2052 Update for gio API changes
2054 2007-12-20 Richard Hult <richard@imendio.com>
2056 * gdk/quartz/GdkQuartzWindow.c:
2057 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2058 processing events after changing the size.
2060 2007-12-20 Richard Hult <richard@imendio.com>
2062 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2063 Add stub for quartz to fix build.
2065 2007-12-20 Christian Persch <chpe@gnome.org>
2067 * modules/other/gail/Makefile.am:
2068 * modules/other/gail/gailimage.c: (gail_image_class_init),
2069 (gail_image_init), (elide_underscores), (gail_image_get_name),
2070 (atk_image_interface_init), (gail_image_finalize):
2071 * modules/other/gail/gailimage.h:
2072 R modules/other/gail/gailintl.h:
2073 * po/POTFILES.skip: Use the stock item's label as the name of the
2074 accessible in gailimage.c. Bug #504246.
2076 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2078 Avoid some compiler warnings and remove obsolete code. (#339540)
2080 * gtk/gtkcalendar.c: Change week and year variable in
2081 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2082 0" block from calendar_paint_day: The feature in question is handled
2083 few lines above. Cast data returned by gtk_selection_data_get_text()
2084 to (gchar*) in gtk_calendar_drag_data_received.
2086 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2088 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2090 2007-12-19 Johan Dahlin <johan@gnome.org>
2092 * tests/buildertest.c (test_object_properties):
2093 Add another call to gtk_builder_add_string after using
2094 delayed properties, as reported in #504393 but already
2097 2007-12-18 Christian Persch <chpe@gnome.org>
2100 * docs/reference/Makefile.am:
2101 * docs/reference/libgail-util/*:
2102 * gail-uninstalled.pc.in:
2104 * modules/Makefile.am:
2105 * modules/other/Makefile.am:
2106 * modules/other/gail/*:
2107 * modules/other/gail/libgail-util/*:
2108 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2110 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2112 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2113 * gdk/win32/gdkproperty-win32.c:
2114 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2116 * gtk/gtkimmodule.[hc]:
2117 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2118 look at the gtk-im-module setting, and listen for changes to the
2119 setting. (#502446, Akira Tagoh)
2121 2007-12-17 Kristian Rietveld <kris@imendio.com>
2123 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2124 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2125 to NULL as soon as it's destroyed. (#496546, patch from
2128 2007-12-17 Kristian Rietveld <kris@imendio.com>
2130 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2131 always determine what arrow to show if show_sort_indicator is true.
2132 (#352738, Chris Vine).
2134 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2136 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2139 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2140 gtk_container_foreach in get_child_panes.
2142 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2144 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2146 Plug leak: When reordering the info in the list the old node is
2147 removed but not freed. (#503569)
2149 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2151 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2152 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2153 are deprecated since DirectFB 1.0.0. If compiling with an older
2154 version define the new type name to the old types. Fixes bug #503190.
2156 2007-12-14 Ray Strode <rstrode@redhat.com>
2158 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2159 instead of g_signal_connect_after (..., "realize", ...) as an
2160 alternative to gtk_widget_realize () (bug 503537).
2162 2007-12-14 Michael Natterer <mitch@imendio.com>
2164 * gdk/gdkinternals.h
2165 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2168 * gdk/gdkapplaunchcontext.c
2169 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2170 header already includes everything now.
2172 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2174 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2175 next stable release shall be 2.16, not 2.14 - even if disagree.
2177 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2179 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2181 Change GtkToolItem to retrieve its properties from GtkToolShell
2182 interface, instead of relying on being child of a GtkToolbar.
2185 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2186 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2187 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2188 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2189 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2190 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2191 Take section docs from template file and update them for GtkToolShell.
2192 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2193 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2195 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2197 Extract loading of GtkPageSetup and GtkPrintSettings from their
2198 *_new_*() functions and move that code into separate
2199 *_load_*() functions (#475565).
2201 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2202 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2203 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2204 Change the matching *_new_*() functions to use those functions.
2206 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2209 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2211 2007-12-14 Kristian Rietveld <kris@imendio.com>
2213 * gtk/tests/liststore.c:
2214 * gtk/tests/treestore.c: added tests for insertion functions.
2216 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2218 * Add RandR 1.2 support
2220 - New monitors_changed signal - New API to get width/height of
2221 monitors, and the name of the plug
2223 2007-12-13 Kristian Rietveld <kris@imendio.com>
2225 * gtk/tests/liststore.c:
2226 * gtk/tests/treestore.c: test the move and swap functions on a
2227 store with only one node.
2229 2007-12-13 Kristian Rietveld <kris@imendio.com>
2231 * gtk/gtktestutils.c (gtk_test_init): add a call to
2234 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2237 2007-12-13 Kristian Rietveld <kris@imendio.com>
2239 * gtk/tests/liststore.c:
2240 * gtk/tests/treestore.c: start composing tests for the list and tree
2243 * gtk/tests/treeview-scrolling.c: added automated tests for
2244 GtkTreeView's scrolling "subsystem".
2246 * gtk/tests/Makefile.am: updated; added new test programs.
2248 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2250 Make the code compile again after the GdkAppLaunchContext changes.
2252 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2253 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2255 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2257 * gdk/gdkapplaunchcontext.c: Add docs
2259 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2261 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2262 in gdk, providing startup notification. (#503203)
2264 * gdk/x11/gdkapplaunchcontext-x11.c:
2265 * gdk/win32/gdkapplaunchcontext-win32.c:
2266 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2267 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2268 parts. All but X11 are just empty stubs for now.
2271 * gdk/gdkinternals.h:
2273 * gdk/x11/Makefile.am:
2274 * gdk/win32/Makefile.am:
2275 * gdk/quartz/Makefile.am:
2276 * gdk/directfb/Makefile.am: Necessary glue.
2278 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2280 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2282 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2284 * gdk/directfb/gdktestutils-directfb.c:
2285 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2286 which adds testing functions to the DirectFB backend.
2288 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2290 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2291 Ciccani which fixes the mixing of gdk and cairo rendering.
2293 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2295 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2296 on "drag-motion" handlers. Clearify documentation for
2299 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2301 * buildertest.c: made unnecessarily exported symbols static.
2302 switched g_return_if_fail() statements in tests to assertions.
2303 special cased currently failing Widget/accesibility test to
2304 run only for g_test_thorough(), so it doesn't break make check.
2305 some coding style fixes.
2307 * Makefile.am: added buildertest to TEST_PROGS.
2309 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2311 * docs/tutorial/gtk-tut.sgml:
2312 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2314 2007-12-10 Richard Hult <richard@imendio.com>
2316 * gdk/quartz/Makefile.am:
2317 * gdk/quartz/gdkquartz.h:
2318 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2319 header (bug #405915). Also add a getter for the toplevel nswindow.
2321 2007-12-10 Richard Hult <richard@imendio.com>
2323 * gdk/quartz/gdkdrawable-quartz.c:
2324 (gdk_quartz_drawable_get_context),
2325 (gdk_quartz_drawable_release_context):
2326 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2327 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2328 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2329 used for each drawing context and in prepare, dispatch and poll
2330 with one that exists across each main loop iteration. Fixes leaks
2331 on leopard and protects against future leaks introduce when the
2332 underlying system changes again (bug #492977).
2334 2007-12-10 Richard Hult <richard@imendio.com>
2336 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2337 Fix the check for no changes to position and size.
2339 2007-12-10 Richard Hult <richard@imendio.com>
2341 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2342 sized areas at (0, 0), patch from Paul Davis.
2344 2007-12-10 Richard Hult <richard@imendio.com>
2346 * gdk/quartz/gdkprivate-quartz.h:
2347 * gdk/quartz/gdkeventloop-quartz.c:
2348 (_gdk_quartz_event_loop_get_pending),
2349 (_gdk_quartz_event_loop_check_pending),
2350 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2351 (gdk_event_check), (gdk_event_dispatch):
2352 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2353 (_gdk_events_queue): Fix a bug where we could end up trying to
2354 handle the same event more than once. Based on patch from Paul
2357 2007-12-10 Tor Lillqvist <tml@novell.com>
2359 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2362 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2364 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2365 to avoid further fallout from the fix for bug 388321.
2367 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2369 * gdk/directfb/gdkgc-directfb.c:
2370 * gdk/directfb/gdkdrawable-directfb.c:
2371 * gdk/directfb/gdkdirectfb.h:
2372 * gdk/directfb/gdkwindow-directfb.c:
2373 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2374 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2375 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2376 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2377 which are expected to improve the performance of the DirectFB backend.
2378 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2380 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2382 * gtk/gtkcontainer.c: Correct the documentation of child
2383 property getter arguments. (#501992, David Brigada)
2385 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2387 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2388 leak pixbufs. (#502250, Yevgen Muntyan)
2390 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2392 * gtk/gtkprintunixdialog.c:
2393 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2394 Print and Page Setup dialogs (#502202).
2396 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2398 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2399 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2400 of XVFB_START, since it's the GTESTER invokation that needs this.
2402 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2404 * gdk-pixbuf/gdk-pixbuf.symbols:
2406 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2407 positives in abicheck.sh
2409 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2411 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2412 GDK events generations in the DirectFB backend.
2414 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2416 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2417 set of likely unused display ids, because MacOS has no seq(1) command.
2419 2007-12-06 Richard Hult <richard@imendio.com>
2421 * gdk/quartz/gdkevents-quartz.c:
2422 (synthesize_crossing_events_for_ns_event): Fix warning when
2423 switching spaces in leopard.
2425 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2427 * tests/floatingtest.c: ported to new testing framework.
2429 * tests/Makefile.am: run floatingtest as testing framework test.
2431 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2433 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2434 timeouts and converting main loop sleeps to pending/iterate loops with
2435 very low priority async handlers. eliminate output for non-verbose
2436 tests. assert successfull subtests in all test functions. use testing
2437 framework in main().
2439 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2440 executed inside Xvfb upon make check.
2442 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2444 * tests/objecttests.c: use string comparisons for string property
2445 values and get rid of referencing symbols in array initialization.
2447 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2449 * gtk+/Makefile.decl: run tests in current dir after setting up the
2450 logging directory, so their results get properly merged into the
2453 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2454 tests to loop over registered Gdk/Gtk+ types.
2456 * gtk+/tests/objecttests.c: new test program, implements automated
2457 property tests. several properties are blacklisted because they
2458 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2459 can be used to test blacklisted properties and see which proprty failed.
2461 2007-12-04 Richard Hult <richard@imendio.com>
2463 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2464 Fully initialize the root window, fixes bug #501583.
2466 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2468 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2471 2007-12-03 Richard Hult <richard@imendio.com>
2473 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2474 Don't crash when dragging from a source that doesn't support uri
2475 lists (bug #499868, Paul Davis).
2477 2007-12-03 Richard Hult <richard@imendio.com>
2479 * gdk/quartz/gdkwindow-quartz.c:
2480 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2481 parent relative bg pixmap is set, and no parent has a bg
2482 pixmap. Fixes bug #500804.
2484 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2486 Two optimizations for icon cache lookups.
2488 * gtk/gtkiconcache.[hc]:
2489 * gtk/gtkicontheme.c: Remember the directory index for
2490 subdirectories, instead of running over the directory list
2493 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2494 chain and try it first; this helps with the the usage patterns
2495 in gtkicontheme.c, where the same icon is queried for a lot
2498 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2500 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2501 functions from header files. this should be portable across linux and
2502 Mac OS, unlike the previpous sed expression.
2504 2007-12-1 Cody Russell <bratsche@gnome.org>
2506 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2507 On Windows, queue a redraw of child2 whenever we set
2508 the pane handle position. This is unfortunately kind
2509 of hacky, but solves the visual artifacts that were
2510 occuring on at least certain types of child widgets
2511 (e.g., text views and tree views) that are inside
2512 horizontal or vertical panes. (#144269)
2514 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2516 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2518 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2520 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2523 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2525 * gtk/Makefile.am: Fix ordering of subdirs.
2527 2007-11-28 Tor Lillqvist <tml@novell.com>
2529 A proper build of GNU libintl is supposed to export the variable
2530 _nl_msg_cat_cntr. configure looks for that variable in order to
2531 recognize GNU gettext. If it sees that it is indeed GNU gettext
2532 that is used, it decides to install message catalogs in
2533 share/locale, otherwise in lib/locale. Until now on Windows I have
2534 built GTK+ against a build of GNU gettext that did not export
2535 _nl_msg_cat_cntr. But this will change, so we can't assume message
2536 catalogs are always in lib/locale.
2538 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2539 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2540 before the inclusion of gtkprivate.h so that it sees the original
2543 * gtk-zip.sh.in: Check whether the message catalogs are in
2544 share/locale or lib/locale.
2546 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2547 that the code in _gtk_get_localedir() will find the slashes.
2549 2007-11-28 Tor Lillqvist <tml@novell.com>
2551 * gtk/Makefile.am: Improve portability. The -o option is present
2552 only in newish GNU egreps. Use one more sed in the pipeline
2555 2007-11-28 Tor Lillqvist <tml@novell.com>
2557 Fix #375893, patch by Ben Hague:
2559 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2560 around GetLogicalDrives() that takes also the viewable drive
2561 restrictions in the Registry (which are usually the result of an
2562 Active Directory Group Policy) into account.
2564 (check_volumes, gtk_file_system_win32_list_volumes) Call
2565 get_viewable_logical_drives() instead of GetLogicalDrives().
2567 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2569 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2570 variables to silence valgrind. (#495124, Morten Welinder)
2572 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2574 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2575 that the construct_child function is responsible for returning a
2577 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2578 objects from constructors
2579 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2580 g_object_ref() to this construction function (it's the only
2585 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2587 * gtkbuilder.c: remove concept of root objects and just refcount
2588 all objects in the builder. Fixes #496651.
2590 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2592 * tests/buildertest.c (test_window): fix invalid free
2594 2007-11-26 Josselin Mouette <joss@malsain.org>
2596 reviewed by: Federico Mena Quintero
2598 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2599 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2600 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2601 Make the shortcuts activate with a single click. (#148828)
2602 Fix a few things affected by the change:
2603 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2604 where no shortcut is selected.
2605 - Don't activate a shortcut in the response callback.
2606 - Filter out duplicate entries in volumes and bookmarks to
2607 avoid the selection to change when reordering them with DnD.
2609 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2612 * gtk/gtknotebook.c:
2613 * gtk/gtkplugprivate.h:
2615 * gtk/gtksocketprivate.h:
2616 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2618 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2620 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2621 (#495574, Richard Hult)
2623 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2625 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2626 String change ! (#376361, Sven Neumann)
2628 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2630 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2632 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2635 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2637 * gtk/gtkassistant.c: Improve alternative button
2638 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2640 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2642 * gtk/gtkcalendar.c: Fix a theming problem with colors
2643 in GtkCalendar. (#499703, Michael Hofmann)
2645 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2647 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2649 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2651 Use templates for glib-mkenums calls instead of
2652 complicated commandlines in Makefiles. (#429910)
2654 * gdk-pixbuf/Makefile.am:
2657 * perf/Makefile.am: Use templates for glib-mkenums
2659 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2660 * gdk/gdkenumtypes.[ch].template:
2661 * gtk/gtktypebuiltings.[ch].template:
2662 * perf/typebuiltins.[ch].template: The templates
2664 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2666 * gtk/gtkfilechooserbutton.c:
2667 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2668 some compilers choke on that. (#467722)
2670 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2672 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2673 about hook setup. (#425004, Emmanuele Bassi)
2675 2007-11-26 Tor Lillqvist <tml@novell.com>
2677 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2678 monitor the window currently is on, not always the primary
2679 monitor. (#463865, Tim Evans)
2681 2007-11-26 Tor Lillqvist <tml@novell.com>
2683 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2685 * gdk/win32/Makefile.am: Add it.
2687 2007-11-26 Tor Lillqvist <tml@novell.com>
2689 * configure.in: Don't add jasper to all_loaders if no libjasper.
2691 2007-11-25 Bastien Nocera <hadess@hadess.net>
2693 * configure.in: Add detection for libjasper, used by the
2694 gdk-pixbuf JPEG2000 loader
2696 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2698 * configure.in: Require gtk-doc 1.8
2700 * */*.c: Use gtk-doc abbreviations for examples in docs.
2702 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2704 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2707 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2709 * gtk/gtkdialog.c: Move signal and property documentation inline,
2710 fix a problem with the ::response signal docs. (#499133, Josselin
2713 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2715 * Makefile.decl: initialize automake variables EXTRA_DIST and
2716 TEST_PROGS for unconditional appending via += in other makefiles.
2717 define recursive test targets: test, test-report, perf-report,
2718 full-report, as described here:
2719 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2720 the test targets will execute Gtk+ test programs within an Xvfb session.
2722 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2724 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2725 g_test_run() to run the tests to integrate with the testing framework.
2727 * gtk/tests/Makefile.am: removed exemplary testing rules.
2729 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2730 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2731 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2732 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2733 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2734 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2735 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2736 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2737 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2738 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2739 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2740 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2741 * modules/engines/ms-windows/Theme/Makefile.am:
2742 * modules/engines/ms-windows/Makefile.am:
2743 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2744 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2745 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2746 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2747 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2748 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2749 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2751 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2753 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2754 (#485662, patch by Herbert Valerio Riedel)
2756 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2758 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2760 2007-11-21 Richard Hult <richard@imendio.com>
2762 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2763 stubs for the testing functions to fix the build.
2765 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2767 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2768 (#467711, The Written Word)
2770 2007-11-21 Ross Burton <ross@openedhand.com>
2772 * gdk/x11/gdksettings.c:
2773 Add xsetting for gtk-scrolled-window-placement (#458103).
2775 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2777 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2778 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2779 (#469239, Michael Natterer)
2781 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2783 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2784 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2785 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2786 (#436536, Tommi Komulainen)
2788 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2790 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2791 property. (#489782, Jan Janech)
2793 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2795 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2796 frames. (#107398, Owen Taylor, Miguel Gomez)
2798 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2800 Moved Gdk test functions from Gtk+ to Gdk test utils.
2802 * gdk/Makefile.am: added gdktestutils.h to public includes.
2804 * gdk/gdk.h: added gdktestutils.h to public includes.
2806 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2807 gdk_test_render_sync.
2809 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2810 gdk_test_simulate_key, gdk_test_render_sync.
2812 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2814 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2815 gdk_test_simulate_key, gdk_test_render_sync.
2817 * gtk/gtktestutils.c:
2818 * gtk/gtktestutils.h:
2819 * gtk/gtk.symbols: removed gtk_test_simulate_button
2820 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2822 * gtk/tests/testing.c: call gdk_test_render_sync.
2824 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2826 Added unit tests for Gtk+ testing utilities.
2828 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2829 utility functions. some g_test_* related portions are disabled and need
2830 to be enabled once Gtk+ depends on a new glib with the GLib testing
2831 framework integrated.
2833 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2834 added exemplary test rules to run tests inside Xvfb. this needs to depend
2835 on gtester for full fledged testing.
2837 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2838 collecting _get_type functions to catch e.g. gtk_text_get_type().
2840 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2842 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2844 Added Gtk+ testing utilities.
2846 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2847 for the most part, the functions herein involve navigating and interacting
2848 with dialog elements programatically, to automate user interaction tests of
2849 dialogs and widgets.
2851 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2853 * gtk/gtk.symbols: added gtk_test_* symbols.
2855 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2856 generate gtktypefuncs.c which contains a list of all _get_type functions in
2858 2007-11-20 Bastien Nocera <hadess@hadess.net>
2860 * configure.in: add support for conditional icns gdk-pixbuf loader
2863 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2865 * configure.in: updated version number to 2.15.0 for development.
2867 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2869 === Branch for 2.12 ===