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