1 2008-04-25 Michael Natterer <mitch@imendio.com>
3 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
6 2008-04-21 Michael Natterer <mitch@imendio.com>
8 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
9 crashing when NULL pointers get passed.
11 2008-04-18 Michael Natterer <mitch@imendio.com>
13 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
14 here have the same style.
16 2008-04-18 Michael Natterer <mitch@imendio.com>
19 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
22 * gtk/gtkbuilderparser.c
25 * gtk/gtkrecentchooserdefault.c
26 * gtk/gtkrecentchoosermenu.c
27 * modules/input/gtkimcontextthai.c: remove inclusion of single
28 files from gdk, none of the includes was actually needed.
30 2008-04-18 Michael Natterer <mitch@imendio.com>
32 * gdk/gdk.h: reorder one include so they are all alphabetical.
34 2008-04-18 Michael Natterer <mitch@imendio.com>
36 * modules/printbackends/cups/gtkprintercups.[ch]
37 (gtk_printer_cups_get_ppd_name): change return value and local
38 variable to const gchar* to fix warning about discarding const
41 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
43 * gtk/gtkrecentmanager.c:
44 (gtk_recent_manager_set_filename): Keep the default storage
45 file in $HOME, as we don't have a migration code in place yet.
47 2008-04-18 Michael Natterer <mitch@imendio.com>
49 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
50 g_strfreev() the uris returned by g_bookmark_file_get_uris().
52 2008-04-17 Michael Natterer <mitch@imendio.com>
54 * gtk/gtkiconfactory.c (get_default_icons): register the
55 GTK_STOCK_PAGE_SETUP icon.
57 2008-04-17 Michael Natterer <mitch@imendio.com>
59 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
60 g_return_if_fail(tooltips != NULL);
62 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
64 * gtk/gtkwindow.c: Chain up in buildable_finish()
66 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
67 cases where g_path_get_dirname() returns "."
69 * docs/reference/gtk/tmpl/gtklabel.sgml,
70 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
71 for the <attributes> tags on GtkLabel
73 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
75 * gtk/gtkrecentmanager.c:
76 (gtk_recent_manager_real_changed): Fix last commit, and
77 complete the gtk-recent-files-max-age semantics: if the
78 property is set to 0 then purge the list.
80 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
82 Bug 488507 – boundless growth of .recently-used.xbel file
83 slows down applications
85 * gtk/gtkrecentmanager.c:
86 (gtk_recent_manager_init),
87 (gtk_recent_manager_real_changed),
88 (gtk_recent_manager_set_filename),
89 (gtk_recent_manager_clamp_to_age): Clamp the recently
90 used resources list by the age of its items, using
91 the newly added GtkSettings property.
93 * gtk/gtksettings.c (gtk_settings_class_init): Add the
94 gtk-recent-files-max-age property, controlling the
95 maximum age of the items in the recently used resources
98 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
100 * gtk/gtkrecentmanager.c:
101 (gtk_recent_manager_add_item_query_info),
102 (gtk_recent_manager_add_item): Emit the ::changed signal
103 at the end of the asynchronous MIME type query.
105 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
107 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
110 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
111 changes in the recently used resources storage file, and
112 drop the timeout-based poll.
114 * ChangeLog: Fix attribution of the patch of the previous
117 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
119 Bug 506062 – gtk_recent_manager_add_item does not detect mime
122 * configure.in: Depend on gio-2.0
124 * gtk/gtkrecentmanager.c:
125 (gtk_recent_manager_add_item_query_info_cb),
126 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
127 query the MIME type of the passed URI (based on a patch by
130 2008-04-11 Carlos Garnacho <carlos@imendio.com>
132 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
133 page to visited page list instead of next current page. (#527466,
134 patch by Marcus Brinkmann)
136 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
138 * gtk/gtklabel.c: Added <attributes> / <attribute>
139 custom tags to parse pango attributes into labels.
141 * tests/buildertest.c: Added tests for GtkLabel custom
144 2008-04-10 Carlos Garnacho <carlos@imendio.com>
146 * gtk/gtknotebook.c (hide_drag_window): Do not call
147 gtk_widget_set_parent_window(), using widget->window instead of NULL
148 to unset is the wrong thing, and gtk_widget_unparent() will already
149 take care of this (#467698, patch by Sébastien Granjoux)
151 2008-04-08 Tor Lillqvist <tml@novell.com>
153 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
154 these functions with G_MODULE_EXPORT.
156 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
158 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
159 (gtk_file_system_volume_render_icon):
160 Fix fallback icon rendering size
162 2008-04-08 Michael Natterer <mitch@imendio.com>
164 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
165 touchscreen-mode keynav corner case: when navigating to the parent
166 menu, make sure we don't close two menus at the same time in case
167 the deepest open menu has no selectable items.
169 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
171 * gtk/gtkwidget.c: Clarified a g_warning message regarding
172 parsing accelerators from builder files.
174 2008-04-03 Cody Russell <bratsche@gnome.org>
176 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
177 of the block. (#526021, reported by Kazuki IWAMOTO)
179 2008-04-03 Tor Lillqvist <tml@novell.com>
181 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
184 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
185 workaround for a specific kind of screwed up locale setting.
187 2008-04-02 Matthias Clasen <mclasen@redhat.com>
189 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
190 colormaps. Found by Daniel Berrange.
192 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
194 * tests/autotestfilechooser.c: Cover
195 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
196 name. (#346058, Joe Halliwell)
198 2008-04-02 Federico Mena Quintero <federico@novell.com>
200 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
201 chooser incorrectly substitutes and expands a ~ when you type it
202 in the filename entry.
204 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
205 basenames result in a slash-terminated pathname.
206 gtk_file_system_unix_parse() is correct, but it was splitting
207 "/home/username" into path="/home" and file_part="username", which
208 is not what the caller wants when the entry has just "~" or
211 2008-04-02 Tor Lillqvist <tml@novell.com>
213 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
214 and gtksearchenginetracker.c on Windows.
216 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
219 2008-04-01 Cody Russell <bratsche@gnome.org>
221 * configure.in: Bump required Cairo to 1.5.2.
223 * gtk/gtkprintoperation-win32.c: Add support for using the new
224 cairo_win32_printing_surface for printing. Also fixed to use
225 cairo_surface_show_page(). (#488833 and #521178)
227 2008-03-31 Cody Russell <bratsche@gnome.org>
229 * demos/gtk-demo/printing.c (draw_page): Move down each line in
230 units of text_height rather than in units of data->font_size.
231 (totally awesome catch by Dom Lachowicz)
233 2008-03-28 Richard Hult <richard@imendio.com>
235 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
236 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
237 event to the mainloop and don't generate one at all if the
238 toplevel didn't change. Use the actual window and not the toplevel
239 as event window. These changes make the generated crossing events
240 match the X11 behavior and fixes issues with e.g. tooltips,
241 comboboxes and menus.
243 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
244 the view has no window, it will be updated as soon as it's put
247 * gdk/quartz/gdkwindow-quartz.c:
248 (_gdk_quartz_window_debug_highlight): Make it possible to track
249 multiple windows with debug highlighting.
250 (show_window_internal): Remove workaround for tooltips and popups
251 that is no longer needed with the above changes.
253 2008-03-26 Federico Mena Quintero <federico@novell.com>
255 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
256 helper function; factored out from the functions that commit the
257 current suggested autocompletion and that refresh the entry's paths.
258 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
259 (_gtk_file_chooser_entry_get_file_part): Likewise.
260 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
261 makes the entry have the correct paths when *not* using any form
262 of completion (and makes the file chooser work when clicking the
265 2008-03-25 Richard Hult <richard@imendio.com>
267 * gdk/quartz/gdkevents-quartz.c:
268 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
269 can't find a matching window.
271 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
272 comment, and only trigger an event for non-temp windows, fixes
273 problems for tooltips caused by the workarounds for the
274 problematic tracking rect API.
276 2008-03-25 Richard Hult <richard@imendio.com>
278 * gdk/quartz/gdkwindow-quartz.c:
279 (gdk_window_quartz_process_all_updates): Plug a leak and add a
280 check that we have a toplevel before accessing it.
282 2008-03-24 Tor Lillqvist <tml@novell.com>
284 Bug 524151 - Dragging of 0-byte files results in an empty filename
285 on Windows XP and above
287 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
288 being empty first. For some reason ISHellLink and IPersistFile
289 succeeds in interpreting empty files as shortcuts, claiming the
290 target of the shortcut is an empty path.
292 Change the function to take the wide character file name that the
293 caller already has anyway, to avoid a superfluous conversion from
296 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
298 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
299 against NULL pointer. (#467051, Gian Mario Tagliaretti)
301 2008-03-23 Cody Russell <bratsche@gnome.org>
303 * gdk/win32/gdkevents-win32.c (show_window_recurse):
304 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
305 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
306 menus from a maximized window would force the window to restore
309 2008-03-23 Johan Dahlin <johan@gnome.org>
311 * gtk/gtk-builder-convert:
312 Properly convert GtkImageMenuItems which use stock labels but don't
314 (#523932, Brian Pepple)
316 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
318 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
319 New function implements GtkCellLayoutClass::get_cells. (#523787)
321 2008-03-22 Tor Lillqvist <tml@novell.com>
323 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
325 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
326 GDK_THREADS_LEAVE() call. Approved by mclasen.
328 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
330 * gtk/gtkexpander.c (gtk_expander_get_label):
331 gtk_label_get_label() should be used instead of
332 gtk_label_get_text(). (#353088, Xan Lopez)
334 2008-03-21 Tor Lillqvist <tml@novell.com>
336 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
337 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
338 gdip-pixbuf-loader module.
340 * configure.in: Add switch --disable-gdiplus-loaders that disables
341 building of the GDI+ loaders.
343 When including loaders in the gdk-pixbuf library, and building
344 GDI+ loaders, either build in all the GDI+ loaders or none of
345 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
346 signal building them in.
348 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
349 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
350 indicate whether they should be built-in.
352 For the rest of the changes, see gdk-pixbuf/ChangeLog.
354 2008-03-20 Tor Lillqvist <tml@novell.com>
356 * gtk/Makefile.am: Revert accidental change that went in as part
357 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
358 Darwin. On Windows one has to use a newer GNU grep that has -o,
359 for instance the one from gnuwin32, instead of the oldish one in
360 MSYS that doesn't have -o.
362 2008-03-20 Tor Lillqvist <tml@novell.com>
364 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
365 pass NULL for %s to g_message().
366 (main): Drop unnecessary call to gtk_widget_destroy().
368 2008-03-20 Tor Lillqvist <tml@novell.com>
370 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
372 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
373 in one dimension, or centered in case it doesn't fit.
374 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
377 2008-03-18 Tor Lillqvist <tml@novell.com>
379 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
381 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
382 G_MODULE_ENTRY decoration can be put in a more correct place.
384 2008-03-18 Sven Neumann <sven@gimp.org>
386 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
387 alternative button order on the password dialog.
389 2008-03-18 Tor Lillqvist <tml@novell.com>
391 Bug 99192 - Add --with-include-input-modules
393 * configure.in: Add --with-included-immodules switch. Handled in a
394 similar way as the --with-included-loaders switch. For each input
395 method module foo: Collect the list of input modules to be built
396 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
397 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
398 Define Automake conditionals INCLUDE_IM_FOO.
400 * modules/input/Makefile.am: For modules to be included in libgtk,
401 build a static library.
403 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
404 gdk-pixbuf to get unique names for the functions called by libgtk
405 in the included case. Use G_MODULE_EXPORT in the non-included case
406 so that we don't unnecessarily export unneeded random global
409 * gtk/Makefile.am: Build the included modules and link them into libgtk.
411 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
412 copy/paste leftover mentions of "themes" in comments.
414 2008-03-18 Tor Lillqvist <tml@novell.com>
416 * tests/Makefile.am: Build testmountoperation only on Unix for now.
418 2008-03-17 Christian Kellner <gicmo@gnome.org>
420 Implement GtkMountOperation, a subclass of GMountOperation
421 to be used with gio wherever there is the need to ask the
422 user for credentials or questions while mounting a volume.
425 * gtk/gtkmountoperation.c:
426 * gtk/gtkmountoperation.h:
427 Implement GtkMountOperation.
429 * gtk/gtk.h: Add gtkmountoperation.h
430 * gtk/Makefile.am: Add gtkmountoperation.[hc]
431 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
432 * tests/testmountoperation.c: Test program for it.
433 * tests/Makefile.am: Add testmountoperation.
435 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
437 * gtk/gtkcontainer.c: Properly document
438 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
440 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
442 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
443 style names for the ComboBox thickness style
445 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
447 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
448 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
449 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
450 intelligent separation for the xp theming engine and the classic
451 theme while drawing the GtkComboBox button. combobox_draw_arrow
452 is not used anymore, commented. The style has been updated to fix
453 border/thickness glitches in the combobox according to the fixes
454 commited regarding bug #521442. (bug #461805)
456 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
458 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
459 now aware of both the combobox and frame (if has-frame is set)
460 thickness and border. (bug #521442)
462 2008-03-15 Andre Klapper <a9016009@gmx.de>
464 * configure.in: Added "si" to ALL_LINGUAS.
466 2008-03-15 Matthias Clasen <mclasen@redhat.com>
468 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
469 Set window type hint on the search popup. (#522279, Danny Baumann)
471 2008-03-15 Matthias Clasen <mclasen@redhat.com>
473 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
474 appropriate. (#521934, Huang Peng)
476 2008-03-14 Michael Natterer <mitch@imendio.com>
479 * gtk/gtkbuilderprivate.h
480 * gtk/gtkfilechoosersettings.c
481 * gtk/gtksearchenginesimple.c
482 * gtk/tests/liststore.c
483 * gtk/tests/treestore.c: remove single-file includes of GLib
484 headers or replace them by <glib.h> where needed.
486 2008-03-14 Michael Natterer <mitch@imendio.com>
488 * gtk/gtkadjustment.c: coding style cleanup.
490 (gtk_adjustment_set_property): no need to call g_object_notify()
491 on the set properties.
493 Implement GObject::dispatch_properties_changed() and make sure we
494 emit "changed" when anything but the "value" property changes.
496 2008-03-14 Tor Lillqvist <tml@novell.com>
498 * gdk/win32/gdkevents-win32.c: Drop the support for the
499 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
500 Win95. Thanks to mitch for noticing this obsolete code.
502 2008-03-14 Cody Russell <bratsche@gnome.org>
504 * examples/scribble-xinput/scribble-xinput.c: Changed
505 'void int main()' to 'int main()'. (#522211, Liqing Huang)
507 2008-03-14 Richard Hult <richard@imendio.com>
509 * gdk/quartz/gdkwindow-quartz.c:
510 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
511 only flush the toplevel once per update.
513 2008-03-13 Federico Mena Quintero <federico@novell.com>
515 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
516 Set the mouse cursor of the feedback window to invisible, so that
517 we respect GtkEntry's invisible cursor while typing.
519 2008-03-13 Federico Mena Quintero <federico@novell.com>
521 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
522 the feedback window at entry_height/2 pixels to the right of the
523 cursor, for a cheap "M-width / 2" spacing.
525 2008-03-13 Sven Neumann <sven@gimp.org>
527 * gtk/gtkfilechooserdefault.c
528 * gtk/gtkprintunixdialog.c: set alternative button order for
529 overwrite confirmation dialogs (bug #522191).
531 2008-03-13 Sven Neumann <sven@gimp.org>
533 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
534 (overwrite_confirmation_dialog): added some line-breaks for
537 2008-03-12 Federico Mena Quintero <federico@novell.com>
539 Rework the way completion works in GtkFileChooserEntry. Fixes
540 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
541 Tab completion should work even if the cursor is not at the end of
544 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
547 We distinguish between two cases:
549 - autocompletion - happens only in the Open modes by
550 inserting and selecting the common prefix as you type.
552 - explicit completion - happens when you hit Tab.
554 When some type of completion needs to happen, the entry first
555 parses its input and sees if it needs to initiate a folder load.
556 Completion will not happen until the folder finishes loading.
558 If the folder is already completely loaded, then completion is
559 performed immediately. Otherwise, the entry queues a pending
560 completion and starts loading the new folder (or waits until the
561 current folder is completely loaded).
563 Tab completion is allowed to happen even if the cursor is not at
564 the end of the entry.
566 There is a new feedback mechanism for explicit completion, so that
567 you will get an Emacs-like tip whenever there are ambiguities in
568 completion, no matches, etc. (This needs to be polished so that
569 we support RTL entries and all the fancy Pango layout in GtkEntry).
571 The only remaining thing to fix is the popup suggestion window.
572 Unfortunately, GtkEntryCompletion does not let us do what we want,
573 and will need further changes.
575 2008-03-12 Tor Lillqvist <tml@novell.com>
577 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
579 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
580 for the TaskbarCreated message in the window procedure for the
581 dummy "tray observer" window we create. When we get a
582 TaskbarCreated message, iterate over the status icons and re-add
583 them to the task bar, and update them by calling
584 gtk_status_icon_update_image().
586 Move some ifdefs around to avoid unused functions.
588 2008-03-12 Tor Lillqvist <tml@novell.com>
590 * config.h.win32.in: Update to match what configure produces.
592 2008-03-12 Jens Granseuer <jensgr@gmx.net>
594 * modules/printbackends/cups/gtkprintbackendcups.c:
595 (cups_printer_prepare_for_print): Don't define variables in the
596 middle of a block. (#522067)
598 2008-03-12 Matthias Clasen <mclasen@redhat.com>
600 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
601 dialog for print-to-file. (#474302, Marek Kašík)
603 2008-03-12 Matthias Clasen <mclasen@redhat.com>
605 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
606 (#469210, Wouter Bolsterlee)
608 2008-03-12 Matthias Clasen <mclasen@redhat.com>
610 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
611 paper_size here. (#488820, Morten Welinder)
613 2008-03-12 Michael Natterer <mitch@imendio.com>
615 * acconfig.h: remove this deprecated file.
617 * configure.in: added comments to all instances of AC_DEFINE() so
618 config.h can be completely generated from configure.in.
620 2008-03-12 Michael Natterer <mitch@imendio.com>
622 * modules/printbackends/cups/gtkprintbackendcups.c: include
623 <glib/gstdio.h> for g_fopen().
625 2008-03-11 Matthias Clasen <mclasen@redhat.com>
627 * modules/printbackends/cups/gtkprintbackendcups.c: Use
628 g_ascii_formatd when formatting custom paper sizes, since
629 cups doesn't handle , as decimal separator. (#521548)
631 2008-03-11 Tor Lillqvist <tml@novell.com>
633 Bug 469868 - Filenames with colon ":" are not saved correctly
635 * gtk/gtkfilechooserentry.c (insert_text_callback)
636 (delete_text_callback) [Win32]: New functions to make sure that
637 colons used otherwise than as a separator after a drive letter, or
638 characters that are always illegal in file names, are rejected on
639 input. This means that the GTK+ file chooser can't be used to
640 input full names of alternate data streams, but oh well. There are
641 still more checks that could be done on the file names, see the
642 bug report. But this will do for now.
643 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
645 2008-03-11 Jordi Mallach <jordi@sindominio.net>
647 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
649 2008-03-11 Michael Natterer <mitch@imendio.com>
651 * gdk/linux-fb/*: removed linux-fb backend files.
655 * docs/README.linux-fb
656 * gtk/Makefile.am: remove remaining traces of linux-fb.
658 * gtk/gtkwindow-decorate.c: same here. There is some code that
659 calls into linux-fb to set window move/resize callbacks. I put it
660 in #if 0 as a reminder because we did use decorated windows with
661 the DirectFB backend and it did work, so I don't really know why
662 this code is needed or how it could work with DirectFB back then.
663 The file does actually compile now if DECORATE_WINDOWS is defined,
664 but I didn't test with DirectFB to check if it does anything.
666 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
668 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
669 Take thickness into account in the size allocation of the child widgets in
673 2008-03-11 Richard Hult <richard@imendio.com>
675 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
677 2008-03-10 Tor Lillqvist <tml@novell.com>
679 * tests/teststatusicon.c (do_exit, popup_menu): Add the
680 possibility to test what happens if the process just calls exit()
681 without any orderly cleanup of GTK+.
683 2008-03-10 Tor Lillqvist <tml@novell.com>
685 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
687 2008-03-10 Tor Lillqvist <tml@novell.com>
689 Bug 520286 - Non-deletable window has no minimize / maximize buttons
691 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
692 New debugging output function that decodes a set of WS_* bits.
694 * gdk/win32/gdkprivate-win32.h: Declare it.
696 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
697 New function that enables or disables one menu entry in the system
698 menu of a top-level window. (The corresponding decoration will
699 then also be enabled or disabled (grayed).)
701 (update_style_bits): Do as the comment says and don't try to
702 update the window style based on the GdkWMFunctions set for the
705 (update_system_menu): New function that enables or disables the
706 system menu entries based on a window's stored set of
709 (gdk_window_set_functions): Call update_system_menu() instead of
712 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
714 * README.in: Reword the 2.14 release notes entry about the
715 deprecation of the gtkitemfactory.h header, and fix typos
718 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
720 * modules/engines/ms-windows/msw_style.c (draw_shadow):
721 Do not draw frame if parent if combobox.
723 Uses scrollbar width system metrics for combobox button.
724 Fixes #461805 for XP theme engine.
726 2008-03-07 Johan Dahlin <johan@gnome.org>
729 * gtk/gtkbuilderparser.c:
730 * gtk/gtkbuilderprivate.h:
731 * gtk/gtkiconfactory.c:
732 * tests/buildertest.c:
733 - Treat enums like enums and not values
734 - Avoid invalid free, in case of more than two sources
735 - Add better error messages
736 - Add much improved tests
737 (#520979, Christian Persch)
739 2008-03-07 Carlos Garnacho <carlos@imendio.com>
741 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
744 2008-03-06 Federico Mena Quintero <federico@novell.com>
746 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
747 GtkFileChooserDialog should set a default response button if the
748 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
750 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
751 function, refactor from where there was duplicated code.
752 (gtk_file_chooser_dialog_map): Look at the buttons in our
753 action_area. If the response ID for a button is one of the stock
754 ones, make it the default response button.
756 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
758 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
760 * gtk/gtkbuilderprivate.h:
761 * gtk/gtkiconfactory.c:
762 * tests/buildertest.c:
763 Implement GtkBuildable on GtkIconFactory, to make
764 it possible to register custom stock icons.
767 2008-03-06 Johan Dahlin <johan@gnome.org>
771 * gtk/gtkstyle.c: npoints->n_points.
772 * gtk/gtktestutils.h: widget->spinner
773 * gtk/gtktestutils.c: argc->argcp, argv->argvp
775 2008-03-06 William Lachance <wrlach@gmail.com>
777 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
778 string localizable (as it should be).
780 2008-03-06 William Lachance <wrlach@gmail.com>
782 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
783 the time for today's date. It's redudant. (see bug #410517).
785 2008-03-06 Xan Lopez <xan@gnome.org>
787 * gtk/gtkfixed.c: fix typo in documentation.
789 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
791 * gtk/gtkitemfactory.h:
792 * gtk/gtktypeutils.h:
793 Move GtkTranslateFunc to gtktypeutils.h so we can completely
794 deprecate gtkitemfactory.h.
796 * gtk/gtkactiongroup.h:
798 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
801 Add a note describing this slight incompatible change
803 2008-03-06 Johan Dahlin <johan@gnome.org>
805 * gtk/gtkpreview.h: Avoid double-deprecation.
807 2008-03-06 Michael Natterer <mitch@imendio.com>
810 * gtk/Makefile.am: move the remaining deprecated widgets to the
811 separate sections and replaced spaces by tabs in Makefile.am
813 2008-03-05 Johan Dahlin <johan@gnome.org>
815 * configure.in: Add --disable-cups option.
816 (#513826, Alberto Ruiz)
820 Separate broken and deprecated sources and headers into different sections
822 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
824 2008-03-05 Kristian Rietveld <kris@imendio.com>
826 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
827 short-circuit in case an empty root level would be build (and thus
828 directly destroyed) if no virtual root has been set.
830 2008-03-04 Matthias Clasen <mclasen@redhat.com>
832 * modules/printbackends/cups/gtkprintbackendcups.c:
833 Honor cups user default options from ~/.cups/lpoptions
834 (#469210, Stijn Hoop)
836 2008-03-04 Michael Natterer <mitch@imendio.com>
839 * gtk/gtkcolorbutton.c
840 * gtk/gtkentrycompletion.c
841 * gtk/gtkfontbutton.c
845 * gtk/gtkpreview.c: don't include "gtksignal.h".
847 * gtk/gtkfilefilter.c
848 * gtk/gtkrecentchoosermenu.c
849 * gtk/gtkrecentfilter.c
850 * gtk/gtktext.c: don't include "gtkobject.h".
852 2008-03-04 Simos Xenitellis <simos@gnome.org>
854 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
855 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
857 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
860 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
861 file, contains compose sequences that used to exist in
862 gtk/gtkimcontextsimple.c
864 * gtk/compose-parse.py: Script to generate compose
865 sequences from upstream (Xorg).
867 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
868 check_algorithmically): New functions. First two search in
869 gtk_compose_seqs_compact[] for matching compose sequence, third
870 tries NFC normalisation on incoming compose sequence.
871 (gtk_im_context_simple_filter_keypress):
872 Adds searching with check_compact_table(), check_algorithmically().
874 2008-03-03 Carlos Garnacho <carlos@imendio.com>
876 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
877 scrollwheel work in GtkPathBar.
879 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
881 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
882 an input-only window, event_window, which we'll use to capture
884 (gtk_path_bar_map): Show the event_window under the rest of the
885 windows, so it will be a catch-all for unhandled events.
887 2008-03-03 Sven Neumann <sven@gimp.org>
889 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
890 typo in the documentation of the GtkFileChooserButtons::file-set
891 signal (see bug #353196).
893 2008-03-03 Tor Lillqvist <tml@novell.com>
895 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
898 2008-03-02 Johan Dahlin <johan@gnome.org>
900 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
901 Remove left-over focus_pad variable.
902 (#490892, Claudio Saavedra)
904 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
905 (#518166, Matt Kraai)
907 2008-03-02 Johan Dahlin <johan@gnome.org>
909 * docs/tutorial/gtk-tut.sgml: Add a missing space
910 (#517954, Matt Kraai)
912 2008-03-03 Tor Lillqvist <tml@novell.com>
914 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
915 the widget is a GtkButton before casting.
917 2008-03-02 Johan Dahlin <johan@gnome.org>
919 * configure.in: Compare using = instead of ==, which is portable.
920 (#490787, Thomas Klausner)
922 2008-03-02 Johan Dahlin <johan@gnome.org>
924 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
926 (#496032, Nelson Benitez)
928 2008-02-29 Johan Dahlin <johan@gnome.org>
930 * demos/gtk-demo/demo.ui:
931 * gtk/gtkbuilderparser.c:
932 * gtk/gtkbuilderprivate.h:
933 * gtk/gtkliststore.c:
934 * tests/buildertest.c:
935 Add translatable/context and comment attributes on
936 <col> tags under a GtkListStore. Refactor parts of the
937 translation api and make it available inside gtk+ itself.
938 Update tests and example.
939 Fixes a part of #518642
941 2008-02-29 Johan Dahlin <johan@gnome.org>
944 Add missing g_return_val_if_fail checks for public API.
946 * gtk/gtkbuilderparser.c:
947 * gtk/gtkbuilderprivate.h:
948 Do not use g_error for a few more errors, instead set
949 the GError sent in through add_from_file/add_from_string.
950 * tests/buildertest.c:
951 Add a couple of new parsing tests.
952 (#519199, Pavel Syomin)
954 2008-02-29 Federico Mena Quintero <federico@novell.com>
956 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
957 refreshing an existing folder (i.e. when we are about to reload
958 its file list), turn off the folder's is_finished_loading flag.
959 Otherwise callers which do ::is_finished_loading() followed by
960 ::list_children() will get nothing.
962 2008-02-29 Cody Russell <bratsche@gnome.org>
964 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
965 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
967 2008-02-28 Matthias Clasen <mclasen@redhat.com>
969 * gtk/gtkcalendar.h: Remove trailing comma from enum to
970 make the compiler happy. (#517295, Sylvain Pasche)
972 2008-02-27 Michael Natterer <mitch@imendio.com>
982 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
983 private functions and virtual function implementations.
985 2008-02-27 Richard Hult <richard@imendio.com>
987 * gdk/quartz/GdkQuartzView.c:
988 * gdk/quartz/GdkQuartzView.h:
989 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
990 Fix performance regression for borderless transparent windows
993 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
995 * tests/testgtk.c: Revert back to r19454.
997 2008-02-27 Sven Neumann <sven@gimp.org>
999 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
1000 Quartz backend, use a native Mac OS X application for the print
1001 preview (bug #518624).
1003 2008-02-26 Michael Natterer <mitch@imendio.com>
1005 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
1006 the members of info->tag_stack since they are a) gobjects and b)
1007 not even owned by us, ugh... Fixes crash when deserializing fails.
1009 2008-02-26 Sven Neumann <sven@gimp.org>
1011 * docs/tools/shooter.c (find_toplevel_window)
1012 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
1013 argument passed to XQueryTree().
1015 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1017 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
1018 don't use beagle_query_add_hit_type.
1020 2008-02-25 Richard Hult <richard@imendio.com>
1022 * gdk/quartz/gdkevents-quartz.c
1023 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
1025 2008-02-24 Richard Hult <richard@imendio.com>
1027 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
1028 shown without gdk's control when clicking the dock icon.
1030 2008-02-24 Richard Hult <richard@imendio.com>
1032 * gdk/quartz/gdkprivate-quartz.h:
1033 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
1034 Use the subtype field for the custom event that is used to wake up
1035 the mainloop so we can have other custom event types.
1037 * gdk/quartz/gdkevents-quartz.c:
1038 (_gdk_quartz_events_trigger_crossing_events):
1039 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
1040 crossing events after showing a window if necessary, to work
1041 around problems with the tracking rect API.
1043 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1045 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
1046 wrong results on win32 because it doesn't set the printing units,
1047 which affect the transformation of the cairo context
1048 (#347125, Erik van Pienbroek)
1050 2008-02-22 Tor Lillqvist <tml@novell.com>
1052 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
1054 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
1056 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
1057 acceptable for a module to only support the save_to_callback()
1058 method if it marks itself as WRITABLE
1060 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1062 * configure.in: Bump version
1064 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1066 * === Released 2.13.0 ===
1068 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
1070 2008-02-21 Tor Lillqvist <tml@novell.com>
1072 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
1073 pass the format string to strftime in the C library's locale's
1074 charset, not the system's. Correspondingly, the return value from
1075 strftime() is in the C library's locale's charset. (#509885)
1077 2008-02-20 Richard Hult <richard@imendio.com>
1079 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
1080 the right window level and shadow after recreating the window.
1082 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
1083 necessary after drawing (bug #517338).
1085 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
1087 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
1088 call to g_type_class_unref in case of error. (#517563)
1090 2008-02-18 Sven Neumann <sven@gimp.org>
1092 * gtk/Makefile.am (STOCK_ICONS)
1093 * gtk/stock-icons/16/gtk-page-setup.png
1094 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
1095 taken from GNOME icon theme.
1097 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
1099 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
1101 * configure.in: Added Kannada (kn) to ALL_LINGUAS
1103 2008-02-17 Johan Dahlin <johan@gnome.org>
1105 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
1106 When converting a stock item based on the label, remove the label property.
1108 2008-02-17 Richard Hult <richard@imendio.com>
1110 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
1111 position after showing the window since the window manager might
1112 not place it where we requested in the first places.
1114 2008-02-17 Richard Hult <richard@imendio.com>
1116 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1117 (_gdk_quartz_window_detach_from_parent),
1118 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
1119 the toplevel ordering list in all places where the order is
1120 potentially changed. Fixes mouse focus issues for windows with
1121 a transient parent set.
1123 2008-02-17 Richard Hult <richard@imendio.com>
1125 * gdk/quartz/gdkevents-quartz.c
1126 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
1127 window when event debugging is enabled.
1129 2008-02-16 Richard Hult <richard@imendio.com>
1131 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
1132 to the scroll event (bug #516757, Paul Davis).
1134 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1138 2008-02-16 Matthias Clasen <mclasen@redhat.com>
1140 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
1143 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1145 * gdk/Makefile.am: Don't install private headers. (#463510)
1147 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
1148 the installed header gdkprivate.h.
1150 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1152 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
1153 a crash with hidden, reorderable tabs. (#513230,
1154 Mike Massonnet, patch by Carlos Garnacho)
1156 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1158 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
1159 Warn on duplicate action group names. (#501746, Christian
1162 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1165 * modules/other/gail/tests/Makefile.am:
1166 * modules/other/gail/libgail-util/Makefile.am:
1167 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1168 builds. (#516254, Yevgen Muntyan)
1170 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1175 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1176 instead of hardcoded target tables. (#516092, Christian Persch)
1178 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1180 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1181 add the same target atom twice. (#516087, Christian Persch)
1183 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1185 * tests/testfilechooser.c: Add a --backend option.
1186 (#516073, Christian Persch)
1188 2008-02-16 Richard Hult <richard@imendio.com>
1190 * gdk/quartz/gdkprivate-quartz.h:
1191 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1194 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1196 * configure.in: Go back to 2.13.0 as version for now,
1197 as there was no consensus to do the jump.
1199 * many other places: Update Since: tags.
1201 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1203 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1205 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1207 2008-02-15 Richard Hult <richard@imendio.com>
1209 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1210 instead of bounds when resizing windows.
1212 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1214 * gdk/x11/gdkkeys-x11.c:
1215 * gdk/x11/gdkcolor-x11.c:
1216 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1218 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1220 * gdk/x11/gdktestutils-x11.c:
1221 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1223 2008-02-15 Tor Lillqvist <tml@novell.com>
1225 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1226 leak Registry key handles. (#516578)
1228 2008-02-14 Richard Hult <richard@imendio.com>
1230 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1231 makeKeyWindow unfortunately doesn't work in all cases, we must use
1232 makeKeyAndOrderFront.
1234 2008-02-14 Richard Hult <richard@imendio.com>
1236 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1237 (gdk_window_hide), (gdk_window_fullscreen),
1238 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1239 the window is hidden.
1241 2008-02-14 Richard Hult <richard@imendio.com>
1243 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1244 resizing to be consistent and to avoid introducing an internal
1245 transform in the view.
1247 2008-02-14 Richard Hult <richard@imendio.com>
1249 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1252 2008-02-14 Johan Dahlin <johan@gnome.org>
1254 * gdk/gdktestutils.h
1255 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1257 2008-02-13 Richard Hult <richard@imendio.com>
1259 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1260 Remove unused variables.
1261 (gtk_clipboard_set_contents),
1262 (gtk_clipboard_get_owner), (clipboard_unset),
1263 (gtk_clipboard_request_targets): Notify the previous clipboard
1264 owner when the owner changes. Fixes bug #493406.
1266 2008-02-13 Richard Hult <richard@imendio.com>
1268 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1269 the return value (return number of colors that failed), and handle
1271 (gdk_colormap_free_colors): Fix typo in comment.
1273 2008-02-13 Kristian Rietveld <kris@imendio.com>
1275 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1276 queue a redraw if the rubber banding has actually been active.
1278 2008-02-12 Matthias Clasen <mclasne@redhat.com>
1280 * gtk/gtkpapersize.c:
1281 * gtk/gtkprintoperation.c:
1282 * gtk/gtkvolumebutton.c:
1283 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1284 out by Behdad Esfahbod.
1286 2008-02-12 Federico Mena Quintero <federico@novell.com>
1288 Merged from gtk-2-12:
1290 Don't focus the file list when shortcuts get activated. This
1291 removes a lot of ambiguity in when the file selection should
1292 change, and makes the overall code flow simpler.
1294 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1295 file/save dialog clears the filename entry when changing
1298 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1299 focus should not go to the file list when a shortcut is activated.
1301 * gtk/gtkfilechooserdefault.c
1302 (shortcuts_activate_volume_mount_cb): Don't focus the file list
1303 (shortcuts_activate_get_info_cb): Likewise.
1305 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1306 the file list (this was the last place where we would focus the
1307 file list explicitly). If you are in the location entry, for
1308 example, you don't want Alt-Home to take you to the file list; you
1309 just want the current folder to change. Thanks to Olle Bergkvist
1310 <olle.bergkvist@yahoo.se> for pointing this out in
1311 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1312 (focus_browse_tree_view_if_possible): Removed.
1314 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1316 Skip exensions when selecting filenames in the save-as dialog.
1317 (#362516, Carlos Garnacho)
1319 * gtk/gtkfilechooserentry.h:
1320 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1321 New function to skip the extension part when selecting a filename.
1322 (_gtk_file_chooser_entry_set_base_folder): Use it here.
1324 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1327 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1329 * gtk/gtkiconview.c: Fix state change reporting for
1330 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
1332 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
1334 * gtk/gtkrecentchooser.c:
1335 (gtk_recent_chooser_class_init): Set the default value of the
1336 :show-not-found property to TRUE, as every implementation sets
1339 * gtk/gtkrecentchooserdefault.c:
1340 (_gtk_recent_chooser_default_init): Sync show_tips to the
1341 default value of the :show-tips property.
1343 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1345 * gtk/gtkclipboard-quartz.c:
1347 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
1350 2008-02-12 Kristian Rietveld <kris@imendio.com>
1352 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1353 (gtk_tree_view_real_toggle_cursor_row): guard against people
1354 deleting the row in question in the selection-changed callback.
1355 (#514621, Andreas Koehler).
1357 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1359 * gtk/*.c: Unify the handling of various "Enter" keysyms
1360 all over the place. (#515047, Christian Persch)
1362 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1364 * gtk/gtkfilesystemmodel.c:
1366 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1367 appropriate. (#515042, Christian Persch)
1369 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1371 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1373 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1375 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1377 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1379 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1380 (recent_model_sort_drag_data_get):
1381 (search_model_sort_drag_data_get):
1382 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1383 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1384 Use gtk_selection_data_set_uris() instead of doing it
1385 by hand. (#514890, Christian Persch)
1387 2008-02-12 Michael Natterer <mitch@imendio.com>
1389 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1390 gtk_get_current_event_time().
1392 2008-02-12 Michael Natterer <mitch@imendio.com>
1394 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1395 gtk_window_get_key_hash() to get the hash instead of manually
1396 fiddling with quarks and gtk_window_keys_changed(). Also add
1397 g_return_if_fail() to this public function.
1399 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1401 Support keynav in status icons. (#473786, Li Yuan)
1403 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1405 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1407 2008-02-11 Kristian Rietveld <kris@imendio.com>
1409 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1410 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1411 wrt. link deletion from list; contination of fix for #503569.
1413 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1415 * gtk/gtkrecentchoosermenu.c:
1416 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1417 on the placeholder menu item.
1419 * tests/testrecentchoosermenu.c:
1420 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1421 whether the placeholder menu item gets shown.
1423 2008-02-10 Cody Russell <bratsche@gnome.org>
1425 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1426 Check the return value of _gtk_file_chooser_get_file_system () for
1427 NULL before passing it to gtk_file_system_path_to_uri ().
1428 (#515667, Francesco Montorsi)
1430 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1432 * gtk/gtkbuilder.c: Improve the documentation for
1433 gtk_builder_connect_signals. (#514471)
1435 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1437 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1440 2008-02-08 Cody Russell <bratsche@gnome.org>
1442 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1443 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1445 2008-02-08 Richard Hult <richard@imendio.com>
1447 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1448 delta from the NSEvent for now, generating multiple scroll events
1449 results in a lot of events getting queued up and things get really
1452 2008-02-08 Sven Herzberg <sven@imendio.com>
1454 Adjust the code to match the documentation, examples, "common sense"
1455 and existing applications.
1457 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1458 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1461 2008-02-07 Cody Russell <bratsche@gnome.org>
1463 * gdk/win32/gdkevents-win32.c
1464 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1465 of a block that were causing compile problems on old
1466 compilers. (#515053, reported by Kazuki IWAMOTO)
1468 2008-02-07 Michael Natterer <mitch@imendio.com>
1475 * gtk/gtkmenushell.c
1477 * gtk/gtkoptionmenu.c
1481 * gtk/gtkradiomenuitem.c
1483 * gtk/gtkscrolledwindow.c
1484 * gtk/gtksocket.c: remove g_return_if_fail() from private
1485 functions and virtual function implementations.
1487 2008-02-07 Michael Natterer <mitch@imendio.com>
1490 * gtk/gtkassistant.c
1494 * gtk/gtkcellrenderercombo.c
1497 * gtk/gtkdrawingarea.c
1498 * gtk/gtkentrycompletion.c
1504 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1505 functions and virtual function implementations.
1507 2008-02-07 Christian Persch <chpe@gnome.org>
1509 * gdk/gdkpixbuf-render.c:
1510 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1511 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1512 otherwise there will be random pixel values in the semi-transparent
1513 area of the pixbuf within the mask. Bug #487865.
1515 2008-02-06 Cody Russell <bratsche@gnome.org>
1517 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1518 otherwise things get wonky when you click on a menu. This fixes
1519 a regression caused in #505928. Thanks to Tor for spotting this
1522 2008-02-06 Michael Natterer <mitch@imendio.com>
1524 * gtk/gtkcontainer.c
1531 * gtk/gtkmenushell.c
1533 * gtk/gtkseparatortoolitem.c
1535 * gtk/gtktextlayout.c
1536 * gtk/gtktoggletoolbutton.c
1537 * gtk/gtktoolbutton.c
1540 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1543 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1545 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1546 Allow to store half-open ranges.
1548 2008-02-05 Cody Russell <bratsche@gnome.org>
1550 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1551 down the stack until we get to a window that is mapped.
1552 Otherwise hiding a window will cause all windows in the app
1553 to be blocked. (#514643)
1555 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1557 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1558 directory, avoiding one source of invalid caches that has been
1559 spotted in the wild.
1561 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1563 * gtk/updateiconcache.c: Fix the previous commit to compile.
1565 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1567 * gtk/updateiconcache.c: Install a printerr handler that
1568 prepends the program name, since gtk-update-icon-cache output
1569 often appears in the middle of other output, e.g. rpm update logs.
1571 2008-02-05 Cody Russell <bratsche@gnome.org>
1573 * gdk/win32/gdkprivate-win32.h
1574 * gdk/win32/gdkevents-win32.c
1575 * gdk/win32/gdkwindow-win32.c
1576 * gdk/win32/gdkwindow-win32.h
1577 * gdk/win32/gdkwin32.h:
1578 Modal window rework. (#455627 and #511111)
1580 2008-02-04 Michael Natterer <mitch@imendio.com>
1582 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1583 g_return_if_fail() if the cell is not part of the combo instead of
1584 crashing in the next line.
1586 2008-02-01 Cody Russell <cody@jhu.edu>
1588 * modules/engines/ms-windows/xp_theme.[ch]
1589 * modules/engines/ms-windows/xp_theme_defs.h
1590 * modules/engines/ms-windows/msw_rc_style.c
1591 * modules/engines/ms-windows/msw_theme_main.c
1592 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1593 attempted to stylize more like the rest of the gtk+ stack's code.
1595 2008-02-01 Michael Natterer <mitch@imendio.com>
1597 * tests/testgtk.c: initialize GdkColor structs to fix warning
1598 about uninitialized "pixel" member.
1600 * tests/testactions.c: connect the toolbar_style() callback so it
1601 does something useful and doesn't warn about being defined but not
1604 2008-01-31 Cody Russell <bratsche@gnome.org>
1606 * gdk/win32/gdkevents-win32.c:
1607 Refactored some of the window hiding/showing code from
1608 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1609 under WM_ACTIVATE was causing the application to go into
1610 a weird state when the user right-clicked on the taskbar
1611 entry of a window that was minimized. (#505928)
1613 2008-01-31 Cody Russell <bratsche@gnome.org>
1615 * gtk/gtkpaned.c (gtk_paned_set_position):
1616 Change queue_resize() to queue_draw(), and add a check for
1617 child2 != NULL in case someone calls this before there is
1618 a child packed in there. (#144269 again)
1620 2008-01-31 Sven Neumann <sven@gimp.org>
1622 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1623 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1625 2008-01-31 Sven Neumann <sven@gimp.org>
1627 * gdk/directfb/gdkdisplay-directfb.c
1628 * gdk/directfb/gdkdrawable-directfb.c
1629 * gdk/directfb/gdkprivate-directfb.h
1630 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1631 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1633 2008-01-31 Richard Hult <richard@imendio.com>
1635 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1636 issues with undecorated windows. Revert the change done on
1637 2008-01-25 and fix it by using the view's bounds instead. The
1638 bounds will always be up to date when setting up the tracking
1639 rect, so this should be more robust.
1641 2008-01-30 Sven Neumann <sven@gimp.org>
1643 * gdk/directfb/gdkdrawable-directfb.c
1644 * gdk/directfb/gdkwindow-directfb.c
1645 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1646 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1647 DirectFB's debugging system
1649 2008-01-30 Sven Neumann <sven@gimp.org>
1651 * gdk/directfb/gdkdirectfb.h
1652 * gdk/directfb/gdkdisplay-directfb.c
1653 * gdk/directfb/gdkdrawable-directfb.c
1654 * gdk/directfb/gdkim-directfb.c
1655 * gdk/directfb/gdkimage-directfb.c
1656 * gdk/directfb/gdkinput-directfb.c
1657 * gdk/directfb/gdkmain-directfb.c
1658 * gdk/directfb/gdkpixmap-directfb.c
1659 * gdk/directfb/gdktestutils-directfb.c
1660 * gdk/directfb/gdkvisual-directfb.c
1661 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1662 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1663 errors and has some cleanups.
1665 2008-01-30 Michael Natterer <mitch@imendio.com>
1667 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1668 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1671 * gtk/updateiconcache.c (add_string): cast const gchar* to
1672 gpointer when inserting in a GHashTable.
1674 * tests/testcalendar.c (calendar_detail_cb): remove const from
1675 return value since it's a newly allocated string.
1677 (calendar_update_details): free the detail.
1679 2008-01-29 Johan Dahlin <johan@gnome.org>
1681 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1683 * demos/gtk-demo/demo.ui:
1684 Move the about dialog to the glade file, add accessible tags
1685 examples to the markup file.
1687 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1689 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1690 layout, fixes #512375.
1692 2008-01-28 Michael Natterer <mitch@imendio.com>
1694 * gtk/gtktextchild.c
1695 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1697 2008-01-28 Michael Natterer <mitch@imendio.com>
1699 * demos/gtk-demo/builder.c (about_activate): use
1700 gtk_about_dialog_set_program_name() instead of the deprecated
1703 2008-01-28 Michael Natterer <mitch@imendio.com>
1705 * gtk/gtktextchild.c
1706 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1709 2008-01-26 Johan Dahlin <johan@gnome.org>
1711 * tests/Makefile.am:
1712 * tests/textbuffertest.c:
1713 Rename textbuffer test and port it to the new test framework
1715 2008-01-25 Johan Dahlin <johan@gnome.org>
1717 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1718 unsetting of GTK_MODULES.
1720 * gtk/gtk-builder-convert
1721 (GtkBuilderConverter._convert_adjustment): Handle the case where
1722 there is no child text node.
1723 (GtkBuilderConverter): Allow xml comments in most places.
1725 2008-01-25 Johan Dahlin <johan@gnome.org>
1727 * gtk/gtk-builder-convert
1728 (GtkBuilderConverter._convert_combobox_items): Remove the items
1729 even if there are no items set.
1730 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1731 signals and tooltips for all menu items subclasses and
1732 GtkImageMenuItem:label.
1733 Makes it possible to fully convert and run Jokosher.glade.
1735 2008-01-25 Johan Dahlin <johan@gnome.org>
1737 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1738 (gtk_widget_buildable_get_internal_child), (free_action),
1739 (free_relation), (gtk_widget_buildable_parser_finished),
1740 (accessibility_start_element),
1741 (gtk_widget_buildable_custom_tag_start),
1742 (gtk_widget_buildable_custom_finished):
1743 Implement accessible support, fixes #454653.
1745 * gtk/gtk-builder-convert:
1746 Add support for migrating old glade files
1748 * tests/buildertest.c: (test_widget), (test_file):
1749 Add accessible tests and imprve the test_file function to display
1750 toplevels and run dialogs.
1752 2008-01-25 Richard Hult <richard@imendio.com>
1754 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1755 didn't change, fixes focus event issues for undecorated windows.
1757 2008-01-25 Richard Hult <richard@imendio.com>
1759 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1760 const and remove unused variables).
1762 2008-01-25 Michael Natterer <mitch@imendio.com>
1765 * gtk/gtkcellrenderer.h
1766 * gtk/gtkimcontext.h
1770 * gtk/gtktreeprivate.h
1771 * gtk/gtktreeviewcolumn.h
1772 * gtk/gtkwidget.h: add const to constant structs which are passed
1773 into GTK+. Also add some forgotten const for const strings.
1777 * gtk/gtkcellrenderer.c
1778 * gtk/gtkimcontext.c
1783 * gtk/gtktreeviewcolumn.c
1784 * gtk/gtkwidget.c: changed accordingly.
1786 2008-01-25 Sven Herzberg <sven@imendio.com>
1788 Reviewed by Johan Dahlin.
1790 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1791 this is called with something that's not a GtkUIManager
1793 2008-01-24 Johan Dahlin <johan@gnome.org>
1795 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1796 Chain up to parent, so widgets can have internal children.
1798 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1800 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1803 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1805 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1807 Use pango_layout_set_height() for calendar details (#506049).
1809 * configure.in: Require 1.19.3 for pango_layout_set_height().
1810 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1812 2008-01-18 Johan Dahlin <johan@gnome.org>
1814 * gtk/gtk-builder-convert (get_property_node): New method
1815 (GtkBuilderConverter._create_object): Conditionally take a node as
1816 a property value, so don't lose translate/context attributes if they
1818 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1819 property values instead of strings.
1820 (#509153, Erik van Pienbroek)
1822 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1824 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1826 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1827 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1828 * tests/testcalendar.c: Duplicate calendar details before returning.
1830 2008-01-16 Christian Persch <chpe@gnome.org>
1832 * gtk/gtkwidget.c: Store the event mask and extension event mode
1833 directly in the gobject data pointer, instead of in an allocated
1836 2008-01-16 Michael Natterer <mitch@imendio.com>
1838 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1839 gdk-pixbuf now uses gio functions.
1841 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1843 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1844 the notify::model signal. (#509819, David Zeuthen)
1846 2008-01-15 Michael Natterer <mitch@imendio.com>
1854 * gdk/gdkwindow.h: made more struct pointer and array parameters
1855 const. GDK should now be constified as far as possible without
1856 breaking source compatibility. Includes some minor cleanup like
1857 indentation and s/nfoo/n_foo/ (bug #508544).
1863 * gdk/gdkregion-generic.c
1865 * gdk/directfb/gdkdisplay-directfb.c
1866 * gdk/directfb/gdkwindow-directfb.c
1867 * gdk/quartz/gdkdisplay-quartz.c
1868 * gdk/quartz/gdkwindow-quartz.c
1869 * gdk/win32/gdkdisplay-win32.c
1870 * gdk/win32/gdkwindow-win32.c
1871 * gdk/x11/gdkdisplay-x11.c
1872 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1874 2008-01-14 Michael Natterer <mitch@imendio.com>
1876 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1879 (gtk_rc_parse_any): change variables to const and introduce
1880 another local variable to fix const warnings.
1882 2008-01-14 Michael Natterer <mitch@imendio.com>
1884 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1885 of gdk_screen_get_font_options() to gpointer to get rid of const
1888 2008-01-14 Michael Natterer <mitch@imendio.com>
1890 * tests/testdnd.c (source_drag_data_get): fix another call to
1891 gtk_selection_data_set().
1893 2008-01-14 Michael Natterer <mitch@imendio.com>
1895 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1898 2008-01-14 Michael Natterer <mitch@imendio.com>
1900 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1902 2008-01-14 Michael Natterer <mitch@imendio.com>
1904 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1905 "uris" to guchar* when passing it to gtk_selection_data_set().
1907 2008-01-14 Michael Natterer <mitch@imendio.com>
1913 * gdk/gdkinternals.h
1915 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1916 parameters const (bug #508544).
1921 * gdk/gdkrectangle.c
1922 * gdk/gdkpolyreg-generic.c
1923 * gdk/gdkregion-generic.c
1924 * gdk/directfb/gdkcolor-directfb.c
1925 * gdk/directfb/gdkgc-directfb.c
1926 * gdk/directfb/gdkgeometry-directfb.c
1927 * gdk/directfb/gdkwindow-directfb.c
1928 * gdk/quartz/gdkcolor-quartz.c
1929 * gdk/quartz/gdkgc-quartz.c
1930 * gdk/quartz/gdkgeometry-quartz.c
1931 * gdk/quartz/gdkwindow-quartz.c
1932 * gdk/win32/gdkcolor-win32.c
1933 * gdk/win32/gdkgc-win32.c
1934 * gdk/win32/gdkgeometry-win32.c
1935 * gdk/win32/gdkprivate-win32.h
1936 * gdk/win32/gdkwindow-win32.c
1937 * gdk/x11/gdkcolor-x11.c
1938 * gdk/x11/gdkgc-x11.c
1939 * gdk/x11/gdkgeometry-x11.c
1940 * gdk/x11/gdkmain-x11.c
1941 * gdk/x11/gdkprivate-x11.h
1942 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1944 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1947 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1949 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1951 * gtk/gtktoolitem.c: Add comment expaining name choice for
1952 gtk_tool_item_toolbar_reconfigured.
1954 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1956 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1957 implementations to notify its children, when some aspect of their
1958 configuration changed (#509042).
1960 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1961 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1962 Rename _gtk_tool_item_toolbar_reconfigured.
1964 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1966 Include <gtk/gtktoolshell.h> from gtk.h.
1968 * gtk/gtk.h: Add gtktoolshell.h
1970 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1972 Print angle brackets arround e-mail addresses in the about dialog
1973 (#409520, Mariano Suárez-Alvarez).
1975 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1977 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1979 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1980 special casing so test widgets are always queues for destruction
1983 * gtk/tests/testing.c: removed bits left-over from testing without
1986 2008-01-10 Tor Lillqvist <tml@novell.com>
1988 * modules/other/gail/libgail-util/Makefile.am
1989 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1992 2008-01-10 Tor Lillqvist <tml@novell.com>
1994 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1995 uses gtkprintunixdialog API.
1997 2008-01-10 Tor Lillqvist <tml@novell.com>
1999 * gdk/win32/gdkdisplay-win32.c
2000 * gdk/win32/gdkglobals-win32.c
2001 * gdk/win32/gdkprivate-win32.h
2002 * gdk/win32/gdkscreen-win32.c
2003 * gdk/win32/gdkwindow-win32.c: Implement
2004 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
2005 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
2008 2008-01-10 Cody Russell <bratsche@gnome.org>
2010 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
2011 Properly ref/unref windows and parents. (#506769)
2013 2008-01-10 Richard Hult <richard@imendio.com>
2015 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2016 (gdk_window_hide), (move_resize_window_internal): Move the
2017 tracking rect workaround from here...
2019 * gdk/quartz/GdkQuartzWindow.c:
2020 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
2021 movements during showing/hiding operations. Fixes bug #508516.
2023 2008-01-10 Michael Natterer <mitch@imendio.com>
2025 * gdk/directfb/gdkscreen-directfb.c
2026 (gdk_screen_get_monitor_width_mm)
2027 (gdk_screen_get_monitor_height_mm)
2028 (gdk_screen_get_monitor_plug_name): add these functions to make
2031 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
2033 * gtk/gtkrecentchoosermenu.c:
2034 (idle_populate_func), (idle_populate_clean_up): Fix possible
2035 recursion by resetting the idle source id. (#507605, William
2038 2008-01-10 Kristian Rietveld <kris@imendio.com>
2040 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
2041 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
2042 avoid valgrind warnings. (#507751, patch from Christian Persch).
2044 2008-01-10 Kristian Rietveld <kris@imendio.com>
2046 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
2047 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
2049 2008-01-10 Kristian Rietveld <kris@imendio.com>
2051 Fix #477175, reported by Juri Pakaste.
2053 * gtk/gtktreeprivate.h:
2054 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
2055 tree_view->priv->dy here directly, just calculate the new value
2056 and set it on the adjustment,
2057 (gtk_tree_view_adjustment_changed): add guards to not call
2058 gtk_tree_view_dy_to_top_row() if we are currently in
2059 gtk_tree_view_top_row_to_dy(),
2060 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
2061 coordinates, not tree coordinates,
2062 (gtk_tree_view_real_start_editing): add cast.
2064 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
2065 position of the editable in the "create new row and start editing"
2068 2008-01-09 Michael Natterer <mitch@imendio.com>
2070 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
2073 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
2074 * gtk/gtkicontheme.c (theme_list_contexts)
2075 (gtk_icon_theme_lookup_icon)
2076 * gtk/gtkimcontextsimple.c (beep_window)
2077 * gtk/gtklinkbutton.c (set_link_color)
2078 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
2081 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
2082 variable and add const to another to fix a warning.
2084 2008-01-07 Matthias Clasen <mclasen@redhat.com>
2086 * gtk/gtkassistant.c (remove_page): Be more robust when removing
2087 the current page. (#499951, Andreas Sandberg)
2089 2008-01-06 Johan Dahlin <johan@gnome.org>
2091 * gtk/gtkspinbutton.c: Declare value in the example code for
2092 GtkSpinButton::output, as pointed out by Anders Carlsson.
2094 2008-01-06 Christian Persch <chpe@gnome.org>
2096 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
2097 and remove an obsolete event box. Bug #506760.
2099 2008-01-06 Johan Dahlin <johan@gnome.org>
2101 * tests/buildertest.c (test_domain):
2102 Update, GtkBuilder::translation-domain is no longer set
2104 * gtk/gtkbuilderparser.c (parse_interface):
2105 Allow domains to be overridden in <interface>'s if a translation-domain
2106 is set in the builder.
2107 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
2108 of the builder, make the domain set in the <interface> apply only to strings
2110 (#496831, Ryan Lortie)
2112 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
2115 * gtk/gtktreestore.c (tree_model_end_element):
2116 Remove an unused variable
2118 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2120 * gtk/gtkspinbutton.c: Document the ::output signal and
2121 add an example. (#507566, example by Owen Taylor)
2123 2008-01-06 Johan Dahlin <johan@gnome.org>
2125 * gtk/gtkcellrenderercombo.c:
2126 (gtk_cell_renderer_combo_get_property),
2127 (gtk_cell_renderer_combo_set_property):
2128 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
2129 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
2130 * gtk/gtknotebook.c: (gtk_notebook_set_property):
2131 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
2132 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
2133 (gtk_text_buffer_get_property):
2134 * gtk/gtktextview.c: (gtk_text_view_set_property):
2135 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
2136 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
2137 (gtk_tool_button_get_property):
2138 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
2139 (gtk_tool_item_get_property):
2140 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
2141 * gtk/gtkwidget.c: (gtk_widget_set_property):
2142 * gtk/gtkwindow.c: (gtk_window_set_property):
2143 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
2146 2008-01-06 Johan Dahlin <johan@gnome.org>
2148 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
2149 Make sure that --root works for toplevel widgets.
2150 (#491847, Phil Lello)
2152 2008-01-05 Johan Dahlin <johan@gnome.org>
2154 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
2155 to make sure that make test-report works properly
2157 2008-01-05 Christian Persch <chpe@gnome.org>
2159 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
2160 GType as integer through gpointer. Bug #507395.
2162 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
2164 Avoid some compiler warnings (#507000).
2166 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
2167 for value argument of _gtk_builder_flags_from_string.
2168 * gtk/gtkwidget.c: Don't alias the child pointer passed
2169 to gdk_window_get_user_data.
2171 2008-01-04 Michael Natterer <mitch@imendio.com>
2173 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2174 to set the time in the returned GdkTimeCoords.
2176 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2178 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2179 correct comparison function (kudos to Christian Persch and
2180 Claudio Saavedra for spotting this)
2182 * gtk/gtkrecentchooserutils.c:
2183 (sort_recent_items_mru),
2184 (sort_recent_items_lru): Ditto as above.
2186 2008-01-03 Johan Dahlin <johan@gnome.org>
2188 * tests/defaultvaluetest.c: Make it pass again.
2190 2008-01-02 Johan Dahlin <johan@gnome.org>
2192 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2193 make it pass on Ubuntu.
2194 (main): Use gtk_test_list_all_types () instead of providing our
2196 And it no longer passes.
2198 2007-12-30 Johannes Schmid <jhs@gnome.org>
2200 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2201 Also reorder menu when reordering tabs by drag & drop
2204 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2205 Add a menu to one of the notebooks to have a test-case for
2206 the change mentioned above.
2208 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2210 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2212 2007-12-31 Christian Persch <chpe@gnome.org>
2214 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2215 Plug a mem leak. Bug #506107.
2217 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2219 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2220 icon cache api change. (#506135, Kazuki Iwamoto)
2222 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2224 Consider "wide-separators" and "separator-height" style properties:
2225 The separator is drawn using gtk_paint_box instead of cairo, when
2226 "wide-separators" is set. Also do not highlight details for previous
2227 or next month, if their day matches the selected day. (#339540)
2229 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2230 in gtk_calendar_size_request and calendar_paint_day
2231 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2232 for selected detail separators in GtkCalendar.
2234 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2236 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2238 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2239 a local variable instead in gtk_calendar_size_request.
2241 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2243 * tests/defaultvaluetest.c: Add enough exclusions to make the
2246 2007-12-28 Christian Persch <chpe@gnome.org>
2248 * modules/other/gail/Makefile.am:
2249 * modules/other/gail/tests/*:
2250 * configure.in: Merge tests from standalone gail. Bug #504568.
2252 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2254 * gtk/gtkclipboard.c: Make the finalizer work when display is
2257 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2259 Draw bottom shadow of GtkCalender headings. (#506113)
2261 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2263 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2265 * gtk/gtkcalendar.c: Document the initial values of year/month/day
2268 2007-12-28 Christian Persch <chpe@gnome.org>
2270 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2271 a mem leak. Bug #506096.
2273 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2276 * gtk/gtktreeview.c:
2277 * gtk/gtkprintoperation.c:
2278 * gtk/gtkprogressbar.c:
2279 * gtk/gtkmessagedialog.c:
2280 * gtk/gtknotebook.c:
2284 * gtk/gtklinkbutton.c:
2285 * gtk/gtkmenu.c: More default property value corrections.
2287 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2289 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2290 accel_group unless it is set.
2292 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2294 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2296 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2298 * gtk/gtkhandlebox.c: Fix the default values of shadow and
2299 shadow-type properties.
2301 * gtk/gtkfontsel.c: Fix the default values of several properties.
2303 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2306 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2308 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2311 2007-12-28 Johan Dahlin <johan@gnome.org>
2313 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2314 (gtk_dialog_buildable_custom_tag_start): Chain up.
2315 This makes it possible to have accelerators tags on GtkDialog
2318 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2320 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2321 are shown within the widget, or just as tooltip. (#339540)
2323 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2324 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2325 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2328 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2330 Try more decent appearance of calendar details separator. (#339540)
2332 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2333 and make it short by one pixel on each side.
2335 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2337 Apply trivial code-style changes from attachement 101101. (#339540)
2339 * tests/testcalendar.c: Some updates to current GTK+ code-style.
2341 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2343 Restructure testcalendar for testing calendar details. (#339540)
2345 * tests/testcalendar.c: Push code arround for testing calendar details.
2347 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2349 Implement GtkTooltip API for calendar details. (#339540)
2351 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2352 Remember detail overflows in calendar_paint_day to show the tooltip
2353 only when neccessary.
2355 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2357 Without setting "detail-width-chars" and "detail-height-rows"
2358 properties not only the widget has to be redrawn on certain
2359 conditions, but also its size must be recalculated. (#339540)
2361 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2362 that function instead of gtk_widget_queue_draw.
2364 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2366 Consider details for size-request and expose-event. (#339540)
2368 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2369 is_color_attribute functions. Change gtk_calendar_size_request
2370 and calendar_paint_day to consider and show calender details.
2372 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2374 * gtk/gtkcombobox.c: Introduce local priv variables to
2377 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2379 * gtk/gtkcombobox.c: Correct the default value for the
2380 tearoff-title property.
2382 * gtk/gtkcellrenderertext.c: Fix the default value for the
2383 wrap-mode and font-scale properties.
2385 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2388 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2390 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2391 defines. (#505708, MINAMI Hirokazu)
2393 2007-12-27 Christian Persch <chpe@gnome.org>
2395 * Makefile.am: Install gail.pc. Bug #505859.
2397 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2399 Add infrastructure for GtkCalendar details. (#339540)
2401 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2402 Add "detail-width-chars" and "detail-height-rows" properties,
2403 and gtk_calendar_set_detail_func function.
2405 2007-12-27 Xan Lopez <xan@gnome.org>
2408 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2410 Add gtk_border_new to avoid memory allocator confusions when using
2411 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2413 2007-12-27 Christian Persch <chpe@gnome.org>
2415 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2416 bug #504886 not to read unitialised memory.
2418 2007-12-26 Xan Lopez <xan@gnome.org>
2420 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2421 modification of the internal frame contents to decide if we have
2422 extra children. (#415677)
2424 2007-12-22 Christian Persch <chpe@gnome.org>
2426 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2428 2007-12-25 Christian Persch <chpe@gnome.org>
2430 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2431 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2434 2007-12-25 Christian Persch <chpe@gnome.org>
2436 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2438 2007-12-25 Christian Persch <chpe@gnome.org>
2440 * modules/other/gail/*.[ch]: Remove relocations from the atk
2441 factories. Remove unused gail_foo_new() functions. Fix object
2442 instantiation to be derivation safe by moving initialisation code
2443 from the removed gail_foo_new() functions to the
2444 AtkObjectClass::initialize implementation. Bug #505226.
2446 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2448 * modules/other/gail/gailentry.c:
2449 * modules/other/gail/gailimage.c:
2450 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2451 uses of clipboards and settings. (#504722, Christian Persch)
2453 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2455 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2458 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2460 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2461 use the time and button information from the event. (#504901,
2464 2007-12-23 Cody Russell <bratsche@gnome.org>
2466 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2467 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2468 Fixes a regression caused by #164537 patch where transient
2469 windows that are hidden get shown (incorrectly) when their
2470 parents are minimized. (#504984)
2472 2007-12-22 Christian Persch <chpe@gnome.org>
2474 * modules/other/gail/gailcell.c:
2475 * modules/other/gail/gailcontainercell.c:
2476 * modules/other/gail/gailexpander.c:
2477 * modules/other/gail/gailtextcell.c:
2478 * modules/other/gail/gailtextview.c:
2479 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2481 2007-12-22 Christian Persch <chpe@gnome.org>
2483 * modules/other/gail/*.c: Include config.h. Bug #504720.
2485 2007-12-22 Christian Persch <chpe@gnome.org>
2487 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2488 handwritten get_type functions. Bug #504661.
2490 2007-12-23 Xan Lopez <xan@gnome.org>
2492 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2493 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2495 Patch by Sadrul Habib Chowdhury (#504804)
2497 2007-12-22 Christian Persch <chpe@gnome.org>
2499 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2500 #504645, patch by Li Yuan.
2502 2007-12-22 Christian Persch <chpe@gnome.org>
2504 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2506 2007-12-22 Christian Persch <chpe@gnome.org>
2508 * modules/other/gail/gail.c:
2509 * modules/other/gail/gailbutton.c:
2510 * modules/other/gail/gailcell.c:
2511 * modules/other/gail/gailcombo.c:
2512 * modules/other/gail/gailcombo.h:
2513 * modules/other/gail/gailcombobox.c:
2514 * modules/other/gail/gailentry.c:
2515 * modules/other/gail/gailexpander.c:
2516 * modules/other/gail/gailmenuitem.c:
2517 * modules/other/gail/gailnotebook.c:
2518 * modules/other/gail/gailnotebookpage.c:
2519 * modules/other/gail/gailnotebookpage.h:
2520 * modules/other/gail/gailoptionmenu.c:
2521 * modules/other/gail/gailrange.c:
2522 * modules/other/gail/gailtextview.c:
2523 * modules/other/gail/gailtreeview.c:
2524 * modules/other/gail/gailtreeview.h:
2525 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2528 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2530 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2533 2007-12-21 Richard Hult <richard@imendio.com>
2535 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2536 Plug leak of destroyed subviews, fixes bug #504753.
2538 2007-12-20 Johan Dahlin <johan@gnome.org>
2540 * tests/Makefile.am (TEST_PROGS):
2541 * tests/defaultvaluetest.c: Add a test for default values,
2542 based on program by Christan Perch
2544 2007-12-20 Johan Dahlin <johan@gnome.org>
2546 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2547 Refactor to avoid some duplication.
2548 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2549 Fixes #504749, Yuri Pimenov
2551 2007-12-20 Kristian Rietveld <kris@imendio.com>
2553 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2554 the build work again on systems without xrandr 1.2.
2556 2007-12-20 Christian Persch <chpe@gnome.org>
2559 * modules/other/gail/libgail-util/Makefile.am:
2560 Keep the same libtool version as the standalone libgail-util had.
2563 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2565 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2567 2007-12-20 Alexander Larsson <alexl@redhat.com>
2569 * gdk/x11/gdkapplaunchcontext-x11.c:
2570 Update for gio API changes
2572 2007-12-20 Richard Hult <richard@imendio.com>
2574 * gdk/quartz/GdkQuartzWindow.c:
2575 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2576 processing events after changing the size.
2578 2007-12-20 Richard Hult <richard@imendio.com>
2580 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2581 Add stub for quartz to fix build.
2583 2007-12-20 Christian Persch <chpe@gnome.org>
2585 * modules/other/gail/Makefile.am:
2586 * modules/other/gail/gailimage.c: (gail_image_class_init),
2587 (gail_image_init), (elide_underscores), (gail_image_get_name),
2588 (atk_image_interface_init), (gail_image_finalize):
2589 * modules/other/gail/gailimage.h:
2590 R modules/other/gail/gailintl.h:
2591 * po/POTFILES.skip: Use the stock item's label as the name of the
2592 accessible in gailimage.c. Bug #504246.
2594 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2596 Avoid some compiler warnings and remove obsolete code. (#339540)
2598 * gtk/gtkcalendar.c: Change week and year variable in
2599 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2600 0" block from calendar_paint_day: The feature in question is handled
2601 few lines above. Cast data returned by gtk_selection_data_get_text()
2602 to (gchar*) in gtk_calendar_drag_data_received.
2604 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2606 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2608 2007-12-19 Johan Dahlin <johan@gnome.org>
2610 * tests/buildertest.c (test_object_properties):
2611 Add another call to gtk_builder_add_string after using
2612 delayed properties, as reported in #504393 but already
2615 2007-12-18 Christian Persch <chpe@gnome.org>
2618 * docs/reference/Makefile.am:
2619 * docs/reference/libgail-util/*:
2620 * gail-uninstalled.pc.in:
2622 * modules/Makefile.am:
2623 * modules/other/Makefile.am:
2624 * modules/other/gail/*:
2625 * modules/other/gail/libgail-util/*:
2626 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2628 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2630 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2631 * gdk/win32/gdkproperty-win32.c:
2632 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2634 * gtk/gtkimmodule.[hc]:
2635 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2636 look at the gtk-im-module setting, and listen for changes to the
2637 setting. (#502446, Akira Tagoh)
2639 2007-12-17 Kristian Rietveld <kris@imendio.com>
2641 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2642 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2643 to NULL as soon as it's destroyed. (#496546, patch from
2646 2007-12-17 Kristian Rietveld <kris@imendio.com>
2648 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2649 always determine what arrow to show if show_sort_indicator is true.
2650 (#352738, Chris Vine).
2652 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2654 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2657 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2658 gtk_container_foreach in get_child_panes.
2660 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2662 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2664 Plug leak: When reordering the info in the list the old node is
2665 removed but not freed. (#503569)
2667 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2669 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2670 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2671 are deprecated since DirectFB 1.0.0. If compiling with an older
2672 version define the new type name to the old types. Fixes bug #503190.
2674 2007-12-14 Ray Strode <rstrode@redhat.com>
2676 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2677 instead of g_signal_connect_after (..., "realize", ...) as an
2678 alternative to gtk_widget_realize () (bug 503537).
2680 2007-12-14 Michael Natterer <mitch@imendio.com>
2682 * gdk/gdkinternals.h
2683 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2686 * gdk/gdkapplaunchcontext.c
2687 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2688 header already includes everything now.
2690 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2692 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2693 next stable release shall be 2.16, not 2.14 - even if disagree.
2695 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2697 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2699 Change GtkToolItem to retrieve its properties from GtkToolShell
2700 interface, instead of relying on being child of a GtkToolbar.
2703 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2704 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2705 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2706 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2707 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2708 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2709 Take section docs from template file and update them for GtkToolShell.
2710 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2711 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2713 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2715 Extract loading of GtkPageSetup and GtkPrintSettings from their
2716 *_new_*() functions and move that code into separate
2717 *_load_*() functions (#475565).
2719 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2720 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2721 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2722 Change the matching *_new_*() functions to use those functions.
2724 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2727 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2729 2007-12-14 Kristian Rietveld <kris@imendio.com>
2731 * gtk/tests/liststore.c:
2732 * gtk/tests/treestore.c: added tests for insertion functions.
2734 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2736 * Add RandR 1.2 support
2738 - New monitors_changed signal - New API to get width/height of
2739 monitors, and the name of the plug
2741 2007-12-13 Kristian Rietveld <kris@imendio.com>
2743 * gtk/tests/liststore.c:
2744 * gtk/tests/treestore.c: test the move and swap functions on a
2745 store with only one node.
2747 2007-12-13 Kristian Rietveld <kris@imendio.com>
2749 * gtk/gtktestutils.c (gtk_test_init): add a call to
2752 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2755 2007-12-13 Kristian Rietveld <kris@imendio.com>
2757 * gtk/tests/liststore.c:
2758 * gtk/tests/treestore.c: start composing tests for the list and tree
2761 * gtk/tests/treeview-scrolling.c: added automated tests for
2762 GtkTreeView's scrolling "subsystem".
2764 * gtk/tests/Makefile.am: updated; added new test programs.
2766 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2768 Make the code compile again after the GdkAppLaunchContext changes.
2770 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2771 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2773 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2775 * gdk/gdkapplaunchcontext.c: Add docs
2777 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2779 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2780 in gdk, providing startup notification. (#503203)
2782 * gdk/x11/gdkapplaunchcontext-x11.c:
2783 * gdk/win32/gdkapplaunchcontext-win32.c:
2784 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2785 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2786 parts. All but X11 are just empty stubs for now.
2789 * gdk/gdkinternals.h:
2791 * gdk/x11/Makefile.am:
2792 * gdk/win32/Makefile.am:
2793 * gdk/quartz/Makefile.am:
2794 * gdk/directfb/Makefile.am: Necessary glue.
2796 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2798 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2800 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2802 * gdk/directfb/gdktestutils-directfb.c:
2803 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2804 which adds testing functions to the DirectFB backend.
2806 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2808 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2809 Ciccani which fixes the mixing of gdk and cairo rendering.
2811 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2813 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2814 on "drag-motion" handlers. Clearify documentation for
2817 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2819 * buildertest.c: made unnecessarily exported symbols static.
2820 switched g_return_if_fail() statements in tests to assertions.
2821 special cased currently failing Widget/accesibility test to
2822 run only for g_test_thorough(), so it doesn't break make check.
2823 some coding style fixes.
2825 * Makefile.am: added buildertest to TEST_PROGS.
2827 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2829 * docs/tutorial/gtk-tut.sgml:
2830 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2832 2007-12-10 Richard Hult <richard@imendio.com>
2834 * gdk/quartz/Makefile.am:
2835 * gdk/quartz/gdkquartz.h:
2836 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2837 header (bug #405915). Also add a getter for the toplevel nswindow.
2839 2007-12-10 Richard Hult <richard@imendio.com>
2841 * gdk/quartz/gdkdrawable-quartz.c:
2842 (gdk_quartz_drawable_get_context),
2843 (gdk_quartz_drawable_release_context):
2844 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2845 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2846 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2847 used for each drawing context and in prepare, dispatch and poll
2848 with one that exists across each main loop iteration. Fixes leaks
2849 on leopard and protects against future leaks introduce when the
2850 underlying system changes again (bug #492977).
2852 2007-12-10 Richard Hult <richard@imendio.com>
2854 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2855 Fix the check for no changes to position and size.
2857 2007-12-10 Richard Hult <richard@imendio.com>
2859 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2860 sized areas at (0, 0), patch from Paul Davis.
2862 2007-12-10 Richard Hult <richard@imendio.com>
2864 * gdk/quartz/gdkprivate-quartz.h:
2865 * gdk/quartz/gdkeventloop-quartz.c:
2866 (_gdk_quartz_event_loop_get_pending),
2867 (_gdk_quartz_event_loop_check_pending),
2868 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2869 (gdk_event_check), (gdk_event_dispatch):
2870 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2871 (_gdk_events_queue): Fix a bug where we could end up trying to
2872 handle the same event more than once. Based on patch from Paul
2875 2007-12-10 Tor Lillqvist <tml@novell.com>
2877 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2880 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2882 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2883 to avoid further fallout from the fix for bug 388321.
2885 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2887 * gdk/directfb/gdkgc-directfb.c:
2888 * gdk/directfb/gdkdrawable-directfb.c:
2889 * gdk/directfb/gdkdirectfb.h:
2890 * gdk/directfb/gdkwindow-directfb.c:
2891 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2892 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2893 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2894 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2895 which are expected to improve the performance of the DirectFB backend.
2896 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2898 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2900 * gtk/gtkcontainer.c: Correct the documentation of child
2901 property getter arguments. (#501992, David Brigada)
2903 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2905 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2906 leak pixbufs. (#502250, Yevgen Muntyan)
2908 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2910 * gtk/gtkprintunixdialog.c:
2911 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2912 Print and Page Setup dialogs (#502202).
2914 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2916 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2917 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2918 of XVFB_START, since it's the GTESTER invokation that needs this.
2920 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2922 * gdk-pixbuf/gdk-pixbuf.symbols:
2924 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2925 positives in abicheck.sh
2927 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2929 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2930 GDK events generations in the DirectFB backend.
2932 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2934 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2935 set of likely unused display ids, because MacOS has no seq(1) command.
2937 2007-12-06 Richard Hult <richard@imendio.com>
2939 * gdk/quartz/gdkevents-quartz.c:
2940 (synthesize_crossing_events_for_ns_event): Fix warning when
2941 switching spaces in leopard.
2943 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2945 * tests/floatingtest.c: ported to new testing framework.
2947 * tests/Makefile.am: run floatingtest as testing framework test.
2949 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2951 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2952 timeouts and converting main loop sleeps to pending/iterate loops with
2953 very low priority async handlers. eliminate output for non-verbose
2954 tests. assert successfull subtests in all test functions. use testing
2955 framework in main().
2957 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2958 executed inside Xvfb upon make check.
2960 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2962 * tests/objecttests.c: use string comparisons for string property
2963 values and get rid of referencing symbols in array initialization.
2965 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2967 * gtk+/Makefile.decl: run tests in current dir after setting up the
2968 logging directory, so their results get properly merged into the
2971 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2972 tests to loop over registered Gdk/Gtk+ types.
2974 * gtk+/tests/objecttests.c: new test program, implements automated
2975 property tests. several properties are blacklisted because they
2976 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2977 can be used to test blacklisted properties and see which proprty failed.
2979 2007-12-04 Richard Hult <richard@imendio.com>
2981 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2982 Fully initialize the root window, fixes bug #501583.
2984 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2986 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2989 2007-12-03 Richard Hult <richard@imendio.com>
2991 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2992 Don't crash when dragging from a source that doesn't support uri
2993 lists (bug #499868, Paul Davis).
2995 2007-12-03 Richard Hult <richard@imendio.com>
2997 * gdk/quartz/gdkwindow-quartz.c:
2998 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2999 parent relative bg pixmap is set, and no parent has a bg
3000 pixmap. Fixes bug #500804.
3002 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3004 Two optimizations for icon cache lookups.
3006 * gtk/gtkiconcache.[hc]:
3007 * gtk/gtkicontheme.c: Remember the directory index for
3008 subdirectories, instead of running over the directory list
3011 * gtk/gtkiconcache.c (find_image_offset): Remember the last
3012 chain and try it first; this helps with the the usage patterns
3013 in gtkicontheme.c, where the same icon is queried for a lot
3016 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
3018 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
3019 functions from header files. this should be portable across linux and
3020 Mac OS, unlike the previpous sed expression.
3022 2007-12-1 Cody Russell <bratsche@gnome.org>
3024 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
3025 On Windows, queue a redraw of child2 whenever we set
3026 the pane handle position. This is unfortunately kind
3027 of hacky, but solves the visual artifacts that were
3028 occuring on at least certain types of child widgets
3029 (e.g., text views and tree views) that are inside
3030 horizontal or vertical panes. (#144269)
3032 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3034 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
3036 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3038 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
3041 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3043 * gtk/Makefile.am: Fix ordering of subdirs.
3045 2007-11-28 Tor Lillqvist <tml@novell.com>
3047 A proper build of GNU libintl is supposed to export the variable
3048 _nl_msg_cat_cntr. configure looks for that variable in order to
3049 recognize GNU gettext. If it sees that it is indeed GNU gettext
3050 that is used, it decides to install message catalogs in
3051 share/locale, otherwise in lib/locale. Until now on Windows I have
3052 built GTK+ against a build of GNU gettext that did not export
3053 _nl_msg_cat_cntr. But this will change, so we can't assume message
3054 catalogs are always in lib/locale.
3056 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
3057 GTK_LOCALEDIR being either in "lib" or "share". Move the function
3058 before the inclusion of gtkprivate.h so that it sees the original
3061 * gtk-zip.sh.in: Check whether the message catalogs are in
3062 share/locale or lib/locale.
3064 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
3065 that the code in _gtk_get_localedir() will find the slashes.
3067 2007-11-28 Tor Lillqvist <tml@novell.com>
3069 * gtk/Makefile.am: Improve portability. The -o option is present
3070 only in newish GNU egreps. Use one more sed in the pipeline
3073 2007-11-28 Tor Lillqvist <tml@novell.com>
3075 Fix #375893, patch by Ben Hague:
3077 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
3078 around GetLogicalDrives() that takes also the viewable drive
3079 restrictions in the Registry (which are usually the result of an
3080 Active Directory Group Policy) into account.
3082 (check_volumes, gtk_file_system_win32_list_volumes) Call
3083 get_viewable_logical_drives() instead of GetLogicalDrives().
3085 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3087 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
3088 variables to silence valgrind. (#495124, Morten Welinder)
3090 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3092 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
3093 that the construct_child function is responsible for returning a
3095 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
3096 objects from constructors
3097 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
3098 g_object_ref() to this construction function (it's the only
3103 2006-11-26 Ryan Lortie <desrt@desrt.ca>
3105 * gtkbuilder.c: remove concept of root objects and just refcount
3106 all objects in the builder. Fixes #496651.
3108 2007-11-26 Ryan Lortie <desrt@desrt.ca>
3110 * tests/buildertest.c (test_window): fix invalid free
3112 2007-11-26 Josselin Mouette <joss@malsain.org>
3114 reviewed by: Federico Mena Quintero
3116 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
3117 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
3118 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
3119 Make the shortcuts activate with a single click. (#148828)
3120 Fix a few things affected by the change:
3121 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
3122 where no shortcut is selected.
3123 - Don't activate a shortcut in the response callback.
3124 - Filter out duplicate entries in volumes and bookmarks to
3125 avoid the selection to change when reordering them with DnD.
3127 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3130 * gtk/gtknotebook.c:
3131 * gtk/gtkplugprivate.h:
3133 * gtk/gtksocketprivate.h:
3134 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
3136 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3138 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
3139 (#495574, Richard Hult)
3141 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3143 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
3144 String change ! (#376361, Sven Neumann)
3146 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3148 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
3150 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
3153 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3155 * gtk/gtkassistant.c: Improve alternative button
3156 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
3158 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3160 * gtk/gtkcalendar.c: Fix a theming problem with colors
3161 in GtkCalendar. (#499703, Michael Hofmann)
3163 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3165 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
3167 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3169 Use templates for glib-mkenums calls instead of
3170 complicated commandlines in Makefiles. (#429910)
3172 * gdk-pixbuf/Makefile.am:
3175 * perf/Makefile.am: Use templates for glib-mkenums
3177 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3178 * gdk/gdkenumtypes.[ch].template:
3179 * gtk/gtktypebuiltings.[ch].template:
3180 * perf/typebuiltins.[ch].template: The templates
3182 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3184 * gtk/gtkfilechooserbutton.c:
3185 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3186 some compilers choke on that. (#467722)
3188 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3190 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3191 about hook setup. (#425004, Emmanuele Bassi)
3193 2007-11-26 Tor Lillqvist <tml@novell.com>
3195 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3196 monitor the window currently is on, not always the primary
3197 monitor. (#463865, Tim Evans)
3199 2007-11-26 Tor Lillqvist <tml@novell.com>
3201 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3203 * gdk/win32/Makefile.am: Add it.
3205 2007-11-26 Tor Lillqvist <tml@novell.com>
3207 * configure.in: Don't add jasper to all_loaders if no libjasper.
3209 2007-11-25 Bastien Nocera <hadess@hadess.net>
3211 * configure.in: Add detection for libjasper, used by the
3212 gdk-pixbuf JPEG2000 loader
3214 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3216 * configure.in: Require gtk-doc 1.8
3218 * */*.c: Use gtk-doc abbreviations for examples in docs.
3220 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3222 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3225 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3227 * gtk/gtkdialog.c: Move signal and property documentation inline,
3228 fix a problem with the ::response signal docs. (#499133, Josselin
3231 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3233 * Makefile.decl: initialize automake variables EXTRA_DIST and
3234 TEST_PROGS for unconditional appending via += in other makefiles.
3235 define recursive test targets: test, test-report, perf-report,
3236 full-report, as described here:
3237 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3238 the test targets will execute Gtk+ test programs within an Xvfb session.
3240 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3242 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3243 g_test_run() to run the tests to integrate with the testing framework.
3245 * gtk/tests/Makefile.am: removed exemplary testing rules.
3247 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3248 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3249 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3250 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3251 * docs/reference/Makefile.am, docs/tools/Makefile.am:
3252 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3253 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3254 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3255 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3256 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3257 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3258 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3259 * modules/engines/ms-windows/Theme/Makefile.am:
3260 * modules/engines/ms-windows/Makefile.am:
3261 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
3262 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3263 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3264 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3265 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3266 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3267 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3269 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3271 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3272 (#485662, patch by Herbert Valerio Riedel)
3274 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3276 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
3278 2007-11-21 Richard Hult <richard@imendio.com>
3280 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3281 stubs for the testing functions to fix the build.
3283 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3285 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3286 (#467711, The Written Word)
3288 2007-11-21 Ross Burton <ross@openedhand.com>
3290 * gdk/x11/gdksettings.c:
3291 Add xsetting for gtk-scrolled-window-placement (#458103).
3293 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3295 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3296 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3297 (#469239, Michael Natterer)
3299 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3301 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3302 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3303 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3304 (#436536, Tommi Komulainen)
3306 2007-11-21 Matthias Clasen <mclasen@redhat.com>
3308 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3309 property. (#489782, Jan Janech)
3311 2007-11-20 Matthias Clasen <mclasen@redhat.com>
3313 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3314 frames. (#107398, Owen Taylor, Miguel Gomez)
3316 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3318 Moved Gdk test functions from Gtk+ to Gdk test utils.
3320 * gdk/Makefile.am: added gdktestutils.h to public includes.
3322 * gdk/gdk.h: added gdktestutils.h to public includes.
3324 * gdk/gdk.symbols: added gdk_test_simulate_button,
3325 gdk_test_simulate_key, gdk_test_render_sync.
3327 * gdk/gdktestutils.h: new file, added prototypes for
3328 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3330 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3332 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3333 gdk_test_simulate_key, gdk_test_render_sync.
3335 * gtk/gtktestutils.c:
3336 * gtk/gtktestutils.h:
3337 * gtk/gtk.symbols: removed gtk_test_simulate_button
3338 gtk_test_simulate_key, gtk_test_xserver_render_sync.
3340 * gtk/tests/testing.c: call gdk_test_render_sync.
3342 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3344 Added unit tests for Gtk+ testing utilities.
3346 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3347 utility functions. some g_test_* related portions are disabled and need
3348 to be enabled once Gtk+ depends on a new glib with the GLib testing
3349 framework integrated.
3351 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3352 tests. added exemplary test rules to run tests inside Xvfb. this
3353 needs to depend on gtester for full fledged testing.
3355 * gtk/Makefile.am: build gtk+/gtk/tests, define
3356 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3357 e.g. gtk_text_get_type().
3359 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3361 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3363 Added Gtk+ testing utilities.
3365 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3366 functions. for the most part, the functions herein involve
3367 navigating and interacting with dialog elements programatically,
3368 to automate user interaction tests of dialogs and widgets.
3370 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3372 * gtk/gtk.symbols: added gtk_test_* symbols.
3374 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3375 the build. generate gtktypefuncs.c which contains a list of all
3376 _get_type functions in Gtk+ and Gdk.
3378 2007-11-20 Bastien Nocera <hadess@hadess.net>
3380 * configure.in: add support for conditional icns gdk-pixbuf loader
3383 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3385 * configure.in: updated version number to 2.15.0 for development.
3387 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3389 === Branch for 2.12 ===