1 2003-01-12 Tor Lillqvist <tml@iki.fi>
5 * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
6 as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
9 * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
13 * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
15 * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
16 gtk-demo}.exe and share/gtk-2.0.
18 * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
19 Implement by setting or clearing the WS_EX_TOOLWINDOW extended
21 (gdk_window_set_type_hint): Add all cases to the switch (not all
22 do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
23 calling gdk_window_set_skip_taskbar_hint(). This means that GTK
24 won't know that the skip_taskbar hint is on for the window, is
27 Wed Jan 8 18:43:03 2003 Manish Singh <yosh@gimp.org>
29 * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
30 <string.h> for strlen.
32 * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
33 <string.h> for strrchr.
35 * tests/testgtk.c (create_saved_position): "x" and "y" properties
36 for widgets no longer exist, use gtk_window_move instead.
38 * test/testtextbuffer.c (check_get_set_text): cast strlen to
41 2003-01-08 Matthias Clasen <maclas@gmx.de>
43 * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
44 the selection in the presence of invisible segments.
46 2003-01-07 Matthias Clasen <maclas@gmx.de>
48 * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
49 to "select all" and "unselect all". (#102065)
51 * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
52 the just_selected_element is unused.
54 * gtk/gtktextview.c (extend_selection): New helper function to
55 find the range that should be added to the selection.
56 (selection_motion_event_handler):
57 (gtk_text_view_start_selection_drag):
58 (gtk_text_view_end_selection_drag):
59 (selection_motion_event_handler):
60 (selection_scan_timeout): Support select-by-words/lines.
61 (gtk_text_view_button_press_event): Start a selection drag on
62 double/triple clicks. (#78599)
64 2003-01-06 Matthias Clasen <maclas@gmx.de>
66 Implement a utility function proposed in #102534:
69 * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
70 (_gtk_text_btree_place_cursor): Now a simple wrapper around
71 _gtk_text_btree_select_range().
73 * gtk/gtktextbuffer.h:
74 * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
75 (gtk_text_buffer_place_cursor): Now a simple wrapper around
76 gtk_text_buffer_select_range().
78 2003-01-05 Havoc Pennington <hp@pobox.com>
80 * configure.in: fix a stray bracket that was breaking the build
82 2003-01-05 Tor Lillqvist <tml@iki.fi>
84 * gtk-zip.sh.in: Use correct DLL and import library names, with
85 GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
86 (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
88 * configure.in: Improve check for dimm.h.
90 * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
91 gdk-pixbuf/Makefile.am.
93 * gdk-pixbuf/makefile.mingw.in
94 * gdk-pixbuf/pixops/makefile.mingw.in
95 * gdk/makefile.mingw.in
96 * gdk/win32/makefile.mingw.in
97 * gtk/makefile.mingw.in: Remove. Not maintained anyway.
99 * gdk-pixbuf/Makefile.am
100 * gdk-pixbuf/pixops/Makefile.am
102 * gdk/win32/Makefile.am
104 * configure.in: Remove makefile.mingw{,.in} from here, too.
106 * README.win32: Updates. Don't mention the now removed
107 makefile.mingw files.
110 * gtk/gtk.def: Add a couple of missing entries.
112 * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
114 * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
117 * gdk/win32/rc/Makefile.am: Add hack to help
118 build/win32/lt-compile-resource decide which kind of libtool
119 object file to produce.
121 2003-01-05 Matthias Clasen <maclas@gmx.de>
123 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
124 C-Down step through the sequence of paragraph ends (old behaviour
125 included paragraph starts). (#80340, patch by Narayana Pattipati)
127 * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
128 Check for a tag toggle at the start iterator before calling
129 gtk_text_iter_forward_to_tag_toggle(). (#102090, patch by Daniel
132 2003-01-04 Matthias Clasen <maclas@gmx.de>
134 * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
135 and /*< private >*/ as appropriate. (#97211)
137 2003-01-04 Tor Lillqvist <tml@iki.fi>
139 * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
140 distribute gtk-zip.sh.in.
142 * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
144 2003-01-03 Havoc Pennington <hp@pobox.com>
146 * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
148 * docs/text_widget_internals.txt: add a file documenting some of
149 the text widget internals
151 2003-01-02 Matthias Clasen <maclas@gmx.de>
153 * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
154 return NULL. (#102069)
156 2003-01-01 Matthias Clasen <maclas@gmx.de>
158 * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
159 a main() in the library is obviously bad.
161 2002-12-27 Matthias Clasen <maclas@gmx.de>
163 * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
164 cursor at drop point. (#72384)
165 (gtk_text_view_size_allocate): Update the horizontal adjustment
168 2002-12-25 Matthias Clasen <maclas@gmx.de>
170 * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
171 selection wrt. to empty lines. (#90435, #90582, #91619)
173 * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
174 Keep the cursor on screen. (#96929)
176 2002-12-24 Matthias Clasen <maclas@gmx.de>
178 * gtk/gtktextbuffer.c (paste_from_buffer):
179 (clipboard_text_received): Let the user action span the insertion
180 and the deletion of the old selection. (#82844)
182 2002-12-23 Matthias Clasen <maclas@gmx.de>
184 * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
185 Don't call gtk_text_iter_backward_sentence_start() if
186 count is zero. (#99115)
188 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
189 move_cursor() even if the cursor hasn't moved, since it has the
190 side effect of canceling the selection. (#81395, #98537, #98333)
192 2002-12-22 Matthias Clasen <maclas@gmx.de>
194 * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
195 with empty ranges. (fixes #101564 and #80637)
197 2002-12-21 Tor Lillqvist <tml@iki.fi>
199 * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
200 sets the window style and extended window style, and adjusts the
201 width and height to take the window decorations into account
202 earlier. The adjusted width and height used to be ignored. Remove
203 the local x, y, width and height variables, no need to further
204 confuse the code by having local copies. (Partial fix, I hope, for
207 (gdk_window_move): When moving top-level windows, take title bar
208 and border width into account, offsetting the coordinates before
209 calling SetWindowPos().
211 (gdk_window_set_decorations, gdk_window_set_functions):
212 Reimplement, taking into account the peculiar semantics of
213 GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
215 (gdk_window_get_decorations): Implement. (#98981)
217 (gdk_window_set_type_hint): When setting
218 GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
221 * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
223 2002-12-21 Matthias Clasen <maclas@gmx.de>
225 * gtk/gtktextview.c (gtk_text_view_set_background): New static
226 function to set the background of all windows.
227 (gtk_text_view_style_set): Use gtk_text_view_set_background().
228 (gtk_text_view_state_changed): New function; change background
229 according to state. (#88126)
231 2002-12-21 Havoc Pennington <hp@pobox.com>
233 * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation