]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
New function to reset the RC styles for a heirarchy
[~andy/gtk] / ChangeLog.pre-2-10
1 Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>
2
3         * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
4         function to reset the RC styles for a heirarchy
5
6         Clear the window background if necessary in
7         gtk_window_style_set.
8
9         * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
10         rereads all previously read RC files.
11
12         * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
13         (Should it just be called gdk_get_toplevels?)
14
15         * gtk/testgtk.c: New test to reload RC files.
16
17 Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
18
19         * gtk/gtkclist.h:
20         * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
21         clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
22         GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
23         the GTK_ prefix (this solution involved less changes in the
24         gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
25         the mem_chunk==NULL test in gtk_clist_construct. merged in changes
26         from lars & stefan to support the derivation of GtkCtree.
27
28         * gtkctree.h:
29         * gtkctree.c:
30         initial import of a tree widget derived from gtkclist, courtesy
31         of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
32         it just damn rocks!
33
34 Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
35
36         * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
37         for us.
38         (gtk_list_insert_items):
39         (gtk_list_remove_items_internal): 
40         (gtk_list_clear_items): 
41         remove a possible pointer grab, we might get thrown into a loop
42         otherwise.
43         (gtk_list_button_press): grab the pointer *before* selecting the child,
44         because selection of items may cause the lists children to change,
45         resulting in a grab release.
46         (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
47         children.
48         (gtk_list_shutdown): remove all children from the list.
49         (gtk_real_list_unselect_child): 
50         (gtk_real_list_select_child): *always* put our internal structures into
51         sane state *before* signal emisions (i.e. list->selection updates prior
52         to gtk_list_item_[de]select() calls).
53
54         * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
55         focused child walks out of the window.
56         removed CAN_FOCUS for the combo arrow's button since it doesn't react
57         to keyboard events ("clicked" connection is missing).
58
59 Fri May  1 00:42:25 1998  Owen Taylor  <otaylor@gtk.org>
60
61         * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
62         getting colormap for FOREIGN windows to go along with
63         Raster's fix for visuals.
64
65 Merges from gtk-1-0
66 ===================
67         
68 Thu Apr 30 23:32:51 1998  Owen Taylor  <otaylor@gtk.org>
69
70         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
71         Check to catch the case when the viewport fits in either
72         direction or both, instead of flip-flopping infinitely.
73
74         Only show/hide the scrollbars once at the end.
75
76 Thu Apr 30 21:56:07 1998  Owen Taylor  <otaylor@gtk.org>
77
78         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): 
79         Include the scrollbars in the foreach call.
80         (gtk-fortier-980405-0.patch; 
81          Patrice Fortier <Patrice.Fortier@aquarel.fr>). 
82
83         The notebook widget
84         really should also include its tabs, but that might cause
85         problems for programs if they
86
87 Thu Apr 30 21:51:52 1998  Owen Taylor  <otaylor@gtk.org>
88
89         * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
90         resize if the size actually changed. 
91         (gtk-johannes-980414-0.patch ;  
92          johannes@nada.kth.se (Johannes Keukelaar) )
93
94 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
95
96         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
97           ltmain.sh ltconfig config.sub config.guess:
98
99         Reverted back to libtool-1.2 (plus minor patches) so as not to
100         force the issue for everyone else.
101
102 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
103
104         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
105         Updated to libtool 1.2a.
106
107         * gtk/gtkclist.c: Draw the in-between lines with style->base
108         instead of style->white.
109         
110 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
111
112         * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: 
113         Cache the colormap and children of a window locally
114         instead of fetching them from the server when needed.
115         Huge performance difference for creating/destroying
116         windows.
117
118         * gtk/gtkstyle.c: Find the depth from the cached
119         visual, instead of asking the server.
120
121         * gtk.m4: Distribute the new version which tries to
122         figure out what went wrong and give helpful error
123         messages.
124
125         * ltmain.sh ltconfig config.sub config.sh: 
126         Updated to libtool 1.2a
127
128         * gtk/gtktext.c: Fixed a bug where the drawn level
129         was being messed up when the text was scrolled
130         during a deletion.
131         
132 Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
133
134         * gtk/gtkfilesel.c: don't die when naughty people remove parts of
135         the filesystem under you (fix from Josh)
136
137 Thu Apr 30 09:49:14 1998  Tim Janik  <timj@gtk.org>
138
139         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
140         if the viewport already exists before iterating over it, maybe we
141         haven't been constructed yet.
142
143 Thu Apr 30 01:51:00 1998  Tim Janik  <timj@gtk.org>
144
145         * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
146         the GtkBin widget already has a child.
147
148         * gtk/gtkbox.c (gtk_box_pack_{start|end}):
149         check that child->parent == NULL;
150
151 Tue Apr 28 22:13:54 1998  Owen Taylor  <otaylor@gtk.org>
152
153         * gtk/gtkselection.c (gtk_selection_clear): Only return
154         FALSE when the clear event is been rejected, not when
155         widget has already lost the selection. (Which should
156         only happen when we are setting the selection to another
157         widget ourself.)
158         
159 Fri Apr 24 19:07:32 1998  Owen Taylor  <otaylor@gtk.org>
160
161         * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
162
163         Removed the "check visibility after gtk_widget_unparent" bug 
164         in hopefully the last three places.
165
166 Tue Apr 28 15:46:41 1998  Tim Janik  <timj@gtk.org>
167
168         * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
169         rc-files.
170
171 Mon Apr 27 15:11:52 1998  Tim Janik  <timj@gtk.org>
172
173         * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
174         for CAN_FOCUS widgets.
175
176         * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
177         adjustments for the table.
178         (create_list): feature automatic adjustment of the scrolled window to
179         always contain the focused child.
180         (create_main_window): keep the focussed button always inside of the
181         scrolled windoww.
182
183         * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
184         adjustments, to contain the allocation of the currently focused child.
185         (gtk_container_set_focus_hadjustment): new functin to set the
186         horizontal focus adjustment.
187         (gtk_container_set_focus_vadjustment): new functin to set the vertical
188         focus adjustment.
189
190         * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
191         clamp the currents adjustment page into a specific range.
192
193         * random GtkType fixups for gtk_*_get_type() functions.
194
195 Fri Apr 24 18:37:16 1998  Owen Taylor  <otaylor@gtk.org>
196
197         * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): 
198         Account for the fact that gtk_tree_item_remove_subtree
199         will be called recursively. 
200
201         Handle removing a collapsed subtree.
202
203         (From Andy Dustman <adustman@comstar.net>)
204         
205         * gtk/gtktree.c (gtk_tree_remove_items): Look for the
206         root tree when removing items from a non-previously
207         mapped tree.
208
209         * gtk/testgtk.c: Added a remove_subtree button.
210         
211 Thu Apr 23 23:44:17 1998  Owen Taylor  <otaylor@gtk.org>
212
213         * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
214         before object removing data. This change fixes a bug where 
215         removing the last weak references would cause it to be 
216         triggered.
217
218 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
219
220         * gdk/Makefile.am: Removed mostly useless dependency that
221         was causing problems for SGI's make, when used with
222         the 'make dist' form of GTK+. (Dependency caused dependencies
223         to be redone when BUILT_SOURCES changed)
224
225 ==========
226
227 Thu Apr 30 11:18:00 1998  Owen Taylor  <otaylor@gtk.org>
228
229         * gtk/gtkcombo.[ch]: Allow the user to use the popup list
230         like a menu.
231         
232         * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
233         to gtkitem.c so dragging can also work in lists.
234
235         * gtk/gtklist.[ch]: Track child enter events and use
236         those to allow dragging the selection. 
237
238 Thu Apr 30 11:16:06 1998  Owen Taylor  <otaylor@gtk.org>
239
240         * gtk/gtktext.c: Try enabling background pixmaps for editable text
241         widgets.  There is a bit of flashing, but not too bad. If you
242         don't want the flashing, you can always not set a background
243         pixmap.
244
245 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
246
247         * gtk/gtktext.c: Fixed a bug where the drawn level
248         was being messed up when the text was scrolled
249         during a deletion.
250         
251 1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
252
253         * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
254         bug:  There is no need to set the ExposureMask in the XGrabPointer
255         (this caused DnD programs to crash).
256
257 Fri Apr 24 01:29:04 1998  Tim Janik  <timj@gtk.org>
258
259         * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
260         field to be of type guint.
261         * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
262         ref_count>0;
263         (gtk_accelerator_table_install): keep a per object list of accelerator
264         tables that refer to this object.
265         (gtk_accelerator_table_remove): remove the accelerator table from the
266         per object list.
267         (gtk_accelerator_table_clean): warn if there are any object references
268         left in an accelerator table upon destruction.
269         (gtk_accelerator_tables_delete): new function to delete object
270         references from the accelerator tables associated with this object.
271
272         * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
273         GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
274         of an accelerator can be prevented by gtk_signal_emit_stop().
275         (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
276         so there are no stale pointers in accelerator tables left.
277
278 1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>
279
280         * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
281         visible before we unparent it.
282
283 Wed Apr 22 04:15:26 1998  Tim Janik  <timj@gtk.org>
284
285         * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
286         running_timeouts list with the tmp_list link itself, not with a new
287         GList structure pointing to our link. that would fill up memory and
288         causes the GList.data fields of the running_timeouts list to point to
289         GList structures and not GtkTimeoutFunction structures which is a
290         *really* bad thing.
291         (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
292         the above entry ;).
293
294 Sat Apr 18 22:18:12 1998  Tim Janik  <timj@gtk.org>
295
296         * gtk/gtkradiomenuitem.h: 
297         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
298         ala gtk_radio_button_set_group.
299         (gtk_radio_menu_item_init): assure that we always have at least a group
300         that points to self.
301
302         * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
303         added g_return_if_fail() statements.
304         (gtk_radio_button_init): assure that we always have at least a group
305         that points to self.
306
307 Fri Apr 17 03:05:05 1998  Tim Janik  <timj@gtk.org>
308
309         * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
310
311 Wed Apr 15 05:13:09 1998  Tim Janik  <timj@gtk.org>
312
313         * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
314         (Damon Chaplin), which i got wrong when applying Damon's patch the last
315         time.
316
317 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
318
319         * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
320         that when we are running with a non-installed colormap,
321         in 8-bit pseudo-color, we actually are using the system
322         visual. (Fixes *Bad Match* errors on Digital Unix machines
323         with multiple 8-bit pseudo-color visuals)
324
325 1998-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
326
327         * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
328         by whoever thought that randomly changing ints to unsigned int
329         without reviewing the code was a good idea.  It is, btw not
330         mentioned in the ChangeLog as usual, but I know it was not Elliot
331         the culprit this time. 
332
333 Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
334
335         * Released GTK+ 1.0.0