1 Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
3 * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
6 * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
7 <string.h> for strrchr.
9 * tests/testgtk.c (create_saved_position): "x" and "y" properties
10 for widgets no longer exist, use gtk_window_move instead.
12 * test/testtextbuffer.c (check_get_set_text): cast strlen to
15 2003-01-08 Matthias Clasen <maclas@gmx.de>
17 * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
18 the selection in the presence of invisible segments.
20 2003-01-07 Matthias Clasen <maclas@gmx.de>
22 * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
23 to "select all" and "unselect all". (#102065)
25 * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
26 the just_selected_element is unused.
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)
38 2003-01-06 Matthias Clasen <maclas@gmx.de>
40 Implement a utility function proposed in #102534:
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().
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().
52 2003-01-05 Havoc Pennington <hp@pobox.com>
54 * configure.in: fix a stray bracket that was breaking the build
56 2003-01-05 Tor Lillqvist <tml@iki.fi>
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.
62 * configure.in: Improve check for dimm.h.
64 * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
65 gdk-pixbuf/Makefile.am.
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.
73 * gdk-pixbuf/Makefile.am
74 * gdk-pixbuf/pixops/Makefile.am
76 * gdk/win32/Makefile.am
78 * configure.in: Remove makefile.mingw{,.in} from here, too.
80 * README.win32: Updates. Don't mention the now removed
84 * gtk/gtk.def: Add a couple of missing entries.
86 * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
88 * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
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.
95 2003-01-05 Matthias Clasen <maclas@gmx.de>
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)
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
106 2003-01-04 Matthias Clasen <maclas@gmx.de>
108 * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
109 and /*< private >*/ as appropriate. (#97211)
111 2003-01-04 Tor Lillqvist <tml@iki.fi>
113 * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
114 distribute gtk-zip.sh.in.
116 * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
118 2003-01-03 Havoc Pennington <hp@pobox.com>
120 * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
122 * docs/text_widget_internals.txt: add a file documenting some of
123 the text widget internals
125 2003-01-02 Matthias Clasen <maclas@gmx.de>
127 * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
128 return NULL. (#102069)
130 2003-01-01 Matthias Clasen <maclas@gmx.de>
132 * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
133 a main() in the library is obviously bad.
135 2002-12-27 Matthias Clasen <maclas@gmx.de>
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
142 2002-12-25 Matthias Clasen <maclas@gmx.de>
144 * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
145 selection wrt. to empty lines. (#90435, #90582, #91619)
147 * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
148 Keep the cursor on screen. (#96929)
150 2002-12-24 Matthias Clasen <maclas@gmx.de>
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)
156 2002-12-23 Matthias Clasen <maclas@gmx.de>
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)
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)
166 2002-12-22 Matthias Clasen <maclas@gmx.de>
168 * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
169 with empty ranges. (fixes #101564 and #80637)
171 2002-12-21 Tor Lillqvist <tml@iki.fi>
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
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().
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)
189 (gdk_window_get_decorations): Implement. (#98981)
191 (gdk_window_set_type_hint): When setting
192 GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
195 * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
197 2002-12-21 Matthias Clasen <maclas@gmx.de>
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)
205 2002-12-21 Havoc Pennington <hp@pobox.com>
207 * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation