1 2008-03-20 Tor Lillqvist <tml@novell.com>
3 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
5 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6 in one dimension, or centered in case it doesn't fit.
7 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
10 2008-03-18 Tor Lillqvist <tml@novell.com>
12 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
14 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
15 G_MODULE_ENTRY decoration can be put in a more correct place.
17 2008-03-18 Sven Neumann <sven@gimp.org>
19 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
20 alternative button order on the password dialog.
22 2008-03-18 Tor Lillqvist <tml@novell.com>
24 Bug 99192 - Add --with-include-input-modules
26 * configure.in: Add --with-included-immodules switch. Handled in a
27 similar way as the --with-included-loaders switch. For each input
28 method module foo: Collect the list of input modules to be built
29 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
30 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
31 Define Automake conditionals INCLUDE_IM_FOO.
33 * modules/input/Makefile.am: For modules to be included in libgtk,
34 build a static library.
36 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
37 gdk-pixbuf to get unique names for the functions called by libgtk
38 in the included case. Use G_MODULE_EXPORT in the non-included case
39 so that we don't unnecessarily export unneeded random global
42 * gtk/Makefile.am: Build the included modules and link them into libgtk.
44 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
45 copy/paste leftover mentions of "themes" in comments.
47 2008-03-18 Tor Lillqvist <tml@novell.com>
49 * tests/Makefile.am: Build testmountoperation only on Unix for now.
51 2008-03-17 Christian Kellner <gicmo@gnome.org>
53 Implement GtkMountOperation, a subclass of GMountOperation
54 to be used with gio wherever there is the need to ask the
55 user for credentials or questions while mounting a volume.
58 * gtk/gtkmountoperation.c:
59 * gtk/gtkmountoperation.h:
60 Implement GtkMountOperation.
62 * gtk/gtk.h: Add gtkmountoperation.h
63 * gtk/Makefile.am: Add gtkmountoperation.[hc]
64 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
65 * tests/testmountoperation.c: Test program for it.
66 * tests/Makefile.am: Add testmountoperation.
68 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
70 * gtk/gtkcontainer.c: Properly document
71 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
73 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
75 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
76 style names for the ComboBox thickness style
78 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
80 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
81 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
82 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
83 intelligent separation for the xp theming engine and the classic
84 theme while drawing the GtkComboBox button. combobox_draw_arrow
85 is not used anymore, commented. The style has been updated to fix
86 border/thickness glitches in the combobox according to the fixes
87 commited regarding bug #521442. (bug #461805)
89 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
91 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
92 now aware of both the combobox and frame (if has-frame is set)
93 thickness and border. (bug #521442)
95 2008-03-15 Andre Klapper <a9016009@gmx.de>
97 * configure.in: Added "si" to ALL_LINGUAS.
99 2008-03-15 Matthias Clasen <mclasen@redhat.com>
101 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
102 Set window type hint on the search popup. (#522279, Danny Baumann)
104 2008-03-15 Matthias Clasen <mclasen@redhat.com>
106 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
107 appropriate. (#521934, Huang Peng)
109 2008-03-14 Michael Natterer <mitch@imendio.com>
112 * gtk/gtkbuilderprivate.h
113 * gtk/gtkfilechoosersettings.c
114 * gtk/gtksearchenginesimple.c
115 * gtk/tests/liststore.c
116 * gtk/tests/treestore.c: remove single-file includes of GLib
117 headers or replace them by <glib.h> where needed.
119 2008-03-14 Michael Natterer <mitch@imendio.com>
121 * gtk/gtkadjustment.c: coding style cleanup.
123 (gtk_adjustment_set_property): no need to call g_object_notify()
124 on the set properties.
126 Implement GObject::dispatch_properties_changed() and make sure we
127 emit "changed" when anything but the "value" property changes.
129 2008-03-14 Tor Lillqvist <tml@novell.com>
131 * gdk/win32/gdkevents-win32.c: Drop the support for the
132 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
133 Win95. Thanks to mitch for noticing this obsolete code.
135 2008-03-14 Cody Russell <bratsche@gnome.org>
137 * examples/scribble-xinput/scribble-xinput.c: Changed
138 'void int main()' to 'int main()'. (#522211, Liqing Huang)
140 2008-03-14 Richard Hult <richard@imendio.com>
142 * gdk/quartz/gdkwindow-quartz.c:
143 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
144 only flush the toplevel once per update.
146 2008-03-13 Federico Mena Quintero <federico@novell.com>
148 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
149 Set the mouse cursor of the feedback window to invisible, so that
150 we respect GtkEntry's invisible cursor while typing.
152 2008-03-13 Federico Mena Quintero <federico@novell.com>
154 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
155 the feedback window at entry_height/2 pixels to the right of the
156 cursor, for a cheap "M-width / 2" spacing.
158 2008-03-13 Sven Neumann <sven@gimp.org>
160 * gtk/gtkfilechooserdefault.c
161 * gtk/gtkprintunixdialog.c: set alternative button order for
162 overwrite confirmation dialogs (bug #522191).
164 2008-03-13 Sven Neumann <sven@gimp.org>
166 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
167 (overwrite_confirmation_dialog): added some line-breaks for
170 2008-03-12 Federico Mena Quintero <federico@novell.com>
172 Rework the way completion works in GtkFileChooserEntry. Fixes
173 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
174 Tab completion should work even if the cursor is not at the end of
177 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
180 We distinguish between two cases:
182 - autocompletion - happens only in the Open modes by
183 inserting and selecting the common prefix as you type.
185 - explicit completion - happens when you hit Tab.
187 When some type of completion needs to happen, the entry first
188 parses its input and sees if it needs to initiate a folder load.
189 Completion will not happen until the folder finishes loading.
191 If the folder is already completely loaded, then completion is
192 performed immediately. Otherwise, the entry queues a pending
193 completion and starts loading the new folder (or waits until the
194 current folder is completely loaded).
196 Tab completion is allowed to happen even if the cursor is not at
197 the end of the entry.
199 There is a new feedback mechanism for explicit completion, so that
200 you will get an Emacs-like tip whenever there are ambiguities in
201 completion, no matches, etc. (This needs to be polished so that
202 we support RTL entries and all the fancy Pango layout in GtkEntry).
204 The only remaining thing to fix is the popup suggestion window.
205 Unfortunately, GtkEntryCompletion does not let us do what we want,
206 and will need further changes.
208 2008-03-12 Tor Lillqvist <tml@novell.com>
210 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
212 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
213 for the TaskbarCreated message in the window procedure for the
214 dummy "tray observer" window we create. When we get a
215 TaskbarCreated message, iterate over the status icons and re-add
216 them to the task bar, and update them by calling
217 gtk_status_icon_update_image().
219 Move some ifdefs around to avoid unused functions.
221 2008-03-12 Tor Lillqvist <tml@novell.com>
223 * config.h.win32.in: Update to match what configure produces.
225 2008-03-12 Jens Granseuer <jensgr@gmx.net>
227 * modules/printbackends/cups/gtkprintbackendcups.c:
228 (cups_printer_prepare_for_print): Don't define variables in the
229 middle of a block. (#522067)
231 2008-03-12 Matthias Clasen <mclasen@redhat.com>
233 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
234 dialog for print-to-file. (#474302, Marek Kašík)
236 2008-03-12 Matthias Clasen <mclasen@redhat.com>
238 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
239 (#469210, Wouter Bolsterlee)
241 2008-03-12 Matthias Clasen <mclasen@redhat.com>
243 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
244 paper_size here. (#488820, Morten Welinder)
246 2008-03-12 Michael Natterer <mitch@imendio.com>
248 * acconfig.h: remove this deprecated file.
250 * configure.in: added comments to all instances of AC_DEFINE() so
251 config.h can be completely generated from configure.in.
253 2008-03-12 Michael Natterer <mitch@imendio.com>
255 * modules/printbackends/cups/gtkprintbackendcups.c: include
256 <glib/gstdio.h> for g_fopen().
258 2008-03-11 Matthias Clasen <mclasen@redhat.com>
260 * modules/printbackends/cups/gtkprintbackendcups.c: Use
261 g_ascii_formatd when formatting custom paper sizes, since
262 cups doesn't handle , as decimal separator. (#521548)
264 2008-03-11 Tor Lillqvist <tml@novell.com>
266 Bug 469868 - Filenames with colon ":" are not saved correctly
268 * gtk/gtkfilechooserentry.c (insert_text_callback)
269 (delete_text_callback) [Win32]: New functions to make sure that
270 colons used otherwise than as a separator after a drive letter, or
271 characters that are always illegal in file names, are rejected on
272 input. This means that the GTK+ file chooser can't be used to
273 input full names of alternate data streams, but oh well. There are
274 still more checks that could be done on the file names, see the
275 bug report. But this will do for now.
276 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
278 2008-03-11 Jordi Mallach <jordi@sindominio.net>
280 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
282 2008-03-11 Michael Natterer <mitch@imendio.com>
284 * gdk/linux-fb/*: removed linux-fb backend files.
288 * docs/README.linux-fb
289 * gtk/Makefile.am: remove remaining traces of linux-fb.
291 * gtk/gtkwindow-decorate.c: same here. There is some code that
292 calls into linux-fb to set window move/resize callbacks. I put it
293 in #if 0 as a reminder because we did use decorated windows with
294 the DirectFB backend and it did work, so I don't really know why
295 this code is needed or how it could work with DirectFB back then.
296 The file does actually compile now if DECORATE_WINDOWS is defined,
297 but I didn't test with DirectFB to check if it does anything.
299 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
301 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
302 Take thickness into account in the size allocation of the child widgets in
306 2008-03-11 Richard Hult <richard@imendio.com>
308 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
310 2008-03-10 Tor Lillqvist <tml@novell.com>
312 * tests/teststatusicon.c (do_exit, popup_menu): Add the
313 possibility to test what happens if the process just calls exit()
314 without any orderly cleanup of GTK+.
316 2008-03-10 Tor Lillqvist <tml@novell.com>
318 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
320 2008-03-10 Tor Lillqvist <tml@novell.com>
322 Bug 520286 - Non-deletable window has no minimize / maximize buttons
324 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
325 New debugging output function that decodes a set of WS_* bits.
327 * gdk/win32/gdkprivate-win32.h: Declare it.
329 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
330 New function that enables or disables one menu entry in the system
331 menu of a top-level window. (The corresponding decoration will
332 then also be enabled or disabled (grayed).)
334 (update_style_bits): Do as the comment says and don't try to
335 update the window style based on the GdkWMFunctions set for the
338 (update_system_menu): New function that enables or disables the
339 system menu entries based on a window's stored set of
342 (gdk_window_set_functions): Call update_system_menu() instead of
345 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
347 * README.in: Reword the 2.14 release notes entry about the
348 deprecation of the gtkitemfactory.h header, and fix typos
351 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
353 * modules/engines/ms-windows/msw_style.c (draw_shadow):
354 Do not draw frame if parent if combobox.
356 Uses scrollbar width system metrics for combobox button.
357 Fixes #461805 for XP theme engine.
359 2008-03-07 Johan Dahlin <johan@gnome.org>
362 * gtk/gtkbuilderparser.c:
363 * gtk/gtkbuilderprivate.h:
364 * gtk/gtkiconfactory.c:
365 * tests/buildertest.c:
366 - Treat enums like enums and not values
367 - Avoid invalid free, in case of more than two sources
368 - Add better error messages
369 - Add much improved tests
370 (#520979, Christian Persch)
372 2008-03-07 Carlos Garnacho <carlos@imendio.com>
374 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
377 2008-03-06 Federico Mena Quintero <federico@novell.com>
379 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
380 GtkFileChooserDialog should set a default response button if the
381 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
383 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
384 function, refactor from where there was duplicated code.
385 (gtk_file_chooser_dialog_map): Look at the buttons in our
386 action_area. If the response ID for a button is one of the stock
387 ones, make it the default response button.
389 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
391 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
393 * gtk/gtkbuilderprivate.h:
394 * gtk/gtkiconfactory.c:
395 * tests/buildertest.c:
396 Implement GtkBuildable on GtkIconFactory, to make
397 it possible to register custom stock icons.
400 2008-03-06 Johan Dahlin <johan@gnome.org>
404 * gtk/gtkstyle.c: npoints->n_points.
405 * gtk/gtktestutils.h: widget->spinner
406 * gtk/gtktestutils.c: argc->argcp, argv->argvp
408 2008-03-06 William Lachance <wrlach@gmail.com>
410 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
411 string localizable (as it should be).
413 2008-03-06 William Lachance <wrlach@gmail.com>
415 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
416 the time for today's date. It's redudant. (see bug #410517).
418 2008-03-06 Xan Lopez <xan@gnome.org>
420 * gtk/gtkfixed.c: fix typo in documentation.
422 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
424 * gtk/gtkitemfactory.h:
425 * gtk/gtktypeutils.h:
426 Move GtkTranslateFunc to gtktypeutils.h so we can completely
427 deprecate gtkitemfactory.h.
429 * gtk/gtkactiongroup.h:
431 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
434 Add a note describing this slight incompatible change
436 2008-03-06 Johan Dahlin <johan@gnome.org>
438 * gtk/gtkpreview.h: Avoid double-deprecation.
440 2008-03-06 Michael Natterer <mitch@imendio.com>
443 * gtk/Makefile.am: move the remaining deprecated widgets to the
444 separate sections and replaced spaces by tabs in Makefile.am
446 2008-03-05 Johan Dahlin <johan@gnome.org>
448 * configure.in: Add --disable-cups option.
449 (#513826, Alberto Ruiz)
453 Separate broken and deprecated sources and headers into different sections
455 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
457 2008-03-05 Kristian Rietveld <kris@imendio.com>
459 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
460 short-circuit in case an empty root level would be build (and thus
461 directly destroyed) if no virtual root has been set.
463 2008-03-04 Matthias Clasen <mclasen@redhat.com>
465 * modules/printbackends/cups/gtkprintbackendcups.c:
466 Honor cups user default options from ~/.cups/lpoptions
467 (#469210, Stijn Hoop)
469 2008-03-04 Michael Natterer <mitch@imendio.com>
472 * gtk/gtkcolorbutton.c
473 * gtk/gtkentrycompletion.c
474 * gtk/gtkfontbutton.c
478 * gtk/gtkpreview.c: don't include "gtksignal.h".
480 * gtk/gtkfilefilter.c
481 * gtk/gtkrecentchoosermenu.c
482 * gtk/gtkrecentfilter.c
483 * gtk/gtktext.c: don't include "gtkobject.h".
485 2008-03-04 Simos Xenitellis <simos@gnome.org>
487 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
488 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
490 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
493 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
494 file, contains compose sequences that used to exist in
495 gtk/gtkimcontextsimple.c
497 * gtk/compose-parse.py: Script to generate compose
498 sequences from upstream (Xorg).
500 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
501 check_algorithmically): New functions. First two search in
502 gtk_compose_seqs_compact[] for matching compose sequence, third
503 tries NFC normalisation on incoming compose sequence.
504 (gtk_im_context_simple_filter_keypress):
505 Adds searching with check_compact_table(), check_algorithmically().
507 2008-03-03 Carlos Garnacho <carlos@imendio.com>
509 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
510 scrollwheel work in GtkPathBar.
512 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
514 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
515 an input-only window, event_window, which we'll use to capture
517 (gtk_path_bar_map): Show the event_window under the rest of the
518 windows, so it will be a catch-all for unhandled events.
520 2008-03-03 Sven Neumann <sven@gimp.org>
522 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
523 typo in the documentation of the GtkFileChooserButtons::file-set
524 signal (see bug #353196).
526 2008-03-03 Tor Lillqvist <tml@novell.com>
528 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
531 2008-03-02 Johan Dahlin <johan@gnome.org>
533 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
534 Remove left-over focus_pad variable.
535 (#490892, Claudio Saavedra)
537 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
538 (#518166, Matt Kraai)
540 2008-03-02 Johan Dahlin <johan@gnome.org>
542 * docs/tutorial/gtk-tut.sgml: Add a missing space
543 (#517954, Matt Kraai)
545 2008-03-03 Tor Lillqvist <tml@novell.com>
547 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
548 the widget is a GtkButton before casting.
550 2008-03-02 Johan Dahlin <johan@gnome.org>
552 * configure.in: Compare using = instead of ==, which is portable.
553 (#490787, Thomas Klausner)
555 2008-03-02 Johan Dahlin <johan@gnome.org>
557 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
559 (#496032, Nelson Benitez)
561 2008-02-29 Johan Dahlin <johan@gnome.org>
563 * demos/gtk-demo/demo.ui:
564 * gtk/gtkbuilderparser.c:
565 * gtk/gtkbuilderprivate.h:
566 * gtk/gtkliststore.c:
567 * tests/buildertest.c:
568 Add translatable/context and comment attributes on
569 <col> tags under a GtkListStore. Refactor parts of the
570 translation api and make it available inside gtk+ itself.
571 Update tests and example.
572 Fixes a part of #518642
574 2008-02-29 Johan Dahlin <johan@gnome.org>
577 Add missing g_return_val_if_fail checks for public API.
579 * gtk/gtkbuilderparser.c:
580 * gtk/gtkbuilderprivate.h:
581 Do not use g_error for a few more errors, instead set
582 the GError sent in through add_from_file/add_from_string.
583 * tests/buildertest.c:
584 Add a couple of new parsing tests.
585 (#519199, Pavel Syomin)
587 2008-02-29 Federico Mena Quintero <federico@novell.com>
589 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
590 refreshing an existing folder (i.e. when we are about to reload
591 its file list), turn off the folder's is_finished_loading flag.
592 Otherwise callers which do ::is_finished_loading() followed by
593 ::list_children() will get nothing.
595 2008-02-29 Cody Russell <bratsche@gnome.org>
597 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
598 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
600 2008-02-28 Matthias Clasen <mclasen@redhat.com>
602 * gtk/gtkcalendar.h: Remove trailing comma from enum to
603 make the compiler happy. (#517295, Sylvain Pasche)
605 2008-02-27 Michael Natterer <mitch@imendio.com>
615 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
616 private functions and virtual function implementations.
618 2008-02-27 Richard Hult <richard@imendio.com>
620 * gdk/quartz/GdkQuartzView.c:
621 * gdk/quartz/GdkQuartzView.h:
622 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
623 Fix performance regression for borderless transparent windows
626 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
628 * tests/testgtk.c: Revert back to r19454.
630 2008-02-27 Sven Neumann <sven@gimp.org>
632 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
633 Quartz backend, use a native Mac OS X application for the print
634 preview (bug #518624).
636 2008-02-26 Michael Natterer <mitch@imendio.com>
638 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
639 the members of info->tag_stack since they are a) gobjects and b)
640 not even owned by us, ugh... Fixes crash when deserializing fails.
642 2008-02-26 Sven Neumann <sven@gimp.org>
644 * docs/tools/shooter.c (find_toplevel_window)
645 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
646 argument passed to XQueryTree().
648 2008-02-25 Matthias Clasen <mclasen@redhat.com>
650 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
651 don't use beagle_query_add_hit_type.
653 2008-02-25 Richard Hult <richard@imendio.com>
655 * gdk/quartz/gdkevents-quartz.c
656 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
658 2008-02-24 Richard Hult <richard@imendio.com>
660 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
661 shown without gdk's control when clicking the dock icon.
663 2008-02-24 Richard Hult <richard@imendio.com>
665 * gdk/quartz/gdkprivate-quartz.h:
666 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
667 Use the subtype field for the custom event that is used to wake up
668 the mainloop so we can have other custom event types.
670 * gdk/quartz/gdkevents-quartz.c:
671 (_gdk_quartz_events_trigger_crossing_events):
672 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
673 crossing events after showing a window if necessary, to work
674 around problems with the tracking rect API.
676 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
678 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
679 wrong results on win32 because it doesn't set the printing units,
680 which affect the transformation of the cairo context
681 (#347125, Erik van Pienbroek)
683 2008-02-22 Tor Lillqvist <tml@novell.com>
685 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
687 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
689 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
690 acceptable for a module to only support the save_to_callback()
691 method if it marks itself as WRITABLE
693 2008-02-16 Matthias Clasen <mclasen@redhat.com>
695 * configure.in: Bump version
697 2008-02-16 Matthias Clasen <mclasen@redhat.com>
699 * === Released 2.13.0 ===
701 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
703 2008-02-21 Tor Lillqvist <tml@novell.com>
705 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
706 pass the format string to strftime in the C library's locale's
707 charset, not the system's. Correspondingly, the return value from
708 strftime() is in the C library's locale's charset. (#509885)
710 2008-02-20 Richard Hult <richard@imendio.com>
712 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
713 the right window level and shadow after recreating the window.
715 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
716 necessary after drawing (bug #517338).
718 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
720 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
721 call to g_type_class_unref in case of error. (#517563)
723 2008-02-18 Sven Neumann <sven@gimp.org>
725 * gtk/Makefile.am (STOCK_ICONS)
726 * gtk/stock-icons/16/gtk-page-setup.png
727 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
728 taken from GNOME icon theme.
730 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
732 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
734 * configure.in: Added Kannada (kn) to ALL_LINGUAS
736 2008-02-17 Johan Dahlin <johan@gnome.org>
738 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
739 When converting a stock item based on the label, remove the label property.
741 2008-02-17 Richard Hult <richard@imendio.com>
743 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
744 position after showing the window since the window manager might
745 not place it where we requested in the first places.
747 2008-02-17 Richard Hult <richard@imendio.com>
749 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
750 (_gdk_quartz_window_detach_from_parent),
751 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
752 the toplevel ordering list in all places where the order is
753 potentially changed. Fixes mouse focus issues for windows with
754 a transient parent set.
756 2008-02-17 Richard Hult <richard@imendio.com>
758 * gdk/quartz/gdkevents-quartz.c
759 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
760 window when event debugging is enabled.
762 2008-02-16 Richard Hult <richard@imendio.com>
764 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
765 to the scroll event (bug #516757, Paul Davis).
767 2008-02-16 Matthias Clasen <mclasen@redhat.com>
771 2008-02-16 Matthias Clasen <mclasen@redhat.com>
773 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
776 2008-02-15 Matthias Clasen <mclasen@redhat.com>
778 * gdk/Makefile.am: Don't install private headers. (#463510)
780 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
781 the installed header gdkprivate.h.
783 2008-02-15 Matthias Clasen <mclasen@redhat.com>
785 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
786 a crash with hidden, reorderable tabs. (#513230,
787 Mike Massonnet, patch by Carlos Garnacho)
789 2008-02-15 Matthias Clasen <mclasen@redhat.com>
791 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
792 Warn on duplicate action group names. (#501746, Christian
795 2008-02-15 Matthias Clasen <mclasen@redhat.com>
798 * modules/other/gail/tests/Makefile.am:
799 * modules/other/gail/libgail-util/Makefile.am:
800 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
801 builds. (#516254, Yevgen Muntyan)
803 2008-02-15 Matthias Clasen <mclasen@redhat.com>
808 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
809 instead of hardcoded target tables. (#516092, Christian Persch)
811 2008-02-15 Matthias Clasen <mclasen@redhat.com>
813 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
814 add the same target atom twice. (#516087, Christian Persch)
816 2008-02-15 Matthias Clasen <mclasen@redhat.com>
818 * tests/testfilechooser.c: Add a --backend option.
819 (#516073, Christian Persch)
821 2008-02-16 Richard Hult <richard@imendio.com>
823 * gdk/quartz/gdkprivate-quartz.h:
824 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
827 2008-02-15 Matthias Clasen <mclasen@redhat.com>
829 * configure.in: Go back to 2.13.0 as version for now,
830 as there was no consensus to do the jump.
832 * many other places: Update Since: tags.
834 2008-02-15 Matthias Clasen <mclasen@redhat.com>
836 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
838 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
840 2008-02-15 Richard Hult <richard@imendio.com>
842 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
843 instead of bounds when resizing windows.
845 2008-02-15 Matthias Clasen <mclasen@redhat.com>
847 * gdk/x11/gdkkeys-x11.c:
848 * gdk/x11/gdkcolor-x11.c:
849 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
851 2008-02-15 Matthias Clasen <mclasen@redhat.com>
853 * gdk/x11/gdktestutils-x11.c:
854 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
856 2008-02-15 Tor Lillqvist <tml@novell.com>
858 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
859 leak Registry key handles. (#516578)
861 2008-02-14 Richard Hult <richard@imendio.com>
863 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
864 makeKeyWindow unfortunately doesn't work in all cases, we must use
865 makeKeyAndOrderFront.
867 2008-02-14 Richard Hult <richard@imendio.com>
869 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
870 (gdk_window_hide), (gdk_window_fullscreen),
871 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
872 the window is hidden.
874 2008-02-14 Richard Hult <richard@imendio.com>
876 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
877 resizing to be consistent and to avoid introducing an internal
878 transform in the view.
880 2008-02-14 Richard Hult <richard@imendio.com>
882 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
885 2008-02-14 Johan Dahlin <johan@gnome.org>
888 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
890 2008-02-13 Richard Hult <richard@imendio.com>
892 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
893 Remove unused variables.
894 (gtk_clipboard_set_contents),
895 (gtk_clipboard_get_owner), (clipboard_unset),
896 (gtk_clipboard_request_targets): Notify the previous clipboard
897 owner when the owner changes. Fixes bug #493406.
899 2008-02-13 Richard Hult <richard@imendio.com>
901 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
902 the return value (return number of colors that failed), and handle
904 (gdk_colormap_free_colors): Fix typo in comment.
906 2008-02-13 Kristian Rietveld <kris@imendio.com>
908 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
909 queue a redraw if the rubber banding has actually been active.
911 2008-02-12 Matthias Clasen <mclasne@redhat.com>
913 * gtk/gtkpapersize.c:
914 * gtk/gtkprintoperation.c:
915 * gtk/gtkvolumebutton.c:
916 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
917 out by Behdad Esfahbod.
919 2008-02-12 Federico Mena Quintero <federico@novell.com>
921 Merged from gtk-2-12:
923 Don't focus the file list when shortcuts get activated. This
924 removes a lot of ambiguity in when the file selection should
925 change, and makes the overall code flow simpler.
927 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
928 file/save dialog clears the filename entry when changing
931 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
932 focus should not go to the file list when a shortcut is activated.
934 * gtk/gtkfilechooserdefault.c
935 (shortcuts_activate_volume_mount_cb): Don't focus the file list
936 (shortcuts_activate_get_info_cb): Likewise.
938 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
939 the file list (this was the last place where we would focus the
940 file list explicitly). If you are in the location entry, for
941 example, you don't want Alt-Home to take you to the file list; you
942 just want the current folder to change. Thanks to Olle Bergkvist
943 <olle.bergkvist@yahoo.se> for pointing this out in
944 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
945 (focus_browse_tree_view_if_possible): Removed.
947 2008-02-12 Matthias Clasen <mclasen@redhat.com>
949 Skip exensions when selecting filenames in the save-as dialog.
950 (#362516, Carlos Garnacho)
952 * gtk/gtkfilechooserentry.h:
953 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
954 New function to skip the extension part when selecting a filename.
955 (_gtk_file_chooser_entry_set_base_folder): Use it here.
957 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
960 2008-02-12 Matthias Clasen <mclasen@redhat.com>
962 * gtk/gtkiconview.c: Fix state change reporting for
963 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
965 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
967 * gtk/gtkrecentchooser.c:
968 (gtk_recent_chooser_class_init): Set the default value of the
969 :show-not-found property to TRUE, as every implementation sets
972 * gtk/gtkrecentchooserdefault.c:
973 (_gtk_recent_chooser_default_init): Sync show_tips to the
974 default value of the :show-tips property.
976 2008-02-12 Matthias Clasen <mclasen@redhat.com>
978 * gtk/gtkclipboard-quartz.c:
980 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
983 2008-02-12 Kristian Rietveld <kris@imendio.com>
985 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
986 (gtk_tree_view_real_toggle_cursor_row): guard against people
987 deleting the row in question in the selection-changed callback.
988 (#514621, Andreas Koehler).
990 2008-02-12 Matthias Clasen <mclasen@redhat.com>
992 * gtk/*.c: Unify the handling of various "Enter" keysyms
993 all over the place. (#515047, Christian Persch)
995 2008-02-12 Matthias Clasen <mclasen@redhat.com>
997 * gtk/gtkfilesystemmodel.c:
999 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1000 appropriate. (#515042, Christian Persch)
1002 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1004 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1006 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1008 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1010 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1012 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1013 (recent_model_sort_drag_data_get):
1014 (search_model_sort_drag_data_get):
1015 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1016 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1017 Use gtk_selection_data_set_uris() instead of doing it
1018 by hand. (#514890, Christian Persch)
1020 2008-02-12 Michael Natterer <mitch@imendio.com>
1022 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1023 gtk_get_current_event_time().
1025 2008-02-12 Michael Natterer <mitch@imendio.com>
1027 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1028 gtk_window_get_key_hash() to get the hash instead of manually
1029 fiddling with quarks and gtk_window_keys_changed(). Also add
1030 g_return_if_fail() to this public function.
1032 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1034 Support keynav in status icons. (#473786, Li Yuan)
1036 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1038 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1040 2008-02-11 Kristian Rietveld <kris@imendio.com>
1042 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1043 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1044 wrt. link deletion from list; contination of fix for #503569.
1046 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1048 * gtk/gtkrecentchoosermenu.c:
1049 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1050 on the placeholder menu item.
1052 * tests/testrecentchoosermenu.c:
1053 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1054 whether the placeholder menu item gets shown.
1056 2008-02-10 Cody Russell <bratsche@gnome.org>
1058 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1059 Check the return value of _gtk_file_chooser_get_file_system () for
1060 NULL before passing it to gtk_file_system_path_to_uri ().
1061 (#515667, Francesco Montorsi)
1063 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1065 * gtk/gtkbuilder.c: Improve the documentation for
1066 gtk_builder_connect_signals. (#514471)
1068 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1070 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1073 2008-02-08 Cody Russell <bratsche@gnome.org>
1075 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1076 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1078 2008-02-08 Richard Hult <richard@imendio.com>
1080 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1081 delta from the NSEvent for now, generating multiple scroll events
1082 results in a lot of events getting queued up and things get really
1085 2008-02-08 Sven Herzberg <sven@imendio.com>
1087 Adjust the code to match the documentation, examples, "common sense"
1088 and existing applications.
1090 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1091 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1094 2008-02-07 Cody Russell <bratsche@gnome.org>
1096 * gdk/win32/gdkevents-win32.c
1097 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1098 of a block that were causing compile problems on old
1099 compilers. (#515053, reported by Kazuki IWAMOTO)
1101 2008-02-07 Michael Natterer <mitch@imendio.com>
1108 * gtk/gtkmenushell.c
1110 * gtk/gtkoptionmenu.c
1114 * gtk/gtkradiomenuitem.c
1116 * gtk/gtkscrolledwindow.c
1117 * gtk/gtksocket.c: remove g_return_if_fail() from private
1118 functions and virtual function implementations.
1120 2008-02-07 Michael Natterer <mitch@imendio.com>
1123 * gtk/gtkassistant.c
1127 * gtk/gtkcellrenderercombo.c
1130 * gtk/gtkdrawingarea.c
1131 * gtk/gtkentrycompletion.c
1137 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1138 functions and virtual function implementations.
1140 2008-02-07 Christian Persch <chpe@gnome.org>
1142 * gdk/gdkpixbuf-render.c:
1143 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1144 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1145 otherwise there will be random pixel values in the semi-transparent
1146 area of the pixbuf within the mask. Bug #487865.
1148 2008-02-06 Cody Russell <bratsche@gnome.org>
1150 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1151 otherwise things get wonky when you click on a menu. This fixes
1152 a regression caused in #505928. Thanks to Tor for spotting this
1155 2008-02-06 Michael Natterer <mitch@imendio.com>
1157 * gtk/gtkcontainer.c
1164 * gtk/gtkmenushell.c
1166 * gtk/gtkseparatortoolitem.c
1168 * gtk/gtktextlayout.c
1169 * gtk/gtktoggletoolbutton.c
1170 * gtk/gtktoolbutton.c
1173 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1176 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1178 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1179 Allow to store half-open ranges.
1181 2008-02-05 Cody Russell <bratsche@gnome.org>
1183 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1184 down the stack until we get to a window that is mapped.
1185 Otherwise hiding a window will cause all windows in the app
1186 to be blocked. (#514643)
1188 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1190 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1191 directory, avoiding one source of invalid caches that has been
1192 spotted in the wild.
1194 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1196 * gtk/updateiconcache.c: Fix the previous commit to compile.
1198 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1200 * gtk/updateiconcache.c: Install a printerr handler that
1201 prepends the program name, since gtk-update-icon-cache output
1202 often appears in the middle of other output, e.g. rpm update logs.
1204 2008-02-05 Cody Russell <bratsche@gnome.org>
1206 * gdk/win32/gdkprivate-win32.h
1207 * gdk/win32/gdkevents-win32.c
1208 * gdk/win32/gdkwindow-win32.c
1209 * gdk/win32/gdkwindow-win32.h
1210 * gdk/win32/gdkwin32.h:
1211 Modal window rework. (#455627 and #511111)
1213 2008-02-04 Michael Natterer <mitch@imendio.com>
1215 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1216 g_return_if_fail() if the cell is not part of the combo instead of
1217 crashing in the next line.
1219 2008-02-01 Cody Russell <cody@jhu.edu>
1221 * modules/engines/ms-windows/xp_theme.[ch]
1222 * modules/engines/ms-windows/xp_theme_defs.h
1223 * modules/engines/ms-windows/msw_rc_style.c
1224 * modules/engines/ms-windows/msw_theme_main.c
1225 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1226 attempted to stylize more like the rest of the gtk+ stack's code.
1228 2008-02-01 Michael Natterer <mitch@imendio.com>
1230 * tests/testgtk.c: initialize GdkColor structs to fix warning
1231 about uninitialized "pixel" member.
1233 * tests/testactions.c: connect the toolbar_style() callback so it
1234 does something useful and doesn't warn about being defined but not
1237 2008-01-31 Cody Russell <bratsche@gnome.org>
1239 * gdk/win32/gdkevents-win32.c:
1240 Refactored some of the window hiding/showing code from
1241 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1242 under WM_ACTIVATE was causing the application to go into
1243 a weird state when the user right-clicked on the taskbar
1244 entry of a window that was minimized. (#505928)
1246 2008-01-31 Cody Russell <bratsche@gnome.org>
1248 * gtk/gtkpaned.c (gtk_paned_set_position):
1249 Change queue_resize() to queue_draw(), and add a check for
1250 child2 != NULL in case someone calls this before there is
1251 a child packed in there. (#144269 again)
1253 2008-01-31 Sven Neumann <sven@gimp.org>
1255 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1256 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1258 2008-01-31 Sven Neumann <sven@gimp.org>
1260 * gdk/directfb/gdkdisplay-directfb.c
1261 * gdk/directfb/gdkdrawable-directfb.c
1262 * gdk/directfb/gdkprivate-directfb.h
1263 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1264 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1266 2008-01-31 Richard Hult <richard@imendio.com>
1268 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1269 issues with undecorated windows. Revert the change done on
1270 2008-01-25 and fix it by using the view's bounds instead. The
1271 bounds will always be up to date when setting up the tracking
1272 rect, so this should be more robust.
1274 2008-01-30 Sven Neumann <sven@gimp.org>
1276 * gdk/directfb/gdkdrawable-directfb.c
1277 * gdk/directfb/gdkwindow-directfb.c
1278 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1279 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1280 DirectFB's debugging system
1282 2008-01-30 Sven Neumann <sven@gimp.org>
1284 * gdk/directfb/gdkdirectfb.h
1285 * gdk/directfb/gdkdisplay-directfb.c
1286 * gdk/directfb/gdkdrawable-directfb.c
1287 * gdk/directfb/gdkim-directfb.c
1288 * gdk/directfb/gdkimage-directfb.c
1289 * gdk/directfb/gdkinput-directfb.c
1290 * gdk/directfb/gdkmain-directfb.c
1291 * gdk/directfb/gdkpixmap-directfb.c
1292 * gdk/directfb/gdktestutils-directfb.c
1293 * gdk/directfb/gdkvisual-directfb.c
1294 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1295 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1296 errors and has some cleanups.
1298 2008-01-30 Michael Natterer <mitch@imendio.com>
1300 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1301 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1304 * gtk/updateiconcache.c (add_string): cast const gchar* to
1305 gpointer when inserting in a GHashTable.
1307 * tests/testcalendar.c (calendar_detail_cb): remove const from
1308 return value since it's a newly allocated string.
1310 (calendar_update_details): free the detail.
1312 2008-01-29 Johan Dahlin <johan@gnome.org>
1314 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1316 * demos/gtk-demo/demo.ui:
1317 Move the about dialog to the glade file, add accessible tags
1318 examples to the markup file.
1320 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1322 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1323 layout, fixes #512375.
1325 2008-01-28 Michael Natterer <mitch@imendio.com>
1327 * gtk/gtktextchild.c
1328 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1330 2008-01-28 Michael Natterer <mitch@imendio.com>
1332 * demos/gtk-demo/builder.c (about_activate): use
1333 gtk_about_dialog_set_program_name() instead of the deprecated
1336 2008-01-28 Michael Natterer <mitch@imendio.com>
1338 * gtk/gtktextchild.c
1339 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1342 2008-01-26 Johan Dahlin <johan@gnome.org>
1344 * tests/Makefile.am:
1345 * tests/textbuffertest.c:
1346 Rename textbuffer test and port it to the new test framework
1348 2008-01-25 Johan Dahlin <johan@gnome.org>
1350 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1351 unsetting of GTK_MODULES.
1353 * gtk/gtk-builder-convert
1354 (GtkBuilderConverter._convert_adjustment): Handle the case where
1355 there is no child text node.
1356 (GtkBuilderConverter): Allow xml comments in most places.
1358 2008-01-25 Johan Dahlin <johan@gnome.org>
1360 * gtk/gtk-builder-convert
1361 (GtkBuilderConverter._convert_combobox_items): Remove the items
1362 even if there are no items set.
1363 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1364 signals and tooltips for all menu items subclasses and
1365 GtkImageMenuItem:label.
1366 Makes it possible to fully convert and run Jokosher.glade.
1368 2008-01-25 Johan Dahlin <johan@gnome.org>
1370 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1371 (gtk_widget_buildable_get_internal_child), (free_action),
1372 (free_relation), (gtk_widget_buildable_parser_finished),
1373 (accessibility_start_element),
1374 (gtk_widget_buildable_custom_tag_start),
1375 (gtk_widget_buildable_custom_finished):
1376 Implement accessible support, fixes #454653.
1378 * gtk/gtk-builder-convert:
1379 Add support for migrating old glade files
1381 * tests/buildertest.c: (test_widget), (test_file):
1382 Add accessible tests and imprve the test_file function to display
1383 toplevels and run dialogs.
1385 2008-01-25 Richard Hult <richard@imendio.com>
1387 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1388 didn't change, fixes focus event issues for undecorated windows.
1390 2008-01-25 Richard Hult <richard@imendio.com>
1392 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1393 const and remove unused variables).
1395 2008-01-25 Michael Natterer <mitch@imendio.com>
1398 * gtk/gtkcellrenderer.h
1399 * gtk/gtkimcontext.h
1403 * gtk/gtktreeprivate.h
1404 * gtk/gtktreeviewcolumn.h
1405 * gtk/gtkwidget.h: add const to constant structs which are passed
1406 into GTK+. Also add some forgotten const for const strings.
1410 * gtk/gtkcellrenderer.c
1411 * gtk/gtkimcontext.c
1416 * gtk/gtktreeviewcolumn.c
1417 * gtk/gtkwidget.c: changed accordingly.
1419 2008-01-25 Sven Herzberg <sven@imendio.com>
1421 Reviewed by Johan Dahlin.
1423 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1424 this is called with something that's not a GtkUIManager
1426 2008-01-24 Johan Dahlin <johan@gnome.org>
1428 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1429 Chain up to parent, so widgets can have internal children.
1431 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1433 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1436 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1438 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1440 Use pango_layout_set_height() for calendar details (#506049).
1442 * configure.in: Require 1.19.3 for pango_layout_set_height().
1443 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1445 2008-01-18 Johan Dahlin <johan@gnome.org>
1447 * gtk/gtk-builder-convert (get_property_node): New method
1448 (GtkBuilderConverter._create_object): Conditionally take a node as
1449 a property value, so don't lose translate/context attributes if they
1451 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1452 property values instead of strings.
1453 (#509153, Erik van Pienbroek)
1455 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1457 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1459 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1460 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1461 * tests/testcalendar.c: Duplicate calendar details before returning.
1463 2008-01-16 Christian Persch <chpe@gnome.org>
1465 * gtk/gtkwidget.c: Store the event mask and extension event mode
1466 directly in the gobject data pointer, instead of in an allocated
1469 2008-01-16 Michael Natterer <mitch@imendio.com>
1471 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1472 gdk-pixbuf now uses gio functions.
1474 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1476 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1477 the notify::model signal. (#509819, David Zeuthen)
1479 2008-01-15 Michael Natterer <mitch@imendio.com>
1487 * gdk/gdkwindow.h: made more struct pointer and array parameters
1488 const. GDK should now be constified as far as possible without
1489 breaking source compatibility. Includes some minor cleanup like
1490 indentation and s/nfoo/n_foo/ (bug #508544).
1496 * gdk/gdkregion-generic.c
1498 * gdk/directfb/gdkdisplay-directfb.c
1499 * gdk/directfb/gdkwindow-directfb.c
1500 * gdk/quartz/gdkdisplay-quartz.c
1501 * gdk/quartz/gdkwindow-quartz.c
1502 * gdk/win32/gdkdisplay-win32.c
1503 * gdk/win32/gdkwindow-win32.c
1504 * gdk/x11/gdkdisplay-x11.c
1505 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1507 2008-01-14 Michael Natterer <mitch@imendio.com>
1509 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1512 (gtk_rc_parse_any): change variables to const and introduce
1513 another local variable to fix const warnings.
1515 2008-01-14 Michael Natterer <mitch@imendio.com>
1517 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1518 of gdk_screen_get_font_options() to gpointer to get rid of const
1521 2008-01-14 Michael Natterer <mitch@imendio.com>
1523 * tests/testdnd.c (source_drag_data_get): fix another call to
1524 gtk_selection_data_set().
1526 2008-01-14 Michael Natterer <mitch@imendio.com>
1528 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1531 2008-01-14 Michael Natterer <mitch@imendio.com>
1533 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1535 2008-01-14 Michael Natterer <mitch@imendio.com>
1537 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1538 "uris" to guchar* when passing it to gtk_selection_data_set().
1540 2008-01-14 Michael Natterer <mitch@imendio.com>
1546 * gdk/gdkinternals.h
1548 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1549 parameters const (bug #508544).
1554 * gdk/gdkrectangle.c
1555 * gdk/gdkpolyreg-generic.c
1556 * gdk/gdkregion-generic.c
1557 * gdk/directfb/gdkcolor-directfb.c
1558 * gdk/directfb/gdkgc-directfb.c
1559 * gdk/directfb/gdkgeometry-directfb.c
1560 * gdk/directfb/gdkwindow-directfb.c
1561 * gdk/quartz/gdkcolor-quartz.c
1562 * gdk/quartz/gdkgc-quartz.c
1563 * gdk/quartz/gdkgeometry-quartz.c
1564 * gdk/quartz/gdkwindow-quartz.c
1565 * gdk/win32/gdkcolor-win32.c
1566 * gdk/win32/gdkgc-win32.c
1567 * gdk/win32/gdkgeometry-win32.c
1568 * gdk/win32/gdkprivate-win32.h
1569 * gdk/win32/gdkwindow-win32.c
1570 * gdk/x11/gdkcolor-x11.c
1571 * gdk/x11/gdkgc-x11.c
1572 * gdk/x11/gdkgeometry-x11.c
1573 * gdk/x11/gdkmain-x11.c
1574 * gdk/x11/gdkprivate-x11.h
1575 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1577 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1580 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1582 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1584 * gtk/gtktoolitem.c: Add comment expaining name choice for
1585 gtk_tool_item_toolbar_reconfigured.
1587 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1589 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1590 implementations to notify its children, when some aspect of their
1591 configuration changed (#509042).
1593 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1594 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1595 Rename _gtk_tool_item_toolbar_reconfigured.
1597 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1599 Include <gtk/gtktoolshell.h> from gtk.h.
1601 * gtk/gtk.h: Add gtktoolshell.h
1603 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1605 Print angle brackets arround e-mail addresses in the about dialog
1606 (#409520, Mariano Suárez-Alvarez).
1608 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1610 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1612 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1613 special casing so test widgets are always queues for destruction
1616 * gtk/tests/testing.c: removed bits left-over from testing without
1619 2008-01-10 Tor Lillqvist <tml@novell.com>
1621 * modules/other/gail/libgail-util/Makefile.am
1622 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1625 2008-01-10 Tor Lillqvist <tml@novell.com>
1627 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1628 uses gtkprintunixdialog API.
1630 2008-01-10 Tor Lillqvist <tml@novell.com>
1632 * gdk/win32/gdkdisplay-win32.c
1633 * gdk/win32/gdkglobals-win32.c
1634 * gdk/win32/gdkprivate-win32.h
1635 * gdk/win32/gdkscreen-win32.c
1636 * gdk/win32/gdkwindow-win32.c: Implement
1637 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1638 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1641 2008-01-10 Cody Russell <bratsche@gnome.org>
1643 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1644 Properly ref/unref windows and parents. (#506769)
1646 2008-01-10 Richard Hult <richard@imendio.com>
1648 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1649 (gdk_window_hide), (move_resize_window_internal): Move the
1650 tracking rect workaround from here...
1652 * gdk/quartz/GdkQuartzWindow.c:
1653 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1654 movements during showing/hiding operations. Fixes bug #508516.
1656 2008-01-10 Michael Natterer <mitch@imendio.com>
1658 * gdk/directfb/gdkscreen-directfb.c
1659 (gdk_screen_get_monitor_width_mm)
1660 (gdk_screen_get_monitor_height_mm)
1661 (gdk_screen_get_monitor_plug_name): add these functions to make
1664 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1666 * gtk/gtkrecentchoosermenu.c:
1667 (idle_populate_func), (idle_populate_clean_up): Fix possible
1668 recursion by resetting the idle source id. (#507605, William
1671 2008-01-10 Kristian Rietveld <kris@imendio.com>
1673 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1674 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1675 avoid valgrind warnings. (#507751, patch from Christian Persch).
1677 2008-01-10 Kristian Rietveld <kris@imendio.com>
1679 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1680 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1682 2008-01-10 Kristian Rietveld <kris@imendio.com>
1684 Fix #477175, reported by Juri Pakaste.
1686 * gtk/gtktreeprivate.h:
1687 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1688 tree_view->priv->dy here directly, just calculate the new value
1689 and set it on the adjustment,
1690 (gtk_tree_view_adjustment_changed): add guards to not call
1691 gtk_tree_view_dy_to_top_row() if we are currently in
1692 gtk_tree_view_top_row_to_dy(),
1693 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1694 coordinates, not tree coordinates,
1695 (gtk_tree_view_real_start_editing): add cast.
1697 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1698 position of the editable in the "create new row and start editing"
1701 2008-01-09 Michael Natterer <mitch@imendio.com>
1703 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1706 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1707 * gtk/gtkicontheme.c (theme_list_contexts)
1708 (gtk_icon_theme_lookup_icon)
1709 * gtk/gtkimcontextsimple.c (beep_window)
1710 * gtk/gtklinkbutton.c (set_link_color)
1711 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1714 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1715 variable and add const to another to fix a warning.
1717 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1719 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1720 the current page. (#499951, Andreas Sandberg)
1722 2008-01-06 Johan Dahlin <johan@gnome.org>
1724 * gtk/gtkspinbutton.c: Declare value in the example code for
1725 GtkSpinButton::output, as pointed out by Anders Carlsson.
1727 2008-01-06 Christian Persch <chpe@gnome.org>
1729 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1730 and remove an obsolete event box. Bug #506760.
1732 2008-01-06 Johan Dahlin <johan@gnome.org>
1734 * tests/buildertest.c (test_domain):
1735 Update, GtkBuilder::translation-domain is no longer set
1737 * gtk/gtkbuilderparser.c (parse_interface):
1738 Allow domains to be overridden in <interface>'s if a translation-domain
1739 is set in the builder.
1740 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1741 of the builder, make the domain set in the <interface> apply only to strings
1743 (#496831, Ryan Lortie)
1745 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1748 * gtk/gtktreestore.c (tree_model_end_element):
1749 Remove an unused variable
1751 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1753 * gtk/gtkspinbutton.c: Document the ::output signal and
1754 add an example. (#507566, example by Owen Taylor)
1756 2008-01-06 Johan Dahlin <johan@gnome.org>
1758 * gtk/gtkcellrenderercombo.c:
1759 (gtk_cell_renderer_combo_get_property),
1760 (gtk_cell_renderer_combo_set_property):
1761 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1762 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1763 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1764 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1765 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1766 (gtk_text_buffer_get_property):
1767 * gtk/gtktextview.c: (gtk_text_view_set_property):
1768 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1769 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1770 (gtk_tool_button_get_property):
1771 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1772 (gtk_tool_item_get_property):
1773 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1774 * gtk/gtkwidget.c: (gtk_widget_set_property):
1775 * gtk/gtkwindow.c: (gtk_window_set_property):
1776 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1779 2008-01-06 Johan Dahlin <johan@gnome.org>
1781 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1782 Make sure that --root works for toplevel widgets.
1783 (#491847, Phil Lello)
1785 2008-01-05 Johan Dahlin <johan@gnome.org>
1787 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1788 to make sure that make test-report works properly
1790 2008-01-05 Christian Persch <chpe@gnome.org>
1792 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1793 GType as integer through gpointer. Bug #507395.
1795 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1797 Avoid some compiler warnings (#507000).
1799 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1800 for value argument of _gtk_builder_flags_from_string.
1801 * gtk/gtkwidget.c: Don't alias the child pointer passed
1802 to gdk_window_get_user_data.
1804 2008-01-04 Michael Natterer <mitch@imendio.com>
1806 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1807 to set the time in the returned GdkTimeCoords.
1809 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1811 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1812 correct comparison function (kudos to Christian Persch and
1813 Claudio Saavedra for spotting this)
1815 * gtk/gtkrecentchooserutils.c:
1816 (sort_recent_items_mru),
1817 (sort_recent_items_lru): Ditto as above.
1819 2008-01-03 Johan Dahlin <johan@gnome.org>
1821 * tests/defaultvaluetest.c: Make it pass again.
1823 2008-01-02 Johan Dahlin <johan@gnome.org>
1825 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1826 make it pass on Ubuntu.
1827 (main): Use gtk_test_list_all_types () instead of providing our
1829 And it no longer passes.
1831 2007-12-30 Johannes Schmid <jhs@gnome.org>
1833 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1834 Also reorder menu when reordering tabs by drag & drop
1837 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1838 Add a menu to one of the notebooks to have a test-case for
1839 the change mentioned above.
1841 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1843 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1845 2007-12-31 Christian Persch <chpe@gnome.org>
1847 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1848 Plug a mem leak. Bug #506107.
1850 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1852 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1853 icon cache api change. (#506135, Kazuki Iwamoto)
1855 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1857 Consider "wide-separators" and "separator-height" style properties:
1858 The separator is drawn using gtk_paint_box instead of cairo, when
1859 "wide-separators" is set. Also do not highlight details for previous
1860 or next month, if their day matches the selected day. (#339540)
1862 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1863 in gtk_calendar_size_request and calendar_paint_day
1864 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1865 for selected detail separators in GtkCalendar.
1867 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1869 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1871 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1872 a local variable instead in gtk_calendar_size_request.
1874 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1876 * tests/defaultvaluetest.c: Add enough exclusions to make the
1879 2007-12-28 Christian Persch <chpe@gnome.org>
1881 * modules/other/gail/Makefile.am:
1882 * modules/other/gail/tests/*:
1883 * configure.in: Merge tests from standalone gail. Bug #504568.
1885 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1887 * gtk/gtkclipboard.c: Make the finalizer work when display is
1890 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1892 Draw bottom shadow of GtkCalender headings. (#506113)
1894 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1896 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1898 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1901 2007-12-28 Christian Persch <chpe@gnome.org>
1903 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1904 a mem leak. Bug #506096.
1906 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1909 * gtk/gtktreeview.c:
1910 * gtk/gtkprintoperation.c:
1911 * gtk/gtkprogressbar.c:
1912 * gtk/gtkmessagedialog.c:
1913 * gtk/gtknotebook.c:
1917 * gtk/gtklinkbutton.c:
1918 * gtk/gtkmenu.c: More default property value corrections.
1920 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1922 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1923 accel_group unless it is set.
1925 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1927 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1929 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1931 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1932 shadow-type properties.
1934 * gtk/gtkfontsel.c: Fix the default values of several properties.
1936 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1939 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1941 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1944 2007-12-28 Johan Dahlin <johan@gnome.org>
1946 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1947 (gtk_dialog_buildable_custom_tag_start): Chain up.
1948 This makes it possible to have accelerators tags on GtkDialog
1951 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1953 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1954 are shown within the widget, or just as tooltip. (#339540)
1956 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1957 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1958 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1961 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1963 Try more decent appearance of calendar details separator. (#339540)
1965 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1966 and make it short by one pixel on each side.
1968 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1970 Apply trivial code-style changes from attachement 101101. (#339540)
1972 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1974 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1976 Restructure testcalendar for testing calendar details. (#339540)
1978 * tests/testcalendar.c: Push code arround for testing calendar details.
1980 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1982 Implement GtkTooltip API for calendar details. (#339540)
1984 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1985 Remember detail overflows in calendar_paint_day to show the tooltip
1986 only when neccessary.
1988 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1990 Without setting "detail-width-chars" and "detail-height-rows"
1991 properties not only the widget has to be redrawn on certain
1992 conditions, but also its size must be recalculated. (#339540)
1994 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1995 that function instead of gtk_widget_queue_draw.
1997 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1999 Consider details for size-request and expose-event. (#339540)
2001 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2002 is_color_attribute functions. Change gtk_calendar_size_request
2003 and calendar_paint_day to consider and show calender details.
2005 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2007 * gtk/gtkcombobox.c: Introduce local priv variables to
2010 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2012 * gtk/gtkcombobox.c: Correct the default value for the
2013 tearoff-title property.
2015 * gtk/gtkcellrenderertext.c: Fix the default value for the
2016 wrap-mode and font-scale properties.
2018 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2021 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2023 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2024 defines. (#505708, MINAMI Hirokazu)
2026 2007-12-27 Christian Persch <chpe@gnome.org>
2028 * Makefile.am: Install gail.pc. Bug #505859.
2030 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2032 Add infrastructure for GtkCalendar details. (#339540)
2034 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2035 Add "detail-width-chars" and "detail-height-rows" properties,
2036 and gtk_calendar_set_detail_func function.
2038 2007-12-27 Xan Lopez <xan@gnome.org>
2041 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2043 Add gtk_border_new to avoid memory allocator confusions when using
2044 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2046 2007-12-27 Christian Persch <chpe@gnome.org>
2048 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2049 bug #504886 not to read unitialised memory.
2051 2007-12-26 Xan Lopez <xan@gnome.org>
2053 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2054 modification of the internal frame contents to decide if we have
2055 extra children. (#415677)
2057 2007-12-22 Christian Persch <chpe@gnome.org>
2059 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2061 2007-12-25 Christian Persch <chpe@gnome.org>
2063 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2064 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2067 2007-12-25 Christian Persch <chpe@gnome.org>
2069 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2071 2007-12-25 Christian Persch <chpe@gnome.org>
2073 * modules/other/gail/*.[ch]: Remove relocations from the atk
2074 factories. Remove unused gail_foo_new() functions. Fix object
2075 instantiation to be derivation safe by moving initialisation code
2076 from the removed gail_foo_new() functions to the
2077 AtkObjectClass::initialize implementation. Bug #505226.
2079 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2081 * modules/other/gail/gailentry.c:
2082 * modules/other/gail/gailimage.c:
2083 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2084 uses of clipboards and settings. (#504722, Christian Persch)
2086 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2088 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2091 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2093 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2094 use the time and button information from the event. (#504901,
2097 2007-12-23 Cody Russell <bratsche@gnome.org>
2099 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2100 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2101 Fixes a regression caused by #164537 patch where transient
2102 windows that are hidden get shown (incorrectly) when their
2103 parents are minimized. (#504984)
2105 2007-12-22 Christian Persch <chpe@gnome.org>
2107 * modules/other/gail/gailcell.c:
2108 * modules/other/gail/gailcontainercell.c:
2109 * modules/other/gail/gailexpander.c:
2110 * modules/other/gail/gailtextcell.c:
2111 * modules/other/gail/gailtextview.c:
2112 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2114 2007-12-22 Christian Persch <chpe@gnome.org>
2116 * modules/other/gail/*.c: Include config.h. Bug #504720.
2118 2007-12-22 Christian Persch <chpe@gnome.org>
2120 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2121 handwritten get_type functions. Bug #504661.
2123 2007-12-23 Xan Lopez <xan@gnome.org>
2125 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2126 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2128 Patch by Sadrul Habib Chowdhury (#504804)
2130 2007-12-22 Christian Persch <chpe@gnome.org>
2132 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2133 #504645, patch by Li Yuan.
2135 2007-12-22 Christian Persch <chpe@gnome.org>
2137 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2139 2007-12-22 Christian Persch <chpe@gnome.org>
2141 * modules/other/gail/gail.c:
2142 * modules/other/gail/gailbutton.c:
2143 * modules/other/gail/gailcell.c:
2144 * modules/other/gail/gailcombo.c:
2145 * modules/other/gail/gailcombo.h:
2146 * modules/other/gail/gailcombobox.c:
2147 * modules/other/gail/gailentry.c:
2148 * modules/other/gail/gailexpander.c:
2149 * modules/other/gail/gailmenuitem.c:
2150 * modules/other/gail/gailnotebook.c:
2151 * modules/other/gail/gailnotebookpage.c:
2152 * modules/other/gail/gailnotebookpage.h:
2153 * modules/other/gail/gailoptionmenu.c:
2154 * modules/other/gail/gailrange.c:
2155 * modules/other/gail/gailtextview.c:
2156 * modules/other/gail/gailtreeview.c:
2157 * modules/other/gail/gailtreeview.h:
2158 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2161 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2163 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2166 2007-12-21 Richard Hult <richard@imendio.com>
2168 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2169 Plug leak of destroyed subviews, fixes bug #504753.
2171 2007-12-20 Johan Dahlin <johan@gnome.org>
2173 * tests/Makefile.am (TEST_PROGS):
2174 * tests/defaultvaluetest.c: Add a test for default values,
2175 based on program by Christan Perch
2177 2007-12-20 Johan Dahlin <johan@gnome.org>
2179 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2180 Refactor to avoid some duplication.
2181 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2182 Fixes #504749, Yuri Pimenov
2184 2007-12-20 Kristian Rietveld <kris@imendio.com>
2186 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2187 the build work again on systems without xrandr 1.2.
2189 2007-12-20 Christian Persch <chpe@gnome.org>
2192 * modules/other/gail/libgail-util/Makefile.am:
2193 Keep the same libtool version as the standalone libgail-util had.
2196 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2198 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2200 2007-12-20 Alexander Larsson <alexl@redhat.com>
2202 * gdk/x11/gdkapplaunchcontext-x11.c:
2203 Update for gio API changes
2205 2007-12-20 Richard Hult <richard@imendio.com>
2207 * gdk/quartz/GdkQuartzWindow.c:
2208 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2209 processing events after changing the size.
2211 2007-12-20 Richard Hult <richard@imendio.com>
2213 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2214 Add stub for quartz to fix build.
2216 2007-12-20 Christian Persch <chpe@gnome.org>
2218 * modules/other/gail/Makefile.am:
2219 * modules/other/gail/gailimage.c: (gail_image_class_init),
2220 (gail_image_init), (elide_underscores), (gail_image_get_name),
2221 (atk_image_interface_init), (gail_image_finalize):
2222 * modules/other/gail/gailimage.h:
2223 R modules/other/gail/gailintl.h:
2224 * po/POTFILES.skip: Use the stock item's label as the name of the
2225 accessible in gailimage.c. Bug #504246.
2227 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2229 Avoid some compiler warnings and remove obsolete code. (#339540)
2231 * gtk/gtkcalendar.c: Change week and year variable in
2232 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2233 0" block from calendar_paint_day: The feature in question is handled
2234 few lines above. Cast data returned by gtk_selection_data_get_text()
2235 to (gchar*) in gtk_calendar_drag_data_received.
2237 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2239 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2241 2007-12-19 Johan Dahlin <johan@gnome.org>
2243 * tests/buildertest.c (test_object_properties):
2244 Add another call to gtk_builder_add_string after using
2245 delayed properties, as reported in #504393 but already
2248 2007-12-18 Christian Persch <chpe@gnome.org>
2251 * docs/reference/Makefile.am:
2252 * docs/reference/libgail-util/*:
2253 * gail-uninstalled.pc.in:
2255 * modules/Makefile.am:
2256 * modules/other/Makefile.am:
2257 * modules/other/gail/*:
2258 * modules/other/gail/libgail-util/*:
2259 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2261 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2263 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2264 * gdk/win32/gdkproperty-win32.c:
2265 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2267 * gtk/gtkimmodule.[hc]:
2268 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2269 look at the gtk-im-module setting, and listen for changes to the
2270 setting. (#502446, Akira Tagoh)
2272 2007-12-17 Kristian Rietveld <kris@imendio.com>
2274 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2275 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2276 to NULL as soon as it's destroyed. (#496546, patch from
2279 2007-12-17 Kristian Rietveld <kris@imendio.com>
2281 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2282 always determine what arrow to show if show_sort_indicator is true.
2283 (#352738, Chris Vine).
2285 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2287 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2290 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2291 gtk_container_foreach in get_child_panes.
2293 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2295 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2297 Plug leak: When reordering the info in the list the old node is
2298 removed but not freed. (#503569)
2300 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2302 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2303 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2304 are deprecated since DirectFB 1.0.0. If compiling with an older
2305 version define the new type name to the old types. Fixes bug #503190.
2307 2007-12-14 Ray Strode <rstrode@redhat.com>
2309 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2310 instead of g_signal_connect_after (..., "realize", ...) as an
2311 alternative to gtk_widget_realize () (bug 503537).
2313 2007-12-14 Michael Natterer <mitch@imendio.com>
2315 * gdk/gdkinternals.h
2316 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2319 * gdk/gdkapplaunchcontext.c
2320 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2321 header already includes everything now.
2323 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2325 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2326 next stable release shall be 2.16, not 2.14 - even if disagree.
2328 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2330 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2332 Change GtkToolItem to retrieve its properties from GtkToolShell
2333 interface, instead of relying on being child of a GtkToolbar.
2336 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2337 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2338 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2339 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2340 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2341 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2342 Take section docs from template file and update them for GtkToolShell.
2343 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2344 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2346 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2348 Extract loading of GtkPageSetup and GtkPrintSettings from their
2349 *_new_*() functions and move that code into separate
2350 *_load_*() functions (#475565).
2352 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2353 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2354 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2355 Change the matching *_new_*() functions to use those functions.
2357 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2360 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2362 2007-12-14 Kristian Rietveld <kris@imendio.com>
2364 * gtk/tests/liststore.c:
2365 * gtk/tests/treestore.c: added tests for insertion functions.
2367 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2369 * Add RandR 1.2 support
2371 - New monitors_changed signal - New API to get width/height of
2372 monitors, and the name of the plug
2374 2007-12-13 Kristian Rietveld <kris@imendio.com>
2376 * gtk/tests/liststore.c:
2377 * gtk/tests/treestore.c: test the move and swap functions on a
2378 store with only one node.
2380 2007-12-13 Kristian Rietveld <kris@imendio.com>
2382 * gtk/gtktestutils.c (gtk_test_init): add a call to
2385 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2388 2007-12-13 Kristian Rietveld <kris@imendio.com>
2390 * gtk/tests/liststore.c:
2391 * gtk/tests/treestore.c: start composing tests for the list and tree
2394 * gtk/tests/treeview-scrolling.c: added automated tests for
2395 GtkTreeView's scrolling "subsystem".
2397 * gtk/tests/Makefile.am: updated; added new test programs.
2399 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2401 Make the code compile again after the GdkAppLaunchContext changes.
2403 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2404 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2406 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2408 * gdk/gdkapplaunchcontext.c: Add docs
2410 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2412 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2413 in gdk, providing startup notification. (#503203)
2415 * gdk/x11/gdkapplaunchcontext-x11.c:
2416 * gdk/win32/gdkapplaunchcontext-win32.c:
2417 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2418 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2419 parts. All but X11 are just empty stubs for now.
2422 * gdk/gdkinternals.h:
2424 * gdk/x11/Makefile.am:
2425 * gdk/win32/Makefile.am:
2426 * gdk/quartz/Makefile.am:
2427 * gdk/directfb/Makefile.am: Necessary glue.
2429 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2431 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2433 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2435 * gdk/directfb/gdktestutils-directfb.c:
2436 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2437 which adds testing functions to the DirectFB backend.
2439 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2441 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2442 Ciccani which fixes the mixing of gdk and cairo rendering.
2444 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2446 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2447 on "drag-motion" handlers. Clearify documentation for
2450 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2452 * buildertest.c: made unnecessarily exported symbols static.
2453 switched g_return_if_fail() statements in tests to assertions.
2454 special cased currently failing Widget/accesibility test to
2455 run only for g_test_thorough(), so it doesn't break make check.
2456 some coding style fixes.
2458 * Makefile.am: added buildertest to TEST_PROGS.
2460 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2462 * docs/tutorial/gtk-tut.sgml:
2463 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2465 2007-12-10 Richard Hult <richard@imendio.com>
2467 * gdk/quartz/Makefile.am:
2468 * gdk/quartz/gdkquartz.h:
2469 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2470 header (bug #405915). Also add a getter for the toplevel nswindow.
2472 2007-12-10 Richard Hult <richard@imendio.com>
2474 * gdk/quartz/gdkdrawable-quartz.c:
2475 (gdk_quartz_drawable_get_context),
2476 (gdk_quartz_drawable_release_context):
2477 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2478 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2479 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2480 used for each drawing context and in prepare, dispatch and poll
2481 with one that exists across each main loop iteration. Fixes leaks
2482 on leopard and protects against future leaks introduce when the
2483 underlying system changes again (bug #492977).
2485 2007-12-10 Richard Hult <richard@imendio.com>
2487 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2488 Fix the check for no changes to position and size.
2490 2007-12-10 Richard Hult <richard@imendio.com>
2492 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2493 sized areas at (0, 0), patch from Paul Davis.
2495 2007-12-10 Richard Hult <richard@imendio.com>
2497 * gdk/quartz/gdkprivate-quartz.h:
2498 * gdk/quartz/gdkeventloop-quartz.c:
2499 (_gdk_quartz_event_loop_get_pending),
2500 (_gdk_quartz_event_loop_check_pending),
2501 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2502 (gdk_event_check), (gdk_event_dispatch):
2503 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2504 (_gdk_events_queue): Fix a bug where we could end up trying to
2505 handle the same event more than once. Based on patch from Paul
2508 2007-12-10 Tor Lillqvist <tml@novell.com>
2510 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2513 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2515 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2516 to avoid further fallout from the fix for bug 388321.
2518 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2520 * gdk/directfb/gdkgc-directfb.c:
2521 * gdk/directfb/gdkdrawable-directfb.c:
2522 * gdk/directfb/gdkdirectfb.h:
2523 * gdk/directfb/gdkwindow-directfb.c:
2524 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2525 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2526 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2527 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2528 which are expected to improve the performance of the DirectFB backend.
2529 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2531 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2533 * gtk/gtkcontainer.c: Correct the documentation of child
2534 property getter arguments. (#501992, David Brigada)
2536 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2538 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2539 leak pixbufs. (#502250, Yevgen Muntyan)
2541 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2543 * gtk/gtkprintunixdialog.c:
2544 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2545 Print and Page Setup dialogs (#502202).
2547 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2549 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2550 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2551 of XVFB_START, since it's the GTESTER invokation that needs this.
2553 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2555 * gdk-pixbuf/gdk-pixbuf.symbols:
2557 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2558 positives in abicheck.sh
2560 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2562 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2563 GDK events generations in the DirectFB backend.
2565 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2567 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2568 set of likely unused display ids, because MacOS has no seq(1) command.
2570 2007-12-06 Richard Hult <richard@imendio.com>
2572 * gdk/quartz/gdkevents-quartz.c:
2573 (synthesize_crossing_events_for_ns_event): Fix warning when
2574 switching spaces in leopard.
2576 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2578 * tests/floatingtest.c: ported to new testing framework.
2580 * tests/Makefile.am: run floatingtest as testing framework test.
2582 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2584 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2585 timeouts and converting main loop sleeps to pending/iterate loops with
2586 very low priority async handlers. eliminate output for non-verbose
2587 tests. assert successfull subtests in all test functions. use testing
2588 framework in main().
2590 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2591 executed inside Xvfb upon make check.
2593 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2595 * tests/objecttests.c: use string comparisons for string property
2596 values and get rid of referencing symbols in array initialization.
2598 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2600 * gtk+/Makefile.decl: run tests in current dir after setting up the
2601 logging directory, so their results get properly merged into the
2604 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2605 tests to loop over registered Gdk/Gtk+ types.
2607 * gtk+/tests/objecttests.c: new test program, implements automated
2608 property tests. several properties are blacklisted because they
2609 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2610 can be used to test blacklisted properties and see which proprty failed.
2612 2007-12-04 Richard Hult <richard@imendio.com>
2614 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2615 Fully initialize the root window, fixes bug #501583.
2617 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2619 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2622 2007-12-03 Richard Hult <richard@imendio.com>
2624 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2625 Don't crash when dragging from a source that doesn't support uri
2626 lists (bug #499868, Paul Davis).
2628 2007-12-03 Richard Hult <richard@imendio.com>
2630 * gdk/quartz/gdkwindow-quartz.c:
2631 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2632 parent relative bg pixmap is set, and no parent has a bg
2633 pixmap. Fixes bug #500804.
2635 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2637 Two optimizations for icon cache lookups.
2639 * gtk/gtkiconcache.[hc]:
2640 * gtk/gtkicontheme.c: Remember the directory index for
2641 subdirectories, instead of running over the directory list
2644 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2645 chain and try it first; this helps with the the usage patterns
2646 in gtkicontheme.c, where the same icon is queried for a lot
2649 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2651 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2652 functions from header files. this should be portable across linux and
2653 Mac OS, unlike the previpous sed expression.
2655 2007-12-1 Cody Russell <bratsche@gnome.org>
2657 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2658 On Windows, queue a redraw of child2 whenever we set
2659 the pane handle position. This is unfortunately kind
2660 of hacky, but solves the visual artifacts that were
2661 occuring on at least certain types of child widgets
2662 (e.g., text views and tree views) that are inside
2663 horizontal or vertical panes. (#144269)
2665 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2667 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2669 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2671 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2674 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2676 * gtk/Makefile.am: Fix ordering of subdirs.
2678 2007-11-28 Tor Lillqvist <tml@novell.com>
2680 A proper build of GNU libintl is supposed to export the variable
2681 _nl_msg_cat_cntr. configure looks for that variable in order to
2682 recognize GNU gettext. If it sees that it is indeed GNU gettext
2683 that is used, it decides to install message catalogs in
2684 share/locale, otherwise in lib/locale. Until now on Windows I have
2685 built GTK+ against a build of GNU gettext that did not export
2686 _nl_msg_cat_cntr. But this will change, so we can't assume message
2687 catalogs are always in lib/locale.
2689 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2690 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2691 before the inclusion of gtkprivate.h so that it sees the original
2694 * gtk-zip.sh.in: Check whether the message catalogs are in
2695 share/locale or lib/locale.
2697 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2698 that the code in _gtk_get_localedir() will find the slashes.
2700 2007-11-28 Tor Lillqvist <tml@novell.com>
2702 * gtk/Makefile.am: Improve portability. The -o option is present
2703 only in newish GNU egreps. Use one more sed in the pipeline
2706 2007-11-28 Tor Lillqvist <tml@novell.com>
2708 Fix #375893, patch by Ben Hague:
2710 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2711 around GetLogicalDrives() that takes also the viewable drive
2712 restrictions in the Registry (which are usually the result of an
2713 Active Directory Group Policy) into account.
2715 (check_volumes, gtk_file_system_win32_list_volumes) Call
2716 get_viewable_logical_drives() instead of GetLogicalDrives().
2718 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2720 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2721 variables to silence valgrind. (#495124, Morten Welinder)
2723 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2725 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2726 that the construct_child function is responsible for returning a
2728 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2729 objects from constructors
2730 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2731 g_object_ref() to this construction function (it's the only
2736 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2738 * gtkbuilder.c: remove concept of root objects and just refcount
2739 all objects in the builder. Fixes #496651.
2741 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2743 * tests/buildertest.c (test_window): fix invalid free
2745 2007-11-26 Josselin Mouette <joss@malsain.org>
2747 reviewed by: Federico Mena Quintero
2749 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2750 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2751 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2752 Make the shortcuts activate with a single click. (#148828)
2753 Fix a few things affected by the change:
2754 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2755 where no shortcut is selected.
2756 - Don't activate a shortcut in the response callback.
2757 - Filter out duplicate entries in volumes and bookmarks to
2758 avoid the selection to change when reordering them with DnD.
2760 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2763 * gtk/gtknotebook.c:
2764 * gtk/gtkplugprivate.h:
2766 * gtk/gtksocketprivate.h:
2767 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2769 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2771 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2772 (#495574, Richard Hult)
2774 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2776 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2777 String change ! (#376361, Sven Neumann)
2779 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2781 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2783 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2786 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2788 * gtk/gtkassistant.c: Improve alternative button
2789 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2791 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2793 * gtk/gtkcalendar.c: Fix a theming problem with colors
2794 in GtkCalendar. (#499703, Michael Hofmann)
2796 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2798 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2800 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2802 Use templates for glib-mkenums calls instead of
2803 complicated commandlines in Makefiles. (#429910)
2805 * gdk-pixbuf/Makefile.am:
2808 * perf/Makefile.am: Use templates for glib-mkenums
2810 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2811 * gdk/gdkenumtypes.[ch].template:
2812 * gtk/gtktypebuiltings.[ch].template:
2813 * perf/typebuiltins.[ch].template: The templates
2815 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2817 * gtk/gtkfilechooserbutton.c:
2818 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2819 some compilers choke on that. (#467722)
2821 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2823 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2824 about hook setup. (#425004, Emmanuele Bassi)
2826 2007-11-26 Tor Lillqvist <tml@novell.com>
2828 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2829 monitor the window currently is on, not always the primary
2830 monitor. (#463865, Tim Evans)
2832 2007-11-26 Tor Lillqvist <tml@novell.com>
2834 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2836 * gdk/win32/Makefile.am: Add it.
2838 2007-11-26 Tor Lillqvist <tml@novell.com>
2840 * configure.in: Don't add jasper to all_loaders if no libjasper.
2842 2007-11-25 Bastien Nocera <hadess@hadess.net>
2844 * configure.in: Add detection for libjasper, used by the
2845 gdk-pixbuf JPEG2000 loader
2847 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2849 * configure.in: Require gtk-doc 1.8
2851 * */*.c: Use gtk-doc abbreviations for examples in docs.
2853 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2855 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2858 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2860 * gtk/gtkdialog.c: Move signal and property documentation inline,
2861 fix a problem with the ::response signal docs. (#499133, Josselin
2864 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2866 * Makefile.decl: initialize automake variables EXTRA_DIST and
2867 TEST_PROGS for unconditional appending via += in other makefiles.
2868 define recursive test targets: test, test-report, perf-report,
2869 full-report, as described here:
2870 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2871 the test targets will execute Gtk+ test programs within an Xvfb session.
2873 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2875 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2876 g_test_run() to run the tests to integrate with the testing framework.
2878 * gtk/tests/Makefile.am: removed exemplary testing rules.
2880 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2881 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2882 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2883 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2884 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2885 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2886 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2887 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2888 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2889 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2890 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2891 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2892 * modules/engines/ms-windows/Theme/Makefile.am:
2893 * modules/engines/ms-windows/Makefile.am:
2894 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2895 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2896 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2897 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2898 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2899 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2900 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2902 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2904 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2905 (#485662, patch by Herbert Valerio Riedel)
2907 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2909 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2911 2007-11-21 Richard Hult <richard@imendio.com>
2913 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2914 stubs for the testing functions to fix the build.
2916 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2918 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2919 (#467711, The Written Word)
2921 2007-11-21 Ross Burton <ross@openedhand.com>
2923 * gdk/x11/gdksettings.c:
2924 Add xsetting for gtk-scrolled-window-placement (#458103).
2926 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2928 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2929 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2930 (#469239, Michael Natterer)
2932 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2934 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2935 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2936 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2937 (#436536, Tommi Komulainen)
2939 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2941 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2942 property. (#489782, Jan Janech)
2944 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2946 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2947 frames. (#107398, Owen Taylor, Miguel Gomez)
2949 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2951 Moved Gdk test functions from Gtk+ to Gdk test utils.
2953 * gdk/Makefile.am: added gdktestutils.h to public includes.
2955 * gdk/gdk.h: added gdktestutils.h to public includes.
2957 * gdk/gdk.symbols: added gdk_test_simulate_button,
2958 gdk_test_simulate_key, gdk_test_render_sync.
2960 * gdk/gdktestutils.h: new file, added prototypes for
2961 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
2963 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2965 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2966 gdk_test_simulate_key, gdk_test_render_sync.
2968 * gtk/gtktestutils.c:
2969 * gtk/gtktestutils.h:
2970 * gtk/gtk.symbols: removed gtk_test_simulate_button
2971 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2973 * gtk/tests/testing.c: call gdk_test_render_sync.
2975 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2977 Added unit tests for Gtk+ testing utilities.
2979 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2980 utility functions. some g_test_* related portions are disabled and need
2981 to be enabled once Gtk+ depends on a new glib with the GLib testing
2982 framework integrated.
2984 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
2985 tests. added exemplary test rules to run tests inside Xvfb. this
2986 needs to depend on gtester for full fledged testing.
2988 * gtk/Makefile.am: build gtk+/gtk/tests, define
2989 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
2990 e.g. gtk_text_get_type().
2992 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2994 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2996 Added Gtk+ testing utilities.
2998 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
2999 functions. for the most part, the functions herein involve
3000 navigating and interacting with dialog elements programatically,
3001 to automate user interaction tests of dialogs and widgets.
3003 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3005 * gtk/gtk.symbols: added gtk_test_* symbols.
3007 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3008 the build. generate gtktypefuncs.c which contains a list of all
3009 _get_type functions in Gtk+ and Gdk.
3011 2007-11-20 Bastien Nocera <hadess@hadess.net>
3013 * configure.in: add support for conditional icns gdk-pixbuf loader
3016 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3018 * configure.in: updated version number to 2.15.0 for development.
3020 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3022 === Branch for 2.12 ===