1 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
3 * gtk/gtkwidget.c: Clarified a g_warning message regarding
4 parsing accelerators from builder files.
6 2008-04-03 Cody Russell <bratsche@gnome.org>
8 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
9 of the block. (#526021, reported by Kazuki IWAMOTO)
11 2008-04-03 Tor Lillqvist <tml@novell.com>
13 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
16 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
17 workaround for a specific kind of screwed up locale setting.
19 2008-04-02 Matthias Clasen <mclasen@redhat.com>
21 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
22 colormaps. Found by Daniel Berrange.
24 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
26 * tests/autotestfilechooser.c: Cover
27 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
28 name. (#346058, Joe Halliwell)
30 2008-04-02 Federico Mena Quintero <federico@novell.com>
32 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
33 chooser incorrectly substitutes and expands a ~ when you type it
34 in the filename entry.
36 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
37 basenames result in a slash-terminated pathname.
38 gtk_file_system_unix_parse() is correct, but it was splitting
39 "/home/username" into path="/home" and file_part="username", which
40 is not what the caller wants when the entry has just "~" or
43 2008-04-02 Tor Lillqvist <tml@novell.com>
45 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
46 and gtksearchenginetracker.c on Windows.
48 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
51 2008-04-01 Cody Russell <bratsche@gnome.org>
53 * configure.in: Bump required Cairo to 1.5.2.
55 * gtk/gtkprintoperation-win32.c: Add support for using the new
56 cairo_win32_printing_surface for printing. Also fixed to use
57 cairo_surface_show_page(). (#488833 and #521178)
59 2008-03-31 Cody Russell <bratsche@gnome.org>
61 * demos/gtk-demo/printing.c (draw_page): Move down each line in
62 units of text_height rather than in units of data->font_size.
63 (totally awesome catch by Dom Lachowicz)
65 2008-03-28 Richard Hult <richard@imendio.com>
67 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
68 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
69 event to the mainloop and don't generate one at all if the
70 toplevel didn't change. Use the actual window and not the toplevel
71 as event window. These changes make the generated crossing events
72 match the X11 behavior and fixes issues with e.g. tooltips,
75 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
76 the view has no window, it will be updated as soon as it's put
79 * gdk/quartz/gdkwindow-quartz.c:
80 (_gdk_quartz_window_debug_highlight): Make it possible to track
81 multiple windows with debug highlighting.
82 (show_window_internal): Remove workaround for tooltips and popups
83 that is no longer needed with the above changes.
85 2008-03-26 Federico Mena Quintero <federico@novell.com>
87 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
88 helper function; factored out from the functions that commit the
89 current suggested autocompletion and that refresh the entry's paths.
90 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
91 (_gtk_file_chooser_entry_get_file_part): Likewise.
92 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
93 makes the entry have the correct paths when *not* using any form
94 of completion (and makes the file chooser work when clicking the
97 2008-03-25 Richard Hult <richard@imendio.com>
99 * gdk/quartz/gdkevents-quartz.c:
100 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
101 can't find a matching window.
103 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
104 comment, and only trigger an event for non-temp windows, fixes
105 problems for tooltips caused by the workarounds for the
106 problematic tracking rect API.
108 2008-03-25 Richard Hult <richard@imendio.com>
110 * gdk/quartz/gdkwindow-quartz.c:
111 (gdk_window_quartz_process_all_updates): Plug a leak and add a
112 check that we have a toplevel before accessing it.
114 2008-03-24 Tor Lillqvist <tml@novell.com>
116 Bug 524151 - Dragging of 0-byte files results in an empty filename
117 on Windows XP and above
119 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
120 being empty first. For some reason ISHellLink and IPersistFile
121 succeeds in interpreting empty files as shortcuts, claiming the
122 target of the shortcut is an empty path.
124 Change the function to take the wide character file name that the
125 caller already has anyway, to avoid a superfluous conversion from
128 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
130 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
131 against NULL pointer. (#467051, Gian Mario Tagliaretti)
133 2008-03-23 Cody Russell <bratsche@gnome.org>
135 * gdk/win32/gdkevents-win32.c (show_window_recurse):
136 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
137 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
138 menus from a maximized window would force the window to restore
141 2008-03-23 Johan Dahlin <johan@gnome.org>
143 * gtk/gtk-builder-convert:
144 Properly convert GtkImageMenuItems which use stock labels but don't
146 (#523932, Brian Pepple)
148 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
150 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
151 New function implements GtkCellLayoutClass::get_cells. (#523787)
153 2008-03-22 Tor Lillqvist <tml@novell.com>
155 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
157 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
158 GDK_THREADS_LEAVE() call. Approved by mclasen.
160 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
162 * gtk/gtkexpander.c (gtk_expander_get_label):
163 gtk_label_get_label() should be used instead of
164 gtk_label_get_text(). (#353088, Xan Lopez)
166 2008-03-21 Tor Lillqvist <tml@novell.com>
168 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
169 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
170 gdip-pixbuf-loader module.
172 * configure.in: Add switch --disable-gdiplus-loaders that disables
173 building of the GDI+ loaders.
175 When including loaders in the gdk-pixbuf library, and building
176 GDI+ loaders, either build in all the GDI+ loaders or none of
177 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
178 signal building them in.
180 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
181 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
182 indicate whether they should be built-in.
184 For the rest of the changes, see gdk-pixbuf/ChangeLog.
186 2008-03-20 Tor Lillqvist <tml@novell.com>
188 * gtk/Makefile.am: Revert accidental change that went in as part
189 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
190 Darwin. On Windows one has to use a newer GNU grep that has -o,
191 for instance the one from gnuwin32, instead of the oldish one in
192 MSYS that doesn't have -o.
194 2008-03-20 Tor Lillqvist <tml@novell.com>
196 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
197 pass NULL for %s to g_message().
198 (main): Drop unnecessary call to gtk_widget_destroy().
200 2008-03-20 Tor Lillqvist <tml@novell.com>
202 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
204 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
205 in one dimension, or centered in case it doesn't fit.
206 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
209 2008-03-18 Tor Lillqvist <tml@novell.com>
211 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
213 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
214 G_MODULE_ENTRY decoration can be put in a more correct place.
216 2008-03-18 Sven Neumann <sven@gimp.org>
218 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
219 alternative button order on the password dialog.
221 2008-03-18 Tor Lillqvist <tml@novell.com>
223 Bug 99192 - Add --with-include-input-modules
225 * configure.in: Add --with-included-immodules switch. Handled in a
226 similar way as the --with-included-loaders switch. For each input
227 method module foo: Collect the list of input modules to be built
228 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
229 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
230 Define Automake conditionals INCLUDE_IM_FOO.
232 * modules/input/Makefile.am: For modules to be included in libgtk,
233 build a static library.
235 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
236 gdk-pixbuf to get unique names for the functions called by libgtk
237 in the included case. Use G_MODULE_EXPORT in the non-included case
238 so that we don't unnecessarily export unneeded random global
241 * gtk/Makefile.am: Build the included modules and link them into libgtk.
243 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
244 copy/paste leftover mentions of "themes" in comments.
246 2008-03-18 Tor Lillqvist <tml@novell.com>
248 * tests/Makefile.am: Build testmountoperation only on Unix for now.
250 2008-03-17 Christian Kellner <gicmo@gnome.org>
252 Implement GtkMountOperation, a subclass of GMountOperation
253 to be used with gio wherever there is the need to ask the
254 user for credentials or questions while mounting a volume.
257 * gtk/gtkmountoperation.c:
258 * gtk/gtkmountoperation.h:
259 Implement GtkMountOperation.
261 * gtk/gtk.h: Add gtkmountoperation.h
262 * gtk/Makefile.am: Add gtkmountoperation.[hc]
263 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
264 * tests/testmountoperation.c: Test program for it.
265 * tests/Makefile.am: Add testmountoperation.
267 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
269 * gtk/gtkcontainer.c: Properly document
270 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
272 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
274 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
275 style names for the ComboBox thickness style
277 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
279 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
280 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
281 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
282 intelligent separation for the xp theming engine and the classic
283 theme while drawing the GtkComboBox button. combobox_draw_arrow
284 is not used anymore, commented. The style has been updated to fix
285 border/thickness glitches in the combobox according to the fixes
286 commited regarding bug #521442. (bug #461805)
288 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
290 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
291 now aware of both the combobox and frame (if has-frame is set)
292 thickness and border. (bug #521442)
294 2008-03-15 Andre Klapper <a9016009@gmx.de>
296 * configure.in: Added "si" to ALL_LINGUAS.
298 2008-03-15 Matthias Clasen <mclasen@redhat.com>
300 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
301 Set window type hint on the search popup. (#522279, Danny Baumann)
303 2008-03-15 Matthias Clasen <mclasen@redhat.com>
305 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
306 appropriate. (#521934, Huang Peng)
308 2008-03-14 Michael Natterer <mitch@imendio.com>
311 * gtk/gtkbuilderprivate.h
312 * gtk/gtkfilechoosersettings.c
313 * gtk/gtksearchenginesimple.c
314 * gtk/tests/liststore.c
315 * gtk/tests/treestore.c: remove single-file includes of GLib
316 headers or replace them by <glib.h> where needed.
318 2008-03-14 Michael Natterer <mitch@imendio.com>
320 * gtk/gtkadjustment.c: coding style cleanup.
322 (gtk_adjustment_set_property): no need to call g_object_notify()
323 on the set properties.
325 Implement GObject::dispatch_properties_changed() and make sure we
326 emit "changed" when anything but the "value" property changes.
328 2008-03-14 Tor Lillqvist <tml@novell.com>
330 * gdk/win32/gdkevents-win32.c: Drop the support for the
331 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
332 Win95. Thanks to mitch for noticing this obsolete code.
334 2008-03-14 Cody Russell <bratsche@gnome.org>
336 * examples/scribble-xinput/scribble-xinput.c: Changed
337 'void int main()' to 'int main()'. (#522211, Liqing Huang)
339 2008-03-14 Richard Hult <richard@imendio.com>
341 * gdk/quartz/gdkwindow-quartz.c:
342 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
343 only flush the toplevel once per update.
345 2008-03-13 Federico Mena Quintero <federico@novell.com>
347 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
348 Set the mouse cursor of the feedback window to invisible, so that
349 we respect GtkEntry's invisible cursor while typing.
351 2008-03-13 Federico Mena Quintero <federico@novell.com>
353 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
354 the feedback window at entry_height/2 pixels to the right of the
355 cursor, for a cheap "M-width / 2" spacing.
357 2008-03-13 Sven Neumann <sven@gimp.org>
359 * gtk/gtkfilechooserdefault.c
360 * gtk/gtkprintunixdialog.c: set alternative button order for
361 overwrite confirmation dialogs (bug #522191).
363 2008-03-13 Sven Neumann <sven@gimp.org>
365 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
366 (overwrite_confirmation_dialog): added some line-breaks for
369 2008-03-12 Federico Mena Quintero <federico@novell.com>
371 Rework the way completion works in GtkFileChooserEntry. Fixes
372 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
373 Tab completion should work even if the cursor is not at the end of
376 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
379 We distinguish between two cases:
381 - autocompletion - happens only in the Open modes by
382 inserting and selecting the common prefix as you type.
384 - explicit completion - happens when you hit Tab.
386 When some type of completion needs to happen, the entry first
387 parses its input and sees if it needs to initiate a folder load.
388 Completion will not happen until the folder finishes loading.
390 If the folder is already completely loaded, then completion is
391 performed immediately. Otherwise, the entry queues a pending
392 completion and starts loading the new folder (or waits until the
393 current folder is completely loaded).
395 Tab completion is allowed to happen even if the cursor is not at
396 the end of the entry.
398 There is a new feedback mechanism for explicit completion, so that
399 you will get an Emacs-like tip whenever there are ambiguities in
400 completion, no matches, etc. (This needs to be polished so that
401 we support RTL entries and all the fancy Pango layout in GtkEntry).
403 The only remaining thing to fix is the popup suggestion window.
404 Unfortunately, GtkEntryCompletion does not let us do what we want,
405 and will need further changes.
407 2008-03-12 Tor Lillqvist <tml@novell.com>
409 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
411 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
412 for the TaskbarCreated message in the window procedure for the
413 dummy "tray observer" window we create. When we get a
414 TaskbarCreated message, iterate over the status icons and re-add
415 them to the task bar, and update them by calling
416 gtk_status_icon_update_image().
418 Move some ifdefs around to avoid unused functions.
420 2008-03-12 Tor Lillqvist <tml@novell.com>
422 * config.h.win32.in: Update to match what configure produces.
424 2008-03-12 Jens Granseuer <jensgr@gmx.net>
426 * modules/printbackends/cups/gtkprintbackendcups.c:
427 (cups_printer_prepare_for_print): Don't define variables in the
428 middle of a block. (#522067)
430 2008-03-12 Matthias Clasen <mclasen@redhat.com>
432 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
433 dialog for print-to-file. (#474302, Marek Kašík)
435 2008-03-12 Matthias Clasen <mclasen@redhat.com>
437 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
438 (#469210, Wouter Bolsterlee)
440 2008-03-12 Matthias Clasen <mclasen@redhat.com>
442 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
443 paper_size here. (#488820, Morten Welinder)
445 2008-03-12 Michael Natterer <mitch@imendio.com>
447 * acconfig.h: remove this deprecated file.
449 * configure.in: added comments to all instances of AC_DEFINE() so
450 config.h can be completely generated from configure.in.
452 2008-03-12 Michael Natterer <mitch@imendio.com>
454 * modules/printbackends/cups/gtkprintbackendcups.c: include
455 <glib/gstdio.h> for g_fopen().
457 2008-03-11 Matthias Clasen <mclasen@redhat.com>
459 * modules/printbackends/cups/gtkprintbackendcups.c: Use
460 g_ascii_formatd when formatting custom paper sizes, since
461 cups doesn't handle , as decimal separator. (#521548)
463 2008-03-11 Tor Lillqvist <tml@novell.com>
465 Bug 469868 - Filenames with colon ":" are not saved correctly
467 * gtk/gtkfilechooserentry.c (insert_text_callback)
468 (delete_text_callback) [Win32]: New functions to make sure that
469 colons used otherwise than as a separator after a drive letter, or
470 characters that are always illegal in file names, are rejected on
471 input. This means that the GTK+ file chooser can't be used to
472 input full names of alternate data streams, but oh well. There are
473 still more checks that could be done on the file names, see the
474 bug report. But this will do for now.
475 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
477 2008-03-11 Jordi Mallach <jordi@sindominio.net>
479 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
481 2008-03-11 Michael Natterer <mitch@imendio.com>
483 * gdk/linux-fb/*: removed linux-fb backend files.
487 * docs/README.linux-fb
488 * gtk/Makefile.am: remove remaining traces of linux-fb.
490 * gtk/gtkwindow-decorate.c: same here. There is some code that
491 calls into linux-fb to set window move/resize callbacks. I put it
492 in #if 0 as a reminder because we did use decorated windows with
493 the DirectFB backend and it did work, so I don't really know why
494 this code is needed or how it could work with DirectFB back then.
495 The file does actually compile now if DECORATE_WINDOWS is defined,
496 but I didn't test with DirectFB to check if it does anything.
498 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
500 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
501 Take thickness into account in the size allocation of the child widgets in
505 2008-03-11 Richard Hult <richard@imendio.com>
507 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
509 2008-03-10 Tor Lillqvist <tml@novell.com>
511 * tests/teststatusicon.c (do_exit, popup_menu): Add the
512 possibility to test what happens if the process just calls exit()
513 without any orderly cleanup of GTK+.
515 2008-03-10 Tor Lillqvist <tml@novell.com>
517 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
519 2008-03-10 Tor Lillqvist <tml@novell.com>
521 Bug 520286 - Non-deletable window has no minimize / maximize buttons
523 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
524 New debugging output function that decodes a set of WS_* bits.
526 * gdk/win32/gdkprivate-win32.h: Declare it.
528 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
529 New function that enables or disables one menu entry in the system
530 menu of a top-level window. (The corresponding decoration will
531 then also be enabled or disabled (grayed).)
533 (update_style_bits): Do as the comment says and don't try to
534 update the window style based on the GdkWMFunctions set for the
537 (update_system_menu): New function that enables or disables the
538 system menu entries based on a window's stored set of
541 (gdk_window_set_functions): Call update_system_menu() instead of
544 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
546 * README.in: Reword the 2.14 release notes entry about the
547 deprecation of the gtkitemfactory.h header, and fix typos
550 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
552 * modules/engines/ms-windows/msw_style.c (draw_shadow):
553 Do not draw frame if parent if combobox.
555 Uses scrollbar width system metrics for combobox button.
556 Fixes #461805 for XP theme engine.
558 2008-03-07 Johan Dahlin <johan@gnome.org>
561 * gtk/gtkbuilderparser.c:
562 * gtk/gtkbuilderprivate.h:
563 * gtk/gtkiconfactory.c:
564 * tests/buildertest.c:
565 - Treat enums like enums and not values
566 - Avoid invalid free, in case of more than two sources
567 - Add better error messages
568 - Add much improved tests
569 (#520979, Christian Persch)
571 2008-03-07 Carlos Garnacho <carlos@imendio.com>
573 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
576 2008-03-06 Federico Mena Quintero <federico@novell.com>
578 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
579 GtkFileChooserDialog should set a default response button if the
580 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
582 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
583 function, refactor from where there was duplicated code.
584 (gtk_file_chooser_dialog_map): Look at the buttons in our
585 action_area. If the response ID for a button is one of the stock
586 ones, make it the default response button.
588 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
590 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
592 * gtk/gtkbuilderprivate.h:
593 * gtk/gtkiconfactory.c:
594 * tests/buildertest.c:
595 Implement GtkBuildable on GtkIconFactory, to make
596 it possible to register custom stock icons.
599 2008-03-06 Johan Dahlin <johan@gnome.org>
603 * gtk/gtkstyle.c: npoints->n_points.
604 * gtk/gtktestutils.h: widget->spinner
605 * gtk/gtktestutils.c: argc->argcp, argv->argvp
607 2008-03-06 William Lachance <wrlach@gmail.com>
609 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
610 string localizable (as it should be).
612 2008-03-06 William Lachance <wrlach@gmail.com>
614 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
615 the time for today's date. It's redudant. (see bug #410517).
617 2008-03-06 Xan Lopez <xan@gnome.org>
619 * gtk/gtkfixed.c: fix typo in documentation.
621 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
623 * gtk/gtkitemfactory.h:
624 * gtk/gtktypeutils.h:
625 Move GtkTranslateFunc to gtktypeutils.h so we can completely
626 deprecate gtkitemfactory.h.
628 * gtk/gtkactiongroup.h:
630 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
633 Add a note describing this slight incompatible change
635 2008-03-06 Johan Dahlin <johan@gnome.org>
637 * gtk/gtkpreview.h: Avoid double-deprecation.
639 2008-03-06 Michael Natterer <mitch@imendio.com>
642 * gtk/Makefile.am: move the remaining deprecated widgets to the
643 separate sections and replaced spaces by tabs in Makefile.am
645 2008-03-05 Johan Dahlin <johan@gnome.org>
647 * configure.in: Add --disable-cups option.
648 (#513826, Alberto Ruiz)
652 Separate broken and deprecated sources and headers into different sections
654 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
656 2008-03-05 Kristian Rietveld <kris@imendio.com>
658 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
659 short-circuit in case an empty root level would be build (and thus
660 directly destroyed) if no virtual root has been set.
662 2008-03-04 Matthias Clasen <mclasen@redhat.com>
664 * modules/printbackends/cups/gtkprintbackendcups.c:
665 Honor cups user default options from ~/.cups/lpoptions
666 (#469210, Stijn Hoop)
668 2008-03-04 Michael Natterer <mitch@imendio.com>
671 * gtk/gtkcolorbutton.c
672 * gtk/gtkentrycompletion.c
673 * gtk/gtkfontbutton.c
677 * gtk/gtkpreview.c: don't include "gtksignal.h".
679 * gtk/gtkfilefilter.c
680 * gtk/gtkrecentchoosermenu.c
681 * gtk/gtkrecentfilter.c
682 * gtk/gtktext.c: don't include "gtkobject.h".
684 2008-03-04 Simos Xenitellis <simos@gnome.org>
686 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
687 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
689 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
692 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
693 file, contains compose sequences that used to exist in
694 gtk/gtkimcontextsimple.c
696 * gtk/compose-parse.py: Script to generate compose
697 sequences from upstream (Xorg).
699 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
700 check_algorithmically): New functions. First two search in
701 gtk_compose_seqs_compact[] for matching compose sequence, third
702 tries NFC normalisation on incoming compose sequence.
703 (gtk_im_context_simple_filter_keypress):
704 Adds searching with check_compact_table(), check_algorithmically().
706 2008-03-03 Carlos Garnacho <carlos@imendio.com>
708 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
709 scrollwheel work in GtkPathBar.
711 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
713 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
714 an input-only window, event_window, which we'll use to capture
716 (gtk_path_bar_map): Show the event_window under the rest of the
717 windows, so it will be a catch-all for unhandled events.
719 2008-03-03 Sven Neumann <sven@gimp.org>
721 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
722 typo in the documentation of the GtkFileChooserButtons::file-set
723 signal (see bug #353196).
725 2008-03-03 Tor Lillqvist <tml@novell.com>
727 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
730 2008-03-02 Johan Dahlin <johan@gnome.org>
732 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
733 Remove left-over focus_pad variable.
734 (#490892, Claudio Saavedra)
736 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
737 (#518166, Matt Kraai)
739 2008-03-02 Johan Dahlin <johan@gnome.org>
741 * docs/tutorial/gtk-tut.sgml: Add a missing space
742 (#517954, Matt Kraai)
744 2008-03-03 Tor Lillqvist <tml@novell.com>
746 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
747 the widget is a GtkButton before casting.
749 2008-03-02 Johan Dahlin <johan@gnome.org>
751 * configure.in: Compare using = instead of ==, which is portable.
752 (#490787, Thomas Klausner)
754 2008-03-02 Johan Dahlin <johan@gnome.org>
756 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
758 (#496032, Nelson Benitez)
760 2008-02-29 Johan Dahlin <johan@gnome.org>
762 * demos/gtk-demo/demo.ui:
763 * gtk/gtkbuilderparser.c:
764 * gtk/gtkbuilderprivate.h:
765 * gtk/gtkliststore.c:
766 * tests/buildertest.c:
767 Add translatable/context and comment attributes on
768 <col> tags under a GtkListStore. Refactor parts of the
769 translation api and make it available inside gtk+ itself.
770 Update tests and example.
771 Fixes a part of #518642
773 2008-02-29 Johan Dahlin <johan@gnome.org>
776 Add missing g_return_val_if_fail checks for public API.
778 * gtk/gtkbuilderparser.c:
779 * gtk/gtkbuilderprivate.h:
780 Do not use g_error for a few more errors, instead set
781 the GError sent in through add_from_file/add_from_string.
782 * tests/buildertest.c:
783 Add a couple of new parsing tests.
784 (#519199, Pavel Syomin)
786 2008-02-29 Federico Mena Quintero <federico@novell.com>
788 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
789 refreshing an existing folder (i.e. when we are about to reload
790 its file list), turn off the folder's is_finished_loading flag.
791 Otherwise callers which do ::is_finished_loading() followed by
792 ::list_children() will get nothing.
794 2008-02-29 Cody Russell <bratsche@gnome.org>
796 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
797 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
799 2008-02-28 Matthias Clasen <mclasen@redhat.com>
801 * gtk/gtkcalendar.h: Remove trailing comma from enum to
802 make the compiler happy. (#517295, Sylvain Pasche)
804 2008-02-27 Michael Natterer <mitch@imendio.com>
814 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
815 private functions and virtual function implementations.
817 2008-02-27 Richard Hult <richard@imendio.com>
819 * gdk/quartz/GdkQuartzView.c:
820 * gdk/quartz/GdkQuartzView.h:
821 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
822 Fix performance regression for borderless transparent windows
825 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
827 * tests/testgtk.c: Revert back to r19454.
829 2008-02-27 Sven Neumann <sven@gimp.org>
831 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
832 Quartz backend, use a native Mac OS X application for the print
833 preview (bug #518624).
835 2008-02-26 Michael Natterer <mitch@imendio.com>
837 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
838 the members of info->tag_stack since they are a) gobjects and b)
839 not even owned by us, ugh... Fixes crash when deserializing fails.
841 2008-02-26 Sven Neumann <sven@gimp.org>
843 * docs/tools/shooter.c (find_toplevel_window)
844 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
845 argument passed to XQueryTree().
847 2008-02-25 Matthias Clasen <mclasen@redhat.com>
849 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
850 don't use beagle_query_add_hit_type.
852 2008-02-25 Richard Hult <richard@imendio.com>
854 * gdk/quartz/gdkevents-quartz.c
855 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
857 2008-02-24 Richard Hult <richard@imendio.com>
859 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
860 shown without gdk's control when clicking the dock icon.
862 2008-02-24 Richard Hult <richard@imendio.com>
864 * gdk/quartz/gdkprivate-quartz.h:
865 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
866 Use the subtype field for the custom event that is used to wake up
867 the mainloop so we can have other custom event types.
869 * gdk/quartz/gdkevents-quartz.c:
870 (_gdk_quartz_events_trigger_crossing_events):
871 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
872 crossing events after showing a window if necessary, to work
873 around problems with the tracking rect API.
875 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
877 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
878 wrong results on win32 because it doesn't set the printing units,
879 which affect the transformation of the cairo context
880 (#347125, Erik van Pienbroek)
882 2008-02-22 Tor Lillqvist <tml@novell.com>
884 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
886 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
888 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
889 acceptable for a module to only support the save_to_callback()
890 method if it marks itself as WRITABLE
892 2008-02-16 Matthias Clasen <mclasen@redhat.com>
894 * configure.in: Bump version
896 2008-02-16 Matthias Clasen <mclasen@redhat.com>
898 * === Released 2.13.0 ===
900 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
902 2008-02-21 Tor Lillqvist <tml@novell.com>
904 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
905 pass the format string to strftime in the C library's locale's
906 charset, not the system's. Correspondingly, the return value from
907 strftime() is in the C library's locale's charset. (#509885)
909 2008-02-20 Richard Hult <richard@imendio.com>
911 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
912 the right window level and shadow after recreating the window.
914 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
915 necessary after drawing (bug #517338).
917 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
919 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
920 call to g_type_class_unref in case of error. (#517563)
922 2008-02-18 Sven Neumann <sven@gimp.org>
924 * gtk/Makefile.am (STOCK_ICONS)
925 * gtk/stock-icons/16/gtk-page-setup.png
926 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
927 taken from GNOME icon theme.
929 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
931 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
933 * configure.in: Added Kannada (kn) to ALL_LINGUAS
935 2008-02-17 Johan Dahlin <johan@gnome.org>
937 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
938 When converting a stock item based on the label, remove the label property.
940 2008-02-17 Richard Hult <richard@imendio.com>
942 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
943 position after showing the window since the window manager might
944 not place it where we requested in the first places.
946 2008-02-17 Richard Hult <richard@imendio.com>
948 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
949 (_gdk_quartz_window_detach_from_parent),
950 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
951 the toplevel ordering list in all places where the order is
952 potentially changed. Fixes mouse focus issues for windows with
953 a transient parent set.
955 2008-02-17 Richard Hult <richard@imendio.com>
957 * gdk/quartz/gdkevents-quartz.c
958 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
959 window when event debugging is enabled.
961 2008-02-16 Richard Hult <richard@imendio.com>
963 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
964 to the scroll event (bug #516757, Paul Davis).
966 2008-02-16 Matthias Clasen <mclasen@redhat.com>
970 2008-02-16 Matthias Clasen <mclasen@redhat.com>
972 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
975 2008-02-15 Matthias Clasen <mclasen@redhat.com>
977 * gdk/Makefile.am: Don't install private headers. (#463510)
979 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
980 the installed header gdkprivate.h.
982 2008-02-15 Matthias Clasen <mclasen@redhat.com>
984 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
985 a crash with hidden, reorderable tabs. (#513230,
986 Mike Massonnet, patch by Carlos Garnacho)
988 2008-02-15 Matthias Clasen <mclasen@redhat.com>
990 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
991 Warn on duplicate action group names. (#501746, Christian
994 2008-02-15 Matthias Clasen <mclasen@redhat.com>
997 * modules/other/gail/tests/Makefile.am:
998 * modules/other/gail/libgail-util/Makefile.am:
999 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
1000 builds. (#516254, Yevgen Muntyan)
1002 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1007 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
1008 instead of hardcoded target tables. (#516092, Christian Persch)
1010 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1012 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
1013 add the same target atom twice. (#516087, Christian Persch)
1015 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1017 * tests/testfilechooser.c: Add a --backend option.
1018 (#516073, Christian Persch)
1020 2008-02-16 Richard Hult <richard@imendio.com>
1022 * gdk/quartz/gdkprivate-quartz.h:
1023 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
1026 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1028 * configure.in: Go back to 2.13.0 as version for now,
1029 as there was no consensus to do the jump.
1031 * many other places: Update Since: tags.
1033 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1035 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
1037 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
1039 2008-02-15 Richard Hult <richard@imendio.com>
1041 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
1042 instead of bounds when resizing windows.
1044 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1046 * gdk/x11/gdkkeys-x11.c:
1047 * gdk/x11/gdkcolor-x11.c:
1048 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
1050 2008-02-15 Matthias Clasen <mclasen@redhat.com>
1052 * gdk/x11/gdktestutils-x11.c:
1053 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
1055 2008-02-15 Tor Lillqvist <tml@novell.com>
1057 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
1058 leak Registry key handles. (#516578)
1060 2008-02-14 Richard Hult <richard@imendio.com>
1062 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
1063 makeKeyWindow unfortunately doesn't work in all cases, we must use
1064 makeKeyAndOrderFront.
1066 2008-02-14 Richard Hult <richard@imendio.com>
1068 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
1069 (gdk_window_hide), (gdk_window_fullscreen),
1070 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
1071 the window is hidden.
1073 2008-02-14 Richard Hult <richard@imendio.com>
1075 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
1076 resizing to be consistent and to avoid introducing an internal
1077 transform in the view.
1079 2008-02-14 Richard Hult <richard@imendio.com>
1081 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
1084 2008-02-14 Johan Dahlin <johan@gnome.org>
1086 * gdk/gdktestutils.h
1087 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
1089 2008-02-13 Richard Hult <richard@imendio.com>
1091 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1092 Remove unused variables.
1093 (gtk_clipboard_set_contents),
1094 (gtk_clipboard_get_owner), (clipboard_unset),
1095 (gtk_clipboard_request_targets): Notify the previous clipboard
1096 owner when the owner changes. Fixes bug #493406.
1098 2008-02-13 Richard Hult <richard@imendio.com>
1100 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
1101 the return value (return number of colors that failed), and handle
1103 (gdk_colormap_free_colors): Fix typo in comment.
1105 2008-02-13 Kristian Rietveld <kris@imendio.com>
1107 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
1108 queue a redraw if the rubber banding has actually been active.
1110 2008-02-12 Matthias Clasen <mclasne@redhat.com>
1112 * gtk/gtkpapersize.c:
1113 * gtk/gtkprintoperation.c:
1114 * gtk/gtkvolumebutton.c:
1115 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
1116 out by Behdad Esfahbod.
1118 2008-02-12 Federico Mena Quintero <federico@novell.com>
1120 Merged from gtk-2-12:
1122 Don't focus the file list when shortcuts get activated. This
1123 removes a lot of ambiguity in when the file selection should
1124 change, and makes the overall code flow simpler.
1126 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
1127 file/save dialog clears the filename entry when changing
1130 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
1131 focus should not go to the file list when a shortcut is activated.
1133 * gtk/gtkfilechooserdefault.c
1134 (shortcuts_activate_volume_mount_cb): Don't focus the file list
1135 (shortcuts_activate_get_info_cb): Likewise.
1137 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
1138 the file list (this was the last place where we would focus the
1139 file list explicitly). If you are in the location entry, for
1140 example, you don't want Alt-Home to take you to the file list; you
1141 just want the current folder to change. Thanks to Olle Bergkvist
1142 <olle.bergkvist@yahoo.se> for pointing this out in
1143 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
1144 (focus_browse_tree_view_if_possible): Removed.
1146 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1148 Skip exensions when selecting filenames in the save-as dialog.
1149 (#362516, Carlos Garnacho)
1151 * gtk/gtkfilechooserentry.h:
1152 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
1153 New function to skip the extension part when selecting a filename.
1154 (_gtk_file_chooser_entry_set_base_folder): Use it here.
1156 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
1159 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1161 * gtk/gtkiconview.c: Fix state change reporting for
1162 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
1164 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
1166 * gtk/gtkrecentchooser.c:
1167 (gtk_recent_chooser_class_init): Set the default value of the
1168 :show-not-found property to TRUE, as every implementation sets
1171 * gtk/gtkrecentchooserdefault.c:
1172 (_gtk_recent_chooser_default_init): Sync show_tips to the
1173 default value of the :show-tips property.
1175 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1177 * gtk/gtkclipboard-quartz.c:
1179 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
1182 2008-02-12 Kristian Rietveld <kris@imendio.com>
1184 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
1185 (gtk_tree_view_real_toggle_cursor_row): guard against people
1186 deleting the row in question in the selection-changed callback.
1187 (#514621, Andreas Koehler).
1189 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1191 * gtk/*.c: Unify the handling of various "Enter" keysyms
1192 all over the place. (#515047, Christian Persch)
1194 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1196 * gtk/gtkfilesystemmodel.c:
1198 * gtk/gtkwidget.c: Use g_value_set_static_string() where
1199 appropriate. (#515042, Christian Persch)
1201 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1203 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
1205 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1207 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
1209 2008-02-12 Matthias Clasen <mclasen@redhat.com>
1211 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
1212 (recent_model_sort_drag_data_get):
1213 (search_model_sort_drag_data_get):
1214 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
1215 * gtk/gtkpathbar.c (button_drag_data_get_cb):
1216 Use gtk_selection_data_set_uris() instead of doing it
1217 by hand. (#514890, Christian Persch)
1219 2008-02-12 Michael Natterer <mitch@imendio.com>
1221 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
1222 gtk_get_current_event_time().
1224 2008-02-12 Michael Natterer <mitch@imendio.com>
1226 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
1227 gtk_window_get_key_hash() to get the hash instead of manually
1228 fiddling with quarks and gtk_window_keys_changed(). Also add
1229 g_return_if_fail() to this public function.
1231 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1233 Support keynav in status icons. (#473786, Li Yuan)
1235 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
1237 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
1239 2008-02-11 Kristian Rietveld <kris@imendio.com>
1241 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
1242 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
1243 wrt. link deletion from list; contination of fix for #503569.
1245 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
1247 * gtk/gtkrecentchoosermenu.c:
1248 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1249 on the placeholder menu item.
1251 * tests/testrecentchoosermenu.c:
1252 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1253 whether the placeholder menu item gets shown.
1255 2008-02-10 Cody Russell <bratsche@gnome.org>
1257 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1258 Check the return value of _gtk_file_chooser_get_file_system () for
1259 NULL before passing it to gtk_file_system_path_to_uri ().
1260 (#515667, Francesco Montorsi)
1262 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
1264 * gtk/gtkbuilder.c: Improve the documentation for
1265 gtk_builder_connect_signals. (#514471)
1267 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1269 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
1272 2008-02-08 Cody Russell <bratsche@gnome.org>
1274 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1275 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
1277 2008-02-08 Richard Hult <richard@imendio.com>
1279 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1280 delta from the NSEvent for now, generating multiple scroll events
1281 results in a lot of events getting queued up and things get really
1284 2008-02-08 Sven Herzberg <sven@imendio.com>
1286 Adjust the code to match the documentation, examples, "common sense"
1287 and existing applications.
1289 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1290 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1293 2008-02-07 Cody Russell <bratsche@gnome.org>
1295 * gdk/win32/gdkevents-win32.c
1296 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1297 of a block that were causing compile problems on old
1298 compilers. (#515053, reported by Kazuki IWAMOTO)
1300 2008-02-07 Michael Natterer <mitch@imendio.com>
1307 * gtk/gtkmenushell.c
1309 * gtk/gtkoptionmenu.c
1313 * gtk/gtkradiomenuitem.c
1315 * gtk/gtkscrolledwindow.c
1316 * gtk/gtksocket.c: remove g_return_if_fail() from private
1317 functions and virtual function implementations.
1319 2008-02-07 Michael Natterer <mitch@imendio.com>
1322 * gtk/gtkassistant.c
1326 * gtk/gtkcellrenderercombo.c
1329 * gtk/gtkdrawingarea.c
1330 * gtk/gtkentrycompletion.c
1336 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1337 functions and virtual function implementations.
1339 2008-02-07 Christian Persch <chpe@gnome.org>
1341 * gdk/gdkpixbuf-render.c:
1342 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1343 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1344 otherwise there will be random pixel values in the semi-transparent
1345 area of the pixbuf within the mask. Bug #487865.
1347 2008-02-06 Cody Russell <bratsche@gnome.org>
1349 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1350 otherwise things get wonky when you click on a menu. This fixes
1351 a regression caused in #505928. Thanks to Tor for spotting this
1354 2008-02-06 Michael Natterer <mitch@imendio.com>
1356 * gtk/gtkcontainer.c
1363 * gtk/gtkmenushell.c
1365 * gtk/gtkseparatortoolitem.c
1367 * gtk/gtktextlayout.c
1368 * gtk/gtktoggletoolbutton.c
1369 * gtk/gtktoolbutton.c
1372 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1375 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1377 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1378 Allow to store half-open ranges.
1380 2008-02-05 Cody Russell <bratsche@gnome.org>
1382 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1383 down the stack until we get to a window that is mapped.
1384 Otherwise hiding a window will cause all windows in the app
1385 to be blocked. (#514643)
1387 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1389 * gtk/updateiconcache.c: Ignore images in the toplevel theme
1390 directory, avoiding one source of invalid caches that has been
1391 spotted in the wild.
1393 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1395 * gtk/updateiconcache.c: Fix the previous commit to compile.
1397 2008-02-05 Matthias Clasen <mclasen@redhat.com>
1399 * gtk/updateiconcache.c: Install a printerr handler that
1400 prepends the program name, since gtk-update-icon-cache output
1401 often appears in the middle of other output, e.g. rpm update logs.
1403 2008-02-05 Cody Russell <bratsche@gnome.org>
1405 * gdk/win32/gdkprivate-win32.h
1406 * gdk/win32/gdkevents-win32.c
1407 * gdk/win32/gdkwindow-win32.c
1408 * gdk/win32/gdkwindow-win32.h
1409 * gdk/win32/gdkwin32.h:
1410 Modal window rework. (#455627 and #511111)
1412 2008-02-04 Michael Natterer <mitch@imendio.com>
1414 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1415 g_return_if_fail() if the cell is not part of the combo instead of
1416 crashing in the next line.
1418 2008-02-01 Cody Russell <cody@jhu.edu>
1420 * modules/engines/ms-windows/xp_theme.[ch]
1421 * modules/engines/ms-windows/xp_theme_defs.h
1422 * modules/engines/ms-windows/msw_rc_style.c
1423 * modules/engines/ms-windows/msw_theme_main.c
1424 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1425 attempted to stylize more like the rest of the gtk+ stack's code.
1427 2008-02-01 Michael Natterer <mitch@imendio.com>
1429 * tests/testgtk.c: initialize GdkColor structs to fix warning
1430 about uninitialized "pixel" member.
1432 * tests/testactions.c: connect the toolbar_style() callback so it
1433 does something useful and doesn't warn about being defined but not
1436 2008-01-31 Cody Russell <bratsche@gnome.org>
1438 * gdk/win32/gdkevents-win32.c:
1439 Refactored some of the window hiding/showing code from
1440 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
1441 under WM_ACTIVATE was causing the application to go into
1442 a weird state when the user right-clicked on the taskbar
1443 entry of a window that was minimized. (#505928)
1445 2008-01-31 Cody Russell <bratsche@gnome.org>
1447 * gtk/gtkpaned.c (gtk_paned_set_position):
1448 Change queue_resize() to queue_draw(), and add a check for
1449 child2 != NULL in case someone calls this before there is
1450 a child packed in there. (#144269 again)
1452 2008-01-31 Sven Neumann <sven@gimp.org>
1454 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1455 applied patch from Denis Oliver Kropp <dok@directfb.org>.
1457 2008-01-31 Sven Neumann <sven@gimp.org>
1459 * gdk/directfb/gdkdisplay-directfb.c
1460 * gdk/directfb/gdkdrawable-directfb.c
1461 * gdk/directfb/gdkprivate-directfb.h
1462 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1463 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1465 2008-01-31 Richard Hult <richard@imendio.com>
1467 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1468 issues with undecorated windows. Revert the change done on
1469 2008-01-25 and fix it by using the view's bounds instead. The
1470 bounds will always be up to date when setting up the tracking
1471 rect, so this should be more robust.
1473 2008-01-30 Sven Neumann <sven@gimp.org>
1475 * gdk/directfb/gdkdrawable-directfb.c
1476 * gdk/directfb/gdkwindow-directfb.c
1477 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1478 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1479 DirectFB's debugging system
1481 2008-01-30 Sven Neumann <sven@gimp.org>
1483 * gdk/directfb/gdkdirectfb.h
1484 * gdk/directfb/gdkdisplay-directfb.c
1485 * gdk/directfb/gdkdrawable-directfb.c
1486 * gdk/directfb/gdkim-directfb.c
1487 * gdk/directfb/gdkimage-directfb.c
1488 * gdk/directfb/gdkinput-directfb.c
1489 * gdk/directfb/gdkmain-directfb.c
1490 * gdk/directfb/gdkpixmap-directfb.c
1491 * gdk/directfb/gdktestutils-directfb.c
1492 * gdk/directfb/gdkvisual-directfb.c
1493 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1494 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1495 errors and has some cleanups.
1497 2008-01-30 Michael Natterer <mitch@imendio.com>
1499 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1500 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1503 * gtk/updateiconcache.c (add_string): cast const gchar* to
1504 gpointer when inserting in a GHashTable.
1506 * tests/testcalendar.c (calendar_detail_cb): remove const from
1507 return value since it's a newly allocated string.
1509 (calendar_update_details): free the detail.
1511 2008-01-29 Johan Dahlin <johan@gnome.org>
1513 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1515 * demos/gtk-demo/demo.ui:
1516 Move the about dialog to the glade file, add accessible tags
1517 examples to the markup file.
1519 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1521 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1522 layout, fixes #512375.
1524 2008-01-28 Michael Natterer <mitch@imendio.com>
1526 * gtk/gtktextchild.c
1527 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1529 2008-01-28 Michael Natterer <mitch@imendio.com>
1531 * demos/gtk-demo/builder.c (about_activate): use
1532 gtk_about_dialog_set_program_name() instead of the deprecated
1535 2008-01-28 Michael Natterer <mitch@imendio.com>
1537 * gtk/gtktextchild.c
1538 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1541 2008-01-26 Johan Dahlin <johan@gnome.org>
1543 * tests/Makefile.am:
1544 * tests/textbuffertest.c:
1545 Rename textbuffer test and port it to the new test framework
1547 2008-01-25 Johan Dahlin <johan@gnome.org>
1549 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1550 unsetting of GTK_MODULES.
1552 * gtk/gtk-builder-convert
1553 (GtkBuilderConverter._convert_adjustment): Handle the case where
1554 there is no child text node.
1555 (GtkBuilderConverter): Allow xml comments in most places.
1557 2008-01-25 Johan Dahlin <johan@gnome.org>
1559 * gtk/gtk-builder-convert
1560 (GtkBuilderConverter._convert_combobox_items): Remove the items
1561 even if there are no items set.
1562 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1563 signals and tooltips for all menu items subclasses and
1564 GtkImageMenuItem:label.
1565 Makes it possible to fully convert and run Jokosher.glade.
1567 2008-01-25 Johan Dahlin <johan@gnome.org>
1569 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1570 (gtk_widget_buildable_get_internal_child), (free_action),
1571 (free_relation), (gtk_widget_buildable_parser_finished),
1572 (accessibility_start_element),
1573 (gtk_widget_buildable_custom_tag_start),
1574 (gtk_widget_buildable_custom_finished):
1575 Implement accessible support, fixes #454653.
1577 * gtk/gtk-builder-convert:
1578 Add support for migrating old glade files
1580 * tests/buildertest.c: (test_widget), (test_file):
1581 Add accessible tests and imprve the test_file function to display
1582 toplevels and run dialogs.
1584 2008-01-25 Richard Hult <richard@imendio.com>
1586 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1587 didn't change, fixes focus event issues for undecorated windows.
1589 2008-01-25 Richard Hult <richard@imendio.com>
1591 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1592 const and remove unused variables).
1594 2008-01-25 Michael Natterer <mitch@imendio.com>
1597 * gtk/gtkcellrenderer.h
1598 * gtk/gtkimcontext.h
1602 * gtk/gtktreeprivate.h
1603 * gtk/gtktreeviewcolumn.h
1604 * gtk/gtkwidget.h: add const to constant structs which are passed
1605 into GTK+. Also add some forgotten const for const strings.
1609 * gtk/gtkcellrenderer.c
1610 * gtk/gtkimcontext.c
1615 * gtk/gtktreeviewcolumn.c
1616 * gtk/gtkwidget.c: changed accordingly.
1618 2008-01-25 Sven Herzberg <sven@imendio.com>
1620 Reviewed by Johan Dahlin.
1622 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1623 this is called with something that's not a GtkUIManager
1625 2008-01-24 Johan Dahlin <johan@gnome.org>
1627 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1628 Chain up to parent, so widgets can have internal children.
1630 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1632 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1635 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1637 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1639 Use pango_layout_set_height() for calendar details (#506049).
1641 * configure.in: Require 1.19.3 for pango_layout_set_height().
1642 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1644 2008-01-18 Johan Dahlin <johan@gnome.org>
1646 * gtk/gtk-builder-convert (get_property_node): New method
1647 (GtkBuilderConverter._create_object): Conditionally take a node as
1648 a property value, so don't lose translate/context attributes if they
1650 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1651 property values instead of strings.
1652 (#509153, Erik van Pienbroek)
1654 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1656 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1658 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1659 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1660 * tests/testcalendar.c: Duplicate calendar details before returning.
1662 2008-01-16 Christian Persch <chpe@gnome.org>
1664 * gtk/gtkwidget.c: Store the event mask and extension event mode
1665 directly in the gobject data pointer, instead of in an allocated
1668 2008-01-16 Michael Natterer <mitch@imendio.com>
1670 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1671 gdk-pixbuf now uses gio functions.
1673 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1675 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1676 the notify::model signal. (#509819, David Zeuthen)
1678 2008-01-15 Michael Natterer <mitch@imendio.com>
1686 * gdk/gdkwindow.h: made more struct pointer and array parameters
1687 const. GDK should now be constified as far as possible without
1688 breaking source compatibility. Includes some minor cleanup like
1689 indentation and s/nfoo/n_foo/ (bug #508544).
1695 * gdk/gdkregion-generic.c
1697 * gdk/directfb/gdkdisplay-directfb.c
1698 * gdk/directfb/gdkwindow-directfb.c
1699 * gdk/quartz/gdkdisplay-quartz.c
1700 * gdk/quartz/gdkwindow-quartz.c
1701 * gdk/win32/gdkdisplay-win32.c
1702 * gdk/win32/gdkwindow-win32.c
1703 * gdk/x11/gdkdisplay-x11.c
1704 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1706 2008-01-14 Michael Natterer <mitch@imendio.com>
1708 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1711 (gtk_rc_parse_any): change variables to const and introduce
1712 another local variable to fix const warnings.
1714 2008-01-14 Michael Natterer <mitch@imendio.com>
1716 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1717 of gdk_screen_get_font_options() to gpointer to get rid of const
1720 2008-01-14 Michael Natterer <mitch@imendio.com>
1722 * tests/testdnd.c (source_drag_data_get): fix another call to
1723 gtk_selection_data_set().
1725 2008-01-14 Michael Natterer <mitch@imendio.com>
1727 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1730 2008-01-14 Michael Natterer <mitch@imendio.com>
1732 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1734 2008-01-14 Michael Natterer <mitch@imendio.com>
1736 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1737 "uris" to guchar* when passing it to gtk_selection_data_set().
1739 2008-01-14 Michael Natterer <mitch@imendio.com>
1745 * gdk/gdkinternals.h
1747 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1748 parameters const (bug #508544).
1753 * gdk/gdkrectangle.c
1754 * gdk/gdkpolyreg-generic.c
1755 * gdk/gdkregion-generic.c
1756 * gdk/directfb/gdkcolor-directfb.c
1757 * gdk/directfb/gdkgc-directfb.c
1758 * gdk/directfb/gdkgeometry-directfb.c
1759 * gdk/directfb/gdkwindow-directfb.c
1760 * gdk/quartz/gdkcolor-quartz.c
1761 * gdk/quartz/gdkgc-quartz.c
1762 * gdk/quartz/gdkgeometry-quartz.c
1763 * gdk/quartz/gdkwindow-quartz.c
1764 * gdk/win32/gdkcolor-win32.c
1765 * gdk/win32/gdkgc-win32.c
1766 * gdk/win32/gdkgeometry-win32.c
1767 * gdk/win32/gdkprivate-win32.h
1768 * gdk/win32/gdkwindow-win32.c
1769 * gdk/x11/gdkcolor-x11.c
1770 * gdk/x11/gdkgc-x11.c
1771 * gdk/x11/gdkgeometry-x11.c
1772 * gdk/x11/gdkmain-x11.c
1773 * gdk/x11/gdkprivate-x11.h
1774 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1776 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1779 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1781 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1783 * gtk/gtktoolitem.c: Add comment expaining name choice for
1784 gtk_tool_item_toolbar_reconfigured.
1786 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1788 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1789 implementations to notify its children, when some aspect of their
1790 configuration changed (#509042).
1792 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1793 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1794 Rename _gtk_tool_item_toolbar_reconfigured.
1796 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1798 Include <gtk/gtktoolshell.h> from gtk.h.
1800 * gtk/gtk.h: Add gtktoolshell.h
1802 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1804 Print angle brackets arround e-mail addresses in the about dialog
1805 (#409520, Mariano Suárez-Alvarez).
1807 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1809 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1811 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1812 special casing so test widgets are always queues for destruction
1815 * gtk/tests/testing.c: removed bits left-over from testing without
1818 2008-01-10 Tor Lillqvist <tml@novell.com>
1820 * modules/other/gail/libgail-util/Makefile.am
1821 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1824 2008-01-10 Tor Lillqvist <tml@novell.com>
1826 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1827 uses gtkprintunixdialog API.
1829 2008-01-10 Tor Lillqvist <tml@novell.com>
1831 * gdk/win32/gdkdisplay-win32.c
1832 * gdk/win32/gdkglobals-win32.c
1833 * gdk/win32/gdkprivate-win32.h
1834 * gdk/win32/gdkscreen-win32.c
1835 * gdk/win32/gdkwindow-win32.c: Implement
1836 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1837 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1840 2008-01-10 Cody Russell <bratsche@gnome.org>
1842 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1843 Properly ref/unref windows and parents. (#506769)
1845 2008-01-10 Richard Hult <richard@imendio.com>
1847 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1848 (gdk_window_hide), (move_resize_window_internal): Move the
1849 tracking rect workaround from here...
1851 * gdk/quartz/GdkQuartzWindow.c:
1852 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1853 movements during showing/hiding operations. Fixes bug #508516.
1855 2008-01-10 Michael Natterer <mitch@imendio.com>
1857 * gdk/directfb/gdkscreen-directfb.c
1858 (gdk_screen_get_monitor_width_mm)
1859 (gdk_screen_get_monitor_height_mm)
1860 (gdk_screen_get_monitor_plug_name): add these functions to make
1863 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1865 * gtk/gtkrecentchoosermenu.c:
1866 (idle_populate_func), (idle_populate_clean_up): Fix possible
1867 recursion by resetting the idle source id. (#507605, William
1870 2008-01-10 Kristian Rietveld <kris@imendio.com>
1872 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1873 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1874 avoid valgrind warnings. (#507751, patch from Christian Persch).
1876 2008-01-10 Kristian Rietveld <kris@imendio.com>
1878 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1879 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1881 2008-01-10 Kristian Rietveld <kris@imendio.com>
1883 Fix #477175, reported by Juri Pakaste.
1885 * gtk/gtktreeprivate.h:
1886 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1887 tree_view->priv->dy here directly, just calculate the new value
1888 and set it on the adjustment,
1889 (gtk_tree_view_adjustment_changed): add guards to not call
1890 gtk_tree_view_dy_to_top_row() if we are currently in
1891 gtk_tree_view_top_row_to_dy(),
1892 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1893 coordinates, not tree coordinates,
1894 (gtk_tree_view_real_start_editing): add cast.
1896 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1897 position of the editable in the "create new row and start editing"
1900 2008-01-09 Michael Natterer <mitch@imendio.com>
1902 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1905 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1906 * gtk/gtkicontheme.c (theme_list_contexts)
1907 (gtk_icon_theme_lookup_icon)
1908 * gtk/gtkimcontextsimple.c (beep_window)
1909 * gtk/gtklinkbutton.c (set_link_color)
1910 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1913 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1914 variable and add const to another to fix a warning.
1916 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1918 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1919 the current page. (#499951, Andreas Sandberg)
1921 2008-01-06 Johan Dahlin <johan@gnome.org>
1923 * gtk/gtkspinbutton.c: Declare value in the example code for
1924 GtkSpinButton::output, as pointed out by Anders Carlsson.
1926 2008-01-06 Christian Persch <chpe@gnome.org>
1928 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1929 and remove an obsolete event box. Bug #506760.
1931 2008-01-06 Johan Dahlin <johan@gnome.org>
1933 * tests/buildertest.c (test_domain):
1934 Update, GtkBuilder::translation-domain is no longer set
1936 * gtk/gtkbuilderparser.c (parse_interface):
1937 Allow domains to be overridden in <interface>'s if a translation-domain
1938 is set in the builder.
1939 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1940 of the builder, make the domain set in the <interface> apply only to strings
1942 (#496831, Ryan Lortie)
1944 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1947 * gtk/gtktreestore.c (tree_model_end_element):
1948 Remove an unused variable
1950 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1952 * gtk/gtkspinbutton.c: Document the ::output signal and
1953 add an example. (#507566, example by Owen Taylor)
1955 2008-01-06 Johan Dahlin <johan@gnome.org>
1957 * gtk/gtkcellrenderercombo.c:
1958 (gtk_cell_renderer_combo_get_property),
1959 (gtk_cell_renderer_combo_set_property):
1960 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1961 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1962 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1963 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1964 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1965 (gtk_text_buffer_get_property):
1966 * gtk/gtktextview.c: (gtk_text_view_set_property):
1967 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1968 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1969 (gtk_tool_button_get_property):
1970 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1971 (gtk_tool_item_get_property):
1972 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1973 * gtk/gtkwidget.c: (gtk_widget_set_property):
1974 * gtk/gtkwindow.c: (gtk_window_set_property):
1975 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1978 2008-01-06 Johan Dahlin <johan@gnome.org>
1980 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1981 Make sure that --root works for toplevel widgets.
1982 (#491847, Phil Lello)
1984 2008-01-05 Johan Dahlin <johan@gnome.org>
1986 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1987 to make sure that make test-report works properly
1989 2008-01-05 Christian Persch <chpe@gnome.org>
1991 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1992 GType as integer through gpointer. Bug #507395.
1994 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1996 Avoid some compiler warnings (#507000).
1998 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1999 for value argument of _gtk_builder_flags_from_string.
2000 * gtk/gtkwidget.c: Don't alias the child pointer passed
2001 to gdk_window_get_user_data.
2003 2008-01-04 Michael Natterer <mitch@imendio.com>
2005 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
2006 to set the time in the returned GdkTimeCoords.
2008 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
2010 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
2011 correct comparison function (kudos to Christian Persch and
2012 Claudio Saavedra for spotting this)
2014 * gtk/gtkrecentchooserutils.c:
2015 (sort_recent_items_mru),
2016 (sort_recent_items_lru): Ditto as above.
2018 2008-01-03 Johan Dahlin <johan@gnome.org>
2020 * tests/defaultvaluetest.c: Make it pass again.
2022 2008-01-02 Johan Dahlin <johan@gnome.org>
2024 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
2025 make it pass on Ubuntu.
2026 (main): Use gtk_test_list_all_types () instead of providing our
2028 And it no longer passes.
2030 2007-12-30 Johannes Schmid <jhs@gnome.org>
2032 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
2033 Also reorder menu when reordering tabs by drag & drop
2036 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
2037 Add a menu to one of the notebooks to have a test-case for
2038 the change mentioned above.
2040 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
2042 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
2044 2007-12-31 Christian Persch <chpe@gnome.org>
2046 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
2047 Plug a mem leak. Bug #506107.
2049 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2051 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
2052 icon cache api change. (#506135, Kazuki Iwamoto)
2054 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2056 Consider "wide-separators" and "separator-height" style properties:
2057 The separator is drawn using gtk_paint_box instead of cairo, when
2058 "wide-separators" is set. Also do not highlight details for previous
2059 or next month, if their day matches the selected day. (#339540)
2061 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
2062 in gtk_calendar_size_request and calendar_paint_day
2063 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
2064 for selected detail separators in GtkCalendar.
2066 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2068 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
2070 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
2071 a local variable instead in gtk_calendar_size_request.
2073 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2075 * tests/defaultvaluetest.c: Add enough exclusions to make the
2078 2007-12-28 Christian Persch <chpe@gnome.org>
2080 * modules/other/gail/Makefile.am:
2081 * modules/other/gail/tests/*:
2082 * configure.in: Merge tests from standalone gail. Bug #504568.
2084 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2086 * gtk/gtkclipboard.c: Make the finalizer work when display is
2089 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2091 Draw bottom shadow of GtkCalender headings. (#506113)
2093 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
2095 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2097 * gtk/gtkcalendar.c: Document the initial values of year/month/day
2100 2007-12-28 Christian Persch <chpe@gnome.org>
2102 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
2103 a mem leak. Bug #506096.
2105 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2108 * gtk/gtktreeview.c:
2109 * gtk/gtkprintoperation.c:
2110 * gtk/gtkprogressbar.c:
2111 * gtk/gtkmessagedialog.c:
2112 * gtk/gtknotebook.c:
2116 * gtk/gtklinkbutton.c:
2117 * gtk/gtkmenu.c: More default property value corrections.
2119 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2121 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
2122 accel_group unless it is set.
2124 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2126 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
2128 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2130 * gtk/gtkhandlebox.c: Fix the default values of shadow and
2131 shadow-type properties.
2133 * gtk/gtkfontsel.c: Fix the default values of several properties.
2135 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
2138 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
2140 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
2143 2007-12-28 Johan Dahlin <johan@gnome.org>
2145 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
2146 (gtk_dialog_buildable_custom_tag_start): Chain up.
2147 This makes it possible to have accelerators tags on GtkDialog
2150 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2152 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
2153 are shown within the widget, or just as tooltip. (#339540)
2155 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
2156 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
2157 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
2160 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2162 Try more decent appearance of calendar details separator. (#339540)
2164 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
2165 and make it short by one pixel on each side.
2167 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2169 Apply trivial code-style changes from attachement 101101. (#339540)
2171 * tests/testcalendar.c: Some updates to current GTK+ code-style.
2173 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2175 Restructure testcalendar for testing calendar details. (#339540)
2177 * tests/testcalendar.c: Push code arround for testing calendar details.
2179 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2181 Implement GtkTooltip API for calendar details. (#339540)
2183 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
2184 Remember detail overflows in calendar_paint_day to show the tooltip
2185 only when neccessary.
2187 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2189 Without setting "detail-width-chars" and "detail-height-rows"
2190 properties not only the widget has to be redrawn on certain
2191 conditions, but also its size must be recalculated. (#339540)
2193 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
2194 that function instead of gtk_widget_queue_draw.
2196 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
2198 Consider details for size-request and expose-event. (#339540)
2200 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
2201 is_color_attribute functions. Change gtk_calendar_size_request
2202 and calendar_paint_day to consider and show calender details.
2204 2007-12-28 Matthias Clasen <mclasen@redhat.com>
2206 * gtk/gtkcombobox.c: Introduce local priv variables to
2209 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2211 * gtk/gtkcombobox.c: Correct the default value for the
2212 tearoff-title property.
2214 * gtk/gtkcellrenderertext.c: Fix the default value for the
2215 wrap-mode and font-scale properties.
2217 * gtk/gtkaspectratio.c: Fix the default value for the ratio
2220 2007-12-27 Matthias Clasen <mclasen@redhat.com>
2222 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
2223 defines. (#505708, MINAMI Hirokazu)
2225 2007-12-27 Christian Persch <chpe@gnome.org>
2227 * Makefile.am: Install gail.pc. Bug #505859.
2229 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
2231 Add infrastructure for GtkCalendar details. (#339540)
2233 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
2234 Add "detail-width-chars" and "detail-height-rows" properties,
2235 and gtk_calendar_set_detail_func function.
2237 2007-12-27 Xan Lopez <xan@gnome.org>
2240 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
2242 Add gtk_border_new to avoid memory allocator confusions when using
2243 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
2245 2007-12-27 Christian Persch <chpe@gnome.org>
2247 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
2248 bug #504886 not to read unitialised memory.
2250 2007-12-26 Xan Lopez <xan@gnome.org>
2252 * gtk/gtkstatusbar.c (has_extra_children): take into account the
2253 modification of the internal frame contents to decide if we have
2254 extra children. (#415677)
2256 2007-12-22 Christian Persch <chpe@gnome.org>
2258 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2260 2007-12-25 Christian Persch <chpe@gnome.org>
2262 * modules/other/gail/gailwindow.c: (gail_window_initialize):
2263 Initialise |widget|. Fixes a buglet introduced by the commit from bug
2266 2007-12-25 Christian Persch <chpe@gnome.org>
2268 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2270 2007-12-25 Christian Persch <chpe@gnome.org>
2272 * modules/other/gail/*.[ch]: Remove relocations from the atk
2273 factories. Remove unused gail_foo_new() functions. Fix object
2274 instantiation to be derivation safe by moving initialisation code
2275 from the removed gail_foo_new() functions to the
2276 AtkObjectClass::initialize implementation. Bug #505226.
2278 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2280 * modules/other/gail/gailentry.c:
2281 * modules/other/gail/gailimage.c:
2282 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2283 uses of clipboards and settings. (#504722, Christian Persch)
2285 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2287 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2290 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2292 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2293 use the time and button information from the event. (#504901,
2296 2007-12-23 Cody Russell <bratsche@gnome.org>
2298 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2299 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2300 Fixes a regression caused by #164537 patch where transient
2301 windows that are hidden get shown (incorrectly) when their
2302 parents are minimized. (#504984)
2304 2007-12-22 Christian Persch <chpe@gnome.org>
2306 * modules/other/gail/gailcell.c:
2307 * modules/other/gail/gailcontainercell.c:
2308 * modules/other/gail/gailexpander.c:
2309 * modules/other/gail/gailtextcell.c:
2310 * modules/other/gail/gailtextview.c:
2311 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2313 2007-12-22 Christian Persch <chpe@gnome.org>
2315 * modules/other/gail/*.c: Include config.h. Bug #504720.
2317 2007-12-22 Christian Persch <chpe@gnome.org>
2319 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2320 handwritten get_type functions. Bug #504661.
2322 2007-12-23 Xan Lopez <xan@gnome.org>
2324 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2325 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2327 Patch by Sadrul Habib Chowdhury (#504804)
2329 2007-12-22 Christian Persch <chpe@gnome.org>
2331 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2332 #504645, patch by Li Yuan.
2334 2007-12-22 Christian Persch <chpe@gnome.org>
2336 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2338 2007-12-22 Christian Persch <chpe@gnome.org>
2340 * modules/other/gail/gail.c:
2341 * modules/other/gail/gailbutton.c:
2342 * modules/other/gail/gailcell.c:
2343 * modules/other/gail/gailcombo.c:
2344 * modules/other/gail/gailcombo.h:
2345 * modules/other/gail/gailcombobox.c:
2346 * modules/other/gail/gailentry.c:
2347 * modules/other/gail/gailexpander.c:
2348 * modules/other/gail/gailmenuitem.c:
2349 * modules/other/gail/gailnotebook.c:
2350 * modules/other/gail/gailnotebookpage.c:
2351 * modules/other/gail/gailnotebookpage.h:
2352 * modules/other/gail/gailoptionmenu.c:
2353 * modules/other/gail/gailrange.c:
2354 * modules/other/gail/gailtextview.c:
2355 * modules/other/gail/gailtreeview.c:
2356 * modules/other/gail/gailtreeview.h:
2357 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2360 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2362 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2365 2007-12-21 Richard Hult <richard@imendio.com>
2367 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2368 Plug leak of destroyed subviews, fixes bug #504753.
2370 2007-12-20 Johan Dahlin <johan@gnome.org>
2372 * tests/Makefile.am (TEST_PROGS):
2373 * tests/defaultvaluetest.c: Add a test for default values,
2374 based on program by Christan Perch
2376 2007-12-20 Johan Dahlin <johan@gnome.org>
2378 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
2379 Refactor to avoid some duplication.
2380 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2381 Fixes #504749, Yuri Pimenov
2383 2007-12-20 Kristian Rietveld <kris@imendio.com>
2385 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
2386 the build work again on systems without xrandr 1.2.
2388 2007-12-20 Christian Persch <chpe@gnome.org>
2391 * modules/other/gail/libgail-util/Makefile.am:
2392 Keep the same libtool version as the standalone libgail-util had.
2395 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
2397 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2399 2007-12-20 Alexander Larsson <alexl@redhat.com>
2401 * gdk/x11/gdkapplaunchcontext-x11.c:
2402 Update for gio API changes
2404 2007-12-20 Richard Hult <richard@imendio.com>
2406 * gdk/quartz/GdkQuartzWindow.c:
2407 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2408 processing events after changing the size.
2410 2007-12-20 Richard Hult <richard@imendio.com>
2412 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2413 Add stub for quartz to fix build.
2415 2007-12-20 Christian Persch <chpe@gnome.org>
2417 * modules/other/gail/Makefile.am:
2418 * modules/other/gail/gailimage.c: (gail_image_class_init),
2419 (gail_image_init), (elide_underscores), (gail_image_get_name),
2420 (atk_image_interface_init), (gail_image_finalize):
2421 * modules/other/gail/gailimage.h:
2422 R modules/other/gail/gailintl.h:
2423 * po/POTFILES.skip: Use the stock item's label as the name of the
2424 accessible in gailimage.c. Bug #504246.
2426 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
2428 Avoid some compiler warnings and remove obsolete code. (#339540)
2430 * gtk/gtkcalendar.c: Change week and year variable in
2431 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2432 0" block from calendar_paint_day: The feature in question is handled
2433 few lines above. Cast data returned by gtk_selection_data_get_text()
2434 to (gchar*) in gtk_calendar_drag_data_received.
2436 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
2438 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2440 2007-12-19 Johan Dahlin <johan@gnome.org>
2442 * tests/buildertest.c (test_object_properties):
2443 Add another call to gtk_builder_add_string after using
2444 delayed properties, as reported in #504393 but already
2447 2007-12-18 Christian Persch <chpe@gnome.org>
2450 * docs/reference/Makefile.am:
2451 * docs/reference/libgail-util/*:
2452 * gail-uninstalled.pc.in:
2454 * modules/Makefile.am:
2455 * modules/other/Makefile.am:
2456 * modules/other/gail/*:
2457 * modules/other/gail/libgail-util/*:
2458 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2460 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2462 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2463 * gdk/win32/gdkproperty-win32.c:
2464 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2466 * gtk/gtkimmodule.[hc]:
2467 * gtk/gtkimmulticontext.[hc]: When determining the default context,
2468 look at the gtk-im-module setting, and listen for changes to the
2469 setting. (#502446, Akira Tagoh)
2471 2007-12-17 Kristian Rietveld <kris@imendio.com>
2473 * gtk/gtktooltip.c (gtk_tooltip_finalize),
2474 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2475 to NULL as soon as it's destroyed. (#496546, patch from
2478 2007-12-17 Kristian Rietveld <kris@imendio.com>
2480 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2481 always determine what arrow to show if show_sort_indicator is true.
2482 (#352738, Chris Vine).
2484 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2486 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2489 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2490 gtk_container_foreach in get_child_panes.
2492 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2494 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2496 Plug leak: When reordering the info in the list the old node is
2497 removed but not freed. (#503569)
2499 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2501 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2502 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2503 are deprecated since DirectFB 1.0.0. If compiling with an older
2504 version define the new type name to the old types. Fixes bug #503190.
2506 2007-12-14 Ray Strode <rstrode@redhat.com>
2508 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2509 instead of g_signal_connect_after (..., "realize", ...) as an
2510 alternative to gtk_widget_realize () (bug 503537).
2512 2007-12-14 Michael Natterer <mitch@imendio.com>
2514 * gdk/gdkinternals.h
2515 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2518 * gdk/gdkapplaunchcontext.c
2519 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2520 header already includes everything now.
2522 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2524 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2525 next stable release shall be 2.16, not 2.14 - even if disagree.
2527 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2529 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2531 Change GtkToolItem to retrieve its properties from GtkToolShell
2532 interface, instead of relying on being child of a GtkToolbar.
2535 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2536 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2537 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2538 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2539 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2540 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2541 Take section docs from template file and update them for GtkToolShell.
2542 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2543 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2545 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2547 Extract loading of GtkPageSetup and GtkPrintSettings from their
2548 *_new_*() functions and move that code into separate
2549 *_load_*() functions (#475565).
2551 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2552 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2553 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2554 Change the matching *_new_*() functions to use those functions.
2556 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2559 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2561 2007-12-14 Kristian Rietveld <kris@imendio.com>
2563 * gtk/tests/liststore.c:
2564 * gtk/tests/treestore.c: added tests for insertion functions.
2566 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2568 * Add RandR 1.2 support
2570 - New monitors_changed signal - New API to get width/height of
2571 monitors, and the name of the plug
2573 2007-12-13 Kristian Rietveld <kris@imendio.com>
2575 * gtk/tests/liststore.c:
2576 * gtk/tests/treestore.c: test the move and swap functions on a
2577 store with only one node.
2579 2007-12-13 Kristian Rietveld <kris@imendio.com>
2581 * gtk/gtktestutils.c (gtk_test_init): add a call to
2584 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2587 2007-12-13 Kristian Rietveld <kris@imendio.com>
2589 * gtk/tests/liststore.c:
2590 * gtk/tests/treestore.c: start composing tests for the list and tree
2593 * gtk/tests/treeview-scrolling.c: added automated tests for
2594 GtkTreeView's scrolling "subsystem".
2596 * gtk/tests/Makefile.am: updated; added new test programs.
2598 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2600 Make the code compile again after the GdkAppLaunchContext changes.
2602 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2603 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2605 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2607 * gdk/gdkapplaunchcontext.c: Add docs
2609 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2611 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2612 in gdk, providing startup notification. (#503203)
2614 * gdk/x11/gdkapplaunchcontext-x11.c:
2615 * gdk/win32/gdkapplaunchcontext-win32.c:
2616 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2617 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2618 parts. All but X11 are just empty stubs for now.
2621 * gdk/gdkinternals.h:
2623 * gdk/x11/Makefile.am:
2624 * gdk/win32/Makefile.am:
2625 * gdk/quartz/Makefile.am:
2626 * gdk/directfb/Makefile.am: Necessary glue.
2628 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2630 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2632 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2634 * gdk/directfb/gdktestutils-directfb.c:
2635 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2636 which adds testing functions to the DirectFB backend.
2638 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2640 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2641 Ciccani which fixes the mixing of gdk and cairo rendering.
2643 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2645 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2646 on "drag-motion" handlers. Clearify documentation for
2649 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2651 * buildertest.c: made unnecessarily exported symbols static.
2652 switched g_return_if_fail() statements in tests to assertions.
2653 special cased currently failing Widget/accesibility test to
2654 run only for g_test_thorough(), so it doesn't break make check.
2655 some coding style fixes.
2657 * Makefile.am: added buildertest to TEST_PROGS.
2659 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2661 * docs/tutorial/gtk-tut.sgml:
2662 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2664 2007-12-10 Richard Hult <richard@imendio.com>
2666 * gdk/quartz/Makefile.am:
2667 * gdk/quartz/gdkquartz.h:
2668 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2669 header (bug #405915). Also add a getter for the toplevel nswindow.
2671 2007-12-10 Richard Hult <richard@imendio.com>
2673 * gdk/quartz/gdkdrawable-quartz.c:
2674 (gdk_quartz_drawable_get_context),
2675 (gdk_quartz_drawable_release_context):
2676 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2677 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2678 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2679 used for each drawing context and in prepare, dispatch and poll
2680 with one that exists across each main loop iteration. Fixes leaks
2681 on leopard and protects against future leaks introduce when the
2682 underlying system changes again (bug #492977).
2684 2007-12-10 Richard Hult <richard@imendio.com>
2686 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2687 Fix the check for no changes to position and size.
2689 2007-12-10 Richard Hult <richard@imendio.com>
2691 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2692 sized areas at (0, 0), patch from Paul Davis.
2694 2007-12-10 Richard Hult <richard@imendio.com>
2696 * gdk/quartz/gdkprivate-quartz.h:
2697 * gdk/quartz/gdkeventloop-quartz.c:
2698 (_gdk_quartz_event_loop_get_pending),
2699 (_gdk_quartz_event_loop_check_pending),
2700 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2701 (gdk_event_check), (gdk_event_dispatch):
2702 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2703 (_gdk_events_queue): Fix a bug where we could end up trying to
2704 handle the same event more than once. Based on patch from Paul
2707 2007-12-10 Tor Lillqvist <tml@novell.com>
2709 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2712 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2714 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2715 to avoid further fallout from the fix for bug 388321.
2717 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2719 * gdk/directfb/gdkgc-directfb.c:
2720 * gdk/directfb/gdkdrawable-directfb.c:
2721 * gdk/directfb/gdkdirectfb.h:
2722 * gdk/directfb/gdkwindow-directfb.c:
2723 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2724 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2725 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2726 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2727 which are expected to improve the performance of the DirectFB backend.
2728 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2730 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2732 * gtk/gtkcontainer.c: Correct the documentation of child
2733 property getter arguments. (#501992, David Brigada)
2735 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2737 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2738 leak pixbufs. (#502250, Yevgen Muntyan)
2740 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2742 * gtk/gtkprintunixdialog.c:
2743 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2744 Print and Page Setup dialogs (#502202).
2746 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2748 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2749 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2750 of XVFB_START, since it's the GTESTER invokation that needs this.
2752 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2754 * gdk-pixbuf/gdk-pixbuf.symbols:
2756 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2757 positives in abicheck.sh
2759 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2761 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2762 GDK events generations in the DirectFB backend.
2764 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2766 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2767 set of likely unused display ids, because MacOS has no seq(1) command.
2769 2007-12-06 Richard Hult <richard@imendio.com>
2771 * gdk/quartz/gdkevents-quartz.c:
2772 (synthesize_crossing_events_for_ns_event): Fix warning when
2773 switching spaces in leopard.
2775 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2777 * tests/floatingtest.c: ported to new testing framework.
2779 * tests/Makefile.am: run floatingtest as testing framework test.
2781 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2783 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2784 timeouts and converting main loop sleeps to pending/iterate loops with
2785 very low priority async handlers. eliminate output for non-verbose
2786 tests. assert successfull subtests in all test functions. use testing
2787 framework in main().
2789 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2790 executed inside Xvfb upon make check.
2792 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2794 * tests/objecttests.c: use string comparisons for string property
2795 values and get rid of referencing symbols in array initialization.
2797 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2799 * gtk+/Makefile.decl: run tests in current dir after setting up the
2800 logging directory, so their results get properly merged into the
2803 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2804 tests to loop over registered Gdk/Gtk+ types.
2806 * gtk+/tests/objecttests.c: new test program, implements automated
2807 property tests. several properties are blacklisted because they
2808 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2809 can be used to test blacklisted properties and see which proprty failed.
2811 2007-12-04 Richard Hult <richard@imendio.com>
2813 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2814 Fully initialize the root window, fixes bug #501583.
2816 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2818 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2821 2007-12-03 Richard Hult <richard@imendio.com>
2823 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2824 Don't crash when dragging from a source that doesn't support uri
2825 lists (bug #499868, Paul Davis).
2827 2007-12-03 Richard Hult <richard@imendio.com>
2829 * gdk/quartz/gdkwindow-quartz.c:
2830 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2831 parent relative bg pixmap is set, and no parent has a bg
2832 pixmap. Fixes bug #500804.
2834 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2836 Two optimizations for icon cache lookups.
2838 * gtk/gtkiconcache.[hc]:
2839 * gtk/gtkicontheme.c: Remember the directory index for
2840 subdirectories, instead of running over the directory list
2843 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2844 chain and try it first; this helps with the the usage patterns
2845 in gtkicontheme.c, where the same icon is queried for a lot
2848 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2850 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2851 functions from header files. this should be portable across linux and
2852 Mac OS, unlike the previpous sed expression.
2854 2007-12-1 Cody Russell <bratsche@gnome.org>
2856 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2857 On Windows, queue a redraw of child2 whenever we set
2858 the pane handle position. This is unfortunately kind
2859 of hacky, but solves the visual artifacts that were
2860 occuring on at least certain types of child widgets
2861 (e.g., text views and tree views) that are inside
2862 horizontal or vertical panes. (#144269)
2864 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2866 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2868 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2870 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2873 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2875 * gtk/Makefile.am: Fix ordering of subdirs.
2877 2007-11-28 Tor Lillqvist <tml@novell.com>
2879 A proper build of GNU libintl is supposed to export the variable
2880 _nl_msg_cat_cntr. configure looks for that variable in order to
2881 recognize GNU gettext. If it sees that it is indeed GNU gettext
2882 that is used, it decides to install message catalogs in
2883 share/locale, otherwise in lib/locale. Until now on Windows I have
2884 built GTK+ against a build of GNU gettext that did not export
2885 _nl_msg_cat_cntr. But this will change, so we can't assume message
2886 catalogs are always in lib/locale.
2888 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2889 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2890 before the inclusion of gtkprivate.h so that it sees the original
2893 * gtk-zip.sh.in: Check whether the message catalogs are in
2894 share/locale or lib/locale.
2896 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2897 that the code in _gtk_get_localedir() will find the slashes.
2899 2007-11-28 Tor Lillqvist <tml@novell.com>
2901 * gtk/Makefile.am: Improve portability. The -o option is present
2902 only in newish GNU egreps. Use one more sed in the pipeline
2905 2007-11-28 Tor Lillqvist <tml@novell.com>
2907 Fix #375893, patch by Ben Hague:
2909 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2910 around GetLogicalDrives() that takes also the viewable drive
2911 restrictions in the Registry (which are usually the result of an
2912 Active Directory Group Policy) into account.
2914 (check_volumes, gtk_file_system_win32_list_volumes) Call
2915 get_viewable_logical_drives() instead of GetLogicalDrives().
2917 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2919 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2920 variables to silence valgrind. (#495124, Morten Welinder)
2922 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2924 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2925 that the construct_child function is responsible for returning a
2927 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2928 objects from constructors
2929 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2930 g_object_ref() to this construction function (it's the only
2935 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2937 * gtkbuilder.c: remove concept of root objects and just refcount
2938 all objects in the builder. Fixes #496651.
2940 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2942 * tests/buildertest.c (test_window): fix invalid free
2944 2007-11-26 Josselin Mouette <joss@malsain.org>
2946 reviewed by: Federico Mena Quintero
2948 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2949 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2950 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2951 Make the shortcuts activate with a single click. (#148828)
2952 Fix a few things affected by the change:
2953 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2954 where no shortcut is selected.
2955 - Don't activate a shortcut in the response callback.
2956 - Filter out duplicate entries in volumes and bookmarks to
2957 avoid the selection to change when reordering them with DnD.
2959 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2962 * gtk/gtknotebook.c:
2963 * gtk/gtkplugprivate.h:
2965 * gtk/gtksocketprivate.h:
2966 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2968 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2970 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2971 (#495574, Richard Hult)
2973 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2975 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2976 String change ! (#376361, Sven Neumann)
2978 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2980 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2982 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2985 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2987 * gtk/gtkassistant.c: Improve alternative button
2988 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2990 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2992 * gtk/gtkcalendar.c: Fix a theming problem with colors
2993 in GtkCalendar. (#499703, Michael Hofmann)
2995 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2997 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2999 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3001 Use templates for glib-mkenums calls instead of
3002 complicated commandlines in Makefiles. (#429910)
3004 * gdk-pixbuf/Makefile.am:
3007 * perf/Makefile.am: Use templates for glib-mkenums
3009 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
3010 * gdk/gdkenumtypes.[ch].template:
3011 * gtk/gtktypebuiltings.[ch].template:
3012 * perf/typebuiltins.[ch].template: The templates
3014 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3016 * gtk/gtkfilechooserbutton.c:
3017 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
3018 some compilers choke on that. (#467722)
3020 2007-11-26 Matthias Clasen <mclasen@redhat.com>
3022 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
3023 about hook setup. (#425004, Emmanuele Bassi)
3025 2007-11-26 Tor Lillqvist <tml@novell.com>
3027 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
3028 monitor the window currently is on, not always the primary
3029 monitor. (#463865, Tim Evans)
3031 2007-11-26 Tor Lillqvist <tml@novell.com>
3033 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
3035 * gdk/win32/Makefile.am: Add it.
3037 2007-11-26 Tor Lillqvist <tml@novell.com>
3039 * configure.in: Don't add jasper to all_loaders if no libjasper.
3041 2007-11-25 Bastien Nocera <hadess@hadess.net>
3043 * configure.in: Add detection for libjasper, used by the
3044 gdk-pixbuf JPEG2000 loader
3046 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3048 * configure.in: Require gtk-doc 1.8
3050 * */*.c: Use gtk-doc abbreviations for examples in docs.
3052 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3054 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
3057 2007-11-25 Matthias Clasen <mclasen@redhat.com>
3059 * gtk/gtkdialog.c: Move signal and property documentation inline,
3060 fix a problem with the ::response signal docs. (#499133, Josselin
3063 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
3065 * Makefile.decl: initialize automake variables EXTRA_DIST and
3066 TEST_PROGS for unconditional appending via += in other makefiles.
3067 define recursive test targets: test, test-report, perf-report,
3068 full-report, as described here:
3069 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
3070 the test targets will execute Gtk+ test programs within an Xvfb session.
3072 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
3074 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
3075 g_test_run() to run the tests to integrate with the testing framework.
3077 * gtk/tests/Makefile.am: removed exemplary testing rules.
3079 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
3080 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
3081 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
3082 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
3083 * docs/reference/Makefile.am, docs/tools/Makefile.am:
3084 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
3085 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
3086 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
3087 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
3088 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
3089 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
3090 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
3091 * modules/engines/ms-windows/Theme/Makefile.am:
3092 * modules/engines/ms-windows/Makefile.am:
3093 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
3094 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
3095 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
3096 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
3097 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
3098 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
3099 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
3101 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3103 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
3104 (#485662, patch by Herbert Valerio Riedel)
3106 2007-11-22 Matthias Clasen <mclasen@redhat.com>
3108 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
3110 2007-11-21 Richard Hult <richard@imendio.com>
3112 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
3113 stubs for the testing functions to fix the build.
3115 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3117 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
3118 (#467711, The Written Word)
3120 2007-11-21 Ross Burton <ross@openedhand.com>
3122 * gdk/x11/gdksettings.c:
3123 Add xsetting for gtk-scrolled-window-placement (#458103).
3125 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3127 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
3128 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
3129 (#469239, Michael Natterer)
3131 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
3133 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
3134 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
3135 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
3136 (#436536, Tommi Komulainen)
3138 2007-11-21 Matthias Clasen <mclasen@redhat.com>
3140 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
3141 property. (#489782, Jan Janech)
3143 2007-11-20 Matthias Clasen <mclasen@redhat.com>
3145 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
3146 frames. (#107398, Owen Taylor, Miguel Gomez)
3148 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
3150 Moved Gdk test functions from Gtk+ to Gdk test utils.
3152 * gdk/Makefile.am: added gdktestutils.h to public includes.
3154 * gdk/gdk.h: added gdktestutils.h to public includes.
3156 * gdk/gdk.symbols: added gdk_test_simulate_button,
3157 gdk_test_simulate_key, gdk_test_render_sync.
3159 * gdk/gdktestutils.h: new file, added prototypes for
3160 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
3162 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
3164 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
3165 gdk_test_simulate_key, gdk_test_render_sync.
3167 * gtk/gtktestutils.c:
3168 * gtk/gtktestutils.h:
3169 * gtk/gtk.symbols: removed gtk_test_simulate_button
3170 gtk_test_simulate_key, gtk_test_xserver_render_sync.
3172 * gtk/tests/testing.c: call gdk_test_render_sync.
3174 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
3176 Added unit tests for Gtk+ testing utilities.
3178 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
3179 utility functions. some g_test_* related portions are disabled and need
3180 to be enabled once Gtk+ depends on a new glib with the GLib testing
3181 framework integrated.
3183 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
3184 tests. added exemplary test rules to run tests inside Xvfb. this
3185 needs to depend on gtester for full fledged testing.
3187 * gtk/Makefile.am: build gtk+/gtk/tests, define
3188 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
3189 e.g. gtk_text_get_type().
3191 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
3193 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
3195 Added Gtk+ testing utilities.
3197 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
3198 functions. for the most part, the functions herein involve
3199 navigating and interacting with dialog elements programatically,
3200 to automate user interaction tests of dialogs and widgets.
3202 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
3204 * gtk/gtk.symbols: added gtk_test_* symbols.
3206 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
3207 the build. generate gtktypefuncs.c which contains a list of all
3208 _get_type functions in Gtk+ and Gdk.
3210 2007-11-20 Bastien Nocera <hadess@hadess.net>
3212 * configure.in: add support for conditional icns gdk-pixbuf loader
3215 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
3217 * configure.in: updated version number to 2.15.0 for development.
3219 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
3221 === Branch for 2.12 ===