1 2003-01-07 Matthias Clasen <maclas@gmx.de>
3 * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
4 the just_selected_element is unused.
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)
16 2003-01-06 Matthias Clasen <maclas@gmx.de>
18 Implement a utility function proposed in #102534:
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().
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().
30 2003-01-05 Havoc Pennington <hp@pobox.com>
32 * configure.in: fix a stray bracket that was breaking the build
34 2003-01-05 Tor Lillqvist <tml@iki.fi>
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.
40 * configure.in: Improve check for dimm.h.
42 * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
43 gdk-pixbuf/Makefile.am.
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.
51 * gdk-pixbuf/Makefile.am
52 * gdk-pixbuf/pixops/Makefile.am
54 * gdk/win32/Makefile.am
56 * configure.in: Remove makefile.mingw{,.in} from here, too.
58 * README.win32: Updates. Don't mention the now removed
62 * gtk/gtk.def: Add a couple of missing entries.
64 * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
66 * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
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.
73 2003-01-05 Matthias Clasen <maclas@gmx.de>
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)
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
84 2003-01-04 Matthias Clasen <maclas@gmx.de>
86 * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
87 and /*< private >*/ as appropriate. (#97211)
89 2003-01-04 Tor Lillqvist <tml@iki.fi>
91 * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
92 distribute gtk-zip.sh.in.
94 * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
96 2003-01-03 Havoc Pennington <hp@pobox.com>
98 * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
100 * docs/text_widget_internals.txt: add a file documenting some of
101 the text widget internals
103 2003-01-02 Matthias Clasen <maclas@gmx.de>
105 * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
106 return NULL. (#102069)
108 2003-01-01 Matthias Clasen <maclas@gmx.de>
110 * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
111 a main() in the library is obviously bad.
113 2002-12-27 Matthias Clasen <maclas@gmx.de>
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
120 2002-12-25 Matthias Clasen <maclas@gmx.de>
122 * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
123 selection wrt. to empty lines. (#90435, #90582, #91619)
125 * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
126 Keep the cursor on screen. (#96929)
128 2002-12-24 Matthias Clasen <maclas@gmx.de>
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)
134 2002-12-23 Matthias Clasen <maclas@gmx.de>
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)
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)
144 2002-12-22 Matthias Clasen <maclas@gmx.de>
146 * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
147 with empty ranges. (fixes #101564 and #80637)
149 2002-12-21 Tor Lillqvist <tml@iki.fi>
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
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().
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)
167 (gdk_window_get_decorations): Implement. (#98981)
169 (gdk_window_set_type_hint): When setting
170 GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
173 * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
175 2002-12-21 Matthias Clasen <maclas@gmx.de>
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)
183 2002-12-21 Havoc Pennington <hp@pobox.com>
185 * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation