]> Pileus Git - ~andy/gtk/blob - ChangeLog
Build testmountoperation only on Unix for now.
[~andy/gtk] / ChangeLog
1 2008-03-18  Tor Lillqvist  <tml@novell.com>
2
3         * tests/Makefile.am: Build testmountoperation only on Unix for now.
4
5 2008-03-17  Christian Kellner  <gicmo@gnome.org>
6
7         Implement GtkMountOperation, a subclass of GMountOperation
8         to be used with gio wherever there is the need to ask the
9         user for credentials or questions while mounting a volume.
10         This is bug #522245
11
12         * gtk/gtkmountoperation.c:
13         * gtk/gtkmountoperation.h:
14         Implement GtkMountOperation.
15         
16         * gtk/gtk.h: Add gtkmountoperation.h
17         * gtk/Makefile.am: Add gtkmountoperation.[hc]
18         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
19         * tests/testmountoperation.c: Test program for it.
20         * tests/Makefile.am: Add testmountoperation.
21
22 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
23
24         * gtk/gtkcontainer.c: Properly document
25         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
26
27 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
28
29         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
30         style names for the ComboBox thickness style
31
32 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
33
34         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
35         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
36         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
37         intelligent separation for the xp theming engine and the classic
38         theme while drawing the GtkComboBox button.  combobox_draw_arrow
39         is not used anymore, commented.  The style has been updated to fix
40         border/thickness glitches in the combobox according to the fixes
41         commited regarding bug #521442. (bug #461805)
42
43 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
44
45         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
46         now aware of both the combobox and frame (if has-frame is set)
47         thickness and border. (bug #521442)
48
49 2008-03-15  Andre Klapper  <a9016009@gmx.de>
50
51         * configure.in: Added "si" to ALL_LINGUAS.
52
53 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
54
55         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
56         Set window type hint on the search popup.  (#522279, Danny Baumann)
57
58 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
59
60         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
61         appropriate.  (#521934, Huang Peng)
62
63 2008-03-14  Michael Natterer  <mitch@imendio.com>
64
65         * gdk/gdkspawn.h
66         * gtk/gtkbuilderprivate.h
67         * gtk/gtkfilechoosersettings.c
68         * gtk/gtksearchenginesimple.c
69         * gtk/tests/liststore.c
70         * gtk/tests/treestore.c: remove single-file includes of GLib
71         headers or replace them by <glib.h> where needed.
72
73 2008-03-14  Michael Natterer  <mitch@imendio.com>
74
75         * gtk/gtkadjustment.c: coding style cleanup.
76
77         (gtk_adjustment_set_property): no need to call g_object_notify()
78         on the set properties.
79
80         Implement GObject::dispatch_properties_changed() and make sure we
81         emit "changed" when anything but the "value" property changes.
82
83 2008-03-14  Tor Lillqvist  <tml@novell.com>
84
85         * gdk/win32/gdkevents-win32.c: Drop the support for the
86         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
87         Win95. Thanks to mitch for noticing this obsolete code.
88
89 2008-03-14  Cody Russell  <bratsche@gnome.org>
90
91         * examples/scribble-xinput/scribble-xinput.c: Changed
92         'void int main()' to 'int main()'. (#522211, Liqing Huang)
93         
94 2008-03-14  Richard Hult  <richard@imendio.com>
95
96         * gdk/quartz/gdkwindow-quartz.c:
97         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
98         only flush the toplevel once per update.
99
100 2008-03-13  Federico Mena Quintero  <federico@novell.com>
101
102         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
103         Set the mouse cursor of the feedback window to invisible, so that
104         we respect GtkEntry's invisible cursor while typing.
105
106 2008-03-13  Federico Mena Quintero  <federico@novell.com>
107
108         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
109         the feedback window at entry_height/2 pixels to the right of the
110         cursor, for a cheap "M-width / 2" spacing.
111
112 2008-03-13  Sven Neumann  <sven@gimp.org>
113
114         * gtk/gtkfilechooserdefault.c
115         * gtk/gtkprintunixdialog.c: set alternative button order for
116         overwrite confirmation dialogs (bug #522191).
117
118 2008-03-13  Sven Neumann  <sven@gimp.org>
119
120         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
121         (overwrite_confirmation_dialog): added some line-breaks for
122         readability.
123
124 2008-03-12  Federico Mena Quintero  <federico@novell.com>
125
126         Rework the way completion works in GtkFileChooserEntry.  Fixes
127         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
128         Tab completion should work even if the cursor is not at the end of
129         the entry.
130
131         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
132         completion.
133
134         We distinguish between two cases:
135
136                 - autocompletion - happens only in the Open modes by
137                   inserting and selecting the common prefix as you type.
138
139                 - explicit completion - happens when you hit Tab.
140
141         When some type of completion needs to happen, the entry first
142         parses its input and sees if it needs to initiate a folder load.
143         Completion will not happen until the folder finishes loading.
144
145         If the folder is already completely loaded, then completion is
146         performed immediately.  Otherwise, the entry queues a pending
147         completion and starts loading the new folder (or waits until the
148         current folder is completely loaded).
149
150         Tab completion is allowed to happen even if the cursor is not at
151         the end of the entry.
152
153         There is a new feedback mechanism for explicit completion, so that
154         you will get an Emacs-like tip whenever there are ambiguities in
155         completion, no matches, etc.  (This needs to be polished so that
156         we support RTL entries and all the fancy Pango layout in GtkEntry).
157
158         The only remaining thing to fix is the popup suggestion window.
159         Unfortunately, GtkEntryCompletion does not let us do what we want,
160         and will need further changes.
161
162 2008-03-12  Tor Lillqvist  <tml@novell.com>
163
164         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
165
166         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
167         for the TaskbarCreated message in the window procedure for the
168         dummy "tray observer" window we create. When we get a
169         TaskbarCreated message, iterate over the status icons and re-add
170         them to the task bar, and update them by calling
171         gtk_status_icon_update_image().
172
173         Move some ifdefs around to avoid unused functions.
174
175 2008-03-12  Tor Lillqvist  <tml@novell.com>
176
177         * config.h.win32.in: Update to match what configure produces.
178
179 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
180
181         * modules/printbackends/cups/gtkprintbackendcups.c:
182         (cups_printer_prepare_for_print): Don't define variables in the
183         middle of a block. (#522067)
184
185 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
186
187         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
188         dialog for print-to-file.  (#474302, Marek Kašík)
189
190 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
191
192         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
193         (#469210, Wouter Bolsterlee)
194
195 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
196
197         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
198         paper_size here.  (#488820, Morten Welinder)
199
200 2008-03-12  Michael Natterer  <mitch@imendio.com>
201
202         * acconfig.h: remove this deprecated file.
203
204         * configure.in: added comments to all instances of AC_DEFINE() so
205         config.h can be completely generated from configure.in.
206
207 2008-03-12  Michael Natterer  <mitch@imendio.com>
208
209         * modules/printbackends/cups/gtkprintbackendcups.c: include
210         <glib/gstdio.h> for g_fopen().
211
212 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
213
214         * modules/printbackends/cups/gtkprintbackendcups.c: Use
215         g_ascii_formatd when formatting custom paper sizes, since
216         cups doesn't handle , as decimal separator.  (#521548)
217
218 2008-03-11  Tor Lillqvist  <tml@novell.com>
219
220         Bug 469868 - Filenames with colon ":" are not saved correctly
221
222         * gtk/gtkfilechooserentry.c (insert_text_callback)
223         (delete_text_callback) [Win32]: New functions to make sure that
224         colons used otherwise than as a separator after a drive letter, or
225         characters that are always illegal in file names, are rejected on
226         input. This means that the GTK+ file chooser can't be used to
227         input full names of alternate data streams, but oh well. There are
228         still more checks that could be done on the file names, see the
229         bug report. But this will do for now.
230         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
231
232 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
233
234         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
235
236 2008-03-11  Michael Natterer  <mitch@imendio.com>
237
238         * gdk/linux-fb/*: removed linux-fb backend files.
239
240         * acconfig.h
241         * config.h.win32.in
242         * docs/README.linux-fb
243         * gtk/Makefile.am: remove remaining traces of linux-fb.
244
245         * gtk/gtkwindow-decorate.c: same here. There is some code that
246         calls into linux-fb to set window move/resize callbacks. I put it
247         in #if 0 as a reminder because we did use decorated windows with
248         the DirectFB backend and it did work, so I don't really know why
249         this code is needed or how it could work with DirectFB back then.
250         The file does actually compile now if DECORATE_WINDOWS is defined,
251         but I didn't test with DirectFB to check if it does anything.
252
253 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
254
255         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
256         Take thickness into account in the size allocation of the child widgets in
257         list mode.
258         Fixes #521442
259
260 2008-03-11  Richard Hult  <richard@imendio.com>
261
262         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
263
264 2008-03-10  Tor Lillqvist  <tml@novell.com>
265
266         * tests/teststatusicon.c (do_exit, popup_menu): Add the
267         possibility to test what happens if the process just calls exit()
268         without any orderly cleanup of GTK+.
269
270 2008-03-10  Tor Lillqvist  <tml@novell.com>
271
272         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
273
274 2008-03-10  Tor Lillqvist  <tml@novell.com>
275
276         Bug 520286 - Non-deletable window has no minimize / maximize buttons
277
278         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
279         New debugging output function that decodes a set of WS_* bits.
280
281         * gdk/win32/gdkprivate-win32.h: Declare it.
282
283         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
284         New function that enables or disables one menu entry in the system
285         menu of a top-level window. (The corresponding decoration will
286         then also be enabled or disabled (grayed).)
287
288         (update_style_bits): Do as the comment says and don't try to
289         update the window style based on the GdkWMFunctions set for the
290         window.
291                    
292         (update_system_menu): New function that enables or disables the
293         system menu entries based on a window's stored set of
294         GdkWMFunctions.
295
296         (gdk_window_set_functions): Call update_system_menu() instead of
297         update_style_bits().
298
299 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
300
301         * README.in: Reword the 2.14 release notes entry about the
302         deprecation of the gtkitemfactory.h header, and fix typos
303         and grammar.
304
305 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
306
307         * modules/engines/ms-windows/msw_style.c (draw_shadow):
308         Do not draw frame if parent if combobox.
309         (draw_box):
310         Uses scrollbar width system metrics for combobox button.
311         Fixes #461805 for XP theme engine.
312
313 2008-03-07  Johan Dahlin  <johan@gnome.org>
314
315         * gtk/gtkbuilder.c:
316         * gtk/gtkbuilderparser.c:
317         * gtk/gtkbuilderprivate.h:
318         * gtk/gtkiconfactory.c:
319         * tests/buildertest.c:
320         - Treat enums like enums and not values
321         - Avoid invalid free, in case of more than two sources
322         - Add better error messages
323         - Add much improved tests
324         (#520979, Christian Persch)
325
326 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
327
328         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
329         Fix build.
330
331 2008-03-06  Federico Mena Quintero  <federico@novell.com>
332
333         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
334         GtkFileChooserDialog should set a default response button if the
335         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
336
337         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
338         function, refactor from where there was duplicated code.
339         (gtk_file_chooser_dialog_map): Look at the buttons in our
340         action_area.  If the response ID for a button is one of the stock
341         ones, make it the default response button.
342
343 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
344
345         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
346         * gtk/gtkbuilder.c:
347         * gtk/gtkbuilderprivate.h:
348         * gtk/gtkiconfactory.c:
349         * tests/buildertest.c:
350         Implement GtkBuildable on GtkIconFactory, to make
351         it possible to register custom stock icons.
352         Fixes #517066
353
354 2008-03-06  Johan Dahlin  <johan@gnome.org>
355
356         Make gtk-doc happy:
357         
358         * gtk/gtkstyle.c: npoints->n_points.
359         * gtk/gtktestutils.h: widget->spinner
360         * gtk/gtktestutils.c: argc->argcp, argv->argvp
361
362 2008-03-06  William Lachance <wrlach@gmail.com>
363
364         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
365         string localizable (as it should be). 
366
367 2008-03-06  William Lachance <wrlach@gmail.com>
368
369         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
370         the time for today's date. It's redudant. (see bug #410517).
371
372 2008-03-06  Xan Lopez  <xan@gnome.org>
373
374         * gtk/gtkfixed.c: fix typo in documentation.
375
376 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
377
378         * gtk/gtkitemfactory.h:
379         * gtk/gtktypeutils.h:
380         Move GtkTranslateFunc to gtktypeutils.h so we can completely
381         deprecate gtkitemfactory.h. 
382
383         * gtk/gtkactiongroup.h:
384         * gtk/gtkstock.h:
385         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
386
387         * README.in: 
388         Add a note describing this slight incompatible change
389         
390 2008-03-06  Johan Dahlin  <johan@gnome.org>
391
392         * gtk/gtkpreview.h: Avoid double-deprecation.
393
394 2008-03-06  Michael Natterer  <mitch@imendio.com>
395
396         * gtk/gtk.h
397         * gtk/Makefile.am: move the remaining deprecated widgets to the
398         separate sections and replaced spaces by tabs in Makefile.am
399
400 2008-03-05  Johan Dahlin  <johan@gnome.org>
401
402         * configure.in: Add --disable-cups option.
403         (#513826, Alberto Ruiz)
404
405         * gtk/gtk.h: 
406         * gtk/Makefile.am:
407         Separate broken and deprecated sources and headers into different sections
408
409         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
410
411 2008-03-05  Kristian Rietveld  <kris@imendio.com>
412
413         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
414         short-circuit in case an empty root level would be build (and thus
415         directly destroyed) if no virtual root has been set.
416
417 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
418
419         * modules/printbackends/cups/gtkprintbackendcups.c: 
420         Honor cups user default options from ~/.cups/lpoptions
421         (#469210, Stijn Hoop)
422
423 2008-03-04  Michael Natterer  <mitch@imendio.com>
424
425         * gtk/gtkcellview.c
426         * gtk/gtkcolorbutton.c
427         * gtk/gtkentrycompletion.c
428         * gtk/gtkfontbutton.c
429         * gtk/gtkiconview.c
430         * gtk/gtkobject.c
431         * gtk/gtkpaned.c
432         * gtk/gtkpreview.c: don't include "gtksignal.h".
433
434         * gtk/gtkfilefilter.c
435         * gtk/gtkrecentchoosermenu.c
436         * gtk/gtkrecentfilter.c
437         * gtk/gtktext.c: don't include "gtkobject.h".
438
439 2008-03-04  Simos Xenitellis  <simos@gnome.org>
440
441         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
442         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
443         
444         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
445         same directory).
446         
447         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
448         file, contains compose sequences that used to exist in 
449         gtk/gtkimcontextsimple.c
450
451         * gtk/compose-parse.py: Script to generate compose 
452         sequences from upstream (Xorg).
453
454         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
455         check_algorithmically): New functions. First two search in
456         gtk_compose_seqs_compact[] for matching compose sequence, third
457         tries NFC normalisation on incoming compose sequence.
458         (gtk_im_context_simple_filter_keypress): 
459         Adds searching with check_compact_table(), check_algorithmically().
460
461 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
462
463         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
464         scrollwheel work in GtkPathBar.
465
466         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
467
468         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
469         an input-only window, event_window, which we'll use to capture
470         scroll events.
471         (gtk_path_bar_map): Show the event_window under the rest of the
472         windows, so it will be a catch-all for unhandled events.
473
474 2008-03-03  Sven Neumann  <sven@gimp.org>
475
476         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
477         typo in the documentation of the GtkFileChooserButtons::file-set
478         signal (see bug #353196).
479
480 2008-03-03  Tor Lillqvist  <tml@novell.com>
481
482         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
483         location.
484
485 2008-03-02  Johan Dahlin  <johan@gnome.org>
486
487         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
488         Remove left-over focus_pad variable.
489         (#490892, Claudio Saavedra)
490
491         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
492         (#518166, Matt Kraai)
493
494 2008-03-02  Johan Dahlin  <johan@gnome.org>
495
496         * docs/tutorial/gtk-tut.sgml: Add a missing space
497         (#517954, Matt Kraai)
498
499 2008-03-03  Tor Lillqvist  <tml@novell.com>
500
501         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
502         the widget is a GtkButton before casting.
503
504 2008-03-02  Johan Dahlin  <johan@gnome.org>
505
506         * configure.in: Compare using = instead of ==, which is portable.
507         (#490787, Thomas Klausner)
508
509 2008-03-02  Johan Dahlin  <johan@gnome.org>
510
511         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
512         fixes non-C++ build.
513         (#496032, Nelson Benitez)
514
515 2008-02-29  Johan Dahlin  <johan@gnome.org>
516
517         * demos/gtk-demo/demo.ui:
518         * gtk/gtkbuilderparser.c:
519         * gtk/gtkbuilderprivate.h:
520         * gtk/gtkliststore.c:
521         * tests/buildertest.c:
522         Add translatable/context and comment attributes on
523         <col> tags under a GtkListStore. Refactor parts of the
524         translation api and make it available inside gtk+ itself.
525         Update tests and example.
526         Fixes a part of #518642
527
528 2008-02-29  Johan Dahlin  <johan@gnome.org>
529
530         * gtk/gtkbuilder.c:
531         Add missing g_return_val_if_fail checks for public API.
532
533         * gtk/gtkbuilderparser.c:
534         * gtk/gtkbuilderprivate.h:
535         Do not use g_error for a few more errors, instead set
536         the GError sent in through add_from_file/add_from_string.
537         * tests/buildertest.c:
538         Add a couple of new parsing tests.
539         (#519199, Pavel Syomin)
540
541 2008-02-29  Federico Mena Quintero  <federico@novell.com>
542
543         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
544         refreshing an existing folder (i.e. when we are about to reload
545         its file list), turn off the folder's is_finished_loading flag.
546         Otherwise callers which do ::is_finished_loading() followed by
547         ::list_children() will get nothing.
548
549 2008-02-29  Cody Russell  <bratsche@gnome.org>
550
551         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
552         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
553
554 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
555
556         * gtk/gtkcalendar.h: Remove trailing comma from enum to
557         make the compiler happy.  (#517295, Sylvain Pasche)
558
559 2008-02-27  Michael Natterer  <mitch@imendio.com>
560
561         * gtk/gtkmenushell.c
562         * gtk/gtktable.c
563         * gtk/gtktext.c
564         * gtk/gtktipsquery.c
565         * gtk/gtktoolbar.c
566         * gtk/gtktreeitem.c
567         * gtk/gtktreeview.c
568         * gtk/gtkviewport.c
569         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
570         private functions and virtual function implementations.
571
572 2008-02-27  Richard Hult  <richard@imendio.com>
573
574         * gdk/quartz/GdkQuartzView.c:
575         * gdk/quartz/GdkQuartzView.h:
576         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
577         Fix performance regression for borderless transparent windows
578         with shadow.
579
580 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
581
582         * tests/testgtk.c: Revert back to r19454.
583
584 2008-02-27  Sven Neumann  <sven@gimp.org>
585
586         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
587         Quartz backend, use a native Mac OS X application for the print
588         preview (bug #518624).
589
590 2008-02-26  Michael Natterer  <mitch@imendio.com>
591
592         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
593         the members of info->tag_stack since they are a) gobjects and b)
594         not even owned by us, ugh... Fixes crash when deserializing fails.
595
596 2008-02-26  Sven Neumann  <sven@gimp.org>
597
598         * docs/tools/shooter.c (find_toplevel_window)
599         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
600         argument passed to XQueryTree().
601
602 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
603
604         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
605         don't use beagle_query_add_hit_type.
606
607 2008-02-25  Richard Hult  <richard@imendio.com>
608
609         * gdk/quartz/gdkevents-quartz.c
610         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
611
612 2008-02-24  Richard Hult  <richard@imendio.com>
613
614         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
615         shown without gdk's control when clicking the dock icon.
616
617 2008-02-24  Richard Hult  <richard@imendio.com>
618
619         * gdk/quartz/gdkprivate-quartz.h:
620         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
621         Use the subtype field for the custom event that is used to wake up
622         the mainloop so we can have other custom event types.
623
624         * gdk/quartz/gdkevents-quartz.c:
625         (_gdk_quartz_events_trigger_crossing_events):
626         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
627         crossing events after showing a window if necessary, to work
628         around problems with the tracking rect API.
629
630 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
631
632         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
633         wrong results on win32 because it doesn't set the printing units, 
634         which affect the transformation of the cairo context 
635         (#347125, Erik van Pienbroek)
636
637 2008-02-22  Tor Lillqvist  <tml@novell.com>
638
639         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
640
641 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
642
643         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
644         acceptable for a module to only support the save_to_callback()
645         method if it marks itself as WRITABLE
646
647 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
648         
649         * configure.in: Bump version
650
651 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
652
653         * === Released 2.13.0 ===
654
655         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
656
657 2008-02-21  Tor Lillqvist  <tml@novell.com>
658
659         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
660         pass the format string to strftime in the C library's locale's
661         charset, not the system's. Correspondingly, the return value from
662         strftime() is in the C library's locale's charset. (#509885)
663
664 2008-02-20  Richard Hult  <richard@imendio.com>
665
666         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
667         the right window level and shadow after recreating the window.
668
669         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
670         necessary after drawing (bug #517338).
671
672 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
673
674         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
675         call to g_type_class_unref in case of error. (#517563)
676
677 2008-02-18  Sven Neumann  <sven@gimp.org>
678
679         * gtk/Makefile.am (STOCK_ICONS)
680         * gtk/stock-icons/16/gtk-page-setup.png
681         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
682         taken from GNOME icon theme.
683
684         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
685
686 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
687
688         * configure.in: Added Kannada (kn) to ALL_LINGUAS
689
690 2008-02-17  Johan Dahlin  <johan@gnome.org>
691
692         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
693         When converting a stock item based on the label, remove the label property.
694
695 2008-02-17  Richard Hult  <richard@imendio.com>
696
697         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
698         position after showing the window since the window manager might
699         not place it where we requested in the first places.
700
701 2008-02-17  Richard Hult  <richard@imendio.com>
702
703         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
704         (_gdk_quartz_window_detach_from_parent),
705         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
706         the toplevel ordering list in all places where the order is
707         potentially changed. Fixes mouse focus issues for windows with
708         a transient parent set.
709
710 2008-02-17  Richard Hult  <richard@imendio.com>
711
712         * gdk/quartz/gdkevents-quartz.c
713         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
714         window when event debugging is enabled.
715
716 2008-02-16  Richard Hult  <richard@imendio.com>
717
718         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
719         to the scroll event (bug #516757, Paul Davis).
720
721 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
722
723         * NEWS: Updates
724
725 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
726
727         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
728         Teppo Turtiainen)
729
730 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
731
732         * gdk/Makefile.am: Don't install private headers. (#463510)
733
734         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
735         the installed header gdkprivate.h.
736
737 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
738
739         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
740         a crash with hidden, reorderable tabs.  (#513230, 
741         Mike Massonnet, patch by Carlos Garnacho)
742
743 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
744
745         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
746         Warn on duplicate action group names.  (#501746, Christian
747         Persch)
748
749 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
750
751         * gtk/Makefile.am:
752         * modules/other/gail/tests/Makefile.am:
753         * modules/other/gail/libgail-util/Makefile.am:
754         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
755         builds.  (#516254,  Yevgen Muntyan)
756
757 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
758
759         * gtk/gtkentry.c:
760         * gtk/gtkfilesel.c:
761         * gtk/gtklabel.c:
762         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
763         instead of hardcoded target tables.  (#516092, Christian Persch)
764
765 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
766
767         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
768         add the same target atom twice.  (#516087, Christian Persch)
769
770 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
771
772         * tests/testfilechooser.c: Add a --backend option.
773         (#516073, Christian Persch)
774
775 2008-02-16  Richard Hult  <richard@imendio.com>
776
777         * gdk/quartz/gdkprivate-quartz.h:
778         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
779         gdkwindow.
780
781 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
782
783         * configure.in: Go back to 2.13.0 as version for now,
784         as there was no consensus to do the jump.
785
786         * many other places: Update Since: tags.
787
788 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
789
790         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
791
792         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
793
794 2008-02-15  Richard Hult  <richard@imendio.com>
795
796         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
797         instead of bounds when resizing windows.
798
799 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
800
801         * gdk/x11/gdkkeys-x11.c:
802         * gdk/x11/gdkcolor-x11.c:
803         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
804
805 2008-02-15  Matthias Clasen <mclasen@redhat.com>
806
807         * gdk/x11/gdktestutils-x11.c:
808         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
809
810 2008-02-15  Tor Lillqvist  <tml@novell.com>
811
812         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
813         leak Registry key handles. (#516578)
814
815 2008-02-14  Richard Hult  <richard@imendio.com>
816
817         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
818         makeKeyWindow unfortunately doesn't work in all cases, we must use
819         makeKeyAndOrderFront.
820
821 2008-02-14  Richard Hult  <richard@imendio.com>
822
823         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
824         (gdk_window_hide), (gdk_window_fullscreen),
825         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
826         the window is hidden.
827
828 2008-02-14  Richard Hult  <richard@imendio.com>
829
830         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
831         resizing to be consistent and to avoid introducing an internal
832         transform in the view.
833
834 2008-02-14  Richard Hult  <richard@imendio.com>
835
836         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
837         fix.
838
839 2008-02-14  Johan Dahlin  <johan@gnome.org>
840
841         * gdk/gdktestutils.h
842         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
843
844 2008-02-13  Richard Hult  <richard@imendio.com>
845
846         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
847         Remove unused variables.
848         (gtk_clipboard_set_contents),
849         (gtk_clipboard_get_owner), (clipboard_unset),
850         (gtk_clipboard_request_targets): Notify the previous clipboard
851         owner when the owner changes. Fixes bug #493406.
852         
853 2008-02-13  Richard Hult  <richard@imendio.com>
854
855         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
856         the return value (return number of colors that failed), and handle
857         RGBA colormap.
858         (gdk_colormap_free_colors): Fix typo in comment.
859
860 2008-02-13  Kristian Rietveld  <kris@imendio.com>
861
862         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
863         queue a redraw if the rubber banding has actually been active.
864
865 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
866
867         * gtk/gtkpapersize.c:
868         * gtk/gtkprintoperation.c:
869         * gtk/gtkvolumebutton.c:
870         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
871         out by Behdad Esfahbod.
872
873 2008-02-12  Federico Mena Quintero  <federico@novell.com>
874
875         Merged from gtk-2-12:
876
877         Don't focus the file list when shortcuts get activated.  This
878         removes a lot of ambiguity in when the file selection should
879         change, and makes the overall code flow simpler.
880
881         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
882         file/save dialog clears the filename entry when changing
883         directories.
884
885         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
886         focus should not go to the file list when a shortcut is activated.
887
888         * gtk/gtkfilechooserdefault.c
889         (shortcuts_activate_volume_mount_cb): Don't focus the file list
890         (shortcuts_activate_get_info_cb): Likewise.
891
892         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
893         the file list (this was the last place where we would focus the
894         file list explicitly).  If you are in the location entry, for
895         example, you don't want Alt-Home to take you to the file list; you
896         just want the current folder to change.  Thanks to Olle Bergkvist
897         <olle.bergkvist@yahoo.se> for pointing this out in
898         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
899         (focus_browse_tree_view_if_possible): Removed.
900
901 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
902
903         Skip exensions when selecting filenames in the save-as dialog.
904         (#362516, Carlos Garnacho)
905
906         * gtk/gtkfilechooserentry.h:
907         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
908         New function to skip the extension part when selecting a filename.
909         (_gtk_file_chooser_entry_set_base_folder): Use it here.
910
911         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
912         ...and here.
913
914 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
915
916         * gtk/gtkiconview.c: Fix state change reporting for 
917         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
918
919 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
920
921         * gtk/gtkrecentchooser.c:
922         (gtk_recent_chooser_class_init): Set the default value of the
923         :show-not-found property to TRUE, as every implementation sets
924         it to TRUE already.
925
926         * gtk/gtkrecentchooserdefault.c:
927         (_gtk_recent_chooser_default_init): Sync show_tips to the
928         default value of the :show-tips property.
929
930 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
931
932         * gtk/gtkclipboard-quartz.c:
933         * gtkquartz.c:
934         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
935         Christian Persch)
936
937 2008-02-12  Kristian Rietveld  <kris@imendio.com>
938
939         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
940         (gtk_tree_view_real_toggle_cursor_row): guard against people
941         deleting the row in question in the selection-changed callback.
942         (#514621, Andreas Koehler).
943
944 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
945
946         * gtk/*.c: Unify the handling of various "Enter" keysyms
947         all over the place.  (#515047, Christian Persch)
948
949 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
950
951         * gtk/gtkfilesystemmodel.c:
952         * gtk/gtkprinter.c:
953         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
954         appropriate.  (#515042, Christian Persch)
955
956 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
957
958         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
959         
960 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
961
962         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
963
964 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
965
966         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
967         (recent_model_sort_drag_data_get):
968         (search_model_sort_drag_data_get):
969         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
970         * gtk/gtkpathbar.c (button_drag_data_get_cb):
971         Use gtk_selection_data_set_uris() instead of doing it
972         by hand.  (#514890, Christian Persch)
973
974 2008-02-12  Michael Natterer  <mitch@imendio.com>
975
976         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
977         gtk_get_current_event_time().
978
979 2008-02-12  Michael Natterer  <mitch@imendio.com>
980
981         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
982         gtk_window_get_key_hash() to get the hash instead of manually
983         fiddling with quarks and gtk_window_keys_changed(). Also add
984         g_return_if_fail() to this public function.
985
986 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
987
988         Support keynav in status icons.  (#473786, Li Yuan)
989
990         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
991
992         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
993
994 2008-02-11  Kristian Rietveld  <kris@imendio.com>
995
996         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
997         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
998         wrt. link deletion from list; contination of fix for #503569.
999
1000 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
1001
1002         * gtk/gtkrecentchoosermenu.c:
1003         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
1004         on the placeholder menu item.
1005
1006         * tests/testrecentchoosermenu.c:
1007         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
1008         whether the placeholder menu item gets shown.
1009
1010 2008-02-10  Cody Russell  <bratsche@gnome.org>
1011
1012         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
1013         Check the return value of _gtk_file_chooser_get_file_system () for
1014         NULL before passing it to gtk_file_system_path_to_uri ().
1015         (#515667, Francesco Montorsi)
1016
1017 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
1018
1019         * gtk/gtkbuilder.c: Improve the documentation for
1020         gtk_builder_connect_signals. (#514471)
1021
1022 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
1023
1024         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
1025         Jonh Wendell)
1026
1027 2008-02-08  Cody Russell  <bratsche@gnome.org>
1028
1029         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
1030         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
1031
1032 2008-02-08  Richard Hult  <richard@imendio.com>
1033
1034         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
1035         delta from the NSEvent for now, generating multiple scroll events
1036         results in a lot of events getting queued up and things get really
1037         slow.
1038
1039 2008-02-08  Sven Herzberg  <sven@imendio.com>
1040
1041         Adjust the code to match the documentation, examples, "common sense"
1042         and existing applications.
1043
1044         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
1045         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
1046         assigned
1047
1048 2008-02-07  Cody Russell  <bratsche@gnome.org>
1049
1050         * gdk/win32/gdkevents-win32.c
1051         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
1052         of a block that were causing compile problems on old
1053         compilers. (#515053, reported by Kazuki IWAMOTO)
1054         
1055 2008-02-07  Michael Natterer  <mitch@imendio.com>
1056
1057         * gtk/gtkcellview.c
1058         * gtk/gtklabel.c
1059         * gtk/gtklayout.c
1060         * gtk/gtklist.c
1061         * gtk/gtkmenu.c
1062         * gtk/gtkmenushell.c
1063         * gtk/gtkmisc.c
1064         * gtk/gtkoptionmenu.c
1065         * gtk/gtkplug.c
1066         * gtk/gtkpreview.c
1067         * gtk/gtkprogress.c
1068         * gtk/gtkradiomenuitem.c
1069         * gtk/gtkscale.c
1070         * gtk/gtkscrolledwindow.c
1071         * gtk/gtksocket.c: remove g_return_if_fail() from private
1072         functions and virtual function implementations.
1073
1074 2008-02-07  Michael Natterer  <mitch@imendio.com>
1075
1076         * gtk/gtkaction.c
1077         * gtk/gtkassistant.c
1078         * gtk/gtkbin.c
1079         * gtk/gtkbox.c
1080         * gtk/gtkcalendar.c
1081         * gtk/gtkcellrenderercombo.c
1082         * gtk/gtkcombobox.c
1083         * gtk/gtkcombo.c
1084         * gtk/gtkdrawingarea.c
1085         * gtk/gtkentrycompletion.c
1086         * gtk/gtkfixed.h
1087         * gtk/gtkgamma.c
1088         * gtk/gtkhpaned.c
1089         * gtk/gtkiconview.c
1090         * gtk/gtkitem.c
1091         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
1092         functions and virtual function implementations.
1093
1094 2008-02-07  Christian Persch  <chpe@gnome.org>
1095
1096         * gdk/gdkpixbuf-render.c:
1097         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
1098         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
1099         otherwise there will be random pixel values in the semi-transparent
1100         area of the pixbuf within the mask. Bug #487865.
1101
1102 2008-02-06  Cody Russell  <bratsche@gnome.org>
1103
1104         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
1105         otherwise things get wonky when you click on a menu.  This fixes
1106         a regression caused in #505928.  Thanks to Tor for spotting this
1107         one!  (#514789)
1108
1109 2008-02-06  Michael Natterer  <mitch@imendio.com>
1110
1111         * gtk/gtkcontainer.c
1112         * gtk/gtkexpander.c
1113         * gtk/gtkframe.c
1114         * gtk/gtklabel.c
1115         * gtk/gtkmain.c
1116         * gtk/gtkmenu.c
1117         * gtk/gtkmenuitem.c
1118         * gtk/gtkmenushell.c
1119         * gtk/gtknotebook.c
1120         * gtk/gtkseparatortoolitem.c
1121         * gtk/gtksocket.c
1122         * gtk/gtktextlayout.c
1123         * gtk/gtktoggletoolbutton.c
1124         * gtk/gtktoolbutton.c
1125         * gtk/gtktoolitem.c
1126         * gtk/gtktree.c
1127         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
1128         "GTK_IS_FOO (foo)".
1129
1130 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1131
1132         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
1133         Allow to store half-open ranges.
1134
1135 2008-02-05  Cody Russell  <bratsche@gnome.org>
1136
1137         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
1138         down the stack until we get to a window that is mapped.
1139         Otherwise hiding a window will cause all windows in the app
1140         to be blocked. (#514643)
1141
1142 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1143
1144         * gtk/updateiconcache.c: Ignore images in the toplevel theme
1145         directory, avoiding one source of invalid caches that has been
1146         spotted in the wild.
1147
1148 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1149
1150         * gtk/updateiconcache.c: Fix the previous commit to compile.
1151
1152 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
1153
1154         * gtk/updateiconcache.c: Install a printerr handler that
1155         prepends the program name, since gtk-update-icon-cache output
1156         often appears in the middle of other output, e.g. rpm update logs.
1157
1158 2008-02-05  Cody Russell  <bratsche@gnome.org>
1159
1160         * gdk/win32/gdkprivate-win32.h
1161         * gdk/win32/gdkevents-win32.c
1162         * gdk/win32/gdkwindow-win32.c
1163         * gdk/win32/gdkwindow-win32.h
1164         * gdk/win32/gdkwin32.h:
1165         Modal window rework.  (#455627 and #511111)
1166
1167 2008-02-04  Michael Natterer  <mitch@imendio.com>
1168
1169         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
1170         g_return_if_fail() if the cell is not part of the combo instead of
1171         crashing in the next line.
1172
1173 2008-02-01  Cody Russell  <cody@jhu.edu>
1174
1175         * modules/engines/ms-windows/xp_theme.[ch]
1176         * modules/engines/ms-windows/xp_theme_defs.h
1177         * modules/engines/ms-windows/msw_rc_style.c
1178         * modules/engines/ms-windows/msw_theme_main.c
1179         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
1180         attempted to stylize more like the rest of the gtk+ stack's code.
1181
1182 2008-02-01  Michael Natterer  <mitch@imendio.com>
1183
1184         * tests/testgtk.c: initialize GdkColor structs to fix warning
1185         about uninitialized "pixel" member.
1186
1187         * tests/testactions.c: connect the toolbar_style() callback so it
1188         does something useful and doesn't warn about being defined but not
1189         used.
1190
1191 2008-01-31  Cody Russell  <bratsche@gnome.org>
1192
1193         * gdk/win32/gdkevents-win32.c:
1194         Refactored some of the window hiding/showing code from
1195         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
1196         under WM_ACTIVATE was causing the application to go into
1197         a weird state when the user right-clicked on the taskbar
1198         entry of a window that was minimized.  (#505928)
1199         
1200 2008-01-31  Cody Russell  <bratsche@gnome.org>
1201
1202         * gtk/gtkpaned.c (gtk_paned_set_position):
1203         Change queue_resize() to queue_draw(), and add a check for
1204         child2 != NULL in case someone calls this before there is
1205         a child packed in there.  (#144269 again)
1206
1207 2008-01-31  Sven Neumann  <sven@gimp.org>
1208
1209         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
1210         applied patch from Denis Oliver Kropp <dok@directfb.org>.
1211
1212 2008-01-31  Sven Neumann  <sven@gimp.org>
1213
1214         * gdk/directfb/gdkdisplay-directfb.c
1215         * gdk/directfb/gdkdrawable-directfb.c
1216         * gdk/directfb/gdkprivate-directfb.h
1217         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1218         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
1219
1220 2008-01-31  Richard Hult  <richard@imendio.com>
1221
1222         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
1223         issues with undecorated windows. Revert the change done on
1224         2008-01-25 and fix it by using the view's bounds instead. The
1225         bounds will always be up to date when setting up the tracking
1226         rect, so this should be more robust.
1227
1228 2008-01-30  Sven Neumann  <sven@gimp.org>
1229
1230         * gdk/directfb/gdkdrawable-directfb.c
1231         * gdk/directfb/gdkwindow-directfb.c
1232         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
1233         Oliver Kropp <dok@directfb.org>. Adds debug messages using
1234         DirectFB's debugging system
1235
1236 2008-01-30  Sven Neumann  <sven@gimp.org>
1237
1238         * gdk/directfb/gdkdirectfb.h
1239         * gdk/directfb/gdkdisplay-directfb.c
1240         * gdk/directfb/gdkdrawable-directfb.c
1241         * gdk/directfb/gdkim-directfb.c
1242         * gdk/directfb/gdkimage-directfb.c
1243         * gdk/directfb/gdkinput-directfb.c
1244         * gdk/directfb/gdkmain-directfb.c
1245         * gdk/directfb/gdkpixmap-directfb.c
1246         * gdk/directfb/gdktestutils-directfb.c
1247         * gdk/directfb/gdkvisual-directfb.c
1248         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1249         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1250         errors and has some cleanups.
1251
1252 2008-01-30  Michael Natterer  <mitch@imendio.com>
1253
1254         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1255         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1256         aliasing warning.
1257
1258         * gtk/updateiconcache.c (add_string): cast const gchar* to
1259         gpointer when inserting in a GHashTable.
1260
1261         * tests/testcalendar.c (calendar_detail_cb): remove const from
1262         return value since it's a newly allocated string.
1263
1264         (calendar_update_details): free the detail.
1265
1266 2008-01-29  Johan Dahlin  <johan@gnome.org>
1267
1268         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1269         (do_builder):
1270         * demos/gtk-demo/demo.ui:
1271         Move the about dialog to the glade file, add accessible tags
1272         examples to the markup file.
1273
1274 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
1275
1276         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1277         layout, fixes #512375.
1278
1279 2008-01-28  Michael Natterer  <mitch@imendio.com>
1280
1281         * gtk/gtktextchild.c
1282         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1283
1284 2008-01-28  Michael Natterer  <mitch@imendio.com>
1285
1286         * demos/gtk-demo/builder.c (about_activate): use
1287         gtk_about_dialog_set_program_name() instead of the deprecated
1288         set_name().
1289
1290 2008-01-28  Michael Natterer  <mitch@imendio.com>
1291
1292         * gtk/gtktextchild.c
1293         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1294         is deprecated now).
1295
1296 2008-01-26  Johan Dahlin  <johan@gnome.org>
1297
1298         * tests/Makefile.am:
1299         * tests/textbuffertest.c:
1300         Rename textbuffer test and port it to the new test framework
1301         
1302 2008-01-25  Johan Dahlin  <johan@gnome.org>
1303
1304         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1305         unsetting of GTK_MODULES.
1306
1307         * gtk/gtk-builder-convert
1308         (GtkBuilderConverter._convert_adjustment): Handle the case where
1309         there is no child text node.
1310         (GtkBuilderConverter): Allow xml comments in most places.
1311
1312 2008-01-25  Johan Dahlin  <johan@gnome.org>
1313
1314         * gtk/gtk-builder-convert
1315         (GtkBuilderConverter._convert_combobox_items): Remove the items
1316         even if there are no items set.
1317         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1318         signals and tooltips for all menu items subclasses and 
1319         GtkImageMenuItem:label. 
1320         Makes it possible to fully convert and run Jokosher.glade.
1321
1322 2008-01-25  Johan Dahlin  <johan@gnome.org>
1323
1324         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1325         (gtk_widget_buildable_get_internal_child), (free_action),
1326         (free_relation), (gtk_widget_buildable_parser_finished),
1327         (accessibility_start_element),
1328         (gtk_widget_buildable_custom_tag_start),
1329         (gtk_widget_buildable_custom_finished):
1330         Implement accessible support, fixes #454653.
1331
1332         * gtk/gtk-builder-convert:
1333         Add support for migrating old glade files
1334         
1335         * tests/buildertest.c: (test_widget), (test_file):
1336         Add accessible tests and imprve the test_file function to display
1337         toplevels and run dialogs.
1338
1339 2008-01-25  Richard Hult  <richard@imendio.com>
1340
1341         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1342         didn't change, fixes focus event issues for undecorated windows.
1343
1344 2008-01-25  Richard Hult  <richard@imendio.com>
1345
1346         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1347         const and remove unused variables).
1348
1349 2008-01-25  Michael Natterer  <mitch@imendio.com>
1350
1351         * gtk/gtkbutton.h
1352         * gtk/gtkcellrenderer.h
1353         * gtk/gtkimcontext.h
1354         * gtk/gtkstyle.h
1355         * gtk/gtktoolbar.h
1356         * gtk/gtktooltip.h
1357         * gtk/gtktreeprivate.h
1358         * gtk/gtktreeviewcolumn.h
1359         * gtk/gtkwidget.h: add const to constant structs which are passed
1360         into GTK+. Also add some forgotten const for const strings.
1361         Fixes bug #511554.
1362
1363         * gtk/gtkbutton.c
1364         * gtk/gtkcellrenderer.c
1365         * gtk/gtkimcontext.c
1366         * gtk/gtkstyle.c
1367         * gtk/gtktoolbar.c
1368         * gtk/gtktooltip.c
1369         * gtk/gtktreeview.c
1370         * gtk/gtktreeviewcolumn.c
1371         * gtk/gtkwidget.c: changed accordingly.
1372
1373 2008-01-25  Sven Herzberg  <sven@imendio.com>
1374
1375         Reviewed by Johan Dahlin.
1376
1377         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1378         this is called with something that's not a GtkUIManager
1379
1380 2008-01-24  Johan Dahlin  <johan@gnome.org>
1381
1382         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
1383         Chain up to parent, so widgets can have internal children.
1384
1385 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1386
1387         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1388         IWAMOTO).
1389
1390         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1391
1392 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1393
1394         Use pango_layout_set_height() for calendar details (#506049).
1395
1396         * configure.in: Require 1.19.3 for pango_layout_set_height().
1397         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1398
1399 2008-01-18  Johan Dahlin  <johan@gnome.org>
1400
1401         * gtk/gtk-builder-convert (get_property_node): New method
1402         (GtkBuilderConverter._create_object): Conditionally take a node as
1403         a property value, so don't lose translate/context attributes if they
1404         are set. 
1405         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1406         property values instead of strings.
1407         (#509153, Erik van Pienbroek)
1408
1409 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
1410
1411         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1412
1413         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1414         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1415         * tests/testcalendar.c: Duplicate calendar details before returning.
1416
1417 2008-01-16  Christian Persch  <chpe@gnome.org>
1418
1419         * gtk/gtkwidget.c: Store the event mask and extension event mode
1420         directly in the gobject data pointer, instead of in an allocated
1421         gint. Bug #506604.
1422
1423 2008-01-16  Michael Natterer  <mitch@imendio.com>
1424
1425         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1426         gdk-pixbuf now uses gio functions.
1427
1428 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
1429
1430         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1431         the notify::model signal.  (#509819, David Zeuthen)
1432
1433 2008-01-15  Michael Natterer  <mitch@imendio.com>
1434
1435         * gdk/gdkdisplay.h
1436         * gdk/gdkdrawable.h
1437         * gdk/gdkevents.h
1438         * gdk/gdkpango.h
1439         * gdk/gdkregion.h
1440         * gdk/gdkrgb.h
1441         * gdk/gdkwindow.h: made more struct pointer and array parameters
1442         const. GDK should now be constified as far as possible without
1443         breaking source compatibility. Includes some minor cleanup like
1444         indentation and s/nfoo/n_foo/ (bug #508544).
1445
1446         * gdk/gdkdisplay.c
1447         * gdk/gdkdraw.c
1448         * gdk/gdkevents.c
1449         * gdk/gdkpango.c
1450         * gdk/gdkregion-generic.c
1451         * gdk/gdkrgb.c
1452         * gdk/directfb/gdkdisplay-directfb.c
1453         * gdk/directfb/gdkwindow-directfb.c
1454         * gdk/quartz/gdkdisplay-quartz.c
1455         * gdk/quartz/gdkwindow-quartz.c
1456         * gdk/win32/gdkdisplay-win32.c
1457         * gdk/win32/gdkwindow-win32.c
1458         * gdk/x11/gdkdisplay-x11.c
1459         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1460
1461 2008-01-14  Michael Natterer  <mitch@imendio.com>
1462
1463         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1464         const warning.
1465
1466         (gtk_rc_parse_any): change variables to const and introduce
1467         another local variable to fix const warnings.
1468
1469 2008-01-14  Michael Natterer  <mitch@imendio.com>
1470
1471         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1472         of gdk_screen_get_font_options() to gpointer to get rid of const
1473         warning.
1474
1475 2008-01-14  Michael Natterer  <mitch@imendio.com>
1476
1477         * tests/testdnd.c (source_drag_data_get): fix another call to
1478         gtk_selection_data_set().
1479
1480 2008-01-14  Michael Natterer  <mitch@imendio.com>
1481
1482         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1483         signedness warning.
1484
1485 2008-01-14  Michael Natterer  <mitch@imendio.com>
1486
1487         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1488
1489 2008-01-14  Michael Natterer  <mitch@imendio.com>
1490
1491         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1492         "uris" to guchar* when passing it to gtk_selection_data_set().
1493
1494 2008-01-14  Michael Natterer  <mitch@imendio.com>
1495
1496         * gdk/gdk.h
1497         * gdk/gdkcairo.h
1498         * gdk/gdkcolor.h
1499         * gdk/gdkgc.h
1500         * gdk/gdkinternals.h
1501         * gdk/gdkregion.h
1502         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1503         parameters const (bug #508544).
1504
1505         * gdk/gdkcairo.c
1506         * gdk/gdkgc.c
1507         * gdk/gdkwindow.c
1508         * gdk/gdkrectangle.c
1509         * gdk/gdkpolyreg-generic.c
1510         * gdk/gdkregion-generic.c
1511         * gdk/directfb/gdkcolor-directfb.c
1512         * gdk/directfb/gdkgc-directfb.c
1513         * gdk/directfb/gdkgeometry-directfb.c
1514         * gdk/directfb/gdkwindow-directfb.c
1515         * gdk/quartz/gdkcolor-quartz.c
1516         * gdk/quartz/gdkgc-quartz.c
1517         * gdk/quartz/gdkgeometry-quartz.c
1518         * gdk/quartz/gdkwindow-quartz.c
1519         * gdk/win32/gdkcolor-win32.c
1520         * gdk/win32/gdkgc-win32.c
1521         * gdk/win32/gdkgeometry-win32.c
1522         * gdk/win32/gdkprivate-win32.h
1523         * gdk/win32/gdkwindow-win32.c
1524         * gdk/x11/gdkcolor-x11.c
1525         * gdk/x11/gdkgc-x11.c
1526         * gdk/x11/gdkgeometry-x11.c
1527         * gdk/x11/gdkmain-x11.c
1528         * gdk/x11/gdkprivate-x11.h
1529         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1530
1531         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1532         headers.
1533
1534 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
1535
1536         Explain name choice for gtk_tool_item_toolbar_reconfigured.
1537
1538         * gtk/gtktoolitem.c: Add comment expaining name choice for
1539         gtk_tool_item_toolbar_reconfigured.
1540
1541 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
1542
1543         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1544         implementations to notify its children, when some aspect of their
1545         configuration changed (#509042).
1546
1547         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1548         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1549         Rename _gtk_tool_item_toolbar_reconfigured.
1550
1551 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
1552
1553         Include <gtk/gtktoolshell.h> from gtk.h.
1554
1555         * gtk/gtk.h: Add gtktoolshell.h
1556
1557 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
1558
1559         Print angle brackets arround e-mail addresses in the about dialog
1560         (#409520, Mariano Suárez-Alvarez).
1561
1562         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1563
1564 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
1565
1566         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1567         special casing so test widgets are always queues for destruction
1568         during teardown.
1569
1570         * gtk/tests/testing.c: removed bits left-over from testing without
1571         gtestutils.h.
1572
1573 2008-01-10  Tor Lillqvist  <tml@novell.com>
1574
1575         * modules/other/gail/libgail-util/Makefile.am
1576         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1577         gdktargetlib.
1578         
1579 2008-01-10  Tor Lillqvist  <tml@novell.com>
1580
1581         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1582         uses gtkprintunixdialog API.
1583
1584 2008-01-10  Tor Lillqvist  <tml@novell.com>
1585
1586         * gdk/win32/gdkdisplay-win32.c
1587         * gdk/win32/gdkglobals-win32.c
1588         * gdk/win32/gdkprivate-win32.h
1589         * gdk/win32/gdkscreen-win32.c
1590         * gdk/win32/gdkwindow-win32.c: Implement
1591         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1592         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1593         Iwamoto. (#505753)
1594
1595 2008-01-10  Cody Russell  <bratsche@gnome.org>
1596
1597         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1598         Properly ref/unref windows and parents.  (#506769)
1599
1600 2008-01-10  Richard Hult  <richard@imendio.com>
1601
1602         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1603         (gdk_window_hide), (move_resize_window_internal): Move the
1604         tracking rect workaround from here...
1605
1606         * gdk/quartz/GdkQuartzWindow.c:
1607         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1608         movements during showing/hiding operations. Fixes bug #508516.
1609
1610 2008-01-10  Michael Natterer  <mitch@imendio.com>
1611
1612         * gdk/directfb/gdkscreen-directfb.c
1613         (gdk_screen_get_monitor_width_mm)
1614         (gdk_screen_get_monitor_height_mm)
1615         (gdk_screen_get_monitor_plug_name): add these functions to make
1616         it build again.
1617
1618 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
1619
1620         * gtk/gtkrecentchoosermenu.c:
1621         (idle_populate_func), (idle_populate_clean_up): Fix possible
1622         recursion by resetting the idle source id. (#507605, William
1623         Pitcock)
1624
1625 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1626
1627         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1628         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1629         avoid valgrind warnings.  (#507751, patch from Christian Persch).
1630
1631 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1632
1633         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1634         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1635
1636 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1637
1638         Fix #477175, reported by Juri Pakaste.
1639
1640         * gtk/gtktreeprivate.h:
1641         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1642         tree_view->priv->dy here directly, just calculate the new value
1643         and set it on the adjustment,
1644         (gtk_tree_view_adjustment_changed): add guards to not call
1645         gtk_tree_view_dy_to_top_row() if we are currently in
1646         gtk_tree_view_top_row_to_dy(),
1647         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1648         coordinates, not tree coordinates,
1649         (gtk_tree_view_real_start_editing): add cast.
1650
1651         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1652         position of the editable in the "create new row and start editing"
1653         tests.
1654
1655 2008-01-09  Michael Natterer  <mitch@imendio.com>
1656
1657         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1658         variable.
1659
1660         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1661         * gtk/gtkicontheme.c (theme_list_contexts)
1662         (gtk_icon_theme_lookup_icon)
1663         * gtk/gtkimcontextsimple.c (beep_window)
1664         * gtk/gtklinkbutton.c (set_link_color)
1665         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1666         fix warnings.
1667
1668         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1669         variable and add const to another to fix a warning.
1670
1671 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
1672
1673         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
1674         the current page.  (#499951, Andreas Sandberg)
1675
1676 2008-01-06  Johan Dahlin  <johan@gnome.org>
1677
1678         * gtk/gtkspinbutton.c: Declare value in the example code for
1679         GtkSpinButton::output, as pointed out by Anders Carlsson.
1680
1681 2008-01-06  Christian Persch  <chpe@gnome.org>
1682
1683         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1684         and remove an obsolete event box. Bug #506760.
1685
1686 2008-01-06  Johan Dahlin  <johan@gnome.org>
1687
1688         * tests/buildertest.c (test_domain): 
1689         Update, GtkBuilder::translation-domain is no longer set
1690         
1691         * gtk/gtkbuilderparser.c (parse_interface): 
1692         Allow domains to be overridden in <interface>'s if a translation-domain
1693         is set in the builder.
1694         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1695         of the builder, make the domain set in the <interface> apply only to strings
1696         in that interface.
1697         (#496831, Ryan Lortie)
1698
1699         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
1700         to g_warning calls.
1701
1702         * gtk/gtktreestore.c (tree_model_end_element): 
1703         Remove an unused variable
1704
1705 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1706
1707         * gtk/gtkspinbutton.c: Document the ::output signal and
1708         add an example.  (#507566, example by Owen Taylor)
1709
1710 2008-01-06  Johan Dahlin  <johan@gnome.org>
1711
1712         * gtk/gtkcellrenderercombo.c:
1713         (gtk_cell_renderer_combo_get_property),
1714         (gtk_cell_renderer_combo_set_property):
1715         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1716         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1717         * gtk/gtknotebook.c: (gtk_notebook_set_property):
1718         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1719         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1720         (gtk_text_buffer_get_property):
1721         * gtk/gtktextview.c: (gtk_text_view_set_property):
1722         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1723         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1724         (gtk_tool_button_get_property):
1725         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1726         (gtk_tool_item_get_property):
1727         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1728         * gtk/gtkwidget.c: (gtk_widget_set_property):
1729         * gtk/gtkwindow.c: (gtk_window_set_property):
1730         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1731         Fixes #507585
1732
1733 2008-01-06  Johan Dahlin  <johan@gnome.org>
1734
1735         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
1736         Make sure that --root works for toplevel widgets.
1737         (#491847, Phil Lello)
1738
1739 2008-01-05  Johan Dahlin  <johan@gnome.org>
1740
1741         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1742         to make sure that make test-report works properly
1743
1744 2008-01-05  Christian Persch  <chpe@gnome.org>
1745
1746         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1747         GType as integer through gpointer. Bug #507395.
1748
1749 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
1750
1751         Avoid some compiler warnings (#507000).
1752
1753         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1754         for value argument of _gtk_builder_flags_from_string.
1755         * gtk/gtkwidget.c: Don't alias the child pointer passed
1756         to gdk_window_get_user_data.
1757
1758 2008-01-04  Michael Natterer  <mitch@imendio.com>
1759
1760         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1761         to set the time in the returned GdkTimeCoords.
1762
1763 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
1764
1765         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1766         correct comparison function (kudos to Christian Persch and
1767         Claudio Saavedra for spotting this)
1768
1769         * gtk/gtkrecentchooserutils.c:
1770         (sort_recent_items_mru),
1771         (sort_recent_items_lru): Ditto as above.
1772
1773 2008-01-03  Johan Dahlin  <johan@gnome.org>
1774
1775         * tests/defaultvaluetest.c: Make it pass again.
1776
1777 2008-01-02  Johan Dahlin  <johan@gnome.org>
1778
1779         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
1780         make it pass on Ubuntu.
1781         (main): Use gtk_test_list_all_types () instead of providing our
1782         own list.
1783         And it no longer passes.
1784
1785 2007-12-30  Johannes Schmid <jhs@gnome.org>
1786
1787         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1788         Also reorder menu when reordering tabs by drag & drop
1789         (Bug #506474)
1790         
1791         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1792         Add a menu to one of the notebooks to have a test-case for
1793         the change mentioned above.
1794
1795 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
1796
1797         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1798
1799 2007-12-31  Christian Persch  <chpe@gnome.org>
1800
1801         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1802         Plug a mem leak. Bug #506107.
1803
1804 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1805
1806         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1807         icon cache api change.  (#506135, Kazuki Iwamoto)
1808
1809 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1810
1811         Consider "wide-separators" and "separator-height" style properties:
1812         The separator is drawn using gtk_paint_box instead of cairo, when
1813         "wide-separators" is set. Also do not highlight details for previous
1814         or next month, if their day matches the selected day. (#339540)
1815
1816         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1817         in gtk_calendar_size_request and calendar_paint_day
1818         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1819         for selected detail separators in GtkCalendar.
1820
1821 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1822
1823         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1824
1825         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1826         a local variable instead in gtk_calendar_size_request.
1827
1828 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1829
1830         * tests/defaultvaluetest.c: Add enough exclusions to make the
1831         test succeed.
1832
1833 2007-12-28  Christian Persch  <chpe@gnome.org>
1834
1835         * modules/other/gail/Makefile.am:
1836         * modules/other/gail/tests/*:
1837         * configure.in: Merge tests from standalone gail. Bug #504568.
1838
1839 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1840
1841         * gtk/gtkclipboard.c: Make the finalizer work when display is
1842         not set.
1843
1844 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1845
1846         Draw bottom shadow of GtkCalender headings. (#506113)
1847
1848         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1849
1850 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1851
1852         * gtk/gtkcalendar.c: Document the initial values of year/month/day
1853         properties.
1854
1855 2007-12-28  Christian Persch  <chpe@gnome.org>
1856
1857         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1858         a mem leak. Bug #506096.
1859
1860 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1861
1862         * gtk/gtktable.c:
1863         * gtk/gtktreeview.c:
1864         * gtk/gtkprintoperation.c:
1865         * gtk/gtkprogressbar.c:
1866         * gtk/gtkmessagedialog.c:
1867         * gtk/gtknotebook.c:
1868         * gtk/gtkprinter.c:
1869         * gtk/gtkfilesel.c:
1870         * gtk/gtklabel.c:
1871         * gtk/gtklinkbutton.c:
1872         * gtk/gtkmenu.c: More default property value corrections.
1873
1874 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1875
1876         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1877         accel_group unless it is set.
1878
1879 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1880
1881         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1882
1883 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1884
1885         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
1886         shadow-type properties.
1887
1888         * gtk/gtkfontsel.c: Fix the default values of several properties.
1889
1890         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1891         property.
1892
1893         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1894
1895         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1896         property.
1897
1898 2007-12-28  Johan Dahlin  <johan@gnome.org>
1899
1900         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1901         (gtk_dialog_buildable_custom_tag_start): Chain up. 
1902         This makes it possible to have accelerators tags on GtkDialog 
1903         subclasses.
1904
1905 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1906
1907         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1908         are shown within the widget, or just as tooltip. (#339540)
1909
1910         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1911         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1912         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1913         in flags vbox.
1914
1915 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1916
1917         Try more decent appearance of calendar details separator. (#339540)
1918
1919         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1920         and make it short by one pixel on each side.
1921
1922 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1923
1924         Apply trivial code-style changes from attachement 101101. (#339540)
1925
1926         * tests/testcalendar.c: Some updates to current GTK+ code-style.
1927
1928 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1929
1930         Restructure testcalendar for testing calendar details. (#339540)
1931
1932         * tests/testcalendar.c: Push code arround for testing calendar details.
1933
1934 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1935
1936         Implement GtkTooltip API for calendar details. (#339540)
1937
1938         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1939         Remember detail overflows in calendar_paint_day to show the tooltip
1940         only when neccessary.
1941
1942 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1943
1944         Without setting "detail-width-chars" and "detail-height-rows"
1945         properties not only the widget has to be redrawn on certain
1946         conditions, but also its size must be recalculated. (#339540)
1947
1948         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1949         that function instead of gtk_widget_queue_draw.
1950
1951 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1952
1953         Consider details for size-request and expose-event. (#339540)
1954
1955         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1956         is_color_attribute functions. Change gtk_calendar_size_request
1957         and calendar_paint_day to consider and show calender details.
1958
1959 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1960
1961         * gtk/gtkcombobox.c: Introduce local priv variables to 
1962         reduce ->->
1963
1964 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
1965
1966         * gtk/gtkcombobox.c: Correct the default value for the 
1967         tearoff-title property.
1968
1969         * gtk/gtkcellrenderertext.c: Fix the default value for the
1970         wrap-mode and font-scale properties.
1971
1972         * gtk/gtkaspectratio.c: Fix the default value for the ratio
1973         property.
1974
1975 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
1976
1977         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1978         defines.  (#505708,  MINAMI Hirokazu)
1979
1980 2007-12-27  Christian Persch  <chpe@gnome.org>
1981         
1982         * Makefile.am: Install gail.pc. Bug #505859.
1983
1984 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
1985
1986         Add infrastructure for GtkCalendar details. (#339540)
1987
1988         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1989         Add "detail-width-chars" and "detail-height-rows" properties,
1990         and gtk_calendar_set_detail_func function.
1991
1992 2007-12-27  Xan Lopez  <xan@gnome.org>
1993
1994         * gtk/gtk.symbols: 
1995         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
1996
1997         Add gtk_border_new to avoid memory allocator confusions when using
1998         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1999
2000 2007-12-27  Christian Persch  <chpe@gnome.org>
2001
2002         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
2003         bug #504886 not to read unitialised memory.
2004
2005 2007-12-26  Xan Lopez  <xan@gnome.org>
2006
2007         * gtk/gtkstatusbar.c (has_extra_children): take into account the
2008         modification of the internal frame contents to decide if we have
2009         extra children. (#415677)
2010
2011 2007-12-22  Christian Persch  <chpe@gnome.org>
2012
2013         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
2014
2015 2007-12-25  Christian Persch  <chpe@gnome.org>
2016
2017         * modules/other/gail/gailwindow.c: (gail_window_initialize):
2018         Initialise |widget|. Fixes a buglet introduced by the commit from bug
2019         #505226.
2020
2021 2007-12-25  Christian Persch  <chpe@gnome.org>
2022
2023         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2024         
2025 2007-12-25  Christian Persch  <chpe@gnome.org>
2026
2027         * modules/other/gail/*.[ch]: Remove relocations from the atk
2028         factories. Remove unused gail_foo_new() functions. Fix object
2029         instantiation to be derivation safe by moving initialisation code
2030         from the removed gail_foo_new() functions to the
2031         AtkObjectClass::initialize implementation. Bug #505226.
2032
2033 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2034
2035         * modules/other/gail/gailentry.c:
2036         * modules/other/gail/gailimage.c:
2037         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
2038         uses of clipboards and settings.  (#504722, Christian Persch)
2039
2040 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2041
2042         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
2043          Kazuki IWAMOTO)
2044
2045 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2046
2047         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
2048         use the time and button information from the event.  (#504901,
2049         Peter Bloomfield)
2050
2051 2007-12-23  Cody Russell  <bratsche@gnome.org>
2052
2053         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
2054         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
2055         Fixes a regression caused by #164537 patch where transient
2056         windows that are hidden get shown (incorrectly) when their
2057         parents are minimized. (#504984)
2058         
2059 2007-12-22  Christian Persch  <chpe@gnome.org>
2060
2061         * modules/other/gail/gailcell.c:
2062         * modules/other/gail/gailcontainercell.c:
2063         * modules/other/gail/gailexpander.c:
2064         * modules/other/gail/gailtextcell.c:
2065         * modules/other/gail/gailtextview.c:
2066         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
2067
2068 2007-12-22  Christian Persch  <chpe@gnome.org>
2069
2070         * modules/other/gail/*.c: Include config.h. Bug #504720.
2071
2072 2007-12-22  Christian Persch  <chpe@gnome.org>
2073
2074         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
2075         handwritten get_type functions. Bug #504661.
2076
2077 2007-12-23  Xan Lopez  <xan@gnome.org>
2078
2079         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
2080         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
2081
2082         Patch by Sadrul Habib Chowdhury (#504804)
2083
2084 2007-12-22  Christian Persch  <chpe@gnome.org>
2085
2086         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
2087         #504645, patch by Li Yuan.
2088
2089 2007-12-22  Christian Persch  <chpe@gnome.org>
2090
2091         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
2092
2093 2007-12-22  Christian Persch  <chpe@gnome.org>
2094         
2095         * modules/other/gail/gail.c:
2096         * modules/other/gail/gailbutton.c:
2097         * modules/other/gail/gailcell.c:
2098         * modules/other/gail/gailcombo.c:
2099         * modules/other/gail/gailcombo.h:
2100         * modules/other/gail/gailcombobox.c:
2101         * modules/other/gail/gailentry.c:
2102         * modules/other/gail/gailexpander.c:
2103         * modules/other/gail/gailmenuitem.c:
2104         * modules/other/gail/gailnotebook.c:
2105         * modules/other/gail/gailnotebookpage.c:
2106         * modules/other/gail/gailnotebookpage.h:
2107         * modules/other/gail/gailoptionmenu.c:
2108         * modules/other/gail/gailrange.c:
2109         * modules/other/gail/gailtextview.c:
2110         * modules/other/gail/gailtreeview.c:
2111         * modules/other/gail/gailtreeview.h:
2112         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
2113         Bug #504571.
2114
2115 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2116
2117         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
2118         Christian Persch)
2119
2120 2007-12-21  Richard Hult  <richard@imendio.com>
2121
2122         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
2123         Plug leak of destroyed subviews, fixes bug #504753.
2124
2125 2007-12-20  Johan Dahlin  <johan@gnome.org>
2126
2127         * tests/Makefile.am (TEST_PROGS): 
2128         * tests/defaultvaluetest.c: Add a test for default values,
2129         based on program by Christan Perch
2130
2131 2007-12-20  Johan Dahlin  <johan@gnome.org>
2132
2133         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
2134         Refactor to avoid some duplication.
2135         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
2136         Fixes #504749, Yuri Pimenov
2137
2138 2007-12-20  Kristian Rietveld  <kris@imendio.com>
2139
2140         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
2141         the build work again on systems without xrandr 1.2.
2142
2143 2007-12-20  Christian Persch  <chpe@gnome.org>
2144
2145         * configure.in:
2146         * modules/other/gail/libgail-util/Makefile.am:
2147         Keep the same libtool version as the standalone libgail-util had.
2148         Bug #504643.
2149
2150 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
2151
2152         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
2153
2154 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2155         
2156         * gdk/x11/gdkapplaunchcontext-x11.c:
2157         Update for gio API changes
2158
2159 2007-12-20  Richard Hult  <richard@imendio.com>
2160
2161         * gdk/quartz/GdkQuartzWindow.c:
2162         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
2163         processing events after changing the size.
2164
2165 2007-12-20  Richard Hult  <richard@imendio.com>
2166
2167         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
2168         Add stub for quartz to fix build.
2169
2170 2007-12-20  Christian Persch  <chpe@gnome.org>
2171
2172         * modules/other/gail/Makefile.am:
2173         * modules/other/gail/gailimage.c: (gail_image_class_init),
2174         (gail_image_init), (elide_underscores), (gail_image_get_name),
2175         (atk_image_interface_init), (gail_image_finalize):
2176         * modules/other/gail/gailimage.h:
2177         R modules/other/gail/gailintl.h:
2178         * po/POTFILES.skip: Use the stock item's label as the name of the
2179         accessible in gailimage.c. Bug #504246.
2180
2181 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
2182
2183         Avoid some compiler warnings and remove obsolete code. (#339540)
2184
2185         * gtk/gtkcalendar.c: Change week and year variable in
2186         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
2187         0" block from calendar_paint_day: The feature in question is handled
2188         few lines above. Cast data returned by gtk_selection_data_get_text()
2189         to (gchar*) in gtk_calendar_drag_data_received.
2190
2191 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
2192
2193         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
2194
2195 2007-12-19  Johan Dahlin  <johan@gnome.org>
2196
2197         * tests/buildertest.c (test_object_properties): 
2198         Add another call to gtk_builder_add_string after using
2199         delayed properties, as reported in #504393 but already
2200         fixed in #495769.
2201
2202 2007-12-18  Christian Persch  <chpe@gnome.org>
2203
2204         * configure.in:
2205         * docs/reference/Makefile.am:
2206         * docs/reference/libgail-util/*:
2207         * gail-uninstalled.pc.in:
2208         * gail.pc.in:
2209         * modules/Makefile.am:
2210         * modules/other/Makefile.am:
2211         * modules/other/gail/*:
2212         * modules/other/gail/libgail-util/*:
2213         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
2214
2215 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2216
2217         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
2218         * gdk/win32/gdkproperty-win32.c: 
2219         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
2220
2221         * gtk/gtkimmodule.[hc]: 
2222         * gtk/gtkimmulticontext.[hc]: When determining the default context,
2223         look at the gtk-im-module setting, and listen for changes to the
2224         setting.  (#502446, Akira Tagoh)
2225
2226 2007-12-17  Kristian Rietveld  <kris@imendio.com>
2227
2228         * gtk/gtktooltip.c (gtk_tooltip_finalize),
2229         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
2230         to NULL as soon as it's destroyed.  (#496546, patch from
2231         Benjamin Berg).
2232
2233 2007-12-17  Kristian Rietveld  <kris@imendio.com>
2234
2235         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2236         always determine what arrow to show if show_sort_indicator is true.
2237         (#352738, Chris Vine).
2238
2239 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
2240
2241         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2242         Sébastien Granjoux)
2243
2244         * gtk/gtkpaned.c: Call gtk_container_forall instead of
2245         gtk_container_foreach in get_child_panes.
2246
2247 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
2248
2249         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2250
2251         Plug leak: When reordering the info in the list the old node is
2252         removed but not freed. (#503569)
2253
2254 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
2255
2256         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2257         Use u32 instead of __u32 and u8 instead of __u8 as the other types
2258         are deprecated since DirectFB 1.0.0. If compiling with an older
2259         version define the new type name to the old types. Fixes bug #503190.
2260
2261 2007-12-14  Ray Strode  <rstrode@redhat.com>
2262
2263         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2264         instead of g_signal_connect_after (..., "realize", ...) as an
2265         alternative to gtk_widget_realize () (bug 503537).
2266
2267 2007-12-14  Michael Natterer  <mitch@imendio.com>
2268
2269         * gdk/gdkinternals.h
2270         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2271         individual files.
2272
2273         * gdk/gdkapplaunchcontext.c
2274         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2275         header already includes everything now.
2276
2277 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2278
2279         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2280         next stable release shall be 2.16, not 2.14 - even if disagree.
2281
2282         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2283
2284 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2285
2286         Change GtkToolItem to retrieve its properties from GtkToolShell
2287         interface, instead of relying on being child of a GtkToolbar.
2288         (#5034079)
2289
2290         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2291         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2292         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2293         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2294         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2295         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2296         Take section docs from template file and update them for GtkToolShell.
2297         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2298         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2299
2300 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
2301
2302         Extract loading of GtkPageSetup and GtkPrintSettings from their
2303         *_new_*() functions and move that code into separate
2304         *_load_*() functions (#475565).
2305
2306         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2307         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2308         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2309         Change the matching *_new_*() functions to use those functions.
2310
2311 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2312
2313         * gtk/gtk.symbols:
2314         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2315
2316 2007-12-14  Kristian Rietveld  <kris@imendio.com>
2317
2318         * gtk/tests/liststore.c:
2319         * gtk/tests/treestore.c: added tests for insertion functions.
2320
2321 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
2322
2323         * Add RandR 1.2 support
2324
2325         - New monitors_changed signal - New API to get width/height of
2326           monitors, and the name of the plug
2327
2328 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2329
2330         * gtk/tests/liststore.c:
2331         * gtk/tests/treestore.c: test the move and swap functions on a
2332         store with only one node.
2333
2334 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2335
2336         * gtk/gtktestutils.c (gtk_test_init): add a call to
2337         g_test_bug_base().
2338
2339         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2340         appriopriate tests.
2341
2342 2007-12-13  Kristian Rietveld  <kris@imendio.com>
2343
2344         * gtk/tests/liststore.c:
2345         * gtk/tests/treestore.c: start composing tests for the list and tree
2346         store.
2347
2348         * gtk/tests/treeview-scrolling.c: added automated tests for
2349         GtkTreeView's scrolling "subsystem".
2350
2351         * gtk/tests/Makefile.am: updated; added new test programs.
2352
2353 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
2354
2355         Make the code compile again after the GdkAppLaunchContext changes.
2356
2357         * configure.in: Add gio-2.0 to GDK_PACKAGES.
2358         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2359
2360 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2361
2362         * gdk/gdkapplaunchcontext.c: Add docs
2363
2364 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2365
2366         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
2367         in gdk, providing startup notification.  (#503203)
2368
2369         * gdk/x11/gdkapplaunchcontext-x11.c: 
2370         * gdk/win32/gdkapplaunchcontext-win32.c:
2371         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
2372         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2373         parts. All but X11 are just empty stubs for now.
2374
2375         * gdk/gdk.symbols:
2376         * gdk/gdkinternals.h:
2377         * gdk/Makefile.am:
2378         * gdk/x11/Makefile.am: 
2379         * gdk/win32/Makefile.am: 
2380         * gdk/quartz/Makefile.am: 
2381         * gdk/directfb/Makefile.am: Necessary glue.
2382
2383 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
2384
2385         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2386
2387 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2388
2389         * gdk/directfb/gdktestutils-directfb.c:
2390         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2391         which adds testing functions to the DirectFB backend.
2392
2393 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2394
2395         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2396         Ciccani which fixes the mixing of gdk and cairo rendering.
2397
2398 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
2399
2400         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2401         on "drag-motion" handlers. Clearify documentation for
2402         gtk_drag_dest_set.
2403
2404 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
2405
2406         * buildertest.c: made unnecessarily exported symbols static.
2407         switched g_return_if_fail() statements in tests to assertions.
2408         special cased currently failing Widget/accesibility test to
2409         run only for g_test_thorough(), so it doesn't break make check.
2410         some coding style fixes.
2411
2412         * Makefile.am: added buildertest to TEST_PROGS.
2413
2414 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2415
2416         * docs/tutorial/gtk-tut.sgml:
2417           Use gtk_widget_get_parent_window() instead of widget->parent->window.
2418
2419 2007-12-10  Richard Hult  <richard@imendio.com>
2420
2421         * gdk/quartz/Makefile.am:
2422         * gdk/quartz/gdkquartz.h:
2423         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2424         header (bug #405915). Also add a getter for the toplevel nswindow.
2425
2426 2007-12-10  Richard Hult  <richard@imendio.com>
2427
2428         * gdk/quartz/gdkdrawable-quartz.c:
2429         (gdk_quartz_drawable_get_context),
2430         (gdk_quartz_drawable_release_context):
2431         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2432         (gdk_event_check), (gdk_event_dispatch), (poll_func):
2433         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2434         used for each drawing context and in prepare, dispatch and poll
2435         with one that exists across each main loop iteration. Fixes leaks
2436         on leopard and protects against future leaks introduce when the
2437         underlying system changes again (bug #492977).
2438
2439 2007-12-10  Richard Hult  <richard@imendio.com>
2440
2441         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2442         Fix the check for no changes to position and size.
2443
2444 2007-12-10  Richard Hult  <richard@imendio.com>
2445
2446         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2447         sized areas at (0, 0), patch from Paul Davis.
2448
2449 2007-12-10  Richard Hult  <richard@imendio.com>
2450
2451         * gdk/quartz/gdkprivate-quartz.h: 
2452         * gdk/quartz/gdkeventloop-quartz.c:
2453         (_gdk_quartz_event_loop_get_pending),
2454         (_gdk_quartz_event_loop_check_pending),
2455         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2456         (gdk_event_check), (gdk_event_dispatch):
2457         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2458         (_gdk_events_queue): Fix a bug where we could end up trying to
2459         handle the same event more than once. Based on patch from Paul
2460         Davis.
2461
2462 2007-12-10  Tor Lillqvist  <tml@novell.com>
2463
2464         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2465         package. (#502850)
2466
2467 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2468
2469         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2470         to avoid further fallout from the fix for bug 388321.
2471
2472 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2473
2474         * gdk/directfb/gdkgc-directfb.c:
2475         * gdk/directfb/gdkdrawable-directfb.c:
2476         * gdk/directfb/gdkdirectfb.h:
2477         * gdk/directfb/gdkwindow-directfb.c:
2478         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2479         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2480         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2481         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2482         which are expected to improve the performance of the DirectFB backend.
2483         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2484
2485 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2486
2487         * gtk/gtkcontainer.c: Correct the documentation of child
2488         property getter arguments.  (#501992, David Brigada)
2489
2490 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2491
2492         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2493         leak pixbufs.  (#502250, Yevgen Muntyan)
2494
2495 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
2496
2497         * gtk/gtkprintunixdialog.c:
2498         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2499         Print and Page Setup dialogs (#502202).
2500
2501 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
2502
2503         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2504         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2505         of XVFB_START, since it's the GTESTER invokation that needs this.
2506
2507 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
2508
2509         * gdk-pixbuf/gdk-pixbuf.symbols:
2510         * gdk/gdk.symbols:
2511         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2512         positives in abicheck.sh
2513
2514 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2515
2516         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2517         GDK events generations in the DirectFB backend.
2518
2519 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
2520
2521         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2522         set of likely unused display ids, because MacOS has no seq(1) command.
2523
2524 2007-12-06  Richard Hult  <richard@imendio.com>
2525
2526         * gdk/quartz/gdkevents-quartz.c:
2527         (synthesize_crossing_events_for_ns_event): Fix warning when
2528         switching spaces in leopard.
2529
2530 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
2531
2532         * tests/floatingtest.c: ported to new testing framework.
2533
2534         * tests/Makefile.am: run floatingtest as testing framework test.
2535
2536 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
2537
2538         * tests/autotestfilechooser.c: majorly speed up execution by reducing
2539         timeouts and converting main loop sleeps to pending/iterate loops with
2540         very low priority async handlers. eliminate output for non-verbose
2541         tests. assert successfull subtests in all test functions. use testing
2542         framework in main().
2543
2544         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2545         executed inside Xvfb upon make check.
2546
2547 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
2548
2549         * tests/objecttests.c: use string comparisons for string property
2550         values and get rid of referencing symbols in array initialization.
2551
2552 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
2553
2554         * gtk+/Makefile.decl: run tests in current dir after setting up the
2555         logging directory, so their results get properly merged into the
2556         resulting test log.
2557
2558         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2559         tests to loop over registered Gdk/Gtk+ types.
2560
2561         * gtk+/tests/objecttests.c: new test program, implements automated
2562         property tests. several properties are blacklisted because they
2563         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2564         can be used to test blacklisted properties and see which proprty failed.
2565
2566 2007-12-04  Richard Hult  <richard@imendio.com>
2567
2568         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2569         Fully initialize the root window, fixes bug #501583.
2570
2571 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
2572
2573         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2574         crash epiphany.
2575
2576 2007-12-03  Richard Hult  <richard@imendio.com>
2577
2578         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2579         Don't crash when dragging from a source that doesn't support uri
2580         lists (bug #499868, Paul Davis).
2581
2582 2007-12-03  Richard Hult  <richard@imendio.com>
2583
2584         * gdk/quartz/gdkwindow-quartz.c:
2585         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2586         parent relative bg pixmap is set, and no parent has a bg
2587         pixmap. Fixes bug #500804.
2588
2589 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2590
2591         Two optimizations for icon cache lookups.
2592
2593         * gtk/gtkiconcache.[hc]:
2594         * gtk/gtkicontheme.c: Remember the directory index for
2595         subdirectories, instead of running over the directory list
2596         again and again.
2597
2598         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
2599         chain and try it first; this helps with the the usage patterns
2600         in gtkicontheme.c, where the same icon is queried for a lot
2601         of subdirectories.
2602
2603 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
2604
2605         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2606         functions from header files. this should be portable across linux and
2607         Mac OS, unlike the previpous sed expression.
2608
2609 2007-12-1  Cody Russell  <bratsche@gnome.org>
2610
2611         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2612         On Windows, queue a redraw of child2 whenever we set
2613         the pane handle position.  This is unfortunately kind
2614         of hacky, but solves the visual artifacts that were
2615         occuring on at least certain types of child widgets
2616         (e.g., text views and tree views) that are inside
2617         horizontal or vertical panes. (#144269)
2618
2619 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
2620
2621         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
2622
2623 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
2624
2625         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2626         debug spew.
2627
2628 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
2629
2630         * gtk/Makefile.am: Fix ordering of subdirs.
2631
2632 2007-11-28  Tor Lillqvist  <tml@novell.com>
2633
2634         A proper build of GNU libintl is supposed to export the variable
2635         _nl_msg_cat_cntr. configure looks for that variable in order to
2636         recognize GNU gettext. If it sees that it is indeed GNU gettext
2637         that is used, it decides to install message catalogs in
2638         share/locale, otherwise in lib/locale. Until now on Windows I have
2639         built GTK+ against a build of GNU gettext that did not export
2640         _nl_msg_cat_cntr. But this will change, so we can't assume message
2641         catalogs are always in lib/locale.
2642
2643         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2644         GTK_LOCALEDIR being either in "lib" or "share". Move the function
2645         before the inclusion of gtkprivate.h so that it sees the original
2646         GTK_LOCALEDIR.
2647
2648         * gtk-zip.sh.in: Check whether the message catalogs are in
2649         share/locale or lib/locale.
2650
2651         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2652         that the code in _gtk_get_localedir() will find the slashes.
2653
2654 2007-11-28  Tor Lillqvist  <tml@novell.com>
2655
2656         * gtk/Makefile.am: Improve portability. The -o option is present
2657         only in newish GNU egreps. Use one more sed in the pipeline
2658         instead.
2659
2660 2007-11-28  Tor Lillqvist  <tml@novell.com>
2661
2662         Fix #375893, patch by Ben Hague:
2663
2664         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2665         around GetLogicalDrives() that takes also the viewable drive
2666         restrictions in the Registry (which are usually the result of an
2667         Active Directory Group Policy) into account.
2668
2669         (check_volumes, gtk_file_system_win32_list_volumes) Call
2670         get_viewable_logical_drives() instead of GetLogicalDrives().
2671
2672 2007-11-27  Matthias Clasen <mclasen@redhat.com>
2673
2674         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2675         variables to silence valgrind.  (#495124, Morten Welinder)
2676
2677 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
2678
2679         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2680         that the construct_child function is responsible for returning a
2681         reference.
2682         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2683         objects from constructors
2684         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2685         g_object_ref() to this construction function (it's the only
2686         implementer in GTK)
2687
2688         Fixes #496645.
2689
2690 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
2691
2692         * gtkbuilder.c: remove concept of root objects and just refcount
2693         all objects in the builder.  Fixes #496651.
2694
2695 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
2696
2697         * tests/buildertest.c (test_window): fix invalid free
2698
2699 2007-11-26  Josselin Mouette <joss@malsain.org>
2700
2701         reviewed by: Federico Mena Quintero
2702
2703         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2704         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2705         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2706         Make the shortcuts activate with a single click. (#148828)
2707         Fix a few things affected by the change:
2708           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
2709             where no shortcut is selected.
2710           - Don't activate a shortcut in the response callback.
2711           - Filter out duplicate entries in volumes and bookmarks to 
2712             avoid the selection to change when reordering them with DnD.
2713
2714 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2715
2716         * gtk/gtkmain.c:
2717         * gtk/gtknotebook.c:
2718         * gtk/gtkplugprivate.h:
2719         * gtk/gtksocket.c:
2720         * gtk/gtksocketprivate.h:
2721         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2722
2723 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2724
2725         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2726         (#495574, Richard Hult)
2727
2728 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2729
2730         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2731         String change !   (#376361, Sven Neumann)
2732
2733 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2734
2735         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2736         destroy.
2737         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2738         Welinder)
2739
2740 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2741
2742         * gtk/gtkassistant.c: Improve alternative button
2743         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2744
2745 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2746
2747         * gtk/gtkcalendar.c: Fix a theming problem with colors
2748         in GtkCalendar.  (#499703, Michael Hofmann)
2749
2750 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2751
2752         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2753
2754 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2755
2756         Use templates for glib-mkenums calls instead of 
2757         complicated commandlines in Makefiles.  (#429910)
2758
2759         * gdk-pixbuf/Makefile.am:
2760         * gdk/Makefile.am: 
2761         * gtk/Makefile.am: 
2762         * perf/Makefile.am: Use templates for glib-mkenums
2763
2764         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2765         * gdk/gdkenumtypes.[ch].template: 
2766         * gtk/gtktypebuiltings.[ch].template: 
2767         * perf/typebuiltins.[ch].template: The templates
2768
2769 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2770
2771         * gtk/gtkfilechooserbutton.c:
2772         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2773         some compilers choke on that.  (#467722)
2774
2775 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2776
2777         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2778         about hook setup.  (#425004, Emmanuele Bassi)
2779
2780 2007-11-26  Tor Lillqvist  <tml@novell.com>
2781
2782         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2783         monitor the window currently is on, not always the primary
2784         monitor. (#463865, Tim Evans)
2785
2786 2007-11-26  Tor Lillqvist  <tml@novell.com>
2787
2788         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2789
2790         * gdk/win32/Makefile.am: Add it.
2791
2792 2007-11-26  Tor Lillqvist  <tml@novell.com>
2793
2794         * configure.in: Don't add jasper to all_loaders if no libjasper.
2795
2796 2007-11-25  Bastien Nocera  <hadess@hadess.net>
2797
2798         * configure.in: Add detection for libjasper, used by the
2799         gdk-pixbuf JPEG2000 loader
2800
2801 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2802
2803         * configure.in: Require gtk-doc 1.8
2804
2805         * */*.c: Use gtk-doc abbreviations for examples in docs.
2806
2807 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2808
2809         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2810         typo.  (#498922)
2811
2812 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2813
2814         * gtk/gtkdialog.c: Move signal and property documentation inline,
2815         fix a problem with the ::response signal docs.  (#499133, Josselin
2816         Mouette)
2817
2818 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
2819
2820         * Makefile.decl: initialize automake variables EXTRA_DIST and
2821         TEST_PROGS for unconditional appending via += in other makefiles.
2822         define recursive test targets: test, test-report, perf-report,
2823         full-report, as described here:
2824       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2825         the test targets will execute Gtk+ test programs within an Xvfb session.
2826
2827         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2828
2829         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2830         g_test_run() to run the tests to integrate with the testing framework.
2831
2832         * gtk/tests/Makefile.am: removed exemplary testing rules.
2833
2834         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2835         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2836         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2837         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2838         * docs/reference/Makefile.am, docs/tools/Makefile.am:
2839         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2840         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2841         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2842         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2843         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2844         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2845         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2846         * modules/engines/ms-windows/Theme/Makefile.am:
2847         * modules/engines/ms-windows/Makefile.am:
2848         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
2849         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2850         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2851         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2852         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2853         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2854         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2855
2856 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2857
2858         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2859         (#485662, patch by Herbert Valerio Riedel)
2860
2861 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2862
2863         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
2864
2865 2007-11-21  Richard Hult  <richard@imendio.com>
2866
2867         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2868         stubs for the testing functions to fix the build.
2869
2870 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2871
2872         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2873         (#467711, The Written Word)
2874
2875 2007-11-21  Ross Burton  <ross@openedhand.com>
2876
2877         * gdk/x11/gdksettings.c:
2878         Add xsetting for gtk-scrolled-window-placement (#458103).
2879
2880 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2881
2882         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2883         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2884         (#469239, Michael Natterer)
2885
2886 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2887
2888         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2889         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2890         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2891         (#436536, Tommi Komulainen)
2892
2893 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
2894
2895         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2896         property.  (#489782, Jan Janech)
2897
2898 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
2899
2900         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2901         frames.  (#107398, Owen Taylor, Miguel Gomez)
2902
2903 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2904
2905         Moved Gdk test functions from Gtk+ to Gdk test utils.
2906
2907         * gdk/Makefile.am: added gdktestutils.h to public includes.
2908
2909         * gdk/gdk.h: added gdktestutils.h to public includes.
2910
2911         * gdk/gdk.symbols: added gdk_test_simulate_button,
2912         gdk_test_simulate_key, gdk_test_render_sync.
2913
2914         * gdk/gdktestutils.h: new file, added prototypes for
2915         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
2916
2917         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2918
2919         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2920         gdk_test_simulate_key, gdk_test_render_sync.
2921
2922         * gtk/gtktestutils.c:
2923         * gtk/gtktestutils.h:
2924         * gtk/gtk.symbols: removed gtk_test_simulate_button
2925         gtk_test_simulate_key, gtk_test_xserver_render_sync.
2926
2927         * gtk/tests/testing.c: call gdk_test_render_sync.
2928
2929 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2930
2931         Added unit tests for Gtk+ testing utilities.
2932
2933         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2934         utility functions. some g_test_* related portions are disabled and need
2935         to be enabled once Gtk+ depends on a new glib with the GLib testing
2936         framework integrated.
2937
2938         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
2939         tests.  added exemplary test rules to run tests inside Xvfb. this
2940         needs to depend on gtester for full fledged testing.
2941
2942         * gtk/Makefile.am: build gtk+/gtk/tests, define
2943         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
2944         e.g. gtk_text_get_type().
2945
2946         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2947
2948 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2949
2950         Added Gtk+ testing utilities.
2951
2952         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
2953         functions.  for the most part, the functions herein involve
2954         navigating and interacting with dialog elements programatically,
2955         to automate user interaction tests of dialogs and widgets.
2956
2957         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2958
2959         * gtk/gtk.symbols: added gtk_test_* symbols.
2960
2961         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
2962         the build.  generate gtktypefuncs.c which contains a list of all
2963         _get_type functions in Gtk+ and Gdk.
2964
2965 2007-11-20  Bastien Nocera  <hadess@hadess.net>
2966
2967         * configure.in: add support for conditional icns gdk-pixbuf loader
2968         (Closes: #395738)
2969
2970 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
2971
2972         * configure.in: updated version number to 2.15.0 for development.
2973
2974 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
2975
2976         === Branch for 2.12 ===
2977