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