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