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