1 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
3 Bug 506062 – gtk_recent_manager_add_item does not detect mime
6 * configure.in: Depend on gio-2.0
8 * gtk/gtkrecentmanager.c:
9 (gtk_recent_manager_add_item_query_info_cb),
10 (gtk_recent_manager_add_item): Use GIO to (asynchronously) query
11 the MIME type of the passed URI.
13 2008-04-11 Carlos Garnacho <carlos@imendio.com>D:ChangeLog
15 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
16 page to visited page list instead of next current page. (#527466,
17 patch by Marcus Brinkmann)
19 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
21 * gtk/gtklabel.c: Added <attributes> / <attribute>
22 custom tags to parse pango attributes into labels.
24 * tests/buildertest.c: Added tests for GtkLabel custom
27 2008-04-10 Carlos Garnacho <carlos@imendio.com>
29 * gtk/gtknotebook.c (hide_drag_window): Do not call
30 gtk_widget_set_parent_window(), using widget->window instead of NULL
31 to unset is the wrong thing, and gtk_widget_unparent() will already
32 take care of this (#467698, patch by Sébastien Granjoux)
34 2008-04-08 Tor Lillqvist <tml@novell.com>
36 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
37 these functions with G_MODULE_EXPORT.
39 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
41 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
42 (gtk_file_system_volume_render_icon):
43 Fix fallback icon rendering size
45 2008-04-08 Michael Natterer <mitch@imendio.com>
47 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
48 touchscreen-mode keynav corner case: when navigating to the parent
49 menu, make sure we don't close two menus at the same time in case
50 the deepest open menu has no selectable items.
52 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
54 * gtk/gtkwidget.c: Clarified a g_warning message regarding
55 parsing accelerators from builder files.
57 2008-04-03 Cody Russell <bratsche@gnome.org>
59 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
60 of the block. (#526021, reported by Kazuki IWAMOTO)
62 2008-04-03 Tor Lillqvist <tml@novell.com>
64 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
67 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
68 workaround for a specific kind of screwed up locale setting.
70 2008-04-02 Matthias Clasen <mclasen@redhat.com>
72 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
73 colormaps. Found by Daniel Berrange.
75 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
77 * tests/autotestfilechooser.c: Cover
78 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
79 name. (#346058, Joe Halliwell)
81 2008-04-02 Federico Mena Quintero <federico@novell.com>
83 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
84 chooser incorrectly substitutes and expands a ~ when you type it
85 in the filename entry.
87 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
88 basenames result in a slash-terminated pathname.
89 gtk_file_system_unix_parse() is correct, but it was splitting
90 "/home/username" into path="/home" and file_part="username", which
91 is not what the caller wants when the entry has just "~" or
94 2008-04-02 Tor Lillqvist <tml@novell.com>
96 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
97 and gtksearchenginetracker.c on Windows.
99 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
102 2008-04-01 Cody Russell <bratsche@gnome.org>
104 * configure.in: Bump required Cairo to 1.5.2.
106 * gtk/gtkprintoperation-win32.c: Add support for using the new
107 cairo_win32_printing_surface for printing. Also fixed to use
108 cairo_surface_show_page(). (#488833 and #521178)
110 2008-03-31 Cody Russell <bratsche@gnome.org>
112 * demos/gtk-demo/printing.c (draw_page): Move down each line in
113 units of text_height rather than in units of data->font_size.
114 (totally awesome catch by Dom Lachowicz)
116 2008-03-28 Richard Hult <richard@imendio.com>
118 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
119 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
120 event to the mainloop and don't generate one at all if the
121 toplevel didn't change. Use the actual window and not the toplevel
122 as event window. These changes make the generated crossing events
123 match the X11 behavior and fixes issues with e.g. tooltips,
124 comboboxes and menus.
126 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
127 the view has no window, it will be updated as soon as it's put
130 * gdk/quartz/gdkwindow-quartz.c:
131 (_gdk_quartz_window_debug_highlight): Make it possible to track
132 multiple windows with debug highlighting.
133 (show_window_internal): Remove workaround for tooltips and popups
134 that is no longer needed with the above changes.
136 2008-03-26 Federico Mena Quintero <federico@novell.com>
138 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
139 helper function; factored out from the functions that commit the
140 current suggested autocompletion and that refresh the entry's paths.
141 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
142 (_gtk_file_chooser_entry_get_file_part): Likewise.
143 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
144 makes the entry have the correct paths when *not* using any form
145 of completion (and makes the file chooser work when clicking the
148 2008-03-25 Richard Hult <richard@imendio.com>
150 * gdk/quartz/gdkevents-quartz.c:
151 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
152 can't find a matching window.
154 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
155 comment, and only trigger an event for non-temp windows, fixes
156 problems for tooltips caused by the workarounds for the
157 problematic tracking rect API.
159 2008-03-25 Richard Hult <richard@imendio.com>
161 * gdk/quartz/gdkwindow-quartz.c:
162 (gdk_window_quartz_process_all_updates): Plug a leak and add a
163 check that we have a toplevel before accessing it.
165 2008-03-24 Tor Lillqvist <tml@novell.com>
167 Bug 524151 - Dragging of 0-byte files results in an empty filename
168 on Windows XP and above
170 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
171 being empty first. For some reason ISHellLink and IPersistFile
172 succeeds in interpreting empty files as shortcuts, claiming the
173 target of the shortcut is an empty path.
175 Change the function to take the wide character file name that the
176 caller already has anyway, to avoid a superfluous conversion from
179 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
181 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
182 against NULL pointer. (#467051, Gian Mario Tagliaretti)
184 2008-03-23 Cody Russell <bratsche@gnome.org>
186 * gdk/win32/gdkevents-win32.c (show_window_recurse):
187 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
188 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
189 menus from a maximized window would force the window to restore
192 2008-03-23 Johan Dahlin <johan@gnome.org>
194 * gtk/gtk-builder-convert:
195 Properly convert GtkImageMenuItems which use stock labels but don't
197 (#523932, Brian Pepple)
199 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
201 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
202 New function implements GtkCellLayoutClass::get_cells. (#523787)
204 2008-03-22 Tor Lillqvist <tml@novell.com>
206 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
208 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
209 GDK_THREADS_LEAVE() call. Approved by mclasen.
211 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
213 * gtk/gtkexpander.c (gtk_expander_get_label):
214 gtk_label_get_label() should be used instead of
215 gtk_label_get_text(). (#353088, Xan Lopez)
217 2008-03-21 Tor Lillqvist <tml@novell.com>
219 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
220 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
221 gdip-pixbuf-loader module.
223 * configure.in: Add switch --disable-gdiplus-loaders that disables
224 building of the GDI+ loaders.
226 When including loaders in the gdk-pixbuf library, and building
227 GDI+ loaders, either build in all the GDI+ loaders or none of
228 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
229 signal building them in.
231 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
232 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
233 indicate whether they should be built-in.
235 For the rest of the changes, see gdk-pixbuf/ChangeLog.
237 2008-03-20 Tor Lillqvist <tml@novell.com>
239 * gtk/Makefile.am: Revert accidental change that went in as part
240 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
241 Darwin. On Windows one has to use a newer GNU grep that has -o,
242 for instance the one from gnuwin32, instead of the oldish one in
243 MSYS that doesn't have -o.
245 2008-03-20 Tor Lillqvist <tml@novell.com>
247 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
248 pass NULL for %s to g_message().
249 (main): Drop unnecessary call to gtk_widget_destroy().
251 2008-03-20 Tor Lillqvist <tml@novell.com>
253 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
255 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
256 in one dimension, or centered in case it doesn't fit.
257 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
260 2008-03-18 Tor Lillqvist <tml@novell.com>
262 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
264 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
265 G_MODULE_ENTRY decoration can be put in a more correct place.
267 2008-03-18 Sven Neumann <sven@gimp.org>
269 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
270 alternative button order on the password dialog.
272 2008-03-18 Tor Lillqvist <tml@novell.com>
274 Bug 99192 - Add --with-include-input-modules
276 * configure.in: Add --with-included-immodules switch. Handled in a
277 similar way as the --with-included-loaders switch. For each input
278 method module foo: Collect the list of input modules to be built
279 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
280 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
281 Define Automake conditionals INCLUDE_IM_FOO.
283 * modules/input/Makefile.am: For modules to be included in libgtk,
284 build a static library.
286 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
287 gdk-pixbuf to get unique names for the functions called by libgtk
288 in the included case. Use G_MODULE_EXPORT in the non-included case
289 so that we don't unnecessarily export unneeded random global
292 * gtk/Makefile.am: Build the included modules and link them into libgtk.
294 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
295 copy/paste leftover mentions of "themes" in comments.
297 2008-03-18 Tor Lillqvist <tml@novell.com>
299 * tests/Makefile.am: Build testmountoperation only on Unix for now.
301 2008-03-17 Christian Kellner <gicmo@gnome.org>
303 Implement GtkMountOperation, a subclass of GMountOperation
304 to be used with gio wherever there is the need to ask the
305 user for credentials or questions while mounting a volume.
308 * gtk/gtkmountoperation.c:
309 * gtk/gtkmountoperation.h:
310 Implement GtkMountOperation.
312 * gtk/gtk.h: Add gtkmountoperation.h
313 * gtk/Makefile.am: Add gtkmountoperation.[hc]
314 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
315 * tests/testmountoperation.c: Test program for it.
316 * tests/Makefile.am: Add testmountoperation.
318 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
320 * gtk/gtkcontainer.c: Properly document
321 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
323 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
325 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
326 style names for the ComboBox thickness style
328 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
330 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
331 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
332 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
333 intelligent separation for the xp theming engine and the classic
334 theme while drawing the GtkComboBox button. combobox_draw_arrow
335 is not used anymore, commented. The style has been updated to fix
336 border/thickness glitches in the combobox according to the fixes
337 commited regarding bug #521442. (bug #461805)
339 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
341 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
342 now aware of both the combobox and frame (if has-frame is set)
343 thickness and border. (bug #521442)
345 2008-03-15 Andre Klapper <a9016009@gmx.de>
347 * configure.in: Added "si" to ALL_LINGUAS.
349 2008-03-15 Matthias Clasen <mclasen@redhat.com>
351 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
352 Set window type hint on the search popup. (#522279, Danny Baumann)
354 2008-03-15 Matthias Clasen <mclasen@redhat.com>
356 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
357 appropriate. (#521934, Huang Peng)
359 2008-03-14 Michael Natterer <mitch@imendio.com>
362 * gtk/gtkbuilderprivate.h
363 * gtk/gtkfilechoosersettings.c
364 * gtk/gtksearchenginesimple.c
365 * gtk/tests/liststore.c
366 * gtk/tests/treestore.c: remove single-file includes of GLib
367 headers or replace them by <glib.h> where needed.
369 2008-03-14 Michael Natterer <mitch@imendio.com>
371 * gtk/gtkadjustment.c: coding style cleanup.
373 (gtk_adjustment_set_property): no need to call g_object_notify()
374 on the set properties.
376 Implement GObject::dispatch_properties_changed() and make sure we
377 emit "changed" when anything but the "value" property changes.
379 2008-03-14 Tor Lillqvist <tml@novell.com>
381 * gdk/win32/gdkevents-win32.c: Drop the support for the
382 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
383 Win95. Thanks to mitch for noticing this obsolete code.
385 2008-03-14 Cody Russell <bratsche@gnome.org>
387 * examples/scribble-xinput/scribble-xinput.c: Changed
388 'void int main()' to 'int main()'. (#522211, Liqing Huang)
390 2008-03-14 Richard Hult <richard@imendio.com>
392 * gdk/quartz/gdkwindow-quartz.c:
393 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
394 only flush the toplevel once per update.
396 2008-03-13 Federico Mena Quintero <federico@novell.com>
398 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
399 Set the mouse cursor of the feedback window to invisible, so that
400 we respect GtkEntry's invisible cursor while typing.
402 2008-03-13 Federico Mena Quintero <federico@novell.com>
404 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
405 the feedback window at entry_height/2 pixels to the right of the
406 cursor, for a cheap "M-width / 2" spacing.
408 2008-03-13 Sven Neumann <sven@gimp.org>
410 * gtk/gtkfilechooserdefault.c
411 * gtk/gtkprintunixdialog.c: set alternative button order for
412 overwrite confirmation dialogs (bug #522191).
414 2008-03-13 Sven Neumann <sven@gimp.org>
416 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
417 (overwrite_confirmation_dialog): added some line-breaks for
420 2008-03-12 Federico Mena Quintero <federico@novell.com>
422 Rework the way completion works in GtkFileChooserEntry. Fixes
423 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
424 Tab completion should work even if the cursor is not at the end of
427 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
430 We distinguish between two cases:
432 - autocompletion - happens only in the Open modes by
433 inserting and selecting the common prefix as you type.
435 - explicit completion - happens when you hit Tab.
437 When some type of completion needs to happen, the entry first
438 parses its input and sees if it needs to initiate a folder load.
439 Completion will not happen until the folder finishes loading.
441 If the folder is already completely loaded, then completion is
442 performed immediately. Otherwise, the entry queues a pending
443 completion and starts loading the new folder (or waits until the
444 current folder is completely loaded).
446 Tab completion is allowed to happen even if the cursor is not at
447 the end of the entry.
449 There is a new feedback mechanism for explicit completion, so that
450 you will get an Emacs-like tip whenever there are ambiguities in
451 completion, no matches, etc. (This needs to be polished so that
452 we support RTL entries and all the fancy Pango layout in GtkEntry).
454 The only remaining thing to fix is the popup suggestion window.
455 Unfortunately, GtkEntryCompletion does not let us do what we want,
456 and will need further changes.
458 2008-03-12 Tor Lillqvist <tml@novell.com>
460 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
462 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
463 for the TaskbarCreated message in the window procedure for the
464 dummy "tray observer" window we create. When we get a
465 TaskbarCreated message, iterate over the status icons and re-add
466 them to the task bar, and update them by calling
467 gtk_status_icon_update_image().
469 Move some ifdefs around to avoid unused functions.
471 2008-03-12 Tor Lillqvist <tml@novell.com>
473 * config.h.win32.in: Update to match what configure produces.
475 2008-03-12 Jens Granseuer <jensgr@gmx.net>
477 * modules/printbackends/cups/gtkprintbackendcups.c:
478 (cups_printer_prepare_for_print): Don't define variables in the
479 middle of a block. (#522067)
481 2008-03-12 Matthias Clasen <mclasen@redhat.com>
483 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
484 dialog for print-to-file. (#474302, Marek Kašík)
486 2008-03-12 Matthias Clasen <mclasen@redhat.com>
488 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
489 (#469210, Wouter Bolsterlee)
491 2008-03-12 Matthias Clasen <mclasen@redhat.com>
493 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
494 paper_size here. (#488820, Morten Welinder)
496 2008-03-12 Michael Natterer <mitch@imendio.com>
498 * acconfig.h: remove this deprecated file.
500 * configure.in: added comments to all instances of AC_DEFINE() so
501 config.h can be completely generated from configure.in.
503 2008-03-12 Michael Natterer <mitch@imendio.com>
505 * modules/printbackends/cups/gtkprintbackendcups.c: include
506 <glib/gstdio.h> for g_fopen().
508 2008-03-11 Matthias Clasen <mclasen@redhat.com>
510 * modules/printbackends/cups/gtkprintbackendcups.c: Use
511 g_ascii_formatd when formatting custom paper sizes, since
512 cups doesn't handle , as decimal separator. (#521548)
514 2008-03-11 Tor Lillqvist <tml@novell.com>
516 Bug 469868 - Filenames with colon ":" are not saved correctly
518 * gtk/gtkfilechooserentry.c (insert_text_callback)
519 (delete_text_callback) [Win32]: New functions to make sure that
520 colons used otherwise than as a separator after a drive letter, or
521 characters that are always illegal in file names, are rejected on
522 input. This means that the GTK+ file chooser can't be used to
523 input full names of alternate data streams, but oh well. There are
524 still more checks that could be done on the file names, see the
525 bug report. But this will do for now.
526 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
528 2008-03-11 Jordi Mallach <jordi@sindominio.net>
530 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
532 2008-03-11 Michael Natterer <mitch@imendio.com>
534 * gdk/linux-fb/*: removed linux-fb backend files.
538 * docs/README.linux-fb
539 * gtk/Makefile.am: remove remaining traces of linux-fb.
541 * gtk/gtkwindow-decorate.c: same here. There is some code that
542 calls into linux-fb to set window move/resize callbacks. I put it
543 in #if 0 as a reminder because we did use decorated windows with
544 the DirectFB backend and it did work, so I don't really know why
545 this code is needed or how it could work with DirectFB back then.
546 The file does actually compile now if DECORATE_WINDOWS is defined,
547 but I didn't test with DirectFB to check if it does anything.
549 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
551 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
552 Take thickness into account in the size allocation of the child widgets in
556 2008-03-11 Richard Hult <richard@imendio.com>
558 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
560 2008-03-10 Tor Lillqvist <tml@novell.com>
562 * tests/teststatusicon.c (do_exit, popup_menu): Add the
563 possibility to test what happens if the process just calls exit()
564 without any orderly cleanup of GTK+.
566 2008-03-10 Tor Lillqvist <tml@novell.com>
568 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
570 2008-03-10 Tor Lillqvist <tml@novell.com>
572 Bug 520286 - Non-deletable window has no minimize / maximize buttons
574 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
575 New debugging output function that decodes a set of WS_* bits.
577 * gdk/win32/gdkprivate-win32.h: Declare it.
579 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
580 New function that enables or disables one menu entry in the system
581 menu of a top-level window. (The corresponding decoration will
582 then also be enabled or disabled (grayed).)
584 (update_style_bits): Do as the comment says and don't try to
585 update the window style based on the GdkWMFunctions set for the
588 (update_system_menu): New function that enables or disables the
589 system menu entries based on a window's stored set of
592 (gdk_window_set_functions): Call update_system_menu() instead of
595 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
597 * README.in: Reword the 2.14 release notes entry about the
598 deprecation of the gtkitemfactory.h header, and fix typos
601 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
603 * modules/engines/ms-windows/msw_style.c (draw_shadow):
604 Do not draw frame if parent if combobox.
606 Uses scrollbar width system metrics for combobox button.
607 Fixes #461805 for XP theme engine.
609 2008-03-07 Johan Dahlin <johan@gnome.org>
612 * gtk/gtkbuilderparser.c:
613 * gtk/gtkbuilderprivate.h:
614 * gtk/gtkiconfactory.c:
615 * tests/buildertest.c:
616 - Treat enums like enums and not values
617 - Avoid invalid free, in case of more than two sources
618 - Add better error messages
619 - Add much improved tests
620 (#520979, Christian Persch)
622 2008-03-07 Carlos Garnacho <carlos@imendio.com>
624 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
627 2008-03-06 Federico Mena Quintero <federico@novell.com>
629 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
630 GtkFileChooserDialog should set a default response button if the
631 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
633 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
634 function, refactor from where there was duplicated code.
635 (gtk_file_chooser_dialog_map): Look at the buttons in our
636 action_area. If the response ID for a button is one of the stock
637 ones, make it the default response button.
639 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
641 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
643 * gtk/gtkbuilderprivate.h:
644 * gtk/gtkiconfactory.c:
645 * tests/buildertest.c:
646 Implement GtkBuildable on GtkIconFactory, to make
647 it possible to register custom stock icons.
650 2008-03-06 Johan Dahlin <johan@gnome.org>
654 * gtk/gtkstyle.c: npoints->n_points.
655 * gtk/gtktestutils.h: widget->spinner
656 * gtk/gtktestutils.c: argc->argcp, argv->argvp
658 2008-03-06 William Lachance <wrlach@gmail.com>
660 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
661 string localizable (as it should be).
663 2008-03-06 William Lachance <wrlach@gmail.com>
665 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
666 the time for today's date. It's redudant. (see bug #410517).
668 2008-03-06 Xan Lopez <xan@gnome.org>
670 * gtk/gtkfixed.c: fix typo in documentation.
672 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
674 * gtk/gtkitemfactory.h:
675 * gtk/gtktypeutils.h:
676 Move GtkTranslateFunc to gtktypeutils.h so we can completely
677 deprecate gtkitemfactory.h.
679 * gtk/gtkactiongroup.h:
681 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
684 Add a note describing this slight incompatible change
686 2008-03-06 Johan Dahlin <johan@gnome.org>
688 * gtk/gtkpreview.h: Avoid double-deprecation.
690 2008-03-06 Michael Natterer <mitch@imendio.com>
693 * gtk/Makefile.am: move the remaining deprecated widgets to the
694 separate sections and replaced spaces by tabs in Makefile.am
696 2008-03-05 Johan Dahlin <johan@gnome.org>
698 * configure.in: Add --disable-cups option.
699 (#513826, Alberto Ruiz)
703 Separate broken and deprecated sources and headers into different sections
705 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
707 2008-03-05 Kristian Rietveld <kris@imendio.com>
709 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
710 short-circuit in case an empty root level would be build (and thus
711 directly destroyed) if no virtual root has been set.
713 2008-03-04 Matthias Clasen <mclasen@redhat.com>
715 * modules/printbackends/cups/gtkprintbackendcups.c:
716 Honor cups user default options from ~/.cups/lpoptions
717 (#469210, Stijn Hoop)
719 2008-03-04 Michael Natterer <mitch@imendio.com>
722 * gtk/gtkcolorbutton.c
723 * gtk/gtkentrycompletion.c
724 * gtk/gtkfontbutton.c
728 * gtk/gtkpreview.c: don't include "gtksignal.h".
730 * gtk/gtkfilefilter.c
731 * gtk/gtkrecentchoosermenu.c
732 * gtk/gtkrecentfilter.c
733 * gtk/gtktext.c: don't include "gtkobject.h".
735 2008-03-04 Simos Xenitellis <simos@gnome.org>
737 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
738 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
740 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
743 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
744 file, contains compose sequences that used to exist in
745 gtk/gtkimcontextsimple.c
747 * gtk/compose-parse.py: Script to generate compose
748 sequences from upstream (Xorg).
750 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
751 check_algorithmically): New functions. First two search in
752 gtk_compose_seqs_compact[] for matching compose sequence, third
753 tries NFC normalisation on incoming compose sequence.
754 (gtk_im_context_simple_filter_keypress):
755 Adds searching with check_compact_table(), check_algorithmically().
757 2008-03-03 Carlos Garnacho <carlos@imendio.com>
759 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
760 scrollwheel work in GtkPathBar.
762 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
764 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
765 an input-only window, event_window, which we'll use to capture
767 (gtk_path_bar_map): Show the event_window under the rest of the
768 windows, so it will be a catch-all for unhandled events.
770 2008-03-03 Sven Neumann <sven@gimp.org>
772 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
773 typo in the documentation of the GtkFileChooserButtons::file-set
774 signal (see bug #353196).
776 2008-03-03 Tor Lillqvist <tml@novell.com>
778 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
781 2008-03-02 Johan Dahlin <johan@gnome.org>
783 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
784 Remove left-over focus_pad variable.
785 (#490892, Claudio Saavedra)
787 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
788 (#518166, Matt Kraai)
790 2008-03-02 Johan Dahlin <johan@gnome.org>
792 * docs/tutorial/gtk-tut.sgml: Add a missing space
793 (#517954, Matt Kraai)
795 2008-03-03 Tor Lillqvist <tml@novell.com>
797 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
798 the widget is a GtkButton before casting.
800 2008-03-02 Johan Dahlin <johan@gnome.org>
802 * configure.in: Compare using = instead of ==, which is portable.
803 (#490787, Thomas Klausner)
805 2008-03-02 Johan Dahlin <johan@gnome.org>
807 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
809 (#496032, Nelson Benitez)
811 2008-02-29 Johan Dahlin <johan@gnome.org>
813 * demos/gtk-demo/demo.ui:
814 * gtk/gtkbuilderparser.c:
815 * gtk/gtkbuilderprivate.h:
816 * gtk/gtkliststore.c:
817 * tests/buildertest.c:
818 Add translatable/context and comment attributes on
819 <col> tags under a GtkListStore. Refactor parts of the
820 translation api and make it available inside gtk+ itself.
821 Update tests and example.
822 Fixes a part of #518642
824 2008-02-29 Johan Dahlin <johan@gnome.org>
827 Add missing g_return_val_if_fail checks for public API.
829 * gtk/gtkbuilderparser.c:
830 * gtk/gtkbuilderprivate.h:
831 Do not use g_error for a few more errors, instead set
832 the GError sent in through add_from_file/add_from_string.
833 * tests/buildertest.c:
834 Add a couple of new parsing tests.
835 (#519199, Pavel Syomin)
837 2008-02-29 Federico Mena Quintero <federico@novell.com>
839 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
840 refreshing an existing folder (i.e. when we are about to reload
841 its file list), turn off the folder's is_finished_loading flag.
842 Otherwise callers which do ::is_finished_loading() followed by
843 ::list_children() will get nothing.
845 2008-02-29 Cody Russell <bratsche@gnome.org>
847 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
848 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
850 2008-02-28 Matthias Clasen <mclasen@redhat.com>
852 * gtk/gtkcalendar.h: Remove trailing comma from enum to
853 make the compiler happy. (#517295, Sylvain Pasche)
855 2008-02-27 Michael Natterer <mitch@imendio.com>
865 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
866 private functions and virtual function implementations.
868 2008-02-27 Richard Hult <richard@imendio.com>
870 * gdk/quartz/GdkQuartzView.c:
871 * gdk/quartz/GdkQuartzView.h:
872 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
873 Fix performance regression for borderless transparent windows
876 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
878 * tests/testgtk.c: Revert back to r19454.
880 2008-02-27 Sven Neumann <sven@gimp.org>
882 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
883 Quartz backend, use a native Mac OS X application for the print
884 preview (bug #518624).
886 2008-02-26 Michael Natterer <mitch@imendio.com>
888 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
889 the members of info->tag_stack since they are a) gobjects and b)
890 not even owned by us, ugh... Fixes crash when deserializing fails.
892 2008-02-26 Sven Neumann <sven@gimp.org>
894 * docs/tools/shooter.c (find_toplevel_window)
895 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
896 argument passed to XQueryTree().
898 2008-02-25 Matthias Clasen <mclasen@redhat.com>
900 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
901 don't use beagle_query_add_hit_type.
903 2008-02-25 Richard Hult <richard@imendio.com>
905 * gdk/quartz/gdkevents-quartz.c
906 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
908 2008-02-24 Richard Hult <richard@imendio.com>
910 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
911 shown without gdk's control when clicking the dock icon.
913 2008-02-24 Richard Hult <richard@imendio.com>
915 * gdk/quartz/gdkprivate-quartz.h:
916 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
917 Use the subtype field for the custom event that is used to wake up
918 the mainloop so we can have other custom event types.
920 * gdk/quartz/gdkevents-quartz.c:
921 (_gdk_quartz_events_trigger_crossing_events):
922 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
923 crossing events after showing a window if necessary, to work
924 around problems with the tracking rect API.
926 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
928 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
929 wrong results on win32 because it doesn't set the printing units,
930 which affect the transformation of the cairo context
931 (#347125, Erik van Pienbroek)
933 2008-02-22 Tor Lillqvist <tml@novell.com>
935 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
937 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
939 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
940 acceptable for a module to only support the save_to_callback()
941 method if it marks itself as WRITABLE
943 2008-02-16 Matthias Clasen <mclasen@redhat.com>
945 * configure.in: Bump version
947 2008-02-16 Matthias Clasen <mclasen@redhat.com>
949 * === Released 2.13.0 ===
951 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
953 2008-02-21 Tor Lillqvist <tml@novell.com>
955 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
956 pass the format string to strftime in the C library's locale's
957 charset, not the system's. Correspondingly, the return value from
958 strftime() is in the C library's locale's charset. (#509885)
960 2008-02-20 Richard Hult <richard@imendio.com>
962 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
963 the right window level and shadow after recreating the window.
965 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
966 necessary after drawing (bug #517338).
968 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
970 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
971 call to g_type_class_unref in case of error. (#517563)
973 2008-02-18 Sven Neumann <sven@gimp.org>
975 * gtk/Makefile.am (STOCK_ICONS)
976 * gtk/stock-icons/16/gtk-page-setup.png
977 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
978 taken from GNOME icon theme.
980 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
982 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
984 * configure.in: Added Kannada (kn) to ALL_LINGUAS
986 2008-02-17 Johan Dahlin <johan@gnome.org>
988 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
989 When converting a stock item based on the label, remove the label property.
991 2008-02-17 Richard Hult <richard@imendio.com>
993 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
994 position after showing the window since the window manager might
995 not place it where we requested in the first places.
997 2008-02-17 Richard Hult <richard@imendio.com>
999 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1000 (_gdk_quartz_window_detach_from_parent),
1001 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1002 the toplevel ordering list in all places where the order is
1003 potentially changed. Fixes mouse focus issues for windows with
1004 a transient parent set.
1006 2008-02-17 Richard Hult <richard@imendio.com>
1008 * gdk/quartz/gdkevents-quartz.c
1009 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1010 window when event debugging is enabled.
1012 2008-02-16 Richard Hult <richard@imendio.com>
1014 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1015 to the scroll event (bug #516757, Paul Davis).
1017 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1021 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1023 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1026 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1028 * gdk/Makefile.am: Don't install private headers. (#463510)
1030 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1031 the installed header gdkprivate.h.
1033 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1035 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1036 a crash with hidden, reorderable tabs. (#513230,
1037 Mike Massonnet, patch by Carlos Garnacho)
1039 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1041 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1042 Warn on duplicate action group names. (#501746, Christian
1045 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1048 * modules/other/gail/tests/Makefile.am:
1049 * modules/other/gail/libgail-util/Makefile.am:
1050 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1051 builds. (#516254, Yevgen Muntyan)
1053 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1058 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1059 instead of hardcoded target tables. (#516092, Christian Persch)
1061 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1063 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1064 add the same target atom twice. (#516087, Christian Persch)
1066 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1068 * tests/testfilechooser.c: Add a --backend option.
1069 (#516073, Christian Persch)
1071 2008-02-16 Richard Hult <richard@imendio.com>
1073 * gdk/quartz/gdkprivate-quartz.h:
1074 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1077 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1079 * configure.in: Go back to 2.13.0 as version for now,
1080 as there was no consensus to do the jump.
1082 * many other places: Update Since: tags.
1084 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1086 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1088 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1090 2008-02-15 Richard Hult <richard@imendio.com>
1092 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1093 instead of bounds when resizing windows.
1095 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1097 * gdk/x11/gdkkeys-x11.c:
1098 * gdk/x11/gdkcolor-x11.c:
1099 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1101 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1103 * gdk/x11/gdktestutils-x11.c:
1104 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1106 2008-02-15 Tor Lillqvist <tml@novell.com>
1108 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1109 leak Registry key handles. (#516578)
1111 2008-02-14 Richard Hult <richard@imendio.com>
1113 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1114 makeKeyWindow unfortunately doesn't work in all cases, we must use
1115 makeKeyAndOrderFront.
1117 2008-02-14 Richard Hult <richard@imendio.com>
1119 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1120 (gdk_window_hide), (gdk_window_fullscreen),
1121 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1122 the window is hidden.
1124 2008-02-14 Richard Hult <richard@imendio.com>
1126 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1127 resizing to be consistent and to avoid introducing an internal
1128 transform in the view.
1130 2008-02-14 Richard Hult <richard@imendio.com>
1132 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1135 2008-02-14 Johan Dahlin <johan@gnome.org>
1137 * gdk/gdktestutils.h
1138 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1140 2008-02-13 Richard Hult <richard@imendio.com>
1142 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1143 Remove unused variables.
1144 (gtk_clipboard_set_contents),
1145 (gtk_clipboard_get_owner), (clipboard_unset),
1146 (gtk_clipboard_request_targets): Notify the previous clipboard
1147 owner when the owner changes. Fixes bug #493406.
1149 2008-02-13 Richard Hult <richard@imendio.com>
1151 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1152 the return value (return number of colors that failed), and handle
1154 (gdk_colormap_free_colors): Fix typo in comment.
1156 2008-02-13 Kristian Rietveld <kris@imendio.com>
1158 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1159 queue a redraw if the rubber banding has actually been active.
1161 2008-02-12 Matthias Clasen <mclasne@redhat.com>
1163 * gtk/gtkpapersize.c:
1164 * gtk/gtkprintoperation.c:
1165 * gtk/gtkvolumebutton.c:
1166 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1167 out by Behdad Esfahbod.
1169 2008-02-12 Federico Mena Quintero <federico@novell.com>
1171 Merged from gtk-2-12:
1173 Don't focus the file list when shortcuts get activated. This
1174 removes a lot of ambiguity in when the file selection should
1175 change, and makes the overall code flow simpler.
1177 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1178 file/save dialog clears the filename entry when changing
1181 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1182 focus should not go to the file list when a shortcut is activated.
1184 * gtk/gtkfilechooserdefault.c
1185 (shortcuts_activate_volume_mount_cb): Don't focus the file list
1186 (shortcuts_activate_get_info_cb): Likewise.
1188 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1189 the file list (this was the last place where we would focus the
1190 file list explicitly). If you are in the location entry, for
1191 example, you don't want Alt-Home to take you to the file list; you
1192 just want the current folder to change. Thanks to Olle Bergkvist
1193 <olle.bergkvist@yahoo.se> for pointing this out in
1194 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1195 (focus_browse_tree_view_if_possible): Removed.
1197 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1199 Skip exensions when selecting filenames in the save-as dialog.
1200 (#362516, Carlos Garnacho)
1202 * gtk/gtkfilechooserentry.h:
1203 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1204 New function to skip the extension part when selecting a filename.
1205 (_gtk_file_chooser_entry_set_base_folder): Use it here.
1207 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1210 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1212 * gtk/gtkiconview.c: Fix state change reporting for
1213 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
1215 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
1217 * gtk/gtkrecentchooser.c:
1218 (gtk_recent_chooser_class_init): Set the default value of the
1219 :show-not-found property to TRUE, as every implementation sets
1222 * gtk/gtkrecentchooserdefault.c:
1223 (_gtk_recent_chooser_default_init): Sync show_tips to the
1224 default value of the :show-tips property.
1226 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1228 * gtk/gtkclipboard-quartz.c:
1230 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
1233 2008-02-12 Kristian Rietveld <kris@imendio.com>
1235 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1236 (gtk_tree_view_real_toggle_cursor_row): guard against people
1237 deleting the row in question in the selection-changed callback.
1238 (#514621, Andreas Koehler).
1240 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1242 * gtk/*.c: Unify the handling of various "Enter" keysyms
1243 all over the place. (#515047, Christian Persch)
1245 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1247 * gtk/gtkfilesystemmodel.c:
1249 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1250 appropriate. (#515042, Christian Persch)
1252 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1254 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1256 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1258 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1260 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1262 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1263 (recent_model_sort_drag_data_get):
1264 (search_model_sort_drag_data_get):
1265 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1266 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1267 Use gtk_selection_data_set_uris() instead of doing it
1268 by hand. (#514890, Christian Persch)
1270 2008-02-12 Michael Natterer <mitch@imendio.com>
1272 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1273 gtk_get_current_event_time().
1275 2008-02-12 Michael Natterer <mitch@imendio.com>
1277 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1278 gtk_window_get_key_hash() to get the hash instead of manually
1279 fiddling with quarks and gtk_window_keys_changed(). Also add
1280 g_return_if_fail() to this public function.
1282 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1284 Support keynav in status icons. (#473786, Li Yuan)
1286 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1288 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1290 2008-02-11 Kristian Rietveld <kris@imendio.com>
1292 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1293 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1294 wrt. link deletion from list; contination of fix for #503569.
1296 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1298 * gtk/gtkrecentchoosermenu.c:
1299 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1300 on the placeholder menu item.
1302 * tests/testrecentchoosermenu.c:
1303 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1304 whether the placeholder menu item gets shown.
1306 2008-02-10 Cody Russell <bratsche@gnome.org>
1308 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1309 Check the return value of _gtk_file_chooser_get_file_system () for
1310 NULL before passing it to gtk_file_system_path_to_uri ().
1311 (#515667, Francesco Montorsi)
1313 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1315 * gtk/gtkbuilder.c: Improve the documentation for
1316 gtk_builder_connect_signals. (#514471)
1318 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1320 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1323 2008-02-08 Cody Russell <bratsche@gnome.org>
1325 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1326 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1328 2008-02-08 Richard Hult <richard@imendio.com>
1330 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1331 delta from the NSEvent for now, generating multiple scroll events
1332 results in a lot of events getting queued up and things get really
1335 2008-02-08 Sven Herzberg <sven@imendio.com>
1337 Adjust the code to match the documentation, examples, "common sense"
1338 and existing applications.
1340 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1341 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1344 2008-02-07 Cody Russell <bratsche@gnome.org>
1346 * gdk/win32/gdkevents-win32.c
1347 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1348 of a block that were causing compile problems on old
1349 compilers. (#515053, reported by Kazuki IWAMOTO)
1351 2008-02-07 Michael Natterer <mitch@imendio.com>
1358 * gtk/gtkmenushell.c
1360 * gtk/gtkoptionmenu.c
1364 * gtk/gtkradiomenuitem.c
1366 * gtk/gtkscrolledwindow.c
1367 * gtk/gtksocket.c: remove g_return_if_fail() from private
1368 functions and virtual function implementations.
1370 2008-02-07 Michael Natterer <mitch@imendio.com>
1373 * gtk/gtkassistant.c
1377 * gtk/gtkcellrenderercombo.c
1380 * gtk/gtkdrawingarea.c
1381 * gtk/gtkentrycompletion.c
1387 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1388 functions and virtual function implementations.
1390 2008-02-07 Christian Persch <chpe@gnome.org>
1392 * gdk/gdkpixbuf-render.c:
1393 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1394 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1395 otherwise there will be random pixel values in the semi-transparent
1396 area of the pixbuf within the mask. Bug #487865.
1398 2008-02-06 Cody Russell <bratsche@gnome.org>
1400 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1401 otherwise things get wonky when you click on a menu. This fixes
1402 a regression caused in #505928. Thanks to Tor for spotting this
1405 2008-02-06 Michael Natterer <mitch@imendio.com>
1407 * gtk/gtkcontainer.c
1414 * gtk/gtkmenushell.c
1416 * gtk/gtkseparatortoolitem.c
1418 * gtk/gtktextlayout.c
1419 * gtk/gtktoggletoolbutton.c
1420 * gtk/gtktoolbutton.c
1423 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1426 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1428 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1429 Allow to store half-open ranges.
1431 2008-02-05 Cody Russell <bratsche@gnome.org>
1433 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1434 down the stack until we get to a window that is mapped.
1435 Otherwise hiding a window will cause all windows in the app
1436 to be blocked. (#514643)
1438 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1440 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1441 directory, avoiding one source of invalid caches that has been
1442 spotted in the wild.
1444 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1446 * gtk/updateiconcache.c: Fix the previous commit to compile.
1448 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1450 * gtk/updateiconcache.c: Install a printerr handler that
1451 prepends the program name, since gtk-update-icon-cache output
1452 often appears in the middle of other output, e.g. rpm update logs.
1454 2008-02-05 Cody Russell <bratsche@gnome.org>
1456 * gdk/win32/gdkprivate-win32.h
1457 * gdk/win32/gdkevents-win32.c
1458 * gdk/win32/gdkwindow-win32.c
1459 * gdk/win32/gdkwindow-win32.h
1460 * gdk/win32/gdkwin32.h:
1461 Modal window rework. (#455627 and #511111)
1463 2008-02-04 Michael Natterer <mitch@imendio.com>
1465 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1466 g_return_if_fail() if the cell is not part of the combo instead of
1467 crashing in the next line.
1469 2008-02-01 Cody Russell <cody@jhu.edu>
1471 * modules/engines/ms-windows/xp_theme.[ch]
1472 * modules/engines/ms-windows/xp_theme_defs.h
1473 * modules/engines/ms-windows/msw_rc_style.c
1474 * modules/engines/ms-windows/msw_theme_main.c
1475 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1476 attempted to stylize more like the rest of the gtk+ stack's code.
1478 2008-02-01 Michael Natterer <mitch@imendio.com>
1480 * tests/testgtk.c: initialize GdkColor structs to fix warning
1481 about uninitialized "pixel" member.
1483 * tests/testactions.c: connect the toolbar_style() callback so it
1484 does something useful and doesn't warn about being defined but not
1487 2008-01-31 Cody Russell <bratsche@gnome.org>
1489 * gdk/win32/gdkevents-win32.c:
1490 Refactored some of the window hiding/showing code from
1491 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1492 under WM_ACTIVATE was causing the application to go into
1493 a weird state when the user right-clicked on the taskbar
1494 entry of a window that was minimized. (#505928)
1496 2008-01-31 Cody Russell <bratsche@gnome.org>
1498 * gtk/gtkpaned.c (gtk_paned_set_position):
1499 Change queue_resize() to queue_draw(), and add a check for
1500 child2 != NULL in case someone calls this before there is
1501 a child packed in there. (#144269 again)
1503 2008-01-31 Sven Neumann <sven@gimp.org>
1505 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1506 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1508 2008-01-31 Sven Neumann <sven@gimp.org>
1510 * gdk/directfb/gdkdisplay-directfb.c
1511 * gdk/directfb/gdkdrawable-directfb.c
1512 * gdk/directfb/gdkprivate-directfb.h
1513 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1514 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1516 2008-01-31 Richard Hult <richard@imendio.com>
1518 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1519 issues with undecorated windows. Revert the change done on
1520 2008-01-25 and fix it by using the view's bounds instead. The
1521 bounds will always be up to date when setting up the tracking
1522 rect, so this should be more robust.
1524 2008-01-30 Sven Neumann <sven@gimp.org>
1526 * gdk/directfb/gdkdrawable-directfb.c
1527 * gdk/directfb/gdkwindow-directfb.c
1528 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1529 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1530 DirectFB's debugging system
1532 2008-01-30 Sven Neumann <sven@gimp.org>
1534 * gdk/directfb/gdkdirectfb.h
1535 * gdk/directfb/gdkdisplay-directfb.c
1536 * gdk/directfb/gdkdrawable-directfb.c
1537 * gdk/directfb/gdkim-directfb.c
1538 * gdk/directfb/gdkimage-directfb.c
1539 * gdk/directfb/gdkinput-directfb.c
1540 * gdk/directfb/gdkmain-directfb.c
1541 * gdk/directfb/gdkpixmap-directfb.c
1542 * gdk/directfb/gdktestutils-directfb.c
1543 * gdk/directfb/gdkvisual-directfb.c
1544 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1545 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1546 errors and has some cleanups.
1548 2008-01-30 Michael Natterer <mitch@imendio.com>
1550 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1551 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1554 * gtk/updateiconcache.c (add_string): cast const gchar* to
1555 gpointer when inserting in a GHashTable.
1557 * tests/testcalendar.c (calendar_detail_cb): remove const from
1558 return value since it's a newly allocated string.
1560 (calendar_update_details): free the detail.
1562 2008-01-29 Johan Dahlin <johan@gnome.org>
1564 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1566 * demos/gtk-demo/demo.ui:
1567 Move the about dialog to the glade file, add accessible tags
1568 examples to the markup file.
1570 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1572 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1573 layout, fixes #512375.
1575 2008-01-28 Michael Natterer <mitch@imendio.com>
1577 * gtk/gtktextchild.c
1578 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1580 2008-01-28 Michael Natterer <mitch@imendio.com>
1582 * demos/gtk-demo/builder.c (about_activate): use
1583 gtk_about_dialog_set_program_name() instead of the deprecated
1586 2008-01-28 Michael Natterer <mitch@imendio.com>
1588 * gtk/gtktextchild.c
1589 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1592 2008-01-26 Johan Dahlin <johan@gnome.org>
1594 * tests/Makefile.am:
1595 * tests/textbuffertest.c:
1596 Rename textbuffer test and port it to the new test framework
1598 2008-01-25 Johan Dahlin <johan@gnome.org>
1600 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1601 unsetting of GTK_MODULES.
1603 * gtk/gtk-builder-convert
1604 (GtkBuilderConverter._convert_adjustment): Handle the case where
1605 there is no child text node.
1606 (GtkBuilderConverter): Allow xml comments in most places.
1608 2008-01-25 Johan Dahlin <johan@gnome.org>
1610 * gtk/gtk-builder-convert
1611 (GtkBuilderConverter._convert_combobox_items): Remove the items
1612 even if there are no items set.
1613 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1614 signals and tooltips for all menu items subclasses and
1615 GtkImageMenuItem:label.
1616 Makes it possible to fully convert and run Jokosher.glade.
1618 2008-01-25 Johan Dahlin <johan@gnome.org>
1620 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1621 (gtk_widget_buildable_get_internal_child), (free_action),
1622 (free_relation), (gtk_widget_buildable_parser_finished),
1623 (accessibility_start_element),
1624 (gtk_widget_buildable_custom_tag_start),
1625 (gtk_widget_buildable_custom_finished):
1626 Implement accessible support, fixes #454653.
1628 * gtk/gtk-builder-convert:
1629 Add support for migrating old glade files
1631 * tests/buildertest.c: (test_widget), (test_file):
1632 Add accessible tests and imprve the test_file function to display
1633 toplevels and run dialogs.
1635 2008-01-25 Richard Hult <richard@imendio.com>
1637 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1638 didn't change, fixes focus event issues for undecorated windows.
1640 2008-01-25 Richard Hult <richard@imendio.com>
1642 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1643 const and remove unused variables).
1645 2008-01-25 Michael Natterer <mitch@imendio.com>
1648 * gtk/gtkcellrenderer.h
1649 * gtk/gtkimcontext.h
1653 * gtk/gtktreeprivate.h
1654 * gtk/gtktreeviewcolumn.h
1655 * gtk/gtkwidget.h: add const to constant structs which are passed
1656 into GTK+. Also add some forgotten const for const strings.
1660 * gtk/gtkcellrenderer.c
1661 * gtk/gtkimcontext.c
1666 * gtk/gtktreeviewcolumn.c
1667 * gtk/gtkwidget.c: changed accordingly.
1669 2008-01-25 Sven Herzberg <sven@imendio.com>
1671 Reviewed by Johan Dahlin.
1673 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1674 this is called with something that's not a GtkUIManager
1676 2008-01-24 Johan Dahlin <johan@gnome.org>
1678 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1679 Chain up to parent, so widgets can have internal children.
1681 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1683 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1686 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1688 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1690 Use pango_layout_set_height() for calendar details (#506049).
1692 * configure.in: Require 1.19.3 for pango_layout_set_height().
1693 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1695 2008-01-18 Johan Dahlin <johan@gnome.org>
1697 * gtk/gtk-builder-convert (get_property_node): New method
1698 (GtkBuilderConverter._create_object): Conditionally take a node as
1699 a property value, so don't lose translate/context attributes if they
1701 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1702 property values instead of strings.
1703 (#509153, Erik van Pienbroek)
1705 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1707 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1709 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1710 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1711 * tests/testcalendar.c: Duplicate calendar details before returning.
1713 2008-01-16 Christian Persch <chpe@gnome.org>
1715 * gtk/gtkwidget.c: Store the event mask and extension event mode
1716 directly in the gobject data pointer, instead of in an allocated
1719 2008-01-16 Michael Natterer <mitch@imendio.com>
1721 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1722 gdk-pixbuf now uses gio functions.
1724 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1726 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1727 the notify::model signal. (#509819, David Zeuthen)
1729 2008-01-15 Michael Natterer <mitch@imendio.com>
1737 * gdk/gdkwindow.h: made more struct pointer and array parameters
1738 const. GDK should now be constified as far as possible without
1739 breaking source compatibility. Includes some minor cleanup like
1740 indentation and s/nfoo/n_foo/ (bug #508544).
1746 * gdk/gdkregion-generic.c
1748 * gdk/directfb/gdkdisplay-directfb.c
1749 * gdk/directfb/gdkwindow-directfb.c
1750 * gdk/quartz/gdkdisplay-quartz.c
1751 * gdk/quartz/gdkwindow-quartz.c
1752 * gdk/win32/gdkdisplay-win32.c
1753 * gdk/win32/gdkwindow-win32.c
1754 * gdk/x11/gdkdisplay-x11.c
1755 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1757 2008-01-14 Michael Natterer <mitch@imendio.com>
1759 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1762 (gtk_rc_parse_any): change variables to const and introduce
1763 another local variable to fix const warnings.
1765 2008-01-14 Michael Natterer <mitch@imendio.com>
1767 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1768 of gdk_screen_get_font_options() to gpointer to get rid of const
1771 2008-01-14 Michael Natterer <mitch@imendio.com>
1773 * tests/testdnd.c (source_drag_data_get): fix another call to
1774 gtk_selection_data_set().
1776 2008-01-14 Michael Natterer <mitch@imendio.com>
1778 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1781 2008-01-14 Michael Natterer <mitch@imendio.com>
1783 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1785 2008-01-14 Michael Natterer <mitch@imendio.com>
1787 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1788 "uris" to guchar* when passing it to gtk_selection_data_set().
1790 2008-01-14 Michael Natterer <mitch@imendio.com>
1796 * gdk/gdkinternals.h
1798 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1799 parameters const (bug #508544).
1804 * gdk/gdkrectangle.c
1805 * gdk/gdkpolyreg-generic.c
1806 * gdk/gdkregion-generic.c
1807 * gdk/directfb/gdkcolor-directfb.c
1808 * gdk/directfb/gdkgc-directfb.c
1809 * gdk/directfb/gdkgeometry-directfb.c
1810 * gdk/directfb/gdkwindow-directfb.c
1811 * gdk/quartz/gdkcolor-quartz.c
1812 * gdk/quartz/gdkgc-quartz.c
1813 * gdk/quartz/gdkgeometry-quartz.c
1814 * gdk/quartz/gdkwindow-quartz.c
1815 * gdk/win32/gdkcolor-win32.c
1816 * gdk/win32/gdkgc-win32.c
1817 * gdk/win32/gdkgeometry-win32.c
1818 * gdk/win32/gdkprivate-win32.h
1819 * gdk/win32/gdkwindow-win32.c
1820 * gdk/x11/gdkcolor-x11.c
1821 * gdk/x11/gdkgc-x11.c
1822 * gdk/x11/gdkgeometry-x11.c
1823 * gdk/x11/gdkmain-x11.c
1824 * gdk/x11/gdkprivate-x11.h
1825 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1827 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1830 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1832 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1834 * gtk/gtktoolitem.c: Add comment expaining name choice for
1835 gtk_tool_item_toolbar_reconfigured.
1837 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1839 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1840 implementations to notify its children, when some aspect of their
1841 configuration changed (#509042).
1843 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1844 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1845 Rename _gtk_tool_item_toolbar_reconfigured.
1847 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1849 Include <gtk/gtktoolshell.h> from gtk.h.
1851 * gtk/gtk.h: Add gtktoolshell.h
1853 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1855 Print angle brackets arround e-mail addresses in the about dialog
1856 (#409520, Mariano Suárez-Alvarez).
1858 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1860 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1862 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1863 special casing so test widgets are always queues for destruction
1866 * gtk/tests/testing.c: removed bits left-over from testing without
1869 2008-01-10 Tor Lillqvist <tml@novell.com>
1871 * modules/other/gail/libgail-util/Makefile.am
1872 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1875 2008-01-10 Tor Lillqvist <tml@novell.com>
1877 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1878 uses gtkprintunixdialog API.
1880 2008-01-10 Tor Lillqvist <tml@novell.com>
1882 * gdk/win32/gdkdisplay-win32.c
1883 * gdk/win32/gdkglobals-win32.c
1884 * gdk/win32/gdkprivate-win32.h
1885 * gdk/win32/gdkscreen-win32.c
1886 * gdk/win32/gdkwindow-win32.c: Implement
1887 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1888 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1891 2008-01-10 Cody Russell <bratsche@gnome.org>
1893 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1894 Properly ref/unref windows and parents. (#506769)
1896 2008-01-10 Richard Hult <richard@imendio.com>
1898 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1899 (gdk_window_hide), (move_resize_window_internal): Move the
1900 tracking rect workaround from here...
1902 * gdk/quartz/GdkQuartzWindow.c:
1903 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1904 movements during showing/hiding operations. Fixes bug #508516.
1906 2008-01-10 Michael Natterer <mitch@imendio.com>
1908 * gdk/directfb/gdkscreen-directfb.c
1909 (gdk_screen_get_monitor_width_mm)
1910 (gdk_screen_get_monitor_height_mm)
1911 (gdk_screen_get_monitor_plug_name): add these functions to make
1914 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1916 * gtk/gtkrecentchoosermenu.c:
1917 (idle_populate_func), (idle_populate_clean_up): Fix possible
1918 recursion by resetting the idle source id. (#507605, William
1921 2008-01-10 Kristian Rietveld <kris@imendio.com>
1923 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1924 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1925 avoid valgrind warnings. (#507751, patch from Christian Persch).
1927 2008-01-10 Kristian Rietveld <kris@imendio.com>
1929 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1930 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1932 2008-01-10 Kristian Rietveld <kris@imendio.com>
1934 Fix #477175, reported by Juri Pakaste.
1936 * gtk/gtktreeprivate.h:
1937 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1938 tree_view->priv->dy here directly, just calculate the new value
1939 and set it on the adjustment,
1940 (gtk_tree_view_adjustment_changed): add guards to not call
1941 gtk_tree_view_dy_to_top_row() if we are currently in
1942 gtk_tree_view_top_row_to_dy(),
1943 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1944 coordinates, not tree coordinates,
1945 (gtk_tree_view_real_start_editing): add cast.
1947 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1948 position of the editable in the "create new row and start editing"
1951 2008-01-09 Michael Natterer <mitch@imendio.com>
1953 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1956 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1957 * gtk/gtkicontheme.c (theme_list_contexts)
1958 (gtk_icon_theme_lookup_icon)
1959 * gtk/gtkimcontextsimple.c (beep_window)
1960 * gtk/gtklinkbutton.c (set_link_color)
1961 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1964 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1965 variable and add const to another to fix a warning.
1967 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1969 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1970 the current page. (#499951, Andreas Sandberg)
1972 2008-01-06 Johan Dahlin <johan@gnome.org>
1974 * gtk/gtkspinbutton.c: Declare value in the example code for
1975 GtkSpinButton::output, as pointed out by Anders Carlsson.
1977 2008-01-06 Christian Persch <chpe@gnome.org>
1979 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1980 and remove an obsolete event box. Bug #506760.
1982 2008-01-06 Johan Dahlin <johan@gnome.org>
1984 * tests/buildertest.c (test_domain):
1985 Update, GtkBuilder::translation-domain is no longer set
1987 * gtk/gtkbuilderparser.c (parse_interface):
1988 Allow domains to be overridden in <interface>'s if a translation-domain
1989 is set in the builder.
1990 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1991 of the builder, make the domain set in the <interface> apply only to strings
1993 (#496831, Ryan Lortie)
1995 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1998 * gtk/gtktreestore.c (tree_model_end_element):
1999 Remove an unused variable
2001 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2003 * gtk/gtkspinbutton.c: Document the ::output signal and
2004 add an example. (#507566, example by Owen Taylor)
2006 2008-01-06 Johan Dahlin <johan@gnome.org>
2008 * gtk/gtkcellrenderercombo.c:
2009 (gtk_cell_renderer_combo_get_property),
2010 (gtk_cell_renderer_combo_set_property):
2011 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2012 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2013 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2014 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2015 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2016 (gtk_text_buffer_get_property):
2017 * gtk/gtktextview.c: (gtk_text_view_set_property):
2018 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2019 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2020 (gtk_tool_button_get_property):
2021 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2022 (gtk_tool_item_get_property):
2023 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2024 * gtk/gtkwidget.c: (gtk_widget_set_property):
2025 * gtk/gtkwindow.c: (gtk_window_set_property):
2026 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2029 2008-01-06 Johan Dahlin <johan@gnome.org>
2031 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2032 Make sure that --root works for toplevel widgets.
2033 (#491847, Phil Lello)
2035 2008-01-05 Johan Dahlin <johan@gnome.org>
2037 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2038 to make sure that make test-report works properly
2040 2008-01-05 Christian Persch <chpe@gnome.org>
2042 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2043 GType as integer through gpointer. Bug #507395.
2045 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2047 Avoid some compiler warnings (#507000).
2049 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2050 for value argument of _gtk_builder_flags_from_string.
2051 * gtk/gtkwidget.c: Don't alias the child pointer passed
2052 to gdk_window_get_user_data.
2054 2008-01-04 Michael Natterer <mitch@imendio.com>
2056 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2057 to set the time in the returned GdkTimeCoords.
2059 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2061 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2062 correct comparison function (kudos to Christian Persch and
2063 Claudio Saavedra for spotting this)
2065 * gtk/gtkrecentchooserutils.c:
2066 (sort_recent_items_mru),
2067 (sort_recent_items_lru): Ditto as above.
2069 2008-01-03 Johan Dahlin <johan@gnome.org>
2071 * tests/defaultvaluetest.c: Make it pass again.
2073 2008-01-02 Johan Dahlin <johan@gnome.org>
2075 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2076 make it pass on Ubuntu.
2077 (main): Use gtk_test_list_all_types () instead of providing our
2079 And it no longer passes.
2081 2007-12-30 Johannes Schmid <jhs@gnome.org>
2083 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2084 Also reorder menu when reordering tabs by drag & drop
2087 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2088 Add a menu to one of the notebooks to have a test-case for
2089 the change mentioned above.
2091 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2093 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2095 2007-12-31 Christian Persch <chpe@gnome.org>
2097 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2098 Plug a mem leak. Bug #506107.
2100 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2102 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2103 icon cache api change. (#506135, Kazuki Iwamoto)
2105 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2107 Consider "wide-separators" and "separator-height" style properties:
2108 The separator is drawn using gtk_paint_box instead of cairo, when
2109 "wide-separators" is set. Also do not highlight details for previous
2110 or next month, if their day matches the selected day. (#339540)
2112 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2113 in gtk_calendar_size_request and calendar_paint_day
2114 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2115 for selected detail separators in GtkCalendar.
2117 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2119 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2121 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2122 a local variable instead in gtk_calendar_size_request.
2124 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2126 * tests/defaultvaluetest.c: Add enough exclusions to make the
2129 2007-12-28 Christian Persch <chpe@gnome.org>
2131 * modules/other/gail/Makefile.am:
2132 * modules/other/gail/tests/*:
2133 * configure.in: Merge tests from standalone gail. Bug #504568.
2135 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2137 * gtk/gtkclipboard.c: Make the finalizer work when display is
2140 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2142 Draw bottom shadow of GtkCalender headings. (#506113)
2144 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2146 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2148 * gtk/gtkcalendar.c: Document the initial values of year/month/day
2151 2007-12-28 Christian Persch <chpe@gnome.org>
2153 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2154 a mem leak. Bug #506096.
2156 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2159 * gtk/gtktreeview.c:
2160 * gtk/gtkprintoperation.c:
2161 * gtk/gtkprogressbar.c:
2162 * gtk/gtkmessagedialog.c:
2163 * gtk/gtknotebook.c:
2167 * gtk/gtklinkbutton.c:
2168 * gtk/gtkmenu.c: More default property value corrections.
2170 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2172 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2173 accel_group unless it is set.
2175 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2177 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2179 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2181 * gtk/gtkhandlebox.c: Fix the default values of shadow and
2182 shadow-type properties.
2184 * gtk/gtkfontsel.c: Fix the default values of several properties.
2186 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2189 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2191 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2194 2007-12-28 Johan Dahlin <johan@gnome.org>
2196 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2197 (gtk_dialog_buildable_custom_tag_start): Chain up.
2198 This makes it possible to have accelerators tags on GtkDialog
2201 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2203 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2204 are shown within the widget, or just as tooltip. (#339540)
2206 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2207 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2208 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2211 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2213 Try more decent appearance of calendar details separator. (#339540)
2215 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2216 and make it short by one pixel on each side.
2218 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2220 Apply trivial code-style changes from attachement 101101. (#339540)
2222 * tests/testcalendar.c: Some updates to current GTK+ code-style.
2224 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2226 Restructure testcalendar for testing calendar details. (#339540)
2228 * tests/testcalendar.c: Push code arround for testing calendar details.
2230 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2232 Implement GtkTooltip API for calendar details. (#339540)
2234 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2235 Remember detail overflows in calendar_paint_day to show the tooltip
2236 only when neccessary.
2238 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2240 Without setting "detail-width-chars" and "detail-height-rows"
2241 properties not only the widget has to be redrawn on certain
2242 conditions, but also its size must be recalculated. (#339540)
2244 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2245 that function instead of gtk_widget_queue_draw.
2247 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2249 Consider details for size-request and expose-event. (#339540)
2251 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2252 is_color_attribute functions. Change gtk_calendar_size_request
2253 and calendar_paint_day to consider and show calender details.
2255 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2257 * gtk/gtkcombobox.c: Introduce local priv variables to
2260 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2262 * gtk/gtkcombobox.c: Correct the default value for the
2263 tearoff-title property.
2265 * gtk/gtkcellrenderertext.c: Fix the default value for the
2266 wrap-mode and font-scale properties.
2268 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2271 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2273 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2274 defines. (#505708, MINAMI Hirokazu)
2276 2007-12-27 Christian Persch <chpe@gnome.org>
2278 * Makefile.am: Install gail.pc. Bug #505859.
2280 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2282 Add infrastructure for GtkCalendar details. (#339540)
2284 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2285 Add "detail-width-chars" and "detail-height-rows" properties,
2286 and gtk_calendar_set_detail_func function.
2288 2007-12-27 Xan Lopez <xan@gnome.org>
2291 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2293 Add gtk_border_new to avoid memory allocator confusions when using
2294 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2296 2007-12-27 Christian Persch <chpe@gnome.org>
2298 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2299 bug #504886 not to read unitialised memory.
2301 2007-12-26 Xan Lopez <xan@gnome.org>
2303 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2304 modification of the internal frame contents to decide if we have
2305 extra children. (#415677)
2307 2007-12-22 Christian Persch <chpe@gnome.org>
2309 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2311 2007-12-25 Christian Persch <chpe@gnome.org>
2313 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2314 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2317 2007-12-25 Christian Persch <chpe@gnome.org>
2319 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2321 2007-12-25 Christian Persch <chpe@gnome.org>
2323 * modules/other/gail/*.[ch]: Remove relocations from the atk
2324 factories. Remove unused gail_foo_new() functions. Fix object
2325 instantiation to be derivation safe by moving initialisation code
2326 from the removed gail_foo_new() functions to the
2327 AtkObjectClass::initialize implementation. Bug #505226.
2329 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2331 * modules/other/gail/gailentry.c:
2332 * modules/other/gail/gailimage.c:
2333 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2334 uses of clipboards and settings. (#504722, Christian Persch)
2336 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2338 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2341 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2343 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2344 use the time and button information from the event. (#504901,
2347 2007-12-23 Cody Russell <bratsche@gnome.org>
2349 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2350 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2351 Fixes a regression caused by #164537 patch where transient
2352 windows that are hidden get shown (incorrectly) when their
2353 parents are minimized. (#504984)
2355 2007-12-22 Christian Persch <chpe@gnome.org>
2357 * modules/other/gail/gailcell.c:
2358 * modules/other/gail/gailcontainercell.c:
2359 * modules/other/gail/gailexpander.c:
2360 * modules/other/gail/gailtextcell.c:
2361 * modules/other/gail/gailtextview.c:
2362 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2364 2007-12-22 Christian Persch <chpe@gnome.org>
2366 * modules/other/gail/*.c: Include config.h. Bug #504720.
2368 2007-12-22 Christian Persch <chpe@gnome.org>
2370 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2371 handwritten get_type functions. Bug #504661.
2373 2007-12-23 Xan Lopez <xan@gnome.org>
2375 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2376 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2378 Patch by Sadrul Habib Chowdhury (#504804)
2380 2007-12-22 Christian Persch <chpe@gnome.org>
2382 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2383 #504645, patch by Li Yuan.
2385 2007-12-22 Christian Persch <chpe@gnome.org>
2387 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2389 2007-12-22 Christian Persch <chpe@gnome.org>
2391 * modules/other/gail/gail.c:
2392 * modules/other/gail/gailbutton.c:
2393 * modules/other/gail/gailcell.c:
2394 * modules/other/gail/gailcombo.c:
2395 * modules/other/gail/gailcombo.h:
2396 * modules/other/gail/gailcombobox.c:
2397 * modules/other/gail/gailentry.c:
2398 * modules/other/gail/gailexpander.c:
2399 * modules/other/gail/gailmenuitem.c:
2400 * modules/other/gail/gailnotebook.c:
2401 * modules/other/gail/gailnotebookpage.c:
2402 * modules/other/gail/gailnotebookpage.h:
2403 * modules/other/gail/gailoptionmenu.c:
2404 * modules/other/gail/gailrange.c:
2405 * modules/other/gail/gailtextview.c:
2406 * modules/other/gail/gailtreeview.c:
2407 * modules/other/gail/gailtreeview.h:
2408 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2411 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2413 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2416 2007-12-21 Richard Hult <richard@imendio.com>
2418 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2419 Plug leak of destroyed subviews, fixes bug #504753.
2421 2007-12-20 Johan Dahlin <johan@gnome.org>
2423 * tests/Makefile.am (TEST_PROGS):
2424 * tests/defaultvaluetest.c: Add a test for default values,
2425 based on program by Christan Perch
2427 2007-12-20 Johan Dahlin <johan@gnome.org>
2429 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2430 Refactor to avoid some duplication.
2431 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2432 Fixes #504749, Yuri Pimenov
2434 2007-12-20 Kristian Rietveld <kris@imendio.com>
2436 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2437 the build work again on systems without xrandr 1.2.
2439 2007-12-20 Christian Persch <chpe@gnome.org>
2442 * modules/other/gail/libgail-util/Makefile.am:
2443 Keep the same libtool version as the standalone libgail-util had.
2446 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2448 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2450 2007-12-20 Alexander Larsson <alexl@redhat.com>
2452 * gdk/x11/gdkapplaunchcontext-x11.c:
2453 Update for gio API changes
2455 2007-12-20 Richard Hult <richard@imendio.com>
2457 * gdk/quartz/GdkQuartzWindow.c:
2458 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2459 processing events after changing the size.
2461 2007-12-20 Richard Hult <richard@imendio.com>
2463 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2464 Add stub for quartz to fix build.
2466 2007-12-20 Christian Persch <chpe@gnome.org>
2468 * modules/other/gail/Makefile.am:
2469 * modules/other/gail/gailimage.c: (gail_image_class_init),
2470 (gail_image_init), (elide_underscores), (gail_image_get_name),
2471 (atk_image_interface_init), (gail_image_finalize):
2472 * modules/other/gail/gailimage.h:
2473 R modules/other/gail/gailintl.h:
2474 * po/POTFILES.skip: Use the stock item's label as the name of the
2475 accessible in gailimage.c. Bug #504246.
2477 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2479 Avoid some compiler warnings and remove obsolete code. (#339540)
2481 * gtk/gtkcalendar.c: Change week and year variable in
2482 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2483 0" block from calendar_paint_day: The feature in question is handled
2484 few lines above. Cast data returned by gtk_selection_data_get_text()
2485 to (gchar*) in gtk_calendar_drag_data_received.
2487 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2489 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2491 2007-12-19 Johan Dahlin <johan@gnome.org>
2493 * tests/buildertest.c (test_object_properties):
2494 Add another call to gtk_builder_add_string after using
2495 delayed properties, as reported in #504393 but already
2498 2007-12-18 Christian Persch <chpe@gnome.org>
2501 * docs/reference/Makefile.am:
2502 * docs/reference/libgail-util/*:
2503 * gail-uninstalled.pc.in:
2505 * modules/Makefile.am:
2506 * modules/other/Makefile.am:
2507 * modules/other/gail/*:
2508 * modules/other/gail/libgail-util/*:
2509 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2511 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2513 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2514 * gdk/win32/gdkproperty-win32.c:
2515 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2517 * gtk/gtkimmodule.[hc]:
2518 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2519 look at the gtk-im-module setting, and listen for changes to the
2520 setting. (#502446, Akira Tagoh)
2522 2007-12-17 Kristian Rietveld <kris@imendio.com>
2524 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2525 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2526 to NULL as soon as it's destroyed. (#496546, patch from
2529 2007-12-17 Kristian Rietveld <kris@imendio.com>
2531 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2532 always determine what arrow to show if show_sort_indicator is true.
2533 (#352738, Chris Vine).
2535 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2537 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2540 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2541 gtk_container_foreach in get_child_panes.
2543 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2545 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2547 Plug leak: When reordering the info in the list the old node is
2548 removed but not freed. (#503569)
2550 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2552 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2553 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2554 are deprecated since DirectFB 1.0.0. If compiling with an older
2555 version define the new type name to the old types. Fixes bug #503190.
2557 2007-12-14 Ray Strode <rstrode@redhat.com>
2559 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2560 instead of g_signal_connect_after (..., "realize", ...) as an
2561 alternative to gtk_widget_realize () (bug 503537).
2563 2007-12-14 Michael Natterer <mitch@imendio.com>
2565 * gdk/gdkinternals.h
2566 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2569 * gdk/gdkapplaunchcontext.c
2570 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2571 header already includes everything now.
2573 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2575 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2576 next stable release shall be 2.16, not 2.14 - even if disagree.
2578 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2580 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2582 Change GtkToolItem to retrieve its properties from GtkToolShell
2583 interface, instead of relying on being child of a GtkToolbar.
2586 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2587 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2588 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2589 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2590 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2591 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2592 Take section docs from template file and update them for GtkToolShell.
2593 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2594 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2596 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2598 Extract loading of GtkPageSetup and GtkPrintSettings from their
2599 *_new_*() functions and move that code into separate
2600 *_load_*() functions (#475565).
2602 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2603 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2604 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2605 Change the matching *_new_*() functions to use those functions.
2607 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2610 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2612 2007-12-14 Kristian Rietveld <kris@imendio.com>
2614 * gtk/tests/liststore.c:
2615 * gtk/tests/treestore.c: added tests for insertion functions.
2617 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2619 * Add RandR 1.2 support
2621 - New monitors_changed signal - New API to get width/height of
2622 monitors, and the name of the plug
2624 2007-12-13 Kristian Rietveld <kris@imendio.com>
2626 * gtk/tests/liststore.c:
2627 * gtk/tests/treestore.c: test the move and swap functions on a
2628 store with only one node.
2630 2007-12-13 Kristian Rietveld <kris@imendio.com>
2632 * gtk/gtktestutils.c (gtk_test_init): add a call to
2635 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2638 2007-12-13 Kristian Rietveld <kris@imendio.com>
2640 * gtk/tests/liststore.c:
2641 * gtk/tests/treestore.c: start composing tests for the list and tree
2644 * gtk/tests/treeview-scrolling.c: added automated tests for
2645 GtkTreeView's scrolling "subsystem".
2647 * gtk/tests/Makefile.am: updated; added new test programs.
2649 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2651 Make the code compile again after the GdkAppLaunchContext changes.
2653 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2654 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2656 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2658 * gdk/gdkapplaunchcontext.c: Add docs
2660 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2662 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2663 in gdk, providing startup notification. (#503203)
2665 * gdk/x11/gdkapplaunchcontext-x11.c:
2666 * gdk/win32/gdkapplaunchcontext-win32.c:
2667 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2668 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2669 parts. All but X11 are just empty stubs for now.
2672 * gdk/gdkinternals.h:
2674 * gdk/x11/Makefile.am:
2675 * gdk/win32/Makefile.am:
2676 * gdk/quartz/Makefile.am:
2677 * gdk/directfb/Makefile.am: Necessary glue.
2679 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2681 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2683 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2685 * gdk/directfb/gdktestutils-directfb.c:
2686 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2687 which adds testing functions to the DirectFB backend.
2689 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2691 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2692 Ciccani which fixes the mixing of gdk and cairo rendering.
2694 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2696 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2697 on "drag-motion" handlers. Clearify documentation for
2700 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2702 * buildertest.c: made unnecessarily exported symbols static.
2703 switched g_return_if_fail() statements in tests to assertions.
2704 special cased currently failing Widget/accesibility test to
2705 run only for g_test_thorough(), so it doesn't break make check.
2706 some coding style fixes.
2708 * Makefile.am: added buildertest to TEST_PROGS.
2710 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2712 * docs/tutorial/gtk-tut.sgml:
2713 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2715 2007-12-10 Richard Hult <richard@imendio.com>
2717 * gdk/quartz/Makefile.am:
2718 * gdk/quartz/gdkquartz.h:
2719 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2720 header (bug #405915). Also add a getter for the toplevel nswindow.
2722 2007-12-10 Richard Hult <richard@imendio.com>
2724 * gdk/quartz/gdkdrawable-quartz.c:
2725 (gdk_quartz_drawable_get_context),
2726 (gdk_quartz_drawable_release_context):
2727 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2728 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2729 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2730 used for each drawing context and in prepare, dispatch and poll
2731 with one that exists across each main loop iteration. Fixes leaks
2732 on leopard and protects against future leaks introduce when the
2733 underlying system changes again (bug #492977).
2735 2007-12-10 Richard Hult <richard@imendio.com>
2737 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2738 Fix the check for no changes to position and size.
2740 2007-12-10 Richard Hult <richard@imendio.com>
2742 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2743 sized areas at (0, 0), patch from Paul Davis.
2745 2007-12-10 Richard Hult <richard@imendio.com>
2747 * gdk/quartz/gdkprivate-quartz.h:
2748 * gdk/quartz/gdkeventloop-quartz.c:
2749 (_gdk_quartz_event_loop_get_pending),
2750 (_gdk_quartz_event_loop_check_pending),
2751 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2752 (gdk_event_check), (gdk_event_dispatch):
2753 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2754 (_gdk_events_queue): Fix a bug where we could end up trying to
2755 handle the same event more than once. Based on patch from Paul
2758 2007-12-10 Tor Lillqvist <tml@novell.com>
2760 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2763 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2765 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2766 to avoid further fallout from the fix for bug 388321.
2768 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2770 * gdk/directfb/gdkgc-directfb.c:
2771 * gdk/directfb/gdkdrawable-directfb.c:
2772 * gdk/directfb/gdkdirectfb.h:
2773 * gdk/directfb/gdkwindow-directfb.c:
2774 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2775 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2776 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2777 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2778 which are expected to improve the performance of the DirectFB backend.
2779 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2781 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2783 * gtk/gtkcontainer.c: Correct the documentation of child
2784 property getter arguments. (#501992, David Brigada)
2786 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2788 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2789 leak pixbufs. (#502250, Yevgen Muntyan)
2791 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2793 * gtk/gtkprintunixdialog.c:
2794 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2795 Print and Page Setup dialogs (#502202).
2797 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2799 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2800 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2801 of XVFB_START, since it's the GTESTER invokation that needs this.
2803 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2805 * gdk-pixbuf/gdk-pixbuf.symbols:
2807 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2808 positives in abicheck.sh
2810 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2812 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2813 GDK events generations in the DirectFB backend.
2815 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2817 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2818 set of likely unused display ids, because MacOS has no seq(1) command.
2820 2007-12-06 Richard Hult <richard@imendio.com>
2822 * gdk/quartz/gdkevents-quartz.c:
2823 (synthesize_crossing_events_for_ns_event): Fix warning when
2824 switching spaces in leopard.
2826 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2828 * tests/floatingtest.c: ported to new testing framework.
2830 * tests/Makefile.am: run floatingtest as testing framework test.
2832 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2834 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2835 timeouts and converting main loop sleeps to pending/iterate loops with
2836 very low priority async handlers. eliminate output for non-verbose
2837 tests. assert successfull subtests in all test functions. use testing
2838 framework in main().
2840 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2841 executed inside Xvfb upon make check.
2843 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2845 * tests/objecttests.c: use string comparisons for string property
2846 values and get rid of referencing symbols in array initialization.
2848 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2850 * gtk+/Makefile.decl: run tests in current dir after setting up the
2851 logging directory, so their results get properly merged into the
2854 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2855 tests to loop over registered Gdk/Gtk+ types.
2857 * gtk+/tests/objecttests.c: new test program, implements automated
2858 property tests. several properties are blacklisted because they
2859 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2860 can be used to test blacklisted properties and see which proprty failed.
2862 2007-12-04 Richard Hult <richard@imendio.com>
2864 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2865 Fully initialize the root window, fixes bug #501583.
2867 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2869 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2872 2007-12-03 Richard Hult <richard@imendio.com>
2874 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2875 Don't crash when dragging from a source that doesn't support uri
2876 lists (bug #499868, Paul Davis).
2878 2007-12-03 Richard Hult <richard@imendio.com>
2880 * gdk/quartz/gdkwindow-quartz.c:
2881 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2882 parent relative bg pixmap is set, and no parent has a bg
2883 pixmap. Fixes bug #500804.
2885 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2887 Two optimizations for icon cache lookups.
2889 * gtk/gtkiconcache.[hc]:
2890 * gtk/gtkicontheme.c: Remember the directory index for
2891 subdirectories, instead of running over the directory list
2894 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2895 chain and try it first; this helps with the the usage patterns
2896 in gtkicontheme.c, where the same icon is queried for a lot
2899 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2901 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2902 functions from header files. this should be portable across linux and
2903 Mac OS, unlike the previpous sed expression.
2905 2007-12-1 Cody Russell <bratsche@gnome.org>
2907 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2908 On Windows, queue a redraw of child2 whenever we set
2909 the pane handle position. This is unfortunately kind
2910 of hacky, but solves the visual artifacts that were
2911 occuring on at least certain types of child widgets
2912 (e.g., text views and tree views) that are inside
2913 horizontal or vertical panes. (#144269)
2915 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2917 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2919 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2921 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2924 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2926 * gtk/Makefile.am: Fix ordering of subdirs.
2928 2007-11-28 Tor Lillqvist <tml@novell.com>
2930 A proper build of GNU libintl is supposed to export the variable
2931 _nl_msg_cat_cntr. configure looks for that variable in order to
2932 recognize GNU gettext. If it sees that it is indeed GNU gettext
2933 that is used, it decides to install message catalogs in
2934 share/locale, otherwise in lib/locale. Until now on Windows I have
2935 built GTK+ against a build of GNU gettext that did not export
2936 _nl_msg_cat_cntr. But this will change, so we can't assume message
2937 catalogs are always in lib/locale.
2939 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2940 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2941 before the inclusion of gtkprivate.h so that it sees the original
2944 * gtk-zip.sh.in: Check whether the message catalogs are in
2945 share/locale or lib/locale.
2947 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2948 that the code in _gtk_get_localedir() will find the slashes.
2950 2007-11-28 Tor Lillqvist <tml@novell.com>
2952 * gtk/Makefile.am: Improve portability. The -o option is present
2953 only in newish GNU egreps. Use one more sed in the pipeline
2956 2007-11-28 Tor Lillqvist <tml@novell.com>
2958 Fix #375893, patch by Ben Hague:
2960 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2961 around GetLogicalDrives() that takes also the viewable drive
2962 restrictions in the Registry (which are usually the result of an
2963 Active Directory Group Policy) into account.
2965 (check_volumes, gtk_file_system_win32_list_volumes) Call
2966 get_viewable_logical_drives() instead of GetLogicalDrives().
2968 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2970 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2971 variables to silence valgrind. (#495124, Morten Welinder)
2973 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2975 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2976 that the construct_child function is responsible for returning a
2978 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2979 objects from constructors
2980 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2981 g_object_ref() to this construction function (it's the only
2986 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2988 * gtkbuilder.c: remove concept of root objects and just refcount
2989 all objects in the builder. Fixes #496651.
2991 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2993 * tests/buildertest.c (test_window): fix invalid free
2995 2007-11-26 Josselin Mouette <joss@malsain.org>
2997 reviewed by: Federico Mena Quintero
2999 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3000 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3001 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3002 Make the shortcuts activate with a single click. (#148828)
3003 Fix a few things affected by the change:
3004 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3005 where no shortcut is selected.
3006 - Don't activate a shortcut in the response callback.
3007 - Filter out duplicate entries in volumes and bookmarks to
3008 avoid the selection to change when reordering them with DnD.
3010 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3013 * gtk/gtknotebook.c:
3014 * gtk/gtkplugprivate.h:
3016 * gtk/gtksocketprivate.h:
3017 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3019 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3021 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3022 (#495574, Richard Hult)
3024 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3026 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3027 String change ! (#376361, Sven Neumann)
3029 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3031 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3033 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3036 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3038 * gtk/gtkassistant.c: Improve alternative button
3039 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3041 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3043 * gtk/gtkcalendar.c: Fix a theming problem with colors
3044 in GtkCalendar. (#499703, Michael Hofmann)
3046 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3048 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3050 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3052 Use templates for glib-mkenums calls instead of
3053 complicated commandlines in Makefiles. (#429910)
3055 * gdk-pixbuf/Makefile.am:
3058 * perf/Makefile.am: Use templates for glib-mkenums
3060 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3061 * gdk/gdkenumtypes.[ch].template:
3062 * gtk/gtktypebuiltings.[ch].template:
3063 * perf/typebuiltins.[ch].template: The templates
3065 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3067 * gtk/gtkfilechooserbutton.c:
3068 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3069 some compilers choke on that. (#467722)
3071 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3073 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3074 about hook setup. (#425004, Emmanuele Bassi)
3076 2007-11-26 Tor Lillqvist <tml@novell.com>
3078 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3079 monitor the window currently is on, not always the primary
3080 monitor. (#463865, Tim Evans)
3082 2007-11-26 Tor Lillqvist <tml@novell.com>
3084 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3086 * gdk/win32/Makefile.am: Add it.
3088 2007-11-26 Tor Lillqvist <tml@novell.com>
3090 * configure.in: Don't add jasper to all_loaders if no libjasper.
3092 2007-11-25 Bastien Nocera <hadess@hadess.net>
3094 * configure.in: Add detection for libjasper, used by the
3095 gdk-pixbuf JPEG2000 loader
3097 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3099 * configure.in: Require gtk-doc 1.8
3101 * */*.c: Use gtk-doc abbreviations for examples in docs.
3103 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3105 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3108 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3110 * gtk/gtkdialog.c: Move signal and property documentation inline,
3111 fix a problem with the ::response signal docs. (#499133, Josselin
3114 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3116 * Makefile.decl: initialize automake variables EXTRA_DIST and
3117 TEST_PROGS for unconditional appending via += in other makefiles.
3118 define recursive test targets: test, test-report, perf-report,
3119 full-report, as described here:
3120 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3121 the test targets will execute Gtk+ test programs within an Xvfb session.
3123 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3125 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3126 g_test_run() to run the tests to integrate with the testing framework.
3128 * gtk/tests/Makefile.am: removed exemplary testing rules.
3130 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3131 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3132 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3133 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3134 * docs/reference/Makefile.am, docs/tools/Makefile.am:
3135 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3136 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3137 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3138 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3139 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3140 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3141 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3142 * modules/engines/ms-windows/Theme/Makefile.am:
3143 * modules/engines/ms-windows/Makefile.am:
3144 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
3145 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3146 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3147 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3148 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3149 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3150 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3152 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3154 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3155 (#485662, patch by Herbert Valerio Riedel)
3157 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3159 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
3161 2007-11-21 Richard Hult <richard@imendio.com>
3163 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3164 stubs for the testing functions to fix the build.
3166 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3168 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3169 (#467711, The Written Word)
3171 2007-11-21 Ross Burton <ross@openedhand.com>
3173 * gdk/x11/gdksettings.c:
3174 Add xsetting for gtk-scrolled-window-placement (#458103).
3176 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3178 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3179 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3180 (#469239, Michael Natterer)
3182 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3184 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3185 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3186 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3187 (#436536, Tommi Komulainen)
3189 2007-11-21 Matthias Clasen <mclasen@redhat.com>
3191 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3192 property. (#489782, Jan Janech)
3194 2007-11-20 Matthias Clasen <mclasen@redhat.com>
3196 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3197 frames. (#107398, Owen Taylor, Miguel Gomez)
3199 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3201 Moved Gdk test functions from Gtk+ to Gdk test utils.
3203 * gdk/Makefile.am: added gdktestutils.h to public includes.
3205 * gdk/gdk.h: added gdktestutils.h to public includes.
3207 * gdk/gdk.symbols: added gdk_test_simulate_button,
3208 gdk_test_simulate_key, gdk_test_render_sync.
3210 * gdk/gdktestutils.h: new file, added prototypes for
3211 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3213 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3215 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3216 gdk_test_simulate_key, gdk_test_render_sync.
3218 * gtk/gtktestutils.c:
3219 * gtk/gtktestutils.h:
3220 * gtk/gtk.symbols: removed gtk_test_simulate_button
3221 gtk_test_simulate_key, gtk_test_xserver_render_sync.
3223 * gtk/tests/testing.c: call gdk_test_render_sync.
3225 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3227 Added unit tests for Gtk+ testing utilities.
3229 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3230 utility functions. some g_test_* related portions are disabled and need
3231 to be enabled once Gtk+ depends on a new glib with the GLib testing
3232 framework integrated.
3234 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3235 tests. added exemplary test rules to run tests inside Xvfb. this
3236 needs to depend on gtester for full fledged testing.
3238 * gtk/Makefile.am: build gtk+/gtk/tests, define
3239 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3240 e.g. gtk_text_get_type().
3242 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3244 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3246 Added Gtk+ testing utilities.
3248 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3249 functions. for the most part, the functions herein involve
3250 navigating and interacting with dialog elements programatically,
3251 to automate user interaction tests of dialogs and widgets.
3253 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3255 * gtk/gtk.symbols: added gtk_test_* symbols.
3257 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3258 the build. generate gtktypefuncs.c which contains a list of all
3259 _get_type functions in Gtk+ and Gdk.
3261 2007-11-20 Bastien Nocera <hadess@hadess.net>
3263 * configure.in: add support for conditional icns gdk-pixbuf loader
3266 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3268 * configure.in: updated version number to 2.15.0 for development.
3270 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3272 === Branch for 2.12 ===