1 2003-01-07 Matthias Clasen <maclas@gmx.de>
3 * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
4 to "select all" and "unselect all". (#102065)
6 * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
7 the just_selected_element is unused.
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)
19 2003-01-06 Matthias Clasen <maclas@gmx.de>
21 Implement a utility function proposed in #102534:
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().
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().
33 2003-01-05 Havoc Pennington <hp@pobox.com>
35 * configure.in: fix a stray bracket that was breaking the build
37 2003-01-05 Tor Lillqvist <tml@iki.fi>
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.
43 * configure.in: Improve check for dimm.h.
45 * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
46 gdk-pixbuf/Makefile.am.
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.
54 * gdk-pixbuf/Makefile.am
55 * gdk-pixbuf/pixops/Makefile.am
57 * gdk/win32/Makefile.am
59 * configure.in: Remove makefile.mingw{,.in} from here, too.
61 * README.win32: Updates. Don't mention the now removed
65 * gtk/gtk.def: Add a couple of missing entries.
67 * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
69 * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
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.
76 2003-01-05 Matthias Clasen <maclas@gmx.de>
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)
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
87 2003-01-04 Matthias Clasen <maclas@gmx.de>
89 * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
90 and /*< private >*/ as appropriate. (#97211)
92 2003-01-04 Tor Lillqvist <tml@iki.fi>
94 * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
95 distribute gtk-zip.sh.in.
97 * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
99 2003-01-03 Havoc Pennington <hp@pobox.com>
101 * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
103 * docs/text_widget_internals.txt: add a file documenting some of
104 the text widget internals
106 2003-01-02 Matthias Clasen <maclas@gmx.de>
108 * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
109 return NULL. (#102069)
111 2003-01-01 Matthias Clasen <maclas@gmx.de>
113 * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
114 a main() in the library is obviously bad.
116 2002-12-27 Matthias Clasen <maclas@gmx.de>
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
123 2002-12-25 Matthias Clasen <maclas@gmx.de>
125 * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
126 selection wrt. to empty lines. (#90435, #90582, #91619)
128 * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
129 Keep the cursor on screen. (#96929)
131 2002-12-24 Matthias Clasen <maclas@gmx.de>
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)
137 2002-12-23 Matthias Clasen <maclas@gmx.de>
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)
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)
147 2002-12-22 Matthias Clasen <maclas@gmx.de>
149 * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
150 with empty ranges. (fixes #101564 and #80637)
152 2002-12-21 Tor Lillqvist <tml@iki.fi>
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
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().
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)
170 (gdk_window_get_decorations): Implement. (#98981)
172 (gdk_window_set_type_hint): When setting
173 GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
176 * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
178 2002-12-21 Matthias Clasen <maclas@gmx.de>
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)
186 2002-12-21 Havoc Pennington <hp@pobox.com>
188 * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation