1 2008-03-18 Tor Lillqvist <tml@novell.com>
3 * tests/Makefile.am: Build testmountoperation only on Unix for now.
5 2008-03-17 Christian Kellner <gicmo@gnome.org>
7 Implement GtkMountOperation, a subclass of GMountOperation
8 to be used with gio wherever there is the need to ask the
9 user for credentials or questions while mounting a volume.
12 * gtk/gtkmountoperation.c:
13 * gtk/gtkmountoperation.h:
14 Implement GtkMountOperation.
16 * gtk/gtk.h: Add gtkmountoperation.h
17 * gtk/Makefile.am: Add gtkmountoperation.[hc]
18 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
19 * tests/testmountoperation.c: Test program for it.
20 * tests/Makefile.am: Add testmountoperation.
22 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
24 * gtk/gtkcontainer.c: Properly document
25 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
27 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
29 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
30 style names for the ComboBox thickness style
32 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
34 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
35 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
36 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
37 intelligent separation for the xp theming engine and the classic
38 theme while drawing the GtkComboBox button. combobox_draw_arrow
39 is not used anymore, commented. The style has been updated to fix
40 border/thickness glitches in the combobox according to the fixes
41 commited regarding bug #521442. (bug #461805)
43 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
45 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
46 now aware of both the combobox and frame (if has-frame is set)
47 thickness and border. (bug #521442)
49 2008-03-15 Andre Klapper <a9016009@gmx.de>
51 * configure.in: Added "si" to ALL_LINGUAS.
53 2008-03-15 Matthias Clasen <mclasen@redhat.com>
55 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
56 Set window type hint on the search popup. (#522279, Danny Baumann)
58 2008-03-15 Matthias Clasen <mclasen@redhat.com>
60 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
61 appropriate. (#521934, Huang Peng)
63 2008-03-14 Michael Natterer <mitch@imendio.com>
66 * gtk/gtkbuilderprivate.h
67 * gtk/gtkfilechoosersettings.c
68 * gtk/gtksearchenginesimple.c
69 * gtk/tests/liststore.c
70 * gtk/tests/treestore.c: remove single-file includes of GLib
71 headers or replace them by <glib.h> where needed.
73 2008-03-14 Michael Natterer <mitch@imendio.com>
75 * gtk/gtkadjustment.c: coding style cleanup.
77 (gtk_adjustment_set_property): no need to call g_object_notify()
78 on the set properties.
80 Implement GObject::dispatch_properties_changed() and make sure we
81 emit "changed" when anything but the "value" property changes.
83 2008-03-14 Tor Lillqvist <tml@novell.com>
85 * gdk/win32/gdkevents-win32.c: Drop the support for the
86 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
87 Win95. Thanks to mitch for noticing this obsolete code.
89 2008-03-14 Cody Russell <bratsche@gnome.org>
91 * examples/scribble-xinput/scribble-xinput.c: Changed
92 'void int main()' to 'int main()'. (#522211, Liqing Huang)
94 2008-03-14 Richard Hult <richard@imendio.com>
96 * gdk/quartz/gdkwindow-quartz.c:
97 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
98 only flush the toplevel once per update.
100 2008-03-13 Federico Mena Quintero <federico@novell.com>
102 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
103 Set the mouse cursor of the feedback window to invisible, so that
104 we respect GtkEntry's invisible cursor while typing.
106 2008-03-13 Federico Mena Quintero <federico@novell.com>
108 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
109 the feedback window at entry_height/2 pixels to the right of the
110 cursor, for a cheap "M-width / 2" spacing.
112 2008-03-13 Sven Neumann <sven@gimp.org>
114 * gtk/gtkfilechooserdefault.c
115 * gtk/gtkprintunixdialog.c: set alternative button order for
116 overwrite confirmation dialogs (bug #522191).
118 2008-03-13 Sven Neumann <sven@gimp.org>
120 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
121 (overwrite_confirmation_dialog): added some line-breaks for
124 2008-03-12 Federico Mena Quintero <federico@novell.com>
126 Rework the way completion works in GtkFileChooserEntry. Fixes
127 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
128 Tab completion should work even if the cursor is not at the end of
131 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
134 We distinguish between two cases:
136 - autocompletion - happens only in the Open modes by
137 inserting and selecting the common prefix as you type.
139 - explicit completion - happens when you hit Tab.
141 When some type of completion needs to happen, the entry first
142 parses its input and sees if it needs to initiate a folder load.
143 Completion will not happen until the folder finishes loading.
145 If the folder is already completely loaded, then completion is
146 performed immediately. Otherwise, the entry queues a pending
147 completion and starts loading the new folder (or waits until the
148 current folder is completely loaded).
150 Tab completion is allowed to happen even if the cursor is not at
151 the end of the entry.
153 There is a new feedback mechanism for explicit completion, so that
154 you will get an Emacs-like tip whenever there are ambiguities in
155 completion, no matches, etc. (This needs to be polished so that
156 we support RTL entries and all the fancy Pango layout in GtkEntry).
158 The only remaining thing to fix is the popup suggestion window.
159 Unfortunately, GtkEntryCompletion does not let us do what we want,
160 and will need further changes.
162 2008-03-12 Tor Lillqvist <tml@novell.com>
164 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
166 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
167 for the TaskbarCreated message in the window procedure for the
168 dummy "tray observer" window we create. When we get a
169 TaskbarCreated message, iterate over the status icons and re-add
170 them to the task bar, and update them by calling
171 gtk_status_icon_update_image().
173 Move some ifdefs around to avoid unused functions.
175 2008-03-12 Tor Lillqvist <tml@novell.com>
177 * config.h.win32.in: Update to match what configure produces.
179 2008-03-12 Jens Granseuer <jensgr@gmx.net>
181 * modules/printbackends/cups/gtkprintbackendcups.c:
182 (cups_printer_prepare_for_print): Don't define variables in the
183 middle of a block. (#522067)
185 2008-03-12 Matthias Clasen <mclasen@redhat.com>
187 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
188 dialog for print-to-file. (#474302, Marek Kašík)
190 2008-03-12 Matthias Clasen <mclasen@redhat.com>
192 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
193 (#469210, Wouter Bolsterlee)
195 2008-03-12 Matthias Clasen <mclasen@redhat.com>
197 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
198 paper_size here. (#488820, Morten Welinder)
200 2008-03-12 Michael Natterer <mitch@imendio.com>
202 * acconfig.h: remove this deprecated file.
204 * configure.in: added comments to all instances of AC_DEFINE() so
205 config.h can be completely generated from configure.in.
207 2008-03-12 Michael Natterer <mitch@imendio.com>
209 * modules/printbackends/cups/gtkprintbackendcups.c: include
210 <glib/gstdio.h> for g_fopen().
212 2008-03-11 Matthias Clasen <mclasen@redhat.com>
214 * modules/printbackends/cups/gtkprintbackendcups.c: Use
215 g_ascii_formatd when formatting custom paper sizes, since
216 cups doesn't handle , as decimal separator. (#521548)
218 2008-03-11 Tor Lillqvist <tml@novell.com>
220 Bug 469868 - Filenames with colon ":" are not saved correctly
222 * gtk/gtkfilechooserentry.c (insert_text_callback)
223 (delete_text_callback) [Win32]: New functions to make sure that
224 colons used otherwise than as a separator after a drive letter, or
225 characters that are always illegal in file names, are rejected on
226 input. This means that the GTK+ file chooser can't be used to
227 input full names of alternate data streams, but oh well. There are
228 still more checks that could be done on the file names, see the
229 bug report. But this will do for now.
230 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
232 2008-03-11 Jordi Mallach <jordi@sindominio.net>
234 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
236 2008-03-11 Michael Natterer <mitch@imendio.com>
238 * gdk/linux-fb/*: removed linux-fb backend files.
242 * docs/README.linux-fb
243 * gtk/Makefile.am: remove remaining traces of linux-fb.
245 * gtk/gtkwindow-decorate.c: same here. There is some code that
246 calls into linux-fb to set window move/resize callbacks. I put it
247 in #if 0 as a reminder because we did use decorated windows with
248 the DirectFB backend and it did work, so I don't really know why
249 this code is needed or how it could work with DirectFB back then.
250 The file does actually compile now if DECORATE_WINDOWS is defined,
251 but I didn't test with DirectFB to check if it does anything.
253 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
255 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
256 Take thickness into account in the size allocation of the child widgets in
260 2008-03-11 Richard Hult <richard@imendio.com>
262 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
264 2008-03-10 Tor Lillqvist <tml@novell.com>
266 * tests/teststatusicon.c (do_exit, popup_menu): Add the
267 possibility to test what happens if the process just calls exit()
268 without any orderly cleanup of GTK+.
270 2008-03-10 Tor Lillqvist <tml@novell.com>
272 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
274 2008-03-10 Tor Lillqvist <tml@novell.com>
276 Bug 520286 - Non-deletable window has no minimize / maximize buttons
278 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
279 New debugging output function that decodes a set of WS_* bits.
281 * gdk/win32/gdkprivate-win32.h: Declare it.
283 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
284 New function that enables or disables one menu entry in the system
285 menu of a top-level window. (The corresponding decoration will
286 then also be enabled or disabled (grayed).)
288 (update_style_bits): Do as the comment says and don't try to
289 update the window style based on the GdkWMFunctions set for the
292 (update_system_menu): New function that enables or disables the
293 system menu entries based on a window's stored set of
296 (gdk_window_set_functions): Call update_system_menu() instead of
299 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
301 * README.in: Reword the 2.14 release notes entry about the
302 deprecation of the gtkitemfactory.h header, and fix typos
305 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
307 * modules/engines/ms-windows/msw_style.c (draw_shadow):
308 Do not draw frame if parent if combobox.
310 Uses scrollbar width system metrics for combobox button.
311 Fixes #461805 for XP theme engine.
313 2008-03-07 Johan Dahlin <johan@gnome.org>
316 * gtk/gtkbuilderparser.c:
317 * gtk/gtkbuilderprivate.h:
318 * gtk/gtkiconfactory.c:
319 * tests/buildertest.c:
320 - Treat enums like enums and not values
321 - Avoid invalid free, in case of more than two sources
322 - Add better error messages
323 - Add much improved tests
324 (#520979, Christian Persch)
326 2008-03-07 Carlos Garnacho <carlos@imendio.com>
328 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
331 2008-03-06 Federico Mena Quintero <federico@novell.com>
333 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
334 GtkFileChooserDialog should set a default response button if the
335 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
337 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
338 function, refactor from where there was duplicated code.
339 (gtk_file_chooser_dialog_map): Look at the buttons in our
340 action_area. If the response ID for a button is one of the stock
341 ones, make it the default response button.
343 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
345 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
347 * gtk/gtkbuilderprivate.h:
348 * gtk/gtkiconfactory.c:
349 * tests/buildertest.c:
350 Implement GtkBuildable on GtkIconFactory, to make
351 it possible to register custom stock icons.
354 2008-03-06 Johan Dahlin <johan@gnome.org>
358 * gtk/gtkstyle.c: npoints->n_points.
359 * gtk/gtktestutils.h: widget->spinner
360 * gtk/gtktestutils.c: argc->argcp, argv->argvp
362 2008-03-06 William Lachance <wrlach@gmail.com>
364 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
365 string localizable (as it should be).
367 2008-03-06 William Lachance <wrlach@gmail.com>
369 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
370 the time for today's date. It's redudant. (see bug #410517).
372 2008-03-06 Xan Lopez <xan@gnome.org>
374 * gtk/gtkfixed.c: fix typo in documentation.
376 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
378 * gtk/gtkitemfactory.h:
379 * gtk/gtktypeutils.h:
380 Move GtkTranslateFunc to gtktypeutils.h so we can completely
381 deprecate gtkitemfactory.h.
383 * gtk/gtkactiongroup.h:
385 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
388 Add a note describing this slight incompatible change
390 2008-03-06 Johan Dahlin <johan@gnome.org>
392 * gtk/gtkpreview.h: Avoid double-deprecation.
394 2008-03-06 Michael Natterer <mitch@imendio.com>
397 * gtk/Makefile.am: move the remaining deprecated widgets to the
398 separate sections and replaced spaces by tabs in Makefile.am
400 2008-03-05 Johan Dahlin <johan@gnome.org>
402 * configure.in: Add --disable-cups option.
403 (#513826, Alberto Ruiz)
407 Separate broken and deprecated sources and headers into different sections
409 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
411 2008-03-05 Kristian Rietveld <kris@imendio.com>
413 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
414 short-circuit in case an empty root level would be build (and thus
415 directly destroyed) if no virtual root has been set.
417 2008-03-04 Matthias Clasen <mclasen@redhat.com>
419 * modules/printbackends/cups/gtkprintbackendcups.c:
420 Honor cups user default options from ~/.cups/lpoptions
421 (#469210, Stijn Hoop)
423 2008-03-04 Michael Natterer <mitch@imendio.com>
426 * gtk/gtkcolorbutton.c
427 * gtk/gtkentrycompletion.c
428 * gtk/gtkfontbutton.c
432 * gtk/gtkpreview.c: don't include "gtksignal.h".
434 * gtk/gtkfilefilter.c
435 * gtk/gtkrecentchoosermenu.c
436 * gtk/gtkrecentfilter.c
437 * gtk/gtktext.c: don't include "gtkobject.h".
439 2008-03-04 Simos Xenitellis <simos@gnome.org>
441 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
442 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
444 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
447 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
448 file, contains compose sequences that used to exist in
449 gtk/gtkimcontextsimple.c
451 * gtk/compose-parse.py: Script to generate compose
452 sequences from upstream (Xorg).
454 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
455 check_algorithmically): New functions. First two search in
456 gtk_compose_seqs_compact[] for matching compose sequence, third
457 tries NFC normalisation on incoming compose sequence.
458 (gtk_im_context_simple_filter_keypress):
459 Adds searching with check_compact_table(), check_algorithmically().
461 2008-03-03 Carlos Garnacho <carlos@imendio.com>
463 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
464 scrollwheel work in GtkPathBar.
466 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
468 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
469 an input-only window, event_window, which we'll use to capture
471 (gtk_path_bar_map): Show the event_window under the rest of the
472 windows, so it will be a catch-all for unhandled events.
474 2008-03-03 Sven Neumann <sven@gimp.org>
476 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
477 typo in the documentation of the GtkFileChooserButtons::file-set
478 signal (see bug #353196).
480 2008-03-03 Tor Lillqvist <tml@novell.com>
482 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
485 2008-03-02 Johan Dahlin <johan@gnome.org>
487 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
488 Remove left-over focus_pad variable.
489 (#490892, Claudio Saavedra)
491 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
492 (#518166, Matt Kraai)
494 2008-03-02 Johan Dahlin <johan@gnome.org>
496 * docs/tutorial/gtk-tut.sgml: Add a missing space
497 (#517954, Matt Kraai)
499 2008-03-03 Tor Lillqvist <tml@novell.com>
501 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
502 the widget is a GtkButton before casting.
504 2008-03-02 Johan Dahlin <johan@gnome.org>
506 * configure.in: Compare using = instead of ==, which is portable.
507 (#490787, Thomas Klausner)
509 2008-03-02 Johan Dahlin <johan@gnome.org>
511 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
513 (#496032, Nelson Benitez)
515 2008-02-29 Johan Dahlin <johan@gnome.org>
517 * demos/gtk-demo/demo.ui:
518 * gtk/gtkbuilderparser.c:
519 * gtk/gtkbuilderprivate.h:
520 * gtk/gtkliststore.c:
521 * tests/buildertest.c:
522 Add translatable/context and comment attributes on
523 <col> tags under a GtkListStore. Refactor parts of the
524 translation api and make it available inside gtk+ itself.
525 Update tests and example.
526 Fixes a part of #518642
528 2008-02-29 Johan Dahlin <johan@gnome.org>
531 Add missing g_return_val_if_fail checks for public API.
533 * gtk/gtkbuilderparser.c:
534 * gtk/gtkbuilderprivate.h:
535 Do not use g_error for a few more errors, instead set
536 the GError sent in through add_from_file/add_from_string.
537 * tests/buildertest.c:
538 Add a couple of new parsing tests.
539 (#519199, Pavel Syomin)
541 2008-02-29 Federico Mena Quintero <federico@novell.com>
543 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
544 refreshing an existing folder (i.e. when we are about to reload
545 its file list), turn off the folder's is_finished_loading flag.
546 Otherwise callers which do ::is_finished_loading() followed by
547 ::list_children() will get nothing.
549 2008-02-29 Cody Russell <bratsche@gnome.org>
551 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
552 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
554 2008-02-28 Matthias Clasen <mclasen@redhat.com>
556 * gtk/gtkcalendar.h: Remove trailing comma from enum to
557 make the compiler happy. (#517295, Sylvain Pasche)
559 2008-02-27 Michael Natterer <mitch@imendio.com>
569 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
570 private functions and virtual function implementations.
572 2008-02-27 Richard Hult <richard@imendio.com>
574 * gdk/quartz/GdkQuartzView.c:
575 * gdk/quartz/GdkQuartzView.h:
576 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
577 Fix performance regression for borderless transparent windows
580 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
582 * tests/testgtk.c: Revert back to r19454.
584 2008-02-27 Sven Neumann <sven@gimp.org>
586 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
587 Quartz backend, use a native Mac OS X application for the print
588 preview (bug #518624).
590 2008-02-26 Michael Natterer <mitch@imendio.com>
592 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
593 the members of info->tag_stack since they are a) gobjects and b)
594 not even owned by us, ugh... Fixes crash when deserializing fails.
596 2008-02-26 Sven Neumann <sven@gimp.org>
598 * docs/tools/shooter.c (find_toplevel_window)
599 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
600 argument passed to XQueryTree().
602 2008-02-25 Matthias Clasen <mclasen@redhat.com>
604 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
605 don't use beagle_query_add_hit_type.
607 2008-02-25 Richard Hult <richard@imendio.com>
609 * gdk/quartz/gdkevents-quartz.c
610 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
612 2008-02-24 Richard Hult <richard@imendio.com>
614 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
615 shown without gdk's control when clicking the dock icon.
617 2008-02-24 Richard Hult <richard@imendio.com>
619 * gdk/quartz/gdkprivate-quartz.h:
620 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
621 Use the subtype field for the custom event that is used to wake up
622 the mainloop so we can have other custom event types.
624 * gdk/quartz/gdkevents-quartz.c:
625 (_gdk_quartz_events_trigger_crossing_events):
626 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
627 crossing events after showing a window if necessary, to work
628 around problems with the tracking rect API.
630 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
632 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
633 wrong results on win32 because it doesn't set the printing units,
634 which affect the transformation of the cairo context
635 (#347125, Erik van Pienbroek)
637 2008-02-22 Tor Lillqvist <tml@novell.com>
639 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
641 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
643 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
644 acceptable for a module to only support the save_to_callback()
645 method if it marks itself as WRITABLE
647 2008-02-16 Matthias Clasen <mclasen@redhat.com>
649 * configure.in: Bump version
651 2008-02-16 Matthias Clasen <mclasen@redhat.com>
653 * === Released 2.13.0 ===
655 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
657 2008-02-21 Tor Lillqvist <tml@novell.com>
659 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
660 pass the format string to strftime in the C library's locale's
661 charset, not the system's. Correspondingly, the return value from
662 strftime() is in the C library's locale's charset. (#509885)
664 2008-02-20 Richard Hult <richard@imendio.com>
666 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
667 the right window level and shadow after recreating the window.
669 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
670 necessary after drawing (bug #517338).
672 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
674 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
675 call to g_type_class_unref in case of error. (#517563)
677 2008-02-18 Sven Neumann <sven@gimp.org>
679 * gtk/Makefile.am (STOCK_ICONS)
680 * gtk/stock-icons/16/gtk-page-setup.png
681 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
682 taken from GNOME icon theme.
684 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
686 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
688 * configure.in: Added Kannada (kn) to ALL_LINGUAS
690 2008-02-17 Johan Dahlin <johan@gnome.org>
692 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
693 When converting a stock item based on the label, remove the label property.
695 2008-02-17 Richard Hult <richard@imendio.com>
697 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
698 position after showing the window since the window manager might
699 not place it where we requested in the first places.
701 2008-02-17 Richard Hult <richard@imendio.com>
703 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
704 (_gdk_quartz_window_detach_from_parent),
705 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
706 the toplevel ordering list in all places where the order is
707 potentially changed. Fixes mouse focus issues for windows with
708 a transient parent set.
710 2008-02-17 Richard Hult <richard@imendio.com>
712 * gdk/quartz/gdkevents-quartz.c
713 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
714 window when event debugging is enabled.
716 2008-02-16 Richard Hult <richard@imendio.com>
718 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
719 to the scroll event (bug #516757, Paul Davis).
721 2008-02-16 Matthias Clasen <mclasen@redhat.com>
725 2008-02-16 Matthias Clasen <mclasen@redhat.com>
727 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
730 2008-02-15 Matthias Clasen <mclasen@redhat.com>
732 * gdk/Makefile.am: Don't install private headers. (#463510)
734 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
735 the installed header gdkprivate.h.
737 2008-02-15 Matthias Clasen <mclasen@redhat.com>
739 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
740 a crash with hidden, reorderable tabs. (#513230,
741 Mike Massonnet, patch by Carlos Garnacho)
743 2008-02-15 Matthias Clasen <mclasen@redhat.com>
745 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
746 Warn on duplicate action group names. (#501746, Christian
749 2008-02-15 Matthias Clasen <mclasen@redhat.com>
752 * modules/other/gail/tests/Makefile.am:
753 * modules/other/gail/libgail-util/Makefile.am:
754 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
755 builds. (#516254, Yevgen Muntyan)
757 2008-02-15 Matthias Clasen <mclasen@redhat.com>
762 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
763 instead of hardcoded target tables. (#516092, Christian Persch)
765 2008-02-15 Matthias Clasen <mclasen@redhat.com>
767 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
768 add the same target atom twice. (#516087, Christian Persch)
770 2008-02-15 Matthias Clasen <mclasen@redhat.com>
772 * tests/testfilechooser.c: Add a --backend option.
773 (#516073, Christian Persch)
775 2008-02-16 Richard Hult <richard@imendio.com>
777 * gdk/quartz/gdkprivate-quartz.h:
778 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
781 2008-02-15 Matthias Clasen <mclasen@redhat.com>
783 * configure.in: Go back to 2.13.0 as version for now,
784 as there was no consensus to do the jump.
786 * many other places: Update Since: tags.
788 2008-02-15 Matthias Clasen <mclasen@redhat.com>
790 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
792 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
794 2008-02-15 Richard Hult <richard@imendio.com>
796 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
797 instead of bounds when resizing windows.
799 2008-02-15 Matthias Clasen <mclasen@redhat.com>
801 * gdk/x11/gdkkeys-x11.c:
802 * gdk/x11/gdkcolor-x11.c:
803 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
805 2008-02-15 Matthias Clasen <mclasen@redhat.com>
807 * gdk/x11/gdktestutils-x11.c:
808 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
810 2008-02-15 Tor Lillqvist <tml@novell.com>
812 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
813 leak Registry key handles. (#516578)
815 2008-02-14 Richard Hult <richard@imendio.com>
817 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
818 makeKeyWindow unfortunately doesn't work in all cases, we must use
819 makeKeyAndOrderFront.
821 2008-02-14 Richard Hult <richard@imendio.com>
823 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
824 (gdk_window_hide), (gdk_window_fullscreen),
825 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
826 the window is hidden.
828 2008-02-14 Richard Hult <richard@imendio.com>
830 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
831 resizing to be consistent and to avoid introducing an internal
832 transform in the view.
834 2008-02-14 Richard Hult <richard@imendio.com>
836 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
839 2008-02-14 Johan Dahlin <johan@gnome.org>
842 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
844 2008-02-13 Richard Hult <richard@imendio.com>
846 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
847 Remove unused variables.
848 (gtk_clipboard_set_contents),
849 (gtk_clipboard_get_owner), (clipboard_unset),
850 (gtk_clipboard_request_targets): Notify the previous clipboard
851 owner when the owner changes. Fixes bug #493406.
853 2008-02-13 Richard Hult <richard@imendio.com>
855 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
856 the return value (return number of colors that failed), and handle
858 (gdk_colormap_free_colors): Fix typo in comment.
860 2008-02-13 Kristian Rietveld <kris@imendio.com>
862 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
863 queue a redraw if the rubber banding has actually been active.
865 2008-02-12 Matthias Clasen <mclasne@redhat.com>
867 * gtk/gtkpapersize.c:
868 * gtk/gtkprintoperation.c:
869 * gtk/gtkvolumebutton.c:
870 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
871 out by Behdad Esfahbod.
873 2008-02-12 Federico Mena Quintero <federico@novell.com>
875 Merged from gtk-2-12:
877 Don't focus the file list when shortcuts get activated. This
878 removes a lot of ambiguity in when the file selection should
879 change, and makes the overall code flow simpler.
881 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
882 file/save dialog clears the filename entry when changing
885 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
886 focus should not go to the file list when a shortcut is activated.
888 * gtk/gtkfilechooserdefault.c
889 (shortcuts_activate_volume_mount_cb): Don't focus the file list
890 (shortcuts_activate_get_info_cb): Likewise.
892 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
893 the file list (this was the last place where we would focus the
894 file list explicitly). If you are in the location entry, for
895 example, you don't want Alt-Home to take you to the file list; you
896 just want the current folder to change. Thanks to Olle Bergkvist
897 <olle.bergkvist@yahoo.se> for pointing this out in
898 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
899 (focus_browse_tree_view_if_possible): Removed.
901 2008-02-12 Matthias Clasen <mclasen@redhat.com>
903 Skip exensions when selecting filenames in the save-as dialog.
904 (#362516, Carlos Garnacho)
906 * gtk/gtkfilechooserentry.h:
907 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
908 New function to skip the extension part when selecting a filename.
909 (_gtk_file_chooser_entry_set_base_folder): Use it here.
911 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
914 2008-02-12 Matthias Clasen <mclasen@redhat.com>
916 * gtk/gtkiconview.c: Fix state change reporting for
917 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
919 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
921 * gtk/gtkrecentchooser.c:
922 (gtk_recent_chooser_class_init): Set the default value of the
923 :show-not-found property to TRUE, as every implementation sets
926 * gtk/gtkrecentchooserdefault.c:
927 (_gtk_recent_chooser_default_init): Sync show_tips to the
928 default value of the :show-tips property.
930 2008-02-12 Matthias Clasen <mclasen@redhat.com>
932 * gtk/gtkclipboard-quartz.c:
934 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
937 2008-02-12 Kristian Rietveld <kris@imendio.com>
939 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
940 (gtk_tree_view_real_toggle_cursor_row): guard against people
941 deleting the row in question in the selection-changed callback.
942 (#514621, Andreas Koehler).
944 2008-02-12 Matthias Clasen <mclasen@redhat.com>
946 * gtk/*.c: Unify the handling of various "Enter" keysyms
947 all over the place. (#515047, Christian Persch)
949 2008-02-12 Matthias Clasen <mclasen@redhat.com>
951 * gtk/gtkfilesystemmodel.c:
953 * gtk/gtkwidget.c: Use g_value_set_static_string() where
954 appropriate. (#515042, Christian Persch)
956 2008-02-12 Matthias Clasen <mclasen@redhat.com>
958 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
960 2008-02-12 Matthias Clasen <mclasen@redhat.com>
962 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
964 2008-02-12 Matthias Clasen <mclasen@redhat.com>
966 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
967 (recent_model_sort_drag_data_get):
968 (search_model_sort_drag_data_get):
969 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
970 * gtk/gtkpathbar.c (button_drag_data_get_cb):
971 Use gtk_selection_data_set_uris() instead of doing it
972 by hand. (#514890, Christian Persch)
974 2008-02-12 Michael Natterer <mitch@imendio.com>
976 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
977 gtk_get_current_event_time().
979 2008-02-12 Michael Natterer <mitch@imendio.com>
981 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
982 gtk_window_get_key_hash() to get the hash instead of manually
983 fiddling with quarks and gtk_window_keys_changed(). Also add
984 g_return_if_fail() to this public function.
986 2008-02-11 Matthias Clasen <mclasen@redhat.com>
988 Support keynav in status icons. (#473786, Li Yuan)
990 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
992 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
994 2008-02-11 Kristian Rietveld <kris@imendio.com>
996 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
997 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
998 wrt. link deletion from list; contination of fix for #503569.
1000 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1002 * gtk/gtkrecentchoosermenu.c:
1003 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1004 on the placeholder menu item.
1006 * tests/testrecentchoosermenu.c:
1007 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1008 whether the placeholder menu item gets shown.
1010 2008-02-10 Cody Russell <bratsche@gnome.org>
1012 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1013 Check the return value of _gtk_file_chooser_get_file_system () for
1014 NULL before passing it to gtk_file_system_path_to_uri ().
1015 (#515667, Francesco Montorsi)
1017 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1019 * gtk/gtkbuilder.c: Improve the documentation for
1020 gtk_builder_connect_signals. (#514471)
1022 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1024 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1027 2008-02-08 Cody Russell <bratsche@gnome.org>
1029 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1030 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1032 2008-02-08 Richard Hult <richard@imendio.com>
1034 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1035 delta from the NSEvent for now, generating multiple scroll events
1036 results in a lot of events getting queued up and things get really
1039 2008-02-08 Sven Herzberg <sven@imendio.com>
1041 Adjust the code to match the documentation, examples, "common sense"
1042 and existing applications.
1044 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1045 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1048 2008-02-07 Cody Russell <bratsche@gnome.org>
1050 * gdk/win32/gdkevents-win32.c
1051 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1052 of a block that were causing compile problems on old
1053 compilers. (#515053, reported by Kazuki IWAMOTO)
1055 2008-02-07 Michael Natterer <mitch@imendio.com>
1062 * gtk/gtkmenushell.c
1064 * gtk/gtkoptionmenu.c
1068 * gtk/gtkradiomenuitem.c
1070 * gtk/gtkscrolledwindow.c
1071 * gtk/gtksocket.c: remove g_return_if_fail() from private
1072 functions and virtual function implementations.
1074 2008-02-07 Michael Natterer <mitch@imendio.com>
1077 * gtk/gtkassistant.c
1081 * gtk/gtkcellrenderercombo.c
1084 * gtk/gtkdrawingarea.c
1085 * gtk/gtkentrycompletion.c
1091 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1092 functions and virtual function implementations.
1094 2008-02-07 Christian Persch <chpe@gnome.org>
1096 * gdk/gdkpixbuf-render.c:
1097 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1098 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1099 otherwise there will be random pixel values in the semi-transparent
1100 area of the pixbuf within the mask. Bug #487865.
1102 2008-02-06 Cody Russell <bratsche@gnome.org>
1104 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1105 otherwise things get wonky when you click on a menu. This fixes
1106 a regression caused in #505928. Thanks to Tor for spotting this
1109 2008-02-06 Michael Natterer <mitch@imendio.com>
1111 * gtk/gtkcontainer.c
1118 * gtk/gtkmenushell.c
1120 * gtk/gtkseparatortoolitem.c
1122 * gtk/gtktextlayout.c
1123 * gtk/gtktoggletoolbutton.c
1124 * gtk/gtktoolbutton.c
1127 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1130 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1132 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1133 Allow to store half-open ranges.
1135 2008-02-05 Cody Russell <bratsche@gnome.org>
1137 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1138 down the stack until we get to a window that is mapped.
1139 Otherwise hiding a window will cause all windows in the app
1140 to be blocked. (#514643)
1142 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1144 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1145 directory, avoiding one source of invalid caches that has been
1146 spotted in the wild.
1148 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1150 * gtk/updateiconcache.c: Fix the previous commit to compile.
1152 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1154 * gtk/updateiconcache.c: Install a printerr handler that
1155 prepends the program name, since gtk-update-icon-cache output
1156 often appears in the middle of other output, e.g. rpm update logs.
1158 2008-02-05 Cody Russell <bratsche@gnome.org>
1160 * gdk/win32/gdkprivate-win32.h
1161 * gdk/win32/gdkevents-win32.c
1162 * gdk/win32/gdkwindow-win32.c
1163 * gdk/win32/gdkwindow-win32.h
1164 * gdk/win32/gdkwin32.h:
1165 Modal window rework. (#455627 and #511111)
1167 2008-02-04 Michael Natterer <mitch@imendio.com>
1169 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1170 g_return_if_fail() if the cell is not part of the combo instead of
1171 crashing in the next line.
1173 2008-02-01 Cody Russell <cody@jhu.edu>
1175 * modules/engines/ms-windows/xp_theme.[ch]
1176 * modules/engines/ms-windows/xp_theme_defs.h
1177 * modules/engines/ms-windows/msw_rc_style.c
1178 * modules/engines/ms-windows/msw_theme_main.c
1179 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1180 attempted to stylize more like the rest of the gtk+ stack's code.
1182 2008-02-01 Michael Natterer <mitch@imendio.com>
1184 * tests/testgtk.c: initialize GdkColor structs to fix warning
1185 about uninitialized "pixel" member.
1187 * tests/testactions.c: connect the toolbar_style() callback so it
1188 does something useful and doesn't warn about being defined but not
1191 2008-01-31 Cody Russell <bratsche@gnome.org>
1193 * gdk/win32/gdkevents-win32.c:
1194 Refactored some of the window hiding/showing code from
1195 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1196 under WM_ACTIVATE was causing the application to go into
1197 a weird state when the user right-clicked on the taskbar
1198 entry of a window that was minimized. (#505928)
1200 2008-01-31 Cody Russell <bratsche@gnome.org>
1202 * gtk/gtkpaned.c (gtk_paned_set_position):
1203 Change queue_resize() to queue_draw(), and add a check for
1204 child2 != NULL in case someone calls this before there is
1205 a child packed in there. (#144269 again)
1207 2008-01-31 Sven Neumann <sven@gimp.org>
1209 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1210 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1212 2008-01-31 Sven Neumann <sven@gimp.org>
1214 * gdk/directfb/gdkdisplay-directfb.c
1215 * gdk/directfb/gdkdrawable-directfb.c
1216 * gdk/directfb/gdkprivate-directfb.h
1217 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1218 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1220 2008-01-31 Richard Hult <richard@imendio.com>
1222 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1223 issues with undecorated windows. Revert the change done on
1224 2008-01-25 and fix it by using the view's bounds instead. The
1225 bounds will always be up to date when setting up the tracking
1226 rect, so this should be more robust.
1228 2008-01-30 Sven Neumann <sven@gimp.org>
1230 * gdk/directfb/gdkdrawable-directfb.c
1231 * gdk/directfb/gdkwindow-directfb.c
1232 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1233 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1234 DirectFB's debugging system
1236 2008-01-30 Sven Neumann <sven@gimp.org>
1238 * gdk/directfb/gdkdirectfb.h
1239 * gdk/directfb/gdkdisplay-directfb.c
1240 * gdk/directfb/gdkdrawable-directfb.c
1241 * gdk/directfb/gdkim-directfb.c
1242 * gdk/directfb/gdkimage-directfb.c
1243 * gdk/directfb/gdkinput-directfb.c
1244 * gdk/directfb/gdkmain-directfb.c
1245 * gdk/directfb/gdkpixmap-directfb.c
1246 * gdk/directfb/gdktestutils-directfb.c
1247 * gdk/directfb/gdkvisual-directfb.c
1248 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1249 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1250 errors and has some cleanups.
1252 2008-01-30 Michael Natterer <mitch@imendio.com>
1254 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1255 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1258 * gtk/updateiconcache.c (add_string): cast const gchar* to
1259 gpointer when inserting in a GHashTable.
1261 * tests/testcalendar.c (calendar_detail_cb): remove const from
1262 return value since it's a newly allocated string.
1264 (calendar_update_details): free the detail.
1266 2008-01-29 Johan Dahlin <johan@gnome.org>
1268 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1270 * demos/gtk-demo/demo.ui:
1271 Move the about dialog to the glade file, add accessible tags
1272 examples to the markup file.
1274 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1276 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1277 layout, fixes #512375.
1279 2008-01-28 Michael Natterer <mitch@imendio.com>
1281 * gtk/gtktextchild.c
1282 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1284 2008-01-28 Michael Natterer <mitch@imendio.com>
1286 * demos/gtk-demo/builder.c (about_activate): use
1287 gtk_about_dialog_set_program_name() instead of the deprecated
1290 2008-01-28 Michael Natterer <mitch@imendio.com>
1292 * gtk/gtktextchild.c
1293 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1296 2008-01-26 Johan Dahlin <johan@gnome.org>
1298 * tests/Makefile.am:
1299 * tests/textbuffertest.c:
1300 Rename textbuffer test and port it to the new test framework
1302 2008-01-25 Johan Dahlin <johan@gnome.org>
1304 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1305 unsetting of GTK_MODULES.
1307 * gtk/gtk-builder-convert
1308 (GtkBuilderConverter._convert_adjustment): Handle the case where
1309 there is no child text node.
1310 (GtkBuilderConverter): Allow xml comments in most places.
1312 2008-01-25 Johan Dahlin <johan@gnome.org>
1314 * gtk/gtk-builder-convert
1315 (GtkBuilderConverter._convert_combobox_items): Remove the items
1316 even if there are no items set.
1317 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1318 signals and tooltips for all menu items subclasses and
1319 GtkImageMenuItem:label.
1320 Makes it possible to fully convert and run Jokosher.glade.
1322 2008-01-25 Johan Dahlin <johan@gnome.org>
1324 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1325 (gtk_widget_buildable_get_internal_child), (free_action),
1326 (free_relation), (gtk_widget_buildable_parser_finished),
1327 (accessibility_start_element),
1328 (gtk_widget_buildable_custom_tag_start),
1329 (gtk_widget_buildable_custom_finished):
1330 Implement accessible support, fixes #454653.
1332 * gtk/gtk-builder-convert:
1333 Add support for migrating old glade files
1335 * tests/buildertest.c: (test_widget), (test_file):
1336 Add accessible tests and imprve the test_file function to display
1337 toplevels and run dialogs.
1339 2008-01-25 Richard Hult <richard@imendio.com>
1341 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1342 didn't change, fixes focus event issues for undecorated windows.
1344 2008-01-25 Richard Hult <richard@imendio.com>
1346 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1347 const and remove unused variables).
1349 2008-01-25 Michael Natterer <mitch@imendio.com>
1352 * gtk/gtkcellrenderer.h
1353 * gtk/gtkimcontext.h
1357 * gtk/gtktreeprivate.h
1358 * gtk/gtktreeviewcolumn.h
1359 * gtk/gtkwidget.h: add const to constant structs which are passed
1360 into GTK+. Also add some forgotten const for const strings.
1364 * gtk/gtkcellrenderer.c
1365 * gtk/gtkimcontext.c
1370 * gtk/gtktreeviewcolumn.c
1371 * gtk/gtkwidget.c: changed accordingly.
1373 2008-01-25 Sven Herzberg <sven@imendio.com>
1375 Reviewed by Johan Dahlin.
1377 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1378 this is called with something that's not a GtkUIManager
1380 2008-01-24 Johan Dahlin <johan@gnome.org>
1382 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1383 Chain up to parent, so widgets can have internal children.
1385 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1387 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1390 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1392 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1394 Use pango_layout_set_height() for calendar details (#506049).
1396 * configure.in: Require 1.19.3 for pango_layout_set_height().
1397 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1399 2008-01-18 Johan Dahlin <johan@gnome.org>
1401 * gtk/gtk-builder-convert (get_property_node): New method
1402 (GtkBuilderConverter._create_object): Conditionally take a node as
1403 a property value, so don't lose translate/context attributes if they
1405 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1406 property values instead of strings.
1407 (#509153, Erik van Pienbroek)
1409 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1411 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1413 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1414 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1415 * tests/testcalendar.c: Duplicate calendar details before returning.
1417 2008-01-16 Christian Persch <chpe@gnome.org>
1419 * gtk/gtkwidget.c: Store the event mask and extension event mode
1420 directly in the gobject data pointer, instead of in an allocated
1423 2008-01-16 Michael Natterer <mitch@imendio.com>
1425 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1426 gdk-pixbuf now uses gio functions.
1428 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1430 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1431 the notify::model signal. (#509819, David Zeuthen)
1433 2008-01-15 Michael Natterer <mitch@imendio.com>
1441 * gdk/gdkwindow.h: made more struct pointer and array parameters
1442 const. GDK should now be constified as far as possible without
1443 breaking source compatibility. Includes some minor cleanup like
1444 indentation and s/nfoo/n_foo/ (bug #508544).
1450 * gdk/gdkregion-generic.c
1452 * gdk/directfb/gdkdisplay-directfb.c
1453 * gdk/directfb/gdkwindow-directfb.c
1454 * gdk/quartz/gdkdisplay-quartz.c
1455 * gdk/quartz/gdkwindow-quartz.c
1456 * gdk/win32/gdkdisplay-win32.c
1457 * gdk/win32/gdkwindow-win32.c
1458 * gdk/x11/gdkdisplay-x11.c
1459 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1461 2008-01-14 Michael Natterer <mitch@imendio.com>
1463 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1466 (gtk_rc_parse_any): change variables to const and introduce
1467 another local variable to fix const warnings.
1469 2008-01-14 Michael Natterer <mitch@imendio.com>
1471 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1472 of gdk_screen_get_font_options() to gpointer to get rid of const
1475 2008-01-14 Michael Natterer <mitch@imendio.com>
1477 * tests/testdnd.c (source_drag_data_get): fix another call to
1478 gtk_selection_data_set().
1480 2008-01-14 Michael Natterer <mitch@imendio.com>
1482 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1485 2008-01-14 Michael Natterer <mitch@imendio.com>
1487 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1489 2008-01-14 Michael Natterer <mitch@imendio.com>
1491 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1492 "uris" to guchar* when passing it to gtk_selection_data_set().
1494 2008-01-14 Michael Natterer <mitch@imendio.com>
1500 * gdk/gdkinternals.h
1502 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1503 parameters const (bug #508544).
1508 * gdk/gdkrectangle.c
1509 * gdk/gdkpolyreg-generic.c
1510 * gdk/gdkregion-generic.c
1511 * gdk/directfb/gdkcolor-directfb.c
1512 * gdk/directfb/gdkgc-directfb.c
1513 * gdk/directfb/gdkgeometry-directfb.c
1514 * gdk/directfb/gdkwindow-directfb.c
1515 * gdk/quartz/gdkcolor-quartz.c
1516 * gdk/quartz/gdkgc-quartz.c
1517 * gdk/quartz/gdkgeometry-quartz.c
1518 * gdk/quartz/gdkwindow-quartz.c
1519 * gdk/win32/gdkcolor-win32.c
1520 * gdk/win32/gdkgc-win32.c
1521 * gdk/win32/gdkgeometry-win32.c
1522 * gdk/win32/gdkprivate-win32.h
1523 * gdk/win32/gdkwindow-win32.c
1524 * gdk/x11/gdkcolor-x11.c
1525 * gdk/x11/gdkgc-x11.c
1526 * gdk/x11/gdkgeometry-x11.c
1527 * gdk/x11/gdkmain-x11.c
1528 * gdk/x11/gdkprivate-x11.h
1529 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1531 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1534 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1536 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1538 * gtk/gtktoolitem.c: Add comment expaining name choice for
1539 gtk_tool_item_toolbar_reconfigured.
1541 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1543 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1544 implementations to notify its children, when some aspect of their
1545 configuration changed (#509042).
1547 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1548 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1549 Rename _gtk_tool_item_toolbar_reconfigured.
1551 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1553 Include <gtk/gtktoolshell.h> from gtk.h.
1555 * gtk/gtk.h: Add gtktoolshell.h
1557 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1559 Print angle brackets arround e-mail addresses in the about dialog
1560 (#409520, Mariano Suárez-Alvarez).
1562 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1564 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1566 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1567 special casing so test widgets are always queues for destruction
1570 * gtk/tests/testing.c: removed bits left-over from testing without
1573 2008-01-10 Tor Lillqvist <tml@novell.com>
1575 * modules/other/gail/libgail-util/Makefile.am
1576 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1579 2008-01-10 Tor Lillqvist <tml@novell.com>
1581 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1582 uses gtkprintunixdialog API.
1584 2008-01-10 Tor Lillqvist <tml@novell.com>
1586 * gdk/win32/gdkdisplay-win32.c
1587 * gdk/win32/gdkglobals-win32.c
1588 * gdk/win32/gdkprivate-win32.h
1589 * gdk/win32/gdkscreen-win32.c
1590 * gdk/win32/gdkwindow-win32.c: Implement
1591 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1592 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1595 2008-01-10 Cody Russell <bratsche@gnome.org>
1597 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1598 Properly ref/unref windows and parents. (#506769)
1600 2008-01-10 Richard Hult <richard@imendio.com>
1602 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1603 (gdk_window_hide), (move_resize_window_internal): Move the
1604 tracking rect workaround from here...
1606 * gdk/quartz/GdkQuartzWindow.c:
1607 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1608 movements during showing/hiding operations. Fixes bug #508516.
1610 2008-01-10 Michael Natterer <mitch@imendio.com>
1612 * gdk/directfb/gdkscreen-directfb.c
1613 (gdk_screen_get_monitor_width_mm)
1614 (gdk_screen_get_monitor_height_mm)
1615 (gdk_screen_get_monitor_plug_name): add these functions to make
1618 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1620 * gtk/gtkrecentchoosermenu.c:
1621 (idle_populate_func), (idle_populate_clean_up): Fix possible
1622 recursion by resetting the idle source id. (#507605, William
1625 2008-01-10 Kristian Rietveld <kris@imendio.com>
1627 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1628 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1629 avoid valgrind warnings. (#507751, patch from Christian Persch).
1631 2008-01-10 Kristian Rietveld <kris@imendio.com>
1633 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1634 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1636 2008-01-10 Kristian Rietveld <kris@imendio.com>
1638 Fix #477175, reported by Juri Pakaste.
1640 * gtk/gtktreeprivate.h:
1641 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1642 tree_view->priv->dy here directly, just calculate the new value
1643 and set it on the adjustment,
1644 (gtk_tree_view_adjustment_changed): add guards to not call
1645 gtk_tree_view_dy_to_top_row() if we are currently in
1646 gtk_tree_view_top_row_to_dy(),
1647 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1648 coordinates, not tree coordinates,
1649 (gtk_tree_view_real_start_editing): add cast.
1651 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1652 position of the editable in the "create new row and start editing"
1655 2008-01-09 Michael Natterer <mitch@imendio.com>
1657 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1660 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1661 * gtk/gtkicontheme.c (theme_list_contexts)
1662 (gtk_icon_theme_lookup_icon)
1663 * gtk/gtkimcontextsimple.c (beep_window)
1664 * gtk/gtklinkbutton.c (set_link_color)
1665 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1668 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1669 variable and add const to another to fix a warning.
1671 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1673 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1674 the current page. (#499951, Andreas Sandberg)
1676 2008-01-06 Johan Dahlin <johan@gnome.org>
1678 * gtk/gtkspinbutton.c: Declare value in the example code for
1679 GtkSpinButton::output, as pointed out by Anders Carlsson.
1681 2008-01-06 Christian Persch <chpe@gnome.org>
1683 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1684 and remove an obsolete event box. Bug #506760.
1686 2008-01-06 Johan Dahlin <johan@gnome.org>
1688 * tests/buildertest.c (test_domain):
1689 Update, GtkBuilder::translation-domain is no longer set
1691 * gtk/gtkbuilderparser.c (parse_interface):
1692 Allow domains to be overridden in <interface>'s if a translation-domain
1693 is set in the builder.
1694 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1695 of the builder, make the domain set in the <interface> apply only to strings
1697 (#496831, Ryan Lortie)
1699 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1702 * gtk/gtktreestore.c (tree_model_end_element):
1703 Remove an unused variable
1705 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1707 * gtk/gtkspinbutton.c: Document the ::output signal and
1708 add an example. (#507566, example by Owen Taylor)
1710 2008-01-06 Johan Dahlin <johan@gnome.org>
1712 * gtk/gtkcellrenderercombo.c:
1713 (gtk_cell_renderer_combo_get_property),
1714 (gtk_cell_renderer_combo_set_property):
1715 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1716 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1717 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1718 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1719 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1720 (gtk_text_buffer_get_property):
1721 * gtk/gtktextview.c: (gtk_text_view_set_property):
1722 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1723 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1724 (gtk_tool_button_get_property):
1725 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1726 (gtk_tool_item_get_property):
1727 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1728 * gtk/gtkwidget.c: (gtk_widget_set_property):
1729 * gtk/gtkwindow.c: (gtk_window_set_property):
1730 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1733 2008-01-06 Johan Dahlin <johan@gnome.org>
1735 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1736 Make sure that --root works for toplevel widgets.
1737 (#491847, Phil Lello)
1739 2008-01-05 Johan Dahlin <johan@gnome.org>
1741 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1742 to make sure that make test-report works properly
1744 2008-01-05 Christian Persch <chpe@gnome.org>
1746 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1747 GType as integer through gpointer. Bug #507395.
1749 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1751 Avoid some compiler warnings (#507000).
1753 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1754 for value argument of _gtk_builder_flags_from_string.
1755 * gtk/gtkwidget.c: Don't alias the child pointer passed
1756 to gdk_window_get_user_data.
1758 2008-01-04 Michael Natterer <mitch@imendio.com>
1760 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1761 to set the time in the returned GdkTimeCoords.
1763 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1765 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1766 correct comparison function (kudos to Christian Persch and
1767 Claudio Saavedra for spotting this)
1769 * gtk/gtkrecentchooserutils.c:
1770 (sort_recent_items_mru),
1771 (sort_recent_items_lru): Ditto as above.
1773 2008-01-03 Johan Dahlin <johan@gnome.org>
1775 * tests/defaultvaluetest.c: Make it pass again.
1777 2008-01-02 Johan Dahlin <johan@gnome.org>
1779 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1780 make it pass on Ubuntu.
1781 (main): Use gtk_test_list_all_types () instead of providing our
1783 And it no longer passes.
1785 2007-12-30 Johannes Schmid <jhs@gnome.org>
1787 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1788 Also reorder menu when reordering tabs by drag & drop
1791 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1792 Add a menu to one of the notebooks to have a test-case for
1793 the change mentioned above.
1795 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1797 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1799 2007-12-31 Christian Persch <chpe@gnome.org>
1801 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1802 Plug a mem leak. Bug #506107.
1804 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1806 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1807 icon cache api change. (#506135, Kazuki Iwamoto)
1809 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1811 Consider "wide-separators" and "separator-height" style properties:
1812 The separator is drawn using gtk_paint_box instead of cairo, when
1813 "wide-separators" is set. Also do not highlight details for previous
1814 or next month, if their day matches the selected day. (#339540)
1816 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1817 in gtk_calendar_size_request and calendar_paint_day
1818 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1819 for selected detail separators in GtkCalendar.
1821 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1823 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1825 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1826 a local variable instead in gtk_calendar_size_request.
1828 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1830 * tests/defaultvaluetest.c: Add enough exclusions to make the
1833 2007-12-28 Christian Persch <chpe@gnome.org>
1835 * modules/other/gail/Makefile.am:
1836 * modules/other/gail/tests/*:
1837 * configure.in: Merge tests from standalone gail. Bug #504568.
1839 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1841 * gtk/gtkclipboard.c: Make the finalizer work when display is
1844 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1846 Draw bottom shadow of GtkCalender headings. (#506113)
1848 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1850 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1852 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1855 2007-12-28 Christian Persch <chpe@gnome.org>
1857 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1858 a mem leak. Bug #506096.
1860 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1863 * gtk/gtktreeview.c:
1864 * gtk/gtkprintoperation.c:
1865 * gtk/gtkprogressbar.c:
1866 * gtk/gtkmessagedialog.c:
1867 * gtk/gtknotebook.c:
1871 * gtk/gtklinkbutton.c:
1872 * gtk/gtkmenu.c: More default property value corrections.
1874 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1876 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1877 accel_group unless it is set.
1879 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1881 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1883 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1885 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1886 shadow-type properties.
1888 * gtk/gtkfontsel.c: Fix the default values of several properties.
1890 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1893 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1895 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1898 2007-12-28 Johan Dahlin <johan@gnome.org>
1900 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1901 (gtk_dialog_buildable_custom_tag_start): Chain up.
1902 This makes it possible to have accelerators tags on GtkDialog
1905 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1907 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1908 are shown within the widget, or just as tooltip. (#339540)
1910 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1911 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1912 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1915 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1917 Try more decent appearance of calendar details separator. (#339540)
1919 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1920 and make it short by one pixel on each side.
1922 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1924 Apply trivial code-style changes from attachement 101101. (#339540)
1926 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1928 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1930 Restructure testcalendar for testing calendar details. (#339540)
1932 * tests/testcalendar.c: Push code arround for testing calendar details.
1934 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1936 Implement GtkTooltip API for calendar details. (#339540)
1938 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1939 Remember detail overflows in calendar_paint_day to show the tooltip
1940 only when neccessary.
1942 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1944 Without setting "detail-width-chars" and "detail-height-rows"
1945 properties not only the widget has to be redrawn on certain
1946 conditions, but also its size must be recalculated. (#339540)
1948 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1949 that function instead of gtk_widget_queue_draw.
1951 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1953 Consider details for size-request and expose-event. (#339540)
1955 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1956 is_color_attribute functions. Change gtk_calendar_size_request
1957 and calendar_paint_day to consider and show calender details.
1959 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1961 * gtk/gtkcombobox.c: Introduce local priv variables to
1964 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1966 * gtk/gtkcombobox.c: Correct the default value for the
1967 tearoff-title property.
1969 * gtk/gtkcellrenderertext.c: Fix the default value for the
1970 wrap-mode and font-scale properties.
1972 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1975 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1977 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1978 defines. (#505708, MINAMI Hirokazu)
1980 2007-12-27 Christian Persch <chpe@gnome.org>
1982 * Makefile.am: Install gail.pc. Bug #505859.
1984 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1986 Add infrastructure for GtkCalendar details. (#339540)
1988 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1989 Add "detail-width-chars" and "detail-height-rows" properties,
1990 and gtk_calendar_set_detail_func function.
1992 2007-12-27 Xan Lopez <xan@gnome.org>
1995 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1997 Add gtk_border_new to avoid memory allocator confusions when using
1998 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2000 2007-12-27 Christian Persch <chpe@gnome.org>
2002 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2003 bug #504886 not to read unitialised memory.
2005 2007-12-26 Xan Lopez <xan@gnome.org>
2007 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2008 modification of the internal frame contents to decide if we have
2009 extra children. (#415677)
2011 2007-12-22 Christian Persch <chpe@gnome.org>
2013 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2015 2007-12-25 Christian Persch <chpe@gnome.org>
2017 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2018 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2021 2007-12-25 Christian Persch <chpe@gnome.org>
2023 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2025 2007-12-25 Christian Persch <chpe@gnome.org>
2027 * modules/other/gail/*.[ch]: Remove relocations from the atk
2028 factories. Remove unused gail_foo_new() functions. Fix object
2029 instantiation to be derivation safe by moving initialisation code
2030 from the removed gail_foo_new() functions to the
2031 AtkObjectClass::initialize implementation. Bug #505226.
2033 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2035 * modules/other/gail/gailentry.c:
2036 * modules/other/gail/gailimage.c:
2037 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2038 uses of clipboards and settings. (#504722, Christian Persch)
2040 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2042 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2045 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2047 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2048 use the time and button information from the event. (#504901,
2051 2007-12-23 Cody Russell <bratsche@gnome.org>
2053 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2054 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2055 Fixes a regression caused by #164537 patch where transient
2056 windows that are hidden get shown (incorrectly) when their
2057 parents are minimized. (#504984)
2059 2007-12-22 Christian Persch <chpe@gnome.org>
2061 * modules/other/gail/gailcell.c:
2062 * modules/other/gail/gailcontainercell.c:
2063 * modules/other/gail/gailexpander.c:
2064 * modules/other/gail/gailtextcell.c:
2065 * modules/other/gail/gailtextview.c:
2066 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2068 2007-12-22 Christian Persch <chpe@gnome.org>
2070 * modules/other/gail/*.c: Include config.h. Bug #504720.
2072 2007-12-22 Christian Persch <chpe@gnome.org>
2074 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2075 handwritten get_type functions. Bug #504661.
2077 2007-12-23 Xan Lopez <xan@gnome.org>
2079 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2080 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2082 Patch by Sadrul Habib Chowdhury (#504804)
2084 2007-12-22 Christian Persch <chpe@gnome.org>
2086 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2087 #504645, patch by Li Yuan.
2089 2007-12-22 Christian Persch <chpe@gnome.org>
2091 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2093 2007-12-22 Christian Persch <chpe@gnome.org>
2095 * modules/other/gail/gail.c:
2096 * modules/other/gail/gailbutton.c:
2097 * modules/other/gail/gailcell.c:
2098 * modules/other/gail/gailcombo.c:
2099 * modules/other/gail/gailcombo.h:
2100 * modules/other/gail/gailcombobox.c:
2101 * modules/other/gail/gailentry.c:
2102 * modules/other/gail/gailexpander.c:
2103 * modules/other/gail/gailmenuitem.c:
2104 * modules/other/gail/gailnotebook.c:
2105 * modules/other/gail/gailnotebookpage.c:
2106 * modules/other/gail/gailnotebookpage.h:
2107 * modules/other/gail/gailoptionmenu.c:
2108 * modules/other/gail/gailrange.c:
2109 * modules/other/gail/gailtextview.c:
2110 * modules/other/gail/gailtreeview.c:
2111 * modules/other/gail/gailtreeview.h:
2112 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2115 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2117 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2120 2007-12-21 Richard Hult <richard@imendio.com>
2122 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2123 Plug leak of destroyed subviews, fixes bug #504753.
2125 2007-12-20 Johan Dahlin <johan@gnome.org>
2127 * tests/Makefile.am (TEST_PROGS):
2128 * tests/defaultvaluetest.c: Add a test for default values,
2129 based on program by Christan Perch
2131 2007-12-20 Johan Dahlin <johan@gnome.org>
2133 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2134 Refactor to avoid some duplication.
2135 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2136 Fixes #504749, Yuri Pimenov
2138 2007-12-20 Kristian Rietveld <kris@imendio.com>
2140 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2141 the build work again on systems without xrandr 1.2.
2143 2007-12-20 Christian Persch <chpe@gnome.org>
2146 * modules/other/gail/libgail-util/Makefile.am:
2147 Keep the same libtool version as the standalone libgail-util had.
2150 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2152 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2154 2007-12-20 Alexander Larsson <alexl@redhat.com>
2156 * gdk/x11/gdkapplaunchcontext-x11.c:
2157 Update for gio API changes
2159 2007-12-20 Richard Hult <richard@imendio.com>
2161 * gdk/quartz/GdkQuartzWindow.c:
2162 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2163 processing events after changing the size.
2165 2007-12-20 Richard Hult <richard@imendio.com>
2167 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2168 Add stub for quartz to fix build.
2170 2007-12-20 Christian Persch <chpe@gnome.org>
2172 * modules/other/gail/Makefile.am:
2173 * modules/other/gail/gailimage.c: (gail_image_class_init),
2174 (gail_image_init), (elide_underscores), (gail_image_get_name),
2175 (atk_image_interface_init), (gail_image_finalize):
2176 * modules/other/gail/gailimage.h:
2177 R modules/other/gail/gailintl.h:
2178 * po/POTFILES.skip: Use the stock item's label as the name of the
2179 accessible in gailimage.c. Bug #504246.
2181 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2183 Avoid some compiler warnings and remove obsolete code. (#339540)
2185 * gtk/gtkcalendar.c: Change week and year variable in
2186 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2187 0" block from calendar_paint_day: The feature in question is handled
2188 few lines above. Cast data returned by gtk_selection_data_get_text()
2189 to (gchar*) in gtk_calendar_drag_data_received.
2191 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2193 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2195 2007-12-19 Johan Dahlin <johan@gnome.org>
2197 * tests/buildertest.c (test_object_properties):
2198 Add another call to gtk_builder_add_string after using
2199 delayed properties, as reported in #504393 but already
2202 2007-12-18 Christian Persch <chpe@gnome.org>
2205 * docs/reference/Makefile.am:
2206 * docs/reference/libgail-util/*:
2207 * gail-uninstalled.pc.in:
2209 * modules/Makefile.am:
2210 * modules/other/Makefile.am:
2211 * modules/other/gail/*:
2212 * modules/other/gail/libgail-util/*:
2213 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2215 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2217 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2218 * gdk/win32/gdkproperty-win32.c:
2219 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2221 * gtk/gtkimmodule.[hc]:
2222 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2223 look at the gtk-im-module setting, and listen for changes to the
2224 setting. (#502446, Akira Tagoh)
2226 2007-12-17 Kristian Rietveld <kris@imendio.com>
2228 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2229 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2230 to NULL as soon as it's destroyed. (#496546, patch from
2233 2007-12-17 Kristian Rietveld <kris@imendio.com>
2235 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2236 always determine what arrow to show if show_sort_indicator is true.
2237 (#352738, Chris Vine).
2239 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2241 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2244 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2245 gtk_container_foreach in get_child_panes.
2247 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2249 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2251 Plug leak: When reordering the info in the list the old node is
2252 removed but not freed. (#503569)
2254 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2256 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2257 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2258 are deprecated since DirectFB 1.0.0. If compiling with an older
2259 version define the new type name to the old types. Fixes bug #503190.
2261 2007-12-14 Ray Strode <rstrode@redhat.com>
2263 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2264 instead of g_signal_connect_after (..., "realize", ...) as an
2265 alternative to gtk_widget_realize () (bug 503537).
2267 2007-12-14 Michael Natterer <mitch@imendio.com>
2269 * gdk/gdkinternals.h
2270 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2273 * gdk/gdkapplaunchcontext.c
2274 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2275 header already includes everything now.
2277 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2279 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2280 next stable release shall be 2.16, not 2.14 - even if disagree.
2282 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2284 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2286 Change GtkToolItem to retrieve its properties from GtkToolShell
2287 interface, instead of relying on being child of a GtkToolbar.
2290 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2291 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2292 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2293 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2294 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2295 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2296 Take section docs from template file and update them for GtkToolShell.
2297 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2298 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2300 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2302 Extract loading of GtkPageSetup and GtkPrintSettings from their
2303 *_new_*() functions and move that code into separate
2304 *_load_*() functions (#475565).
2306 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2307 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2308 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2309 Change the matching *_new_*() functions to use those functions.
2311 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2314 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2316 2007-12-14 Kristian Rietveld <kris@imendio.com>
2318 * gtk/tests/liststore.c:
2319 * gtk/tests/treestore.c: added tests for insertion functions.
2321 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2323 * Add RandR 1.2 support
2325 - New monitors_changed signal - New API to get width/height of
2326 monitors, and the name of the plug
2328 2007-12-13 Kristian Rietveld <kris@imendio.com>
2330 * gtk/tests/liststore.c:
2331 * gtk/tests/treestore.c: test the move and swap functions on a
2332 store with only one node.
2334 2007-12-13 Kristian Rietveld <kris@imendio.com>
2336 * gtk/gtktestutils.c (gtk_test_init): add a call to
2339 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2342 2007-12-13 Kristian Rietveld <kris@imendio.com>
2344 * gtk/tests/liststore.c:
2345 * gtk/tests/treestore.c: start composing tests for the list and tree
2348 * gtk/tests/treeview-scrolling.c: added automated tests for
2349 GtkTreeView's scrolling "subsystem".
2351 * gtk/tests/Makefile.am: updated; added new test programs.
2353 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2355 Make the code compile again after the GdkAppLaunchContext changes.
2357 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2358 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2360 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2362 * gdk/gdkapplaunchcontext.c: Add docs
2364 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2366 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2367 in gdk, providing startup notification. (#503203)
2369 * gdk/x11/gdkapplaunchcontext-x11.c:
2370 * gdk/win32/gdkapplaunchcontext-win32.c:
2371 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2372 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2373 parts. All but X11 are just empty stubs for now.
2376 * gdk/gdkinternals.h:
2378 * gdk/x11/Makefile.am:
2379 * gdk/win32/Makefile.am:
2380 * gdk/quartz/Makefile.am:
2381 * gdk/directfb/Makefile.am: Necessary glue.
2383 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2385 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2387 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2389 * gdk/directfb/gdktestutils-directfb.c:
2390 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2391 which adds testing functions to the DirectFB backend.
2393 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2395 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2396 Ciccani which fixes the mixing of gdk and cairo rendering.
2398 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2400 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2401 on "drag-motion" handlers. Clearify documentation for
2404 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2406 * buildertest.c: made unnecessarily exported symbols static.
2407 switched g_return_if_fail() statements in tests to assertions.
2408 special cased currently failing Widget/accesibility test to
2409 run only for g_test_thorough(), so it doesn't break make check.
2410 some coding style fixes.
2412 * Makefile.am: added buildertest to TEST_PROGS.
2414 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2416 * docs/tutorial/gtk-tut.sgml:
2417 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2419 2007-12-10 Richard Hult <richard@imendio.com>
2421 * gdk/quartz/Makefile.am:
2422 * gdk/quartz/gdkquartz.h:
2423 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2424 header (bug #405915). Also add a getter for the toplevel nswindow.
2426 2007-12-10 Richard Hult <richard@imendio.com>
2428 * gdk/quartz/gdkdrawable-quartz.c:
2429 (gdk_quartz_drawable_get_context),
2430 (gdk_quartz_drawable_release_context):
2431 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2432 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2433 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2434 used for each drawing context and in prepare, dispatch and poll
2435 with one that exists across each main loop iteration. Fixes leaks
2436 on leopard and protects against future leaks introduce when the
2437 underlying system changes again (bug #492977).
2439 2007-12-10 Richard Hult <richard@imendio.com>
2441 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2442 Fix the check for no changes to position and size.
2444 2007-12-10 Richard Hult <richard@imendio.com>
2446 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2447 sized areas at (0, 0), patch from Paul Davis.
2449 2007-12-10 Richard Hult <richard@imendio.com>
2451 * gdk/quartz/gdkprivate-quartz.h:
2452 * gdk/quartz/gdkeventloop-quartz.c:
2453 (_gdk_quartz_event_loop_get_pending),
2454 (_gdk_quartz_event_loop_check_pending),
2455 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2456 (gdk_event_check), (gdk_event_dispatch):
2457 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2458 (_gdk_events_queue): Fix a bug where we could end up trying to
2459 handle the same event more than once. Based on patch from Paul
2462 2007-12-10 Tor Lillqvist <tml@novell.com>
2464 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2467 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2469 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2470 to avoid further fallout from the fix for bug 388321.
2472 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2474 * gdk/directfb/gdkgc-directfb.c:
2475 * gdk/directfb/gdkdrawable-directfb.c:
2476 * gdk/directfb/gdkdirectfb.h:
2477 * gdk/directfb/gdkwindow-directfb.c:
2478 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2479 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2480 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2481 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2482 which are expected to improve the performance of the DirectFB backend.
2483 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2485 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2487 * gtk/gtkcontainer.c: Correct the documentation of child
2488 property getter arguments. (#501992, David Brigada)
2490 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2492 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2493 leak pixbufs. (#502250, Yevgen Muntyan)
2495 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2497 * gtk/gtkprintunixdialog.c:
2498 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2499 Print and Page Setup dialogs (#502202).
2501 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2503 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2504 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2505 of XVFB_START, since it's the GTESTER invokation that needs this.
2507 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2509 * gdk-pixbuf/gdk-pixbuf.symbols:
2511 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2512 positives in abicheck.sh
2514 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2516 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2517 GDK events generations in the DirectFB backend.
2519 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2521 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2522 set of likely unused display ids, because MacOS has no seq(1) command.
2524 2007-12-06 Richard Hult <richard@imendio.com>
2526 * gdk/quartz/gdkevents-quartz.c:
2527 (synthesize_crossing_events_for_ns_event): Fix warning when
2528 switching spaces in leopard.
2530 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2532 * tests/floatingtest.c: ported to new testing framework.
2534 * tests/Makefile.am: run floatingtest as testing framework test.
2536 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2538 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2539 timeouts and converting main loop sleeps to pending/iterate loops with
2540 very low priority async handlers. eliminate output for non-verbose
2541 tests. assert successfull subtests in all test functions. use testing
2542 framework in main().
2544 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2545 executed inside Xvfb upon make check.
2547 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2549 * tests/objecttests.c: use string comparisons for string property
2550 values and get rid of referencing symbols in array initialization.
2552 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2554 * gtk+/Makefile.decl: run tests in current dir after setting up the
2555 logging directory, so their results get properly merged into the
2558 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2559 tests to loop over registered Gdk/Gtk+ types.
2561 * gtk+/tests/objecttests.c: new test program, implements automated
2562 property tests. several properties are blacklisted because they
2563 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2564 can be used to test blacklisted properties and see which proprty failed.
2566 2007-12-04 Richard Hult <richard@imendio.com>
2568 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2569 Fully initialize the root window, fixes bug #501583.
2571 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2573 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2576 2007-12-03 Richard Hult <richard@imendio.com>
2578 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2579 Don't crash when dragging from a source that doesn't support uri
2580 lists (bug #499868, Paul Davis).
2582 2007-12-03 Richard Hult <richard@imendio.com>
2584 * gdk/quartz/gdkwindow-quartz.c:
2585 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2586 parent relative bg pixmap is set, and no parent has a bg
2587 pixmap. Fixes bug #500804.
2589 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2591 Two optimizations for icon cache lookups.
2593 * gtk/gtkiconcache.[hc]:
2594 * gtk/gtkicontheme.c: Remember the directory index for
2595 subdirectories, instead of running over the directory list
2598 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2599 chain and try it first; this helps with the the usage patterns
2600 in gtkicontheme.c, where the same icon is queried for a lot
2603 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2605 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2606 functions from header files. this should be portable across linux and
2607 Mac OS, unlike the previpous sed expression.
2609 2007-12-1 Cody Russell <bratsche@gnome.org>
2611 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2612 On Windows, queue a redraw of child2 whenever we set
2613 the pane handle position. This is unfortunately kind
2614 of hacky, but solves the visual artifacts that were
2615 occuring on at least certain types of child widgets
2616 (e.g., text views and tree views) that are inside
2617 horizontal or vertical panes. (#144269)
2619 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2621 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2623 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2625 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2628 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2630 * gtk/Makefile.am: Fix ordering of subdirs.
2632 2007-11-28 Tor Lillqvist <tml@novell.com>
2634 A proper build of GNU libintl is supposed to export the variable
2635 _nl_msg_cat_cntr. configure looks for that variable in order to
2636 recognize GNU gettext. If it sees that it is indeed GNU gettext
2637 that is used, it decides to install message catalogs in
2638 share/locale, otherwise in lib/locale. Until now on Windows I have
2639 built GTK+ against a build of GNU gettext that did not export
2640 _nl_msg_cat_cntr. But this will change, so we can't assume message
2641 catalogs are always in lib/locale.
2643 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2644 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2645 before the inclusion of gtkprivate.h so that it sees the original
2648 * gtk-zip.sh.in: Check whether the message catalogs are in
2649 share/locale or lib/locale.
2651 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2652 that the code in _gtk_get_localedir() will find the slashes.
2654 2007-11-28 Tor Lillqvist <tml@novell.com>
2656 * gtk/Makefile.am: Improve portability. The -o option is present
2657 only in newish GNU egreps. Use one more sed in the pipeline
2660 2007-11-28 Tor Lillqvist <tml@novell.com>
2662 Fix #375893, patch by Ben Hague:
2664 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2665 around GetLogicalDrives() that takes also the viewable drive
2666 restrictions in the Registry (which are usually the result of an
2667 Active Directory Group Policy) into account.
2669 (check_volumes, gtk_file_system_win32_list_volumes) Call
2670 get_viewable_logical_drives() instead of GetLogicalDrives().
2672 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2674 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2675 variables to silence valgrind. (#495124, Morten Welinder)
2677 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2679 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2680 that the construct_child function is responsible for returning a
2682 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2683 objects from constructors
2684 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2685 g_object_ref() to this construction function (it's the only
2690 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2692 * gtkbuilder.c: remove concept of root objects and just refcount
2693 all objects in the builder. Fixes #496651.
2695 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2697 * tests/buildertest.c (test_window): fix invalid free
2699 2007-11-26 Josselin Mouette <joss@malsain.org>
2701 reviewed by: Federico Mena Quintero
2703 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2704 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2705 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2706 Make the shortcuts activate with a single click. (#148828)
2707 Fix a few things affected by the change:
2708 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2709 where no shortcut is selected.
2710 - Don't activate a shortcut in the response callback.
2711 - Filter out duplicate entries in volumes and bookmarks to
2712 avoid the selection to change when reordering them with DnD.
2714 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2717 * gtk/gtknotebook.c:
2718 * gtk/gtkplugprivate.h:
2720 * gtk/gtksocketprivate.h:
2721 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2723 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2725 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2726 (#495574, Richard Hult)
2728 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2730 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2731 String change ! (#376361, Sven Neumann)
2733 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2735 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2737 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2740 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2742 * gtk/gtkassistant.c: Improve alternative button
2743 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2745 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2747 * gtk/gtkcalendar.c: Fix a theming problem with colors
2748 in GtkCalendar. (#499703, Michael Hofmann)
2750 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2752 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2754 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2756 Use templates for glib-mkenums calls instead of
2757 complicated commandlines in Makefiles. (#429910)
2759 * gdk-pixbuf/Makefile.am:
2762 * perf/Makefile.am: Use templates for glib-mkenums
2764 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2765 * gdk/gdkenumtypes.[ch].template:
2766 * gtk/gtktypebuiltings.[ch].template:
2767 * perf/typebuiltins.[ch].template: The templates
2769 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2771 * gtk/gtkfilechooserbutton.c:
2772 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2773 some compilers choke on that. (#467722)
2775 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2777 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2778 about hook setup. (#425004, Emmanuele Bassi)
2780 2007-11-26 Tor Lillqvist <tml@novell.com>
2782 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2783 monitor the window currently is on, not always the primary
2784 monitor. (#463865, Tim Evans)
2786 2007-11-26 Tor Lillqvist <tml@novell.com>
2788 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2790 * gdk/win32/Makefile.am: Add it.
2792 2007-11-26 Tor Lillqvist <tml@novell.com>
2794 * configure.in: Don't add jasper to all_loaders if no libjasper.
2796 2007-11-25 Bastien Nocera <hadess@hadess.net>
2798 * configure.in: Add detection for libjasper, used by the
2799 gdk-pixbuf JPEG2000 loader
2801 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2803 * configure.in: Require gtk-doc 1.8
2805 * */*.c: Use gtk-doc abbreviations for examples in docs.
2807 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2809 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2812 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2814 * gtk/gtkdialog.c: Move signal and property documentation inline,
2815 fix a problem with the ::response signal docs. (#499133, Josselin
2818 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2820 * Makefile.decl: initialize automake variables EXTRA_DIST and
2821 TEST_PROGS for unconditional appending via += in other makefiles.
2822 define recursive test targets: test, test-report, perf-report,
2823 full-report, as described here:
2824 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2825 the test targets will execute Gtk+ test programs within an Xvfb session.
2827 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2829 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2830 g_test_run() to run the tests to integrate with the testing framework.
2832 * gtk/tests/Makefile.am: removed exemplary testing rules.
2834 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2835 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2836 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2837 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2838 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2839 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2840 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2841 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2842 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2843 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2844 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2845 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2846 * modules/engines/ms-windows/Theme/Makefile.am:
2847 * modules/engines/ms-windows/Makefile.am:
2848 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2849 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2850 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2851 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2852 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2853 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2854 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2856 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2858 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2859 (#485662, patch by Herbert Valerio Riedel)
2861 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2863 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2865 2007-11-21 Richard Hult <richard@imendio.com>
2867 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2868 stubs for the testing functions to fix the build.
2870 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2872 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2873 (#467711, The Written Word)
2875 2007-11-21 Ross Burton <ross@openedhand.com>
2877 * gdk/x11/gdksettings.c:
2878 Add xsetting for gtk-scrolled-window-placement (#458103).
2880 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2882 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2883 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2884 (#469239, Michael Natterer)
2886 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2888 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2889 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2890 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2891 (#436536, Tommi Komulainen)
2893 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2895 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2896 property. (#489782, Jan Janech)
2898 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2900 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2901 frames. (#107398, Owen Taylor, Miguel Gomez)
2903 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2905 Moved Gdk test functions from Gtk+ to Gdk test utils.
2907 * gdk/Makefile.am: added gdktestutils.h to public includes.
2909 * gdk/gdk.h: added gdktestutils.h to public includes.
2911 * gdk/gdk.symbols: added gdk_test_simulate_button,
2912 gdk_test_simulate_key, gdk_test_render_sync.
2914 * gdk/gdktestutils.h: new file, added prototypes for
2915 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
2917 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2919 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2920 gdk_test_simulate_key, gdk_test_render_sync.
2922 * gtk/gtktestutils.c:
2923 * gtk/gtktestutils.h:
2924 * gtk/gtk.symbols: removed gtk_test_simulate_button
2925 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2927 * gtk/tests/testing.c: call gdk_test_render_sync.
2929 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2931 Added unit tests for Gtk+ testing utilities.
2933 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2934 utility functions. some g_test_* related portions are disabled and need
2935 to be enabled once Gtk+ depends on a new glib with the GLib testing
2936 framework integrated.
2938 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
2939 tests. added exemplary test rules to run tests inside Xvfb. this
2940 needs to depend on gtester for full fledged testing.
2942 * gtk/Makefile.am: build gtk+/gtk/tests, define
2943 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
2944 e.g. gtk_text_get_type().
2946 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2948 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2950 Added Gtk+ testing utilities.
2952 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
2953 functions. for the most part, the functions herein involve
2954 navigating and interacting with dialog elements programatically,
2955 to automate user interaction tests of dialogs and widgets.
2957 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2959 * gtk/gtk.symbols: added gtk_test_* symbols.
2961 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
2962 the build. generate gtktypefuncs.c which contains a list of all
2963 _get_type functions in Gtk+ and Gdk.
2965 2007-11-20 Bastien Nocera <hadess@hadess.net>
2967 * configure.in: add support for conditional icns gdk-pixbuf loader
2970 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2972 * configure.in: updated version number to 2.15.0 for development.
2974 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2976 === Branch for 2.12 ===