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