1 2008-03-17 Christian Kellner <gicmo@gnome.org>
3 Implement GtkMountOperation, a subclass of GMountOperation
4 to be used with gio wherever there is the need to ask the
5 user for credentials or questions while mounting a volume.
8 * gtk/gtkmountoperation.c:
9 * gtk/gtkmountoperation.h:
10 Implement GtkMountOperation.
12 * gtk/gtk.h: Add gtkmountoperation.h
13 * gtk/Makefile.am: Add gtkmountoperation.[hc]
14 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
15 * tests/testmountoperation.c: Test program for it.
16 * tests/Makefile.am: Add testmountoperation.
18 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
20 * gtk/gtkcontainer.c: Properly document
21 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
23 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
25 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
26 style names for the ComboBox thickness style
28 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
30 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
31 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
32 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
33 intelligent separation for the xp theming engine and the classic
34 theme while drawing the GtkComboBox button. combobox_draw_arrow
35 is not used anymore, commented. The style has been updated to fix
36 border/thickness glitches in the combobox according to the fixes
37 commited regarding bug #521442. (bug #461805)
39 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
41 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
42 now aware of both the combobox and frame (if has-frame is set)
43 thickness and border. (bug #521442)
45 2008-03-15 Andre Klapper <a9016009@gmx.de>
47 * configure.in: Added "si" to ALL_LINGUAS.
49 2008-03-15 Matthias Clasen <mclasen@redhat.com>
51 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
52 Set window type hint on the search popup. (#522279, Danny Baumann)
54 2008-03-15 Matthias Clasen <mclasen@redhat.com>
56 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
57 appropriate. (#521934, Huang Peng)
59 2008-03-14 Michael Natterer <mitch@imendio.com>
62 * gtk/gtkbuilderprivate.h
63 * gtk/gtkfilechoosersettings.c
64 * gtk/gtksearchenginesimple.c
65 * gtk/tests/liststore.c
66 * gtk/tests/treestore.c: remove single-file includes of GLib
67 headers or replace them by <glib.h> where needed.
69 2008-03-14 Michael Natterer <mitch@imendio.com>
71 * gtk/gtkadjustment.c: coding style cleanup.
73 (gtk_adjustment_set_property): no need to call g_object_notify()
74 on the set properties.
76 Implement GObject::dispatch_properties_changed() and make sure we
77 emit "changed" when anything but the "value" property changes.
79 2008-03-14 Tor Lillqvist <tml@novell.com>
81 * gdk/win32/gdkevents-win32.c: Drop the support for the
82 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
83 Win95. Thanks to mitch for noticing this obsolete code.
85 2008-03-14 Cody Russell <bratsche@gnome.org>
87 * examples/scribble-xinput/scribble-xinput.c: Changed
88 'void int main()' to 'int main()'. (#522211, Liqing Huang)
90 2008-03-14 Richard Hult <richard@imendio.com>
92 * gdk/quartz/gdkwindow-quartz.c:
93 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
94 only flush the toplevel once per update.
96 2008-03-13 Federico Mena Quintero <federico@novell.com>
98 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
99 Set the mouse cursor of the feedback window to invisible, so that
100 we respect GtkEntry's invisible cursor while typing.
102 2008-03-13 Federico Mena Quintero <federico@novell.com>
104 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
105 the feedback window at entry_height/2 pixels to the right of the
106 cursor, for a cheap "M-width / 2" spacing.
108 2008-03-13 Sven Neumann <sven@gimp.org>
110 * gtk/gtkfilechooserdefault.c
111 * gtk/gtkprintunixdialog.c: set alternative button order for
112 overwrite confirmation dialogs (bug #522191).
114 2008-03-13 Sven Neumann <sven@gimp.org>
116 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
117 (overwrite_confirmation_dialog): added some line-breaks for
120 2008-03-12 Federico Mena Quintero <federico@novell.com>
122 Rework the way completion works in GtkFileChooserEntry. Fixes
123 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
124 Tab completion should work even if the cursor is not at the end of
127 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
130 We distinguish between two cases:
132 - autocompletion - happens only in the Open modes by
133 inserting and selecting the common prefix as you type.
135 - explicit completion - happens when you hit Tab.
137 When some type of completion needs to happen, the entry first
138 parses its input and sees if it needs to initiate a folder load.
139 Completion will not happen until the folder finishes loading.
141 If the folder is already completely loaded, then completion is
142 performed immediately. Otherwise, the entry queues a pending
143 completion and starts loading the new folder (or waits until the
144 current folder is completely loaded).
146 Tab completion is allowed to happen even if the cursor is not at
147 the end of the entry.
149 There is a new feedback mechanism for explicit completion, so that
150 you will get an Emacs-like tip whenever there are ambiguities in
151 completion, no matches, etc. (This needs to be polished so that
152 we support RTL entries and all the fancy Pango layout in GtkEntry).
154 The only remaining thing to fix is the popup suggestion window.
155 Unfortunately, GtkEntryCompletion does not let us do what we want,
156 and will need further changes.
158 2008-03-12 Tor Lillqvist <tml@novell.com>
160 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
162 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
163 for the TaskbarCreated message in the window procedure for the
164 dummy "tray observer" window we create. When we get a
165 TaskbarCreated message, iterate over the status icons and re-add
166 them to the task bar, and update them by calling
167 gtk_status_icon_update_image().
169 Move some ifdefs around to avoid unused functions.
171 2008-03-12 Tor Lillqvist <tml@novell.com>
173 * config.h.win32.in: Update to match what configure produces.
175 2008-03-12 Jens Granseuer <jensgr@gmx.net>
177 * modules/printbackends/cups/gtkprintbackendcups.c:
178 (cups_printer_prepare_for_print): Don't define variables in the
179 middle of a block. (#522067)
181 2008-03-12 Matthias Clasen <mclasen@redhat.com>
183 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
184 dialog for print-to-file. (#474302, Marek Kašík)
186 2008-03-12 Matthias Clasen <mclasen@redhat.com>
188 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
189 (#469210, Wouter Bolsterlee)
191 2008-03-12 Matthias Clasen <mclasen@redhat.com>
193 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
194 paper_size here. (#488820, Morten Welinder)
196 2008-03-12 Michael Natterer <mitch@imendio.com>
198 * acconfig.h: remove this deprecated file.
200 * configure.in: added comments to all instances of AC_DEFINE() so
201 config.h can be completely generated from configure.in.
203 2008-03-12 Michael Natterer <mitch@imendio.com>
205 * modules/printbackends/cups/gtkprintbackendcups.c: include
206 <glib/gstdio.h> for g_fopen().
208 2008-03-11 Matthias Clasen <mclasen@redhat.com>
210 * modules/printbackends/cups/gtkprintbackendcups.c: Use
211 g_ascii_formatd when formatting custom paper sizes, since
212 cups doesn't handle , as decimal separator. (#521548)
214 2008-03-11 Tor Lillqvist <tml@novell.com>
216 Bug 469868 - Filenames with colon ":" are not saved correctly
218 * gtk/gtkfilechooserentry.c (insert_text_callback)
219 (delete_text_callback) [Win32]: New functions to make sure that
220 colons used otherwise than as a separator after a drive letter, or
221 characters that are always illegal in file names, are rejected on
222 input. This means that the GTK+ file chooser can't be used to
223 input full names of alternate data streams, but oh well. There are
224 still more checks that could be done on the file names, see the
225 bug report. But this will do for now.
226 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
228 2008-03-11 Jordi Mallach <jordi@sindominio.net>
230 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
232 2008-03-11 Michael Natterer <mitch@imendio.com>
234 * gdk/linux-fb/*: removed linux-fb backend files.
238 * docs/README.linux-fb
239 * gtk/Makefile.am: remove remaining traces of linux-fb.
241 * gtk/gtkwindow-decorate.c: same here. There is some code that
242 calls into linux-fb to set window move/resize callbacks. I put it
243 in #if 0 as a reminder because we did use decorated windows with
244 the DirectFB backend and it did work, so I don't really know why
245 this code is needed or how it could work with DirectFB back then.
246 The file does actually compile now if DECORATE_WINDOWS is defined,
247 but I didn't test with DirectFB to check if it does anything.
249 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
251 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
252 Take thickness into account in the size allocation of the child widgets in
256 2008-03-11 Richard Hult <richard@imendio.com>
258 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
260 2008-03-10 Tor Lillqvist <tml@novell.com>
262 * tests/teststatusicon.c (do_exit, popup_menu): Add the
263 possibility to test what happens if the process just calls exit()
264 without any orderly cleanup of GTK+.
266 2008-03-10 Tor Lillqvist <tml@novell.com>
268 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
270 2008-03-10 Tor Lillqvist <tml@novell.com>
272 Bug 520286 - Non-deletable window has no minimize / maximize buttons
274 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
275 New debugging output function that decodes a set of WS_* bits.
277 * gdk/win32/gdkprivate-win32.h: Declare it.
279 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
280 New function that enables or disables one menu entry in the system
281 menu of a top-level window. (The corresponding decoration will
282 then also be enabled or disabled (grayed).)
284 (update_style_bits): Do as the comment says and don't try to
285 update the window style based on the GdkWMFunctions set for the
288 (update_system_menu): New function that enables or disables the
289 system menu entries based on a window's stored set of
292 (gdk_window_set_functions): Call update_system_menu() instead of
295 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
297 * README.in: Reword the 2.14 release notes entry about the
298 deprecation of the gtkitemfactory.h header, and fix typos
301 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
303 * modules/engines/ms-windows/msw_style.c (draw_shadow):
304 Do not draw frame if parent if combobox.
306 Uses scrollbar width system metrics for combobox button.
307 Fixes #461805 for XP theme engine.
309 2008-03-07 Johan Dahlin <johan@gnome.org>
312 * gtk/gtkbuilderparser.c:
313 * gtk/gtkbuilderprivate.h:
314 * gtk/gtkiconfactory.c:
315 * tests/buildertest.c:
316 - Treat enums like enums and not values
317 - Avoid invalid free, in case of more than two sources
318 - Add better error messages
319 - Add much improved tests
320 (#520979, Christian Persch)
322 2008-03-07 Carlos Garnacho <carlos@imendio.com>
324 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
327 2008-03-06 Federico Mena Quintero <federico@novell.com>
329 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
330 GtkFileChooserDialog should set a default response button if the
331 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
333 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
334 function, refactor from where there was duplicated code.
335 (gtk_file_chooser_dialog_map): Look at the buttons in our
336 action_area. If the response ID for a button is one of the stock
337 ones, make it the default response button.
339 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
341 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
343 * gtk/gtkbuilderprivate.h:
344 * gtk/gtkiconfactory.c:
345 * tests/buildertest.c:
346 Implement GtkBuildable on GtkIconFactory, to make
347 it possible to register custom stock icons.
350 2008-03-06 Johan Dahlin <johan@gnome.org>
354 * gtk/gtkstyle.c: npoints->n_points.
355 * gtk/gtktestutils.h: widget->spinner
356 * gtk/gtktestutils.c: argc->argcp, argv->argvp
358 2008-03-06 William Lachance <wrlach@gmail.com>
360 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
361 string localizable (as it should be).
363 2008-03-06 William Lachance <wrlach@gmail.com>
365 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
366 the time for today's date. It's redudant. (see bug #410517).
368 2008-03-06 Xan Lopez <xan@gnome.org>
370 * gtk/gtkfixed.c: fix typo in documentation.
372 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
374 * gtk/gtkitemfactory.h:
375 * gtk/gtktypeutils.h:
376 Move GtkTranslateFunc to gtktypeutils.h so we can completely
377 deprecate gtkitemfactory.h.
379 * gtk/gtkactiongroup.h:
381 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
384 Add a note describing this slight incompatible change
386 2008-03-06 Johan Dahlin <johan@gnome.org>
388 * gtk/gtkpreview.h: Avoid double-deprecation.
390 2008-03-06 Michael Natterer <mitch@imendio.com>
393 * gtk/Makefile.am: move the remaining deprecated widgets to the
394 separate sections and replaced spaces by tabs in Makefile.am
396 2008-03-05 Johan Dahlin <johan@gnome.org>
398 * configure.in: Add --disable-cups option.
399 (#513826, Alberto Ruiz)
403 Separate broken and deprecated sources and headers into different sections
405 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
407 2008-03-05 Kristian Rietveld <kris@imendio.com>
409 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
410 short-circuit in case an empty root level would be build (and thus
411 directly destroyed) if no virtual root has been set.
413 2008-03-04 Matthias Clasen <mclasen@redhat.com>
415 * modules/printbackends/cups/gtkprintbackendcups.c:
416 Honor cups user default options from ~/.cups/lpoptions
417 (#469210, Stijn Hoop)
419 2008-03-04 Michael Natterer <mitch@imendio.com>
422 * gtk/gtkcolorbutton.c
423 * gtk/gtkentrycompletion.c
424 * gtk/gtkfontbutton.c
428 * gtk/gtkpreview.c: don't include "gtksignal.h".
430 * gtk/gtkfilefilter.c
431 * gtk/gtkrecentchoosermenu.c
432 * gtk/gtkrecentfilter.c
433 * gtk/gtktext.c: don't include "gtkobject.h".
435 2008-03-04 Simos Xenitellis <simos@gnome.org>
437 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
438 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
440 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
443 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
444 file, contains compose sequences that used to exist in
445 gtk/gtkimcontextsimple.c
447 * gtk/compose-parse.py: Script to generate compose
448 sequences from upstream (Xorg).
450 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
451 check_algorithmically): New functions. First two search in
452 gtk_compose_seqs_compact[] for matching compose sequence, third
453 tries NFC normalisation on incoming compose sequence.
454 (gtk_im_context_simple_filter_keypress):
455 Adds searching with check_compact_table(), check_algorithmically().
457 2008-03-03 Carlos Garnacho <carlos@imendio.com>
459 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
460 scrollwheel work in GtkPathBar.
462 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
464 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
465 an input-only window, event_window, which we'll use to capture
467 (gtk_path_bar_map): Show the event_window under the rest of the
468 windows, so it will be a catch-all for unhandled events.
470 2008-03-03 Sven Neumann <sven@gimp.org>
472 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
473 typo in the documentation of the GtkFileChooserButtons::file-set
474 signal (see bug #353196).
476 2008-03-03 Tor Lillqvist <tml@novell.com>
478 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
481 2008-03-02 Johan Dahlin <johan@gnome.org>
483 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
484 Remove left-over focus_pad variable.
485 (#490892, Claudio Saavedra)
487 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
488 (#518166, Matt Kraai)
490 2008-03-02 Johan Dahlin <johan@gnome.org>
492 * docs/tutorial/gtk-tut.sgml: Add a missing space
493 (#517954, Matt Kraai)
495 2008-03-03 Tor Lillqvist <tml@novell.com>
497 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
498 the widget is a GtkButton before casting.
500 2008-03-02 Johan Dahlin <johan@gnome.org>
502 * configure.in: Compare using = instead of ==, which is portable.
503 (#490787, Thomas Klausner)
505 2008-03-02 Johan Dahlin <johan@gnome.org>
507 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
509 (#496032, Nelson Benitez)
511 2008-02-29 Johan Dahlin <johan@gnome.org>
513 * demos/gtk-demo/demo.ui:
514 * gtk/gtkbuilderparser.c:
515 * gtk/gtkbuilderprivate.h:
516 * gtk/gtkliststore.c:
517 * tests/buildertest.c:
518 Add translatable/context and comment attributes on
519 <col> tags under a GtkListStore. Refactor parts of the
520 translation api and make it available inside gtk+ itself.
521 Update tests and example.
522 Fixes a part of #518642
524 2008-02-29 Johan Dahlin <johan@gnome.org>
527 Add missing g_return_val_if_fail checks for public API.
529 * gtk/gtkbuilderparser.c:
530 * gtk/gtkbuilderprivate.h:
531 Do not use g_error for a few more errors, instead set
532 the GError sent in through add_from_file/add_from_string.
533 * tests/buildertest.c:
534 Add a couple of new parsing tests.
535 (#519199, Pavel Syomin)
537 2008-02-29 Federico Mena Quintero <federico@novell.com>
539 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
540 refreshing an existing folder (i.e. when we are about to reload
541 its file list), turn off the folder's is_finished_loading flag.
542 Otherwise callers which do ::is_finished_loading() followed by
543 ::list_children() will get nothing.
545 2008-02-29 Cody Russell <bratsche@gnome.org>
547 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
548 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
550 2008-02-28 Matthias Clasen <mclasen@redhat.com>
552 * gtk/gtkcalendar.h: Remove trailing comma from enum to
553 make the compiler happy. (#517295, Sylvain Pasche)
555 2008-02-27 Michael Natterer <mitch@imendio.com>
565 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
566 private functions and virtual function implementations.
568 2008-02-27 Richard Hult <richard@imendio.com>
570 * gdk/quartz/GdkQuartzView.c:
571 * gdk/quartz/GdkQuartzView.h:
572 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
573 Fix performance regression for borderless transparent windows
576 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
578 * tests/testgtk.c: Revert back to r19454.
580 2008-02-27 Sven Neumann <sven@gimp.org>
582 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
583 Quartz backend, use a native Mac OS X application for the print
584 preview (bug #518624).
586 2008-02-26 Michael Natterer <mitch@imendio.com>
588 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
589 the members of info->tag_stack since they are a) gobjects and b)
590 not even owned by us, ugh... Fixes crash when deserializing fails.
592 2008-02-26 Sven Neumann <sven@gimp.org>
594 * docs/tools/shooter.c (find_toplevel_window)
595 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
596 argument passed to XQueryTree().
598 2008-02-25 Matthias Clasen <mclasen@redhat.com>
600 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
601 don't use beagle_query_add_hit_type.
603 2008-02-25 Richard Hult <richard@imendio.com>
605 * gdk/quartz/gdkevents-quartz.c
606 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
608 2008-02-24 Richard Hult <richard@imendio.com>
610 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
611 shown without gdk's control when clicking the dock icon.
613 2008-02-24 Richard Hult <richard@imendio.com>
615 * gdk/quartz/gdkprivate-quartz.h:
616 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
617 Use the subtype field for the custom event that is used to wake up
618 the mainloop so we can have other custom event types.
620 * gdk/quartz/gdkevents-quartz.c:
621 (_gdk_quartz_events_trigger_crossing_events):
622 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
623 crossing events after showing a window if necessary, to work
624 around problems with the tracking rect API.
626 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
628 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
629 wrong results on win32 because it doesn't set the printing units,
630 which affect the transformation of the cairo context
631 (#347125, Erik van Pienbroek)
633 2008-02-22 Tor Lillqvist <tml@novell.com>
635 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
637 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
639 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
640 acceptable for a module to only support the save_to_callback()
641 method if it marks itself as WRITABLE
643 2008-02-16 Matthias Clasen <mclasen@redhat.com>
645 * configure.in: Bump version
647 2008-02-16 Matthias Clasen <mclasen@redhat.com>
649 * === Released 2.13.0 ===
651 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
653 2008-02-21 Tor Lillqvist <tml@novell.com>
655 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
656 pass the format string to strftime in the C library's locale's
657 charset, not the system's. Correspondingly, the return value from
658 strftime() is in the C library's locale's charset. (#509885)
660 2008-02-20 Richard Hult <richard@imendio.com>
662 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
663 the right window level and shadow after recreating the window.
665 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
666 necessary after drawing (bug #517338).
668 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
670 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
671 call to g_type_class_unref in case of error. (#517563)
673 2008-02-18 Sven Neumann <sven@gimp.org>
675 * gtk/Makefile.am (STOCK_ICONS)
676 * gtk/stock-icons/16/gtk-page-setup.png
677 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
678 taken from GNOME icon theme.
680 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
682 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
684 * configure.in: Added Kannada (kn) to ALL_LINGUAS
686 2008-02-17 Johan Dahlin <johan@gnome.org>
688 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
689 When converting a stock item based on the label, remove the label property.
691 2008-02-17 Richard Hult <richard@imendio.com>
693 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
694 position after showing the window since the window manager might
695 not place it where we requested in the first places.
697 2008-02-17 Richard Hult <richard@imendio.com>
699 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
700 (_gdk_quartz_window_detach_from_parent),
701 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
702 the toplevel ordering list in all places where the order is
703 potentially changed. Fixes mouse focus issues for windows with
704 a transient parent set.
706 2008-02-17 Richard Hult <richard@imendio.com>
708 * gdk/quartz/gdkevents-quartz.c
709 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
710 window when event debugging is enabled.
712 2008-02-16 Richard Hult <richard@imendio.com>
714 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
715 to the scroll event (bug #516757, Paul Davis).
717 2008-02-16 Matthias Clasen <mclasen@redhat.com>
721 2008-02-16 Matthias Clasen <mclasen@redhat.com>
723 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
726 2008-02-15 Matthias Clasen <mclasen@redhat.com>
728 * gdk/Makefile.am: Don't install private headers. (#463510)
730 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
731 the installed header gdkprivate.h.
733 2008-02-15 Matthias Clasen <mclasen@redhat.com>
735 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
736 a crash with hidden, reorderable tabs. (#513230,
737 Mike Massonnet, patch by Carlos Garnacho)
739 2008-02-15 Matthias Clasen <mclasen@redhat.com>
741 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
742 Warn on duplicate action group names. (#501746, Christian
745 2008-02-15 Matthias Clasen <mclasen@redhat.com>
748 * modules/other/gail/tests/Makefile.am:
749 * modules/other/gail/libgail-util/Makefile.am:
750 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
751 builds. (#516254, Yevgen Muntyan)
753 2008-02-15 Matthias Clasen <mclasen@redhat.com>
758 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
759 instead of hardcoded target tables. (#516092, Christian Persch)
761 2008-02-15 Matthias Clasen <mclasen@redhat.com>
763 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
764 add the same target atom twice. (#516087, Christian Persch)
766 2008-02-15 Matthias Clasen <mclasen@redhat.com>
768 * tests/testfilechooser.c: Add a --backend option.
769 (#516073, Christian Persch)
771 2008-02-16 Richard Hult <richard@imendio.com>
773 * gdk/quartz/gdkprivate-quartz.h:
774 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
777 2008-02-15 Matthias Clasen <mclasen@redhat.com>
779 * configure.in: Go back to 2.13.0 as version for now,
780 as there was no consensus to do the jump.
782 * many other places: Update Since: tags.
784 2008-02-15 Matthias Clasen <mclasen@redhat.com>
786 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
788 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
790 2008-02-15 Richard Hult <richard@imendio.com>
792 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
793 instead of bounds when resizing windows.
795 2008-02-15 Matthias Clasen <mclasen@redhat.com>
797 * gdk/x11/gdkkeys-x11.c:
798 * gdk/x11/gdkcolor-x11.c:
799 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
801 2008-02-15 Matthias Clasen <mclasen@redhat.com>
803 * gdk/x11/gdktestutils-x11.c:
804 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
806 2008-02-15 Tor Lillqvist <tml@novell.com>
808 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
809 leak Registry key handles. (#516578)
811 2008-02-14 Richard Hult <richard@imendio.com>
813 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
814 makeKeyWindow unfortunately doesn't work in all cases, we must use
815 makeKeyAndOrderFront.
817 2008-02-14 Richard Hult <richard@imendio.com>
819 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
820 (gdk_window_hide), (gdk_window_fullscreen),
821 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
822 the window is hidden.
824 2008-02-14 Richard Hult <richard@imendio.com>
826 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
827 resizing to be consistent and to avoid introducing an internal
828 transform in the view.
830 2008-02-14 Richard Hult <richard@imendio.com>
832 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
835 2008-02-14 Johan Dahlin <johan@gnome.org>
838 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
840 2008-02-13 Richard Hult <richard@imendio.com>
842 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
843 Remove unused variables.
844 (gtk_clipboard_set_contents),
845 (gtk_clipboard_get_owner), (clipboard_unset),
846 (gtk_clipboard_request_targets): Notify the previous clipboard
847 owner when the owner changes. Fixes bug #493406.
849 2008-02-13 Richard Hult <richard@imendio.com>
851 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
852 the return value (return number of colors that failed), and handle
854 (gdk_colormap_free_colors): Fix typo in comment.
856 2008-02-13 Kristian Rietveld <kris@imendio.com>
858 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
859 queue a redraw if the rubber banding has actually been active.
861 2008-02-12 Matthias Clasen <mclasne@redhat.com>
863 * gtk/gtkpapersize.c:
864 * gtk/gtkprintoperation.c:
865 * gtk/gtkvolumebutton.c:
866 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
867 out by Behdad Esfahbod.
869 2008-02-12 Federico Mena Quintero <federico@novell.com>
871 Merged from gtk-2-12:
873 Don't focus the file list when shortcuts get activated. This
874 removes a lot of ambiguity in when the file selection should
875 change, and makes the overall code flow simpler.
877 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
878 file/save dialog clears the filename entry when changing
881 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
882 focus should not go to the file list when a shortcut is activated.
884 * gtk/gtkfilechooserdefault.c
885 (shortcuts_activate_volume_mount_cb): Don't focus the file list
886 (shortcuts_activate_get_info_cb): Likewise.
888 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
889 the file list (this was the last place where we would focus the
890 file list explicitly). If you are in the location entry, for
891 example, you don't want Alt-Home to take you to the file list; you
892 just want the current folder to change. Thanks to Olle Bergkvist
893 <olle.bergkvist@yahoo.se> for pointing this out in
894 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
895 (focus_browse_tree_view_if_possible): Removed.
897 2008-02-12 Matthias Clasen <mclasen@redhat.com>
899 Skip exensions when selecting filenames in the save-as dialog.
900 (#362516, Carlos Garnacho)
902 * gtk/gtkfilechooserentry.h:
903 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
904 New function to skip the extension part when selecting a filename.
905 (_gtk_file_chooser_entry_set_base_folder): Use it here.
907 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
910 2008-02-12 Matthias Clasen <mclasen@redhat.com>
912 * gtk/gtkiconview.c: Fix state change reporting for
913 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
915 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
917 * gtk/gtkrecentchooser.c:
918 (gtk_recent_chooser_class_init): Set the default value of the
919 :show-not-found property to TRUE, as every implementation sets
922 * gtk/gtkrecentchooserdefault.c:
923 (_gtk_recent_chooser_default_init): Sync show_tips to the
924 default value of the :show-tips property.
926 2008-02-12 Matthias Clasen <mclasen@redhat.com>
928 * gtk/gtkclipboard-quartz.c:
930 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
933 2008-02-12 Kristian Rietveld <kris@imendio.com>
935 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
936 (gtk_tree_view_real_toggle_cursor_row): guard against people
937 deleting the row in question in the selection-changed callback.
938 (#514621, Andreas Koehler).
940 2008-02-12 Matthias Clasen <mclasen@redhat.com>
942 * gtk/*.c: Unify the handling of various "Enter" keysyms
943 all over the place. (#515047, Christian Persch)
945 2008-02-12 Matthias Clasen <mclasen@redhat.com>
947 * gtk/gtkfilesystemmodel.c:
949 * gtk/gtkwidget.c: Use g_value_set_static_string() where
950 appropriate. (#515042, Christian Persch)
952 2008-02-12 Matthias Clasen <mclasen@redhat.com>
954 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
956 2008-02-12 Matthias Clasen <mclasen@redhat.com>
958 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
960 2008-02-12 Matthias Clasen <mclasen@redhat.com>
962 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
963 (recent_model_sort_drag_data_get):
964 (search_model_sort_drag_data_get):
965 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
966 * gtk/gtkpathbar.c (button_drag_data_get_cb):
967 Use gtk_selection_data_set_uris() instead of doing it
968 by hand. (#514890, Christian Persch)
970 2008-02-12 Michael Natterer <mitch@imendio.com>
972 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
973 gtk_get_current_event_time().
975 2008-02-12 Michael Natterer <mitch@imendio.com>
977 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
978 gtk_window_get_key_hash() to get the hash instead of manually
979 fiddling with quarks and gtk_window_keys_changed(). Also add
980 g_return_if_fail() to this public function.
982 2008-02-11 Matthias Clasen <mclasen@redhat.com>
984 Support keynav in status icons. (#473786, Li Yuan)
986 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
988 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
990 2008-02-11 Kristian Rietveld <kris@imendio.com>
992 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
993 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
994 wrt. link deletion from list; contination of fix for #503569.
996 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
998 * gtk/gtkrecentchoosermenu.c:
999 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1000 on the placeholder menu item.
1002 * tests/testrecentchoosermenu.c:
1003 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1004 whether the placeholder menu item gets shown.
1006 2008-02-10 Cody Russell <bratsche@gnome.org>
1008 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1009 Check the return value of _gtk_file_chooser_get_file_system () for
1010 NULL before passing it to gtk_file_system_path_to_uri ().
1011 (#515667, Francesco Montorsi)
1013 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1015 * gtk/gtkbuilder.c: Improve the documentation for
1016 gtk_builder_connect_signals. (#514471)
1018 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1020 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1023 2008-02-08 Cody Russell <bratsche@gnome.org>
1025 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1026 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1028 2008-02-08 Richard Hult <richard@imendio.com>
1030 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1031 delta from the NSEvent for now, generating multiple scroll events
1032 results in a lot of events getting queued up and things get really
1035 2008-02-08 Sven Herzberg <sven@imendio.com>
1037 Adjust the code to match the documentation, examples, "common sense"
1038 and existing applications.
1040 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1041 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1044 2008-02-07 Cody Russell <bratsche@gnome.org>
1046 * gdk/win32/gdkevents-win32.c
1047 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1048 of a block that were causing compile problems on old
1049 compilers. (#515053, reported by Kazuki IWAMOTO)
1051 2008-02-07 Michael Natterer <mitch@imendio.com>
1058 * gtk/gtkmenushell.c
1060 * gtk/gtkoptionmenu.c
1064 * gtk/gtkradiomenuitem.c
1066 * gtk/gtkscrolledwindow.c
1067 * gtk/gtksocket.c: remove g_return_if_fail() from private
1068 functions and virtual function implementations.
1070 2008-02-07 Michael Natterer <mitch@imendio.com>
1073 * gtk/gtkassistant.c
1077 * gtk/gtkcellrenderercombo.c
1080 * gtk/gtkdrawingarea.c
1081 * gtk/gtkentrycompletion.c
1087 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1088 functions and virtual function implementations.
1090 2008-02-07 Christian Persch <chpe@gnome.org>
1092 * gdk/gdkpixbuf-render.c:
1093 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1094 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1095 otherwise there will be random pixel values in the semi-transparent
1096 area of the pixbuf within the mask. Bug #487865.
1098 2008-02-06 Cody Russell <bratsche@gnome.org>
1100 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1101 otherwise things get wonky when you click on a menu. This fixes
1102 a regression caused in #505928. Thanks to Tor for spotting this
1105 2008-02-06 Michael Natterer <mitch@imendio.com>
1107 * gtk/gtkcontainer.c
1114 * gtk/gtkmenushell.c
1116 * gtk/gtkseparatortoolitem.c
1118 * gtk/gtktextlayout.c
1119 * gtk/gtktoggletoolbutton.c
1120 * gtk/gtktoolbutton.c
1123 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1126 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1128 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1129 Allow to store half-open ranges.
1131 2008-02-05 Cody Russell <bratsche@gnome.org>
1133 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1134 down the stack until we get to a window that is mapped.
1135 Otherwise hiding a window will cause all windows in the app
1136 to be blocked. (#514643)
1138 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1140 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1141 directory, avoiding one source of invalid caches that has been
1142 spotted in the wild.
1144 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1146 * gtk/updateiconcache.c: Fix the previous commit to compile.
1148 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1150 * gtk/updateiconcache.c: Install a printerr handler that
1151 prepends the program name, since gtk-update-icon-cache output
1152 often appears in the middle of other output, e.g. rpm update logs.
1154 2008-02-05 Cody Russell <bratsche@gnome.org>
1156 * gdk/win32/gdkprivate-win32.h
1157 * gdk/win32/gdkevents-win32.c
1158 * gdk/win32/gdkwindow-win32.c
1159 * gdk/win32/gdkwindow-win32.h
1160 * gdk/win32/gdkwin32.h:
1161 Modal window rework. (#455627 and #511111)
1163 2008-02-04 Michael Natterer <mitch@imendio.com>
1165 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1166 g_return_if_fail() if the cell is not part of the combo instead of
1167 crashing in the next line.
1169 2008-02-01 Cody Russell <cody@jhu.edu>
1171 * modules/engines/ms-windows/xp_theme.[ch]
1172 * modules/engines/ms-windows/xp_theme_defs.h
1173 * modules/engines/ms-windows/msw_rc_style.c
1174 * modules/engines/ms-windows/msw_theme_main.c
1175 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1176 attempted to stylize more like the rest of the gtk+ stack's code.
1178 2008-02-01 Michael Natterer <mitch@imendio.com>
1180 * tests/testgtk.c: initialize GdkColor structs to fix warning
1181 about uninitialized "pixel" member.
1183 * tests/testactions.c: connect the toolbar_style() callback so it
1184 does something useful and doesn't warn about being defined but not
1187 2008-01-31 Cody Russell <bratsche@gnome.org>
1189 * gdk/win32/gdkevents-win32.c:
1190 Refactored some of the window hiding/showing code from
1191 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1192 under WM_ACTIVATE was causing the application to go into
1193 a weird state when the user right-clicked on the taskbar
1194 entry of a window that was minimized. (#505928)
1196 2008-01-31 Cody Russell <bratsche@gnome.org>
1198 * gtk/gtkpaned.c (gtk_paned_set_position):
1199 Change queue_resize() to queue_draw(), and add a check for
1200 child2 != NULL in case someone calls this before there is
1201 a child packed in there. (#144269 again)
1203 2008-01-31 Sven Neumann <sven@gimp.org>
1205 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1206 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1208 2008-01-31 Sven Neumann <sven@gimp.org>
1210 * gdk/directfb/gdkdisplay-directfb.c
1211 * gdk/directfb/gdkdrawable-directfb.c
1212 * gdk/directfb/gdkprivate-directfb.h
1213 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1214 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1216 2008-01-31 Richard Hult <richard@imendio.com>
1218 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1219 issues with undecorated windows. Revert the change done on
1220 2008-01-25 and fix it by using the view's bounds instead. The
1221 bounds will always be up to date when setting up the tracking
1222 rect, so this should be more robust.
1224 2008-01-30 Sven Neumann <sven@gimp.org>
1226 * gdk/directfb/gdkdrawable-directfb.c
1227 * gdk/directfb/gdkwindow-directfb.c
1228 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1229 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1230 DirectFB's debugging system
1232 2008-01-30 Sven Neumann <sven@gimp.org>
1234 * gdk/directfb/gdkdirectfb.h
1235 * gdk/directfb/gdkdisplay-directfb.c
1236 * gdk/directfb/gdkdrawable-directfb.c
1237 * gdk/directfb/gdkim-directfb.c
1238 * gdk/directfb/gdkimage-directfb.c
1239 * gdk/directfb/gdkinput-directfb.c
1240 * gdk/directfb/gdkmain-directfb.c
1241 * gdk/directfb/gdkpixmap-directfb.c
1242 * gdk/directfb/gdktestutils-directfb.c
1243 * gdk/directfb/gdkvisual-directfb.c
1244 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1245 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1246 errors and has some cleanups.
1248 2008-01-30 Michael Natterer <mitch@imendio.com>
1250 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1251 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1254 * gtk/updateiconcache.c (add_string): cast const gchar* to
1255 gpointer when inserting in a GHashTable.
1257 * tests/testcalendar.c (calendar_detail_cb): remove const from
1258 return value since it's a newly allocated string.
1260 (calendar_update_details): free the detail.
1262 2008-01-29 Johan Dahlin <johan@gnome.org>
1264 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1266 * demos/gtk-demo/demo.ui:
1267 Move the about dialog to the glade file, add accessible tags
1268 examples to the markup file.
1270 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1272 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1273 layout, fixes #512375.
1275 2008-01-28 Michael Natterer <mitch@imendio.com>
1277 * gtk/gtktextchild.c
1278 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1280 2008-01-28 Michael Natterer <mitch@imendio.com>
1282 * demos/gtk-demo/builder.c (about_activate): use
1283 gtk_about_dialog_set_program_name() instead of the deprecated
1286 2008-01-28 Michael Natterer <mitch@imendio.com>
1288 * gtk/gtktextchild.c
1289 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1292 2008-01-26 Johan Dahlin <johan@gnome.org>
1294 * tests/Makefile.am:
1295 * tests/textbuffertest.c:
1296 Rename textbuffer test and port it to the new test framework
1298 2008-01-25 Johan Dahlin <johan@gnome.org>
1300 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1301 unsetting of GTK_MODULES.
1303 * gtk/gtk-builder-convert
1304 (GtkBuilderConverter._convert_adjustment): Handle the case where
1305 there is no child text node.
1306 (GtkBuilderConverter): Allow xml comments in most places.
1308 2008-01-25 Johan Dahlin <johan@gnome.org>
1310 * gtk/gtk-builder-convert
1311 (GtkBuilderConverter._convert_combobox_items): Remove the items
1312 even if there are no items set.
1313 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1314 signals and tooltips for all menu items subclasses and
1315 GtkImageMenuItem:label.
1316 Makes it possible to fully convert and run Jokosher.glade.
1318 2008-01-25 Johan Dahlin <johan@gnome.org>
1320 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1321 (gtk_widget_buildable_get_internal_child), (free_action),
1322 (free_relation), (gtk_widget_buildable_parser_finished),
1323 (accessibility_start_element),
1324 (gtk_widget_buildable_custom_tag_start),
1325 (gtk_widget_buildable_custom_finished):
1326 Implement accessible support, fixes #454653.
1328 * gtk/gtk-builder-convert:
1329 Add support for migrating old glade files
1331 * tests/buildertest.c: (test_widget), (test_file):
1332 Add accessible tests and imprve the test_file function to display
1333 toplevels and run dialogs.
1335 2008-01-25 Richard Hult <richard@imendio.com>
1337 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1338 didn't change, fixes focus event issues for undecorated windows.
1340 2008-01-25 Richard Hult <richard@imendio.com>
1342 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1343 const and remove unused variables).
1345 2008-01-25 Michael Natterer <mitch@imendio.com>
1348 * gtk/gtkcellrenderer.h
1349 * gtk/gtkimcontext.h
1353 * gtk/gtktreeprivate.h
1354 * gtk/gtktreeviewcolumn.h
1355 * gtk/gtkwidget.h: add const to constant structs which are passed
1356 into GTK+. Also add some forgotten const for const strings.
1360 * gtk/gtkcellrenderer.c
1361 * gtk/gtkimcontext.c
1366 * gtk/gtktreeviewcolumn.c
1367 * gtk/gtkwidget.c: changed accordingly.
1369 2008-01-25 Sven Herzberg <sven@imendio.com>
1371 Reviewed by Johan Dahlin.
1373 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1374 this is called with something that's not a GtkUIManager
1376 2008-01-24 Johan Dahlin <johan@gnome.org>
1378 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1379 Chain up to parent, so widgets can have internal children.
1381 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1383 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1386 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1388 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1390 Use pango_layout_set_height() for calendar details (#506049).
1392 * configure.in: Require 1.19.3 for pango_layout_set_height().
1393 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1395 2008-01-18 Johan Dahlin <johan@gnome.org>
1397 * gtk/gtk-builder-convert (get_property_node): New method
1398 (GtkBuilderConverter._create_object): Conditionally take a node as
1399 a property value, so don't lose translate/context attributes if they
1401 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1402 property values instead of strings.
1403 (#509153, Erik van Pienbroek)
1405 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1407 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1409 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1410 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1411 * tests/testcalendar.c: Duplicate calendar details before returning.
1413 2008-01-16 Christian Persch <chpe@gnome.org>
1415 * gtk/gtkwidget.c: Store the event mask and extension event mode
1416 directly in the gobject data pointer, instead of in an allocated
1419 2008-01-16 Michael Natterer <mitch@imendio.com>
1421 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1422 gdk-pixbuf now uses gio functions.
1424 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1426 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1427 the notify::model signal. (#509819, David Zeuthen)
1429 2008-01-15 Michael Natterer <mitch@imendio.com>
1437 * gdk/gdkwindow.h: made more struct pointer and array parameters
1438 const. GDK should now be constified as far as possible without
1439 breaking source compatibility. Includes some minor cleanup like
1440 indentation and s/nfoo/n_foo/ (bug #508544).
1446 * gdk/gdkregion-generic.c
1448 * gdk/directfb/gdkdisplay-directfb.c
1449 * gdk/directfb/gdkwindow-directfb.c
1450 * gdk/quartz/gdkdisplay-quartz.c
1451 * gdk/quartz/gdkwindow-quartz.c
1452 * gdk/win32/gdkdisplay-win32.c
1453 * gdk/win32/gdkwindow-win32.c
1454 * gdk/x11/gdkdisplay-x11.c
1455 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1457 2008-01-14 Michael Natterer <mitch@imendio.com>
1459 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1462 (gtk_rc_parse_any): change variables to const and introduce
1463 another local variable to fix const warnings.
1465 2008-01-14 Michael Natterer <mitch@imendio.com>
1467 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1468 of gdk_screen_get_font_options() to gpointer to get rid of const
1471 2008-01-14 Michael Natterer <mitch@imendio.com>
1473 * tests/testdnd.c (source_drag_data_get): fix another call to
1474 gtk_selection_data_set().
1476 2008-01-14 Michael Natterer <mitch@imendio.com>
1478 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1481 2008-01-14 Michael Natterer <mitch@imendio.com>
1483 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1485 2008-01-14 Michael Natterer <mitch@imendio.com>
1487 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1488 "uris" to guchar* when passing it to gtk_selection_data_set().
1490 2008-01-14 Michael Natterer <mitch@imendio.com>
1496 * gdk/gdkinternals.h
1498 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1499 parameters const (bug #508544).
1504 * gdk/gdkrectangle.c
1505 * gdk/gdkpolyreg-generic.c
1506 * gdk/gdkregion-generic.c
1507 * gdk/directfb/gdkcolor-directfb.c
1508 * gdk/directfb/gdkgc-directfb.c
1509 * gdk/directfb/gdkgeometry-directfb.c
1510 * gdk/directfb/gdkwindow-directfb.c
1511 * gdk/quartz/gdkcolor-quartz.c
1512 * gdk/quartz/gdkgc-quartz.c
1513 * gdk/quartz/gdkgeometry-quartz.c
1514 * gdk/quartz/gdkwindow-quartz.c
1515 * gdk/win32/gdkcolor-win32.c
1516 * gdk/win32/gdkgc-win32.c
1517 * gdk/win32/gdkgeometry-win32.c
1518 * gdk/win32/gdkprivate-win32.h
1519 * gdk/win32/gdkwindow-win32.c
1520 * gdk/x11/gdkcolor-x11.c
1521 * gdk/x11/gdkgc-x11.c
1522 * gdk/x11/gdkgeometry-x11.c
1523 * gdk/x11/gdkmain-x11.c
1524 * gdk/x11/gdkprivate-x11.h
1525 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1527 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1530 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1532 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1534 * gtk/gtktoolitem.c: Add comment expaining name choice for
1535 gtk_tool_item_toolbar_reconfigured.
1537 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1539 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1540 implementations to notify its children, when some aspect of their
1541 configuration changed (#509042).
1543 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1544 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1545 Rename _gtk_tool_item_toolbar_reconfigured.
1547 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1549 Include <gtk/gtktoolshell.h> from gtk.h.
1551 * gtk/gtk.h: Add gtktoolshell.h
1553 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1555 Print angle brackets arround e-mail addresses in the about dialog
1556 (#409520, Mariano Suárez-Alvarez).
1558 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1560 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1562 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1563 special casing so test widgets are always queues for destruction
1566 * gtk/tests/testing.c: removed bits left-over from testing without
1569 2008-01-10 Tor Lillqvist <tml@novell.com>
1571 * modules/other/gail/libgail-util/Makefile.am
1572 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1575 2008-01-10 Tor Lillqvist <tml@novell.com>
1577 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1578 uses gtkprintunixdialog API.
1580 2008-01-10 Tor Lillqvist <tml@novell.com>
1582 * gdk/win32/gdkdisplay-win32.c
1583 * gdk/win32/gdkglobals-win32.c
1584 * gdk/win32/gdkprivate-win32.h
1585 * gdk/win32/gdkscreen-win32.c
1586 * gdk/win32/gdkwindow-win32.c: Implement
1587 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1588 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1591 2008-01-10 Cody Russell <bratsche@gnome.org>
1593 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1594 Properly ref/unref windows and parents. (#506769)
1596 2008-01-10 Richard Hult <richard@imendio.com>
1598 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1599 (gdk_window_hide), (move_resize_window_internal): Move the
1600 tracking rect workaround from here...
1602 * gdk/quartz/GdkQuartzWindow.c:
1603 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1604 movements during showing/hiding operations. Fixes bug #508516.
1606 2008-01-10 Michael Natterer <mitch@imendio.com>
1608 * gdk/directfb/gdkscreen-directfb.c
1609 (gdk_screen_get_monitor_width_mm)
1610 (gdk_screen_get_monitor_height_mm)
1611 (gdk_screen_get_monitor_plug_name): add these functions to make
1614 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1616 * gtk/gtkrecentchoosermenu.c:
1617 (idle_populate_func), (idle_populate_clean_up): Fix possible
1618 recursion by resetting the idle source id. (#507605, William
1621 2008-01-10 Kristian Rietveld <kris@imendio.com>
1623 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1624 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1625 avoid valgrind warnings. (#507751, patch from Christian Persch).
1627 2008-01-10 Kristian Rietveld <kris@imendio.com>
1629 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1630 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1632 2008-01-10 Kristian Rietveld <kris@imendio.com>
1634 Fix #477175, reported by Juri Pakaste.
1636 * gtk/gtktreeprivate.h:
1637 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1638 tree_view->priv->dy here directly, just calculate the new value
1639 and set it on the adjustment,
1640 (gtk_tree_view_adjustment_changed): add guards to not call
1641 gtk_tree_view_dy_to_top_row() if we are currently in
1642 gtk_tree_view_top_row_to_dy(),
1643 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1644 coordinates, not tree coordinates,
1645 (gtk_tree_view_real_start_editing): add cast.
1647 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1648 position of the editable in the "create new row and start editing"
1651 2008-01-09 Michael Natterer <mitch@imendio.com>
1653 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1656 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1657 * gtk/gtkicontheme.c (theme_list_contexts)
1658 (gtk_icon_theme_lookup_icon)
1659 * gtk/gtkimcontextsimple.c (beep_window)
1660 * gtk/gtklinkbutton.c (set_link_color)
1661 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1664 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1665 variable and add const to another to fix a warning.
1667 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1669 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1670 the current page. (#499951, Andreas Sandberg)
1672 2008-01-06 Johan Dahlin <johan@gnome.org>
1674 * gtk/gtkspinbutton.c: Declare value in the example code for
1675 GtkSpinButton::output, as pointed out by Anders Carlsson.
1677 2008-01-06 Christian Persch <chpe@gnome.org>
1679 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1680 and remove an obsolete event box. Bug #506760.
1682 2008-01-06 Johan Dahlin <johan@gnome.org>
1684 * tests/buildertest.c (test_domain):
1685 Update, GtkBuilder::translation-domain is no longer set
1687 * gtk/gtkbuilderparser.c (parse_interface):
1688 Allow domains to be overridden in <interface>'s if a translation-domain
1689 is set in the builder.
1690 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1691 of the builder, make the domain set in the <interface> apply only to strings
1693 (#496831, Ryan Lortie)
1695 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1698 * gtk/gtktreestore.c (tree_model_end_element):
1699 Remove an unused variable
1701 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1703 * gtk/gtkspinbutton.c: Document the ::output signal and
1704 add an example. (#507566, example by Owen Taylor)
1706 2008-01-06 Johan Dahlin <johan@gnome.org>
1708 * gtk/gtkcellrenderercombo.c:
1709 (gtk_cell_renderer_combo_get_property),
1710 (gtk_cell_renderer_combo_set_property):
1711 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1712 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1713 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1714 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1715 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1716 (gtk_text_buffer_get_property):
1717 * gtk/gtktextview.c: (gtk_text_view_set_property):
1718 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1719 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1720 (gtk_tool_button_get_property):
1721 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1722 (gtk_tool_item_get_property):
1723 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1724 * gtk/gtkwidget.c: (gtk_widget_set_property):
1725 * gtk/gtkwindow.c: (gtk_window_set_property):
1726 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1729 2008-01-06 Johan Dahlin <johan@gnome.org>
1731 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1732 Make sure that --root works for toplevel widgets.
1733 (#491847, Phil Lello)
1735 2008-01-05 Johan Dahlin <johan@gnome.org>
1737 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1738 to make sure that make test-report works properly
1740 2008-01-05 Christian Persch <chpe@gnome.org>
1742 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1743 GType as integer through gpointer. Bug #507395.
1745 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1747 Avoid some compiler warnings (#507000).
1749 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1750 for value argument of _gtk_builder_flags_from_string.
1751 * gtk/gtkwidget.c: Don't alias the child pointer passed
1752 to gdk_window_get_user_data.
1754 2008-01-04 Michael Natterer <mitch@imendio.com>
1756 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1757 to set the time in the returned GdkTimeCoords.
1759 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1761 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1762 correct comparison function (kudos to Christian Persch and
1763 Claudio Saavedra for spotting this)
1765 * gtk/gtkrecentchooserutils.c:
1766 (sort_recent_items_mru),
1767 (sort_recent_items_lru): Ditto as above.
1769 2008-01-03 Johan Dahlin <johan@gnome.org>
1771 * tests/defaultvaluetest.c: Make it pass again.
1773 2008-01-02 Johan Dahlin <johan@gnome.org>
1775 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1776 make it pass on Ubuntu.
1777 (main): Use gtk_test_list_all_types () instead of providing our
1779 And it no longer passes.
1781 2007-12-30 Johannes Schmid <jhs@gnome.org>
1783 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1784 Also reorder menu when reordering tabs by drag & drop
1787 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1788 Add a menu to one of the notebooks to have a test-case for
1789 the change mentioned above.
1791 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1793 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1795 2007-12-31 Christian Persch <chpe@gnome.org>
1797 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1798 Plug a mem leak. Bug #506107.
1800 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1802 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1803 icon cache api change. (#506135, Kazuki Iwamoto)
1805 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1807 Consider "wide-separators" and "separator-height" style properties:
1808 The separator is drawn using gtk_paint_box instead of cairo, when
1809 "wide-separators" is set. Also do not highlight details for previous
1810 or next month, if their day matches the selected day. (#339540)
1812 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1813 in gtk_calendar_size_request and calendar_paint_day
1814 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1815 for selected detail separators in GtkCalendar.
1817 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1819 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1821 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1822 a local variable instead in gtk_calendar_size_request.
1824 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1826 * tests/defaultvaluetest.c: Add enough exclusions to make the
1829 2007-12-28 Christian Persch <chpe@gnome.org>
1831 * modules/other/gail/Makefile.am:
1832 * modules/other/gail/tests/*:
1833 * configure.in: Merge tests from standalone gail. Bug #504568.
1835 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1837 * gtk/gtkclipboard.c: Make the finalizer work when display is
1840 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1842 Draw bottom shadow of GtkCalender headings. (#506113)
1844 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1846 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1848 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1851 2007-12-28 Christian Persch <chpe@gnome.org>
1853 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1854 a mem leak. Bug #506096.
1856 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1859 * gtk/gtktreeview.c:
1860 * gtk/gtkprintoperation.c:
1861 * gtk/gtkprogressbar.c:
1862 * gtk/gtkmessagedialog.c:
1863 * gtk/gtknotebook.c:
1867 * gtk/gtklinkbutton.c:
1868 * gtk/gtkmenu.c: More default property value corrections.
1870 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1872 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1873 accel_group unless it is set.
1875 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1877 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1879 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1881 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1882 shadow-type properties.
1884 * gtk/gtkfontsel.c: Fix the default values of several properties.
1886 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1889 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1891 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1894 2007-12-28 Johan Dahlin <johan@gnome.org>
1896 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1897 (gtk_dialog_buildable_custom_tag_start): Chain up.
1898 This makes it possible to have accelerators tags on GtkDialog
1901 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1903 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1904 are shown within the widget, or just as tooltip. (#339540)
1906 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1907 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1908 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1911 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1913 Try more decent appearance of calendar details separator. (#339540)
1915 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1916 and make it short by one pixel on each side.
1918 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1920 Apply trivial code-style changes from attachement 101101. (#339540)
1922 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1924 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1926 Restructure testcalendar for testing calendar details. (#339540)
1928 * tests/testcalendar.c: Push code arround for testing calendar details.
1930 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1932 Implement GtkTooltip API for calendar details. (#339540)
1934 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1935 Remember detail overflows in calendar_paint_day to show the tooltip
1936 only when neccessary.
1938 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1940 Without setting "detail-width-chars" and "detail-height-rows"
1941 properties not only the widget has to be redrawn on certain
1942 conditions, but also its size must be recalculated. (#339540)
1944 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1945 that function instead of gtk_widget_queue_draw.
1947 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1949 Consider details for size-request and expose-event. (#339540)
1951 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1952 is_color_attribute functions. Change gtk_calendar_size_request
1953 and calendar_paint_day to consider and show calender details.
1955 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1957 * gtk/gtkcombobox.c: Introduce local priv variables to
1960 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1962 * gtk/gtkcombobox.c: Correct the default value for the
1963 tearoff-title property.
1965 * gtk/gtkcellrenderertext.c: Fix the default value for the
1966 wrap-mode and font-scale properties.
1968 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1971 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1973 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1974 defines. (#505708, MINAMI Hirokazu)
1976 2007-12-27 Christian Persch <chpe@gnome.org>
1978 * Makefile.am: Install gail.pc. Bug #505859.
1980 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1982 Add infrastructure for GtkCalendar details. (#339540)
1984 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1985 Add "detail-width-chars" and "detail-height-rows" properties,
1986 and gtk_calendar_set_detail_func function.
1988 2007-12-27 Xan Lopez <xan@gnome.org>
1991 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1993 Add gtk_border_new to avoid memory allocator confusions when using
1994 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1996 2007-12-27 Christian Persch <chpe@gnome.org>
1998 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1999 bug #504886 not to read unitialised memory.
2001 2007-12-26 Xan Lopez <xan@gnome.org>
2003 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2004 modification of the internal frame contents to decide if we have
2005 extra children. (#415677)
2007 2007-12-22 Christian Persch <chpe@gnome.org>
2009 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2011 2007-12-25 Christian Persch <chpe@gnome.org>
2013 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2014 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2017 2007-12-25 Christian Persch <chpe@gnome.org>
2019 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2021 2007-12-25 Christian Persch <chpe@gnome.org>
2023 * modules/other/gail/*.[ch]: Remove relocations from the atk
2024 factories. Remove unused gail_foo_new() functions. Fix object
2025 instantiation to be derivation safe by moving initialisation code
2026 from the removed gail_foo_new() functions to the
2027 AtkObjectClass::initialize implementation. Bug #505226.
2029 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2031 * modules/other/gail/gailentry.c:
2032 * modules/other/gail/gailimage.c:
2033 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2034 uses of clipboards and settings. (#504722, Christian Persch)
2036 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2038 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2041 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2043 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2044 use the time and button information from the event. (#504901,
2047 2007-12-23 Cody Russell <bratsche@gnome.org>
2049 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2050 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2051 Fixes a regression caused by #164537 patch where transient
2052 windows that are hidden get shown (incorrectly) when their
2053 parents are minimized. (#504984)
2055 2007-12-22 Christian Persch <chpe@gnome.org>
2057 * modules/other/gail/gailcell.c:
2058 * modules/other/gail/gailcontainercell.c:
2059 * modules/other/gail/gailexpander.c:
2060 * modules/other/gail/gailtextcell.c:
2061 * modules/other/gail/gailtextview.c:
2062 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2064 2007-12-22 Christian Persch <chpe@gnome.org>
2066 * modules/other/gail/*.c: Include config.h. Bug #504720.
2068 2007-12-22 Christian Persch <chpe@gnome.org>
2070 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2071 handwritten get_type functions. Bug #504661.
2073 2007-12-23 Xan Lopez <xan@gnome.org>
2075 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2076 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2078 Patch by Sadrul Habib Chowdhury (#504804)
2080 2007-12-22 Christian Persch <chpe@gnome.org>
2082 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2083 #504645, patch by Li Yuan.
2085 2007-12-22 Christian Persch <chpe@gnome.org>
2087 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2089 2007-12-22 Christian Persch <chpe@gnome.org>
2091 * modules/other/gail/gail.c:
2092 * modules/other/gail/gailbutton.c:
2093 * modules/other/gail/gailcell.c:
2094 * modules/other/gail/gailcombo.c:
2095 * modules/other/gail/gailcombo.h:
2096 * modules/other/gail/gailcombobox.c:
2097 * modules/other/gail/gailentry.c:
2098 * modules/other/gail/gailexpander.c:
2099 * modules/other/gail/gailmenuitem.c:
2100 * modules/other/gail/gailnotebook.c:
2101 * modules/other/gail/gailnotebookpage.c:
2102 * modules/other/gail/gailnotebookpage.h:
2103 * modules/other/gail/gailoptionmenu.c:
2104 * modules/other/gail/gailrange.c:
2105 * modules/other/gail/gailtextview.c:
2106 * modules/other/gail/gailtreeview.c:
2107 * modules/other/gail/gailtreeview.h:
2108 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2111 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2113 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2116 2007-12-21 Richard Hult <richard@imendio.com>
2118 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2119 Plug leak of destroyed subviews, fixes bug #504753.
2121 2007-12-20 Johan Dahlin <johan@gnome.org>
2123 * tests/Makefile.am (TEST_PROGS):
2124 * tests/defaultvaluetest.c: Add a test for default values,
2125 based on program by Christan Perch
2127 2007-12-20 Johan Dahlin <johan@gnome.org>
2129 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2130 Refactor to avoid some duplication.
2131 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2132 Fixes #504749, Yuri Pimenov
2134 2007-12-20 Kristian Rietveld <kris@imendio.com>
2136 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2137 the build work again on systems without xrandr 1.2.
2139 2007-12-20 Christian Persch <chpe@gnome.org>
2142 * modules/other/gail/libgail-util/Makefile.am:
2143 Keep the same libtool version as the standalone libgail-util had.
2146 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2148 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2150 2007-12-20 Alexander Larsson <alexl@redhat.com>
2152 * gdk/x11/gdkapplaunchcontext-x11.c:
2153 Update for gio API changes
2155 2007-12-20 Richard Hult <richard@imendio.com>
2157 * gdk/quartz/GdkQuartzWindow.c:
2158 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2159 processing events after changing the size.
2161 2007-12-20 Richard Hult <richard@imendio.com>
2163 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2164 Add stub for quartz to fix build.
2166 2007-12-20 Christian Persch <chpe@gnome.org>
2168 * modules/other/gail/Makefile.am:
2169 * modules/other/gail/gailimage.c: (gail_image_class_init),
2170 (gail_image_init), (elide_underscores), (gail_image_get_name),
2171 (atk_image_interface_init), (gail_image_finalize):
2172 * modules/other/gail/gailimage.h:
2173 R modules/other/gail/gailintl.h:
2174 * po/POTFILES.skip: Use the stock item's label as the name of the
2175 accessible in gailimage.c. Bug #504246.
2177 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2179 Avoid some compiler warnings and remove obsolete code. (#339540)
2181 * gtk/gtkcalendar.c: Change week and year variable in
2182 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2183 0" block from calendar_paint_day: The feature in question is handled
2184 few lines above. Cast data returned by gtk_selection_data_get_text()
2185 to (gchar*) in gtk_calendar_drag_data_received.
2187 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2189 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2191 2007-12-19 Johan Dahlin <johan@gnome.org>
2193 * tests/buildertest.c (test_object_properties):
2194 Add another call to gtk_builder_add_string after using
2195 delayed properties, as reported in #504393 but already
2198 2007-12-18 Christian Persch <chpe@gnome.org>
2201 * docs/reference/Makefile.am:
2202 * docs/reference/libgail-util/*:
2203 * gail-uninstalled.pc.in:
2205 * modules/Makefile.am:
2206 * modules/other/Makefile.am:
2207 * modules/other/gail/*:
2208 * modules/other/gail/libgail-util/*:
2209 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2211 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2213 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2214 * gdk/win32/gdkproperty-win32.c:
2215 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2217 * gtk/gtkimmodule.[hc]:
2218 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2219 look at the gtk-im-module setting, and listen for changes to the
2220 setting. (#502446, Akira Tagoh)
2222 2007-12-17 Kristian Rietveld <kris@imendio.com>
2224 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2225 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2226 to NULL as soon as it's destroyed. (#496546, patch from
2229 2007-12-17 Kristian Rietveld <kris@imendio.com>
2231 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2232 always determine what arrow to show if show_sort_indicator is true.
2233 (#352738, Chris Vine).
2235 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2237 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2240 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2241 gtk_container_foreach in get_child_panes.
2243 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2245 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2247 Plug leak: When reordering the info in the list the old node is
2248 removed but not freed. (#503569)
2250 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2252 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2253 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2254 are deprecated since DirectFB 1.0.0. If compiling with an older
2255 version define the new type name to the old types. Fixes bug #503190.
2257 2007-12-14 Ray Strode <rstrode@redhat.com>
2259 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2260 instead of g_signal_connect_after (..., "realize", ...) as an
2261 alternative to gtk_widget_realize () (bug 503537).
2263 2007-12-14 Michael Natterer <mitch@imendio.com>
2265 * gdk/gdkinternals.h
2266 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2269 * gdk/gdkapplaunchcontext.c
2270 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2271 header already includes everything now.
2273 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2275 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2276 next stable release shall be 2.16, not 2.14 - even if disagree.
2278 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2280 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2282 Change GtkToolItem to retrieve its properties from GtkToolShell
2283 interface, instead of relying on being child of a GtkToolbar.
2286 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2287 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2288 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2289 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2290 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2291 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2292 Take section docs from template file and update them for GtkToolShell.
2293 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2294 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2296 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2298 Extract loading of GtkPageSetup and GtkPrintSettings from their
2299 *_new_*() functions and move that code into separate
2300 *_load_*() functions (#475565).
2302 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2303 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2304 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2305 Change the matching *_new_*() functions to use those functions.
2307 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2310 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2312 2007-12-14 Kristian Rietveld <kris@imendio.com>
2314 * gtk/tests/liststore.c:
2315 * gtk/tests/treestore.c: added tests for insertion functions.
2317 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2319 * Add RandR 1.2 support
2321 - New monitors_changed signal - New API to get width/height of
2322 monitors, and the name of the plug
2324 2007-12-13 Kristian Rietveld <kris@imendio.com>
2326 * gtk/tests/liststore.c:
2327 * gtk/tests/treestore.c: test the move and swap functions on a
2328 store with only one node.
2330 2007-12-13 Kristian Rietveld <kris@imendio.com>
2332 * gtk/gtktestutils.c (gtk_test_init): add a call to
2335 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2338 2007-12-13 Kristian Rietveld <kris@imendio.com>
2340 * gtk/tests/liststore.c:
2341 * gtk/tests/treestore.c: start composing tests for the list and tree
2344 * gtk/tests/treeview-scrolling.c: added automated tests for
2345 GtkTreeView's scrolling "subsystem".
2347 * gtk/tests/Makefile.am: updated; added new test programs.
2349 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2351 Make the code compile again after the GdkAppLaunchContext changes.
2353 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2354 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2356 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2358 * gdk/gdkapplaunchcontext.c: Add docs
2360 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2362 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2363 in gdk, providing startup notification. (#503203)
2365 * gdk/x11/gdkapplaunchcontext-x11.c:
2366 * gdk/win32/gdkapplaunchcontext-win32.c:
2367 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2368 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2369 parts. All but X11 are just empty stubs for now.
2372 * gdk/gdkinternals.h:
2374 * gdk/x11/Makefile.am:
2375 * gdk/win32/Makefile.am:
2376 * gdk/quartz/Makefile.am:
2377 * gdk/directfb/Makefile.am: Necessary glue.
2379 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2381 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2383 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2385 * gdk/directfb/gdktestutils-directfb.c:
2386 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2387 which adds testing functions to the DirectFB backend.
2389 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2391 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2392 Ciccani which fixes the mixing of gdk and cairo rendering.
2394 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2396 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2397 on "drag-motion" handlers. Clearify documentation for
2400 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2402 * buildertest.c: made unnecessarily exported symbols static.
2403 switched g_return_if_fail() statements in tests to assertions.
2404 special cased currently failing Widget/accesibility test to
2405 run only for g_test_thorough(), so it doesn't break make check.
2406 some coding style fixes.
2408 * Makefile.am: added buildertest to TEST_PROGS.
2410 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2412 * docs/tutorial/gtk-tut.sgml:
2413 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2415 2007-12-10 Richard Hult <richard@imendio.com>
2417 * gdk/quartz/Makefile.am:
2418 * gdk/quartz/gdkquartz.h:
2419 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2420 header (bug #405915). Also add a getter for the toplevel nswindow.
2422 2007-12-10 Richard Hult <richard@imendio.com>
2424 * gdk/quartz/gdkdrawable-quartz.c:
2425 (gdk_quartz_drawable_get_context),
2426 (gdk_quartz_drawable_release_context):
2427 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2428 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2429 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2430 used for each drawing context and in prepare, dispatch and poll
2431 with one that exists across each main loop iteration. Fixes leaks
2432 on leopard and protects against future leaks introduce when the
2433 underlying system changes again (bug #492977).
2435 2007-12-10 Richard Hult <richard@imendio.com>
2437 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2438 Fix the check for no changes to position and size.
2440 2007-12-10 Richard Hult <richard@imendio.com>
2442 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2443 sized areas at (0, 0), patch from Paul Davis.
2445 2007-12-10 Richard Hult <richard@imendio.com>
2447 * gdk/quartz/gdkprivate-quartz.h:
2448 * gdk/quartz/gdkeventloop-quartz.c:
2449 (_gdk_quartz_event_loop_get_pending),
2450 (_gdk_quartz_event_loop_check_pending),
2451 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2452 (gdk_event_check), (gdk_event_dispatch):
2453 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2454 (_gdk_events_queue): Fix a bug where we could end up trying to
2455 handle the same event more than once. Based on patch from Paul
2458 2007-12-10 Tor Lillqvist <tml@novell.com>
2460 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2463 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2465 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2466 to avoid further fallout from the fix for bug 388321.
2468 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2470 * gdk/directfb/gdkgc-directfb.c:
2471 * gdk/directfb/gdkdrawable-directfb.c:
2472 * gdk/directfb/gdkdirectfb.h:
2473 * gdk/directfb/gdkwindow-directfb.c:
2474 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2475 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2476 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2477 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2478 which are expected to improve the performance of the DirectFB backend.
2479 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2481 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2483 * gtk/gtkcontainer.c: Correct the documentation of child
2484 property getter arguments. (#501992, David Brigada)
2486 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2488 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2489 leak pixbufs. (#502250, Yevgen Muntyan)
2491 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2493 * gtk/gtkprintunixdialog.c:
2494 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2495 Print and Page Setup dialogs (#502202).
2497 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2499 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2500 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2501 of XVFB_START, since it's the GTESTER invokation that needs this.
2503 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2505 * gdk-pixbuf/gdk-pixbuf.symbols:
2507 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2508 positives in abicheck.sh
2510 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2512 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2513 GDK events generations in the DirectFB backend.
2515 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2517 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2518 set of likely unused display ids, because MacOS has no seq(1) command.
2520 2007-12-06 Richard Hult <richard@imendio.com>
2522 * gdk/quartz/gdkevents-quartz.c:
2523 (synthesize_crossing_events_for_ns_event): Fix warning when
2524 switching spaces in leopard.
2526 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2528 * tests/floatingtest.c: ported to new testing framework.
2530 * tests/Makefile.am: run floatingtest as testing framework test.
2532 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2534 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2535 timeouts and converting main loop sleeps to pending/iterate loops with
2536 very low priority async handlers. eliminate output for non-verbose
2537 tests. assert successfull subtests in all test functions. use testing
2538 framework in main().
2540 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2541 executed inside Xvfb upon make check.
2543 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2545 * tests/objecttests.c: use string comparisons for string property
2546 values and get rid of referencing symbols in array initialization.
2548 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2550 * gtk+/Makefile.decl: run tests in current dir after setting up the
2551 logging directory, so their results get properly merged into the
2554 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2555 tests to loop over registered Gdk/Gtk+ types.
2557 * gtk+/tests/objecttests.c: new test program, implements automated
2558 property tests. several properties are blacklisted because they
2559 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2560 can be used to test blacklisted properties and see which proprty failed.
2562 2007-12-04 Richard Hult <richard@imendio.com>
2564 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2565 Fully initialize the root window, fixes bug #501583.
2567 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2569 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2572 2007-12-03 Richard Hult <richard@imendio.com>
2574 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2575 Don't crash when dragging from a source that doesn't support uri
2576 lists (bug #499868, Paul Davis).
2578 2007-12-03 Richard Hult <richard@imendio.com>
2580 * gdk/quartz/gdkwindow-quartz.c:
2581 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2582 parent relative bg pixmap is set, and no parent has a bg
2583 pixmap. Fixes bug #500804.
2585 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2587 Two optimizations for icon cache lookups.
2589 * gtk/gtkiconcache.[hc]:
2590 * gtk/gtkicontheme.c: Remember the directory index for
2591 subdirectories, instead of running over the directory list
2594 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2595 chain and try it first; this helps with the the usage patterns
2596 in gtkicontheme.c, where the same icon is queried for a lot
2599 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2601 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2602 functions from header files. this should be portable across linux and
2603 Mac OS, unlike the previpous sed expression.
2605 2007-12-1 Cody Russell <bratsche@gnome.org>
2607 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2608 On Windows, queue a redraw of child2 whenever we set
2609 the pane handle position. This is unfortunately kind
2610 of hacky, but solves the visual artifacts that were
2611 occuring on at least certain types of child widgets
2612 (e.g., text views and tree views) that are inside
2613 horizontal or vertical panes. (#144269)
2615 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2617 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2619 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2621 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2624 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2626 * gtk/Makefile.am: Fix ordering of subdirs.
2628 2007-11-28 Tor Lillqvist <tml@novell.com>
2630 A proper build of GNU libintl is supposed to export the variable
2631 _nl_msg_cat_cntr. configure looks for that variable in order to
2632 recognize GNU gettext. If it sees that it is indeed GNU gettext
2633 that is used, it decides to install message catalogs in
2634 share/locale, otherwise in lib/locale. Until now on Windows I have
2635 built GTK+ against a build of GNU gettext that did not export
2636 _nl_msg_cat_cntr. But this will change, so we can't assume message
2637 catalogs are always in lib/locale.
2639 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2640 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2641 before the inclusion of gtkprivate.h so that it sees the original
2644 * gtk-zip.sh.in: Check whether the message catalogs are in
2645 share/locale or lib/locale.
2647 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2648 that the code in _gtk_get_localedir() will find the slashes.
2650 2007-11-28 Tor Lillqvist <tml@novell.com>
2652 * gtk/Makefile.am: Improve portability. The -o option is present
2653 only in newish GNU egreps. Use one more sed in the pipeline
2656 2007-11-28 Tor Lillqvist <tml@novell.com>
2658 Fix #375893, patch by Ben Hague:
2660 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2661 around GetLogicalDrives() that takes also the viewable drive
2662 restrictions in the Registry (which are usually the result of an
2663 Active Directory Group Policy) into account.
2665 (check_volumes, gtk_file_system_win32_list_volumes) Call
2666 get_viewable_logical_drives() instead of GetLogicalDrives().
2668 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2670 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2671 variables to silence valgrind. (#495124, Morten Welinder)
2673 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2675 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2676 that the construct_child function is responsible for returning a
2678 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2679 objects from constructors
2680 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2681 g_object_ref() to this construction function (it's the only
2686 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2688 * gtkbuilder.c: remove concept of root objects and just refcount
2689 all objects in the builder. Fixes #496651.
2691 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2693 * tests/buildertest.c (test_window): fix invalid free
2695 2007-11-26 Josselin Mouette <joss@malsain.org>
2697 reviewed by: Federico Mena Quintero
2699 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2700 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2701 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2702 Make the shortcuts activate with a single click. (#148828)
2703 Fix a few things affected by the change:
2704 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2705 where no shortcut is selected.
2706 - Don't activate a shortcut in the response callback.
2707 - Filter out duplicate entries in volumes and bookmarks to
2708 avoid the selection to change when reordering them with DnD.
2710 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2713 * gtk/gtknotebook.c:
2714 * gtk/gtkplugprivate.h:
2716 * gtk/gtksocketprivate.h:
2717 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2719 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2721 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2722 (#495574, Richard Hult)
2724 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2726 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2727 String change ! (#376361, Sven Neumann)
2729 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2731 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2733 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2736 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2738 * gtk/gtkassistant.c: Improve alternative button
2739 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2741 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2743 * gtk/gtkcalendar.c: Fix a theming problem with colors
2744 in GtkCalendar. (#499703, Michael Hofmann)
2746 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2748 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2750 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2752 Use templates for glib-mkenums calls instead of
2753 complicated commandlines in Makefiles. (#429910)
2755 * gdk-pixbuf/Makefile.am:
2758 * perf/Makefile.am: Use templates for glib-mkenums
2760 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2761 * gdk/gdkenumtypes.[ch].template:
2762 * gtk/gtktypebuiltings.[ch].template:
2763 * perf/typebuiltins.[ch].template: The templates
2765 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2767 * gtk/gtkfilechooserbutton.c:
2768 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2769 some compilers choke on that. (#467722)
2771 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2773 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2774 about hook setup. (#425004, Emmanuele Bassi)
2776 2007-11-26 Tor Lillqvist <tml@novell.com>
2778 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2779 monitor the window currently is on, not always the primary
2780 monitor. (#463865, Tim Evans)
2782 2007-11-26 Tor Lillqvist <tml@novell.com>
2784 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2786 * gdk/win32/Makefile.am: Add it.
2788 2007-11-26 Tor Lillqvist <tml@novell.com>
2790 * configure.in: Don't add jasper to all_loaders if no libjasper.
2792 2007-11-25 Bastien Nocera <hadess@hadess.net>
2794 * configure.in: Add detection for libjasper, used by the
2795 gdk-pixbuf JPEG2000 loader
2797 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2799 * configure.in: Require gtk-doc 1.8
2801 * */*.c: Use gtk-doc abbreviations for examples in docs.
2803 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2805 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2808 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2810 * gtk/gtkdialog.c: Move signal and property documentation inline,
2811 fix a problem with the ::response signal docs. (#499133, Josselin
2814 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2816 * Makefile.decl: initialize automake variables EXTRA_DIST and
2817 TEST_PROGS for unconditional appending via += in other makefiles.
2818 define recursive test targets: test, test-report, perf-report,
2819 full-report, as described here:
2820 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2821 the test targets will execute Gtk+ test programs within an Xvfb session.
2823 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2825 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2826 g_test_run() to run the tests to integrate with the testing framework.
2828 * gtk/tests/Makefile.am: removed exemplary testing rules.
2830 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2831 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2832 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2833 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2834 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2835 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2836 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2837 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2838 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2839 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2840 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2841 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2842 * modules/engines/ms-windows/Theme/Makefile.am:
2843 * modules/engines/ms-windows/Makefile.am:
2844 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2845 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2846 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2847 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2848 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2849 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2850 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2852 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2854 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2855 (#485662, patch by Herbert Valerio Riedel)
2857 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2859 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2861 2007-11-21 Richard Hult <richard@imendio.com>
2863 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2864 stubs for the testing functions to fix the build.
2866 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2868 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2869 (#467711, The Written Word)
2871 2007-11-21 Ross Burton <ross@openedhand.com>
2873 * gdk/x11/gdksettings.c:
2874 Add xsetting for gtk-scrolled-window-placement (#458103).
2876 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2878 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2879 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2880 (#469239, Michael Natterer)
2882 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2884 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2885 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2886 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2887 (#436536, Tommi Komulainen)
2889 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2891 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2892 property. (#489782, Jan Janech)
2894 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2896 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2897 frames. (#107398, Owen Taylor, Miguel Gomez)
2899 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2901 Moved Gdk test functions from Gtk+ to Gdk test utils.
2903 * gdk/Makefile.am: added gdktestutils.h to public includes.
2905 * gdk/gdk.h: added gdktestutils.h to public includes.
2907 * gdk/gdk.symbols: added gdk_test_simulate_button,
2908 gdk_test_simulate_key, gdk_test_render_sync.
2910 * gdk/gdktestutils.h: new file, added prototypes for
2911 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
2913 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2915 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2916 gdk_test_simulate_key, gdk_test_render_sync.
2918 * gtk/gtktestutils.c:
2919 * gtk/gtktestutils.h:
2920 * gtk/gtk.symbols: removed gtk_test_simulate_button
2921 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2923 * gtk/tests/testing.c: call gdk_test_render_sync.
2925 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2927 Added unit tests for Gtk+ testing utilities.
2929 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2930 utility functions. some g_test_* related portions are disabled and need
2931 to be enabled once Gtk+ depends on a new glib with the GLib testing
2932 framework integrated.
2934 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
2935 tests. added exemplary test rules to run tests inside Xvfb. this
2936 needs to depend on gtester for full fledged testing.
2938 * gtk/Makefile.am: build gtk+/gtk/tests, define
2939 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
2940 e.g. gtk_text_get_type().
2942 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2944 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2946 Added Gtk+ testing utilities.
2948 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
2949 functions. for the most part, the functions herein involve
2950 navigating and interacting with dialog elements programatically,
2951 to automate user interaction tests of dialogs and widgets.
2953 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2955 * gtk/gtk.symbols: added gtk_test_* symbols.
2957 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
2958 the build. generate gtktypefuncs.c which contains a list of all
2959 _get_type functions in Gtk+ and Gdk.
2961 2007-11-20 Bastien Nocera <hadess@hadess.net>
2963 * configure.in: add support for conditional icns gdk-pixbuf loader
2966 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2968 * configure.in: updated version number to 2.15.0 for development.
2970 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2972 === Branch for 2.12 ===