]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
Add a <StockItem> to the itemfactory example. (#103211)
[~andy/gtk] / ChangeLog.pre-2-10
1 2003-01-15  Matthias Clasen  <maclas@gmx.de>
2
3         * examples/menu/itemfactory.c: 
4         * docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
5         example.  (#103211)
6
7 2002-12-29  Murray Cumming  <murrayc@usa.net>
8
9         Fixes #102168.
10
11         * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
12         Actually implement the GtkTreeDragSource::row_draggable virtual 
13         function in GtkListStore and GtkTreeStore instead of just checking 
14         whether it's implemented at all. This means that DnD isn't broken by
15         gtkmm's virtual function wrappers. The alternative would be to
16         hard-code the TRUE return value into gtkmm's wrappers, but that's 
17         part of GTK+'s implementation, not it's API.
18
19 Tue Jan 14 23:42:29 2002  Kristian Rietveld  <kris@gtk.org>
20
21         * gtk/gtktreeview.c: fix compiler warning.
22
23 Tue Jan 14 23:29:00 2002  Kristian Rietveld  <kris@gtk.org>
24
25         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
26         make sure exposed pixbufs are clipped to the exposed area before
27         drawing, which is a slight speedup. (#102379, patch from Soeren
28         Sandmann).
29
30 Tue Jan 14 23:26:41 2002  Kristian Rietveld  <kris@gtk.org>
31
32         * gtk/gtktreeview.c (validate_visible_area): silly typo fix,
33         only free scroll_to_path when the complete tree has been validated.
34         This makes sure that we scrolled to the correct path.
35
36 Tue Jan 14 23:25:32 2002  Kristian Rietveld  <kris@gtk.org>
37
38         * gtk/gtktreeview.c (gtk_tree_view_style_set): update the
39         background of widget->window and bin->window. (Fixes #96650, reported
40         by Dave Camp).
41
42 Tue Jan 14 23:24:02 2002  Kristian Rietveld  <kris@gtk.org>
43
44         * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process
45         updates before scrolling, avoiding a "selection streak". (Fixes
46         #101235, patch from Soeren Sandmann).
47
48 Tue Jan 14 23:22:13 2002  Kristian Rietveld  <kris@gtk.org>
49
50         * gtk/gtktreeview.c (validate_visible_area): actually put values
51         in the requisition using gtk_widget_size_request. (Fixes #100172,
52         reported by Kjartan Maraas).
53
54 Tue Jan 14 23:19:45 2002  Kristian Rietveld  <kris@gtk.org>
55
56         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the
57         arrow animation timeout before we actually reorder the rbtree. If
58         we don't do this we can get stuck arrows,
59         (cancel_arrow_animation): new function. (Fixes #93629, part 2,
60         reported and testcase provided by Hans Petter Jansson).
61
62 Tue Jan 14 23:18:21 2002  Kristian Rietveld  <kris@gtk.org>
63
64         * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
65         anchor_path should be start_path, not end_path. (Fixes #102618,
66         patch from Carlos Garnacho Parro).
67
68 Tue Jan 14 23:16:15 2002  Kristian Rietveld  <kris@gtk.org>
69
70         * gtk/gtkliststore.c (gtk_list_store_move): also update the tail,
71         only correct new_pos if we don't move to the head/tail.
72
73 Tue Jan 14 23:11:55 2002  Kristian Rietveld  <kris@gtk.org>
74
75         * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from
76         the parent_iter if depth >= 1, so we send the reordered signal to
77         the correct level, remove debugging printfs which I forgot the remove
78         earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and
79         testcase provided by Matthew Tuck).
80
81 Tue Jan 14 20:58:44 2002  Kristian Rietveld  <kris@gtk.org>
82
83         * gtk/gtktreeview.c (invalite_last_column): split out actual column
84         invalidation into invalidate_column(),
85         (gtk_tree_view_size_allocate_columns): invalidate column if the
86         new width is larger than the old width.
87         (fixes #102890, reported by Alex Duggan).
88
89 2003-01-14  Matthias Clasen  <maclas@gmx.de>
90
91         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
92         invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
93         GTK_MOVEMENT_WORDS.
94
95         * gtk/gtktextiter.c,
96         gtk/gtktextiter.h: Add some variant movement functions which
97         skip invisible chars, and do some cleanups.
98
99 2003-01-12  Tor Lillqvist  <tml@iki.fi>
100
101         Merge from stable:
102                 
103         * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
104         as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
105         lookup.
106
107         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
108         gdk.def.
109
110         * gdk/gdk.def
111         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
112
113         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
114         gtk-demo}.exe and share/gtk-2.0.
115
116         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
117         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
118         window style.
119         (gdk_window_set_type_hint): Add all cases to the switch (not all
120         do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
121         calling gdk_window_set_skip_taskbar_hint(). This means that GTK
122         won't know that the skip_taskbar hint is on for the window, is
123         this bad?
124
125 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
126
127         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
128         <string.h> for strlen.
129
130         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
131         <string.h> for strrchr.
132
133         * tests/testgtk.c (create_saved_position): "x" and "y" properties
134         for widgets no longer exist, use gtk_window_move instead.
135
136         * test/testtextbuffer.c (check_get_set_text): cast strlen to
137         int for g_error.
138
139 2003-01-08  Matthias Clasen  <maclas@gmx.de>
140
141         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
142         the selection in the presence of invisible segments.
143
144 2003-01-07  Matthias Clasen  <maclas@gmx.de>
145
146         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
147         to "select all" and "unselect all".  (#102065)
148
149         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
150         the just_selected_element is unused.
151
152         * gtk/gtktextview.c (extend_selection): New helper function to
153         find the range that should be added to the selection. 
154         (selection_motion_event_handler): 
155         (gtk_text_view_start_selection_drag): 
156         (gtk_text_view_end_selection_drag): 
157         (selection_motion_event_handler): 
158         (selection_scan_timeout): Support select-by-words/lines.
159         (gtk_text_view_button_press_event): Start a selection drag on
160         double/triple clicks.  (#78599)
161
162 2003-01-06  Matthias Clasen  <maclas@gmx.de>
163
164         Implement a utility function proposed in #102534:
165         
166         * gtk/gtktextbtree.h: 
167         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
168         (_gtk_text_btree_place_cursor): Now a simple wrapper around
169         _gtk_text_btree_select_range().   
170
171         * gtk/gtktextbuffer.h: 
172         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
173         (gtk_text_buffer_place_cursor): Now a simple wrapper around
174         gtk_text_buffer_select_range(). 
175
176 2003-01-05  Havoc Pennington  <hp@pobox.com>
177
178         * configure.in: fix a stray bracket that was breaking the build
179
180 2003-01-05  Tor Lillqvist  <tml@iki.fi>
181
182         * gtk-zip.sh.in: Use correct DLL and import library names, with
183         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
184         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
185
186         * configure.in: Improve check for dimm.h.
187
188         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
189         gdk-pixbuf/Makefile.am.
190
191         * gdk-pixbuf/makefile.mingw.in
192         * gdk-pixbuf/pixops/makefile.mingw.in
193         * gdk/makefile.mingw.in
194         * gdk/win32/makefile.mingw.in
195         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
196
197         * gdk-pixbuf/Makefile.am
198         * gdk-pixbuf/pixops/Makefile.am
199         * gdk/Makefile.am
200         * gdk/win32/Makefile.am
201         * gtk/Makefile.am
202         * configure.in: Remove makefile.mingw{,.in} from here, too.
203         
204         * README.win32: Updates. Don't mention the now removed
205         makefile.mingw files.
206
207         * gdk/gdk.def
208         * gtk/gtk.def: Add a couple of missing entries.
209
210         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
211
212         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
213         earlier.
214
215         * gdk/win32/rc/Makefile.am: Add hack to help
216         build/win32/lt-compile-resource decide which kind of libtool
217         object file to produce.
218
219 2003-01-05  Matthias Clasen  <maclas@gmx.de>
220
221         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
222         C-Down step through the sequence of paragraph ends (old behaviour
223         included paragraph starts).  (#80340, patch by Narayana Pattipati)
224
225         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
226         Check for a tag toggle at the start iterator before calling
227         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
228         Elstner)
229
230 2003-01-04  Matthias Clasen  <maclas@gmx.de>
231
232         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
233         and /*< private >*/ as appropriate.  (#97211)
234
235 2003-01-04  Tor Lillqvist  <tml@iki.fi>
236
237         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
238         distribute gtk-zip.sh.in.
239
240         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
241
242 2003-01-03  Havoc Pennington  <hp@pobox.com>
243
244         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
245
246         * docs/text_widget_internals.txt: add a file documenting some of
247         the text widget internals
248
249 2003-01-02  Matthias Clasen  <maclas@gmx.de>
250
251         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
252         return NULL.  (#102069)
253
254 2003-01-01  Matthias Clasen  <maclas@gmx.de>
255
256         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
257         a main() in the library is obviously bad. 
258
259 2002-12-27  Matthias Clasen  <maclas@gmx.de>
260
261         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
262         cursor at drop point.  (#72384)
263         (gtk_text_view_size_allocate): Update the horizontal adjustment
264         value.  (#75694)
265
266 2002-12-25  Matthias Clasen  <maclas@gmx.de>
267
268         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
269         selection wrt. to empty lines.  (#90435, #90582, #91619)
270
271         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
272         Keep the cursor on screen.  (#96929)
273
274 2002-12-24  Matthias Clasen  <maclas@gmx.de>
275
276         * gtk/gtktextbuffer.c (paste_from_buffer): 
277         (clipboard_text_received): Let the user action span the insertion
278         and the deletion of the old selection.  (#82844)
279
280 2002-12-23  Matthias Clasen  <maclas@gmx.de>
281
282         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
283         Don't call gtk_text_iter_backward_sentence_start() if
284         count is zero.  (#99115)
285
286         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
287         move_cursor() even if the cursor hasn't moved, since it has the
288         side effect of canceling the selection.  (#81395, #98537, #98333)
289
290 2002-12-22  Matthias Clasen  <maclas@gmx.de>
291
292         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
293         with empty ranges.  (fixes #101564 and #80637)
294
295 2002-12-21  Tor Lillqvist  <tml@iki.fi>
296
297         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
298         sets the window style and extended window style, and adjusts the
299         width and height to take the window decorations into account
300         earlier. The adjusted width and height used to be ignored. Remove
301         the local x, y, width and height variables, no need to further
302         confuse the code by having local copies. (Partial fix, I hope, for
303         #101588)
304
305         (gdk_window_move): When moving top-level windows, take title bar
306         and border width into account, offsetting the coordinates before
307         calling SetWindowPos().
308
309         (gdk_window_set_decorations, gdk_window_set_functions):
310         Reimplement, taking into account the peculiar semantics of
311         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
312
313         (gdk_window_get_decorations): Implement. (#98981)
314         
315         (gdk_window_set_type_hint): When setting
316         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
317         (#79036)
318
319         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
320
321 2002-12-21  Matthias Clasen  <maclas@gmx.de>
322
323         * gtk/gtktextview.c (gtk_text_view_set_background): New static
324         function to set the background of all windows.
325         (gtk_text_view_style_set): Use gtk_text_view_set_background().
326         (gtk_text_view_state_changed): New function; change background
327         according to state.  (#88126)
328
329 2002-12-21  Havoc Pennington  <hp@pobox.com>
330
331         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
332