]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-4
Merge from stable:
[~andy/gtk] / ChangeLog.pre-2-4
1 2003-01-12  Tor Lillqvist  <tml@iki.fi>
2
3         Merge from stable:
4                 
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
7         lookup.
8
9         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
10         gdk.def.
11
12         * gdk/gdk.def
13         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
14
15         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
16         gtk-demo}.exe and share/gtk-2.0.
17
18         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
19         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
20         window style.
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
25         this bad?
26
27 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
28
29         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
30         <string.h> for strlen.
31
32         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
33         <string.h> for strrchr.
34
35         * tests/testgtk.c (create_saved_position): "x" and "y" properties
36         for widgets no longer exist, use gtk_window_move instead.
37
38         * test/testtextbuffer.c (check_get_set_text): cast strlen to
39         int for g_error.
40
41 2003-01-08  Matthias Clasen  <maclas@gmx.de>
42
43         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
44         the selection in the presence of invisible segments.
45
46 2003-01-07  Matthias Clasen  <maclas@gmx.de>
47
48         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
49         to "select all" and "unselect all".  (#102065)
50
51         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
52         the just_selected_element is unused.
53
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)
63
64 2003-01-06  Matthias Clasen  <maclas@gmx.de>
65
66         Implement a utility function proposed in #102534:
67         
68         * gtk/gtktextbtree.h: 
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().   
72
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(). 
77
78 2003-01-05  Havoc Pennington  <hp@pobox.com>
79
80         * configure.in: fix a stray bracket that was breaking the build
81
82 2003-01-05  Tor Lillqvist  <tml@iki.fi>
83
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.
87
88         * configure.in: Improve check for dimm.h.
89
90         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
91         gdk-pixbuf/Makefile.am.
92
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.
98
99         * gdk-pixbuf/Makefile.am
100         * gdk-pixbuf/pixops/Makefile.am
101         * gdk/Makefile.am
102         * gdk/win32/Makefile.am
103         * gtk/Makefile.am
104         * configure.in: Remove makefile.mingw{,.in} from here, too.
105         
106         * README.win32: Updates. Don't mention the now removed
107         makefile.mingw files.
108
109         * gdk/gdk.def
110         * gtk/gtk.def: Add a couple of missing entries.
111
112         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
113
114         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
115         earlier.
116
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.
120
121 2003-01-05  Matthias Clasen  <maclas@gmx.de>
122
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)
126
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 
130         Elstner)
131
132 2003-01-04  Matthias Clasen  <maclas@gmx.de>
133
134         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
135         and /*< private >*/ as appropriate.  (#97211)
136
137 2003-01-04  Tor Lillqvist  <tml@iki.fi>
138
139         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
140         distribute gtk-zip.sh.in.
141
142         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
143
144 2003-01-03  Havoc Pennington  <hp@pobox.com>
145
146         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
147
148         * docs/text_widget_internals.txt: add a file documenting some of
149         the text widget internals
150
151 2003-01-02  Matthias Clasen  <maclas@gmx.de>
152
153         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
154         return NULL.  (#102069)
155
156 2003-01-01  Matthias Clasen  <maclas@gmx.de>
157
158         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
159         a main() in the library is obviously bad. 
160
161 2002-12-27  Matthias Clasen  <maclas@gmx.de>
162
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
166         value.  (#75694)
167
168 2002-12-25  Matthias Clasen  <maclas@gmx.de>
169
170         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
171         selection wrt. to empty lines.  (#90435, #90582, #91619)
172
173         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
174         Keep the cursor on screen.  (#96929)
175
176 2002-12-24  Matthias Clasen  <maclas@gmx.de>
177
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)
181
182 2002-12-23  Matthias Clasen  <maclas@gmx.de>
183
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)
187
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)
191
192 2002-12-22  Matthias Clasen  <maclas@gmx.de>
193
194         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
195         with empty ranges.  (fixes #101564 and #80637)
196
197 2002-12-21  Tor Lillqvist  <tml@iki.fi>
198
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
205         #101588)
206
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().
210
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)
214
215         (gdk_window_get_decorations): Implement. (#98981)
216         
217         (gdk_window_set_type_hint): When setting
218         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
219         (#79036)
220
221         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
222
223 2002-12-21  Matthias Clasen  <maclas@gmx.de>
224
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)
230
231 2002-12-21  Havoc Pennington  <hp@pobox.com>
232
233         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
234