]> Pileus Git - ~andy/gtk/blob - README.in
Updated Basque translation.
[~andy/gtk] / README.in
1 General Information
2 ===================
3
4 This is GTK+ version @GTK_VERSION@. GTK+ is a multi-platform toolkit for
5 creating graphical user interfaces. Offering a complete set of widgets,
6 GTK+ is suitable for projects ranging from small one-off projects to
7 complete application suites.
8
9 GTK+ is free software and part of the GNU Project. However, the
10 licensing terms for GTK+, the GNU LGPL, allow it to be used by all
11 developers, including those developing proprietary software, without any
12 license fees or royalties.
13
14 The official ftp site is:
15   ftp://ftp.gtk.org/pub/gtk
16
17 The official web site is:
18   http://www.gtk.org/
19
20 Information about mailing lists can be found at
21   http://www.gtk.org/mailinglists.html
22
23
24 Installation
25 ============
26
27 See the file 'INSTALL'
28
29
30 Release notes for 2.12
31 ======================
32
33 * gtk_about_dialog_get/set_name() were deprecated in favour of
34   gtk_about_dialog_get/set_program_name(), the GtkAboutDialog now uses the
35   "program-name" property instead of the conflicting "name" property.
36
37 * The gdk-pixbuf tiff loader now requires libtiff 3.6.0 or later.
38
39 * Support for Windows 9x/ME has officially been removed. It hasn't worked
40   since 2.6 anyway.
41
42 * The GtkTextBufferTargetInfo enumeration values have been changed from
43   G_MAXUINT-0, G_MAXUINT-1, G_MAXUINT-2, etc, to -1, -2, -3 to stay within
44   ANSI C limits.
45
46 * A change in the handling of _NET_WM_USER_TIME properties on toplevel
47   windows can cause deadlock problems with window managers that are using
48   GDK for drawing decorations. In particular, metacity <= 2.18.0 is affected
49   by this. The problem has been fixed in metacity 2.18.1.
50
51 * Semi-private GtkTextLayout api has changed: new GtkTextLayout method
52   invalidate_cursors(), and new functions gtk_text_layout_invalidate_cursors()
53   and gtk_text_layout_cursors_changed(), which should be used in place of
54   gtk_text_layout_invalidate() and gtk_text_layout_changed() if invalidation
55   is due to marks moved or changed selection; new GtkTextLineDisplay structure
56   member. Source compatibility is preserved; binary compatibility may break
57   only if GtkTextLineDisplay structure was created on stack or as a part
58   of another structure (in particular GnomeCanvas and its clones do not need
59   recompiling).
60
61 * Another new signal has been added to GtkNotebook. The new signal
62   is called create-window, so this name can no longer be used for signals
63   in objects derived from GtkNotebook.
64
65 * The gtk_notebook_set/get_group_id() functions were found to be insufficient
66   and have been deprecated in favour of gtk_notebook_set/get_group().
67
68 * The move-focus signal has been moved to GtkWidget, to unify the 
69   various implementations of this signal in specific widgets. Great care 
70   has been taken to make sure that all code using this signal continues
71   to work.
72
73 * An unused and hardly visible GtkFrame has been removed from the menu 
74   widget hierarchy when GtkComboBox::appears-as-list style property is 
75   set. Any RC file applying a different style to any widget below the 
76   widget path "gtk-combobox-popup-window.GtkFrame" should take into 
77   account that the frame no longer exists.
78
79 * The external print preview application used by GtkPrintOperationPreview 
80   is now passed the print settings on the command line with the 
81   --print-settings parameter pointing to a temp file containing the 
82   settings. The preview application assumes ownership of the file and 
83   should delete it once it does not need it anymore. The --print-settings 
84   commandline option is understood by Evince 0.9.0 and newer. To use a 
85   different print preview application, change the gtk-print-preview-command 
86   setting in your gtkrc file, e.g. gtk-print-preview-command = "ggv %f"
87
88 * GtkMenuShell is now defined as an abstract type. It was already 
89   documented as an abstract class, and there is little reason to 
90   instantiate it.
91
92 * The GtkTooltips struct (this is the old tooltips API) is now considered
93   private. Code that used to access this struct, in particular the
94   tips_data_list field, will need to change. All of the old tooltips
95   API has been deprecated in favour of a new implementation and
96   API. This affects all of the gtk_tooltips_ functions, and functions 
97   which take a GtkTooltips argument, such as gtk_tool_item_set_tooltip()
98   and gtk_menu_tool_button_set_arrow_tooltip().
99   
100 * The memory management of the GtkRecentManager object has been changed,
101   as using the screen didn't guarantee that the singleton instance was
102   correctly destroyed. The screen-related functions have been deprecated,
103   and should not be used anymore; the GtkRecentManager instance returned by
104   the gtk_recent_manager_get_default() function is guaranteed to be valid
105   for the entire lifetime of an application.
106
107 * A number of interfaces that have been superseded by newer interfaces for 
108   a long time have finally been deprecated. This includes 
109   gtk_widget_ref/unref(), gtk_rc_style_ref/unref() and the old file selector.
110
111 * The various coordinate systems in use in GtkTreeView widgets have
112   been clarified in the documentation, and in the cause of doing so, 
113   the functions gtk_tree_view_widget_to_tree_coords() and
114   gtk_tree_view_tree_to_widget_coords() have been deprecated in 
115   favour of a new family of gtk_tree_view_convert_ functions.
116
117 * gtk_menu_item_remove_submenu() has been deprecated in favour of
118   gtk_menu_item_set_submenu (..., NULL).
119
120 * gtk_default_draw_check() has been fixed to really decrease the
121   indicator size by one pixel to ensure an odd size instead of
122   accidentially increasing it.
123   Consequently, gtk_cell_renderer_toggle_render() could be fixed to
124   not subtract 1 from the size passed to gtk_paint_option(), which
125   was just a workaround for above off-by-two for even sizes (theme
126   engines now get the real indicator size passed).
127   The default toggle size of GtkCheckMenuItem and GtkCellRendererToggle
128   has been changed to 13 to be consistent with GtkCheckButton.
129   The only visible change with default settings is that the indicator in
130   GtkCellRendererToggle has changed its size from 11 to 13 and is now
131   consistent with menus and toggle buttons.
132
133
134 Release notes for 2.10
135 ======================
136
137 * The hexadecimal Unicode input feature has been reworked. It no longer
138   blocks the use of the sixteen Ctrl-Shift-<hex digit> key sequences. Now
139   it only uses Ctrl-Shift-u.
140
141 * A memory leak in GtkStyle handling has been fixed. This may expose bugs
142   in third-party widgets which forget to call gtk_style_attach() in their
143   realize functions.
144
145 * Range widgets like GtkScrollbar now render their arrows insensitive
146   when the slider is at the end. Applications which react to arrow
147   clicks even if the slider is at the end may want to use the new
148   gtk_range_set_[upper/lower]_stepper_sensitivity() functions to
149   prevent the arrows from being rendered insensitive.
150
151 * GtkObject now uses the "floating reference" support in GObject. 
152   GTK_OBJECT_IS_FLOATING() will still work, but direct checking
153   of the GTK_FLOATING flag will no longer detect the floating 
154   reference. Details about floating references can be found in the docs:
155   http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#floating-ref
156
157 * Accelerators like (_F) are now stripped from labels when they are 
158   displayed in toolbars. If this is not wanted, the feature can be 
159   suppressed by inserting a Unicode control character, e.g ZWNJ.
160
161 * The pixbuf theme engine can now customize expanders (in GtkTreeView
162   and GtkExpander) and resize grips, using the new EXPANDER and
163   RESIZE_GRIP function values.
164
165 * Dialogs created by gtk_about_dialog_new() no longer hide automatically
166   when the user clicks close. It is the applications responsibility to
167   hide or destroy the dialog.
168
169 * Several new signals have been added to GtkNotebook. Care has been taken
170   to choose signal names which do not collide with signals added by well-known
171   derived classes. The names which can no longer be used for signals in 
172   objects derived from GtkNotebook are page-reordered, page-removed and
173   page-added.
174
175 * Due to the interface changes in the file chooser backend interface, 
176   the GTK+ ABI version has been bumped to 2.10.0. Third-party filesystem 
177   backends have to be ported to the new interface, other modules, such as 
178   theme engines, input method modules or pixbuf loaders have to be rebuilt 
179   so that they are installed in the right place for GTK+ to find them.
180
181
182 Release notes for 2.8
183 =====================
184
185 * GTK+ 2.8 and Pango 1.10 require the cairo library.
186
187 * The default theme has been renamed to "Raleigh". Existing configurations
188   specifying the "Default" theme name should still work.
189
190 * The GtkTreeView::enable-search property has been changed to control
191   only typeahead search, not the C-f keybinding to start an interactive
192   search. To turn off interactive searching completely, you have to
193   set GtkTreeView::search-column to -1.
194
195 * The restriction on using the same cell renderer in multiple columns
196   of a GtkTreeView is now more strictly enforced.
197
198 * In GTK+ 2.8, GtkCalendar uses nl_langinfo() (if available) to determine
199   the first day of the week. Thus, it is possible to select the first day
200   of the week independently from the language, by setting LC_TIME.
201
202 * In GTK+ 2.8, the gtk-update-icon-cache utility includes image data
203   in the icon caches, which will make the icon cache files larger than
204   the one produced by GTK+ 2.6. This change will reduce the memory
205   overhead of icon themes at runtime, since all GTK+ applications can
206   share the image data in memory.
207
208 * In 2.8, GDK emits GdkEventGrabBroken events when a keyboard or pointer
209   grab is broken. On X11, this can happen if the same application grabs
210   again, or if the window used for the grab becomes unviewable. It happens
211   more often on Win32. Applications which use grabs should pay attention
212   to these events and do the necessary cleanups when the grab is lost.
213 * The GIOChannel code for sockets on win32 has been rewritten.
214   Applications who make non-trivial use of GIOChannels on win32 should
215   be watched for possible problems.
216
217 * GLib 2.8 uses atomic operations to implement reference counting, thus
218   g_object_ref/unref, g_closure_ref/sink/unref and g_iochannel_ref/unref
219   can be used without locking in multithreaded applications. Note that
220   other modifications, like concurrent setting of properties still require
221   locking.
222
223 * g_convert() and related character set conversion functions have been
224   fixed to emit pending shift states and to not cache iconv descriptors
225   across multiple calls, since that is problematic for some encodings.
226   Note that these functions are not suitable for streaming conversions;
227   use g_iconv() to do streaming conversion.
228
229
230 Release notes for 2.6
231 =====================
232
233 * GTK+ 2.6 supports clipboard persistency. To make use of this feature,
234   a clipboard manager following the specification at
235   http://www.freedesktop.org/wiki/Standards/clipboard-manager-spec
236   must be running. A sample implementation of such a clipboard manager
237   is available at 
238   http://people.imendio.com/andersca/archives/clipboard-manager-0.3.tar.gz
239   Applications can use the function gdk_display_supports_clipboard_persistence() 
240   to find out if clipboard persistence is available.
241
242 * Notification on clipboard ownership changes via GdkOwnerChange events 
243   requires the XFIXES X extension. Applications can use the function
244   gdk_display_supports_selection_notification() to find out if ownerchip
245   change notification is available.
246
247 * The icon theme code in GTK+ 2.6 follows the freedesktop.org icon theme 
248   specification. Setting the XDG_DATA_DIRS environtment variable may be 
249   necessary if your icons aren't installed in the default location 
250   /usr/share/icons.
251
252 * The icon theme code in GTK+ 2.6 can make use of mmap()able cache files
253   to avoid a lot of disk searching overhead. GTK+ includes a utility named
254   gtk-update-icon-cache to generate these cache files. For further details,
255   see the gtk-update-icon-cache man page or the GTK+ documentation.
256
257 * To reduce code size and improve efficiency, GTK+, when compiled 
258   with the GNU toolchain, has separate internal and external entry 
259   points for exported functions. The internal names, which begin with 
260   IA__, may be seen when debugging a GTK+ program.
261
262 * The following functions have been deprecated in GTK+ 2.6:
263   gdk_pango_context_set_colormap
264   gtk_cell_renderer_editing_canceled
265
266 * The new GtkFileChooser widget emphasizes simplicity and thus does 
267   not provide a navigation entry by default when opening files. 
268   Experienced command line users will likely want to make heavy use of
269   the location dialog brought up by the Control-L key shortcut.
270
271 * The GTK+ libraries use an '_' prefix to indicate private symbols that
272   must not be used by applications. On some platforms, symbols beginning 
273   with prefixes such as _gtk, _gdk, and _pango will be exported
274   from the library, on others not. In no case can applications
275   use these private symbols. In addition to that, GTK+ 2.6 makes several
276   symbols private which were not in any installed header files and
277   were never intended to be exported.
278
279 * The gdk_pixbuf_xlib library included in the contrib/ directory 
280   and the framebuffer GDK backend included in the gdk/linux-fb directory
281   of GTK+ are provided on an as-is basis and have not been tested at all. 
282   No guarantees about the degree of workingness or about future
283   compatibility are provided.
284
285 * On Unix, the assumption of GLib and GTK+ by default is that filenames on 
286   the filesystem are encoded in UTF-8 rather than the encoding of the locale;
287   the GTK+ developers consider that having filenames whose interpretation
288   depends on the current locale is fundamentally a bad idea.
289
290   If you have filenames encoded in the encoding of your locale, then you 
291   may want to set the G_FILENAME_ENCODING environment variable:
292   
293    G_FILENAME_ENCODING=@locale
294    export G_FILENAME_ENCODING
295
296   (Earlier versions of GLib 2.x required a different environment variable
297   setting; G_BROKEN_FILENAMES=1 to achieve the same effect; this 
298   is still supported, but G_FILENAME_ENCODING is preferred.)
299   Best integration of GTK+ 2.6 with the environment is achieved by 
300   using a UTF-8 locale.
301
302   On Windows, filenames passed to GTK+ should always be in UTF-8, as
303   in GLib 2.6. This is different than in previous versions of GTK+
304   where the system codepage was used. As in GLib, for DLL ABI
305   stability, applications built against previous versions of GTK+ will
306   use entry points providing the old semantics.
307
308   When compiling against GTK+ 2.6, applications intended to be
309   portable to Windows must take the UTF-8 file name encoding into
310   consideration, and use the gstdio wrappers to access files whose 
311   names have been constructed from strings returned from GTK+ or GLib.
312
313
314 How to report bugs
315 ==================
316
317 Bugs should be reported to the GNOME bug tracking system.
318 (http://bugzilla.gnome.org, product gtk+.) You will need to create an
319 account for yourself.
320   
321 In the bug report please include:
322   
323 * Information about your system. For instance:
324
325    - What operating system and version
326    - What version of X
327    - For Linux, what version of the C library
328
329   And anything else you think is relevant.
330
331 * How to reproduce the bug. 
332
333   If you can reproduce it with one of the tests or demos built with GTK+, 
334   such as demos/gtk-demo/gtk-demo, that would be most convenient. Otherwise, 
335   please include a short test program that exhibits the behavior. As a 
336   last resort, you can also provide a pointer to a larger piece of software 
337   that can be downloaded.
338
339 * If the bug was a crash, the exact text that was printed out when the
340   crash occured.
341
342 * Further information such as stack traces may be useful, but is not
343   necessary. If you do send a stack trace, and the error is an X error,
344   it will be more useful if the stacktrace is produced running the test
345   program with the --sync command line option.
346
347
348 Patches
349 =======
350
351 Patches should also be submitted to bugzilla.gnome.org. If the patch
352 fixes an existing bug, add the patch as an attachment to that bug
353 report.
354
355 Otherwise, enter a new bug report that describes the patch, and attach
356 the patch to that bug report.
357
358 Bug reports containing patches should include the PATCH keyword in their
359 keyword fields. If the patch adds to or changes the GTK+ programming
360 interface, the API keyword should also be included.
361   
362 Patches should be in unified diff form. (The -u option to GNU diff.)