]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-8
ddb3f019306f7836e6a2602246cf2b3b72185ae9
[~andy/gtk] / ChangeLog.pre-2-8
1 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
2
3         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
4         <string.h> for strlen.
5
6         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
7         <string.h> for strrchr.
8
9         * tests/testgtk.c (create_saved_position): "x" and "y" properties
10         for widgets no longer exist, use gtk_window_move instead.
11
12         * test/testtextbuffer.c (check_get_set_text): cast strlen to
13         int for g_error.
14
15 2003-01-08  Matthias Clasen  <maclas@gmx.de>
16
17         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
18         the selection in the presence of invisible segments.
19
20 2003-01-07  Matthias Clasen  <maclas@gmx.de>
21
22         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
23         to "select all" and "unselect all".  (#102065)
24
25         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
26         the just_selected_element is unused.
27
28         * gtk/gtktextview.c (extend_selection): New helper function to
29         find the range that should be added to the selection. 
30         (selection_motion_event_handler): 
31         (gtk_text_view_start_selection_drag): 
32         (gtk_text_view_end_selection_drag): 
33         (selection_motion_event_handler): 
34         (selection_scan_timeout): Support select-by-words/lines.
35         (gtk_text_view_button_press_event): Start a selection drag on
36         double/triple clicks.  (#78599)
37
38 2003-01-06  Matthias Clasen  <maclas@gmx.de>
39
40         Implement a utility function proposed in #102534:
41         
42         * gtk/gtktextbtree.h: 
43         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
44         (_gtk_text_btree_place_cursor): Now a simple wrapper around
45         _gtk_text_btree_select_range().   
46
47         * gtk/gtktextbuffer.h: 
48         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
49         (gtk_text_buffer_place_cursor): Now a simple wrapper around
50         gtk_text_buffer_select_range(). 
51
52 2003-01-05  Havoc Pennington  <hp@pobox.com>
53
54         * configure.in: fix a stray bracket that was breaking the build
55
56 2003-01-05  Tor Lillqvist  <tml@iki.fi>
57
58         * gtk-zip.sh.in: Use correct DLL and import library names, with
59         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
60         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
61
62         * configure.in: Improve check for dimm.h.
63
64         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
65         gdk-pixbuf/Makefile.am.
66
67         * gdk-pixbuf/makefile.mingw.in
68         * gdk-pixbuf/pixops/makefile.mingw.in
69         * gdk/makefile.mingw.in
70         * gdk/win32/makefile.mingw.in
71         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
72
73         * gdk-pixbuf/Makefile.am
74         * gdk-pixbuf/pixops/Makefile.am
75         * gdk/Makefile.am
76         * gdk/win32/Makefile.am
77         * gtk/Makefile.am
78         * configure.in: Remove makefile.mingw{,.in} from here, too.
79         
80         * README.win32: Updates. Don't mention the now removed
81         makefile.mingw files.
82
83         * gdk/gdk.def
84         * gtk/gtk.def: Add a couple of missing entries.
85
86         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
87
88         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
89         earlier.
90
91         * gdk/win32/rc/Makefile.am: Add hack to help
92         build/win32/lt-compile-resource decide which kind of libtool
93         object file to produce.
94
95 2003-01-05  Matthias Clasen  <maclas@gmx.de>
96
97         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
98         C-Down step through the sequence of paragraph ends (old behaviour
99         included paragraph starts).  (#80340, patch by Narayana Pattipati)
100
101         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
102         Check for a tag toggle at the start iterator before calling
103         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
104         Elstner)
105
106 2003-01-04  Matthias Clasen  <maclas@gmx.de>
107
108         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
109         and /*< private >*/ as appropriate.  (#97211)
110
111 2003-01-04  Tor Lillqvist  <tml@iki.fi>
112
113         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
114         distribute gtk-zip.sh.in.
115
116         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
117
118 2003-01-03  Havoc Pennington  <hp@pobox.com>
119
120         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
121
122         * docs/text_widget_internals.txt: add a file documenting some of
123         the text widget internals
124
125 2003-01-02  Matthias Clasen  <maclas@gmx.de>
126
127         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
128         return NULL.  (#102069)
129
130 2003-01-01  Matthias Clasen  <maclas@gmx.de>
131
132         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
133         a main() in the library is obviously bad. 
134
135 2002-12-27  Matthias Clasen  <maclas@gmx.de>
136
137         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
138         cursor at drop point.  (#72384)
139         (gtk_text_view_size_allocate): Update the horizontal adjustment
140         value.  (#75694)
141
142 2002-12-25  Matthias Clasen  <maclas@gmx.de>
143
144         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
145         selection wrt. to empty lines.  (#90435, #90582, #91619)
146
147         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
148         Keep the cursor on screen.  (#96929)
149
150 2002-12-24  Matthias Clasen  <maclas@gmx.de>
151
152         * gtk/gtktextbuffer.c (paste_from_buffer): 
153         (clipboard_text_received): Let the user action span the insertion
154         and the deletion of the old selection.  (#82844)
155
156 2002-12-23  Matthias Clasen  <maclas@gmx.de>
157
158         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
159         Don't call gtk_text_iter_backward_sentence_start() if
160         count is zero.  (#99115)
161
162         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
163         move_cursor() even if the cursor hasn't moved, since it has the
164         side effect of canceling the selection.  (#81395, #98537, #98333)
165
166 2002-12-22  Matthias Clasen  <maclas@gmx.de>
167
168         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
169         with empty ranges.  (fixes #101564 and #80637)
170
171 2002-12-21  Tor Lillqvist  <tml@iki.fi>
172
173         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
174         sets the window style and extended window style, and adjusts the
175         width and height to take the window decorations into account
176         earlier. The adjusted width and height used to be ignored. Remove
177         the local x, y, width and height variables, no need to further
178         confuse the code by having local copies. (Partial fix, I hope, for
179         #101588)
180
181         (gdk_window_move): When moving top-level windows, take title bar
182         and border width into account, offsetting the coordinates before
183         calling SetWindowPos().
184
185         (gdk_window_set_decorations, gdk_window_set_functions):
186         Reimplement, taking into account the peculiar semantics of
187         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
188
189         (gdk_window_get_decorations): Implement. (#98981)
190         
191         (gdk_window_set_type_hint): When setting
192         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
193         (#79036)
194
195         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
196
197 2002-12-21  Matthias Clasen  <maclas@gmx.de>
198
199         * gtk/gtktextview.c (gtk_text_view_set_background): New static
200         function to set the background of all windows.
201         (gtk_text_view_style_set): Use gtk_text_view_set_background().
202         (gtk_text_view_state_changed): New function; change background
203         according to state.  (#88126)
204
205 2002-12-21  Havoc Pennington  <hp@pobox.com>
206
207         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
208