]> Pileus Git - ~andy/gtk/blob - ChangeLog
Updated Korean translation
[~andy/gtk] / ChangeLog
1 2009-01-03  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtktreesortable.c: Improve the docs
4
5         * gtk/gtktreemodelsort.c: Don't assert when using the "unsorted"
6         sort column id.
7
8 2009-01-02  Matthias Clasen  <mclasen@redhat.com>
9
10         Bug 565998 – configure script doesn't check for cairo-xlib.pc
11
12         * configure.in: Check for cairo-xlib when looking for
13         gdk dependencies. Requested by Alberto Ruiz
14
15 2009-01-02  Matthias Clasen  <mclasen@redhat.com>
16
17         Bug 566334 – compile failure for gtk+ on Mac OS X
18
19         * gtk/gtkstatusicon.c: Fix the build on OS X. 
20         Reported by Bart Cortooms.
21
22 2009-01-02  Matthias Clasen  <mclasen@redhat.com>
23
24         Bug 566083 – Icon pixmap hardcoded during DnD
25
26         * gtk/gtkwidget.c:
27         * gtk/gtkentry.c: Add docs about using ::drag-begin for setting
28         a custom drag icon. Reported by Xan Lopez
29
30 2009-01-01  Matthias Clasen  <mclasen@redhat.com>
31
32         * configure.in: Bump version
33
34         * === Released 2.15.0 ===
35
36 2009-01-01  Matthias Clasen  <mclasen@redhat.com>
37
38         * gtk/gtkentry.c (gtk_entry_set_icon_sensitive): Fix default
39         value
40
41         * gtk/tests/builder.c: Clean up asserts, make domain
42         test work with current GtkBuilder behaviour.
43
44         * Makefile.decl: Start Xvfb with -ac -noreset to try
45         and get the gui tests working.
46
47 2009-01-01  Matthias Clasen  <mclasen@redhat.com>
48
49         * gtk/gtk.symbols: Add a few forgotten symbols
50         * gtk/gtkprintoperation.c:
51         * gtk/gtktrayicon-x11.c: Make some functions static
52
53 2008-12-31  Matthias Clasen  <mclasen@redhat.com>
54
55         * NEWS: Updates
56
57 2008-12-31  Matthias Clasen  <mclasen@redhat.com>
58
59         * gtk/gtk.symbols:
60         * gtk/gtkruler.[hc]: Some more
61
62 2008-12-31  Matthias Clasen  <mclasen@redhat.com>
63
64         * gtk/gtk.symbols:
65         * gtk/gtkpaned.[hc]:
66         * gtk/gtkscale.[hc]:
67         * gtk/gtkscrollbar.[hc]: 
68         * gtk/gtkseparator.[hc]: Keep these all abstract for now.
69
70 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
71
72         * gtk/gtkentry.c: Rename the icon signals to ::icon-press and
73         ::icon-release to avoid clashes with the existing SexyIconEntry
74         signals. Also annotate the GdkEvent parameters as static-scope.
75
76         * tests/testentryicons.c: Adapt
77         * demos/gtk-demo/search-entry.c: Adapt
78         
79 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
80
81         Bug 565846 – "va_end(args);" should be added into gtk_tree_store_new
82
83         * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
84         va_end() call. Pointed out by Jiwon Lee.
85
86 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
87
88         * gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size,
89         replace get_icon_allocation by get_icon_allocations, don't
90         pass allocation to place_windows; other stylistic changes to 
91         the icon-related code.
92
93 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
94
95         * gtk/gtkentry.c: Avoid size allocation loops.
96
97 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
98
99         * gtk/gtkentry.c: Fix errors in property definitions and
100         get_property implementation.
101
102 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
103
104         * gtk/gtkentry.c: Redo the Caps Lock warning using an icon.
105
106 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
107
108         Bug 558694 – Paned window splitter keynav broken
109
110         * gtk/gtkpaned.c (get_child_panes): Don't add unrealized
111         widgets.
112
113 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
114
115         * gtk/gtkstyle.c:
116         * gtk/gtkmenutooltbutton.c:
117         * gtk/gtkprintoperationpreview.c: Doc additions
118
119 2008-12-29  Matthias Clasen  <mclasen@redhat.com>
120
121         * gtk/gtkiconview.c:
122         * gtk/gtklabel.c:
123         * gtk/gtkentry.c:
124         * gtk/gtktextview.c:
125         * gtk/gtkeditable.c: 
126         * gtk/gtktextbuffer.c: Doc additions.
127
128 2008-12-29  Tor Lillqvist  <tml@novell.com>
129
130         * gtk/gtk.symbols: Add missing symbols from gtkentry.c.
131
132 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
133
134         * gtk/gtkwindow.c: 
135         * gtk/gtkstyle.c: Doc additions
136
137 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
138
139         * gtk/gtk[hv]scrollbar.c: Document gtk_[hv]scrollbar_new.
140
141 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
142
143         * gtk/gtkwidget.c: Document gtk_mnemonic_activate.
144
145 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
146
147         * gtk/gtktextlayout.c: Un-doc-commentize non-public api
148
149 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
150
151         * gtk/gtkprogress.h: Fix a typo
152
153 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
154
155         * gtk/gtkhsv.c:
156         * gtk/gtkentry.c: Doc fixes
157
158 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
159
160         * gtk/gtkwidget.c:
161         * gtk/gtktextutil.c: Un-doc-commentize non-exported functions
162         to make gtk-doc happy.
163
164 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
165
166         * gtk/gtkscale.c:
167         * gtk/gtkimagemenuitem.c: Doc fixes
168
169 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
170
171         * gtk/gtkeditable.h: Match parameter names to make gtk-doc happy.
172
173 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
174
175         * tk/gtkfontsel.c: Merge docs inline.
176
177 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
178
179         * gtk/gtkprintsettings.c:
180         * gtk/gtkbindings.c:
181         * gtk/gtkstyle.c: Doc fixes
182
183 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
184
185         * gtk/gtkscrolledwindow.c: 
186         * gtk/gtkscale.c: Merge docs inline.
187
188 2008-12-28  Ryan Lortie  <desrt@desrt.ca>
189
190         small fix for "Paned Window Widgets" example
191
192         * docs/tutorial/gtk-tut.sgml: use gtk_container_add rather than
193         add_with_viewport for putting a GtkTreeView into a ScrolledWindow
194
195         Spotted by Benjamin Herrenschmidt
196
197 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
198
199         * gtk/gtkimmodule.c:
200         * gtk/gtkseparatortoolitem.c: Doc fixes
201
202         * gtk/gtkfontsel.c:
203         * gtk/gtkeditable.c: Merge docs inline.
204
205 2008-12-28  Matthias Clasen  <mclasen@redhat.com>
206
207         * gtk/gtkhsv.c:
208         * gtk/gtkwidget.c: 
209         * gtk/gtkaccelgroup.c: Documentation fixes
210
211         * gtk/gtkstatusicon.c:
212         * gtk/gtkentry.c:
213         * gtk/gtkeditable.[hc]: Make parameter names match to make gtk-doc
214         happy.
215
216 2008-12-27  Matthias Clasen  <mclasen@redhat.com>
217
218         * gtk/gtkentry.c: Expand the docs some more.
219
220 2008-12-26  Matthias Clasen  <mclasen@redhat.com>
221
222         * gtk/gtkentry.c: Don't emit ::icon-pressed on nonactivatable
223         icons. Fix up docs to match actual api.
224
225         * tests/testentryicons.c: Reshuffle tests a bit. Add a DND test.
226
227 2008-12-26  Matthias Clasen  <mclasen@redhat.com>
228
229         * gtk/gtkentry.c: Fix interaction between icons and widget sensitivity.
230         Also fix a few typos.
231
232         * tests/testentryicons.c: Add property editors.
233         * tests/Makefile.am: Glue
234
235 2008-12-26  Matthias Clasen  <mclasen@redhat.com>
236
237         * gtk/gtkentry.c: Allow builtin icons when loading themed icons,
238         and don't leak a GtkIconInfo.
239
240 2008-12-26  Matthias Clasen  <mclasen@redhat.com>
241
242         * gtk/gtkentry.c: Emit ::icon-pressed regardless which button was
243         pressed. Also make it explicit in the signal signature that the
244         position parameter is a GtkEntryIconPosition.
245
246 2008-12-26  Matthias Clasen  <mclasen@redhat.com>
247
248         * gtk/gtkentry.c: Emit property notification for the text-length
249         property.
250
251 2008-12-26  Matthias Clasen  <mclasen@redhat.com>
252
253         * demos/gtk-demo/search_entry.c: Add a demo for new entry features.
254         * demos/gtk-demo/Makefile.am: Glue
255
256 2008-12-25  Matthias Clasen  <mclasen@redhat.com>
257
258         * gdk/gdkapplaunchcontext.c:
259         * gdk/gdkkeys.c:
260         * gdk/x11/gdkdnd-x11.c:
261         * gdk/x11/gdkkeyx-x11.c:
262         * gdk/x11/gdktestutils-x11.c: Typo fixes and other small
263         doc improvements.
264
265 2008-12-23  Li Yuan  <li.yuan@sun.com>
266
267         * gtk/gtkiconview.c: (gtk_icon_view_accessible_model_row_changed):
268         Bug #549251. No need to set name if there is no a11y item object.
269
270 2008-12-21  Yair Hershkovitz  <yairhr@gmail.com>
271
272         Bug 565203: RTL locales: icons are misplaced when horizontal 
273                     gtkiconview is contained in a gtkscrolledwindow.
274
275         * gtk/gtkiconview.c (gtk_icon_view_layout_single_row):
276         Fix horizontal icon positions when in RTL locale.
277
278 2008-12-19  Matthias Clasen  <mclasen@redhat.com>
279
280         * NEWS: Update
281
282 2008-12-19  Matthias Clasen  <mclasen@redhat.com>
283
284         Bug 564881 – gtkstatusicon.c: 'event' bug again
285
286         * gtk/gtkstatusicon.c (button_callback): Fix the build.
287         Patch by Christian Dywan.
288
289 2008-12-19  Cody Russell  <bratsche@gnome.org>
290
291         Bug 85292 – add an icon to gtkentry
292
293         * gtk/gtkmarshalers.list: Add VOID:INT,BOXED
294         * tests/testentryicons.c: Initial icon entry test
295         * tests/Makefile.am: Add testentryicons
296         * gtk/gtkentry.[ch]: Add API for setting primary/secondary icons
297         and other features related to them.
298         
299 2008-12-19  Marek Kasik  <mkasik@redhat.com>
300
301         Bug 339318 - Allow page rendering to (optionally) happen in a thread
302
303         * gtk/gtk.symbols: API change
304         * doc/reference/gtk/gtk-sections.txt: API change
305         * gtk/gtkprintoperation-private.h
306         * gtk/gtkprintoperation.h
307         * gtk/gtkprintoperation.c: Adds 2 new functions
308            gtk_print_operation_set_defer_drawing()
309              - Sets up the GtkPrintOperation to wait for calling of
310                gtk_print_operation_draw_page_finish() from application. It can
311                be used for drawing page in another thread.
312                This function must be called in the callback of "draw-page"
313                signal.
314            gtk_print_operation_draw_page_finish()
315              - Signalize that drawing of particular page is complete.
316                It is called after completion of page drawing (e.g. drawing
317                in another thread).
318                If gtk_print_operation_set_defer_drawing() was called before,
319                then this function has to be called by application. In another
320                case it is called by the library itself.
321
322 2008-12-15  Matthias Clasen  <mclasen@redhat.com>
323
324         * gtk/gtkprintunixdialog.c: Don't export emit_ok_response
325
326 2008-12-15  Tomas Bzatek  <tbzatek@redhat.com>
327
328         * gtk/gtkfilechooserdefault.c: (list_row_activated):
329         * gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
330         Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)
331
332 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
333
334         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
335         Mount the enclosing volume if the folder we're switching to is not
336         mounted. Patch by Tomas Bzatek, based on work by Carlos Garnacho
337
338 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
339
340         Bug 561494 – FileChooser network browsing and authentication support
341
342         * gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory): 
343         Privately export this method. It classifies directories and mountables
344         the same.
345
346         * gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
347         G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
348         mounts.
349
350         * gtk/gtkfilesystemmodel.c:
351         * gtk/gtkfilechooserbutton.c:
352         * gtk/gtkfilechooserentry.c: 
353         * gtk/gtkfilechooserdefault.c: Use the new function instead of 
354         direct checks for G_FILE_TYPE_DIRECTORY throughout.
355
356 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
357         
358         Bug 562579 – Remove error dialog when directory does not exist
359
360         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
361         Don't show an error dialog when changing to a non-existing folder,
362         since this is ususally just an annoyance. 
363
364 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
365
366         Bug 556233 – local-only causes G_IS_FILE warning
367
368         * gtk/gktfilechooserdefault.c (set_local_only): Avoid a warning
369         in tests. Patch by Christian Dywan
370
371 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
372
373         Bug 563158 – CellRendererProgress pulsing and progressing rows can 
374         not be used together
375
376         * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_pulse):
377         Don't try to keep state in a cell renderer between two paint
378         calls. It doesn't work. Patch by Kristian Mueller
379
380 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
381
382         Bug 555560 – gtk_combo_box_set_active fails with no model
383         
384         * gtk/gtkcombobox.c: Allow out-of-order setting of model and active.
385         Patch by Christian Dywan
386
387 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
388
389         Bug 558306 – Cannot build gdk (gtk+ 2.14.4) on Solaris 8
390
391         * gdk/x11/gdktestutils-x11.c (gdk_test_simulate_button):
392         Remove a C99ism. Pointed out by Eric Lamarque
393
394 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
395
396         Bug 549251 – GTK icon view accessible issue.
397
398         * gtk/gtkiconview.c (gtk_icon_view_accessible_model_row_changed):
399         Handle separate append/set for rows.  Patch by Li Yuan
400
401 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
402
403         Bug 556839 – Crash when opening a link
404
405         * gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
406         image too. Patch by Carlos Garcia Campos
407
408 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
409
410         Bug 563751 – xatom cache is prefilled too late
411
412         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
413         XAtom cache earlier. Patch by Christian Persch
414
415 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
416
417         Bug 564212 – gtk_icon_view_accessible_model_rows_reordered explain 
418         new_order in the wrong way
419
420         * gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
421         Use the new order correctly.  Patch by Li Yuan
422
423 2008-12-13  Matthias Clasen  <mclasen@redhat.com>
424
425         Bug 563835 – Typo in gtk_widget_has_screen() docs
426
427         * gdk/directfb/gdkwindow-directfb.c:
428         * gdk/gdkwindow.c:
429         * gdk/x11/gdkwindow-x11.c:
430         * gtk/gtkmenushell.c:
431         * gtk/gtkwidget.c:
432         * gtk/tests/builder.c:
433         * tests/testdnd.c: s/heirarchy/hierarchy/ in docs and comments.
434         Pointed out by Wouter Bolsterlee
435
436 2008-12-12  Matthias Clasen  <mclasen@redhat.com>
437
438         Bug 564066 – Crash in gtk_rc_parse_default_files
439
440         * gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
441         early. Bug report by Andrés G. Aragoneses
442
443 2008-12-12  Matthias Clasen  <mclasen@redhat.com>
444
445         * gtk/gtkmountoperation.c: Set an empty title on password dialogs.
446         Pointed out by Máirín Duffy.
447
448 2008-12-11  Sven Herzberg  <sven@imendio.com>
449
450         Document the "set-scroll-adjustments" signal
451
452         Reviewed by Kristian Rietveld.
453
454         * gtk/gtkiconview.c,
455         * gtk/gtklayout.c,
456         * gtk/gtktextview.c,
457         * gtk/gtktreeview.c,
458         * gtk/gtkviewport.c: added proper documentation for the signal
459
460 2008-12-11  Daniel Elstner  <danielk@openismus.com>
461
462         Bug 563994 – Input method module interface not documented
463
464         * gtk/gtkimcontext.h: Add public/private markers.
465         * gtk/gtkimcontext.c: Add section documentation which explains how
466         to add a new input method module to GTK+.  Document the signals and
467         virtual functions of GtkIMContextClass.
468         * gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
469         * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
470         GtkIMContextInfo to section GtkIMContext.
471         * docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
472         gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
473         * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
474         repository since all the hand-edited content has been migrated to
475         source file comments.
476
477 2008-12-10  Matthias Clasen  <mclasen@redhat.com>
478
479         Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
480         -- but what should be used instead?
481
482         * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.
483
484 2008-12-10  Daniel Elstner  <danielk@openismus.com>
485
486         Maintenance of Multipress input method by Openismus GmbH:
487
488         * modules/input/gtkimcontextmultipress.[ch]: Clean up the code
489         a bit to follow the GTK+ coding style more closely.  Fix the code
490         to emit "preedit-start" and "preedit-end", too, rather than only
491         "preedit-changed".
492         (GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
493         gtk_im_context_multipress*. Shouldn't break API or ABI as it's
494         only used internally.
495         * modules/input/immultipress.c: More cleanup,
496         * modules/input/README.multipress: ditto.
497
498 2008-12-09  Michael Natterer  <mitch@imendio.com>
499
500         * gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.
501
502 2008-12-09  Michael Natterer  <mitch@imendio.com>
503
504         * gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
505         semicolon.
506
507         * gtk/gtkcontainer.c (attributes_text_element): "value" is a
508         gchar*, not const gchar*.
509
510 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
511
512         Bug 546378 – GtkAssistant page title is not translatable
513
514         * gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
515         useful for subparsers.
516
517         * gtk/gtkcontainer.c: Make the child property parser support
518         translatable child properties. Patch by Antti Kaijanmäki
519  
520 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
521
522         Bug 554274 – Add default hook for GtkLinkButton
523
524         * gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
525         been set. Patch by Emmanuele Bassi
526
527 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
528
529         Bug 559325 – documentation for gdk_display_get_window_at_pointer() 
530 :       is wrong
531
532         * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
533         the documentation. Patch by Paul Davis
534
535 2008-12-07  Matthias Clasen  <mclasen@redhat.com>
536
537         Bug 563285 – test print backend does not compile
538
539         * modules/printbackends/test/gtkprintbackendtest.c: Clean up
540         includes. 
541
542 2008-12-07  Behdad Esfahbod  <behdad@gnome.org>
543
544         Bug 563547 – Update gdkx11 atom precache table
545
546         * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.
547
548 2008-12-05  Michael Natterer  <mitch@imendio.com>
549
550         Bug 546285 – Allow GtkEntry to draw progress
551
552         * gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
553         allows to set the entry's progress_fraction, its progress_pulse_step
554         and to let the entry's progress pulse.
555
556         * gtk/gtk.symbols: updated.
557
558         * tests/testgtk.c: add progress demo code to the "Entry" window.
559
560 2008-12-04  Johan Dahlin  <jdahlin@async.com.br>
561
562         * gtk/gtkstatusicon.c:
563         Add missing space in gtk-doc deprecated syntax
564
565 2008-12-03  Simos Xenitellis  <simos@gnome.org>
566
567         Bug 557420 – Some compose sequences don't work anymore (or only in
568         a specific order)
569
570         * gtk/gtkimcontextsimple.c: Update of table size, keysym boundary,
571         to match the gtkimcontextsimpleseqs.h table.
572         * gtk/gtkimcontextsimpleseqs.h: Update with older gtk+ compose
573         sequences that went missing due to table update with upstream.
574         * gtk/compose-parse.py: Updated to include gtk-compose-lookaside.txt
575         * gtk/gtk-compose-lookaside.txt: Older gtk+ compose sequences that
576         are not found in the X.Org Compose file.
577
578 2008-12-03  Sven Herzberg  <sven@imendio.com>
579
580         Bug 562998 – GtkFontButton documentation improvements
581
582         * gtk/gtkfontbutton.c: mention the way the font string should be used.
583         Patch by Sven Herzberg and Nelson Benitez
584
585 2008-12-03  Marek Kasik  <mkasik@redhat.com>
586
587         Bug 559914 – eog doesn't apply paper setup.
588
589         * gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
590         and height in points.
591
592 2008-12-02  Carlos Garcia Campos  <carlosgc@gnome.org>
593
594         Bug 562878 – password save incorrectly set in gtkmountoperation
595
596         * gtk/gtkmountoperation.c (remember_button_toggled),
597         (gtk_mount_operation_ask_password): Remember the password save
598         flags only when the radio button becomes active. Set also the
599         default state of the radio buttons depending on the current value
600         of password save flags. 
601         
602 2008-12-01  Matthias Clasen <mclasen@redhat.com>
603
604         Bug 555334 – connected server feature
605
606         * gtk/gtkfilesystem.c (get_volumes_list): Filter out shadow mounts.
607         Patch by David Zeuthen.
608
609 2008-12-01  Matthias Clasen <mclasen@redhat.com>
610
611         * gtk/gtkentry.c: Revert an accidental change that sneaked
612         in with the last commit.
613
614 2008-12-01  Paul Bolle  <pebolle@tiscali.nl>
615
616         Bug 562817 – GtkDialog: typo
617
618         * gtk/gtkdialog.c: Fix typo
619
620 2008-11-29  Matthias Clasen  <mclasen@redhat.com>
621
622         Bug 554453 – "typeahead find" widget of GtkTreeView appears on 
623         wrong monitor in a multi-head environment
624
625         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
626         Make sure the typeahead window follows screen changes of the
627         treeview. Noticed by Rainer Stransky
628
629 2008-11-30  Christian Dywan  <christian@imendio.com>
630
631         Bug 559622 – GdkDevice test segfaults
632
633         * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
634         * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
635         Free and reset device in dispose. Patch by Michael Natterer and myself.
636
637 2008-11-30  Christian Dywan  <christian@imendio.com>
638
639         Bug 554076 – eventually release g_new-ed supported_atoms
640
641         * gdk/x11/gdkevents-x11.c (cleanup_atoms),
642         (gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
643         Patch by Caolan McNamara.
644
645 2008-11-30  Christian Dywan  <christian@imendio.com>
646
647         Bug 539263 – Deprecate gdk_window_get_toplevels
648
649         * gdk/gdkwindow.c:
650         * gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels
651
652 2008-11-29  Federico Mena Quintero  <federico@novell.com>
653
654         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
655         enabled, flip them around for the right-to-left case.  Fixes
656         https://bugzilla.novell.com/show_bug.cgi?id=447004.  Patch by
657         Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>
658
659 2008-11-29  Christian Persch  <chpe@gnome.org>
660
661         * gtk/gtkselection.c: Typo fix.
662
663 2008-11-29  Matthias Clasen  <mclasen@redhat.com>
664
665         * gtk/gtkselection.c:
666         * gtk/gtkentry.c:
667         * gtk/gtkdnd.c:
668         * gtk/gtkcolorsel.c:
669         * gtk/gtkbindings.c: Improve deprecation annotations.
670
671 2008-11-26  Christian Dywan  <christian@imendio.com>
672
673         Bug 561504 – testgtk should load rc file from sub folder
674
675         * tests/testgtk.c (main):
676         Make testgtk look in subfolder and warn if not found
677
678 2008-11-25  Johan Dahlin  <jdahlin@async.com.br>
679
680         Bug 559947 – Unchecked dependency on python>=2.4
681
682         * gtk/gtk-builder-convert:
683         Avoid using sorted() which is only present in python 2.
684
685 2008-11-24  Tristan Van Berkom <tvb@gnome.org>
686
687         * gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
688         fall short of border width and padding.
689
690 2008-11-22  Paul Bolle  <pebolle@tiscali.nl>
691
692         Bug 561335 - Fix typos in GtkToolItem documentation
693
694         * gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation
695
696 2008-11-21  Matthias Clasen <mclasen@redhat.com>
697
698         * configure.in: Bump gtk-doc dependency to 1.11 for
699         nicer index-generation.
700
701 2008-11-21  Matthias Clasen <mclasen@redhat.com>
702
703         * gtk/gtkmountoperation.[hc]: Declare structs in a way that
704         gtk-doc understands.
705
706 2008-11-17  Christian Dywan  <christian@imendio.com>
707
708         Bug 377699 – realizing gtk.Progress() causes SEGV
709
710         * gtk/gtkprogress.c: Define GtkProgress as an abstract type
711
712 2008-11-13  Christian Dywan  <christian@imendio.com>
713
714         Bug 560602 – Wrong GtkMenuItem default value (test fails)
715
716         * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
717         Correct default "label" value to ""
718
719 2008-11-12  Christian Dywan  <christian@imendio.com>
720
721         Bug 560139 – GtkEntry doesn't paint with the right state
722
723         * gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
724         (gtk_entry_expose): Reflect the right state if state-hint is set
725
726 2008-11-12  Christian Dywan  <christian@imendio.com>
727
728         Bug 559619 – invisible-char default cannot be tested
729
730         * gtk/tests/defaultvalue.c (test_type):
731         Skip invisible-char when testing
732
733 2008-11-12  Richard Hult  <richard@imendio.com>
734
735         * gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
736         patch from Paul Davis.
737
738 2008-11-12  Christian Dywan  <christian@imendio.com>
739
740         Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
741
742         * gtk/tests/object.c (list_ignore_properties),
743         (object_test_property), (main): Ignore GtkCurve when testing
744
745 2008-11-12  Richard Hult  <richard@imendio.com>
746
747         Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
748
749         * gdk/gdk.c:
750         * gdk/gdkinternals.h: Add eventloop debug facility.
751         * gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
752         mainloop integration, patch from Owen Taylor. See bug #550942 for
753         the details.
754
755 2008-11-12  Richard Hult  <richard@imendio.com>
756
757         Bug 558586 – handling of keyboard under darwin (quartz)
758
759         * gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
760         new API when building on 64-bit, since there are still old non-xml
761         layouts used out there we don't want to break them. (For 64-bit
762         those layouts doesn't work so we don't have a choice there.)
763
764 2008-11-11  Matthias Clasen  <mclasen@redhat.com>
765
766         * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
767
768 2008-11-11  Michael Natterer  <mitch@imendio.com>
769
770         Bug 553765 – Add orientation API to GtkRange
771
772         * gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
773         evil code that makes sure that the stepper_detail and slider_detail
774         set in GtkRangeClass continue to work with the hacked subclasses
775         below.
776
777         * gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
778         and add gtk_scale_new() and gtk_scale_new_with_range() which take
779         a GtkOrientation argument. Set slider_detail to "Xscale" so above
780         evil code works.
781
782         * gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
783         GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
784         above evil code works.
785
786         * gtk/gtkhscale.c
787         * gtk/gtkvscale.c
788         * gtk/gtkhscrollbar.c
789         * gtk/gtkvscrollbar.c: remove all code except the constructor and
790         call gtk_orientable_set_orientation() in init().
791
792         * gtk/gtk.symbols: changed accordingly.
793
794 2008-11-11  Michael Natterer  <mitch@imendio.com>
795
796         * gtk/gtktoolbar.h: move deprecated functions together, move
797         setters and getters together, some indentation cleanup.
798
799 2008-11-11  Michael Natterer  <mitch@imendio.com>
800
801         * gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
802         and deprecate gtk_toolbar_get,set_orientation().
803
804         * gtk/gtk.symbols: changed accordingly.
805
806 2008-11-10  Marek Kasik  <mkasik@redhat.com>
807
808         Bug 560135 - Print when the user double clicks a printer
809
810         * gtk/gtkprintunixdialog.c: add handling of double click to
811         GtkPrintUnixDialog.
812
813 2008-11-07  Michael Natterer  <mitch@imendio.com>
814
815         * gtk/gtkpaned.c: argh, actually call the newly added private
816         gtk_paned_calc_position() instead of the deprecated public
817         version.
818
819 2008-11-07  Michael Natterer  <mitch@imendio.com>
820
821         Bug 553586 – Add orientation API to GtkPaned
822
823         * gtk/gtkpaned.[ch]: implement the GtkOrientable interface
824         and swallow all code from GtkHPaned and GtkVPaned. Add
825         gtk_paned_new() which takes a GtkOrientation argument. Deprecate
826         gtk_paned_compute_position() for good (also for GTK_COMPILATION).
827
828         * gtk/gtkhpaned.[ch]
829         * gtk/gtkvpaned.[ch]: remove all code except the constructor and
830         call gtk_orientable_set_orientation() in init().
831
832         * gtk/gtk.symbols: add gtk_box_new().
833
834 2008-11-07  Johan Dahlin  <jdahlin@async.com.br>
835
836         * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
837         Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
838
839 2008-11-07  Michael Natterer  <mitch@imendio.com>
840
841         * gtk/gtkscrollbar.c: remove bogus newlines in the middle of
842         function calls, fix broken indentation and remove trailing
843         whitespace.
844
845 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
846
847         * gtk/gtkmenuitem.c: Made buildable and added support for adding
848         children of type "submenu"
849
850         * gtk/gtkwindow.c: Added support for custom tag "accel-groups" to
851         add GtkAccelGroups to the window.
852
853         * gtk/gtkcontainer.c: Added builder contextual warnings in
854         buildable_add_child()
855
856         * gtk/tests/builder.c: Added tests for buildable menus (test that
857         accelerators are properly connected on stock items, test the menu
858         hierarchy, test permission to add alien/custom menuitem children).
859
860         * docs/reference/gtk/tmpl/gtkbuilder.sgml
861         * docs/reference/gtk/tmpl/gtkwindow.sgml
862         * docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for
863         buildable submenus and accel groups.
864
865 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
866
867         * gtk/gtkmenuitem.[ch]: added new apis
868         gtk_menu_item_[set/get]_label() and
869         gtk_menu_item_[set/get]_use_underline() with "label" and
870         "use-underline" properties, constructors cleaned up to use
871         g_object_new().  GtkMenuItemClass take new vfuncs
872         ->get/set_label().
873
874         * gtk/gtkcheckmenuitem.c: constructors cleaned up to use
875         g_object_new().
876
877         * gtk/gtkimagemenuitem.[ch]: added new apis
878         gtk_image_menu_item_[get/set]_use_stock() and
879         gtk_image_menu_item_set_accel_group() with "use-stock" and
880         write-only "accel-group" properties. constructors cleaned up to
881         use g_object_new().
882
883 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
884
885         * gtk/gtkbuilder.h: Fixed a crasher in
886         GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
887
888 2008-11-06  Tristan Van Berkom <tvb@gnome.org>
889
890         * gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
891         on top of any markup or mnemonic attributes (bug 558409).
892
893         * README: Updated and added release notes for 2.16
894
895 2008-11-06  Richard Hult  <richard@imendio.com>
896
897         Bug 558586 – handling of keyboard under darwin (quartz)
898
899         * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
900         Arnaud Charlet to replace use of deprecated keyboard layout API
901         with the new TIS API available in 10.5. The old code is still used
902         when building for 10.4.
903
904 2008-11-05  Richard Hult  <richard@imendio.com>
905
906         * gdk/quartz/gdkevents-quartz.c:
907         (get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
908         (at least for now) the alt/cmd switching since it breaks the
909         "alt-gr" functionality of alt which makes it impossible to input
910         lots of characters.
911
912 2008-11-05  Christian Dywan  <christian@imendio.com>
913
914         Bug 559404 – gtk_editable_insert_text counts length in bytes
915
916         * gtk/gtkeditable.c:
917         Document new_text_length as the number of bytes
918
919 2008-11-05  Richard Hult  <richard@imendio.com>
920
921         * gdk/quartz/gdkwindow-quartz.c:
922         (gdk_window_impl_quartz_begin_paint_region): Set the fill color
923         outside the loop.
924
925 2008-11-05  Richard Hult  <richard@imendio.com>
926
927         * gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
928         (gtk_status_icon_get_tooltip_markup): Fix build for win32 and
929         quartz.
930
931 2008-11-04  Tor Lillqvist  <tml@novell.com>
932
933         Bug 557212 - Problem with which window gains focus and is visible
934
935         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
936         Only do the restacking for the active window of the
937         application. Seems to fix the problem.
938
939         (gdk_event_translate): Only call ensure_stacking_on_activate_app()
940         when the application is being activated, not deactivated.
941
942 2008-11-03  Matthias Clasen  <mclasen@redhat.com>
943
944         * gtk/gtk.symbols:
945         * gtk/gtkstatusicon.[hc]: Add new tooltip api.
946
947 2008-11-03  Christian Persch  <chpe@gnome.org>
948
949         Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
950
951         * gtk/gtkiconview.c: Make gtk_drag_*_add_*_targets() usable with
952         GtkIconView.
953
954 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
955
956         Bug 558929 – gtkstatusicon.c: 'event' is a member of the structure
957
958         * gtk/gtkstatusicon.c: Fix the build.
959
960 2008-11-02  Matthias Clasen  <mclasen@redhat.com>
961
962         * gtk/gtkimagemenuitem.c: Make it possible to overrule the
963         gtk-menu-images setting.
964
965         * gtk/gtkaction.c (connect_proxy): Show the image before adding
966         it to the image menu item.
967
968 2008-11-01  Tor Lillqvist  <tml@novell.com>
969
970         Bug 558278 - Crash when calling a callback set by
971         gdk_add_client_message_filter()
972
973         * gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
974         apply_filters() so that it is clear that this function is for
975         GdkEventFilters only.
976
977         (print_event): Print more information for GDK_CLIENT_EVENT events.
978
979         (gdk_event_translate): When handling client filters, don't use
980         apply_event_filters(). Use similar code as in the X11 backend,
981         although not exactly, as the parameter list and return value
982         semantics of gdk_event_translate() is different.
983
984         * tests/testclientmessage.c: New interactive test program to
985         verify client message functionality.
986
987         * tests/Makefile.am: Add it.
988
989 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
990
991         Bug 409435 – GtkStatusIcon enhancements: DnD, scroll events, 
992         middle click, rich tooltips
993
994         * gtk/gtkstatusicon.[hc]: Add support for button press/release and
995         scroll events. Patch by Ed Catmur
996
997 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
998
999         Bug 322934 – Replace menu's proxy icons with empty space hiding icons
1000
1001         * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
1002         regardless of imagees or checks being in the menu. Also add
1003         padding on the right edge.
1004         Proposal by Luca Ferretti, patch by Jon McCann
1005
1006 2008-11-01  Matthias Clasen  <mclasen@redhat.com>
1007
1008         Bug 412134 – Add API to query style properties from the style
1009
1010         * gtk/gtk.symbols:
1011         * gtk/gtkstyle.[hc]: Add getters for style properties to
1012         avoid the need for ugly workarounds with dummy widget instances.
1013         Patch by Mariano Suárez-Alvarez
1014
1015 2008-10-31  Christian Dywan  <christian@imendio.com>
1016
1017         Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
1018
1019         * gtk/gtk.symbols:
1020         * gtk/gtkfontsel.c:
1021         * gtk/gtkfontsel.h:
1022         Deprecate gtk_font_selection_dialog_get_apply_button
1023
1024 2008-10-31  Matthias Clasen  <mclasen@redhat.com>
1025
1026         Bug 558323 – glitches when popping up combos in treeviews
1027
1028         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
1029         Don't set the model property on the combo box, since that leads
1030         to loops.
1031
1032 2008-10-31  Christian Dywan  <christian@imendio.com>
1033
1034         Bug 347230 – testicontheme shortcomings
1035
1036         * tests/testicontheme.c (main):
1037         Use theme for "display" and quit on window closing
1038
1039 2008-10-30  Matthias Clasen  <mclasen@redhat.com>
1040
1041         Bug 558522 – scroll arrow painted insensitive even though there
1042         are pages beyond the edge
1043
1044         * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
1045         arrows. Pointed out by Christian Persch
1046
1047 2008-10-30  Michael Natterer  <mitch@imendio.com>
1048
1049         * gtk/gtkcellrenderertext.h
1050         * gtk/gtkentry.[ch]
1051         * gtk/gtkimcontext.h
1052         * gtk/gtklabel.c
1053         * gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
1054         remove its inclusion here.
1055
1056 2008-10-30  Michael Natterer  <mitch@imendio.com>
1057
1058         * gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
1059         somehow include gtkobject.h or another header which includes it.
1060
1061 2008-10-30  Marek Kasik  <mkasik@redhat.com>
1062
1063         Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
1064
1065         * gtk/gtk.symbols
1066         * gtk/gtkprintsettings.c
1067         * gtk/gtkprintsettings.h
1068         * docs/reference/gtk/gtk-sections.txt
1069         * modules/printbackends/file/gtkprintbackendfile.c
1070         * modules/printbackends/test/gtkprintbackendtest.c
1071         * modules/printbackends/cups/gtkprintbackendcups.c
1072         * modules/printbackends/lpr/gtkprintbackendlpr.c:
1073         Added lpi (lines per inch) setting to GtkPrintSettings and support
1074         for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
1075
1076 2008-10-30  Michael Natterer  <mitch@imendio.com>
1077
1078         * gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
1079         it's included via gtkwidget.h anyway.
1080
1081 2008-10-30  Sven Neumann  <sven@gimp.org>
1082
1083         * gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
1084         conditional.
1085
1086 2008-10-30  Christian Dywan  <christian@imendio.com>
1087
1088         Bug 557316 – GtkLinkButton should consider user-defined tooltip
1089
1090         * gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
1091         Only override the tooltip if not previously set
1092
1093 2008-10-29  Christian Dywan  <christian@imendio.com>
1094
1095         Bug 557762 – Misleading error message in GDK DirectFB
1096
1097         * gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
1098         Correctly say GetInputDevice instead of GetDisplayLayer
1099
1100 2008-10-29  Christian Dywan  <christian@imendio.com>
1101
1102         Bug 558397 – gtk_widget_error_bell undefined without a screen
1103
1104         * gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
1105         instance and return silently if unset
1106
1107 2008-10-28  Michael Natterer  <mitch@imendio.com>
1108
1109         * gdk/keyname-table.h: fix small typo.
1110
1111 2008-10-27  Richard Hult  <richard@imendio.com>
1112
1113         Bug 557894 – Wrong return value for
1114         gdk_pointer_grab_info_libgtk_only()
1115
1116         * gdk/quartz/gdkevents-quartz.c:
1117         (gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
1118         pointer grab. Patch by Owen Taylor.
1119
1120 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
1121
1122         * gtk/gtktoolshell.c:
1123         * gtk/gtktoolitem.c: Remove markup from short descriptions.
1124
1125 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
1126
1127         * gdk/keyname-table.h:
1128         * gtk/gen-paper-names.c:
1129         * gtk/paper_names_offsets.c:
1130         * gtk/gtkpapersize.c:
1131         * gtk/gtkaccellabel.c:
1132         * gtk/gtkprintoperation.c:
1133         * gtk/gtkstock.c: More conversion to C_().
1134
1135 2008-10-26  Matthias Clasen  <mclasen@redhat.com>
1136
1137         * gtk/gtkaccellabel.c:
1138         * gtk/gtkcalendar.c:
1139         * gtk/gtkcellrendereraccel.c:
1140         * gtk/gtkcellrendererprogress.c:
1141         * gtk/gtkimmulticontext.c:
1142         * gtk/gtkrecentchoosermenu.c:
1143         * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change!
1144
1145 2008-10-26  Christian Persch  <chpe@gnome.org>
1146
1147         Bug 557065 – gtkcellrendererpixbuf spams console over and over with
1148         'could not load image' warnings
1149
1150         * gtk/gtkcellrendererpixbuf.c:
1151         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Remove noisy
1152         g_warning.
1153
1154 2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
1155
1156         Bug 530454 – Clarify page_nr when printing
1157
1158         * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
1159         that page_nr is 0-based in the documentation.
1160
1161 2008-10-25  Matthias Clasen  <mclasen@redhat.com>
1162         
1163         Bug 557315 – stale clipboard target cache
1164
1165         * gtk/gtkclipboard.c (gtk_clipboard_set_contents): Remove cached
1166         targets. Pointed out by Evan Stade
1167
1168 2008-10-24  Tristan Van Berkom  <tvb@gnome.org>
1169
1170         * gtk/gtkwidget.c: Added a note about GtkWidget:has-tooltip in
1171         the docs for GtkWidget::query-tooltip.
1172
1173 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
1174
1175         * gtk/gtkmountoperation.c: The "screen" property ought to have
1176         type GdkScreen, not GtkWindow. Found by Cosimo Cecchi
1177
1178 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
1179
1180         Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
1181         allocation and deallocation
1182
1183         * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
1184         free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
1185
1186 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
1187
1188         Bug 556835 – gtkentry.c: variable is declared at middle of block
1189
1190         * gtk/gtkentry.c (gtk_entry_copy_clipboard): Fix a C99ism pointed
1191         out by Kazuki Iwamoto
1192
1193 2008-10-24  Matthias Clasen  <mclasen@redhat.com>
1194
1195         Bug 557524 – "va_end(args);" should be added into
1196         gtk_text_buffer_insert_with_tags_by_name( )
1197
1198         * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
1199         Don't forget to call va_end. Pointed out by Boram Park
1200
1201 2008-10-23  Alexander Larsson  <alexl@redhat.com>
1202
1203         Bug 528320 - Incorrect icons displayed for files with custom
1204         mimetype icons
1205         
1206         * gtk/gtkfilesystem.c:
1207         (_gtk_file_info_render_icon):
1208         Fall back on default file icon if there was no icon or it
1209         was not found in the theme. This goes with the corresponding
1210         change in glib to not add the fallback icon, but is useful
1211         in other cases too.
1212
1213 2008-10-22  Behdad Esfahbod  <behdad@gnome.org>
1214
1215         Bug 555920 – gtkentry.c passes wrong enum to
1216         pango_layout_set_alignment()
1217
1218         * gtk/gtkentry.c (gtk_entry_create_layout): Don't set layout
1219         adjustment.
1220
1221 2008-10-22  Matthias Clasen  <mclasen@redhat.com>
1222
1223         * gdk/x11/gdkscreen-x11.c: Only emit size-changed if the screen
1224         size actually changed.
1225
1226 2008-10-21  Michael Natterer  <mitch@imendio.com>
1227
1228         * gdk/gdkdraw.c
1229         * gdk/gdkimage.c
1230         * gdk/gdkscreen.c
1231         * gdk/gdkwindow.c: replace assertions for obj != NULL by
1232         GDK_IS_OBJ(), remove redundant != NULL checks when there is
1233         already a type check, add some g_return_if_fail() that were
1234         missing entirely, fix some broken indentation and spacing.
1235
1236 2008-10-21  Tor Lillqvist  <tml@novell.com>
1237
1238         Bug 557266 - Window Management Problem
1239
1240         Also reported in mail to gtk-list, and of course it has been well
1241         known in general that window state management is messy and buggy
1242         in various ways in gdk/win32.
1243
1244         * gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
1245         handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
1246         the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
1247         must call SetWindowPos() on the window using HWND_TOPMOST
1248         instead. The description for WS_EX_TOPMOST in the documentation
1249         for CreateWindowEx() even implies that if you read it carefully.
1250
1251 2008-10-21  Michael Natterer  <mitch@imendio.com>
1252
1253         * gdk/gdkapplaunchcontext.c: reorder functions to be in standard
1254         order, add prototypes and namespace to static functions, add
1255         g_return_if_fail()s which were missing all over the place.
1256
1257 2008-10-20  Christian Persch  <chpe@gnome.org>
1258
1259         Bug 557059 – crash when compositing emblems with icon
1260
1261         * gtk/gtkicontheme.c: (apply_emblems): Copy the pixbuf before using it
1262         with gtk_pixbuf_composite, in case its pixdata is read-only (mmaped
1263         from icon cache or builtins).
1264
1265 2008-10-20  Murray Cumming  <murrayc@murrayc.com>
1266
1267         * gtk/gtkiconview.c: gtk_icon_view_set_tooltip_row(), 
1268         gtk_icon_view_set_tooltip_item():
1269         * gtk/gtktreeview.c: gtk_icon_view_set_tooltip_row(), 
1270         gtk_icon_view_set_tooltip_cell():
1271         Documentation: Mention the simple set_tooltip_column() 
1272         alternative.
1273
1274 2008-10-18  Tor Lillqvist  <tml@novell.com>
1275
1276         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
1277         WM_WINDOWPOSCHANGING, don't dereference windowpos in the debugging
1278         output without setting it first.
1279
1280 2008-10-18  Tor Lillqvist  <tml@novell.com>
1281
1282         Bug 556578 - GIMP windows stay on top of other windows
1283
1284         * gdk/win32/gdkevents-win32.c (ensure_stacking_on_unminimize)
1285         (ensure_stacking_on_window_pos_changing)
1286         (ensure_stacking_on_activate_app): Ignore unmapped windows in the
1287         loops where we look for the lowest "transient-type" window.
1288
1289         (gdk_event_translate): Don't call
1290         ensure_stacking_on_window_pos_changing() or
1291         ensure_stacking_on_activate_app() for unmapped windows.
1292
1293 2008-10-16  Marek Kasik  <mkasik@redhat.com>
1294
1295         Bug 556527 - The current page property is not passed to
1296         GtkPrintUnixDialog
1297
1298         * gtk/gtkprintoperation-unix.c: pass current-page property
1299         to GtkPrintUnixDialog
1300
1301 2008-10-15  Michael Natterer  <mitch@imendio.com>
1302
1303         * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo
1304         in the type name so the macro becomes usable.
1305
1306 2008-10-14  Christian Dywan  <christian@imendio.com>
1307
1308         556150 – gtk 'object' property test fixing
1309
1310         * gtk/tests/object.c (list_ignore_properties):
1311         Remove some recently fixed properties from the exception list
1312
1313 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
1314
1315         Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup
1316
1317         * gtk/gtkcellrendererpixbuf
1318         (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash
1319         if a GIcon is not present in the current theme. Patch by 
1320         Alex Larsson.
1321
1322 2008-10-13  Matthias Clasen  <mclasen@redhat.com>
1323
1324         Bug 552318 – menubar mnemonics consumed even when
1325         gtk-enable-mnemonics=false
1326
1327         * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic
1328         entries block accelerator activation when gtk-enable-mnemonics is
1329         FALSE. Problem reported by Andreas Moog.
1330
1331 2008-10-13  Cody Russell <cody@jhu.edu>
1332
1333         * test/testfilechooser.c: Fix option parsing so that -a and
1334         --action work correctly.
1335
1336 2008-10-13  Christian Persch <chpe@gnome.org>
1337
1338         Bug 555386 – format not a string literal and no format arguments
1339
1340         * gtk/gtkiconfactory.c
1341         * gtk/gtkprintbackend.c
1342         * gtk/gtkprintoperation.c
1343         * gtk/gtkthemes.c
1344         * gtk/tests/builder.c
1345         * modules/other/gail/gailtextview.c
1346         * tests/testmerge.c: Use printf safely.
1347
1348 2008-10-13  Christian Persch <chpe@gnome.org>
1349
1350         Bug 555724 – gtkcellrendereraccel not initialised correctly
1351
1352         * gtk/gtkcellrendereraccel.c: Initialise the cell text.
1353
1354 2008-10-12  Simos Xenitellis  <simos@gnome.org>
1355
1356         Bug 555625 – Updated gtk_compose_seqs_compact table 
1357         (gtkimcontextsimpleseqs.h)
1358         
1359         * gtk/gtkimcontextsimpleseqs.c: Updated the compose sequence table.
1360         In this update we removed a further set of compose sequences that
1361         are otherwise covered by check_algorithmically(). 
1362
1363         * gtk/gtkimcontextsimple.c: Updated table value that shows how many 
1364         distinct first values exist in the compose sequences. 
1365         Change from 22 to 20.
1366         
1367 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
1368
1369         * gtk/gtktoolbar.c: Revert the GtkSettings::gtk-toolbar-icon-size
1370         part of the previous change, since it doesn't work correctly without
1371         extra complication, and using custom icon sizes doesn't make too
1372         much sense in a desktop-wide setting.
1373
1374 2008-10-11  Matthias Clasen  <mclasen@redhat.com>
1375
1376         Bug 555186 – Setting gtk-toolbar-icon-size with custom icon_size
1377
1378         * gtk/gtktoolbar.c: Turn GtkToolbar::icon-size and
1379         GtkSettings::gtk-toolbar-icon-size into int properties, to
1380         allow the use of app-registered icon sizes.
1381
1382 2008-10-11  Christian Dywan  <christian@imendio.com>
1383
1384         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1385
1386         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1387         Actually test for GTK_IS_WINDOW *and* GTK_WIDGET_TOPLEVEL
1388
1389 2008-10-10  Behdad Esfahbod  <behdad@gnome.org>
1390
1391         Bug 551355 – [PATCH] Make glib build with libtool 2.2
1392
1393         * autogen.sh: Accept libtool 2.2.   We are moving towards having
1394         it working.
1395
1396 2008-10-10  Richard Hult  <richard@imendio.com>
1397
1398         * gdk/quartz/gdkkeys-quartz.c: (gdk_keymap_get_caps_lock_state)
1399         Add empty stub to fix linking.
1400
1401 2008-10-10  Simos Xenitellis  <simos@gnome.org>
1402
1403         Bug 555000 – Wrong treatment on non-spacing marks dead keys in 
1404         GtkIMContextSimple
1405
1406         * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that
1407         it only checks if input is a deadkey keysym.
1408
1409 2008-10-09  Christian Dywan  <christian@imendio.com>
1410
1411         Bug 555676 – gtk_widget_real_grab_focus assumes toplevel == window
1412
1413         * gtk/gtkwidget.c (gtk_widget_real_grab_focus):
1414         Test for GTK_IS_WINDOW instead of GTK_WIDGET_TOPLEVEL
1415
1416 2008-10-09  Christian Dywan  <christian@imendio.com>
1417
1418         Bug 555573 – gtk_font_selection_set_font_name
1419         shouldn't require a screen
1420
1421         * gtk/gtkfontsel.c (gtk_font_selection_set_font_name):
1422         Don't warn if there is no screen, just return FALSE
1423
1424 2008-10-09  Christian Dywan  <christian@imendio.com>
1425
1426         Bug 555523 – gtk_scale_button_set_adjustment should accept NULL
1427
1428         * gtk/gtkscalebutton.c (gtk_scale_button_set_adjustment):
1429         Create a new adjustment if NULL is passed, like other widgets
1430
1431 2008-10-09  Christian Dywan  <christian@imendio.com>
1432
1433         Bug 555578 – GtkTable propertiy maxima are wrong
1434
1435         * gtk/gtktable.c (gtk_table_class_init), (gtk_table_resize):
1436         Always use 65535 instead of G_MAXUINT since that is
1437         the actually supported maximum number of columns and rows
1438
1439 2008-10-09  Richard Hult  <richard@imendio.com>
1440
1441         Bug 550342 – Splash screens have a caption
1442
1443         * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new),
1444         (gdk_window_set_decorations): Patch from Marianne Gagnon to make
1445         splash windows borderless.
1446
1447 2008-10-09  Michael Natterer  <mitch@imendio.com>
1448
1449         Bug 516425 – Optionally display accelerators in popups
1450
1451         * gtk/gtkuimanager.h (enum GtkUIManagerItemType): add value
1452         GTK_UI_MANAGER_POPUP_WITH_ACCELS which works like _POPUP but
1453         shows the actions' accelerators.
1454
1455         * gtk/gtkuimanager.c: honor the new enum value for programmatically
1456         created UIs, and support <popup accelerators="true"> in the XML
1457         for the same purpose.
1458
1459 2008-10-09  Simos Xenitellis  <simos@gnome.org>
1460
1461         Bug 554192 – double press on the "circumflex" dead key 
1462         (standard french 105 keyboard) no longer produces the "^" character
1463
1464         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
1465         Changed the order, put check_compact_table() first, then 
1466         check_algorithmically().
1467
1468 2008-10-08  Christian Persch  <chpe@gnome.org>
1469
1470         Bug 554702 – gtkfilesystem leaks GError
1471
1472         * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError.
1473
1474 2008-10-08  Matthias Clasen  <mclasen@redhat.com>
1475
1476         * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
1477         Don't forget to reset reload_state when current_folder is already
1478         correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992
1479
1480 2008-10-08  Christian Dywan  <christian@imendio.com>
1481
1482         Bug 555270 – Allow unsetting a MessageDialog's image
1483
1484         * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property),
1485         Remove a superfluous cast to GtkWidget*
1486         (gtk_message_dialog_set_image): Accept NULL for the image
1487         and unset the image in that case.
1488
1489 2008-10-08  Christian Dywan  <christian@imendio.com>
1490
1491         Bug 436533 – Allow more space efficient scroll arrows placement
1492
1493         * gtk/gtkenums.h: Add GtkArrowPlacement
1494         * gtk/gtkmenu.c (gtk_menu_class_init), (get_arrows_border),
1495         (get_arrows_visible_area), (get_double_arrows),
1496         (get_arrows_sensitive_area): Implement GtkMenu::arrow-placement
1497         to allow scrolling arrows to be placed at the start, end or both
1498         Patch by Tommi Komulainen and myself
1499
1500 2008-10-08  Christian Dywan  <christian@imendio.com>
1501
1502         Bug 555387 – Changing the sensitivity of a statusbar
1503         mistakenly requires a display
1504
1505         * gtk/gtkstatusbar.c (set_grip_cursor): Only change the cursor
1506         of the resize grip if there is a grip window.
1507
1508 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
1509
1510         * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized
1511         memory warnings from valgrind.
1512
1513 2008-10-07 11:03:30  Tim Janik  <timj@imendio.com>
1514
1515         * gtk/gtkbox.h: keep GtkBox as an abstract type and keep _gtk_box_new()
1516         as private function until we settle on the exact semantics.
1517         renamed _gtk_box_set_old_defaults() as suggested by Mitch.
1518
1519 2008-10-07  Michael Natterer  <mitch@imendio.com>
1520
1521         * gtk/gtkbox.c: reindent static prototypes.
1522
1523 2008-10-07  Michael Natterer  <mitch@imendio.com>
1524
1525         Bug 553573 – Add orientation API to GtkBox
1526
1527         * gtk/gtkbox.[hh]: implement the GtkOrientable interface and
1528         swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
1529         which takes a GtkOrientation argument. Also move the newly
1530         added "spacing_set" boolean from struct GtkBox to the new
1531         private struct.
1532
1533         * gtk/gtkhbox.[ch]
1534         * gtk/gtkvbox.[ch]: remove all code except the constructor and
1535         call gtk_orientable_set_orientation() in init().
1536
1537         * gtk/gtk.symbols: add gtk_box_new().
1538
1539 2008-10-06  Björn Lindqvist  <bjourne@gmail.com>
1540
1541         Bug 539464 – gtk_cell_view_get_model is missing in GtkCellView
1542
1543         * gtk/gtkcellview.c (gtk_cell_view_get_model): Add
1544         gtk_cell_view_get_model.
1545
1546 2008-10-06  Matthias Clasen  <mclasen@redhat.com>
1547
1548         * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip
1549         on the range entry itself, too.
1550
1551 2008-10-04  Tor Lillqvist  <tml@novell.com>
1552
1553         Bug 132501 - Make utility window translate to tool window in win32
1554
1555         Implement the utility window type hint. Such windows are kept on
1556         top of other windows of the same process. Makes GIMP's toolbox and
1557         dock windows behave more like in GNOME under metacity. Apply the
1558         same logic also to windows marked with the dialog window type
1559         hint, and windows that are transient for some other window. I'll
1560         call such windows "transient-type" below.
1561
1562         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused
1563         variables.
1564
1565         (ensure_stacking_on_unminimize)
1566         (ensure_stacking_on_window_pos_changing)
1567         (ensure_stacking_on_activate_app): New functions to implement the
1568         desired stacking order. Make sure that a window that is not
1569         transient-type stays below any transient-type windows of the
1570         application. When activating a non-transient-type window make sure
1571         it rises as high as possible while still staying below the lowest
1572         transient-type window.
1573
1574         (gdk_event_translate): Call above functions on
1575         WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when
1576         unminimizing. Improve debugging printout.
1577
1578         * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations):
1579         Handle utility windows like toolbar windows.
1580
1581         (gdk_window_new_internal) (update_style_bits): Give utility
1582         windows the WS_EX_TOOLWINDOW extended style.
1583
1584         (gdk_window_set_title): If debugging "misc" or "events", make the
1585         handle of top-level windows show up in their title bars. Very
1586         useful when looking at debugging output.
1587
1588         (gdk_window_set_transient_for) (gdk_window_set_keep_above)
1589         (gdk_window_set_keep_below) (gdk_window_set_modal_hint)
1590         (gdk_window_set_skip_taskbar_hint)
1591         (gdk_window_set_skip_pager_hint): Add and improve debugging
1592         printout.
1593
1594         (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE().
1595
1596 2008-10-04  Tor Lillqvist  <tml@novell.com>
1597
1598         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string)
1599         (_gdk_win32_window_pos_bits_to_string): New debugging printout
1600         functions. Decode the WS_EX_* and SWP_* bits.
1601
1602         * gdk/win32/gdkprivate-win32.h: Declare them. Define
1603         GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either
1604         "misc" or "events".
1605
1606 2008-10-03  Matthias Clasen <mclasen@redhat.com>
1607
1608         * gtk/gtkmodules.c (_gtk_modules_settings_changed): Add some
1609         debug output.
1610
1611 2008-10-02  Matthias Clasen <mclasen@redhat.com>
1612
1613         Bug 96431 – Can't cut and paste / DND within invisible entry
1614
1615         * gtk/gtkentry.c: Disable cut, copy and drag out of an invisible
1616         entry. Proposed by Owen Taylor
1617
1618 2008-10-02  Matthias Clasen <mclasen@redhat.com>
1619
1620         Bug 530575 – GtkEntry with invisible chars has a confused cursor in
1621         overwrite mode
1622
1623         * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
1624         in the layout when positioning the cursor, not the actual text
1625         content of the entry. This makes a different when using overwrite
1626         mode in an invisible entry. 
1627         Problem noticed by Jonathan Blandford
1628
1629         * gtk/gtktextutil.c: Fix a typo in a comment
1630
1631 2008-10-02  Christian Persch
1632
1633         Bug 554704 – gtkfilesystemmodel does too much work
1634
1635         * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a
1636         simple NULL check.
1637
1638 2008-10-02  Christian Persch
1639
1640         Bug 554701 – filechooser spams console with useless warnings
1641
1642         * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply
1643         cancelled.
1644
1645 2008-10-02  Christian Persch
1646
1647         Bug 554698 – mem leak in filechooser
1648
1649         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1650
1651 2008-10-02  Christian Persch
1652
1653         Bug 554696 – invalid free function used
1654
1655         * gtk/gtkfilesystemmodel.c: Use the right free func.
1656
1657 2008-10-02  Christian Persch
1658
1659         Bug 554691 – mem leak in filechooser
1660
1661         * gtk/gtkfilesystemmodel.c: Plug a mem leak.
1662
1663 2008-10-02  Christian Persch
1664
1665         Bug 554690 – mem leak in filechooser
1666
1667         * gtk/gtkfilechooserdefault.c: Plug a mem leak.
1668
1669 2008-10-02  Michael Natterer  <mitch@imendio.com>
1670
1671         Bug 553585 – Add orientation API to GtkRuler
1672
1673         * gtk/gtkruler.[ch]: implement the GtkOrientable interface and
1674         swallow all code from GtkHRuler and GtkVRuler. Add gtk_ruler_new()
1675         which takes a GtkOrientation argument.
1676
1677         * gtk/gtkhruler.c
1678         * gtk/gtkvruler.c: remove all code except the constructor and
1679         call gtk_orientable_set_orientation() in init().
1680
1681         * gtk/gtk.symbols: add gtk_ruler_new().
1682
1683 2008-10-01  Torsten Schoenfeld  <kaffeetisch@gmx.de>
1684
1685         * docs/reference/gtk/gtk-sections.txt:
1686         * gtk/gtk.symbols:
1687         * gtk/gtkselection.c:
1688         * gtk/gtkselection.h: Add gtk_selection_data_get_selection to
1689         retrieve the sealed struct field GtkSelectionData.selection.
1690
1691 2008-10-01  Tor Lillqvist  <tml@novell.com>
1692
1693         * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it
1694         confuses newest mingw headers.
1695
1696 2008-10-01  Tor Lillqvist  <tml@novell.com>
1697
1698         * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
1699         Implement trivially on Windows. Not sure if something more complex
1700         is actually needed, more specifically whether the function needs
1701         to differentiate between "Caps Lock" and "Shift Lock" semantics?
1702
1703 2008-10-01  Simos Xenitellis  <simos@gnome.org>
1704
1705         Bug 554506 – combining diacritics broken, became deadkeys
1706
1707         * gtk/gtkimcontextsimple.c: added check if keysym is greater
1708         than 0x1000000, in this case it is not a dead key.
1709
1710 2008-09-30  Michael Natterer  <mitch@imendio.com>
1711
1712         Bug 553582 – Add orientation API to GtkSeparator
1713
1714         * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
1715         swallow all code from GtkHSeparator and GtkVSeparator. Add
1716         gtk_separator_new() which takes a GtkOrientation argument.
1717
1718         * gtk/gtkhseparator.c
1719         * gtk/gtkvseparator.c: remove all code except the constructor and
1720         call gtk_orientable_set_orientation() in init().
1721
1722         * gtk/gtk.symbols: add gtk_separator_new().
1723
1724 2008-09-30  Marek Kasik  <mkasik@redhat.com>
1725
1726         Bug 344522 – support non-local destination files (GtkPrint):
1727
1728         * gtk/gtkprintunixdialog.c
1729         * gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
1730         * modules/printbackends/file/gtkprintbackendfile.c: Add ability
1731         to save files on non-local filesystems.
1732
1733 2008-09-30  Michael Natterer  <mitch@imendio.com>
1734
1735         * gtk/gtk.symbols: forgot the G_GNUC_CONST of
1736         gtk_orientable_get_type().
1737
1738 2008-09-30  Michael Natterer  <mitch@imendio.com>
1739
1740         Bug 541009 – Get rid of separate subclasses for horizontal and
1741         vertical orientation:
1742
1743         * gtk/Makefile.am
1744         * gtk/gtk.symbols
1745         * gtk/gtk.h
1746         * gtk/gtkorientable.[ch]: add new interface GtkOrientable which
1747         will be implemented by everything that can switch orientation.
1748
1749 2008-09-30  Christian Dywan  <christian@imendio.com>
1750
1751         Fix a typo in the tutorial.
1752
1753         * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'.
1754
1755 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1756
1757         Bug 553086 – hard to see current immodule
1758
1759         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
1760         Display the actually selected context in the system menuitem.
1761         Complaint by Akira Tagoh.
1762
1763 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1764
1765         Bug 530568 – Entries with visibility=FALSE should warn for caps-lock
1766         on
1767
1768         * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for
1769         password entries. The warning is also triggered if an input method
1770         is active. The warning can be turned off using the
1771         GtkEntry::caps-lock-warning property. 
1772         Proposed by Owen Taylor
1773
1774 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1775
1776         * gtk/gtk.symbols:
1777         * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): 
1778         Add a getter for the the sealed context_id field.
1779
1780 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1781
1782         Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc.
1783
1784         * gdk/gdk.symbols:
1785         * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and
1786         a gdk_keymap_get_caps_lock_state function.
1787
1788         * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit
1789         state-changed when caps lock lockedness changes. 
1790
1791         * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status
1792         changes in the XkbSelectEventDetails call.
1793
1794 2008-09-29  Kristian Rietveld  <kris@imendio.com>
1795
1796         Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion
1797         over widget
1798
1799         * gtk/gtkwidget.c (gtk_widget_set_property): after updating
1800         tooltip text or markup, call gtk_widget_trigger_tooltip_query()
1801         so that existing visible tooltips are updated.
1802
1803 2008-09-29  Matthias Clasen  <mclasen@redhat.com>
1804
1805         Bug 371908 – Password Entry broken
1806         Bug 317002 – Disable input method completely in GtkEntry when it's 
1807         in invisible mode.
1808
1809         * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave
1810         properly when invisible.
1811
1812         * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if
1813         invisible. 
1814
1815         * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input
1816         methods when making the entry invisible.
1817         
1818 2008-09-29  Emmanuele Bassi  <ebassi@linux.intel.com>
1819
1820         * gdk/x11/gdkinput.c:
1821         (gdk_device_class_init), (gdk_device_finalize): Correctly chain
1822         up the finalize implementation.
1823
1824 2008-09-29  Richard Hult  <richard@imendio.com>
1825
1826         Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c
1827
1828         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1829         Patch from Jon A. Cruz to initialize the allocated selection data.
1830
1831 2008-09-27  Matthias Clasen  <mclasen@redhat.com>
1832
1833         Bug 339367 – Incorrect spotlocation
1834
1835         * modules/input/gtkimcontextxim.c: Correct the spot location
1836         for on-the-spot style.
1837
1838 2008-09-27  Denis Washington  <denisw@svn.gnome.org>
1839
1840         * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation
1841         is used, like GtkTreeView. (Bug #553575)
1842
1843 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1844
1845         Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real
1846         transparency
1847
1848         * gtk/gtktrayicon-x11.c: Add support for the _NET_SYSTEM_TRAY_VISUAL
1849         property described in
1850         http://lists.freedesktop.org/archives/xdg/2008-September/009919.html
1851         If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the 
1852         parent-relative-background hack is skipped and we draw with a real
1853         transparent background.
1854
1855         * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the
1856         parent-relative background is now set when realizing the tray
1857         icon.
1858
1859         Patch by Owen Taylor
1860
1861 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1862
1863         Bug 552956 – Should check composite extension version
1864
1865         * gdk/x11/gdkdisplay-x11.c: Check that the version of the
1866         composite extension is at least 0.4.
1867         Patch by Owen Taylor
1868
1869 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1870         
1871         Bug 553803 – eventually call XCloseDevice on XOpenDevice results
1872
1873         * gdk/x11/gdkinput.c: Add a finalize function for device objects,
1874         and call XCloseDevice there. 
1875
1876         * gdk/x11/gdkinput-x11.c:
1877         * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
1878         the finalize function.
1879         Patch by Caolan McNamara
1880         
1881 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1882
1883         Bug 553578 - tabs are not drawn correctly
1884
1885         * gtk/gtknotebook.c: Track the visibility state of notebook tabs 
1886         between allocations so that we know to redraw the tab labels if 
1887         tabs are hidden and shown without changing position. 
1888         Reported by Marek Kašík, patch by Owen Taylor.
1889
1890 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
1891
1892         Bug 553133 – GtkFileChooser won't ask to mount a volume
1893         Bug 553211 – GtkFileChooserButton unsets filter after first use
1894
1895         * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
1896         a GtkMountOperation when mounting, so that we get a password
1897         dialog when required.  
1898
1899         * gtk/gtkfilechooserdefault.c (show_and_select_files): Also
1900         get the content-type, since it is used later on. 
1901         Pointed out by Davyd Madeley.
1902
1903 2008-09-26  Cody Russell  <bratsche@gnome.org>
1904
1905         Bug 553917 – Typo in gdkwindow-win32.c
1906
1907         * gdk/win32/gdkwindow-win32.c: Fixed a typo in
1908         update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
1909
1910         Reported by Richard Hult
1911
1912 2008-09-25  Marek Kasik  <mkasik@redhat.com>
1913
1914         Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
1915
1916         * modules/printbackends/lpr/gtkprintbackendlpr.c:
1917         The redundant freeing of memory was removed.
1918
1919         Patch by Chris Wang
1920
1921 2008-09-25  Michael Natterer  <mitch@imendio.com>
1922
1923         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
1924         don't unref the file system backend, the newly added
1925         unset_file_system_backend() already does this (bug #553135).
1926
1927 2008-09-24  Michael Natterer  <mitch@imendio.com>
1928
1929         * gtk/gtkeventbox.c: events return gboolean not gint, reindented
1930         static prototypes.
1931
1932 2008-09-24  Johan Dahlin  <johan@gnome.org>
1933
1934         Bug 553385 – gtk-builder-convert creates untranslated combobox models
1935
1936         * gtk/gtk-builder-convert: Set the translatable property on
1937         col tags for converted combos.
1938
1939 2008-09-24  Tor Lillqvist  <tml@novell.com>
1940
1941         * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig,
1942         share/aclocal and share/gtk-doc instead of trying to list
1943         individual files or subdirectories. We had missed gail.pc, for
1944         instance.
1945
1946 2008-09-24  Christian Dywan  <christian@imendio.com>
1947
1948         Bug 538782 – Make GtkMenu's arrow size themable
1949
1950         * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint):
1951         Implement "arrow-scaling" style property in GtkMenu.
1952
1953 2008-09-24  Christian Dywan  <christian@imendio.com>
1954
1955         Bug 408244 – add GtkDialog::content-area-spacing
1956
1957         * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing),
1958         (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set):
1959         * gtk/gtkbox.h:
1960         * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings):
1961         Implement "content-area-spacing" style property in GtkDialog
1962         and internal helper _gtk_box_get_spacing_set in GtkBox.
1963         Patch by Tim Janik, Sven Herzberg and myself.
1964
1965 2008-09-24  Christian Dywan  <christian@imendio.com>
1966
1967         Bug 541391 – Unfocussable Treeview swallows focus
1968
1969         * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus),
1970         (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly
1971
1972 2008-09-24  Denis Washington  <denisw@svn.gnome.org>
1973
1974         * gtk/gtkiconview.c: draw focus as a rectangle around the
1975         complete item, not just the text. (Bug #38254)
1976
1977 2008-09-23  Michael Natterer  <mitch@imendio.com>
1978
1979         * gtk/gtkobject.c
1980         * gtk/gtksignal.[ch]: s/GtkType/GType/ and
1981         s/GtkSignalMarshaller/GSignalCMarshaller/.
1982
1983 2008-09-23  Michael Natterer  <mitch@imendio.com>
1984
1985         * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
1986         variable and fix indentation.
1987
1988 2008-09-23  Michael Natterer  <mitch@imendio.com>
1989
1990         * gtk/gtkclist.h
1991         * gtk/gtkctree.h
1992         * gtk/gtklist.h
1993         * gtk/gtklistitem.h
1994         * gtk/gtkobject.h
1995         * gtk/gtkoldeditable.h
1996         * gtk/gtkpixmap.h
1997         * gtk/gtkpreview.h
1998         * gtk/gtktext.h
1999         * gtk/gtktipsquery.h
2000         * gtk/gtktree.h
2001         * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also
2002         in all deprecated headers.
2003
2004 2008-09-22  Matthias Clasen  <mclasen@redhat.com>
2005
2006         Bug 553135 – eog crash: assertion failed. Gtk error:
2007         shortcuts_remove_rows: code should not be reached
2008
2009         * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem 
2010         signals when we are destroyed, in order to avoid nasty surprises.
2011         Patch by Claudio Saavedra
2012
2013 2008-09-22  Emmanuele Bassi  <ebassi@linux.intel.com>
2014
2015         Bug 552789 – Show size column in the search and recently used
2016         files modes
2017
2018         * gtk/gtkfilechooserdefault.c: Display the file size column
2019         when in OPERATION_MODE_SEARCH. This removes a stat() call
2020         and simplifies the code a little bit by changing the query
2021         for file informations for each search engine hit.
2022
2023 2008-09-22  Michael Natterer  <mitch@imendio.com>
2024
2025         * gtk/gtksignal.[ch]
2026         * gtk/gtkclist.c
2027         * gtk/gtklist.c
2028         * gtk/gtkmain.c
2029         * gtk/gtktext.c
2030         * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of
2031         GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code.
2032
2033 2008-09-22  Frederic Crozat  <fcrozat@mandriva.com>
2034
2035         * gtk/gtkfilesystem.c: use the correct gi18n header.
2036         Fixes bug #553000.
2037
2038 2008-09-22  Michael Natterer  <mitch@imendio.com>
2039
2040         * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated
2041         append(), prepend() and insert() functions and recommend to use
2042         gtk_toolbar_insert() instead. Use GCallback instead of
2043         GtkSignalFunc even in deprecated API.
2044
2045 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
2046
2047         * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't
2048         leak a GFile.
2049
2050 2008-09-19  Owen Taylor  <otaylor@redhat.com>
2051
2052         Small cleanups to debug messages for GtkPlug/GtkSocket
2053
2054         * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
2055         * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug
2056         messages.
2057
2058 2008-09-19  Carlos Garnacho  <carlos@imendio.com>
2059
2060         Bug 83935 – GtkEntry's default invisible char should be U+25CF
2061
2062         * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a
2063         more suitable invisible char than '*' based on the used font.
2064         (gtk_entry_class_init) (gtk_entry_set_property)
2065         (gtk_entry_get_property): Add a "invisible-char-set" property.
2066         (gtk_entry_unset_invisible_char): New function, needed now that the
2067         default invisible char isn't fixed.
2068         * gtk/gtkentry.h:
2069         * gtk/gtk.symbols:
2070         * docs/reference/gtk/gtk-sections.txt: Add the new function.
2071
2072 2008-09-19  Christian Persch  <chpe@gnome.org>
2073  
2074         Bug 552837 – mem leak in gtkimmulticontext
2075  
2076         * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
2077         leak.
2078  
2079 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
2080
2081         * gtk/gtkfilechooserdefault.c (settings_save): Save the size column
2082         visibility state with the rest of the FileChooser settings.
2083
2084 2008-09-18  Emmanuele Bassi  <ebassi@linux.intel.com>
2085
2086         Bug 325095 – show a 'size' column
2087
2088         * gtk/gtkfilechooserdefault.c:
2089         * gtk/gtkfilechooserprivate.h: Add a context menu item controlling
2090         the visibility of the file size column. This works only for the
2091         browse mode, and the column is not visible by default.
2092
2093         * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the
2094         settings file.
2095
2096 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
2097
2098         * modules/engines/ms-windows/*: Revert most of previous patch, as
2099         it didn't work as expected; Some work toward #531086 - the new
2100         GtkTooltip widget doesn't theme properly on win32. Now, at least
2101         the background color seems okay
2102         
2103 2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>
2104
2105         * modules/engines/ms-windows/*: MS Windows style should use
2106         pango_win32_font_description_from_logfont; Allows us to rip out a
2107         lot of potentially buggy code, and also get the font specification
2108         from the XP theme (#434987)
2109         
2110 2008-09-18  Matthias Clasen  <mclasen@redhat.com>
2111
2112         * configure.in: updated version number to 2.15.0 for development.
2113
2114         * ChangeLog.pre-2-14: rotate ChangeLog
2115
2116 === Branch for 2.14 ===