1 Sun Feb 7 19:49:21 1999 Owen Taylor <otaylor@redhat.com>
3 * gtk/gtkwindow.c (gtk_window_move_resize): Fixed some
4 bugs with set_default_size.
6 Sat Feb 6 13:23:51 1999 Owen Taylor <otaylor@redhat.com>
8 * docs/Changes-1.2.txt: Added information about
9 the change to gtk_widget_size_request().
11 * gtk/gtkentry.c: Call gtk_widget_get_child_requisition
12 explicitely since we differentiate between the usize
13 set by the user and what we got. (Ugh)
15 * gtk/gtkwidget.[ch] (gtk_widget_get_child_requisition):
16 New function to return the effective size of a widget
17 as it looks to its parent.
19 * gtk/gtkwidget.c (gtk_widget_size_request): Leave
20 widget->requisition set to exactly what the widget
21 asked for, and then make a copy of that into
22 the requisition argument. Allow a NULL requisition
23 argument, and, if G_ENABLE_DEBUG, warn if
24 requisition == &widget->requisition.
26 * gtkalignment.c gtkaspectframe.c gtkbutton.c gtkclist.c
27 gtkcontainer.c gtkentry.c gtkeventbox.c gtkfixed.c
28 gtkframe.c gtkhandlebox.c gtkhbox.c gtkhpaned.c
29 gtklayout.c gtklist.c gtklistitem.c gtkmenu.c
30 gtkmenubar.c gtkmenuitem.c gtknotebook.c
31 gtkoptionmenu.c gtkpacker.c gtkscrolledwindow.c
32 gtktable.c gtktoolbar.c gtktree.c gtktreeitem.c
33 gtkvbox.c gtkviewport.c gtkvpaned.c gtkwindow.c
35 Avoid calling gtk_widget_size_request with
36 requisition == widget->requisition; use
37 gtk_widget_get_child_requisition to get the
40 Tue Feb 9 19:49:46 1999 Owen Taylor <otaylor@redhat.com>
42 * configure.in (LDFLAGS): Removed extraneous line
43 that crept in in previous commit.
45 Tue Feb 9 19:39:32 1999 Owen Taylor <otaylor@redhat.com>
47 * gtk/gtkentry.[ch] gtk/gtkeditable.h: Moved
48 entry->visible into editable class. (Leave it
49 behind deprecated for compatibility)
51 * gtk/gtkeditable.c: If not editable->visible,
52 return *'s for clipboard and selection.
54 Tue Feb 9 19:11:43 1999 Owen Taylor <otaylor@redhat.com>
56 * gtk/gtkstyle.c (gtk_style_new): If we can't find
57 helvetica, fall back to "fixed". If we can't
58 find "fixed", exit cleanly.
60 Tue Feb 9 16:03:44 1999 Owen Taylor <otaylor@redhat.com>
62 * acconfig.h configure.in: Rename
63 XIM_INST_IS_MISSING_OR_STRANGE to USE_X11R6_XIM
65 * Conditionalize destroy callbacks with USE_X11R6_XIM.
67 Tue Feb 9 15:35:13 1999 Owen Taylor <otaylor@redhat.com>
69 * gtk/gtklabel.c (gtk_label_style_set): Added
70 a style_set() function so that word lengths get
71 recomputed on style change.
73 Mon Feb 8 21:00:20 1999 Lars Hamann <lars@gtk.org>
75 * gtk/gtkclist.c (CLIST_OPTIMUM_SIZE): changed to 64
76 (gtk_clist_draw_focus) (hadjustment_value_changed) (draw_row):
77 few fixes to respect GTK_CAN_FOCUS flag.
79 * gtk/gtkctree.c (draw_row):
80 respect GTK_CAN_FOCUS flag.
82 Mon Feb 8 19:22:27 GMT 1999 Tony Gale <gale@gtk.org>
84 * example/colorsel/*: missing from the CVS for some reason
86 Mon Feb 8 13:08:51 GMT 1999 Tony Gale <gale@gtk.org>
88 * examples/Makefile: add SpinButton example
90 Mon Feb 8 12:50:06 GMT 1999 Tony Gale <gale@gtk.org>
93 - Heavily edited GtkCombo section initially from
94 Christopher T. Lansdown <lansdoct@screech.cs.alfred.edu>.
96 - Cleanups and some glib stuff from
97 David Wheeler <wheeler@ida.org>
99 * Makefile.am: update to include the latest Tutorial examples.
102 Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
104 * gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
105 entire draw_data_list back to the free list, not
106 just the last element.
108 Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
110 * gtk/gtkctree.c (draw_row):
111 * gtk/gtkclist.c (draw_row) (new_column_width) (scroll_horizontal)
112 (title_focus): search last visible column instead of
113 using clist->columns.
115 Fri Feb 5 13:23:50 1999 Owen Taylor <otaylor@redhat.com>
117 * gdk/gdkwindow.c (gdk_window_move_resize): Adjust
118 saved positions of children when resizing a
119 guffaw_gravity = TRUE window.
121 * gtk/gtkdnd.c (gtk_drag_highlight): Rework the
122 highlighting so that it is done in callbacks for
123 draw and expose. This should solve problems with
124 multiple highlights for the same GdkWindow.
126 * gtk/gtkdnd.c (gtk_drag_highlight): Fix bug where
127 the highlight was being drawn with an incorrect
128 width/height for !NO_WINDOW widgets.
130 Tue Feb 2 11:06:02 1999 Owen Taylor <otaylor@redhat.com>
132 * gtk/gtkrange.c (gtk_range_style_set): Fixes
133 to account for the changed structure of the windows
136 1999-02-05 Owen Taylor <otaylor@gtk.org>
138 * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
139 Don't assume any more that the gtkwidget.c code
140 will queue a redraw on us during a size_allocate -
141 queue clear/draws as appropriate for our groove.
143 1999-02-04 Christopher Blizzard <blizzard@redhat.com>
145 * gtk+.spec (Packager): Change my email address.
147 Thu Feb 4 05:42:34 CST 1999 Shawn T. Amundson <amundson@gtk.org>
154 docs/gtk-config.1: version=1.1.15
156 * Makefile.am: example files where incorrect for
159 * Released GTK+ 1.1.15
161 Wed Feb 3 17:29:57 PST 1999 Manish Singh <yosh@gimp.org>
163 * gtk/gtkclist.h: spelling fix in comment from
164 joey@kuolema.Infodrom.North.DE (Martin Schulze)
166 Tue Feb 2 12:39:42 1999 Owen Taylor <otaylor@redhat.com>
168 * gtk/gtkdnd.c: Make sure we set the icon window position
169 before it is shown to prevent annoying flicking to 0,0.
170 Make it consistent that info->cur_x/y do not include
171 info->hot_x/y displacement.
173 Tue Feb 2 08:59:16 GMT 1999 Tony Gale <gale@gtk.org>
175 * docs/gtk_tut.sgml: new sections on Layout and
176 SpinButton [nice widget]
178 * examples/spinbutton/*: example code
180 Mon Feb 1 19:25:54 1999 Owen Taylor <otaylor@redhat.com>
182 * docs/gtk-config.txt (testinput_SOURCES): Put
183 in some information about 'gtk-config --libs gthread'.
185 * docs/Changes-1.2.txt: Updated section on threads.
187 Tue Feb 2 00:28:44 1999 Lars Hamann <lars@gtk.org>
189 * gtk/gtkctree.c (gtk_ctree_insert_node): in case of
190 GTK_SELECTION_BROWSE select first inserted row.
191 (resync_selection): select rows in correct order.
193 * gtk/gtkclist.c (real_insert_row): in case of GTK_SELECTION_BROWSE
194 select first inserted row.
195 (resync_selection): select rows in correct order.
197 * gtk/gtklist.c (gtk_list_end_selection): select rows in correct order.
199 Mon Feb 1 16:47:55 1999 Owen Taylor <otaylor@redhat.com>
201 * gtk.m4: Pass gthread on to gtk-config.
203 * configure.in gtk-config.in: Support gthread flag to
204 add thread cflags/libraries into the output of
207 Mon Feb 1 15:14:56 1999 Owen Taylor <otaylor@redhat.com>
209 * gtk/gtkoptionmenu.c (gtk_option_menu_size_allocate):
210 Fixed problem with uints resulting in huge child
213 Mon Feb 1 14:54:28 1999 Owen Taylor <otaylor@redhat.com>
215 * gtk/gtklabel.c (gtk_label_expose): Cast uints
216 to ints in geometry calculations. This should
217 prevent FP exceptions on FreeBSD when quantities
218 become negative. [ Actually, this is probably
219 a workaround with a gcc bug with handling of
220 bitfields, according to Ben Jackson <ben@ben.com> ]
222 Mon Feb 1 13:35:14 GMT 1999 Tony Gale <gale@gtk.org>
224 * examples/Makefile: update to new examples
226 * examples/menu/itemfactory.c: I must have forgotten to
229 Mon Feb 1 09:16:03 GMT 1999 Tony Gale <gale@gtk.org>
232 - Complete documentation of Label widget API
233 - New sections for the following:
239 * examples/arrow/*, examples/buttonbox/*, examples/label/*
242 Fri Jan 29 09:44:37 GMT 1999 Tony Gale <gale@gtk.org>
244 * examples/fixed/*, examples/frame/*
245 - Examples from the Tutorial
247 Fri Jan 29 09:18:41 GMT 1999 Tony Gale <gale@gtk.org>
250 - New sections on the Fixed and Frame containers
251 - Rearrange the Containers section so the easier ones
253 - Move the List widget section to an appendix
255 Thu Jan 28 12:14:12 GMT 1999 Tony Gale <gale@gtk.org>
257 * docs/package_tutorial.sh: script to convert and
258 package up the tutorial - stick it here so I don't lose
259 it when I accidentally delete it again.
261 Thu Jan 28 10:16:28 GMT 1999 Tony Gale <gale@gtk.org>
264 - Replace all uses of deprecated functions.
265 - Replace menufactory example with itemfactory example
266 from Nick Scott <mendigo@geocities.com>
267 - Minor bug fixes in the examples.
269 1999-01-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
272 s/XIM_INSTANTIATE_IS_MISSING_OR_STRANGE/XIM_INST_IS_MISSING_OR_STRANGE/
274 Thu Jan 28 01:57:06 CST 1999 Shawn T. Amundson <amundson@gtk.org>
281 docs/gtk-config.1: version=1.1.14
283 * Released GTK+ 1.1.14
285 Thu Jan 28 01:34:29 1999 Owen Taylor <otaylor@redhat.com>
287 * gtkfontsel.c gtkcolorsel.c: When translating
288 N_() strings, use _(), not gettext(), since we
289 really need to call dgettext().
291 Wed Jan 27 20:51:25 PST 1999 Manish Singh <yosh@gimp.org>
293 * acinclude.m4: Xsed isn't valid here, don't use it
296 * ltconfig: better file magic regexp for Linux libs
298 Wed Jan 27 23:05:55 1999 Owen Taylor <otaylor@redhat.com>
300 * gtk/gtklayout.[ch] (gtk_layout_realize): Move
301 gravity_works back to a static global variable,
302 since it is a global constant, and this way we
303 keep structure sizes uniform.
305 Wed Jan 27 22:59:07 1999 Owen Taylor <otaylor@redhat.com>
307 * gtk/Makefile.am (static_SOURCES): Move gtkintl.h
308 from $source_headers to $static_sources since
309 it should not be installed.
311 Wed Jan 27 22:51:23 1999 Owen Taylor <otaylor@redhat.com>
313 * gdk/gdkevents.c (expose_predicate): Allow exposure
314 compression across GravityNotify events to improve
315 the appearance of a GTK+ window unshading.
317 Wed Jan 27 21:56:07 1999 Owen Taylor <otaylor@redhat.com>
319 [ patch from Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp> ]
321 * acconfig.h configure.in gdk/gdkim.c: Add configure
322 flag for disabling XRegisterIMInstantiateCallback(), default
323 it to off for Solaris. Always try to open the
324 input method immediately, and only if that fails,
325 register than instantiate callback.
327 * gtk/gtkentry.c: Some tweaks to make sure that we
328 only get and set the IC attributes when appropriate.
330 Wed Jan 27 20:08:54 1999 Owen Taylor <otaylor@redhat.com>
332 * gtk/gtkfilesel.c (open_user_dir): Patch from
333 Sebastian Wilhelmi <wilhelmi@ira.uka.de> to
334 use g_get_home_dir() instead of calling getpwuid()
337 Wed Jan 27 20:06:06 1999 Owen Taylor <otaylor@redhat.com>
339 * gtk/gtklayout.c (gtk_layout_adjustment_changed):
340 Removed some g_print()'s
342 Wed Jan 27 18:57:57 1999 Owen Taylor <otaylor@redhat.com>
344 * gdk/gdk.h gdk/gdkdnd.c: Change signatures for
345 gdk_drag_begin() and gdk_drag_motion() so that the set
346 of possible actions is passed on each motion, not just at
347 the beginning of the drag. We do this so that
348 we can restrict the set of possible drag events
349 when the user presses a modifier key during a
352 * gdk/gdkdnd.c: Send a motif Operation-changed
353 message when the set of possible actions change,
354 as well as when the suggested action change.
356 * gdk/gdkdnd.c: Change the XdndActionList whenever
357 the set of actions change.
359 * gdk/gdkdnd.c: Add a filter to catch changes to
360 the XdndActionList property for the source widget.
362 * gtk/gtkdnd.c: Change the set of possible actions
363 when the user presses Control, Shift, or Control-Shift,
364 to only include the corresponding action.
366 * gtk/gtkdnd.c (gtk_drag_button_release_cb):
367 Disconnect button signals before we possibly
370 Wed Jan 27 18:40:50 1999 Owen Taylor <otaylor@redhat.com>
372 * gtk/gtkmain.c (gtk_main_do_event): Hack scrollwheel
373 support into the eventloop, by treating button 4-5
374 presses on scrolled windows and scrollbars specially.
375 Put it here to keep the ugliness small and confined.
376 (We need to intercept the normal propagation in any case
377 to have this work reliably right now, since some
378 subwidgets will trap the button presses)
380 * gtk/gtkviewport.c (gtk_viewport_realize): Select for
381 BUTTON_PRESS to support the above hack.
383 Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
385 * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
386 checks for already being mapped or hidden. See
387 the ICCCM's section on state changes for why this
390 Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
392 * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
393 may fix the --with-glib option. GLIB_LIBS are
394 the libs to link example programs against, while
395 GLIB_DEPLIBS are dependency libraries.
397 Wed Jan 20 11:19:00 1999 Owen Taylor <otaylor@redhat.com>
399 * gtk/gtklabel.c: Use floor() instead of truncating
400 to integer values so we get translation invariance.
402 * gtk/gtklayout.c (gtk_layout_size_allocate): Set upper
403 and lower values for adjustments in size_allocate().
405 * gdk/gdkwindow.c gdk/gdk.h gdk/gdkprivate.h: New
406 function gdk_window_set_static_gravities() to set
407 up a window for guffaw scrolling.
409 * gdk/gdkwindow.c (gdk_window_internal_destroy): Set flags
410 indicating destroyed state before cleanup.
412 * gtk/gtkprivate.h gtk/gtkwidget.c: Add a new
413 private flag IS_OFFSCREEN. If set, this indicates
414 to GTK+ that the widget is not to be considered
415 viewable regardless of its map state. Queued draws
416 on offscreen widgets are suppressed.
418 Added new function static gtk_widget_is_offscreen() to
419 check this flag on a widget and its ancestors.
421 * gtk/gtklayout.[ch]: Major revisions.
423 - Use gdk_window_set_static_gravities to set static gravity
424 on all child windows, and thus avoid having to create a window
425 for NO_WINDOW children.
427 - Adjust allocations of children as we scroll them
428 so queued draws work correctly.
430 - Don't allocate our children directly in a put()
431 or move(); just queue a resize() like every other
434 * gtk/testgtk.c: Make the arrows on the scrollbars
435 work, create a larger and more demanding test.
437 Wed Jan 27 09:19:07 1999 Tim Janik <timj@gtk.org>
439 * gdk/gdkcolor.c (gdk_colormap_unref): assert ref_count>0.
441 Mon Jan 25 20:05:22 1999 Owen Taylor <otaylor@redhat.com>
443 * gtk/gtkwidget.c (gtk_widget_set_{visual,colormap}):
444 New functions to set the colormap or visual
445 of an existing widget. These functions should not
446 be called on a widget that has previosly been
449 * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init):
450 Set the visual and colormap on the toplevel dialog,
451 then push them for the child widgets. As opposed
452 to push/pop in _new(), this way, things will work
453 properly with gtk_widget_new().
455 Mon Jan 25 19:41:56 1999 Owen Taylor <otaylor@redhat.com>
457 * gtk/gtknotebook.c (gtk_notebook_page_allocate): Queue
458 a redraw on the tab area when a tab changes size.
459 (Includes improvements from Lars Hamann)
461 Mon Jan 25 19:00:13 1999 Owen Taylor <otaylor@redhat.com>
463 * gtk/gtkcolorsel.c (gtk_color_selection_value_events):
464 Back out the last solution to updating problem. And
465 try a different one that is less dependent on
466 the state of the widget. Just redraw the value_marker
467 when it gets mapped. Somebody needs to analyze
468 this widget more carefully and figure out when
469 it should be setting the contents of the previews
472 Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
474 * gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
475 tests - we need to update the value bar's contents
476 even when the widget is unmapped.
478 Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
480 * acinclude.m4 (ac_result): Don't define ENABLE_NLS
481 unless we have a working NLS. (This should keep
482 libintl.h from being included when it doesn't
485 Mon Jan 25 11:05:10 1999 George Lebl <jirka@5z.com>
487 * gtk/gtkbutton.c: set RECEIVES_DEFAULT on init, and a
488 button press on the widget doesn't grab default anymore
490 * gtk/gtkcheckbutton.c,gtk/gtkoptionmenu.c,gtk/gtkradiobutton.c:
491 unset RECEIVES_DEFAULT on init
493 * gtk/gtkwidget.[ch]: add a RECEIVES_DEFAULT flag to widget
496 * gtk/gtkwindow.c,gtk/gtkplug.c: on pressing <enter>, activate
497 the focused widget if it is a RECEIVES_DEFAULT widget,
498 no matter what the current default_widget is
500 * gtk/gtkwindow.c: on focus change, migrate the HAS_DEFAULT
501 flag to CAN_DEFAULT widgets if they RECEIVE_DEFAULT as well
502 or migrate it back to the default_widget if the focus widget
503 doesn't "RECEIVE_DEFAULT"
505 Sun Jan 24 18:09:24 1999 Owen Taylor <otaylor@redhat.com>
507 * gdk/gdkdnd.c (motif_read_initiator_info): Byteswap
508 the MotifInitiatorInfo structure _before_ using it.
510 Sun Jan 24 12:17:39 1999 Owen Taylor <otaylor@redhat.com>
512 * gdk/gdkcolor.c (gdk_colormap_real_destroy): Fix
514 (Pointed out by Austin Donnelly <austin@greenend.org.uk>)
516 * gtk/gtkruler.c (gtk_ruler_expose): Remove unecessary
517 and harmful call to gtk_paint_box(). We are going
518 to paint onto the backing store later anyways.
520 Sat Jan 23 11:15:39 1999 Owen Taylor <otaylor@gtk.org>
522 * gdk/gdkdnd.c (gdk_window_register_dnd): X expects
523 longs, not uint32 for XChangeProperty, when
526 * gdk/gdkdnd.c (motif_read_initiator_info): Byte-swap
527 the MotifInitiatorInfo structure if necessary.
529 * gdk/gdkdnd.c: When extracting and constructing
530 Motif DND messages, don't use data.s[], data.l[]
531 since on 64bit architectures, these won't necessarily
532 be in the same place with data.b[].
534 * gtk/testdnd.c (target_drag_drop): Return TRUE for
535 drag_drop within the drop zone.
537 * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Only send
538 a XmTRANSFER_FAILURE if no drop site is found, not
541 Fri Jan 22 19:22:39 1999 Owen Taylor <otaylor@redhat.com>
543 * gtk/gtkeditable.c: Add flags field to
544 GtkTargetEntry table.
546 * gdk/gdkwindow.c (gdk_window_is_viewable): Treat foreign
547 windows as always viewable, since we can't track their
548 map-state reliably without speed problems. (Fixes
549 problem where updating didn't occur properly within
552 Sat Jan 23 13:41:00 1999 Jeff Garzik <jgarzik@pobox.com>
555 (tree_delete): Don't search selection list twice.
556 (real_select_row): Remove extra ';', add default for clarity.
558 Sat Jan 23 01:44:43 1999 Lars Hamann <lars@gtk.org>
560 * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
561 (gtk_spin_button_get_value_as_float): removed extra
562 gtk_spin_button_update calls again.
563 * gtk/gtkclist.c (gtk_clist_unmap): unblock dnd signal handler if
565 * gtk/gtknotebook.c (gtk_notebook_button_press): grab_focus before
567 (gtk_notebook_set_shape): don't use cur_page if it's NULL.
569 Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
572 Fix recent change to match existing coding style.
574 Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
576 * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
577 account for GTK_POS_LEFT.
579 * gtk/gtkradiobutton.c (gtk_radio_button_set_group): use
580 gtk_toggle_button_set_active () to set the new state.
581 (gtk_radio_button_new): only _set_group if group != NULL.
582 (gtk_radio_button_clicked): reference the widget.
583 (gtk_radio_button_init): make radio buttons active upon
586 Thu Jan 21 17:13:12 1999 Jeff Garzik <jgarzik@pobox.com>
588 * gtk/gtkselection.c:
589 (gtk_selection_property_notify): Check args for NULL.
590 (gtk_selection_default_handler):
591 Replace manual list count with call to g_list_length.
592 Remove signedness of temp var 'count' to agree with usage.
593 Slight spacing adjustment for readability.
595 * gtk/gtkbox.c, gtk/gtklayout.c, gtk/gtkselection.c:
596 Init a few ptrs to NULL, to quiet warnings.
598 Thu Jan 21 16:03:02 1999 Owen Taylor <otaylor@redhat.com>
600 * gtk/gtkbutton.c (gtk_button_expose): Code cleanup.
602 * gtk/gtktreeitem.c: Add a paint routine, fix up bugs
603 in drawing where if the expose area was contained
604 completely in the right side of the tree the background
607 * gtk/gtkwidget.c (gtk_widget_clip_rect): Fix a bug
608 in clipping draw regions while propagating them
611 Thu Jan 21 12:20:51 1999 Owen Taylor <otaylor@redhat.com>
613 * gtk/gtkcolorsel.c (gtk_color_selection_dialog_new):
614 Pushing and popping the visual/cmap in the init()
615 function does no good, because the window itself needs
616 to be create with that visual/cmap.
618 So do it in the new() function instead.
620 This will require people doing gtk_widget_new() to do
621 the push/pop themselves, but I don't see any way around
622 it other than digging in and tweaking the window
623 widget's colormap and visual ourselves, which
624 is highly non-kosher, but would be safe...
626 Thu Jan 21 16:04:35 1999 Timur Bakeyev <mc@bat.ru>
628 * gtk/gtkrc.c (gtk_rc_init): It was reported by Owen Taylor
629 <otaylor@redhat.com>, that LC_ALL produce unparsable garbage
630 on some glibc'ed systems and HP/UX. So, falling to LC_CTYPE.
632 Thu Jan 21 02:11:44 1999 Owen Taylor <otaylor@redhat.com>
634 * Set and read the XdndActionList property defined
635 in the Xdnd spec. We do this always, not just for
636 XdndActionAsk like the spec says, but if we don't
637 find it, we fall back to actions = suggested_action,
638 which is compatible with the language of the spec.
640 Thu Jan 21 01:15:28 1999 Jeff Garzik <jgarzik@pobox.com>
642 * gdk/gdkdnd.c (gdk_drag_context_unref):
643 Move not-null assertion before pointer de-ref.
645 * gdk/gdkevents.c (gdk_event_queue_find_first):
646 Fix infinite loop bug. Someone should look at this further to
647 make sure the events_pending tests are correct.
649 Thu Jan 21 00:44:47 1999 Owen Taylor <otaylor@redhat.com>
651 * gtk/gtkdnd.c (gtk_drag_dest_drop): Default handling
652 for drops should be keyed on GTK_DRAG_DEFAULT_DROP
653 not GTK_DRAG_DEFAULT_MOTION.
655 Wed Jan 20 21:52:51 1999 Jeff Garzik <jgarzik@pobox.com>
657 * gtk/gtkclist.c (real_remove_row):
658 Don't search entire row list twice for element being removed.
660 * gtk/gtkmenushell.c (gtk_menu_shell_insert):
661 Replaced hand-coded implementation of g_list_insert with
662 call to g_list_insert.
665 (gtk_tooltips_destroy_data, gtk_tooltips_layout_text):
666 tooltipsdata->row test not-null test now properly encompasses
669 Thu Jan 21 02:47:36 1999 Lars Hamann <lars@gtk.org>
671 * gtk/gtknotebook.c (gtk_notebook_focus): few cleanups.
672 (gtk_notebook_key_press): call select page function for
673 GDK_DOWN key in case of tab_pos == TOP. Changed other
674 positions accordingly.
676 Wed Jan 20 19:57:14 1999 Owen Taylor <otaylor@redhat.com>
678 * gtk/gtkdnd.c (gtk_drag_begin): Start off with the
679 cursor for "no drop" since if we'll get a status
680 if we are over a drag window, but none if we aren't
683 1999-01-20 Jeff Garzik <jgarzik@pobox.com>
685 * gtk/gtkcombo.c (gtk_combo_entry_key_press):
686 Free 'nprefix', closing a memory leak.
687 Spaced out the code a bit to make it more readable.
689 * gtk/gtkhbox.[ch] (gtk_hbox_new),
690 gtk/gtkvbox.[ch] (gtk_vbox_new):
691 Change 'homogenous' arg from gint to gboolean.
693 * gtk/gtktogglebutton.[ch]:
694 New function gtk_toggle_button_get_active().
696 1999-01-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
698 * gtk/gtkdnd.c (gtk_drag_get_event_action): Allow button 2 to act
699 as GDK_ACTION_ASK. Also, allow MOD1 to specify GDK_ACTION_ASK
700 only if that action is enabled in the actions argument.
702 1999-01-20 Raja R Harinath <harinath@cs.umn.edu>
704 * configure.in (gtklocaledir): New variable. Define to
705 $prefix/$DATADIRNAME/locale. This will point to the directory
706 where po/Makefile actually installs the message translation
708 * gtk/Makefile.am (INCLUDES): Define GTK_LOCALEDIR to
709 $(gtklocaledir) rather than $prefix/share/locale.
711 Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
713 * gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
714 LC_MESSAGES in locale.h. As a last resort for such systems, set locale
717 Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
719 * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
720 a background pixmap in with gdk_draw_pixmap(), set
721 it as a tile pixmap for a GC. This should speed
722 up things considerably and also will hide a bug
723 where text->first_onscreen_ver_pixel is being
724 corrupted, causing the bg pixmap drawing code to generate
727 Tue Jan 19 22:15:10 1999 Lars Hamann <lars@gtk.org>
730 (gtk_list_button_press): only call grab_add if pointer_grab succeeds.
731 (gtk_list_unmap): remove pointer/widget grabs if needed.
732 (gtk_list_signal_focus_lost): removed.
733 (gtk_list_focus) (gtk_list_set_focus_child): set last_focus_child.
734 (gtk_list_remove_items_internal) (gtk_list_clear_items): unset
735 undo_focus_child if neccessary. In case of SELECTION_BROWSE/EXTENDED
736 select a new item if selection is empty.
738 Tue Jan 19 00:21:15 1999 Tim Janik <timj@gtk.org>
740 * gtk/gtkcompat.h: add compatibility define for
741 gtk_ctree_set_reorderable.
743 Tue Jan 19 00:02:10 1999 Lars Hamann <lars@gtk.org>
745 * gtk/gtkctree.c (gtk_ctree_node_set_row_data_full):
746 add a sanity check [from Todd Dukes <todddukes@netscape.net>]
748 Mon Jan 18 22:54:11 1999 Lars Hamann <lars@gtk.org>
750 * gtk/gtkclist.c (gtk_clist_button_press): only call grab_add
751 if pointer_grab succeeds.
752 (gtk_clist_unmap): remove pointer/widget grabs if needed.
754 Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
756 * gtk/gtklabel.c (gtk_label_init): Initialize
757 label->label_wc. (We allocate labels from
760 Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
762 * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a
763 meaningfull range (we need to stay below a certain limit anyways
764 to avoid string buffer overflows).
766 * gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background
767 area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM.
768 * gtk/gtkhscale.c (gtk_hscale_pos_background): likewise.
769 (gtk_hscale_draw_value): safety CLAMP the value's x position for
770 GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of
773 * gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value
774 and GtkScale::value_pos arguments.
776 Mon Jan 18 14:26:17 1999 Owen Taylor <otaylor@redhat.com>
778 * docs/Changes-1.2.txt: Some editing, a little more
781 Mon Jan 18 13:25:14 1999 Owen Taylor <otaylor@redhat.com>
783 * gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to
784 set the title of a menu in the torn-off state.
786 * gtk/gtkthemes.c (gtk_theme_engine_get): When loading
787 of theme engine fails, just warn and do without -
790 * gtk/gtkmain.c (gtk_check_version): s/to/too/.
792 Mon Jan 18 01:21:03 1999 Lars Hamann <lars@gtk.org>
794 * gtk/gtkctree.c (draw_row): fixed auto resize bug.
796 Sun Jan 17 17:35:28 CST 1999 Shawn T. Amundson <amundson@gtk.org>
798 * Released GTK+ 1.1.13
802 docs/gtk-config.1: ver=1.1.13
804 Mon Jan 18 00:22:54 1999 Lars Hamann <lars@gtk.org>
806 * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release):
807 block drag source signal handler during column resizes.
808 (gtk_clist_set_column_visibility): resize clist if needed.
809 (gtk_clist_map): raise resize windows to make resize
810 cursor visible again.
812 Sun Jan 17 22:47:15 1999 Tim Janik <timj@gtk.org>
814 * gtk/gtkwidget.[hc]:
815 * gtk/gtkspinbutton.[hc]:
816 * gtk/gtkscrolledwindow.[hc]:
817 * gtk/gtkprogressbar.[hc]:
818 * gtk/gtkpreview.[hc]:
819 * gtk/gtkobject.[hc]:
822 * gtk/gtkcontainer.[hc]:
824 removed deprecated functions: gtk_clist_set_border,
825 gtk_container_block_resize, gtk_container_unblock_resize,
826 gtk_container_need_resize, gtk_ctree_set_reorderable,
827 gtk_ctree_show_stub, gtk_ctree_set_use_drag_icons,
828 gtk_entry_adjust_scroll, gtk_object_class_add_user_signal,
829 gtk_preview_put_row, gtk_progress_bar_construct,
830 gtk_scrolled_window_construct, gtk_spin_button_construct,
831 gtk_widget_freeze_accelerators, gtk_widget_thaw_accelerators.
833 * gtk/gtkcheckmenuitem.c: removed binary variant of
834 gtk_check_menu_item_set_state, this is still defined in gtkcompat.h
837 * docs/Changes-1.2.txt:
838 removed section about gtk_idle_remove_by_data vs.
839 gtk_timeout_remove_by_data, we actually don't even provide a
840 gtk_timeout_remove_by_data() function.
841 added a table with removed functions and their replacements.
843 * NEWS: updates for 1.1.13.
845 Sun Jan 17 17:56:33 1999 Owen Taylor <otaylor@redhat.com>
847 Patch from Felix Bellaby <felix@pooh.u-net.com>
849 * gdk/gdk.c: Use XmbSetWMProperties to set
850 the class/command on the loader window so that the
851 client machine is also set in the same place.
852 (For X11R5 sesssion management compatibility)
854 * gdk/gdk.c: (gdk_set_sm_client_id) Implementation
855 of function to set the session manager client ID.
857 * gdk/gdkwindow.c (gdk_window_new): Set
858 WM_CLIENT_LEADER propertiy on all windows pointing
859 back to GDK's leader window.
861 Sun Jan 17 12:01:57 1999 Owen Taylor <otaylor@gtk.org>
863 * gtk/gtkrc.c (gtk_rc_style_init): Allow a bg_pixmap
864 of "<none>", as there was no way to set the background
865 on all widget but some widgets. This is important
866 because Text widgets with background images are
867 slow and possibly ugly.
869 1999-01-17 Nat Friedman <nat@nat.org>
871 * gtk/gtkscrolledwindow.c (DEFAULT_SCROLLBAR_SPACING): New macro.
872 Changed the spacing from 5 to 3.
874 * gtk/gtkmenubar.c (BORDER_SPACING): Changed the extra spacing on
875 the menubar from 2 to 0.
877 Sun Jan 17 11:51:17 1999 Owen Taylor <otaylor@gtk.org>
879 * gtk/gtktext.c (gtk_text_move_cursor): Fix typo
880 [ gtk-mailund-990116-0: Thomas Mailund Jensen <mailund@daimi.au.dk> ]
882 Sun Jan 17 11:15:05 1999 Christopher Blizzard <blizzard@appliedtheory.com>
884 * gtk+.spec: Update to version 1.1.13, change packager address.
886 Sun Jan 17 14:52:29 1999 Tim Janik <timj@gtk.org>
889 * gtk/gtkcheckmenuitem.[hc]:
890 deprecated gtk_check_menu_item_set_state, people should use
891 gtk_check_menu_item_set_active instead.
894 s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.
896 Sun Jan 17 05:19:14 1999 Tim Janik <timj@gtk.org>
898 * configure.in: incremented version number to 1.1.13, bin age 0,
901 * gtk/gtkmain.c (gtk_idle_remove_by_data): use g_idle_remove_by_data to
902 remove idles, so `data' cannot conflict with other sources.
904 * gtk/gtkcompat.h: define gtk_style_apply_default_pixmap here.
906 * gtk/gtkstyle.[hc]: removed gtk_style_apply_default_pixmap.
907 (struct _GtkStyle): reordered GtkStyleClass*klass; member.
909 Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
911 * gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
912 to the position of the tooltip. This fixes tooltip positioning
913 problems with some widgets such as a checkbox.
915 Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
917 * gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
919 Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
921 * gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
923 Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
925 * gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk
928 * gtk/gtkrc.c (gtk_rc_style_unref): added an assertment.
932 don't provide compatibility defines if GTK_DISABLE_COMPAT_H is defined.
935 * gtk/gtkstyle.c: coding style, indentation and alignment fixups.
939 (gtk_style_set_background): fixed assertments.
940 (gtk_default_draw_ramp):
941 (gtk_default_draw_cross):
942 (gtk_default_draw_oval): issue warnings since these functions aren't
946 (gdk_window_hide): only unmap window if already mapped.
947 (gdk_window_show): only map window if !mapped.
948 (gdk_window_internal_destroy): destroyed windows can't be mapped.
950 * gtk/gtkwidget.c (gtk_widget_event): don't ignore expose events just
951 because a resize is queued on a widget, we rely on the expose events
954 Fri Jan 15 10:22:21 1999 Owen Taylor <otaylor@redhat.com>
956 * gtk/gtkwidget.c (gtk_widget_class_init):
957 nparams for selection_get should be 3, not 2.
958 [ From Damon Chaplin <damon@karuna.freeserve.co.uk> ]
960 * gtk/gtkeventbox.c (gtk_event_box_paint): Add a paint
961 routine so queued redraws work inside event boxes.
963 Thu Jan 14 17:47:37 1999 Owen Taylor <otaylor@redhat.com>
965 * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only
966 redraw character under cursor when not displaying
967 highlighted selection.
969 * gdk/gdkrgb.c (gdk_rgb_init): Add in a cast to
970 gpointer to make IRIX cc happy.
972 Thu Jan 14 12:29:50 1999 Owen Taylor <otaylor@redhat.com>
974 * gtk/gtkcheckbutton.c (gtk_check_button_draw): Restructure
975 the drawing code to remove a bit of duplication -
976 and to remove a call to gtk_widget_draw_focus()
977 that queues a redraw when an expose occurs.
979 * gtk/gtklabel.c (gtk_label_expose): Fix up handling
982 * gtk/gtknotebook.c (gtk_notebook_draw): If we redraw
983 the whole widget, also redraw the corresponding
984 areas of the child widget. (have_visible_child
985 still has some problems)
987 * gdk/gdkpixmap.c: Change some g_new's to g_new0 so
988 that fields unused for pixmaps get initialzized
991 * gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: Add new calls
992 gdk_window_is_visible() and gdk_window_is_viewable()
993 and a mapped flag to the window private structure.
995 * gtk/gtkbin.c gtk/gtkclist.c gtk/gtkfixed.c gtk/gtkitem.c
996 gtk/gtklayout.c gtk/gtklist.c gtk/gtkmenushell.c
997 gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtktree.c
998 gtk/gtktreeitem.c gtk/gtkviewport.c:
999 Map windows after mapping children.
1001 * gtk/gtkwidget.c (gtk_widget_clip_rect): Handle
1002 rectangles completely clipped away correctly.
1004 * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
1005 call gtk_widget_draw if width or height is 0.
1007 * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
1008 rely on GTK_REDRAW_PENDING after we've cleared
1009 it. (This was causing draw-combining to not
1012 * gtk/gtkbin.c gtk/gtkscale.c: Remove uneccessary calls
1013 to gtk_widget_queue_draw() when mapping.
1015 Thu Jan 14 11:29:53 1999 Owen Taylor <otaylor@redhat.com>
1017 * gtk/gtkdnd.c (gtk_drag_get_event_action): Make
1018 MOD1-drag also do action ask.
1020 * gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
1021 button-release event we simulate to get grabs released,
1022 with a window of GDK_ROOT_PARENT instead of the actual
1023 widget. This is a bad hack in some sense, but seems
1024 to work nicely. (It's sort of like what you would
1025 if you grabbed on button press, then the user
1026 released outside of the widget.)
1028 Thu Jan 14 20:29:16 1999 Owen Taylor <otaylor@redhat.com>
1030 * gtk/gtkstyle.[ch] (gtk_style_apply_default_background):
1031 Change copy_area => !set_bg. Use tile instead of
1032 gdk_window_copy_area when drawing without !set_bg.
1034 This does mess up timj's neat check-button example,
1035 but is consistent with how we interpret background
1036 pixmaps everywhere else in the default scheme.
1038 Restructure code for clarity.
1040 Thu Jan 14 19:19:51 1999 Owen Taylor <otaylor@redhat.com>
1042 * gdk/gdkevents.c: Do all event processing in
1043 dispatch() instead of prepare() and check().
1045 Wed Jan 13 22:34:29 1999 Owen Taylor <otaylor@redhat.com>
1047 * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c
1048 gtk/gtkframe.c gtk/gtk[hv]box.c gtk[hv]paned.c gtk/gtklist.c
1049 gtkmenu.c gtkmenuitem.c gtkmenubar.c gtknotebook.c
1050 gtk/gtkscrolledwindow.c gtk/gtktable.c gtk/gtktree.c
1051 gtk/gtktreeeitem.c gtk/gtkviewport.c
1053 Fix up comparisons of signed and unsigned ints to avoid
1054 assigning negative widths/heigths.
1056 Wed Jan 13 21:18:41 1999 Owen Taylor <otaylor@redhat.com>
1058 * acinclude.m4 (ac_result): Unset CATOBJEXT so
1059 that the macros and Makefiles correctly handle
1060 disabling NLS when no gettext is found.
1062 Wed Jan 13 20:14:32 1999 Tim Janik <timj@gtk.org>
1064 * gtk/gtkarg.c (gtk_arg_copy): in comparisions with GTK_TYPE_STRING, use
1065 the fundamental type to catch GTK_TYPE_IDENTIFIER as well.
1067 * gtk/gtkmenushell.c:
1068 (gtk_real_menu_shell_activate_current):
1069 (gtk_menu_shell_button_release): asure that we only activate sensitive
1070 menu items, reported by Dave Cole <dave@dccs.com.au>.
1072 Wed Jan 13 13:28:00 1999 Tim Janik <timj@gtk.org>
1074 * gtk/gtkwidget.c: eliminate queue_clears or queue_draws where we know
1075 that expose events will be generated.
1076 (gtk_widget_map): only queue_draw for NO_WINDOW widgets.
1077 (gtk_widget_unmap): only queue_clear_child for NO_WINDOW widgets.
1078 (gtk_widget_size_allocate): we don't need a queue_clear on changing
1079 allocations of !NO_WINDOW widgets, we do still need a full redraw for
1082 * gtk/gtklabel.c (gtk_label_set_text): check whether the new string
1083 actually differs from the original.
1085 Tue Jan 12 22:50:44 PST 1999 Manish Singh <yosh@gimp.org>
1089 * ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)
1091 Tue Jan 12 18:30:51 1999 Owen Taylor <otaylor@redhat.com>
1093 * gtk/testdnd.c (label_drag_data_received): Add
1094 a drag_data_received handler for the label.
1096 Tue Jan 12 15:01:50 1999 Owen Taylor <otaylor@redhat.com>
1098 * gdk/gdkevents.c: Removed the putback_events queue,
1099 since it was causing problems with event ordering -
1100 just keep a single queue. If we need it, we can
1101 add priorities to events.
1103 * gdk/gdkevents.c: Annotate events with flags - we allocate
1104 a GdkEventPrivate structure in gdk_event_new() and use these
1105 flags to mark an event being translated as "pending" -
1106 I.e., not yet ready to be dequeued. So we can put
1107 the event on the queue and get the order of the
1108 events right. (This solves the double-click problems)
1110 * gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
1111 of the next event on the event queue.
1113 * gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
1114 to check the next event without causing event queue
1117 Tue Jan 12 15:41:20 1999 Owen Taylor <otaylor@redhat.com>
1119 * gtk/gtklabel.c (gtk_label_expose): Minor fix
1120 to handling of misc->[x/y]pad
1122 Tue Jan 12 14:31:43 1999 Owen Taylor <otaylor@redhat.com>
1124 * gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap):
1125 Add back as wrapper function to restore source/binary
1126 compatibility. grrrr.
1128 Tue Jan 12 13:47:07 1999 Tim Janik <timj@gtk.org>
1130 * reworked the redrawing heuristics somewhat, this fixed a bunch of
1131 existing redrawing problems and majorly reduces overall redrawing needs
1132 during normal operation. basically we now only queue redraws when
1133 neccessary and much rely on the draw_area coalescing code in gtkwidget.c
1134 to optimize the queued portions. widgets will now upon reallocation only
1135 get redrawed if their allocation has changed. upon hide/show only the
1136 area allocated by the child will be queued for the parent, this has the
1137 side effect that parents which change their appearance in dependance on
1138 the numer of visible children have to keep track of their children's
1139 visiblity and eventually fully redraw themselves. this is a minor
1140 constrain with great benefits in terms of redraw reduction, and only got
1141 triggered by the notebook widget.
1144 (gtk_widget_queue_clear): don't bother if width and height == 0.
1145 (gtk_widget_queue_clear_child): new static function to queue a redraw of
1146 the area obscured by a child on a parent.
1147 (gtk_widget_queue_resize): queue_clear the widget if it is drawable.
1148 (gtk_widget_show): queue resize on the widget before showing.
1149 (gtk_widget_hide): queue resize on the widget after hiding.
1150 (gtk_widget_map): queue_draw the widget after mapping.
1151 (gtk_widget_unmap): queue_clear_child the widget.
1152 (gtk_widget_size_allocate): queue_clear_child and queue_draw if the
1153 widget's allocation changed.
1154 (gtk_widget_unparent): queue_clear_child so the parent redraws obscured
1156 (gtk_widget_real_show):
1157 (gtk_widget_real_hide):
1158 (gtk_widget_real_map):
1159 (gtk_widget_real_unmap):
1160 (gtk_widget_real_size_allocate): don't bother with redraw queueing,
1161 descendants that override these functions don't do either and we handle
1162 all redrawing/resizing related stuff before or after the signal emission
1165 * gtk/gtkcontainer.c:
1166 (gtk_container_resize_children): don't bother about redrawing anymore
1167 since gtk_widget_size_allocate handles that for us now.
1169 * gtk/gtknotebook.h:
1170 * gtk/gtknotebook.c:
1171 added a flag have_visible_child to indicate whether we need to draw
1172 non child related portions at all, e.g. shadows etc.
1173 (gtk_notebook_draw): if have_visible_child changed, do a full paint
1174 instead of updating a small area only.
1176 Mon Jan 11 20:44:35 1999 Tim Janik <timj@gtk.org>
1178 * gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to
1179 gtk_style_apply_default_background which takes an extra argument
1180 copy_area to determine NO_WINDOW widget pixmap copying.
1181 changed callers accordingly.
1183 * gtk/gtktogglebutton.c:
1184 (gtk_toggle_size_allocate):
1185 (gtk_toggle_button_expose):
1186 (gtk_toggle_button_paint): avoid messing with our parent's window if
1187 toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget.
1189 * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw
1190 the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active.
1194 * gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button
1197 Mon Jan 11 23:52:58 1999 Lars Hamann <lars@gtk.org>
1199 * gtk/gtklist.c (gtk_list_signal_drag_begin)
1200 (gtk_list_drag_begin): end drag selections if necessary.
1202 * gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
1203 public. Manually force synchronization of spin button text and
1206 Mon Jan 11 15:23:32 1999 Tim Janik <timj@gtk.org>
1208 * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
1209 gtk_widget_set_state, since that cares about redrawing already.
1212 * gtk/gtktogglebutton.[hc]:
1215 s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
1216 set_state is already taken by gtkwidget.h.
1218 * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
1219 gtk_toggle_button_set_active.
1221 * gtk/gtkstyle.c: some indentation cleanups.
1223 Mon Jan 11 15:12:33 1999 Tim Janik <timj@gtk.org>
1225 * gtk/gtktogglebutton.c (gtk_toggle_button_set_mode): take previous
1226 visibility state into account when unrealizing.
1228 Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
1230 * gtk/gtkdnd.c: Only remove handlers for motion/button_release
1231 at drop, remove "selection_get" handler later.
1233 Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
1235 * gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
1236 again, since they 1) don't care about infinite recursion (likely
1237 to achive), 2) we are in feature freeze for 1.2. this definitely
1238 deserves a sane implementation in 1.3 though (but without a hook
1239 return value, without seq_id hackery and with recursion checks).
1241 Mon Jan 11 13:18:37 1999 Tim Janik <timj@gtk.org>
1244 (gtk_window_key_release_event):
1245 (gtk_window_key_press_event): only pass key events to the focus widget
1248 * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
1249 submenu if it isn't sensitive.
1250 (gtk_menu_item_paint): state_type doesn't need to be reset to
1251 GTK_STATE_INSENSITIVE if the widget is insensitive anyways.
1253 * gtk/gtkcontainer.c (gtk_container_real_focus):
1254 * gtk/gtklist.c (gtk_list_focus):
1255 * gtk/gtkmenushell.c (gtk_menu_shell_move_selected):
1256 * gtk/gtknotebook.c (gtk_notebook_focus):
1257 s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
1258 sensitivity is determined through the parent as well,
1259 GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
1260 else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
1263 * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
1264 object if it is an insensitive widget.
1266 Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org>
1268 * gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook().
1269 You can have a notification when a type is created.
1271 1999-01-11 Tim Janik <timj@gtk.org>
1273 * gtk/gtkmain.c (gtk_propagate_event): added an assertement.
1275 Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
1277 * gtk/gtktext.c (text_properties_equal): Fixed
1278 cut and paste bug when comparing text property
1280 [ Matt Aubury <Matt.Aubury@comlab.ox.ac.uk> ]
1282 1999-01-10 Tim Janik <timj@gtk.org>
1284 * gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
1285 to initialize the object class and reattempt the lookup, reported
1286 by Paolo Molaro <lupus@lettere.unipd.it>.
1288 Sat Jan 9 17:36:20 1999 Owen Taylor <otaylor@redhat.com>
1290 * configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS.
1292 Sat Jan 9 17:27:49 1999 Owen Taylor <otaylor@redhat.com>
1294 * gtk/gtkfilesel.c (gtk_file_selection_populate):
1295 Mark another string for internationalization.
1296 [ Stanislav Brabec <utx@k332.feld.cvut.cz> ]
1298 Sat Jan 9 14:02:08 1999 Owen Taylor <otaylor@redhat.com>
1300 * gtk/gtktooltips.c (gtk_tooltips_force_window): Set
1301 name "gtk-tooltips" on tip window so that a style
1302 can be set for tooltips.
1304 Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
1306 * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
1307 some list-manipulation breakage.
1309 * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
1310 window cache structure.
1312 * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
1313 event mask on the drag window so clicking on it
1314 doesn't pop up root menus, etc.
1316 * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
1317 signal handlers at button release.
1319 Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
1321 * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
1322 (gtk_spin_button_get_value_as_float): call gtk_spin_button_update
1323 before returning a value
1325 * gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
1326 if clist is a drag source.
1327 (gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.
1329 * gtk/gtkctree.c (remove_grab): copy of clist function.
1330 (gtk_ctree_drag_begin): let clists drag_begin method set the
1333 Thu Jan 7 19:10:21 1999 Owen Taylor <otaylor@redhat.com>
1335 * gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
1336 to drawing the background of the bin window
1337 so that clearing and redrawing of child
1338 widgets work properly.
1340 * gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
1341 data so that if somebody triggers more redraw queuing
1342 from a expose_event handler, it doesn't confuse the
1343 heck out of GTK+. (But is highly liable to cause
1344 an infinite loop...)
1346 Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
1348 * gtk/gtkselection.c (gtk_target_list_unref): Fix some
1351 Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
1353 * gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
1354 by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
1357 Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
1359 * configure.in,po/it.po: added Italian translations
1361 Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
1363 * gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the
1364 event that was returned to us by gtk_get_current_event
1366 Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
1368 * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
1369 GdkRGB's visual and colormap around the color selection
1370 dialog so that the window and the previews have the
1371 same colormap. If an app adds things to the colorsel
1372 dialog, it will have to take care of them itself.
1374 Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
1376 * gtk/gtkmain.c (gtk_propagate_event): Make
1377 gtk_propagate_event() non-static, we need it in gtkdnd.c
1378 so that the button-release we synthesize gets propagated
1381 * gtk/gtkdnd.c: Use gtk_propagate_event() so
1382 release gets to a GtkList. But we can't really
1383 get this right without access to the windows
1384 event masks and doing X-style propagation ourselves.
1386 Tue Jan 5 12:40:57 1999 Owen Taylor <otaylor@redhat.com>
1388 * gtk/gtkpreview.c: Add a size_allocate() routine
1389 and set the size of the preview window equal
1390 to the area we are going to draw on, instead
1391 of the entire allocation. Do this to avoid having
1392 to set a parent-relative background.
1394 Tue Jan 5 11:51:32 1999 Owen Taylor <otaylor@redhat.com>
1396 * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
1397 When redrawing the under-cursor character, don't
1398 redraw the terminating NULL.
1399 [ From: dov@imagic.weizmann.ac.il (Dov Grobgeld) ]
1401 Tue Jan 5 11:31:55 1999 Owen Taylor <otaylor@redhat.com>
1403 * gtk/gtkselection.c (gtk_target_list_unref): Free
1404 memory allocated for target lists.
1406 * gtk/gtkdnd.c (gtk_drag_drop_finished): Release
1407 selections before destroying info structure.
1409 * gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add
1410 new value GDK_DRAG_PROTO_NONE, use it for non-drag
1411 targets, to quiet Purify.
1413 * gdk/gdkdnd.c (gdk_window_register_dnd): Set size
1414 of property properly.
1416 Mon Jan 4 03:45:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
1418 * Released GTK+ 1.1.12
1426 gtk/gtkfeatures.h.in: version=1.1.12
1428 1999-01-04 Sung-Hyun Nam <namsh@lgic.co.kr>
1430 * configure.in (ALL_LINGUAS): Added 'ko'.
1432 Sun Jan 3 17:41:22 1999 Lars Hamann <lars@gtk.org>
1434 * gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug
1436 Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
1438 * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT.
1440 * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with
1441 a priority of GDK_PRIORITY_EVENTS.
1443 1999-01-02 Jeff Garzik <jgarzik@pobox.com>
1445 * configure.in, config.h.in, gdk/gdkimage.c:
1446 Removed features.h test.
1449 Guard public functions against NULL pointer derefs.
1451 Fri Jan 1 18:41:09 PST 1999 Manish Singh <yosh@gimp.org>
1454 * gdk/gdkinputnone.h
1455 * gtk/gtkruler.c: casts to get rid of const warnings
1457 * gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
1458 cmp so people don't whine about rebuilds
1460 * gtk/gtknotebook.c: use g_snprintf on translated strings, so we
1461 don't get buffer overflows
1463 * gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
1466 1999-01-01 Jeff Garzik <jgarzik@pobox.com>
1468 * configure.in, config.h.in:
1469 Check for features.h.
1471 * gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
1472 Fixed bug in linked list append logic by replacing hand-coded
1473 logic with a call to g_list_append. Bug found by tml.
1476 'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
1477 in sys/ipc.h, including one specific admonishment to use
1478 _SVID_SOURCE or _XOPEN_SOURCE. Manually defined the latter, and
1479 included features.h if present to obtain the necessary
1482 * gtk/gtkclist.c, gtk/gtkeditable.c:
1483 Eliminates comma-after-final-element warnings.
1485 * gtk/gtkfontsel.c (gtk_font_selection_init):
1486 Fixed bug where an intl string was declared as _("x") in
1487 local var initializer.
1489 1998-12-31 Jeff Garzik <jgarzik@pobox.com>
1491 * gtk/gtklabel.c (gtk_label_split_text_wrapped):
1492 word->space is now initialized correctly.
1493 Reported by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>.
1495 1998-12-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
1497 * gtk/gtkmain.c (gtk_main_do_event): Fix memory leak.
1498 gdk_event_put would make a copy of next_event, and next_event was
1501 Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1503 * Released GTK+ 1.1.11
1511 gtk/gtkfeatures.h.in: version=1.1.11
1513 1998-12-29 Owen Taylor <otaylor@srv-19-29.roc.ny.frontiernet.net>
1515 * gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one
1516 error when computing length.
1518 Thu Dec 24 14:35:48 1998 Jeff Garzik <jgarzik@pobox.com>
1520 * gdk/gdkevents.c, gdk/gdkim.c, gdk/gdkrgb.c, gdk/gdkwindow.c,
1521 gtk/gtkprogressbar.c:
1522 Pull in string.h for various mem*() and str*() functions,
1523 in an autoconf-friendly way.
1525 Thu Dec 24 12:40:45 1998 Jeff Garzik <jgarzik@pobox.com>
1527 * gdk/gdkfont.c: removed unused var
1528 * gdk/gdkim.c: 64-bit cast
1529 * gtk/gtkaccelgroup.c: point to const data
1530 * gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
1532 * gtk/gtkfontsel.c: kill uninitialized var warning
1533 * gtk/gtkselection.[ch]: (gtk_target_list_new,
1534 gtk_target_list_add_table, gtk_selection_add_targets):
1536 * gtk/testgtk.c: 64-bit cast
1538 Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1546 gtk/gtkfeatures.h.in: version=1.1.10
1548 Wed Dec 23 20:31:40 1998 Owen Taylor <otaylor@redhat.com>
1550 * gtk/gtklabel.c: Fix problem where empty labels were
1551 getting a requisition height of zero, and trailing
1552 newlines were being ignored.
1554 Wed Dec 23 13:58:14 1998 Owen Taylor <otaylor@redhat.com>
1556 * gtk/gtklabel.c (gtk_label_parse_uline):
1557 label->label should be the mb text _after_ removing
1558 the underlines, not before.
1560 * gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
1561 title hack. If it deserves being done, it deserves
1564 1998-12-23 Elliot Lee <sopwith@redhat.com>
1566 * gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
1567 "GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
1568 it be recognized. If we're getting the title out of the GtkLabel,
1569 then remove all underscores.
1571 Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
1573 * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
1574 Request XmTRANFER_FAILURE on Motif drops not within
1575 a drop zone. I don't know why this is necessary,
1578 * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
1579 Motif flag field in response was getting wrong
1582 Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
1584 * gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
1585 Return TRUE for button press events we handle.
1586 (Allows option menus in radio buttons to work...)
1588 Tue Dec 22 14:50:25 1998 Owen Taylor <otaylor@redhat.com>
1590 * gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
1591 when we've already found a widget, skip all checks
1592 for subsequent children.
1594 * gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
1595 !MAPPED, not !VISIBLE, since a widget (like a notebook
1596 page), can be VISIBLE, but !REALIZED or !MAPPED.
1598 * gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
1601 Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
1603 * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
1605 Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
1607 * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
1608 events are processed.
1610 * gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
1611 variants: gtk_container_foreach_interp, gtk_idle_add_interp,
1612 gtk_timeout_add_interp, gtk_signal_connect_interp.
1614 Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
1616 * configure.in: added sv to ALL_LIGNUAS
1618 Sat Dec 19 22:49:40 1998 Tim Janik <timj@gtk.org>
1620 * gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug
1621 that caused this function to always return NULL (noticed by marius
1624 Sat Dec 19 17:28:30 1998 Owen Taylor <otaylor@redhat.com>
1626 * configure.in: Don't add the gthread libs to
1627 GLIB_LIBS either, or -lgthread -lpthread will get
1628 pulled into all applications because of shlib deps.
1630 * gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk:
1631 Use GLIB's priority #define. Revise scale of
1634 Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org>
1636 * gtk/gtkmain.c: always run a g_main_iteration, even if
1637 there are no active main loops. This fixes the gimp splash
1640 Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org>
1642 * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail
1643 (label->words != NULL) since that's a valid case when the label
1644 is empty, or just default constructed.
1645 fixed indentation prototype arguments and braces in some places.
1646 also, pointer comparisions and initializations are done with NULL
1647 not 0, there's a reason GLib defines NULL.
1649 * gdk/gdkevents.c (gdk_events_pending): return (queued_events ||
1650 putback_events) so this again returns whether events are pending,
1651 not whether other sources like idles are pending.
1653 * gtk/gtkmain.c (gtk_main_iteration_do):
1654 (gtk_main_iteration): return whether the loop is done, not whether
1655 something got dispatch to restore the original behaviour (yosh: this
1656 fixes code like in GleSelector).
1658 Fri Dec 18 19:20:45 PST 1998 Manish Singh <yosh@gimp.org>
1661 * gtktogglebutton.c: s/(enter|leave)_button/$1/g, since pthreads.h
1664 Sat Dec 19 01:56:13 1998 Lars Hamann <lars@gtk.org>
1666 * gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
1669 Fri Dec 18 15:30:43 PST 1998 Manish Singh <yosh@gimp.org>
1671 * configure.in: add ja to ALL_LINGUAS
1673 Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
1675 * gtk/gtksocket.c (gtk_socket_filter_func): Marked
1676 plug window as destroyed before destroying the
1679 Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
1681 * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
1682 tearoff window so when we reparent the window out,
1683 the window doesn't shrink down.
1685 1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1687 * configure.in: do not export the glib flags for thread support to
1690 Fri Dec 18 01:32:59 1998 Tim Janik <timj@gtk.org>
1692 * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we
1693 get the original behaviour back, i.e. the event queue needs to be flushed
1694 after a main loop has been quitted.
1695 (gtk_main): add/remove the current main loop to/from the main loop
1696 before/after init/quit functions have been exected to preserve the
1697 original gtk_main_quit() behaviour.
1699 Thu Dec 17 23:48:29 1998 Tim Janik <timj@gtk.org>
1701 * gdk/gdkevents.c (gdk_events_init): changed argument order in call
1702 to g_main_add_poll() to match recent glib changes.
1704 Thu Dec 17 20:33:28 1998 Owen Taylor <otaylor@redhat.com>
1706 * gtk-config.in: Add @INTLLIBS@.
1707 gtk-scier-981116-0.patch Sean Cier <scier@PostHorizon.com>) ]
1709 * gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c
1710 gtk/gtkgamma.c gtk/gtkinputdialog.c
1711 gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c
1714 Applied parts of gtk-egger-981215-1 [ Daniel Egger
1715 <Daniel.Egger@t-online.de> ] marking additional strings for
1716 internationalization.
1718 * po/nl.po: Added Dutch translation from
1719 Paul Siegmann <pauls@euronet.nl>.
1721 Thu Dec 17 18:25:52 1998 Owen Taylor <otaylor@redhat.com>
1723 * gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
1724 info tag from the context so if the source unexpectedly
1725 responds in the future, we do nothing properly.
1727 Thu Dec 17 18:24:41 1998 Owen Taylor <otaylor@redhat.com>
1729 * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
1730 the case where one side of the the pane is empty.
1732 * gtk/gtkfilesel.c (gtk_file_selection_init): Set
1733 dir_title before using it. (Pointed out by
1734 Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
1736 Thu Dec 17 10:53:20 1998 Owen Taylor <otaylor@redhat.com>
1738 * gtk/gtklabel.c (gtk_label_set_text): Free
1739 previous label->label_wc.
1741 * gtk/testgtkrc: Leave font, not fontset commented
1744 1998-12-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1746 * gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed
1747 unnecessary USE_XIM guard inside another. Made gdk_use_mb
1748 static. Compile gdk_set_locale also if not USE_XIM.
1750 Thu Dec 17 00:26:01 1998 Shawn T. Amundson <amundson@gtk.org>
1752 * Released GTK+ 1.1.9
1759 gtk/gtkfeatures.h.in:
1760 docs/gtk-config.1: version=1.1.9
1762 Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
1764 * autogen.sh: rm -rf intl breaks --disable-nls, put it back
1767 * gtktogglebutton.c: s/(enter|leave)/$1_button/g.
1768 Digital: 1 GTK+: 0 (for now)
1770 Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1772 * gdk/gdkevents.c: updated call to g_main_add_poll
1773 instead of g_main_poll_add
1775 Wed Dec 16 23:32:05 1998 Owen Taylor <otaylor@redhat.com>
1777 * gtk/gtklabel.c (gtk_label_expose): Remove
1780 Wed Dec 16 22:50:52 1998 Owen Taylor <otaylor@redhat.com>
1782 * gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0
1783 mb functions, and avoid them.
1785 Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
1787 * gdk/gdkevents.c (gdk_events_queue): Don't
1788 call XPending() if we have putback events.
1790 Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
1792 * gtk/gtklabel.c (gtk_label_expose): Do nothing
1793 on empty string, quietly.
1795 Wed Dec 16 15:36:19 1998 Owen Taylor <otaylor@redhat.com>
1797 * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
1798 Redraw the character under the cursor when removing
1801 Wed Dec 16 13:06:17 1998 Owen Taylor <otaylor@redhat.com>
1803 * gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main
1804 thread lock back to GDK - we need it there for locking
1805 when translating events. Rename things appropriately.
1807 Wed Dec 16 11:44:21 1998 Owen Taylor <otaylor@redhat.com>
1809 * gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo.
1811 Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1813 * Released GTK+ 1.1.8
1819 docs/gtk-config.1: version=1.1.8
1821 1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
1823 * gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.
1825 Wed Dec 16 07:03:32 1998 Tim Janik <timj@gtk.org>
1828 * gtk/gtkwidget.c: s/USER_DRAW/APP_PAINTABLE/. provided
1829 gtk_widget_set_app_paintable() which users can use to make
1830 a widget paintable for the application. changed other files accordingly.
1832 Wed Dec 16 05:26:32 1998 Tim Janik <timj@gtk.org>
1834 * configure.in: version bump to 1.1.8, binary age 0, interface age 0,
1835 depend on GLib 1.1.8.
1838 * gdk/gdkglobals.c: removed last Gdk threads specific bits.
1840 * gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.
1842 * gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
1843 to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
1844 honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
1845 and GTK_THREADS_LEAVE(). changed callers accordingly.
1847 Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1849 * autogen.sh: warn if glib.m4 or gettext.m4 are not found
1850 in aclocal's directory.
1852 Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
1854 * gtk/testgtk.c (create_layout): Create buttons,
1857 1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
1859 * autogen.sh: reordered gettextize and aclocal, because
1860 gettextize was messing up aclocal.m4.
1862 Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
1865 removed clist flag : GTK_CLIST_DRAG_SELECTION
1866 added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
1867 GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
1868 (GtkCListDragPos) : new enum for DND
1869 (GtkButtonAction) : new enum of possible mouse button actions
1870 (struct _GtkCList): added button_actions array.
1871 Added drag_button and click_cell struct, to store cell and
1872 mouse button of last button_press_event
1874 (struct _GtkCListClass): new class method draw_drag_highlight.
1875 (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
1876 new functions. Moved from gtkctree.h. Now clist is reorderable
1878 (gtk_clist_set_button_actions) new function to customize mouse
1882 (gtk_clist_drag_begin)
1883 (gtk_clist_drag_motion)
1884 (gtk_clist_drag_leave)
1885 (gtk_clist_drag_end)
1886 (gtk_clist_drag_drop)
1887 (gtk_clist_drag_data_get)
1888 (gtk_clist_drag_data_received) : new dnd widget methods to
1889 implement clists reorderability via DND
1891 (remove_grab) : new function. remove mouse grab if necessary.
1892 (draw_drag_highlight) : new method. Draw dnd highlight depending
1893 on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
1895 (gtk_clist_class_init): added object args "reorderable" and
1898 (gtk_clist_button_press) (gtk_clist_button_release) :
1899 use button_actions array to decide which action to perform.
1900 (gtk_clist_motion) : start reorder operation if necessary.
1903 (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
1904 drag_row, drag_source, drag_target, reorderable, use_icons,
1906 (gtk_ctree_set_reorderable) : deprecated function.
1907 use gtk_clist_set_reorderable instead.
1908 (gtk_ctree_set_use_drag_icons) : deprecated function.
1909 use gtk_clist_set_use_drag_icons instead.
1912 (gtk_ctree_class_init): removed object args "reorderable" and
1913 and "use_drag_icons"
1915 (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
1916 (tree_toggle_selection) (set_mouse_cursor) : removed
1918 (draw_drag_highlight) : new clist method. replacement for
1919 draw_xor_line and draw_xor_rect functions
1920 (check_drag) renamed check_cursor function
1922 (gtk_ctree_drag_begin)
1923 (gtk_ctree_drag_motion)
1924 (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
1925 reorderability via DND
1927 (gtk_ctree_button_release)
1928 (gtk_ctree_button_motion) : removed.
1931 (create_clist) : added new reorderable toggle button
1933 Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
1935 * gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
1936 base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
1937 used in detergent commercials.
1939 Tue Dec 15 16:54:09 1998 Owen Taylor <otaylor@redhat.com>
1941 * gtk/gtklabel.h: Moved gtk_label_set() compatiblity
1942 define from <gtkcompat.h> to <gtklabel.h> for
1945 1998-12-15 Jeff Garzik <jgarzik@pobox.com>
1947 * configure.in, gdk/Makefile.am, gtk/Makefile.am:
1948 Removed last remaining thread-related configure bits
1949 that have been moved into GLib.
1951 1998-12-15 Elliot Lee <sopwith@bogus.cuc.ml.org>
1953 * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
1954 as the mask for checking for GDK_INPUT_EXCEPTION events.
1956 1998-12-15 Martin Baulig <martin@home-of-linux.org>
1958 * acinclude.m4: Make the gettext check for for libc5 systems.
1960 * autogen.sh: Not running gettextize fails on a fresh CVS checkout
1961 and we'll get a lot of bug reports tomorrow, so I add it back.
1963 * acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
1964 AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
1967 Tue Dec 15 16:06:15 1998 Owen Taylor <otaylor@redhat.com>
1969 * acinclude.m4: Provide a hacked version of the
1970 gettext macros that never use the included gettext.
1972 * Makefile.am configure.in: Remove references
1975 * autogen.sh: Don't run gettextize.
1977 Tue Dec 15 14:30:35 1998 Owen Taylor <otaylor@redhat.com>
1979 * gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()
1981 * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
1982 to label. (Based on patch from Jeff Dairiki
1983 <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)
1985 - Adds new function gtk_label_set_line_wrap()
1986 - implement GTK_JUSTIFY_FILL.
1987 - rename gtk_label_set to gtk_label_set_text() add
1988 gtk_label_set() to gtkcompat.h.
1990 * Use an internal wc representation in the label, so
1991 that we handle underlining and line breaks correctly
1992 for multi-byte strings.
1994 Tue Dec 15 13:32:28 1998 Owen Taylor <otaylor@redhat.com>
1996 * gtk/gtkwidget.h: Added GTK_USER_DRAW flag.
1998 * gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.
2000 * gtk/gtkdrawwindow.c gtk/Makefile.am: Removed
2001 GtkDrawWindow, which GTK_USER_DRAW obsoletes.
2003 Tue Dec 15 11:37:05 1998 Owen Taylor <otaylor@redhat.com>
2005 * gtk/gtkmain.c: Fixed up some warnings.
2007 Tue Dec 15 10:32:01 1998 Owen Taylor <otaylor@redhat.com>
2009 * gtk/gtk{h,v,}paned.{c,h}: Add new functions
2010 gtk_paned_set_position(),
2011 gtk_paned_pack1/2(). The latter take a
2012 shrink and resize parameters, that allows setting
2013 minimum sizes and getting 'relative' resizing.
2015 Tue Dec 15 10:26:23 1998 Owen Taylor <otaylor@redhat.com>
2017 * gdk/gdkevents.c: Keep separate putback_events and
2018 queued_events queues so that we get both FIFO and
2019 preemptive behavior for gdk_event_put().
2021 Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
2023 * gtk/gtkrc.c (gtk_rc_init): Removed unused
2024 variable, fixed minor memory leak.
2026 * gdk/gdk.c: Fixed another merge problem.
2028 Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
2030 * gdk/gdk.c (gdk_get_display): Remove gdk_signal,
2031 which crept back in in last commit.
2033 Tue Dec 15 01:38:53 1998 Owen Taylor <otaylor@redhat.com>
2035 * gtk/Makefile.am: Commented out testthreads from
2036 the build process, since we won't have any idea
2037 how to create a thread.
2039 * configure.in (LIBS): use glib-config ... gthread
2040 so we always build a thread-compatible library.
2042 * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
2043 gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
2044 gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
2045 gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
2046 gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
2048 Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
2049 and idles to account for the fact that they are no
2050 longer called within the GTK+ lock.
2052 * gtk/gtkprivate.h: Added definitions for locking
2053 the main GTK+ mutex.
2055 * gtk/gtkmain.c: Re-implement the main loop
2056 in terms of the GLib main loop.
2058 * gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
2059 functionality, as it seems better to subsume GDK within the
2060 GTK+ lock than vice-versa.
2062 * gdk/gdkevents.c: New file, containing event handling bits
2065 * gdk/gdkevents.c: Implement event source for GDK
2068 * configure.in gdk/gdkevents.c: Removed attempts to
2069 subtract base_id, which were already non-functional.
2071 Mon Dec 14 23:05:20 PST 1998 Manish Singh <yosh@gimp.org>
2074 * configure.in: removed IPC_RMID_DEFERRED_RELEASE check
2076 * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID
2077 after XShmAttach, and nobody complained
2079 Tue Dec 15 02:27:42 MET 1998 Sven Neumann <sven@gimp.org>
2081 * po/de.po: Replaced the crappy german po-file with a valid one.
2083 Mon Dec 14 16:10:05 1998 Owen Taylor <otaylor@redhat.com>
2085 * gtk/gtkrc.c (gtk_rc_init): Append locale-specific
2086 suffixes to default rc file names, and look these
2087 up in addition to the base filename, to facilitate
2088 having the correct fontset per-locale.
2090 move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc
2092 * gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
2093 New function to set a function to translate menu paths.
2095 * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
2096 results of g_strsplit().
2098 1998-12-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
2100 * configure.in (ALL_LINGUAS): Added 'pt'.
2102 * po/pt.po: Added Portuguese translation.
2104 Mon Dec 14 20:04:31 1998 Stefan Jeske <stefan@gtk.org>
2106 * gtk/gtkspinbutton.c: Only call gtk_spin_button_update if
2107 the spinbutton is editable.
2109 Mon Dec 14 12:24:13 1998 Owen Taylor <otaylor@redhat.com>
2111 * HACKING: Added gettext-10.35
2113 * autogen.sh: Run gettextize.
2115 Wed Dec 9 16:29:06 1998 Owen Taylor <otaylor@redhat.com>
2117 Applied gtk-egger-981010-[12]
2118 [ Daniel.Egger@t-online.de (Daniel Egger) ]
2120 * gtk/gtkintl.h: New file - defines for localization.
2122 * gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
2123 for internationalization.
2125 * gtk/gtkmain.c: call bindtextdomain
2127 * po/ - directory for translations. Initially includes
2130 Mon Dec 14 02:42:11 1998 Tim Janik <timj@gtk.org>
2132 * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and
2133 RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into
2134 gtk_widget_real_grab_focus() so a signal is always emitted
2135 if the focus is grabbed on a widget.
2137 Mon Dec 14 02:13:01 1998 Tim Janik <timj@gtk.org>
2139 * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or
2140 not to delay the submenu popup from a menu item deselection time stamp.
2141 the code looks even more hackish than before, but in practice "feels"
2144 1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
2146 * gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
2147 signal for widgets. When the signal is emitted, the widget will
2148 grab the focus. This is needed to let the user press an
2149 accelerator key in a dialog box and have the corresponding widget
2152 * gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
2153 signal. The default handler is simply gtk_widget_grab_focus().
2155 Sun Dec 13 22:15:48 GMT 1998 Tony Gale <gale@gtk.org>
2157 * docs/gtk_tut.sgml: Update the following sections to the
2164 Sat Dec 12 19:11:35 1998 Tim Janik <timj@gtk.org>
2166 * gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal.
2168 * gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal.
2170 * gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8.
2172 Sat Dec 12 17:46:55 1998 Owen Taylor <otaylor@gtk.org>
2174 * gtk/gtklayout.c (gtk_layout_unrealize): Mark
2175 child->window as destroyed so we don't destroy
2178 Sat Dec 12 17:18:32 1998 Owen Taylor <otaylor@redhat.com>
2180 * gdk/gdkfont.c (gdk_text_extents): Corrections
2181 to computation of extents of text from a font set.
2182 (from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)
2183 and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
2185 Fri Dec 11 08:59:12 1998 Owen Taylor <otaylor@redhat.com>
2187 * gtk/gtklistitem.c (gtk_list_item_style_set):
2188 * gtk/gtklist.c (gtk_list_style_set):
2189 Added "style_set" handlers.
2191 Fri Dec 11 05:49:30 1998 Owen Taylor <otaylor@redhat.com>
2193 * gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set"
2194 handler so that the background of the clist changes
2197 Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2199 * Released GTK+ 1.1.7
2206 gtk/gtkfeatures.h.in:
2207 docs/gtk-config.1: Version to 1.1.7
2209 Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
2211 * gtk/gtkclist.c: avoid void pointer math
2214 * gtk/gtkhscrollbar.c
2216 * gtk/gtkvscrollbar.c: removed trailing , from enums
2218 * gtk/gtksignal.c: can't use enums as a bitfield type, use guint
2220 * gtk/testgtk.c: removed C++ comment added by owenpoo
2222 Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
2224 * gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
2226 Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
2228 * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
2229 gdk_window_get_origin() instead of gdk_window_get_position,
2230 because get_position is unreliable for plugs.
2232 This is a bad hack, maybe we need GDK_WINDOW_PLUG?
2234 Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
2236 * docs/gtk_tut.sgml:
2237 - re-write the GtkProgressBar section to the 1.1 API.
2238 - add an Appendix listing all the signals
2239 (apologies to TimJ for taking so long in using his hard work
2240 in automating the extraction - thanx Tim).
2241 * examples/*: bring them all upto the tutorial versions
2243 Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
2245 * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
2246 * gtk/testrgb.c: include string.h, for strlen
2248 Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
2250 * configure.in: Add a case for success in
2251 test for XUnregisterIMInstantiate, to prevent
2254 Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
2256 * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
2257 list and return type for non-XIM fallback.
2259 * configure.in: Only build XIM-support if available.
2261 Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
2263 * gtk/testselection.c (main): Add in missing 'flags'
2264 field to target list.
2266 * gdk/gdkproperty.c (gdk_atom_intern): Actually
2267 add the atoms to the local cache.
2269 Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
2271 * gdk/gdkprivate.h: put text after #endif in comment
2273 * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl
2275 * gtk/testdnd.c: #include <string.h>
2277 Mon Dec 7 10:27:09 1998 Owen Taylor <otaylor@redhat.com>
2279 * gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
2280 signals through the widget heirarchy. This is unpleasant, as it
2281 causes more X traffic, but is necessary, because we have to clean
2282 up our Input Contexts before destroying the X windows.
2283 (from matsu-981109-0.patch)
2285 Mon Dec 7 10:18:18 1998 Owen Taylor <otaylor@redhat.com>
2287 Applied gtk-a-higuti-981202-0 :
2288 [ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
2290 * gdk/gdk.h gdk/gdk.c
2291 (gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
2292 implemented by a combination of Xlib functions, so
2293 it works even with X_LOCALE.
2294 (gdk_wcstombs): New function.
2295 (g_mbtowc): Removed. No longer needed.
2297 * gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c:
2298 Added _wc() variants to gdk_text_width(),
2299 gdk_char_width(), gdk_draw_text(),
2302 (mblen, mbtowc, wctomb, mbstowcs, wcstombs,
2303 wcslen, wcscpy, wcsncpy):
2304 Removed. No longer needed.
2305 (iswalnum): Removed.
2306 (gdk_iswalnum): New macro.
2307 (gdk_iswspace): New macro.
2309 (GdkWChar): New typedef.
2311 * gtk/gtkentry.h, gtk/gtkentry.c
2312 There are many changes according to the change of the
2313 internal representation of text, from multibyte string
2315 * gtk/gtkprivate.h, gtk/gtkmain.c
2316 Removed the variable gtk_use_mb and related codes.
2317 * gtk/gtkspinbutton.c
2318 Some changes according to the change of type of entry->text.
2319 * gtk/gtktext.h, gtk/gtktext.c
2320 Changed the internal representation of text. We use GdkWchar
2321 if a fontset is supplied. If not, we use guchar to save
2324 Tue Dec 1 15:20:39 1998 Owen Taylor <otaylor@redhat.com>
2326 * gdk/gdkwindow.c (gdk_window_new): When creating
2327 a window with a specified non-system visual, use
2328 a matching colormap.
2330 Mon Nov 30 11:50:13 1998 Owen Taylor <otaylor@redhat.com>
2332 * gdk/gdk.c gdk/gdkim.c gdk/gdkprivate.h gdk/gdk.h
2333 gdk/gdktypes.h gtk/gtkeditable.c gtk/gtkmain.c
2334 gtk/gtkentry.c gtk/gtktext.c:
2336 Applied matsu-981109-0
2337 [ matsu@arch.comp.kyutech.ac.jp (Takashi Matsuda) ]
2339 - Change system of setting input method values
2340 from varargs to a structure, similar to GC's
2341 or window attributes.
2343 - Various fixes to event handling.
2347 * gdk/gdkim.c: Split of input method stuff into
2348 a separate source file.
2350 * Remove GdkIM typedef, change everything from
2351 GdkIC to GdkIC * to be consistent with the
2354 Wed Dec 9 00:41:41 1998 Owen Taylor <otaylor@redhat.com>
2356 * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Allocate
2357 correct amount of memory for strings.
2359 Tue Dec 8 18:29:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2361 * Released GTK+ 1.1.6
2368 gtk/gtkrc.c: Read in default files.
2370 Wed Dec 9 00:49:12 1998 Tim Janik <timj@gtk.org>
2372 * gtk/gtktypeutils.h:
2373 * gtk/gtktypeutils.c: added gtk_type_query() which returns a newly
2374 allocated structure holding certain type specific informations.
2375 fixed the big bunch of `discards const' warnings with the
2376 initialization of enum/flags values.
2378 Tue Dec 8 15:10:17 1998 Owen Taylor <otaylor@redhat.com>
2380 * gtk/gtkwindow.c (gtk_window_transient_parent_realized):
2381 Fixed order of arguments to gdk_window_transient_for().
2383 Tue Dec 8 18:02:57 GMT 1998 Tony Gale <gale@gtk.org>
2385 * examples/Makefile: simple top level Makefile that invokes all
2386 the sub-directory Makefiles.
2388 1998-12-08 Andrew T. Veliath <andrewtv@usa.net>
2390 * gtk/testgtk.c: Functions to test the toolbar space style.
2392 * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of
2393 GtkToolbarChild to hold allocation. Set default space style to
2394 GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator
2396 (gtk_toolbar_paint_space_line): New function; paints the separator
2397 line, using "toolbar" as the detail.
2398 (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when
2399 style is set to SPACE_LINE.
2400 (gtk_toolbar_size_allocate): Store space allocations.
2401 (gtk_toolbar_insert_element): If we are a space, allocate and
2402 initialize a GtkToolbarChildSpace instead of a GtkToolbarChild.
2403 (gtk_toolbar_set_space_style): New function.
2405 * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY
2406 and LINE. Add prototype for gtk_toolbar_set_space_style.
2408 Mon Dec 7 16:03:55 1998 Owen Taylor <otaylor@redhat.com>
2410 * gtk/gtkthemes.h: Remove random unnecessary includes
2411 of standard headers.
2413 1998-12-07 Damon Chaplin <DAChaplin@msn.com>
2415 * gtk/gtkfontsel.c (gtk_font_selection_select_best_style): made sure
2416 we only try to match styles which are currently shown.
2418 (gtk_font_selection_init): set the notebook tabs homogeneous and set
2419 the border, so we don't need to set the size explicitly (bad for i18n).
2420 Used the clist auto-resize feature for the font and style lists on the
2421 main page and all the filters. Used padding for the 'Reset Filter'
2422 button instead of spaces around it (bad for i18n).
2424 (gtk_font_selection_find_font): when searching for
2425 a font, if we can't match both the family and foundry, we return any
2426 font where just the family matches. (The foundry can even be '*'.)
2428 (gtk_font_selection_show_available_styles):
2429 (gtk_font_selection_realize_list): don't set the style clist row
2430 colours (for the charset rows) until the clist is realized, since we
2431 use the clist style's insensitive colours.
2433 Mon Dec 7 13:38:06 1998 Owen Taylor <otaylor@redhat.com>
2435 * gdk/gdkimage.c (gdk_image_new): Use IPC_RMID
2436 _after_ doing XShmAttach. This should work everywhere,
2437 and avoid the need for signal handlers or configure
2440 Thu Dec 3 19:58:45 1998 Owen Taylor <otaylor@redhat.com>
2442 * gtk/gtkinputdialog.c: Use _add_with_viewport() for
2443 scrolled window contents.
2445 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
2447 * gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
2448 field in the structure.
2450 Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
2452 * docs/gtk_tut.sgml: Start mass update for GTK 1.1
2453 * examples/extract.sh: Look for the best version of awk
2454 * examples/extract.awk: Fix FD leak
2455 * example/base: minimal example from Tutorial
2457 Mon Dec 7 01:29:27 1998 Owen Taylor <otaylor@gtk.org>
2459 * gtk/gtkwindow.c: New functions
2460 gtk_window_set_transient_for() - set up a "transient for" relationship.
2461 gtk_window_set_default_size() - set the initial size of a window
2462 distinct from its minimum size.
2463 gtk_window_set_geometry_hints() - Allow the user to set
2464 minimum, maximum sizes, aspect rations, and gridded geometry,
2465 possibly all with respect to a subwidget of the window.
2466 These interfaces are still a wee bit experimental.
2468 * gdk/gdk.c: Added gdk_window_set_transient_for(),
2469 gdk_window_set_geometry_hints(), and gdk_window_set_role().
2471 * gdk/gdktypes.h: Added new types for find-grained specification
2474 * gtk/testgtk.c: Various changes to tests to test the
2475 above new functions.
2477 * gtk/gtkfontsel.c: Squash a few 'const' warnings.
2479 * gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored
2480 call to gtk_style_set_background() to prevent egregious
2483 Mon Dec 7 03:52:01 1998 Tim Janik <timj@gtk.org>
2485 * gtk/gtksignal.c (gtk_handlers_run): when marshalling connect_object
2486 signals, don't pass the data pointer twice, but swap it with the
2487 object pointer (proposed on Nov 30 1998 on gtk-devel-list).
2489 Mon Dec 7 03:08:39 1998 Tim Janik <timj@gtk.org>
2491 * gtk/gtktypeutils.h:
2492 * gtk/gtktypeutils.c: reverted Marius's change to expose the type systems
2493 internal type info data to the user. if such functionality is required
2494 we should provide wrapping accessors, ala gtk_signal_query(). also the
2495 GtkTypeInfo structures are dynamically allocated memory portions, so
2496 only the type system is really allowed to access that stuff.
2498 * gtk/gtksignal.c (gtk_signal_connect_by_type): reverted marius change,
2499 since it destroys the possibility to implement automatic marshaller
2500 lookups some day, and it also disables third party code's ability to
2501 connect to any signal.
2503 Mon Dec 7 01:32:18 1998 Tim Janik <timj@gtk.org>
2505 * gtk/gtkfilesel.c (gtk_file_selection_key_press): always intercept the
2506 Tab key on the entry. the focus shouldn't get lost even if completion
2507 is attempted from an empty entry, since an empty entry string does
2508 indeed have a valid completion meaning (complete all).
2509 (gtk_file_selection_init): cast the gchar array parameter in calls to
2510 gtk_clist_new_with_titles() to quit compiler warnings.
2511 (check_dir): the no_stat_dirs struct must not be const, since we do
2512 indeed modify its contents.
2514 * gtk/testgtk.c (event_watcher): adapted prototype to fit new emission
2519 changed emission allocation, so we don't use a doubly linked list
2520 but link ourselfs (singly linked).
2521 changed emission hooks, they get the emision parameters passed as
2522 well now and are emitted during the actuall signal emission (after
2523 the RUN_FIRST class method, but prior to RUN_FIRST handlers).
2524 the existing restrictions do still apply to signal emission hooks,
2525 i.e. an emission may not be stopped or restarted from an emission hook.
2526 due to possibly huge perfomance impacts, frequent use of emision hooks
2527 is also not recommended.
2528 (gtk_signal_next_and_invalidate): added an
2529 assertments which explicits what the code assumes anyways: a
2530 maximum amount of 65535 signals.
2532 * gtk/gtkcontainer.h: deprecated gtk_container_foreach_interp(),
2533 gtk_container_foreach_full() should be used instead.
2536 deprecated gtk_timeout_add_interp and gtk_idle_add_interp, since
2537 we provide _full variants.
2539 * gtk/gtksignal.h: deprecated gtk_signal_connect_interp(), we provide
2540 gtk_signal_connect_full() for long enough now.
2542 1998-12-06 Marius Vollmer <mvo@zagadka.ping.de>
2544 * gtk/gtksignal.c (gtk_signal_newv): Allow a NULL marshaller.
2545 (gtk_signal_connect_by_type): Allow only no_marshal handlers to
2546 connect to signals with a NULL marshaller.
2548 * gtk/gtktypeutils.c (gtk_type_get_info): New.
2549 gtk/gtktypeutils.h (gtk_type_get_info): New prototype.
2551 Sun Dec 6 14:27:35 1998 Stefan Jeske <stefan@gtk.org>
2553 * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): Grey out
2554 arrows if wrap == FALSE and interval borders are reached.
2556 Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
2558 * gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
2559 long-standing typo in aspect ratio computation code.
2560 (pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
2562 Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
2564 * gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
2565 valid row numbers only
2566 (toggle_row): check if clist_row != NULL
2568 Fri Dec 4 00:50:12 1998 Lars Hamann <lars@gtk.org>
2570 * gtk/gtkctree.c (gtk_ctree_export_to_gnode): fixed for-loop.
2573 (gtk_clist_set_column_visibility)
2574 (gtk_clist_column_titles_active)
2575 (gtk_clist_column_titles_active)
2576 (gtk_clist_column_title_passive)
2577 (gtk_clist_column_title_active): few additional tests whether
2578 column->button != NULL
2580 Thu Dec 3 16:49:18 1998 Owen Taylor <otaylor@redhat.com>
2582 * gtk/gtkdnd.c (DROP_ABORT_TIME): Changed to 5 min
2583 from 10 seconds, so it doesn't abort while users
2584 have an ACTION_ASK menu up.
2586 * gtk/gtkdnd.c: Hide the icon window between sending a a
2587 drop event to the destination and displaying the
2588 snapback animation, so that it doesn't hang around
2591 Thu Dec 3 16:37:42 1998 Owen Taylor <otaylor@redhat.com>
2593 * gtk/gtkclist.c (get_cell_style): Use GTK_STATE_INSENSITIVE
2594 for the foreground of cells for CLists in the insensitive
2595 state, instead of GTK_STATE_PRELIGHT.
2597 Thu Dec 3 06:20:59 1998 Tim Janik <timj@gtk.org>
2599 * gtk/gtkwindow.c: moved checks upon focus setting from
2600 gtk_window_real_set_focus to gtk_window_set_focus, so we don't
2601 emit the signal if unneccessary.
2603 * gtk/gtkwidget.c (gtk_widget_grab_focus): clear up the old focus
2604 containers when grabbing focus on a new widget. this is based on
2605 a patch from Alexis Mikhailov, submitted to gtk-list on 4 Nov 1998.
2607 * gtk/gtkclist.c (gtk_clist_focus_out): set CLIST_CHILD_HAS_FOCUS
2608 flag, so we take the buttons into consideration upon the next focus
2611 * gtk/gtkcontainer.c (gtk_container_set_focus_child): fixed an
2614 Wed Dec 2 17:45:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2616 * gtk/gtkpixmap.c: Fixes for low-color displays and a slight
2617 enhancement for true-color displays.
2623 docs/gtk-config.1: up to version 1.1.6
2625 Wed Dec 2 01:36:49 PST 1998 Manish Singh <yosh@gimp.org>
2627 * gtk/gtkfeatures.h.in: lets #define GTK_HAVE_FEATURES_1_1_6 before
2628 we release it this time
2630 Wed Dec 2 01:39:02 1998 Tim Janik <timj@gtk.org>
2632 * gtk/gtknotebook.h:
2633 * gtk/gtknotebook.c: s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/.
2635 * incremented version number to 1.1.6 and made Gtk
2636 dependant on GLib 1.1.6.
2638 * gtk/gtkwidget.h (struct _GtkRequisition): changed width and height
2639 from guint16 to gint16, since sizes bigger than 32767 are not supported
2640 anyways, and aritmethics with intermediate negative values are possible
2643 Tue Dec 1 00:00:04 1998 Tim Janik <timj@gtk.org>
2645 * gtk/gtkscrolledwindow.c:
2646 implementation of GTK_POLICY_NEVER functionality, added rationales
2647 on the policy and size requisition handling at the top.
2648 (gtk_scrolled_window_size_request):
2649 we assume a default minimum for our child's width and height
2650 if [hv]scrollbar_policy != GTK_POLICY_NEVER, except when the user
2651 specified the dimension explicitely.
2652 (gtk_scrolled_window_size_allocate):
2653 do not show scrollbars if [hv]scrollbar_policy == GTK_POLICY_NEVER.
2655 * gtk/gtkviewport.c (gtk_viewport_size_request): report the real
2656 size we require (including the child).
2659 (gtk_clist_size_request): report the real size required.
2661 * gtk/gtkenums.h (enum GtkPolicyType): added GTK_POLICY_NEVER.
2663 * gtk/gtkobject.c (gtk_object_init_type): object_type doesn't
2664 need to be a static variable.
2666 Mon Nov 30 22:41:25 1998 Tim Janik <timj@gtk.org>
2670 * gtk/gtkviewport.h:
2671 * gtk/gtkviewport.c:
2678 * gtk/gtkscrolledwindow.h:
2679 * gtk/gtkscrolledwindow.c:
2680 s/scroll_adjustements/scroll_adjustments/
2681 s/scroll_adjustments/set_scroll_adjustments/g
2683 Tue Dec 1 22:45:58 1998 Lars Hamann <lars@gtk.org>
2685 * gtk/gtkclist.h (struct _GtkCListClass): new class method/signal
2687 * gtk/gtkclist.c (gtk_clist_row_move): new public function.
2688 emit a row_move signal
2689 (real_row_move): move source_row to dest_row
2690 (gtk_clist_swap_rows): use gtk_clist_row_move calls.
2691 (gtk_clist_columns_autosize): resize all columns to their optimal
2693 * gtk/gtkctree.c (real_row_move): use gtk_ctree_move to move
2695 * gtk/gtknotebook.c (gtk_notebook_nth_page): get nth page widget.
2697 Tue Dec 1 02:40:22 PST 1998 Manish Singh <yosh@gimp.org>
2701 * gtk/Makefile.am: Put -DFOO stuff into Makefile.am INCLUDES.
2702 Separate vars for each, for granularity.
2704 Tue Dec 1 02:19:54 1998 Tim Janik <timj@gtk.org>
2706 * gtk/gtkenums.h: fixed a stupid error of mine about the run type
2709 1998-11-30 Elliot Lee <sopwith@cuc.ml.org>
2711 * {gdk,gtk}/*.c: Make read-only data structures "static const" to
2712 allow them to be shared, mainly including (but not limited to) the
2713 GtkTypeInfo structures for each class.
2715 * gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
2717 Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
2720 Surround debug variable with #ifdef to silence gcc.
2722 * gtk/gtknotebook.c (gtk_notebook_reorder_child):
2723 Added initializer to quiet gcc warning.
2724 Added assertion to check for null pointer deref.
2726 Mon Nov 30 10:11:29 1998 Tim Janik <timj@gtk.org>
2728 * gtk/testgtkrc: merged testgtkrc with the pre-themes one, removed
2729 system specific includes.
2731 * gtk/gtksignal.c: asured that stop and restart emissions are also
2732 checked and processed for not connected objects. fixed up restart
2733 emission administration. invoke emission hooks after emission, hooks
2734 are not supposed to muck around with the current emission, and
2735 may also not cause emission restarts. fixed up stop emission
2738 Mon Nov 30 06:20:36 1998 Tim Janik <timj@gtk.org>
2740 * gtk/testgtk.c: added an event watcher for enter/leave based on
2741 signal emission hooks.
2743 * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a
2744 GTK_RUN_NO_HOOKS signal.
2747 * gtk/gtksignal.c: implemented emission hooks, new hooks can be added
2748 to a signal with gtk_signal_add_emission_hook or
2749 gtk_signal_add_emission_hook_full, and can be removed again with
2750 gtk_signal_remove_emission_hook.
2752 * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent
2753 an appropriate mask for signal runtypes for a long time now.
2754 added GTK_RUN_NO_HOOKS value, which is used to flag signals
2755 that do not allow the running of signal hooks.
2757 1998-11-26 Michael Krause <m.krause@tu-harburg.de>
2759 * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
2760 argument a gint: switch_page signal delivers valid page numbers
2763 Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
2765 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):
2766 set composite names.
2768 * gtk/gtktypeutils.c (gtk_type_unique): removed default initialization
2769 check, people must use gtk_type_init().
2770 fixed up type allocation for foreign fundamentals.
2773 * gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant
2774 for internal use by containers, that want to assign specific composite
2775 names to their composite children.
2776 added gtk_widget_get_composite_name() which will return a newly
2777 allocated string, containing the composite name of a widget. valid
2778 composite names can only be retrived from widgets that have a parent
2779 assigned and are flagged as GTK_COMPOSITE_CHILD.
2781 * gtk/gtkcontainer.h:
2782 * gtk/gtkcontainer.c: added a new function
2783 gtk_container_child_default_composite_name() which will return a
2784 newly allocated string, holding the composite name of a containers
2785 child. a default implementation is provided which will compose the
2786 composite name out of the widgets type and its sequential children
2787 id. this implementation can be overidden through a new class function
2788 *(composite_name)().
2790 Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
2792 * gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
2793 expose_event handler - we had two expose_event
2796 Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
2798 * gtk/gtkscrolledwindow.h:
2799 * gtk/gtkscrolledwindow.c: changed scrolled window inheritance,
2800 it inherits from GtkBin now.
2802 * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for
2803 visibility of child.
2804 (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE().
2805 added check so a child gets only drawn if it's visible.
2808 * gtk/gtkwidget.c: removed gtk_widget_draw_children().
2811 * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes.
2814 * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child().
2815 added internal function gtk_widget_reset_shapes() from gtkstyle.c.
2818 * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner
2819 argument, changed callers.
2821 * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time,
2822 it will issue a warning now.
2824 * gtk/gtkcompat.h: new file to #define aliases for historic
2827 * changed 8 function names for consistency and provided aliases to keep
2828 source compatibility in gtkcompat.h:
2829 (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width
2830 (gtk_container_set_border_width): renamed from gtk_container_border_width
2831 (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page
2832 (gtk_packer_configure): renamed from gtk_packer_set_child_packing
2833 (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size
2834 (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size
2835 (gtk_scale_get_value_width): renamed from gtk_scale_value_width
2836 (gtk_window_set_position): renamed from gtk_window_position
2838 * renamed a few recently added funtions for consistency:
2839 (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label.
2840 (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label.
2841 (gtk_progress_configure): renamed from gtk_progress_reconfigure.
2843 Fri Nov 27 18:57:20 PST 1998 Manish Singh <yosh@gimp.org>
2845 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add_with_viewport):
2846 check for existing viewport first, and don't add one if there
2849 Sat Nov 28 00:06:49 1998 Tim Janik <timj@gtk.org>
2852 * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
2853 gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
2854 and gtk_widget_unlock_accelerators.
2857 * gtk/gtklayout.c: implemented incremental freezing facility.
2860 * gtk/gtktext.c: implemented incremental freezing facility.
2863 * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
2867 deprecated gtk_entry_adjust_scroll().
2869 * random GtkType, macro and indentation fixes.
2871 Fri Nov 27 22:50:15 1998 Tim Janik <timj@gtk.org>
2874 * gtk/gtkclist.c: implemented incremental freezing facility, added
2875 a new class member (*refresh)() which takes over the thaw
2876 functionality. the clist FROZEN flag got removed on the way.
2877 * gtk/gtkctree.c: adaptions to feature the clist refresh functionality
2878 and incremental freezing.
2880 * gtk/gtkcalendar.c: implemented incremental freezing facility.
2882 Fri Nov 27 11:41:27 1998 Raph Levien <raph@gimp.org>
2884 * gdk/gdkinputcommon.h (gdk_input_common_init): Fixed it so that
2885 it still includes the core pointer in gdk_input_devices even
2886 if the XInput extension is not present in the X server.
2888 Fri Nov 27 12:17:15 1998 Owen Taylor <otaylor@redhat.com>
2890 * gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to
2891 get the source widget of a drag.
2893 * gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP]
2894 to restrict certain targets to the same widget or to
2895 the same application.
2897 * gtk/testdnd.c: Test gtk_drag_get_source_widget().
2899 Thu Nov 26 19:11:46 1998 Lars Hamann <lars@gtk.org>
2901 * gtk/gtk-boxed.defs (GtkCTreeNode): define GtkCTreeNode as boxed type
2902 * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_CTREE_NODE_TYPE
2903 instead of GTK_TYPE_POINTER in signal definitions.
2904 (patch from James Henstridge <james@daa.com.au>)
2906 Thu Nov 26 18:48:44 1998 Lars Hamann <lars@gtk.org>
2908 * gtk/gtkclist.c (set_cell_contents)
2909 * gtk/gtkctree.c (set_cell_contents): call column_auto_resize only
2910 if auto.resize == TRUE
2912 * gtk/gtknotebook.c (gtk_notebook_set_shape) (gtk_notebook_expose):
2913 don't draw tab, if show_tabs == FALSE
2914 (bug reports from Alexis Mikhailov / Dave Cole)
2915 (gtk_notebook_focus_changed) (gtk_notebook_draw_focus): draw only
2916 the focus rectangle, not the hole tab.
2918 Thu Nov 26 03:18:08 1998 Tim Janik <timj@gtk.org>
2923 * gtk/gtkctree.c: reverted bogus and undocumented!!! changes from
2924 Jay Cox (98/11/23 13:53:26) which `const' qualified char* arrays.
2926 * gtk/maketypes.awk: changed underline substitution, so we get
2927 GTK_TYPE_CTREE_POS instead of the broken GTK_TYPE_C_TREE_POS.
2928 * gtk/makeenums.pl: likewise.
2929 * gtk/gtkctree.c: adapted type names accordingly.
2931 Tue Nov 24 11:31:06 1998 Owen Taylor <otaylor@redhat.com>
2933 * docs/Changes-1.2.txt: Edited section on the ScrolledWindow.
2935 * gtk/gtklayout.c (gtk_layout_set_[hv]adjustment): Remove
2936 some code duplication.
2938 * gtk/gtklayout.[ch] Fixed mapping and unmapping of child windows
2939 and child widgets when scrolling greater than 32k pixels.
2941 * testgtk.c: Modified layout test to test scrolling over
2944 * gtk/gtkplug.c: Added a few blank lines.
2946 Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
2948 * gtk/gtklayout.[ch]: Fixed up copyright message.
2950 * gdk/gdkrgb.c (DM): Make the dither matrix constant
2951 so it can be shared.
2953 * gtk/gtkdnd.c: Make cursor bitmaps const.
2955 * gdk/gdk.h gdk/gdkpixmap.c: Added const to
2956 gdk_pixmap/bitmap_create_from_data.
2958 Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
2960 * docs/Changes-1.2.txt: added a section on scrolled windows and
2963 1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
2965 * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
2966 buttons when setting relief for button items.
2967 (gtk_toolbar_set_button_relief): Same.
2969 1998-11-23 Jeff Garzik <jgarzik@pobox.com>
2971 * gdk/Makefile.am, gtk/Makefile.am:
2972 Removed DEFS "+=" mess that breaks recent automakes.
2973 INCLUDES is the correct way to add to CFLAGS from Makefile.am.
2975 * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
2976 gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
2977 gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
2979 Include "config.h" instead of "../config.h".
2980 Now that DEFS works again, automake will automatically pass us
2981 the location of config.h in -I.
2983 Mon Nov 23 22:10:09 1998 Owen Taylor <otaylor@redhat.com>
2985 * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
2986 gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:
2988 Added layout widget for scrolling arbitrarily big areas.
2989 Added plug/socket widgets for interprocess embedding.
2991 These widgets still, at some point, need to be
2992 made more pure in their use of GDK, as opposed
2995 * gtk/testgtk.c: Added test for layout widget.
2997 1998-11-23 Jeff Garzik <jgarzik@pobox.com>
2999 * gtk/gtkclist.c: (gtk_clist_swap_rows): Bugfix from
3000 Brandon Long <blong@fiction.net> - do the right thing with first
3001 and last, which are the absolute values of row arguments row1
3004 Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
3006 * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
3007 default adjustment (from 0 to 100) instead. I'm not sure if this
3008 is the correct level for the fix, but gtk_progress_bar_new()'s
3009 original default behavior is restored.
3011 1998-11-23 Martin Baulig <martin@home-of-linux.org>
3013 * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
3014 we can check for latest GTK features.
3016 1998-11-23 Havoc Pennington <hp@pobox.com>
3018 * gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
3019 (gtk_toolbar_insert_element): When setting relief, also affect
3022 Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
3024 * gtk/gtkobject.h: remove extraneous comma
3026 Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
3028 * gtk/gtkcontainer.c:
3029 (gtk_container_add_with_args):
3030 (gtk_container_addv):
3031 (gtk_container_add): removed assertements for constructed containers
3032 again, since this essentially breaks the "child" arg.
3034 * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
3035 reference count, we don't need to reference toplevels that already have
3038 * gtk/gtkscrolledwindow.c: check for the composites existance in
3039 _forall since we might not be already constructed.
3041 Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
3043 * Released GTK+ 1.1.5
3045 * configure.in: require GLib 1.1.5
3047 Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
3049 * gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
3051 (gtk_text_finalize): only unref the current_font if we have
3054 Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
3061 docs/gtk-config.1: Version incremented to 1.1.5
3063 Sun Nov 22 16:21:28 1998 Tim Janik <timj@gtk.org>
3065 * gtk/gtkprogress.c: added args ::show_text, ::text_xalign,
3066 ::text_yalign, ::activity_mode.
3068 * gtk/gtkprogressbar.c: added construct arg ::adjustment. added args
3069 ::bar_style, ::orientation, ::discrete_blocks, ::activity_step,
3071 (gtk_progress_bar_new):
3072 (gtk_progress_bar_new_with_adjustment): use gtk_widget_new().
3073 (gtk_progress_bar_construct): deprecated.
3075 * gtk/gtkvscrollbar.c:
3076 (gtk_vscrollbar_draw_step_back):
3077 (gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for
3078 gtk_paint_arrow, to be consistent with hscrollbar.
3081 added construct args ::hadjustment, ::vadjustment.
3082 added args ::line_wrap, ::word_wrap.
3083 (gtk_text_class_init): added scroll_adjustments signal.
3084 (gtk_text_new): use gtk_widget_new.
3085 (gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments,
3086 so we don't screw the reference counts and don't leave signals connected.
3087 (gtk_text_destroy): disconnect adjustments signals.
3088 (gtk_text_finalize): unref adjustments.
3090 * gtk/gtkctree.c: added construct args ::n_columns and ::tree_column.
3091 added args ::indent, ::spacing, ::show_stub, ::reorderable,
3092 ::use_drag_icons, ::line_style and ::expander_style.
3093 (gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is
3096 * gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag.
3098 removed ::vadjustment and ::hadjustment args, introduced
3099 ::scroll_adjustments signal.
3100 added ::shadow_type, ::selection_mode and ::row_height args.
3101 added n_columns construct arg.
3102 (gtk_clist_construct): call gtk_object_constructed().
3103 (gtk_clist_set_row_height): if height is passed as 0,
3104 revert to automatic height calculation.
3105 (gtk_clist_destroy): before unrefing the adjustments, disconnect our
3108 Fri Nov 21 22:34:58 1998 Tim Janik <timj@gtk.org>
3110 * gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct
3111 like gtk_object_new.
3112 (gtk_widget_destroy): assert that we only destroy constructed widgets.
3114 * gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY
3115 to identify args that may only be used for construction.
3116 GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction
3118 * gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct
3119 at the end if the object is not fully constructed.
3120 (gtk_object_newv): likewise.
3121 (gtk_object_destroy): assert that we only destroy constructed objects.
3122 (gtk_object_init): setup GTK_CONSTRUCTED from the
3124 (gtk_object_default_construct): new function to complete default
3125 construction of an object by applying missing construtor args with
3126 default values of 0, 0.0 or NULL.
3127 (gtk_object_constructed): new function to mark an object as being
3128 constructed (used from within constructors).
3130 * gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer
3131 so it is immediatedly available for the caller.
3133 * gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to
3134 the object initilizer (GtkObjectInitFunc takes a second arg now, the
3135 real klass), and asure that object initializers may temporarily alter
3138 Fri Nov 20 08:00:30 1998 Tim Janik <timj@gtk.org>
3140 * gtk/testgtk.c: change all occourances of gtk_container_add (
3141 scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...)
3142 for widget!=(clist, ctree, text, viewport).
3145 (gtk_combo_init): use gtk_scrolled_window_add_with_viewport()
3146 to add children to the scrolled window.
3148 * gtk/gtkscrolledwindow.h:
3149 * gtk/gtkscrolledwindow.c:
3150 changed scrolled_window->viewport to scrolled_window->child, and use
3151 gtk_widget_scroll_adjustements() to set the scroll adjustments for the
3152 widget, we do not create an additional viewport anymore.
3153 added ::hadjustment and ::vadjustment constructor args.
3154 (gtk_scrolled_window_new): use gtk_widget_new() to create the widget.
3155 (gtk_scrolled_window_set_hadjustment):
3156 (gtk_scrolled_window_set_vadjustment): new functions that superceed
3157 gtk_scrolled_window_construct.
3158 (gtk_scrolled_window_construct): deprecated this function.
3160 * gtk/gtkhscrollbar.c:
3161 * gtk/gtkvscrollbar.c:
3164 support a constructor arg "::adjustment", and use gtk_widget_new() for
3165 the widget creation.
3167 * gtk/gtkrange.c: added ::update_policy arg.
3168 (gtk_range_set_adjustment): if adjustment is passed in as NULL, create
3169 a default adjustment so this function can be used for derived widgets
3170 that depend on the adjustment's existance.
3171 (gtk_range_destroy): disconnect the adjustment signal, so we don't
3172 get called after we got destroyed, we don't destroy the adjustment
3173 in here, because it might have been provided from another widget.
3175 * gtk/gtkviewport.c: introduced ::scroll_adjustments signal.
3176 (gtk_viewport_destroy): same as gtk_range_destroy.
3178 * gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy.
3181 * gtk/gtkwidget.c: changed gtk_widget_activate() to return a
3182 gboolean, indicating whether this widget supports activation.
3183 added gtk_widget_scroll_adjustements() to set the scrolling
3184 adjustments of a widget.
3186 Wed Nov 19 01:22:42 1998 Tim Janik <timj@gtk.org>
3188 * gtk/gtkoptionmenu.c:
3189 (gtk_option_menu_remove_contents):
3190 (gtk_option_menu_update_contents): removed
3191 gtk_container_[un]block_resize() pairs.
3193 * gtk/gtknotebook.h:
3194 * gtk/gtknotebook.c: removed the tab_border field, since it shouldn't
3195 be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a
3196 wrtie-only argument.
3198 * *.c: made deprecated functions issue a message:
3199 gtk_clist_set_border, gtk_container_block_resize,
3200 gtk_container_unblock_resize, gtk_container_need_resize,
3201 gtk_object_class_add_user_signal, gtk_spin_button_construct,
3202 gtk_scrolled_window_construct.
3203 removed non-functional functions:
3204 gtk_container_disable_resize, gtk_container_enable_resize,
3205 gtk_clist_set_policy.
3207 Wed Nov 18 22:54:36 1998 Tim Janik <timj@gtk.org>
3209 * gtk/gtkbox.c (gtk_box_init):
3210 * gtk/gtkdrawingarea.c (gtk_drawing_area_init):
3211 * gtk/gtkeventbox.c (gtk_event_box_init):
3212 * gtk/gtkfixed.c (gtk_fixed_init):
3213 * gtk/gtkframe.c (gtk_frame_init):
3214 * gtk/gtkhandlebox.c (gtk_handle_box_init):
3215 * gtk/gtkpacker.c (gtk_packer_init):
3216 * gtk/gtkmisc.c (gtk_misc_init):
3217 * gtk/gtkpreview.c (gtk_preview_init):
3218 * gtk/gtkprogress.c (gtk_progress_init):
3219 * gtk/gtkprogressbar.c (gtk_progress_bar_init):
3220 * gtk/gtkseparator.c (gtk_separator_init):
3221 * gtk/gtktable.c (gtk_table_init):
3222 * gtk/gtkviewport.c (gtk_viewport_init):
3223 * gtk/gtkalignment.c (gtk_alignment_init):
3224 removed setting of the GTK_BASIC flag.
3228 removed GTK_BASIC, GTK_WIDGET_BASIC and gtk_widget_basic.
3230 * miscellaneous GtkType and macro fixups.
3232 Sat Nov 21 18:53:13 1998 Owen Taylor <otaylor@redhat.com>
3234 * gdk/gdkwindow.c (gdk_window_get_deskrelative_origin):
3235 Fixed so it at least works with window managers other
3236 than Enlightenment, though it probably needs to be
3239 1998-11-21 Andrew T. Veliath <andrewtv@usa.net>
3241 * gtk/gtkhandlebox.[ch]: Add shadow_type and
3242 gtk_handle_box_set_shadow_type function (plus a
3243 GtkHandleBox::shadow arg) to allow configuration of shadow in the
3246 Thu Nov 19 23:47:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
3248 * gtk/gtkcalendar.c: Fix for marking days from
3249 Dan Reish <dreish@izzy.net>.
3251 Thu Nov 19 00:15:27 1998 Lars Hamann <lars@gtk.org>
3253 * gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode
3254 in row_list. (from Samuel Solon <ssolon@usa.net>)
3256 * gtk/gtkclist.c (gtk_clist_get_column_title): return column title
3257 (gtk_clist_get_column_widget): return column widget
3259 Wed Nov 18 11:54:57 1998 Owen Taylor <otaylor@redhat.com>
3261 * gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops
3262 that are sent to a toplevel but are not within the
3265 * gdk/gdkdnd.c gdk/gdk.h: Added support for a
3266 XdndProxy atom which proxies the drag to another window.
3268 1998-11-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
3270 * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, now
3271 that it is not needed.
3273 Tue Nov 17 1998 The Rasterman <raster@redhat.com>
3274 * gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin
3275 function to correctly determine gdk window position relative to
3276 its "root window" - contains check for an Enlightenment
3277 virtual root window.
3278 * gtk/gtkhandlebox.c: changed gdk_window_get_origin ->
3279 gdk_window_get_deskrelative_origin to get the origin of dragged
3280 handleboxes correctly. Now it works correctly with E.
3282 Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
3284 * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
3285 getting types even though we were not using real type names,
3286 just the index. This caused random crashes when more than
3287 256 types were defined.
3289 1998-11-17 Martin Baulig <martin@home-of-linux.org>
3291 * gtk/genmarshal.pl: Put output files in the current directory
3292 and not in the $(srcdir) since the VPATH is ignored for built
3295 Tue Nov 17 01:37:53 PST 1998 Manish Singh <yosh@gimp.org>
3298 * gtk/Makefile.am: check for unchanged autogenerated files, so
3299 we don't rebuild everything just for adding a new function
3301 Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson <amundson@gtk.org>
3304 gtk/gtkpixmap.c: Pixmaps now grey out when insensitive,
3305 code thanks to GNOME stock by Eckehard Berns. New function
3306 gtk_pixmap_set_build_insensitive to provide ability to turn
3309 Tue Nov 17 00:06:29 1998 Lars Hamann <lars@gtk.org>
3311 * gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous;
3312 new guints : tab_hborder, tab_vborder; marked tab_border deprecated
3313 (struct _GtkNotebookPage): new flags : expand, fill, pack
3315 * gtk/gtknotebook.h/c
3316 (gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous
3318 (gtk_notebook_set_tab_border): set tab_h/vborder to tab_border
3319 (gtk_notebook_set_tab_hborder): new function. set tab_hborder
3320 (gtk_notebook_set_tab_vborder): new function. set tab_vborder
3321 (gtk_notebook_query_tab_label): new function. get tab_label widget.
3322 (gtk_notebook_set_tab_label): new function. set tab_label widget.
3323 (gtk_notebook_set_tab_label_text): new function. set tab_label text.
3324 (gtk_notebook_query_menu_label): new function. get tab_label widget.
3325 (gtk_notebook_set_menu_label): new function. set tab_label widget.
3326 (gtk_notebook_set_menu_label_text): new function. set tab_label text.
3327 (gtk_notebook_set_tab_label_packing): new function. set tab_label
3328 fill, expand, fill_type
3329 (gtk_notebook_query_tab_label_packing): new function. get tab_label
3330 fill, expand, fill_type
3332 (gtk_notebook_real_page_position): return logic page number
3333 (gtk_notebook_search_page) search next/prev logic page
3334 (gtk_notebook_update_labels): set logic page number.
3335 (gtk_notebook_page_compare): renamed gtk_notebook_find_page
3336 (gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND,
3337 CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK
3338 (gtk_notebook_button_press) (gtk_notebook_key_press)
3339 (gtk_notebook_focus) (gtk_notebook_pages_allocate)
3340 (gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab)
3341 use gtk_notebook_search_page
3342 (gtk_notebook_page_allocate): fixed allocation bug
3343 (gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER.
3344 (gtk_notebook_init): unset GTK_NO_WINDOW flag
3345 (gtk_notebook_size_request): check whether page->child is visible.
3346 changes due to tab h/vborder, homogeneous tabs
3347 (gtk_notebook_paint): don't draw invisible tabs
3348 (gtk_notebook_switch_page): calculate page_num if it's less than 0
3349 (gtk_notebook_append_*) (gtk_notebook_prepend_*)
3350 (gtk_notebook_insert_page): removed sanity checks
3352 * gtk/testgtk.c (create_notebook): extended Notebook sample a bit.
3354 Mon Nov 16 15:10:33 1998 Owen Taylor <otaylor@redhat.com>
3356 * gtk/gtktext.c: Optimizations for [advance/decrement]_mark_n.
3357 (gtk-mailund-980718-0, Thomas Mailund Jensen <mailund@daimi.aau.dk>)
3359 * gtk/gtkfixed.c: Removed gtk_fixed_umap, which was
3360 broken. (GtkWidget's default unmap handler should work fine).
3361 Pointed out by Patrice Fortier <Patrice.Fortier@aquarel.fr>
3363 Mon Nov 16 00:59:26 PST 1998 Manish Singh <yosh@gimp.org>
3365 * gtk/gtkmenubar.[ch]: added shadow_type setting and
3366 gtk_menu_bar_set_shadow_type function to allow shadow
3367 configurability for menubars
3369 * gtk/gtkviewport.h: use GtkShadowType enum instead of generic
3372 Mon Nov 16 00:17:53 1998 Tim Janik <timj@gtk.org>
3374 * gtk/gtktypeutils.c (gtk_type_new): relookup type node after
3375 class creation and parent class' object initializer.
3377 1998-11-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
3379 * gtk/gtkpaned.c (gtk_paned_realize): Destroy the cursor after we
3380 have assigned it to the window -- there is no point in keeping it around.
3381 (gtk_paned_unrealize): No need to destroy the cursor here.
3383 * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, as
3386 Fri Nov 13 11:22:38 1998 Owen Taylor <otaylor@redhat.com>
3388 * gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new().
3389 (gtk-blizzard-981005-0.
3390 Christopher Blizzard <blizzard@applied-theory.com)
3392 * gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and
3393 gdk_pixmap_foreign_new to gdkx.h.
3395 Fri Nov 13 16:06:48 1998 Owen Taylor <otaylor@redhat.com>
3397 * gtk/Makefile.am: Added rules to generate an empty
3398 GTK+ theme called "Default" upon installation.
3400 * gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance
3401 of fonts and fontsets.
3402 (gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp)
3404 * gtk/gtkmain.c: Change test to detect glibc's
3405 utf8 based mb* functions to be more specific.
3407 * gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation
3410 Fri Nov 13 16:43:36 1998 Lars Hamann <lars@gtk.org>
3412 * gtk/gtktogglebutton.c (gtk_toggle_button_realize): don't
3414 (gtk_toggle_button_map) (gtk_toggle_button_unmap): show/hide
3415 event_window if draw_indicator is set
3416 (gtk_toggle_button_set_mode):
3418 Thu Nov 12 15:33:54 PST 1998 Manish Singh <yosh@gimp.org>
3420 * gtk/gtkitemfactory.c: cast NULL to GtkItemFactoryCallback to
3421 ensure proper type (SunPro cc complains)
3423 * gtk/gtklist.c: removed bogus '*' from "*GTK_CONTAINER_CLASS"
3425 * gtk/gtktogglebutton.c: use our own draw method so we get proper
3426 redraws on active state
3428 Thu Nov 12 00:26:13 1998 Lars Hamann <lars@gtk.org>
3430 * gtk/gtkstyle.c (gtk_default_draw_box_gap): use GtkPositionType
3433 * gtk/gtknotebook.c (gtk_notebook_draw_tab): fixed gap_side for
3436 Wed Nov 11 19:54:58 1998 Lars Hamann <lars@gtk.org>
3438 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init)
3439 (gtk_scrolled_window_set_arg) (gtk_scrolled_window_get_arg):
3440 added ARG_WINDOW_PLACEMENT
3442 * gtk/gtkclist.c (size_allocate_columns): resize column if column
3443 button > column width and auto_resize is set
3444 (real_clear) (column_auto_resize) (gtk_clist_optimal_column_width):
3445 consider column button width of auto resized columns
3446 (gtk_clist_parent_set): removed
3448 * gtk/gtkctree.c (gtk_ctree_insert_node): call column_auto_resize.
3449 (auto_resize_columns): auto_resize all columns
3450 (real_tree_collapse) (gtk_ctree_remove_node): call auto_resize_columns
3451 (column_auto_resize): respect column button width of auto resized
3454 1998-11-10 Martin Baulig <baulig@merkur.uni-trier.de>
3456 * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_4): Define this so
3457 we can check for latest GTK features.
3459 Mon Nov 9 00:39:20 1998 Lars Hamann <lars@gtk.org>
3461 * gtk/gtkenums.h : new enum GtkCornerType
3462 * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added
3464 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement):
3465 new method to set window_placement.
3466 (gtk_scrolled_window_viewport_allocate)
3467 (gtk_scrolled_window_size_allocate): few changes due to
3469 * gtk/testgtk.c (remove_selection): fixed while loop.
3471 Sat Nov 7 21:55:00 PST 1998 Manish Singh <yosh@gimp.org>
3473 * gtk/gtkclist.c: check if column[i].button is valid before calling
3474 gtk_widget_intersect on it in gtk_clist_draw
3476 * gtk/gtkdnd.c: removed unused variable empty_bits
3478 * gtk/gtkrc.c: we should use gslist_* functions with GSLists...
3480 * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return
3481 a boolean (thanks to Elrond for noticing this)
3483 1998-11-07 Jay Cox <jaycox@earthlink.net>
3485 * gtk/gtkwindow.c: forward declaration for gtk_window_paint
3486 * gdk/gdkxid.c: declare xid_ht static
3487 * examples/*/Makefile: get the link ordering right.
3489 Sat Nov 7 16:31:56 1998 Stefan Jeske <stefan@gtk.org>
3491 * gtk/gtkclist.c (gtk_clist_realize): Set background of
3492 title button window to GTK_STATE_NORMAL instead of
3493 GTK_STATE_SELECTED to avoid ugly flicker.
3495 Fri Nov 6 23:29:40 1998 Lars Hamann <lars@gtk.org>
3497 * gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
3498 if adjustments are NULL and list size has changed
3499 (gtk_clist_size_request): return real list requsition,
3500 if adjustments are NULL.
3501 (size_allocate_columns): use button->requisition.with, if column
3503 (list_requisition_width): new function. return full list width.
3504 (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
3505 auto create adjustments.
3506 (gtk_clist_motion) (move_vertical) (move_horizontal):
3507 check adjustment != NULL.
3509 Thu Nov 5 12:06:16 1998 Owen Taylor <otaylor@redhat.com>
3511 * gtk/gtkcheckbutton.c (gtk_check_button_draw_focus): Queue
3512 a clear/redraw, not just a redraw, so the focus
3513 gets undrawn properly.
3515 * gtk/gtktogglebutton.c (gtk_toggle_button_unrealize):
3516 Chain to gtk_widget_unrealize() instead of duplicating
3519 Wed Nov 4 14:34:51 1998 Owen Taylor <otaylor@redhat.com>
3521 * gdk/gdk.c gdk/gdkprivate.h gdk/gdkwindow.c: Removed
3522 last vestiges of old DND.
3524 Tue Nov 3 12:27:52 1998 Owen Taylor <otaylor@redhat.com>
3526 * gtk/gtkentry.c: Restored inner border to entries,
3527 erase cursors to background image.
3529 Fri Oct 30 12:09:21 1998 Owen Taylor <otaylor@redhat.com>
3531 * gtk/gtkentry.c gtk/gtkstyle.[ch]: removed paint_entry() -
3532 it was identical to paint_flat_box().
3534 * gtk/gtkstyle.c: Coding style fixups.
3536 * gtk/gtkwindow.c (gtk_window_move_resize): removed useless
3539 * gtk/gtkframe.c gtkstyle.[ch] gtknotebook.c:
3540 Change 'side' for paint_[box/shadow]_gap and paint_extension
3541 to be GtkPositionType instead of a random int.
3543 * gtk/gtkaspectframe.c (gtk_aspect_frame_paint): Use
3544 "frame" as detail - an aspectframe should draw identical
3547 Tue Oct 27 09:58:11 1998 Owen Taylor <otaylor@redhat.com>
3549 * gdk/gdkwindow.c (gdk_window_merge_child_shapes): renamed
3550 from combine_child_shapes().
3552 * gdk/gdkwindow.c: Merge propagate_shapes() and
3553 propagate_combine_shapes() to remove code duplication.
3555 Thu Nov 5 14:31:57 PST 1998 Manish Singh <yosh@gimp.org>
3557 * gdk/gdk.c: sometimes we get a KeyRelease before a KeyPress in
3558 gdk_event_translate, and the USE_XIM buffer isn't allocated yet.
3559 So allocate some mem if it's not already done.
3561 * clist scrollbar merges from HEAD
3563 Tue Nov 3 13:16:36 PST 1998 Manish Singh <yosh@gimp.org>
3565 * gtk/Makefile.am: remove explict -ldl, gmodule takes care of that
3567 * gtk/gtkdnd.c: start TARGET_MOTIF_SUCCESS from 0x40000000 instead
3568 of 0x80000000, so we stay within the bounds of a postive signed
3569 int (it broke some compilers)
3571 * gtk/gtkmenushell.c
3572 * gtk/gtkoptionmenu.c: merges from HEAD to make option menus work
3573 when some of the menuitems are hidden
3575 * gtk/gtkthemes.h: don't include dlfcn.h explictly, gmodule takes
3578 * gtk/gtkwidget.c: add a dummy continue after the line label
3579 next_rect, since some compilers don't like label: }
3581 Sun Nov 1 20:05:55 PST 1998 Manish Singh <yosh@gimp.org>
3583 * Okay, so we need the X11R6 keysyms so programs don't have to
3584 worry about them. They don't conflict anyway. Reverted the #ifdef
3587 * gdk/Makefile.am: remove the BUILT_SOURCES rule, and make a
3588 special rule for them (X-derived-headers)
3590 Sun Nov 1 05:30:32 PST 1998 Manish Singh <yosh@gimp.org>
3592 * gdk/Makefile.am: changed the awk scripts to generate gdkcursors.h
3593 and gdkkeysyms.h into sed scripts, since the awk scripts weren't
3594 portable, and we really shouldn't be using awk anyway.
3597 * makekeysyms.awk: bye bye
3599 * gtk/gtkaccelgroup.c
3602 * gtk/gtkwindow.c: don't use X11R6 keysyms if they aren't there
3604 Sat Oct 31 15:22:14 PST 1998 Manish Singh <yosh@gimp.org>
3606 * gdk/Makefile.am: do the same built sources trick for gdkcursors.h
3607 and gdkkeysyms.h. Remove those files from CVS.
3609 Sat Oct 31 14:44:01 PST 1998 Manish Singh <yosh@gimp.org>
3611 * gdk/gdk.c: move prototype of gdk_wm_protocols_filter outside
3612 of the USE_XIM #ifdef
3614 * gtk/Makefile.am: cause the built sources to be rebuild when possible,
3615 even with --include-deps. Slightly different from timj's fix, to avoid
3616 circular dependency with gtkmarshal.c
3621 * gtk/gtkfontsel.[ch]
3624 * gtk/gtkobject.[ch]
3625 * gtk/testgtk.c: merges from HEAD
3628 * gtk/gtkradiomenuitem.c
3629 * gtk/gtktreeitem.c: cleanups
3631 Wed Oct 28 23:32:19 PST 1998 Manish Singh <yosh@gimp.org>
3633 * gdk/gdkrgb.c: Oops. s/BIGENDIAN/BIG_ENDIAN/
3635 Wed Oct 28 19:04:49 PST 1998 Manish Singh <yosh@gimp.org>
3637 * configure.in: AIX has libpthreads, to make sure you can have
3638 more than one thread. Also add -D_THREAD_SAFE, and reorder
3639 configure.in so CFLAGS doesn't get clobbered when we actually
3642 * gdk/gdkimage.c: initialize the bpp and byte_order fields properly
3645 * gtk/testdnd.c: removed unused variable "buf"
3647 Mon Oct 26 16:46:15 1998 Owen Taylor <otaylor@redhat.com>
3649 * gtk/gtkcontainer.c (gtk_container_unregister_toplevel):
3650 remove_link(), not remove()
3652 Thu Oct 22 02:27:30 PDT 1998 Manish Singh <yosh@gimp.org>
3654 * gdk/gdkrgb.c: use glib endian stuff
3656 * configure.in: don't need to check for endianness anymore
3658 * gtk/gtkstyle.h: removed #pragma }, causing a silly warning
3660 Wed Oct 21 17:44:27 1998 Owen Taylor <otaylor@redhat.com>
3662 * gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset
3663 all toplevel widgets, not toplevel windows. (I.e.,
3664 plugs should be reset)
3666 * gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we
3667 _do_ need to notify the other toplevels - by the time
3668 the get the client messages, the RC file dates will
3671 * gtk/gtkcontainer.h: Added a function call to list
3672 every toplevel widget.
3674 * gdk/gdk.c (gdk_event_send_client_message_to_all_recurse):
3675 Don't send client messages to _every_ window on display!
3677 Tue Oct 20 16:21:04 1998 Owen Taylor <otaylor@redhat.com>
3679 * gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags
3680 when dragging across widgets, only in drags
3683 Tue Oct 20 15:59:49 1998 Owen Taylor <otaylor@redhat.com>
3685 * gtk/gtkdnd.c (gtk_drag_source_info_destroy):
3686 Emit "drag_end" signal at end of drag.
3688 Tue Oct 20 13:07:54 1998 Owen Taylor <otaylor@redhat.com>
3690 * gtk/gtkwindow.c (gtk_window_read_rcfiles): Look
3691 for "gtk-embedded" data currently set by
3692 GtkSocket, and use that to forward client message
3693 on to embedded windows. Only reset our own toplevel -
3694 the others will handle themselves. (Now that
3695 GtkMenus live in GtkWindows)
3697 Mon Oct 19 16:40:40 1998 Owen Taylor <otaylor@redhat.com>
3699 * gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify
3700 client window finding code so that it works with
3701 WM's other than fvwm.
3703 Sun Oct 18 22:48:27 1998 Owen Taylor <otaylor@redhat.com>
3705 * gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
3706 the "GtkDrawWindow" class, which is a descendent
3707 of the Window class which leaves its background alone.
3708 Essentially, a toplevel drawing area, though it does
3709 allow adding a child.
3711 Sat Oct 17 00:40:51 1998 Owen Taylor <otaylor@redhat.com>
3713 * gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when
3714 merging RC styles. Report new share/themes path for
3715 themes directory. Deref theme engines when appropriate.
3717 * gtk/gtkclist.c: Set all backgrounds in _style_set().
3718 Make sure that pixel for xor_gc is never 0.
3720 * gtk/gtkctree.c: Choose colors for plus/minus more
3721 carefully, in a hopefully style-independent fashion.
3722 (Still needs a bit more work)
3724 * gtk/gtkwidget.c: Don't send expose events to widgets
3725 which are about to be resized and redrawn. (Needs a
3728 * gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid
3729 drawing on tabs for newly allocated, un-sized
3730 pages - we'll get the size wrong.
3732 Thu Oct 1 17:38:07 1998 Owen Taylor <otaylor@redhat.com>
3734 * gtk/gtkwidget.c (gtk_widget_redraw_queue_remove): Fixed
3735 up stupidities in last commit.
3737 Thu Oct 1 14:25:43 1998 Owen Taylor <otaylor@redhat.com>
3739 * gtk/gtkwidget.c: When handling queued resizes, account
3740 for handleboxes, where the widget heirarchy is different
3741 than the window heirarchy by just queueing a resize on
3742 the entire handlebox if the detached child is changed.
3744 - Remove widgets from the redraw queue when reparenting,
3745 even if not unrealizing. We queue a resize/redraw in
3748 Mon Sep 28 21:07:01 EDT 1998 The Rasterman <raster@redhat.com>
3749 * gtk/gtkstyle.c: added check to see if the widget has been shaped
3750 byt the app via gtk_widget_shape_combine_mask and if it has does
3751 not reset the shape on theme change.
3753 Tue Sep 15 11:30:03 1998 Owen Taylor <otaylor@redhat.com>
3755 * gtk/gtkfilesel.c: Keep a list of directories in which we never
3756 want to stat the entries (like /afs), and assume everything in
3757 those directories is a subdirectory.
3759 - When following a path, try to open components even when
3760 we don't find them in their parent's directory to
3761 support automounters.
3763 Fri Sep 11 15:36:33 1998 Owen Taylor <otaylor@redhat.com>
3765 * gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully
3766 now at least compiles again.
3768 * gdk/gdk.c (gdk_event_translate): Don't pass events
3769 on destroyed widgets to the gdk_input layer.
3771 Thu Sep 3 19:45:34 1998 Owen Taylor <otaylor@redhat.com>
3773 * gtk/gtkthemes.c: Use g_module instead of dlopen()
3775 Thu Sep 3 19:30:11 1998 Owen Taylor <otaylor@redhat.com>
3777 * gtk/gtktooltips.c (gtk_tooltips_expose): Check
3778 if we've changed widgets since the expose event
3781 Mon Aug 31 15:33:13 1998 Owen Taylor <otaylor@redhat.com>
3783 * gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit
3784 to restore approximate bin compatibility with the
3785 non-themes branch. (This does break bin compat
3786 within the themes branch.)
3788 Sun Aug 30 16:48:27 1998 Owen Taylor <otaylor@gtk.org>
3790 * gtk/gtklabel.c (gtk_label_set): Eliminate a
3791 gdk_window_clear_area() that snuck in with the
3792 menu underlines merge.
3794 Mon Aug 24 23:37:26 1998 Owen Taylor <otaylor@redhat.com>
3796 * gtk/gtktext.c: Fixed some remaining background drawing,
3797 merges from main branch, cleanups.
3799 Mon Aug 24 10:55:51 1998 Owen Taylor <otaylor@redhat.com>
3801 * gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
3802 dereference NULL focus tab.
3804 * gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
3805 functions since we need to both show/hide and
3806 queue a redraw. (There's some duplication of drawing here,
3807 we probably should only be queuing a redraw on the
3808 "value" portion of the scale.)
3810 Fri Aug 21 19:02:30 1998 Owen Taylor <otaylor@redhat.com>
3812 * gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
3813 into the theme-drawing framework. We do this by making them,
3814 like check/radio-buttons, no-window widgets with subwindows. We
3815 then move the value by calling gtk_widget_queue_clear() and only
3816 redraw the value in our draw() / expose() handler. A virtual
3817 function clear_background is added which queues a clear on the
3818 "background" portion of the widget.
3820 Fri Aug 21 13:04:27 1998 Owen Taylor <otaylor@redhat.com>
3822 * gtk/gtktext.c (mark_bg_gc): Make background colors work
3823 again. (We can't always paint the background with a
3824 paint() function - only do that for selected text)
3826 Mon Aug 17 20:31:01 1998 Owen Taylor <otaylor@redhat.com>
3828 * gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
3829 gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.
3831 * Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
3832 the themes can't be built as part of the same build since
3833 they depend on gdk_imlib.
3835 Fri Aug 14 12:44:30 1998 Owen Taylor <otaylor@redhat.com>
3837 * gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
3840 * configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
3843 - Upgrade to libtool-1.2b + patch to add shared library dependencies
3844 for Linux. (Needs to be extended to other platforms where they
3847 - Check for -ldl so this branch should build on all platforms, though
3848 themes will work on all platforms they could work on.
3850 - Use -version and -release simultaneously: sonames stay as they are
3851 in the current scheme, but -lgtk-1.1 changes to -lgtk.
3853 - Added in extra -l flags to library LDFLAGS so we get shared library
3854 dependencies against X libs and -ldl. (But not libgtk against
3855 libgdk or libglib yet, since dependencies against uninstalled
3856 libraries aren't portable)
3858 Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
3859 * gtkrc.c - added api calls to find module and theme paths from gtk.
3860 nuked gtk_install_prefix global.
3862 Fri Aug 21 12:36:46 EDT 1998 The Rasterman <raster@redhat.com>
3863 * fixed gtk_install_prefix global.
3865 Thu Aug 20 19:27:49 EDT 1998 The Rasterman <raster@redhat.com>
3866 * added gtk_install_prefix global const variabel to find where gtk is
3869 Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
3870 * added ~/.gtk/lib/themes/engines/ to the default searchpath for
3873 Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
3874 * made gtkrc scanner append dir that gtkrc is read from to pixmap path.
3876 Mon Aug 10 23:03:55 1998 The Rasterman <raster@redhat.com>
3877 * Fixed minor problem in gtkhandlebox.c with drawing, and some
3878 notebook stuff. Also pixmap theme is now "clean" again.
3880 Mon Aug 10 23:03:55 1998 Owen Taylor <otaylor@redhat.com>
3881 * gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up
3882 queued area resizing once more.
3884 Mon Aug 10 23:09:30 EDT 1998
3885 * Added a few drawing fixes for notebook and other widgets. finished
3886 pixmap theme up to the level that can be supported so far. (need to
3887 add path discovery 9ie where is the rc fiel from - add to pixmap
3888 path so we can get theimages from there too). then we can package
3889 themes. After that need to add to theme seartch path stuff in users
3892 Thu Aug 6 16:49:25 1998 Owen Taylor <otaylor@redhat.com>
3894 * gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
3895 drawing area, draw in an expose handler.
3897 * gtk/gtknotebook.c (gtk_notebook_expose): Check for
3900 Wed Aug 5 16:13:15 1998 Owen Taylor <otaylor@redhat.com>
3902 * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
3903 creation of GC's so that they will be set before
3904 they are used for map events (why are they used there?)
3906 * gtk/gtkwidget.c: Fixed mistake that caused widgets to
3907 be queued in multiple times in the queue.
3909 Wed Aug 5 14:23:52 1998 Owen Taylor <otaylor@redhat.com>
3911 * gtk/gtkstyle.c (gtk_default_draw_shadow): Don't set
3912 clip rects (or do anything) for shadow_none.
3914 Wed Aug 5 13:14:57 1998 Owen Taylor <otaylor@redhat.com>
3916 * gtk/gtkbutton.c (gtk_button_paint): Restored paint function.
3917 Yes, it was needed. draw() and expose() are _not_
3920 Sat Aug 1 17:44:31 EDT 1998 EDT 1998 The Rasterman <raster@redhat.com>
3921 * Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.
3923 Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
3924 * YES YES YES YES YES clist borders work again! YES! YES YES! gimme
3925 more baby oooh yeah more more MORE YES YES.
3927 Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
3928 * hopefully fixed problem wiht togglebuttons acting like
3929 radiobuttons in gtktogglebutton.c
3931 Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
3932 * fixed another drawing buglet in the frame drawing code (actually
3933 in the clearing code but anyway in gtkstyle.c)
3935 Thu Jul 30 19:23:48 EDT 1998 The Rasterman <raster@redhat.com>
3936 * Fixed warning from colorsel widget...
3938 Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
3939 * Fixed defautl drawing code to no longer clobber the original style
3940 pixmap bgs as it did and added a helper funciton og gtkstyle.c to
3943 Thu Jul 30 18:09:21 1998 Owen Taylor <otaylor@redhat.com>
3945 * gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
3947 * gtk/gtktooltips.c: Pass a widget (the window) to the
3948 drawing function instead of the GtkTooltips.
3950 Thu Jul 30 17:27:10 1998 Owen Taylor <otaylor@redhat.com>
3952 * gdk/gdkwindow.c: Abstract out checking for shape
3953 extension into a function.
3955 * gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
3956 Remove extra callls to gtk_window_draw().
3958 Thu Jul 30 11:18:43 1998 Owen Taylor <otaylor@redhat.com>
3960 * gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.
3962 * themes/th_main.c: Moved messages around so they are
3963 printed before destroying strings.
3965 Wed Jul 29 16:56:07 1998 Owen Taylor <otaylor@redhat.com>
3967 * gdk/gdk.c: Fairly simple implementation of expose compression.
3968 (No GraphicsExpose compression yet, always compress
3969 with the equivalent of XtCompressMultiple - no compression
3970 of Expose events across non-Expose events)
3972 * gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
3973 Find rectangle bounding two rectangles.
3975 * gtk/gtkstyle.c: Set clip rects for a few extra GC's
3976 in gdk_default_draw_shadow()
3978 Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
3979 * Fixed drawing functions to handle switching themes on the fly
3980 gracefully and look decent.
3982 Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
3983 * Added all the theme drawing code to all widgets, fixed up minor
3984 nigglies in some widgets when it comes to themes, seem to be
3985 running into some funky behavior with clipping rects in GC's. Too
3986 many files to list here. (all files that now use gtk_paint_* are
3989 Tue Jul 28 22:49:16 1998 Owen Taylor <otaylor@redhat.com>
3991 * themes/th_main.c themes/th_draw.c gtk/testgtkrc:
3992 Set up the demo theme so it is loaded from the RC file.
3994 * themes/th_draw.c: Alleviate the hardcoded paths a wee
3995 bit. (use $HOME/themes/)
3997 * gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in
3998 the RC file via dlopen()
4000 Tue Jul 28 20:30:56 1998 Owen Taylor <otaylor@redhat.com>
4002 Internal handling of styles and RC styles pretty much
4003 completely reworked for Theme work.
4006 - Added routines for virtualization of RcStyle and Style handling.
4007 - Temporary "sample" inline theme-engine. (Does nothing
4008 but print out a few messages.
4011 - Made GtkRcStyle public, added flags to tell if particular
4012 colors have been set.
4013 - RC Styles are "transparent", and the final style for
4014 a widget is the composition of all matching styles
4015 - Added pointer to GtkThemeEngine, and gpointer engine_data
4016 to RC style and style.
4017 - Parse "engine" keyword, load the appropriate theme engine
4018 and call the engine's parser.
4021 - Keep a GtkRcStyle * in styles created from Rc Styles.
4022 - Load up images from RC file at style attachment time.
4023 - Call ->engine->foo() at appropriate times.
4024 - Don't use a GCache. All incarnations for a style are
4025 just linked together in a list, depend on the RC style
4026 code to find the existing copy.
4028 Tue Jul 28 14:41:54 1998 Owen Taylor <otaylor@redhat.com>
4030 * gtk/gtkwidget.[ch]: Added the concept of queued redraws
4031 of partial areas. This can be done either relative
4032 to the existing windows (gtk_widget_queue_clear[_area]())
4033 or relative to the future allocation of the widget
4034 (gtk_widget_queue_draw[_area]).
4036 The initial implementation is pretty braindead, but
4039 * gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
4040 in favor of gtk_widget_queue_clear().
4042 * gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
4043 flags in favor of gtk_widget_queue_clear()
4045 Tue Aug 4 19:12:14 1998 Owen Taylor <otaylor@redhat.com>
4047 * gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
4048 handling of partially clipped areas.
4050 Thu Nov 5 18:52:35 1998 Lars Hamann <lars@gtk.org>
4052 * gtk/gtkclist.h (struct _GtkCListClass)
4053 * gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing.
4055 Thu Nov 5 16:00:32 1998 Lars Hamann <lars@gtk.org>
4057 * gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
4058 vscrollbar_policy, hscrollbar_policy. added h/vadjustment.
4060 * gtk/gtkclist.c (gtk_clist_class_init): added new args types
4061 "hadjustment" & "vadjustment"
4062 (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
4063 set/get_arg functions
4064 (gtk_clist_construct): don't create/adjust scrollbars.
4065 (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
4066 to set h/vadjustments
4067 (gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
4068 to query h/vadjustments
4069 (create_scrollbars): removed.
4070 (create_adjustments): replacement for create_scrollbars
4071 (gtk_clist_new): call gtk_clist_new_with_titles
4072 (gtk_clist_new_with_titles): don't warn on titles == NULL
4073 (move_horizontal): use CLAMP instead
4074 (gtk_clist_set_policy): deprecated method.
4075 use gtk_scrolled_window_set_policy instead.
4076 (vadjustment_value_changed): use clist->vadj.
4077 (adjust_scrollbars): renamed to adjust_adjustments
4078 (adjust_adjustments): former adjust_scrollbars
4079 (gtk_clist_destroy): unref adjustments
4080 (gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
4081 (gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
4082 (gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
4083 (gtk_clist_thaw) (real_insert_row) (real_remove_row)
4084 (gtk_clist_set_row_height) (real_resize_column):
4085 call adjust_adjustments
4086 (gtk_clist_moveto): return if clist has no adjustments yet.
4087 (gtk_clist_parent_set): new GtkWidget::parent_set function.
4088 Autogenerate h/vadjustments if needed.
4089 (move_horizontal) (move_vertical): some cleanups
4091 * gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
4092 call only gtk_viewport_set_h/vadjustment and let these functions
4094 (gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
4095 generate a new adjustment if needed
4097 * gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
4098 use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
4100 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
4101 queue_resize if visibility of scrollbars changes
4102 (gtk_scrolled_window_remove): only call container_remove with
4103 scrolled_window->viewport automatically if viewport was autogenerated
4104 (gtk_scrolled_window_add): add widget as scrolled_window->viewport.
4105 auto create a viewport only if widget does not take h/vadjustments.
4106 (gtk_scrolled_window_construct): don't generate a viewport
4108 (gtk_scrolled_window_forall): call callback with viewport in any case
4109 (gtk_scrolled_window_set_arg): call gtk_container_add in case of
4111 (gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
4112 (gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
4116 (create_ctree) (export_ctree) (create_clist): use a scrolled_window
4117 in conjunction with clists/ctrees
4119 * gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
4120 in conjunction with clists
4122 * gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
4123 in conjunction with clists
4125 Wed Nov 4 21:52:57 1998 Lars Hamann <lars@gtk.org>
4127 * gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment
4128 (gtk_ctree_remove_node): select focus_row if needed
4129 (cell_size_request): only get pixmap size if pixmap != NULL
4131 Wed Nov 4 04:30:37 1998 Tim Janik <timj@gtk.org>
4133 * gtk/gtkwidget.c: added a bunch of checks for widget != NULL and
4134 GTK_IS_WIDGET (widget):
4136 Wed Nov 4 02:02:07 1998 Lars Hamann <lars@gtk.org>
4138 * gtk/gtkclist.c (real_remove_row) (sync_selection): set correct
4139 focus_row after a remove_row call.
4141 Sun Nov 1 21:00:06 GMT 1998 Austin Donnelly <austin@greenend.org.uk>
4143 * gtk/gtkoptionmenu.c
4144 * gtk/gtkmenushell.c: make option menus work when some of the
4145 menuitems are hidden - previously, option menu would popup too
4148 1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
4150 * gtk/gtkfeatures.h.in: Remove `#pragma }'.
4152 * gdk/gdki18n.h: Update to use new `glib' widechar defines.
4154 * configure.in (CFLAGS): Don't use test -z "echo .. | grep". Use
4156 (wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'.
4157 (GDK_WLIBS): New variable. Lists extra libraries needed to use
4159 * gtk-config.in (--libs): List $GDK_WLIBS, too.
4161 Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
4163 * Released GTK+ 1.1.3
4169 * docs/gtk-config.1: updated for v1.1.3
4173 * docs/Makefile.am: Includes new 'make release' as well as
4174 'make sanity'. Also handles html and text creation from html,
4175 and puts them into the distribution
4177 * docs/Makefile.sgml: removed, similar functionality is now in
4178 the Makefile.am file
4180 * docs/.cvsignore: ignore html and text directories
4181 * docs/glib.texi: removed (now in glib dist)
4183 Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
4185 * gtk/gtklist.c (gtk_list_remove_items_internal):
4186 free undo_un/selection, unselect list_item before disconnect
4188 (gtk_list_destroy): removed. gtk_list_shutdown clears the list
4190 (gtk_list_signal_item_select) (gtk_list_signal_item_deselect)
4191 (gtk_list_signal_item_toggle) (gtk_list_signal_scroll_horizontal)
4192 (gtk_list_signal_toggle_focus_row) (gtk_list_signal_select_all)
4193 (gtk_list_signal_unselect_all) (gtk_list_signal_undo_selection)
4194 (gtk_list_signal_start_selection) (gtk_list_signal_end_selection)
4195 (gtk_list_signal_toggle_add_mode) (gtk_list_signal_scroll_vertical)
4196 (gtk_list_signal_extend_selection) (gtk_list_signal_focus_lost):
4197 new functions. These functions are signal connected to inserted
4198 list_items, to handle key bindings and GtkItem::de/select/toggle
4201 * gtk/gtklistitem.c (gtk_list_item_class_init): added missing
4202 gtk_object_class_add_signals call.
4203 (gtk_list_item_toggle_focus_row) (gtk_list_item_select_all)
4204 (gtk_list_item_unselect_all) (gtk_list_item_undo_selection)
4205 (gtk_list_item_start_selection) (gtk_list_item_end_selection)
4206 (gtk_list_item_extend_selection) (gtk_list_item_scroll_horizontal)
4207 (gtk_list_item_scroll_vertical) (gtk_list_item_toggle_add_mode):
4208 removed. These functions are handled via connected
4209 gtk_list_signal_* functions now
4211 Fri Oct 30 05:24:43 1998 Tim Janik <timj@gtk.org>
4213 * gtk/Makefile.am: cause the built sources to be rebuild when possible,
4214 even with --include-deps:
4215 $(libgtk_la_SOURCES): $(BUILT_SOURCES)
4217 Fri Oct 30 01:56:08 1998 Tim Janik <timj@gtk.org>
4219 * gtk/gtkobject.c (gtk_object_remove_no_notify): renamed from
4220 gtk_object_data_set_destroy to fit the gtkobject.h API.
4222 * applied patch from Damon Chaplin <DAChaplin@email.msn.com>:
4225 Added support for an extra 'base' filter which an application can
4226 set to restrict the fonts available to the user (e.g. a terminal
4227 program only wants the user to be able to select fixed-width fonts).
4228 The type of font (bitmap/scalable/scaled bitmap) is now
4229 also a part of the filter, so that an application can
4230 request that only scalable fonts are shown.
4231 There are new functions to set the base & user filters.
4232 I've also stopped the up/down key press signals getting
4233 to the clists since the font selection widget handles
4234 them itself. It acted a bit strangely before.
4236 Sun Oct 25 20:27:02 1998 Tim Janik <timj@gtk.org>
4238 * gtk/gtkmain.c (gtk_init): support an environment variable
4239 GTK_MODULES= which takes a colon sperated list of module names
4240 automatically loaded at gtk_init() startup.
4242 Sun Oct 25 08:04:33 1998 Tim Janik <timj@gtk.org>
4244 * gtk/gtkwidget.c: added more g_return_if_fail() statements.
4246 Thu Oct 22 22:40:35 1998 Lars Hamann <lars@gtk.org>
4248 * gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy
4251 Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
4253 * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
4256 Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
4258 * gtk/gtkfilesel.h: GtkType and macro fixups
4259 * gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern
4260 for the file selection widget to try a completion on (set the
4263 Wed Oct 14 14:34:04 1998 Tim Janik <timj@gtk.org>
4265 * gtk/gtkmain.c: implement idle functions via GHook. this gives a
4266 slight speed improvement and lessens code duplication.
4268 Tue Oct 20 14:53:28 1998 Owen Taylor <otaylor@redhat.com>
4270 * gtk/gtkdnd.c: Always send "drag_leave" to dests
4271 without GTK_DEST_DEFAULT_MOTION.
4273 Tue Oct 20 11:55:24 1998 Owen Taylor <otaylor@redhat.com>
4275 * gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
4276 on destroyed windows so we clear the XID table properly.
4277 Finish up restructure of return value handling that
4278 was half-done before.
4280 Tue Oct 20 12:57:10 1998 Owen Taylor <otaylor@redhat.com>
4282 * gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
4283 the window tree more comprehensively, so that we find
4284 client windows hidden under non-toplevels.
4286 Tue Oct 20 12:43:04 1998 Owen Taylor <otaylor@redhat.com>
4288 * gtk/gtkselection.c (gtk_selection_data_set):
4289 Maintain the null-termintation guarantee, even when
4290 data = NULL, length = 0. (Warn on data = NULL,
4293 Mon Oct 19 16:41:44 1998 Owen Taylor <otaylor@redhat.com>
4295 * gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
4296 into function prototype for drag_data_received.
4298 Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
4300 * gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.
4302 Mon Oct 19 23:44:41 1998 Lars Hamann <lars@gtk.org>
4304 * gtk/gtkclist.c: rearranged some functions
4305 (gtk_clist_set_column_auto_resize): new function. toggle auto_resize
4307 (gtk_clist_set_column_resizeable): if resizeable disable auto_resize
4308 (gtk_clist_set_border): deprecated function, use
4309 gtk_clist_set_shadow_type instead.
4310 (gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
4311 (adjust_scrollbars): some cleanups
4312 (select_row) (unselect_row): removed. replaced by equivalent
4313 gtk_signal_emit calls
4314 (add_style_data): removed, use gtk_clist_style_set instead
4315 (gtk_clist_style_set): fill in size data, after style was set.
4316 (set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
4317 (gtk_clist_set_cell_style): auto_resize columns if needed
4318 (column_auto_resize): resize column if needed for auto_resize
4319 (real_clear): disable auto_resize while list destroy
4320 (resize_column): removed
4322 * gtk/gtkctree.c : (gtk_ctree_remove_node)
4323 (gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
4324 (gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
4325 (set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
4326 (real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
4327 (real_tree_collapse) (real_tree_expand) (column_auto_resize):
4328 auto_resize columns if needed
4329 (gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
4330 (real_clear): disable auto_resize while processing the tree
4332 * gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
4335 Mon Oct 19 08:31:36 1998 Owen Taylor <otaylor@redhat.com>
4337 * gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
4338 typo - look for right atom on transfer failures.
4340 Sun Oct 18 20:52:22 1998 Owen Taylor <otaylor@gtk.org>
4342 * gtk/gtkwidget.c gtkmarshal.list: Change signal
4343 for drag_data_get to match the use that was being
4344 made of it everywhere else...
4346 Sun Oct 18 18:16:39 1998 Owen Taylor <otaylor@gtk.org>
4348 * gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
4349 mechanism, that is used for the DND messages.
4351 Removed all the old DND code.
4353 * gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
4354 get the visual of a given colormap.
4356 * gtk/gtkcolorsel.c: Conversion to new DND, drag
4359 * gdk/gdk.h gdk/gdkdnd.c: The low-level
4360 X oriented portions of drag and drop protocols.
4361 Sending and receiving client messages, and navigating
4364 * gdk/gdkimage.c: added a gdk_flush() when destroying
4365 SHM images to hopefully make it more likely that
4366 X will gracefully handle the segment being destroyed.
4368 * gdk/gdkprivate.h gtk/gtkdebug.h: Add new
4369 DND debugging flags.
4371 * gtk/gtkeditable.[ch]: Updates for the selection handling
4374 * gtk/gtkselection.[ch]: Added GtkTargetList, a
4375 refcounted data structure for keeping track of lists
4376 of GdkAtom + information. Removed selection_handler_add
4377 in favor of a "drag_data_get" signal.
4379 * gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
4380 dependent) parts of the DND protocols, display of drag icons,
4381 drag-under highlighting, and the "default handlers".
4383 * gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
4384 windows that are used for reliable pointer grabs and
4385 selection handling in the DND code.
4387 * gtk/testdnd.c: New test program for new DND. (Old
4388 DND tests in testgtk still need to be converted.)
4390 * gtk/testselection.c: Use the new selection API.
4392 * docs/dnd_internals: Start at describing how
4393 all the new code works inside.
4395 * docs/Changes-1.2.txt: New file describing source-incompatible
4396 changes in GTK+-1.2.
4398 Sat Oct 17 22:50:34 1998 Owen Taylor <otaylor@gtk.org>
4400 * gdk/gdkwindow.c (gdk_window_remove_filter): Free
4401 the right list node.
4403 * gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
4404 to the XID table so we can receive events on it.
4406 Wed Oct 14 12:57:40 1998 Owen Taylor <otaylor@redhat.com>
4408 * gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
4409 to get the timestamp from a generic event.
4411 Fri Oct 9 13:16:04 1998 Owen Taylor <otaylor@redhat.com>
4413 * gtk/gtkwidget.c (gtk_widget_add_events): Added function
4414 that safely adds additional events to a widget's event
4415 mask, even if the widget has previously been realized.
4416 (We can do this, but not remove events from the event
4419 Fri Oct 2 17:35:35 1998 Owen Taylor <otaylor@redhat.com>
4421 * gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
4422 for AnyPropertyType.
4424 Fri Oct 2 10:32:21 1998 Owen Taylor <otaylor@redhat.com>
4426 * gdk/gdkproperty.c (gdk_atom_intern): Add client-local
4429 Thu Sep 24 20:33:54 1998 Owen Taylor <otaylor@redhat.com>
4431 * gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
4434 Thu Sep 17 14:23:03 1998 Owen Taylor <otaylor@redhat.com>
4436 * gdk/gdk.c (gdk_event_translate): Removed printing
4437 of unknown window lookup warnings. (Made it
4438 a GDK_NOTE) - they happen in many circumstances.
4440 Tue Sep 8 12:38:43 1998 Owen Taylor <otaylor@redhat.com>
4442 * Call XFilterEvent() on events we get for unknown
4443 windows, since it may be the window Xlib uses to
4444 communicate with the IM.
4445 (From Yung-Ching Hsiao <yhsiao@cae.wisc.edu>)
4447 Tue Sep 1 10:53:52 1998 Owen Taylor <otaylor@redhat.com>
4449 * gtk/gtkprogress.c (gtk_progress_finalize): Unref
4452 Thu Aug 27 12:03:14 1998 Owen Taylor <otaylor@redhat.com>
4454 * gtk/gtksignal.c (gtk_signal_newv): Improve warning
4455 message for return_value + GTK_RUN_FIRST.
4457 1998-10-18 Martin Baulig <martin@home-of-linux.org>
4459 * gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
4460 line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
4462 Fri Oct 16 15:59:02 1998 Lars Hamann <lars@gtk.org>
4464 * gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
4465 styles of inserted row
4466 (change_style): change style of focus_row
4468 * gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
4469 (gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
4470 to set/get row/cell styles.
4471 (gtk_clist_realize): attach row and cell style, allocate row colors.
4472 (gtk_clist_unrealize): detach row and cell styles.
4473 (get_cell_style): new function. get correct cell style.
4474 (draw_cell_pixmap): new function.
4475 (draw_row): draw cells with row or cell styles.
4476 (row_new): set cell and row styles to NULL.
4477 (row_delete): detach & unref cell and row styles.
4479 * gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles):
4480 new functions to attach/detach styles and allocate colors.
4481 (gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
4482 styles of invisible nodes.
4483 (draw_cell_pixmap): new function.
4484 (get_cell_style): new function. get correct cell style.
4485 (gtk_ctree_draw_expander): new function. draw tree expander.
4486 (gtk_ctree_draw_lines): new function.draw tree lines.
4487 (draw_row): draw cells with row or cell styles.
4488 (row_new): set cell and row styles to NULL.
4489 (row_delete): detach & unref cell and row styles.
4490 (gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style)
4491 (gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style):
4492 Analogons of GtkCList functions
4493 (gtk_ctree_set_spacing): new function. set spacing between
4494 tree expander and cell contents
4495 (gtk_ctree_set_expander_style): new function. set expander style
4497 (ctree_is_hot_spot): few changes due to draw_row modifications.
4499 Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
4501 * gtk/gtkcombo.c: try completion on MOD1-TAB.
4502 Handle case when the combo->list is empty.
4504 Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
4506 * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
4507 handlers that have not yet been disconnected (finally managed to
4508 trigger the gtk_signal_handler_unref() paranoid warning).
4510 Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
4512 * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
4513 width and height which is -1 and not -2.
4515 Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
4518 * autogen.sh: we need libtool 1.2b now
4520 Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
4522 * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
4523 and bottom attach arguments as mandatory and readjust the table size
4524 and opposing edge accordingly if required. this way the order in which
4525 the arguments are set doesn't matter.
4527 Thu Oct 8 15:53:59 1998 Owen Taylor <otaylor@redhat.com>
4529 * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
4530 message to print out parent class name correctly.
4532 Thu Oct 8 07:07:10 1998 Tim Janik <timj@gtk.org>
4536 removed functions gtk_object_set_data_destroy and
4537 gtk_object_set_data_destroy_by_id.
4538 added functions gtk_object_remove_no_notify and
4539 gtk_object_remove_no_notify_by_id which will remove a certain data
4540 portion without invokation of its destroy notifier, this should only
4541 be used in very controled circumstances.
4543 Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
4545 * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
4546 size_allocate_title_buttons call
4547 (gtk_clist_realize): changed initial column.window position
4549 Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
4551 * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
4553 * gtk/gtkctree.c (create_xor_gc): removed
4554 (gtk_ctree_button_press): set correct line_attributes for
4555 clist->xor_gc on drag start
4556 (gtk_ctree_button_release): reset clist->xor_gc
4558 Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org>
4561 * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
4562 which were in place to fixup emacs' cc-mode indentation.
4563 putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
4564 proper way to achive this and doesn't produce problems for
4565 stupid pragma-related compiler bugs. ;)
4567 Wed Oct 7 00:59:46 1998 Lars Hamann <lars@gtk.org>
4569 * gtk/gtkclist.h: new signal GtkCList::resize_column.
4570 * gtk/gtkclist.c (draw_row): don't draw invisible columns
4571 (size_allocate_title_buttons) (size_allocate_columns):
4572 skip invisible columns
4573 (new_column_width): take min/max_width into account
4574 (gtk_clist_button_release) (gtk_clist_motion):
4575 changes due to changed new_column_width function
4576 (LIST_WIDTH): changed define to inline function.
4577 (real_resize_column): class function for resize_column signal
4578 (gtk_clist_motion): fixed autoscrolling for column resizes
4579 (gtk_clist_set_column_visibility): don't hide last visible column,
4580 changed visible arg to gboolean
4581 (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
4582 new functions : set min/max width of a column
4583 (gtk_clist_set_column_resizeable): new function : enable/disable
4584 column resize operations by mouse
4586 * gtk/gtkctree.c (draw_row): don't draw invisible columns
4587 (ctree_is_hot_spot): return FALSE if tree_column is invisible
4588 (draw_xor_line) (draw_xor_rect): draw full rectangle/line if
4589 tree_column is invisible
4590 (gtk_ctree_find_all_by_row_data)
4591 (gtk_ctree_find_all_by_row_data_custom): new function from
4592 Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
4593 GtkCTreeNodes with row->data == data.
4595 Tue Oct 6 14:05:00 1998 Tim Janik <timj@gtk.org>
4597 * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
4598 memory (Martin Pool <mbp@wistful.humbug.org.au>).
4600 Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
4602 * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
4603 should have been guint32. Thanks to Tristan Colgate for finding it.
4605 Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4607 * gtk/gtkcalendar.h:
4608 gtk/gtkcalendar.c: More changes:
4609 - The day with focus is now seperated from the day selected
4610 - The day with focus has the xor's line around it
4611 - The selected day is now standard selected style
4612 - The week names and week numbers are now also drawn
4614 - Space now selects the day which has focus
4616 Sun Oct 4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4618 * gtk/gtkcalendar.h:
4619 gtk/gtkcalendar.c: Some significant changes, including:
4620 - No longer draw focus around entire widget, only around
4621 the day which has focus
4622 - Draw relief around entire widget like originally planned
4623 - Show header and day names by default
4624 - Move data private to the widget out of GtkCalendar struct
4625 and only point to it with a gpointer
4626 - Remove some old unused variables from GtkCalendar struct
4628 Sun Oct 4 17:45:43 BST 1998 Tony Gale <gale@gtk.org>
4630 * docs/gtk_tut.sgml: update I've had sat around:
4631 - Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
4632 - Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
4633 - New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>
4635 1998-10-01 Martin Baulig <martin@home-of-linux.org>
4637 * gtk/gtkclist.h (GtkCListColumn): Added `visible'.
4639 * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
4640 Makes it possible to individually show and hide columns.
4641 (size_allocate_columns): Adapted to keep track of hidden columns.
4642 (size_allocate_title_buttons): Likewise.
4644 Sat Oct 3 17:54:48 1998 Tim Janik <timj@gtk.org>
4646 * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
4647 fundamental types, collect an argument of the type returned from
4648 gtk_type_get_varargs_type(). removed the first macro argument which
4649 was just the same as the fundamental type of the *arg passed to
4651 * gtk/gtkarg.c (gtk_args_collect):
4652 * gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
4654 * gtk/gtktypeutils.h:
4655 * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
4656 gtk_type_get_varargs_type() to set and query the varargs collect
4657 type used for a fundamental type, registered outside of Gtk.
4659 * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
4660 GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
4663 * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
4664 GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
4667 Sat Oct 3 01:25:24 1998 Lars Hamann <lars@gtk.org>
4669 * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
4670 (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand):
4671 fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
4673 (real_tree_expand) (real_tree_collapse):
4674 don't expand/collapse a leaf
4676 Fri Oct 2 16:10:36 1998 Tim Janik <timj@gtk.org>
4678 * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
4679 segfault when looking up a non-existant value name (reported by
4680 Pablo <pcj+gtk@primenet.com>).
4682 Thu Oct 1 10:40:20 1998 Tim Janik <timj@gtk.org>
4684 * gtk/gtkclist.h (gtk_clist_prepend):
4685 * gtk/gtkclist.c (gtk_clist_prepend): new function.
4686 (gtk_clist_insert): added g_return_val_if_fail()
4687 statements. accept a row parameter < 0 or > clist->rows to indicate
4689 (real_clear): first clean up all internal pointers and lists (e.g.
4690 clist->row_list or clist->rows), then delete the distinct rows. this
4691 is required because of destroy notifiers, we need to have all internal
4692 structures updated and be reentrant.
4694 * gtk/gtkcalendar.h:
4695 * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
4696 GtkCalendarClass signal methods.
4697 GtkType and macro fixups, put `void' into () prototypes, avoid C++
4698 style comments, indentation fixes, fixed some g_return_if_fail()
4700 (gtk_calendar_paint_header):
4701 (gtk_calendar_paint_day_names):
4702 (gtk_calendar_paint_week_numbers):
4703 (gtk_calendar_paint_main): made these static functions.
4704 (gtk_calendar_select_month):
4705 (gtk_calendar_select_day):
4706 (gtk_calendar_mark_day):
4707 (gtk_calendar_unmark_day):
4708 (gtk_calendar_get_date): signedness corrections, use guints
4710 (gtk_calendar_size_request): removed unused variables.
4712 Wed Sep 30 13:11:09 1998 Tim Janik <timj@gtk.org>
4714 * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
4715 widgets in the ->widgets_by_action list that have a callback
4716 defined (not only those with a callback_action!=0).
4718 Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4720 * gtk/gtkcalendar.h:
4722 examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff
4724 Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4726 * gtk/gtkcalendar.h:
4728 examples/calendar: Added gtkcalendar widget and demo
4730 Sat Sep 26 06:15:34 1998 Tim Janik <timj@gtk.org>
4732 * gtk/gtkclist.c (gtk_clist_sort):
4734 (gtk_clist_unselect_all):
4735 (gtk_clist_select_all): adde g_return_if_fail() statements.
4737 Sat Sep 26 04:46:22 1998 Tim Janik <timj@gtk.org>
4739 * configure.in: set binary age and interface age to 0.
4741 * gtk/gtkspinbutton.h:
4742 * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
4743 gtk_spin_button_configure. gtk_spin_button_construct is still defined
4744 as an alias for gtk_spin_button_configure for source compatibility,
4745 but actuall use is deprecated.
4746 typeness corrections, i.e. gint->gboolean and gint->guint.
4747 added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
4748 GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
4749 GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
4750 GtkSpinButton::adjustment, GtkSpinButton::digits and
4751 GtkSpinButton::climb_rate.
4752 GtkType and macro fixups.
4754 Sat Sep 25 23:33:55 1998 Tim Janik <timj@gtk.org>
4756 * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
4757 the *real* geometry position of a window, taken possible window
4758 manager offsets into account.
4759 this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
4760 olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
4761 it does fail though for amiwm which adds windows to a pseudo root
4762 window, and for icewm by a small offset because it defines the
4763 geometry position whithin its border.
4765 * gtk/testgtk.c: added "saved position" test to figure how
4766 gdk_window_get_root_origin() interacts with window managers (repopup
4767 this window to figure ;).
4769 Wed Sep 23 06:09:19 1998 Tim Janik <timj@gtk.org>
4771 * configure.in: update to Gtk+ version 1.1.3, binary age 1,
4776 (gtk_object_unref): check for ->ref_count to be greater than 0 (the
4777 existing code was buggy in letting ->ref_count==0 pass through and
4778 then failing the living_objs_ht assertion).
4780 * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
4781 pixtext fields (Roman Pozlevich <roma@botik.ru>).
4783 Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4785 * Released GTK+ 1.1.2
4787 Mon Sep 21 01:12:44 1998 Jay Cox (jaycox@earthlink.net)
4789 * gtk/Makefile.am: use $(PERL) instead of perl
4790 * gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
4791 also much faster to render.
4793 Mon Sep 21 07:44:30 1998 Tim Janik <timj@gtk.org>
4795 * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
4796 the required memory block, rather than allocating it newly from
4797 scratch and doing a full-blown block copy on it.
4799 Mon Sep 21 02:30:06 1998 Tim Janik <timj@gtk.org>
4801 * NEWS file update for upcoming release of Gtk+ version 1.1.2,
4802 binary age 0, interface age 0.
4804 * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.
4806 Sun Sep 20 18:21:46 1998 Owen Taylor <otaylor@redhat.com>
4808 * ltmain.sh: Patch to libtool-1.2b to make --disable-static
4811 Sun Sep 20 09:52:39 1998 Owen Taylor <otaylor@gtk.org>
4813 * HACKING: indent other than GNU indent should be OK
4816 * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
4817 instead of piping through indent. If indent wasn't
4818 found in ./configure don't bother indenting at
4821 Fri Sep 18 19:11:10 1998 Owen Taylor <otaylor@redhat.com>
4823 * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
4825 Fri Sep 18 18:54:59 1998 Jay Cox (jaycox@earthlink.net)
4827 * gtk/Makefile.am: use $(AWK) instead of awk
4829 1998-09-18 Raja R Harinath <harinath@cs.umn.edu>
4831 * gtk/Makefile.am (gdk_headers):
4832 Remove references to $(top_srcdir).
4833 (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
4834 * gtk/makeenums.pl (parse_entries): Don't look for $srcdir.
4836 Fri Sep 18 19:58:24 1998 Tim Janik <timj@gtk.org>
4838 * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
4839 GData*object_data to cure compiler warnings.
4841 Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
4845 * mkinstalldirs: updated to latest automake version
4847 1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
4849 * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
4850 (gtkinclude_HEADERS): ... here.
4851 (gtk.defs): Pass `g' flag to sed, to replace all occurances.
4853 Thu Sep 17 10:49:51 1998 Raph Levien <raph@gimp.org>
4855 * HACKING: added GNU indent, as it is now required to successfully
4856 build gtk+. Should this be detected in autoconf, possibly?
4858 Tue Sep 15 14:57:30 1998 Owen Taylor <otaylor@redhat.com>
4860 * Makefile.am gtk-config.in l*: Update to libtool-1.2b,
4861 change library versioning scheme to drop LT_RELEASE
4862 from the -l line, while keeping it in the soname.
4864 Tue Sep 15 14:10:33 1998 Owen Taylor <otaylor@redhat.com>
4866 * configure.in Makefile.in: define a MAINT-like variable REBUILD
4867 which is set if Perl and awk are found, and autogenerated sources
4868 can be rebuilt. Remove the auto-generated sources from
4871 Add dependencies so that the autogenerated sources are
4872 rebuilt if the files they depend on change.
4873 (This unfortunately currently results in the entire
4874 gtk/ directory being rebuilt when any header changes.
4875 Moving all enums to gtkenums.h would fix this.)
4877 Thu Sep 17 05:12:48 1998 Tim Janik <timj@gtk.org>
4879 * gtk/gtkobject.h: added gtk_object_set_data_destroy and
4880 gtk_object_set_data_destroy_by_id functions to set the destroy
4881 function pointer for an existing data portion.
4883 * gtk/gtkobject.c: removed the GtkObjectData implementation and
4884 made all gtk_object_*data* functions use the GLib equivalents.
4886 1998-09-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
4888 * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
4889 is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
4890 (widget != NULL), otherwise radio button insertion will not work
4891 -- the widget argument is NULL for the first radio button in the
4894 Tue Sep 15 13:09:24 1998 Owen Taylor <otaylor@redhat.com>
4896 * gdk/gdkimage.c (gdk_image_new): Reverted global changes
4897 of g_new to malloc(), added back in the one place where
4898 it actually mattered. #include <stdlib.h>.
4900 * gdk/gdkrgb.c: g_malloc() to malloc() as above.
4902 Tue Sep 15 11:30:03 1998 Owen Taylor <otaylor@redhat.com>
4904 * gtk/gtkfilesel.c: Keep a list of directories in which we never
4905 want to stat the entries (like /afs), and assume everything in
4906 those directories is a subdirectory.
4908 - When following a path, try to open components even when
4909 we don't find them in their parent's directory to
4910 support automounters.
4912 Tue Sep 15 11:06:13 1998 Owen Taylor <otaylor@redhat.com>
4914 * gtk/gtkwindow.c (gtk_window_move_resize): Don't request
4915 a new size from the WM if we asked for the same size
4916 before and our request was rejected.
4918 * gtk/gtkwindow.c (gtk_window_configure_event): If
4919 in response to a request, we get a configure event
4920 with unchanged dimensions, send a synthetic expose
4921 since ForgetGravity won't expose our window.
4923 Mon Sep 14 14:28:24 1998 Owen Taylor <otaylor@redhat.com>
4925 * gtk/gtktext.c (adjust_adj): Change the way we
4926 set the adjustments on resize so that it tries to
4927 keep the beginning of the text in approximately
4930 Removed assertion that the above change made invalid.
4932 Thu Sep 10 22:19:35 1998 Owen Taylor <otaylor@redhat.com>
4934 * gtk/gtktext.c: - Save first_cut_pixels when switching
4935 sizes, so that if we switch to the _same_ size,
4936 we don't move lines around.
4938 - Make sure that the text area always has a size of at
4939 least 1x1, then do all computations when realized.
4941 - When fetching lines in recompute_geometry, make
4942 sure we fetch enough lines to cover the screen.
4944 Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4946 * gdk/gdkimage.c: changed g_new()s to malloc()s and
4947 g_free()s to free()s to avoid mixing g_new()s with
4948 free()s. X itself uses free() on some of the
4951 Sat Sep 12 10:44:06 1998 Owen Taylor <otaylor@redhat.com>
4953 * gtkfilesel.c: Maintain a list of directories like
4954 /afs we know contain only directories, and avoid
4955 stat'ing files in those directories. (Because
4956 stat'ing all files in /afs is extremely expensive)
4958 To support automounters, try to open directories,
4959 even if we couldn't find them when reading their
4962 Thu Sep 3 10:29:03 1998 Owen Taylor <otaylor@redhat.com>
4964 * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION,
4965 to allow the same gtk.m4 to work for 1.0.x and
4968 Fri Sep 11 15:25:10 1998 Lars Hamann <lars@gtk.org>
4970 * gtk/gtkclist.c (gtk_clist_set_selectable): new function
4971 to set/unset the selectable flag of a single row.
4972 (gtk_clist_get_selectable): new function
4973 to get the state of the selectable flag
4975 * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
4976 (gtk_ctree_node_get_selectable): clist analogons
4978 Thu Sep 10 17:04:03 1998 Raph Levien <raph@gimp.org>
4980 * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test
4983 * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment
4984 bugs in the 4bit gray cases.
4986 Wed Sep 9 02:48:44 PDT 1998 Manish Singh <yosh@gimp.org>
4988 * configure.in: added -posix check for NeXTStep
4990 * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
4991 a unique buffer for each thread.
4993 * docs/gtk-config.1: clarified copyright
4995 Tue Sep 8 05:19:51 1998 Tim Janik <timj@gtk.org>
4997 * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
4999 * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
5001 * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
5004 * ltconfig: use GLib's ltconfig which honours lcc.
5006 Mon Sep 7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>
5008 * configure.in: comment the -std1 check and save LIBS properly
5010 Sun Sep 6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>
5012 * gtk/testrgb.c: #include <stdlib.h>
5014 Sat Sep 5 16:01:19 1998 Owen Taylor <otaylor@gtk.org>
5016 * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
5017 When the pointer is grabbed on an input window,
5018 either explicitely, or through press-grab, and
5019 then grabbed on a non-input window, ungrab the
5022 Sat Sep 5 07:13:19 1998 Tim Janik <timj@gtk.org>
5024 * gtk/gtktypeutils.h: don't include any gdk headers.
5025 added structure definitions for GtkTypeObject and GtkTypeClass,
5026 which cover the very basic fields of GtkObject and GtkObjectClass,
5027 which are actually used by the type system.
5029 * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
5030 we only refer to our own structures. improved class inheritance
5031 sanity checking a bit.
5033 * gtk/gtkobject.h: placed appropriate comments at the beginnings
5034 of the GtkObject and GtkObjectClass structures, which explain
5035 their relationship to GtkTypeObject and GtkTypeClass.
5037 * gtk/gtktypeutils.h:
5039 moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
5040 GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
5041 gtkobject.h to gtktypeutils.h.
5045 removed gtk_object_check_cast() and gtk_object_check_class_cast()
5046 functions. to keep source compatibility, we can provide macro aliases
5047 for the corresponding gtk_type_* functions. but then again, people
5048 shouldn't have been using these functions anyways since they were part
5049 of Gtk's internal API.
5051 * gtk/gtktypeutils.h:
5052 * gtk/gtktypeutils.c:
5053 implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
5054 functions to check GtkTypeObject and GtkTypeClass types.
5056 Thu Sep 3 07:16:54 1998 Tim Janik <timj@gtk.org>
5059 * gtk/gtkctree.c: `const' fixups.
5062 * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
5064 * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
5065 if it is passed as NULL.
5067 Wed Sep 2 22:41:40 1998 Raph Levien <raph@gimp.org>
5069 * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
5070 big-endian cases. Added a 4bpp packed gray mode (somewhat
5071 incorrectly hardwired to MSB), which should take care of
5074 Thu Sep 3 04:45:57 1998 Tim Janik <timj@gtk.org>
5076 * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
5077 GtkSIgnalQuery leak.
5079 Thu Sep 3 04:22:20 1998 Tim Janik <timj@gtk.org>
5081 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
5082 GTK_MENU_DIR_CHILD: check for the existance of
5083 menu_shell->active_menu_item before accessing its child.
5085 GTK_MENU_DIR_NEXT: if we haven't had an active item and still
5086 don't, make a default selection.
5088 Wed Sep 2 00:28:58 1998 Tim Janik <timj@gtk.org>
5090 * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
5091 the children with _forall for sensitivity changes and with
5092 _foreach on pure state changes. this fixes a lot of the
5093 old inclusions of internal widgets into _foreach calls.
5095 * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
5096 do the work. don't walk the subtrees of first level children.
5098 * gtk/gtktreeitem.c: provide a _forall implementation,
5099 which walks the subtrees as well for include_internals.
5101 * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
5102 the submenus as well for include_internals.
5104 * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
5105 implemented gtk_scrolled_window_forall, which will iterate over
5106 the viewport and the scrollbars for gtk_container_forall or
5107 iterate over the viewports children for gtk_container_foreach.
5113 * gtk/gtkmenushell.c:
5119 * gtk/gtknotebook.c:
5120 removed the old gtk_*_foreach functions and provided gtk_*_forall.
5122 * gtk/gtknotebook.c:
5123 (gtk_notebook_real_switch_page): expose tabs.
5124 (gtk_notebook_page_num): new function to return the page number
5125 of a distinct child.
5126 (gtk_notebook_focus): minor fixups. foxus handling is still screwed
5127 under some circumstances.
5129 * gtk/gtktreeitem.c:
5130 (gtk_real_tree_item_select):
5131 (gtk_real_tree_item_deselect): major fixes.
5132 some general fixups wrt queue_redraw, and tree items not being
5135 * gtk/gtklistitem.c:
5136 (gtk_real_list_item_select):
5137 (gtk_real_list_item_deselect):
5138 (gtk_real_list_item_toggle):
5139 removed unneccessary queue_redraw calls.
5141 Wed Aug 30 09:42:07 1998 Tim Janik <timj@gtk.org>
5143 * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
5144 automatically popup the menu on space bar.
5146 Wed Aug 26 06:40:34 1998 Tim Janik <timj@gtk.org>
5148 * gtk/gtkcontainer.h:
5149 * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
5150 method), which acts similar to gtk_container_foreach(), but iterates
5151 over internal children. the GtkContainer::foreach signal vanished in
5152 favour of a new class method ->forall() that optionally includes
5155 * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
5156 but a _forall implementation, since all child widgets we have are
5158 (column_button_create): set the parent window prior
5159 to gtk_widget_set_parent().
5162 exchanged all calls to gtk_container_foreach() with
5163 gtk_container_forall().
5166 * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
5167 the GtkWidget::composite_child argument. to have a widget created
5168 with the flag initially, two new functions got added to wrap a widgets
5170 gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
5172 Wed Aug 25 23:37:39 1998 Tim Janik <timj@gtk.org>
5174 * gtk/gtktooltips.h:
5175 * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
5176 gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
5177 prior to the first tip being set.
5178 don't put an extra reference on the window, since it is a toplevel,
5179 it wont get destroyed from anywhere else.
5181 * overall macro and GtkType fixups.
5183 1998-09-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
5185 * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
5186 constructs by more forgiving ones. (Does anyone else feel like
5187 the color selector need rewriting?).
5189 Tue Sep 1 10:53:52 1998 Owen Taylor <otaylor@redhat.com>
5191 * gtk/gtkprogress.c (gtk_progress_finalize): Unref
5194 * gtk/gtkmenu.c: Modified reference counting so
5195 that the reference count from the toplevel that
5196 the menu creates to the menu is invisible to the
5199 Mon Aug 31 21:36:31 1998 Raph Levien <raph@gimp.org>
5201 * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
5202 conversion selection logic, so Suns and other big-endian
5203 machines should get faster conv routines. This is also the
5204 point where 4bpp gray and 1bpp are checked in, although I
5205 wouldn't be surprised if 1bpp is a little buggy. This is
5206 synchronized with the 0.0.7 release of GdkRgb.
5209 * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
5210 appropriate change to the Makefile.am
5212 Mon Aug 31 15:18:19 1998 Raph Levien <raph@gimp.org>
5214 * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
5215 which is good for images that scroll (makes the dither patterns
5218 Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>
5221 (gdk_colormap_new) (gdk_colormap_get_system):
5222 quell some warnings with g_hash_table_new
5224 * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
5225 when we're done with it
5227 * gtk/itemfactory.c:
5228 (gtk_item_factory_from_path):
5229 (gtk_item_factory_create_item): free some strings
5232 (gtk_label_finalize): free label->pattern when done
5233 (gtk_label_parse_uline): null terminate pattern string, delete
5234 some duplicated code
5236 * gtk/testthreads.c: add #include <unistd.h> for sleep()
5238 Tue Aug 25 16:52:47 1998 Owen Taylor <otaylor@redhat.com>
5240 * gtk/gtktext.c (recompute_geometry): Make sure the
5241 mark we pass to line start is the beginning of a
5242 real line, not a wrapped one.
5244 Mon Aug 24 18:37:15 1998 Owen Taylor <otaylor@redhat.com>
5246 * gtk/gtktext.c: Reference count the fonts used in
5249 * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
5250 freeing functions to be more consistent, and more
5251 convenient; leave the old names in for backwards compatibility.
5253 * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
5254 allocations in pseudo-color colormaps to greatly reduce
5255 calls to XAllocColor. Keep a per-colormap hashtable to
5256 speed up finding if there is an already-allocated matching
5259 * gdk/gdkcolor.c: Don't just match read the system colormap
5260 when the colormap is created, but synchronize our copy
5261 with the system colormap periodically.
5263 * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c:
5264 Change XIM constants names to match GDK conventions
5266 * gtk/testinput.c: Allow the drawing area to get the focus.
5268 * gtk/testgtk.c: Change around the Text test to demonstrates
5269 multiple fonts, use more colors.
5271 * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
5272 so they work after a widget is unrealized.
5274 * gtk/gtktext.[ch]: Remove the requirement that the text
5275 widget be realized before adding text (!) Allocate colors
5276 ourself, instead of requiring the caller allocate them.
5277 Allow changing styles to work properly by keeping track
5278 of the values for a certain property are default or
5281 * gtk/gtkmenu.h: Added some comments.
5283 * gtk/gtkentry.c: Changes to match XIM constants.
5285 * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
5286 for adding keyed data to drawables. (Uses g_dataset
5289 * gdk/gdkpixmap.c: Keep track of the colors we allocate,
5290 when creating an XPM - store them as user data for the GdkPixmap,
5291 so we don't leak colors when we create pixmaps from XPM's.
5293 Allocate memory for color information in large blocks instead of
5294 as many little pieces.
5296 Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>
5298 * gdk/gdkrgb.c: removed some unused variables
5301 * gtk/gtkmain.c: #if 0'd out some unused code
5303 * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
5305 Mon Aug 24 02:36:53 1998 Tim Janik <timj@gtk.org>
5313 * gtk/gtkcontainer.h:
5314 * gtk/gtkcontainer.c:
5319 (gtk_container_add_with_args):
5320 (gtk_container_child_set):
5321 begin the parameter elipsis (...) after the first argument name. this
5322 change is source compatible, since it was always required, even as NULL.
5324 (gtk_object_args_collect):
5325 (gtk_container_child_args_collect):
5326 changed prototypes to pass first_arg_name, also, pass va_list variable
5327 by value (portability concerns). callers changed.
5329 * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
5330 a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
5331 can't pass va_list variables by reference for portability reasons.
5333 Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
5335 * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
5336 get_visual calls, so that it gets implicitly initialized.
5338 Fri Aug 21 13:06:04 1998 Stuart Parmenter <pavlov@gimp.org>
5339 * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
5340 such as GtkCTree function name changes
5342 Fri Aug 21 02:31:26 1998 Tim Janik <timj@gtk.org>
5345 * gtk/gtkmain.c (gtk_check_version): added a function to perform a
5346 binary version check, returning a static string for error descriptions,
5349 Thu Aug 20 20:08:15 1998 Owen Taylor <otaylor@redhat.com>
5351 * gtk/gtktext.c ([un]draw_cursor): Check to see if we've
5352 computed our geometry yet, and if not, ignore the request.
5354 * gtk/gtktext.c (correct_cache_insert): Fiddled around
5355 some more. All the bug-test codes seem to work at once
5356 now. (fingers crossed...)
5358 Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
5360 * gdk/gdkrgb.c: silly visual fixes
5362 * gtk/testgtk.c: call gdk_rgb_init so color preview test actually
5365 1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
5367 * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
5368 anything if the event's window is not the bin window.
5369 (gtk_handle_box_motion): Likewise.
5371 1998-08-19 Raph Levien <raph@gimp.org>
5373 * gtk/testgtk.c (create_color_preview): pushed the colormap and
5374 visual so it would work better with GdkRgb.
5376 1998-08-19 Raph Levien <raph@gimp.org>
5378 * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
5379 4bpp static_color mode (for vga displays). Also fixed a '64' value
5380 in the dither matrix, which was causing one pixel out of 16k to be
5383 * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
5384 most of the contents. This is an API change - any apps that relied
5385 on the internal structure of GtkPreview will need some change -
5386 most notably in the use of reserved colors. The Gimp needed
5387 changes in this regard.
5389 Wed Aug 19 00:11:14 1998 Tim Janik <timj@gtk.org>
5391 * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
5392 G_ENABLE_DEBUG being defined (specifically --gtk-module= and
5393 --g-fatal-warnings), noticed by miguel.
5395 Tue Aug 18 17:54:40 1998 Tim Janik <timj@gtk.org>
5397 * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
5405 * gtk/gtkitemfactory.c:
5406 dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
5408 * gtk/gtkselection.c:
5412 * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
5414 * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
5416 Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
5418 * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
5419 * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
5420 in case of show_tabs == NULL
5422 Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
5424 * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
5425 to --g-fatal-warnings again. this option now causes log levels of
5426 WARNING and CRITICAL to abort().
5435 * gtk/gtktypeutils.c:
5441 * gtk/gtkselection.c:
5444 * gtk/gtktreeitem.c:
5445 did a global search&replace to substitute g_print() calls with
5446 g_message(). libraries shouldn't use printf(), g_print() or
5447 g_printerr() at all.
5448 a bunch of the replacements should probably be wrapped into the
5449 G{D|T}K_NOTE() macros, so they are special cased for debugging
5450 purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
5453 * gdk/gdkdnd.c: added copyright notice.
5455 Mon Aug 17 17:28:00 Raph Levien <raph@gtk.org>
5457 * gdk/gdkrgb.c: Further speedups of the 565_d case. It's
5458 impressively fast now - about 4.65 Mpix/s on an IBM TP 600
5459 running a PII 233. It's synced with the 0.0.5 release of
5462 Tue Aug 18 00:29:13 1998 Lars Hamann <lars@gtk.org>
5465 (struct _GtkCListClass): new class methods:
5466 (sort_list) (insert_row) (remove_row) (set_cell_contents)
5469 (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
5470 removed and replaced by (set_cell_contents)
5471 (set_cell_contents): function for class method set_cell_contents
5472 (real_insert_row): function for class method insert_row
5473 (real_remoce_row): function for class method remove_row
5474 (real_sort_list): function for class method sort_list
5475 (default_compare): fix to avoid problems with cell types != CELL_TEXT
5478 (gtk_ctree_export_to_gnode): new function to export a ctree as gnode
5479 (gtk_ctree_node_is_visible): new function to return visibility state
5481 (gtk_ctree_show_stub): new function to set visibility of root stub
5484 (gtk_ctree_insert) -> (gtk_ctree_insert_node)
5485 (gtk_ctree_remove) -> (gtk_ctree_remove_node)
5486 (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
5487 (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
5488 (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
5489 (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
5490 (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
5491 (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
5492 (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
5493 (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
5494 (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
5495 (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
5496 (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
5497 (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
5498 (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
5499 (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
5500 (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
5501 (gtk_ctree_sort) -> (gtk_ctree_sort_node)
5502 (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
5505 (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
5506 removed and replaced by (set_cell_contents)
5507 (set_cell_contents): function for class method set_cell_contents
5508 (real_insert_row): function for class method insert_row
5509 (real_remoce_row): function for class method remove_row
5510 (real_sort_list): function for class method sort_list
5511 (default_compare): removed. CTree now also compares two GtkCTreeRows
5512 instead of two GtkCTreeNodes.
5513 (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
5515 (real_tree_expand) (real_tree_collapse): fix for refcounting of
5517 (set_node_info): call gtk_ctree_node_set_pixtext instead of
5518 manipulating the row itself
5520 * gtk/testgtk.c: use renamed functions of GtkCTree.
5521 new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
5524 Mon Aug 17 15:31:38 1998 Tim Janik <timj@gtk.org>
5526 * gtk/gtkmain.c: removed gtk_input_add_interp.
5528 * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
5530 (gtk_editable_get_event_time): fix default: case.
5532 * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
5534 * gdk/gdkpixmap.c: made a bunch of unexported functions static.
5537 * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
5540 * various minor compilation cleanups, such as bogus commas in
5541 enums and similar things.
5543 Mon Aug 17 07:47:43 1998 Tim Janik <timj@gtk.org>
5545 * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat()
5548 Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5550 * NEWS: updated for 1.1.2
5551 * gtk+.spec: version = 1.1.2
5553 Mon Aug 17 05:10:29 1998 Tim Janik <timj@gtk.org>
5555 * gtk/gtkmain.c (gtk_init): don't call module initializers multiple
5556 times. changed --gtk-with-module to --gtk-module at owen's request.
5558 Mon Aug 17 03:47:55 1998 Tim Janik <timj@gtk.org>
5560 * gtk/gtkmain.c (gtk_init): feature a new commandline option
5561 --gtk-with-module=<module> that allows additional loading and
5562 initialization of modules (e.g. GLE).
5564 Mon Aug 17 01:40:00 1998 Tim Janik <timj@gtk.org>
5566 * configure.in: version bump to 1.1.2, binary age 0, interface age 0.
5567 pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now.
5569 * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log
5570 with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks",
5571 "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six
5572 different *-fatal-* arguments now. this needs to be revised and
5573 compressed to a reasonable amount of arguments.
5575 Sun Aug 16 20:51:59 1998 Tim Janik <timj@gtk.org>
5577 * gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
5578 "--g-fatal-warnings" causes fatal warnings in GLib,
5579 "--gdk-fatal-warnings" causes fatal warnings in Gdk,
5580 "--gtk-fatal-warnings" causes fatal warnings in Gtk.
5582 * gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
5583 * gdk/Makefile.am: define G_LOG_DOMAIN for gdk.
5587 we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
5588 since automake doesn't support per target _CFLAGS yet.
5590 * configure.in: require GLib 1.1.3.
5592 Sat Aug 15 03:19:30 1998 John Ellis <johne@bellatlantic.net>
5594 * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function
5595 to set a callback to test if a node in drag can be dropped onto
5596 it's currrent location.
5597 * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions
5598 to change the pointer when a drag destination is not allowed.
5600 Thu Aug 13 21:06:00 1998 Raph Levien <raph@gtk.org>
5602 * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that
5603 speeds up the 565_d case by about 25% total. Thanks Ray!
5605 Thu Aug 13 16:47:44 1998 Owen Taylor <otaylor@redhat.com>
5607 * Changed GtkSignalFunc back to () from (void). (again!)
5609 * Added file README.cvs-commits
5611 Thu Aug 13 09:11:11 BST 1998 Tony Gale <gale@gtk.org>
5613 * docs/gtk_tut.sgml:
5614 - Tidy up of the menufactory example from
5615 Andy Kahn <kahn@zk3.dec.com>
5616 - New section on Range Widgets from
5617 David Huggins-Daines <bn711@freenet.carleton.ca>
5618 - Started a new section on 'Advanced Event and Signal
5619 Handling' - used an email from Owen.
5620 - New appendix on Gdk Event Types
5621 - Added the tictactoe full example code to the
5622 'Code Examples' appendix
5624 Tue Jul 21 12:42:01 1998 Owen Taylor <otaylor@redhat.com>
5626 * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() -
5627 to calculate all the metrics at once of a string, including
5628 things which weren't calculated before.
5630 * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
5631 MenuItem type, that when put as the first thing in a
5632 menu, makes the menu tearoff. Currently drawn as a
5635 * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
5636 "hide_on_activate" to the MenuItem class structure to allow
5637 check and radio buttons to be changed with <Space> without
5640 * gtk/gtkitemfactory.c:
5641 - Create a AccelGroup for each MenuShell we create.
5642 - If an '_' appears before a character 'c' in the path,
5643 then make 'c' an accelerator in the menu's accel group,
5644 and if the menuitem is menubar <alt>C an accelerator
5645 in the itemfactory's accel group. Double '__' inserts
5648 * gtk/gtklabel.[ch]: Add support for a pattern arg -
5649 which is a string. If an '_' appears in this string,
5650 the corresponding position in the label is underlined.
5652 Add gtk_label_parse_uline() convenience function which
5653 takes a string with embedded underlines, sets the
5654 pattern and label, and returns the accelerator keyval.
5656 * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
5657 Instead, they create a GtkWindow and add themselves
5658 to that. (When torn off, another new feature, they
5659 create another GtkWindow to hold the torn off menu)
5661 New function gtk_menu_set_tearoff_state()
5663 * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h:
5664 Added action signals for keyboard navigation of menus.
5666 * gtk/gtkmenushell.c: Key press handler which activates
5667 bindings for navigation, and accelerators, for handling
5668 underline accelerators. Exported functions to select
5669 and activate menu items in a menushell.
5671 * gtk/testgtk.c: Added a new "Item Factory" test which
5672 tests GtkItemFactory and the new keyboard navigation
5675 Tue Aug 11 20:52:58 1998 Tim Janik <timj@gtk.org>
5677 * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
5678 external functions have been called. also relookup nodes after
5679 this function has been invoked.
5681 Tue Aug 11 15:04:52 1998 Owen Taylor <otaylor@redhat.com>
5683 * gtk/gtktext.[ch]: Removed has_cursor, set the cursor
5684 beginning of Text when creating the Text widget.
5686 * gtk/testgtk.c: Grab the focus on the text widget so
5687 as to test out the above.
5689 Tue Aug 11 14:55:00 1998 Owen Taylor <otaylor@redhat.com>
5691 * gtk/gtkeditable.c: Reverted part of timj's change of Jul 16.
5692 ::changed is a notification signal and should have no default
5693 handler. A complete redraw of the Text widget does _not_ need to
5694 be done on every text insertion.
5696 Tue Aug 11 13:07:29 1998 Owen Taylor <otaylor@redhat.com>
5697 (gtk-abilleira-072198-patch)
5699 * gtk/gtkwindow.[ch]:
5700 Add gtk_window_set_modal() which sets a flag; when
5701 set the window does a gtk_grab_add() when the window
5702 is shown, and a gtk_grab_remove() when the window
5705 * gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
5706 that case will run "Create Dir","Delete File" and "Rename File"
5707 dialogs as modal too.
5709 * gtk/testgtk.c: Added a button with an example of creating modal
5710 dialog boxes. Including file selection and color selection standard
5713 Tue Aug 11 00:44:47 1998 Owen Taylor <otaylor@redhat.com>
5715 * gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
5716 Removed CAN_FOCUS by default from scrollbars, button
5717 children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children)
5718 (Scrollbar definitely good change, toolbar bit more questionable)
5720 Tue Aug 11 17:49:33 1998 Tim Janik <timj@gtk.org>
5722 * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
5725 Tue Aug 11 00:35:56 1998 Owen Taylor <otaylor@redhat.com>
5727 * gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0;
5728 added all logical operations to gc->function.
5730 Sun Aug 9 23:31:59 1998 Lars Hamann <lars@gtk.org>
5732 * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
5733 gtk_widget_size_allocate instead of gtk_widget_queue_resize
5734 if the visibility state of a scrollbar changes.
5736 Mon Aug 10 12:49:54 1998 Tim Janik <timj@gtk.org>
5738 * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).
5740 Thu Aug 6 22:37:21 1998 Stefan Jeske <stefan@gtk.org>
5742 * gtk/gtkclist.c: Renamed my_merge and my_mergesort to
5743 gtk_clist_merge and gtk_clist_mergesort. :)
5745 1998-08-06 Martin Baulig <martin@home-of-linux.org>
5747 * gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
5748 `mergesort' -> `my_mergesort'.
5750 Wed Aug 5 21:12:37 1998 Stefan Jeske <stefan@gtk.org>
5752 * gtk/gtkenums.h: new enum GtkSortType.
5756 Added sorting capabilities to GtkCList. New APIs :
5757 gtk_clist_set_compare_func, gtk_clist_set_sort_column,
5758 gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
5759 New internal functions : default_compare, merge, mergesort.
5761 (gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
5763 (gtk_clist_insert): Modified to handle gtk_clist_append and the
5764 auto sort flag. Changed the return value from void to gint to
5765 return the row number where the element was actually inserted.
5767 (gtk_clist_swap_rows): Return immediately if auto sort flag is set.
5771 Removed the auto_sort flag, replaced ctree->node_compare with
5772 clist->compare all over the place, modified default_compare to
5773 match clist's needs. Removed API´s : gtk_ctree_set_auto_sort,
5774 gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
5776 * gtk/testgtk.c: Modified clist/ctree samples to demonstrate
5777 sorting. The lists can be sorted by a column by clicking the
5778 corresponding title button.
5780 Tue Aug 4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
5782 * Released GTK+ 1.1.1
5784 Wed Aug 5 02:57:20 1998 Lars Hamann <lars@gtk.org>
5788 (gtk_ctree_find): changed to return a gboolean
5789 (gtk_ctree_insert_gnode): new function for recursive insertion of a
5791 (gtk_ctree_real_select_recursive): fix for extended selection
5792 (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
5793 (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
5795 Tue Aug 4 16:18:26 1998 Tim Janik <timj@gtk.org>
5797 * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
5798 GLib version 1.1.1 is now required at minimum.
5800 * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
5801 of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.
5803 Mon Aug 3 19:24:48 1998 Owen Taylor <otaylor@redhat.com>
5805 * gtk/gtktext.c (gtk_text_forward_delete): Undraw the
5806 cursor before (possibly) deleting the cursor's text
5809 * gtk/gtktext.c (correct_cache_delete): More attempts
5810 to clean the line-start cache up after inserting
5811 a property. Among other things, make sure to
5812 fix up text->current_line, since it is used to
5813 refetch the changed lines.
5815 Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
5817 * gtk/gtktable.[ch]: Empty rows/columns of the table
5818 should not have been marked as being able to shrink.
5819 (Fixes problem with shrinking scrollbarless GIMP canvases)
5821 1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
5823 * gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
5824 function to find a row by its data pointer using a custom
5825 comparison function.
5827 Sun Aug 02 22:58:00 1998 George Lebl <jirka@5z.com>
5829 * gtk/gtkclist.c: draw the buttons during a "draw" as well,
5830 this fixes a bug when the whole widget is made non-sesitive
5831 the buttons weren't redrawn
5833 Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
5835 * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
5836 * gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
5837 * gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning
5839 Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
5841 * gdk/gdkwindow.c (gdk_window_reparent): Change
5842 window_private->parent pointer when reparenting.
5844 Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
5846 * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
5847 with the standalone release.
5849 Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
5851 * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
5852 (gtk_clist_button_release) (new_column_width): Few fixes for
5853 column resize. Store resize column in clist->drag_pos.
5855 Thu Jul 31 15:18:36 1998 Lars Hamann <lars@gtk.org>
5859 * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
5860 to GtkCTreeNode *node.
5862 * gtk/gtklist.h : added extended selection mode and auto scrolling.
5863 (struct _GtkList): removed unneeded variables timer, button,
5864 selection_start_pos, selection_end_pos, scroll_direction, have_grab.
5865 Added new variables undo_selection, undo_unselection, last_focus_child,
5866 undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
5867 drag_selection, add_mode.
5870 (gtk_list_extend_selection), (gtk_list_start_selection),
5871 (gtk_list_end_selection), (gtk_list_select_all),
5872 (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
5873 (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
5874 (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
5875 (gtk_list_undo_selection), (gtk_list_end_drag_selection)
5878 (gtk_list_enter_notify): removed, because auto scrolling now works
5879 with gtk_list_motion_notify
5881 New functions, needed for auto scrolling :
5882 (gtk_list_motion_notify) (gtk_list_move_focus_child)
5884 New functions for extended selection support :
5885 (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
5886 (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
5887 (gtk_list_focus_lost)
5889 (gtk_list_set_focus_child): modified gtk_container_set_focus_child
5890 function to support auto scrolling, and avoid out-of-sync errors in
5891 case auf GTK_SELECTION_BROWSE
5892 (gtk_list_focus): modified gtk_container_focus function to avoid out
5893 off sync errors in case auf GTK_SELECTION_EXTENDED
5896 * gtk/gtklistitem.c :
5897 New signal functions for key binding support :
5898 (toggle_focus_row), (select_all), (list_item), (unselect_all)
5899 (list_item), (undo_selection), (start_selection), (end_selection)
5900 (extend_selection), (scroll_horizontal), (scroll_vertical),
5902 (gtk_list_item_realize): added GDK_KEY_PRESS_MASK |
5903 GDK_KEY_RELEASE_MASK
5904 (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
5907 (gtk_combo_popup_button_press): grab pointer for combo->list
5908 (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
5909 (gtk_combo_list_key_press): take care of which child HAS_GRAB
5910 (gtk_comb_init): don't connect combo->button with button_release_event
5912 Thu Jul 30 12:39:36 1998 Lars Hamann <lars@gtk.org>
5914 * gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines
5916 Wed Jul 29 23:31:50 1998 Lars Hamann <lars@gtk.org>
5918 * gtk/gtkclist.c (gtk_clist_motion): column resize now works with
5919 horizontal autoscrolling, GtkCTree's 'reorder ability' now works
5920 with horizontal and vertical autoscrolling.
5922 Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5924 * gtk/docs/man: new directory
5925 * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page
5927 Tue Jul 28 00:03:20 1998 Lars Hamann <lars@gtk.org>
5929 * gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
5932 Mon Jul 27 09:18:13 BST 1998 Tony Gale <gale@gtk.org>
5934 * docs/gtk_tut.sgml: GtkTree section from
5935 David Huggins-Daines <bn711@freenet.carleton.ca>,
5936 add a GtkText widget example
5937 * examples/text/* example/tree/* : new examples for the
5938 GtkTree and GtkText widgets
5939 * docs/gtk_tut.sgml: added an appendix to hold complete code
5940 examples that aren't in a full form elsewhere in the
5941 tutorial (e.g. scribble)
5943 Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5945 * Released GTK+ 1.1.0
5947 Mon Jul 27 04:18:26 1998 Tim Janik <timj@gtk.org>
5949 * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
5950 the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
5952 Mon Jul 27 03:11:20 1998 Tim Janik <timj@gtk.org>
5954 * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
5955 values are looked up.
5957 * gtk/gtktypeutils.h:
5958 * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
5959 gtk_type_enums_find_value to lookup enum values.
5962 * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
5963 GtkCTreeExpansionType. fixed signal creations to pass the enum
5964 types not just the base type GTK_TYPE_ENUM.
5967 * gtk/gtkclist.c: fixed signal creations to pass the real enum
5968 types not just the base type GTK_TYPE_ENUM.
5970 Sun Jul 26 14:50:07 1998 Stefan Jeske <stefan@gtk.org>
5973 Began cleanup, e.g. use gtk_widget_show_all instead of many
5974 gtk_widget_show's. Completely rewrote the button box sample
5975 (only one window now). Removed "miscellaneous" button.
5977 Sun Jul 26 14:48:14 1998 Stefan Jeske <stefan@gtk.org>
5979 * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
5980 Fixed wrong allocation for GTK_BUTTONBOX_END.
5981 (allocation->x => allocation->y)
5983 Sun Jul 26 14:06:37 1998 Lars Hamann <lars@gtk.org>
5985 * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
5986 (abort_column_resize) (gtk_clist_key_press): fix for pointer grab
5988 * gtk/gtkctree.c (real_tree_select): added check to avoid double
5990 (gtk_ctree_button_press)
5991 (gtk_ctree_button_release): fix for pointer grab
5993 Sat Jul 25 13:16:00 1998 Damon Chaplin <DAChaplin@msn.com>
5995 * gtk/gtkfontsel.c (gtk_font_selection_get_fonts):
5996 Fixed initialization problem - dirty memory could cause problems.
5997 Also checked that bitmapped fonts can be scaled when showing the
6000 Sat Jul 25 02:25:03 1998 Lars Hamann <lars@gtk.org>
6002 * gtk/gtkctree.c (gtk_ctree_sort_recursive)
6003 (gtk_ctree_sort_recursive): test for node != NULL
6004 (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
6005 (gtk_ctree_last) : added sanity checks
6006 * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"
6008 Fri Jul 24 18:15:49 1998 Lars Hamann <lars@gtk.org>
6010 * gtk/gtkclist.c (toggle_focus_row): mini code cleanup
6012 Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
6014 * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
6016 Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
6018 * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
6019 to check out binding priorities. someone should really write
6020 gtkrc-mode for emacs.
6022 * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
6023 * gtk/testgtk.c (main): and move it here ;). this test says something
6024 on release of C-9. (this works only if the mouse pointer is on a
6025 spinbutton and there is no focus widget).
6029 export gtk_rc_parse_color, gtk_rc_parse_state and a new function
6030 gtk_rc_parse_priority to parse path priority types.
6032 feature binding parsing.
6034 Wed Jul 22 23:41:17 1998 Tim Janik <timj@gtk.org>
6036 * gtk/gtkbindings.h:
6037 * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
6038 feature binding parsing in rc files.
6039 * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
6040 * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
6041 order the bindings with lowest priority first.
6043 Wed Jul 22 15:21:08 PDT 1998 Manish Singh <yosh@gimp.org>
6045 * gdk/gdkrgb.c: actually builds and runs properly on big
6046 endian machines now, because we #include config.h. Also
6047 fixed up a compile error in the WORDS_BIGENDIAN case in
6048 gdk_rgb_convert_565_gray. I made the fix by looking at
6049 patterns in the other code; Raph can you verify this?
6051 * gdk/gdkthreads.c: #include <unistd.h> to quell compiler
6054 Wed Jul 22 23:00:44 1998 Lars Hamann <lars@gtk.org>
6056 * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse)
6057 (tree_toggle_expansion) (real_select/unselect_row)
6058 (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits
6060 Wed Jul 15 17:44:47 1998 Owen Taylor <otaylor@redhat.com>
6062 * gtk/gtktext.c (new_text_property): We free things from
6063 the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.
6065 * Fix up line start cache when splitting a property
6068 Wed Jul 15 21:15:52 1998 Owen Taylor <otaylor@redhat.com>
6070 * gtk/gtkwidget.c: restauration => restoration
6072 Thu Jul 16 20:11:36 1998 Owen Taylor <otaylor@redhat.com>
6074 * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
6075 hasn't been created yet, don't do the lookup.
6077 1998-07-20 Raph Levien <raph@acm.org>
6079 * gdk/gdkrgb.c: More cleanups in the config process.
6081 1998-07-20 Raph Levien <raph@acm.org>
6083 * gdkrgb.c: Fixed minor config bug preventing big-endian
6084 architectures from working.
6086 Tue Jul 21 06:32:43 1998 Stefan Jeske <stefan@gtk.org>
6088 * gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
6089 activity indicator. It is settable now as a fraction of the
6090 total width/height using gtk_progress_bar_set_activity_blocks.
6091 Renamed gtk_progress_bar_set_number_of_blocks to
6092 gtk_progress_bar_set_discrete_blocks.
6094 Mon Jul 20 21:28:18 1998 Lars Hamann <lars@gtk.org>
6096 * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
6097 (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
6098 tree to specified depth
6099 (gtk_ctree_expand_to_depth): expand tree to specified depth
6100 (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth
6102 Sun Jul 19 23:51:05 1998 Lars Hamann <lars@gtk.org>
6104 * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
6105 of GTK_CLIST_ADD_MOD
6106 * gtk/testgtk.c (add1000_clist): changed pixmap
6108 Sat Jul 18 22:59:04 1998 Tim Janik <timj@gtk.org>
6111 * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.
6113 * gtk/gtktypeutils.h:
6114 * gtk/gtkitemfactory.h: remove "void" from prototypes again.
6116 Sat Jul 18 00:54:01 1998 Lars Hamann <lars@gtk.org>
6118 * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
6119 CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
6120 (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
6122 (gtk_notebook_reorder_child): new funktion to change position of a
6124 (gtk_notebook_draw_arrow): draw left/right arrow with
6125 GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.
6127 * gtk/gtkstyle.c (gtk_default_draw_arrow):
6128 added GTK_SHADOW_ETCHED_IN/OUT
6130 Sun Jul 19 12:19:16 1998 Stefan Jeske <stefan@gtk.org>
6132 * gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
6133 gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
6134 Introduced generic GtkProgress widget. Derived GtkProgressBar from
6135 GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
6137 Fri Jul 17 23:49:28 PDT 1998 Manish Singh <yosh@gimp.org>
6139 * gtk/gtktypeutils.h
6140 * gtk/gtkitemfactory.h: explicitly specify void in prototype
6142 Fri Jul 17 17:54:02 1998 Lars Hamann <lars@gtk.org>
6144 * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
6147 Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
6149 * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
6150 sropped the approach of copying all signal specific data into a
6151 GtkHandlerInfo structure. we rather keep the signal data on the stack
6152 in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
6153 avoids multiple lookups of the signal pointer and works savely together
6154 with destroy notifiers of handlers.
6156 * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
6157 someone destroys the entry on the ::activate signal.
6159 Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
6161 * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
6162 instead of ypad (typo).
6163 (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
6164 border around the allocation).
6165 (gtk_arrow_init): the static requisition needs to be setup in this
6166 function rather than gtk_widget_new(), so arrow creation works without
6167 the gtk_arrow_new() constructing.
6168 (gtk_arrow_expose): return TRUE, since we actually handled the expose.
6170 * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
6171 implementation for GtkWidget::size_request, so size requisition for
6172 simple statically sized widgets like GtkArrow works.
6174 Thu Jul 16 14:16:16 PDT 1998 Manish Singh <yosh@gimp.org>
6176 * gtk-config.in: minor changes to gtk-config: --cflags doesn't
6177 prepend -I@libdir@/glib/include anymore, since glib-config handles
6178 it; --libs strips out redundant -L<path>'s properly (there was
6179 code in there to do it before, but it didn't work)
6181 Thu Jul 16 18:24:41 1998 Tim Janik <timj@gtk.org>
6183 * gtk/gtknotebook.h:
6184 * gtk/gtknotebook.c: signdness corrections all ove the place.
6185 implementation of object arguments: GtkNotebook::enable_popup,
6186 GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
6187 GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
6188 begun implementation of child args, we have GtkNotebook::tab_label, but
6189 GtkNotebook::menu_label and GtkNotebook::position still lack the
6191 (gtk_notebook_remove_page):
6192 (gtk_notebook_current_page): allow negative indices (-1) as alias for
6196 * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
6197 arguments GtkEntry::max_length and GtkEntry::visibility.
6198 (gtk_entry_adjust_scroll): queue a redraw.
6200 * gtk/gtkeditable.h:
6201 * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
6202 object arguments GtkEditable::text_position and GtkEditable::editable.
6203 new (action) signal GtkEditable::set_editable.
6204 provide a default handler for GtkEditable::changed that queues a redraw.
6207 * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
6210 Thu Jul 16 14:42:11 1998 Lars Hamann <lars@gtk.org>
6212 * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
6213 case of drag_target == NULL
6214 * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
6215 Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
6216 * gtk/gtkfilesel.c (gtk_file_selection_file_button,
6217 gtk_dir_selection_file_button): fix due to changes in clist's
6220 Thu Jul 16 01:27:15 1998 Tim Janik <timj@gtk.org>
6223 * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
6224 similar to gtk_widget_set_uposition(). that is: -1=unspecified,
6225 -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
6226 to be gint16s rather than guint16s, since that's what the code expected
6227 (for a long time actually).
6229 * gtk/gtkviewport.c:
6230 added support for object arguments: GtkViewport::shadow_type,
6231 GtkViewport::vadjustment and GtkViewport::hadjustment.
6232 (gtk_viewport_add): chain gtk_bin_add.
6234 * gtk/gtkscrolledwindow.c:
6235 added support for object argument: GtkScrolledWindow::hscrollbar_policy,
6236 GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
6238 * gtk/gtkadjustment.h:
6239 * gtk/gtkadjustment.c:
6244 * gtk/gtkscrolledwindow.h:
6245 * gtk/gtkscrolledwindow.c:
6246 * gtk/gtkviewport.h:
6247 * gtk/gtkviewport.c:
6248 GtkType and macro fixups.
6250 Thu Jul 16 01:10:02 1998 Lars Hamann <lars@gtk.org>
6254 Added focus handling, horizontal and vertical autoscrolling,
6255 extended Selection Mode, key bindings
6256 Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
6257 Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
6258 Removed gtk_ctree_clear.
6262 Added focus handling, horizontal and vertical autoscrolling,
6263 extended Selection Mode, key bindings
6265 Wed Jul 15 12:39:27 1998 Raph Levien <raph@acm.org>
6267 * This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1
6268 source tree. For more information on GdkRgb, please see:
6269 http://www.levien.com/gdkrgb/
6271 * gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It
6272 bothers me slightly that the feature is in gdk, and this file is
6273 in gtk, but it's probably ok.
6275 * gdk/gdk.h: Added an #include of <gdk/gdkrgb.h>
6278 * gdk/gdkrgb.h: Added this module.
6280 * Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files.
6282 * configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb).
6284 Wed Jul 15 14:20:10 1998 Tim Janik <timj@gtk.org>
6286 * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
6287 to this function. it needs to relookup the signal multiple times.
6288 this fixes spurious segfaults that could show up with signal intensive
6289 code, when classes are created during a pending emission (which is
6292 Tue Jul 14 19:12:12 1998 Tim Janik <timj@gtk.org>
6294 * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
6295 child if it isn't a label.
6297 Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
6300 * gtk/gtkseparator.h:
6301 * gtk/gtkhseparator.h:
6302 * gtk/gtkvseparator.h: macro and GtkType fixups.
6304 Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
6306 * gtk/testgtk.c (create_cursors): display the current cursor name.
6308 * gtk/gtktypeutils.h:
6309 * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
6310 the fundamental type definition. the GtkArg union now only covers
6311 the required storage types for argument values. adapted the GTK_VALUE_*
6312 macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.
6314 * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
6315 code, fixed int/float collection. fixed a bug in the sanity checking
6316 code for GtkObjects.
6318 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
6319 argument collection code.
6321 * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
6322 macros when distinguishing the return type.
6324 Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
6326 * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
6327 is not NULL before trying to g_list_remove the child. A patch
6328 from Michael Lausch.
6330 Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
6332 * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
6333 collection (always casted to doubles upon argument passing).
6335 Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
6337 * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
6338 object_init_func for derived objects with the object's ->klass field
6339 still pointing to the corresponding base class, otherwise overridden
6340 class functions could get called with partly-initialized objects.
6341 (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
6343 Sun Jul 12 02:47:35 1998 Tim Janik <timj@gtk.org>
6347 (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
6349 * gtk/gtkcontainer.h:
6350 * gtk/gtkcontainer.c:
6351 (gtk_container_child_arg_get_info): new function which wraps
6354 Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
6356 * gtk/gtkcontainer.c:
6357 (gtk_container_arg_get):
6358 (gtk_container_arg_set):
6360 (gtk_object_arg_set):
6361 (gtk_object_arg_get):
6362 strictly check for the associated get/set arg functions. if an
6363 arg is readable or writable, the associated class functions *must*
6366 Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
6368 * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
6369 padding into account if there is an accelerator.
6371 Fri Jul 10 05:51:44 1998 Tim Janik <timj@gtk.org>
6373 * gtk/gtkcontainer.c:
6374 (gtk_container_add_with_args): collect the arguments with
6375 gtk_container_child_args_collect, not through gtk_object_args_collect.
6376 (gtk_container_child_set): likewise.
6378 Fri Jul 10 04:20:35 1998 Tim Janik <timj@gtk.org>
6380 * gtk/gtktypeutils.h:
6381 * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
6382 which is derived from GTK_TYPE_STRING.
6384 * gtk/gtkbindings.c: reworked the argument type handling.
6386 Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
6388 * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
6389 so that it seems to allow normal operation in those modes,
6390 although you will only see black (GIMP toolbar now pops up,
6391 just don't create a new image and GIMP now works in 4 bit.)
6393 Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
6395 * gdk/gdkvisuals.c: 4 bit support, increased available_depths
6396 array, which was too low (?)
6398 Fri Jul 10 00:02:04 1998 Tim Janik <timj@gtk.org>
6400 * gtk/gtkcontainer.h:
6401 * gtk/gtkcontainer.c: deleted most of the argument handling code, since
6402 that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
6403 we now export a new function gtk_container_child_args_collect().
6404 for consistency with the object arguments, a few functions got renamed:
6405 gtk_container_child_arg_get -> gtk_container_child_get,
6406 gtk_container_child_arg_set -> gtk_container_child_set,
6407 gtk_container_child_arg_getv -> gtk_container_child_getv,
6408 gtk_container_child_arg_setv -> gtk_container_child_setv,
6409 gtk_container_add_with_argv -> gtk_container_addv.
6410 note, gtk_container_add_with_args() remained, because its equivalent
6411 would be gtk_container_add(,, ...) which would break all existing code.
6412 (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
6413 we expect the `arg_name' argument to be a const static string now.
6414 (gtk_container_get_child_arg_type): function removed.
6416 Thu Jul 9 07:03:04 1998 Tim Janik <timj@gtk.org>
6418 * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
6419 this is a static inline function that collects command line arguments
6420 from a va_list. this file can just be included in all places that
6421 need this functionality.
6424 * gtk/gtkarg.c: new files which implement most of the argument
6425 handling stuff from gtkobject.c. also collected a few more
6426 gtk_arg_* utility functions from else places.
6429 * gtk/gtkobject.c: moved most of the argument handling code into
6430 gtkarg.c. we now export gtk_object_args_collect() as a non-public
6431 method with a blind va_list pointer.
6432 (gtk_object_add_arg_type): the `arg_name' argument is required to be a
6433 const static string now.
6434 (gtk_object_get_arg_type): function got removed.
6438 (gtk_widget_new): adaptions for gtk_object_args_collect().
6440 * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
6441 fundamental type name so as to have a valid prefix, e.g. "bool"->
6442 "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
6443 though that should probably be something like GtkNone since the
6444 type itself is called GTK_TYPE_NONE.
6445 even the internal type names need to avoid name clashes and must live
6446 in their own namespace, several code portions rely on that.
6447 we should relly have typedefs such as typedef gchar* GtkString; so the
6448 fundamental type names can be used for code dumpers just like with all
6451 Wed Jul 8 15:31:28 1998 Tim Janik <timj@gtk.org>
6453 * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
6454 keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
6455 to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
6457 (gtk_button_paint): set the background for prelighted buttons with
6458 GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
6459 (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
6460 the shadow type (otherwise we get strange shadows for coloured buttons).
6461 (gtk_button_set_relief): queue a redraw after changing
6463 (gtk_button_class_init):
6464 (gtk_button_set_arg):
6465 (gtk_button_get_arg): added object argument "GtkButton::relief".
6467 * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
6469 Mon Jul 6 18:30:48 1998 Tim Janik <timj@gtk.org>
6472 * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
6473 GTK_BIN (button)->child to button->child to keep source compatibility.
6475 * gtk/gtkoptionmenu.c:
6477 * gtkcheckbutton.c: don't refer to button->child, but
6478 GTK_BIN (button)->child instead.
6480 Mon Jul 6 12:06:23 BST 1998 Tony Gale <gale@gtk.org>
6482 * docs/gtkfaq.sgml: update anon CVS info
6484 Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
6486 * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
6490 * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
6493 1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
6495 * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
6496 I seem to have erroneously added it to gtkfeatures.h (not .h.in).
6498 Fri Jul 3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
6500 * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
6502 Wed Jul 1 20:58:46 1998 Tim Janik <timj@gtk.org>
6505 * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
6507 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
6508 error that prevented signal to entry addition for signals with
6511 Wed Jul 1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
6513 * ltconfig: fix for properly detecting shared lib support on
6514 SunPro cc (taken from libtool 1.2.a)
6516 Wed Jul 1 03:33:30 1998 Tim Janik <timj@gtk.org>
6518 * gtk/gtkrc.c: implementation of the "class" keyword for styles.
6520 Tue Jun 30 14:30:37 1998 Tim Janik <timj@gtk.org>
6522 * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
6523 rc set pattern is favoured, this is needed for overriding of style
6524 patterns with subsequently parsed rc files.
6526 Tue Jun 30 12:45:19 1998 Tim Janik <timj@gtk.org>
6528 * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
6531 Tue Jun 30 09:24:40 1998 Tim Janik <timj@gtk.org>
6533 * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
6535 (gtk_accelerator_name): add "<Release>" to the accelerator name if
6538 * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
6541 * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
6542 default handler for key-release events, which checks for activation
6543 of GDK_RELEASE_MASK key bindings.
6545 * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
6547 Mon Jun 29 13:39:45 1998 Tim Janik <timj@gtk.org>
6549 * gtk/gtkarrow.h: GtkType and macro fixups.
6550 * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
6551 "GtkArrow::shadow_type".
6553 Sun Jun 28 11:39:17 1998 Tim Janik <timj@gtk.org>
6555 * gtk/gtkalignment.h:
6556 * gtk/gtkbin.h: GtkType and macro fixups.
6558 * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
6559 implementation: GtkAlignment::xalign, GtkAlignment::yalign,
6560 GtkAlignment::xscale, GtkAlignment::yscale.
6562 Sun Jun 28 04:29:10 1998 Tim Janik <timj@gtk.org>
6564 * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
6565 fucntions from all parent types upon class initialization.
6567 * gtk/gtkcontainer.c:
6568 (gtk_container_get_type): announce gtk_container_base_class_init to
6570 (gtk_container_base_class_init): new function to feature base class
6572 (gtk_container_get_child_arg):
6573 (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
6574 and set_child_arg methods of the class indicated through the argument
6578 (gtk_object_base_class_init): new function to feature base class
6580 (gtk_object_init_type): announce gtk_object_base_class_init to the type
6582 (gtk_object_class_init): setup the get_arg and set_arg pointers for
6585 (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
6586 instead of bothering the type system with this.
6588 * gtk/gtkaccellabel.c:
6590 * gtk/gtkradiobutton.c:
6592 * gtk/gtktogglebutton.c:
6593 * gtk/gtktipsquery.c:
6600 * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
6601 corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
6602 functions wrt GtkTypeInfo initialization. changed a lot of the set/get
6603 arg functions to take a GtkObject argument.
6605 gtk/gtkadjustment.c:
6608 gtk/gtkaspectframe.c:
6611 gtk/gtkcheckbutton.c:
6612 gtk/gtkcheckmenuitem.c:
6620 gtk/gtkdrawingarea.c:
6634 gtk/gtkhscrollbar.c:
6635 gtk/gtkhseparator.c:
6637 gtk/gtkinputdialog.c:
6639 gtk/gtkitemfactory.c:
6647 gtk/gtkoptionmenu.c:
6651 gtk/gtkprogressbar.c:
6652 gtk/gtkradiomenuitem.c:
6657 gtk/gtkscrolledwindow.c:
6659 gtk/gtkspinbutton.c:
6672 gtk/gtkvscrollbar.c:
6673 gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
6674 match the modified GtkTypeInfo structure.
6676 Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>
6678 * gtk/testgtk.c: use rand() instead of random() for portability
6680 Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>
6684 * gdk/gdk.c: use native Xlib XConvertCase if it's available
6686 Sat Jun 27 15:44:46 1998 Tim Janik <timj@gtk.org>
6688 * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
6689 XConvertCase() functionality from X11R6 on X11R5 systems.
6691 Thu Jun 25 10:50:34 1998 Stefan Jeske <stefan@gtk.org>
6693 * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
6694 gdk_string_height, gdk_char_height to retrieve the exact
6697 Thu Jun 25 07:53:51 BST 1998 Tony Gale <gale@gtk.org>
6699 * docs/gtk_tut.sgml: add section on GtkCList widget, contributed
6700 by Stefan Mars <mars@lysator.liu.se>
6701 * examples/clist/clist.c examples/clist/Makefile: example code
6702 for GtkCList widget from the Tutorial
6704 Wed Jun 24 16:38:02 1998 Tim Janik <timj@gtk.org>
6706 * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
6707 if the container is not visible, we might be a toplevel! this holds
6708 for all other base container implementations as well, that are
6709 candidates to derive toplevels from. in general the resizing code will
6710 care about visibility itself.
6711 * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
6712 * gtk/gtkbox.c (gtk_box_remove): likewise.
6714 * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
6715 gtk_window_set_hints(), since we haven't calculated the new position
6718 * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
6719 *mask are alway initialized in a sane way, regardless of the return
6722 Wed Jun 24 14:14:32 1998 Tim Janik <timj@gtk.org>
6724 * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
6725 to gtk_container_child_arg_setv, but takes a variable argument list.
6726 new function gtk_container_get_child_arg_type, which is needed by
6727 gtk_object_collect_args.
6729 * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
6730 take a function pointer to figure the argument type.
6731 adapted callers to pass gtk_object_get_arg_type.
6732 * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
6733 gtk_object_get_arg_type..
6737 (gtk_packer_reorder_child): new function to change the packing order
6739 (gtk_packer_size_request):
6740 (gtk_packer_size_allocate): take container->border_width into acount.
6742 * gtk/gtkpacker.c: implemented widget arguments:
6743 "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
6744 "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
6745 implemented child arguments:
6746 "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
6747 "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
6748 "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
6749 "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
6751 * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
6754 * gtk/gtkeventbox.h:
6755 * gtk/gtkeventbox.c: GtkType and macro fixups.
6757 * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
6758 sensitivity of an entry.
6760 * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
6761 for insensitive base and text.
6763 * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
6764 widget state dependent.
6765 (gtk_entry_style_set): likewise.
6766 (gtk_entry_state_changed): set background color on state changes.
6767 (gtk_entry_draw_text): for non selected text, use state dependent
6770 * gtk/gtktogglebutton.c: support for widget arguments
6771 "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
6773 Wed Jun 24 08:35:45 1998 Stefan Jeske <stefan@gtk.org>
6775 * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility
6776 code for 1.0.x-like parameters. Changed internal interface of
6777 gtk_spin_button_real_spin. Several fixes to avoid emission of
6778 "value_changed" where possible.
6780 Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
6782 * gtk-boxed.defs: s/GkWidget/GtkWidget/
6784 Wed Jun 24 07:47:29 1998 Tim Janik <timj@gtk.org>
6786 * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
6787 to select the resize_mode for the idle-labels container.
6790 * gtk/gtkframe.c: GtkType and macro corrections.
6792 * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
6793 support widget argument "GtkRadioButton::group".
6795 Tue Jun 23 08:01:09 1998 Tim Janik <timj@gtk.org>
6797 * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
6798 unconditionally if resize_mode has changed.
6800 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
6801 GTK_RESIZE_QUEUE on the scrolled window.
6802 (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
6804 Tue Jun 23 04:20:30 1998 Tim Janik <timj@gtk.org>
6806 * gtk/gtkcontainer.h:
6807 * gtk/gtkcontainer.c:
6808 (GTK_IS_RESIZE_CONTAINER): new macro to find out if
6809 a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
6810 (gtk_container_queue_resize): new function to queue a container for
6811 a *size* reallocation (doesn't affect its position, and thus its
6812 parent is left untouched usually).
6813 (gtk_container_get_resize_container): new function to retrive the next
6814 most resize container which is not itself queued for a resize.
6815 (gtk_container_idle_sizer): new function to carefully process the
6816 container_resize_queue since it can change during invokation of
6817 gtk_container_check_resize().
6818 (gtk_container_resize_children): total rework of this function to
6819 properly handle resize containers. makes a lot of assumptions whitch
6820 are stated in the comments.
6822 * gtk/gtkcontainer.c:
6823 (gtk_container_real_check_resize): only requeue ourselves if we are not
6825 (gtk_container_clear_resize_widgets): care for automatic deletion of our
6826 resize_widgets list on size_allocate through a handler connection.
6828 * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
6829 focus and default widget of a window, so to take the burden from
6830 gtk_widget_unparent.
6832 * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
6833 to be clever, but actually messed up the resize_children logic and
6834 caused unneccessary allocations on its whole branch. besides this,
6835 it messed up the display by not invoking a redraw after the allocation.
6837 * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
6838 that it is the child again that is queued for a resize.
6839 (gtk_table_attach): likewise.
6840 (gtk_table_remove): likewise.
6842 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
6844 * gtk/gtkentry.h, gtk/gtkentry.c: Export the
6845 gtk_entry_adjust_scroll. Required if you change the cursor
6846 position and want to sync it up with your code (Midnight Commander
6847 gtk front end needs this).
6849 * gtk/gtktable.c: Deal with tables that have size 0, 0.
6851 Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
6853 * examples/README.1ST: new file to explain how the
6854 code examples should be extracted from the tutorial.
6856 Mon Jun 22 18:43:11 1998 Lars Hamann <lars@gtk.org>
6858 * gtk/gtkctree.c (draw_row): added new "line style"
6859 GTK_CTREE_LINES_TABBED
6860 * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
6861 search the glist pointer of an GtkCTreeRow
6863 1998-06-21 Raja R Harinath <harinath@cs.umn.edu>
6865 * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
6866 from, and clean up, the dependencies. Generate to intermediate
6867 files to prevent problems with Ctrl-C.
6869 * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
6871 Fri Jun 19 14:46:56 1998 Stefan Jeske <stefan@gtk.org>
6873 * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
6874 - Bug fix for precision problem causing occasional double emission
6875 of "value_changed" signal (hopefully works now).
6876 - API change (should be binary compatible) :
6877 new enum GtkSpinType; modified gtk_spin_button_spin to use it.
6878 Modified cursor example appropriately.
6879 To spin by something other than step_/page_increment, use
6880 gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
6881 - Made GTK_SHADOW_NONE the default. ;)
6882 - Fixed casting of GtkAdjustment* to GtkWidget* in
6883 gtk_spin_button_value_changed.
6885 Fri Jun 19 06:18:19 1998 Tim Janik <timj@gtk.org>
6887 * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
6888 for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
6889 resize widget list before queuing the container for a new reize.
6890 (gtk_container_need_resize): changed return value to FALSE, since this
6891 used to indicate that no further resizes are needed.
6892 (gtk_container_set_arg):
6893 (gtk_container_get_arg):
6894 (gtk_container_class_init): implemented GtkContainer::resize_mode
6897 (gtk_container_resize_children): when we walk up the tree of a resize
6898 widget we need to stop if we are the current parent.
6900 * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
6901 GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
6902 (gtk_widget_hide_all): retrive the toplevel widget from via
6903 gtk_widget_get_resize_container().
6905 Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
6907 * gtk/gtklist.c (gtk_list_button_press): Only respond
6908 to selection with button 1. This allows context-sensitive
6909 menus to work correctly.
6911 Fri Jun 19 03:29:04 1998 Tim Janik <timj@gtk.org>
6913 * gtk/gtkaccelgroup.c:
6914 * gtk/gtkbindings.c:
6915 * gtk/gtkcontainer.c:
6916 * gtk/gtkitemfactory.c:
6919 * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
6920 g_quark_from_static_string calls to save memory.
6922 * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
6923 function _after_ the new data has been setup.
6924 minor changes to object data functions to feature the GQuark type.
6926 Thu Jun 18 21:13:54 1998 Owen Taylor <otaylor@gtk.org>
6928 * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
6931 Thu Jun 18 20:22:28 1998 Owen Taylor <otaylor@gtk.org>
6933 * gtk/genmarshal.pl: Modified to be more idiomatic Perl,
6934 to be more readable perl, to spit out stuff that looks
6935 more like readable C, and to pipe output through indent
6936 so output looks a lot like readable C. No functional
6939 Thu Jun 18 17:43:31 1998 Owen Taylor <otaylor@gtk.org>
6941 * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
6942 necessary when switching to a masked pixmap. (Based on a patch
6943 from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
6945 Thu Jun 18 16:18:10 1998 Owen Taylor <otaylor@gtk.org>
6947 * gtk/gtkeditable.[ch]: Added action signals for keyboard
6948 bindings. (move_cursor, kill_word, etc, etc, etc).
6950 removed the time argument from
6951 gtk_editable_cut/copy/paste_clipboard (source but not
6952 binary incompatible...) Instead get time from
6953 gtk_get_current_event ().
6955 * gtk/gtktext.c gtk/gtkentry.c: Support the new editable
6958 Thu Jun 18 02:52:09 1998 Owen Taylor <otaylor@gtk.org>
6960 Patches from Damon Chaplin <DAChaplin@email.msn.com>:
6962 gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
6963 parent class to GtkNotebookClass when splitting the widget in
6964 two. Also updated some comments.
6966 gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
6967 button without a font selected.
6969 Fixed bug in set_font_name - I hadn't updated the code to
6970 search for the style in the font_style clist - it was
6971 still assuming the style row was equal to its index,
6972 but it isn't any more.
6974 Changed 'Reset' button on filter page to 'Clear Filter'.
6975 Deleted old code relating to the old 'Filter Fonts' toggle
6976 Updated some comments.
6977 Cleared 'Actual Fontname' if no font is set.
6979 gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
6980 destroying the GtkFontSelection instead of the
6981 GtkFontSelectionDialog.
6983 Thu Jun 18 02:15:31 1998 Owen Taylor <otaylor@gtk.org>
6985 * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
6986 flag to make all warnings fatal errors.
6988 * gtk/testthreads.c: moved <pthreads.h> include inside
6991 Thu Jun 18 01:37:31 1998 Owen Taylor <otaylor@gtk.org>
6993 * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c
6994 gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
6996 - Added new function gtk_container_set_resize_mode() for
6997 fine-grained control of where resize-queueing is done.
6999 - Removed GtkContainer::need_resize and GtkWindow::move_resize
7000 - Added GtkContainer::check_resize to replace need_resize.
7002 - Added function gtk_container_check_resize() to trigger
7003 queued resizes, and gtk_container_resize_children() to
7004 Figure which children need to be size-allocated. (logic
7005 moved from gtkwindow.c)
7007 - Reorganized code in gtkwindow.c
7009 - Set the resize-mode for viewports so that resizes within
7010 a viewport don't propagate out of it.
7012 1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
7014 * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
7016 * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
7017 g_return_val_if_fail, because the function *does* return a value.
7019 Thu Jun 18 03:30:06 1998 Tim Janik <timj@gtk.org>
7021 * gtk/gtkaccellabel.h:
7022 * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
7023 request the size of the accelerator portion of an accel label.
7024 (gtk_accel_label_size_request): don't request for the accelerators size.
7025 (gtk_accel_label_expose_event): only draw the accelerator if we got
7028 * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
7029 width from children.
7031 * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
7032 object (after removal has been requested) check if there is still an
7033 accelerator remaining to avoid adding two accelerators on an object.
7034 this can happen for locked accelerators (or accelerator-frozen widgets).
7035 (gtk_menu_size_request): feature childrens accelerator width in size
7038 * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
7039 gtk_widget_freeze_accelerators() for dynamically created menu items.
7042 * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
7043 which will return a handler_id > 0 if the specified function is pending
7047 * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
7048 a signal handler function to stop accelerator addition.
7049 added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
7050 which will prevent (undo) any accelerators from being added to or
7051 removed from a widget.
7053 Wed Jun 17 21:59:09 1998 Stefan Jeske <stefan@gtk.org>
7055 * gtkspinbutton.h gtkspinbutton.c testgtk.c:
7056 Changed GtkSpinButtonUpdatePolicy enum, added keyboard
7057 acceleration, new API gtk_spin_button_set_snap_to_ticks.
7059 Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
7062 * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
7063 the current GdkWindow the pointer is on if there is any.
7065 * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
7066 and one column, so we don't construction logic at all. changed a few
7067 (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
7070 * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
7071 portion, added an additional check for parent != widget.
7073 * more GtkType and macro fixups.
7075 1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
7077 * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
7078 "clip" parameter, which is the clipping rectangle to use. This
7079 eliminates the extremely annoying flicker when exposing parts of
7082 Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
7084 * gtk/gtktable.c: fix from TimJ for off-by-one error in table
7087 Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
7089 * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
7090 != 0 on the argument.
7093 * gtk/gtktable.c: new function gtk_table_resize() which allowes
7094 shrinking and expanding of tables. implementation of widget arguments
7095 and child arguments. many signedness corrections.
7097 Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
7099 * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
7100 not only the child, otherwise we might end up taking away other
7101 childrens space after the resize.
7103 * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
7104 an unknown menu path from any source, that path must always be flagged
7105 as "modified", since we don't really know whether it has its default
7110 * gtk/gtknotebook.c:
7111 * gtk/gtkmenushell.c:
7115 * gtk/gtkbutton.c: implement gtk_*_child_type functions.
7118 * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
7119 arguments. implemented child arguments.
7121 * more GtkType and macro fixups.
7123 Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
7125 * gtk/gtkcheckbutton.h: GtkType and macro fixups.
7127 * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
7128 and gtk_clist_get_hadjustment.
7130 * gtk/gtkcontainer.c:
7131 implementation of children arguments, new class member functions
7132 (child_type), (get_child_arg) and (set_child_arg) plus a new field
7134 (gtk_container_child_type): new function which returns the type of a
7135 child that the container expects for its next addition.
7136 (gtk_container_add_child_arg_type): new function to introduce a new
7137 child argument at class creation time.
7138 (gtk_container_query_child_args): new function to query all child
7139 arguments that are supported by a container class.
7140 (gtk_container_child_arg_getv): new fucntion to retrive the value of a
7142 (gtk_container_child_arg_setv): new function to set a child argument for
7143 a certain container and child combination.
7144 (gtk_container_add_with_args):
7145 (gtk_container_add_with_argv): new functions to feature addition of a
7146 new child in combination with the setting of certain child arguments.
7148 * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
7149 GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
7150 this should really be done through class cretion hooks some day.
7152 * gtk/gtkcontainer.c: changed type of border_width from gint16 to
7156 * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
7157 follow the gtk convention for lower case variable names (important
7158 for language wrappers and widget arguments), and made them guint : 16.
7160 * examples/packer/pack.c: adaptions for the case converted GtkPacker
7163 Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
7165 * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
7166 change the character pair for single line comments.
7167 (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
7168 GtkItemFactoryClass.
7169 (gtk_item_factory_parse_rc_string): likewise.
7171 Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
7173 * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
7174 lists from the klass structure to a static structure
7175 in gtkfontsel.c; cleans up global the namespace.
7177 Mon Jun 15 22:16:10 1998 Owen Taylor <otaylor@gtk.org>
7179 * gtk/makeenums.pl (parse_entries): Fix (untriggered)
7180 bug with /*< skip >*/ and remove warning.
7182 Mon Jun 15 20:14:09 1998 Owen Taylor <otaylor@gtk.org>
7184 * gtk/Makefile.am: Made the gtkmarshal.* generation
7185 rules maintainer-only.
7187 Mon Jun 15 16:29:45 1998 Owen Taylor <otaylor@gtk.org>
7189 * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
7190 gtk/Makefile.am gtk/makenums.pl
7192 Removed out the G_ENUM/FLAGS mechanism in favor
7193 of a perl script that parses the standard headers
7194 (with occasional /*< nick=foo >*/ style overrides)
7195 and extracts the enumerations.
7197 gtk/maketypes.awk: Small improvments to the
7198 translation of names. (Avoid splitting gc into
7201 Mon Jun 15 16:25:44 1998 Owen Taylor <otaylor@gtk.org>
7203 * gtk/gtk.h gtk/gtkfontsel.[ch]:
7204 Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
7206 Mon Jun 15 15:58:34 1998 Owen Taylor <otaylor@gtk.org>
7209 - Restored gtk_entry_adjust_scroll to static
7210 - Changed text positioning code so that we always
7211 display as large a portion of the text as possible.
7213 Mon Jun 15 15:42:12 1998 Owen Taylor <otaylor@gtk.org>
7215 * gtk/gtktext.c (gtk_text_finalize): Free internal
7216 structures of text widget. Also, unreference pixmaps
7219 Sat Jun 13 19:14:39 1998 Owen Taylor <otaylor@gtk.org>
7221 * gdk/gdkinputcommon.h (gdk_input_device_new): Change
7222 3.3.1 bug workaround to number keys starting at 1.
7224 Sat Jun 13 11:56:57 1998 Owen Taylor <otaylor@gtk.org>
7226 * docs/gtk_tut.sgml: Fixed urls for complete example
7227 source for scribble+widget-writing examples.
7229 Sat Jun 13 11:48:26 1998 Owen Taylor <otaylor@gtk.org>
7231 * gdk/gdkpixmap.c (gdk_pixmap_extract_color):
7232 Patch from Tom Bech <tomb@ii.uib.no>, to handle color
7233 specs of the form c #abcdef [ more keys ] properly.
7235 Sat Jun 13 10:51:56 1998 Stefan Jeske <stefan@gtk.org>
7237 * gtkspinbutton.h gtkspinbutton.c testgtk.c
7238 (gtk_spin_button_set_shadow_type):
7239 New API to set the shadow type of the arrow panel.
7241 Fri Jun 12 21:20:42 1998 Owen Taylor <otaylor@gtk.org>
7243 * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
7244 code for drawing the child in two places at once. Unfortunately,
7245 not only does it not work anymore (because reparenting has
7246 been fixed), but it also triggers reparent/expose loops
7249 * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
7250 an unecessary unrealize.
7252 Fri Jun 12 21:18:56 1998 Owen Taylor <otaylor@gtk.org>
7254 * gdk/gdkwindow.c (gdk_window_reparent): Update the
7255 old and new parents' child window lists properly.
7257 Fri Jun 12 09:24:47 1998 Tim Janik <timj@gtk.org>
7260 * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
7261 and GtkSideType, to be consistent with the rest of Gtk's enum
7262 definitions. wrapped the enum definitions with the G_ eunm wrappers.
7263 spelled out the GTK_ANCHOR_* enum values, since single letters don't
7264 work out corectly as nick-names (left the old values as aliases).
7265 some signdness corrections (border-width, spacing), could stand more.
7267 Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
7269 * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
7272 * examples/packer/pack.c, examples/packer/Makefile: Added
7275 Thu Jun 11 13:09:00 1998 Owen Taylor <otaylor@gtk.org>
7277 * gtk/gtktext.c (remove_cache_line): Fixed broken
7280 * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
7281 Check bounds before deleting.
7283 Wed Jun 10 23:21:33 1998 Owen Taylor <otaylor@gtk.org>
7285 * autogen.sh: Support ACLOCAL_FLAGS
7287 Wed Jun 10 20:54:37 1998 Owen Taylor <otaylor@gtk.org>
7289 * gtk-config.in: Added missing quotes.
7291 Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
7293 * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
7295 1998-06-10 Raja R Harinath <harinath@cs.umn.edu>
7297 * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
7298 G_COMPILED_WITH_DEBUGGING.
7300 * configure.in (fd_set): Explain check better.
7302 * acinclude.m4: New file. Contains `libtool.m4' from libtool-1.2,
7303 the version from which gtk+'s libtool forked. Needed for people
7304 who use post-1.2 alphas of libtool.
7306 Wed Jun 10 19:36:35 1998 Owen Taylor <otaylor@gtk.org>
7308 * glib/* Moved to glib module
7310 * INSTALL Makefile.am acconfig.h autogen.sh configure.in
7311 gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
7313 configuration changes for the above:
7315 - Use AM_PATH_GLIB by default to find glib; also accept
7316 a --with-glib option for using an uninstalled glib.
7318 - Put --enable-debug information into config.h so
7319 that we rebuild when it changes. (was in glibconfig.h)
7321 Wed Jun 10 22:23:27 1998 Lars Hamann <lars@gtk.org>
7323 * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
7325 * gtk/gtknotebook.h (struct _GtkNotebookClass):
7326 * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
7327 added missing argument (according to Joseph Coleman's bug report)
7329 * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
7330 function to fix notebook focus handling
7332 Wed Jun 10 12:57:03 1998 Owen Taylor <otaylor@gtk.org>
7334 * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
7335 glib/gutils.c glib/testglib.c glib/gdataset.c
7336 gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
7337 gtk/gtktext.c gtk/gtkbindings.c:
7339 renamed g_const_pointer => gconstpointer
7341 Wed Jun 10 06:25:17 1998 Tim Janik <timj@gtk.org>
7343 * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
7344 invoked with (NULL, NULL); (this worked sometime ago).
7346 * gtk/gtktypeutils.h:
7347 * gtk/gtktypeutils.c: enum and flags type creation can now be done
7348 through gtk_type_register_enum() and gtk_type_register_flags(),
7349 which allow to specify the enum value arrays directly.
7350 the NULL terminated value arrays can be retrived through
7351 gtk_type_enum_get_values() and gtk_type_flags_get_values();
7352 (gtk_type_children_types): new function to query derived types.
7354 1998-06-09 Raja R Harinath <harinath@cs.umn.edu>
7356 * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
7357 environment to genmarshal.pl.
7358 (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
7359 rule), and removed it where not needed (in the dependencies).
7361 * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
7363 Tue Jun 9 18:44:57 1998 Owen Taylor <otaylor@gtk.org>
7365 * gtk/gtkobject.c: Removed g_object_pointer_hash, which
7366 was just g_direct_hash.
7368 Mon May 25 19:54:20 1998 Owen Taylor <otaylor@gtk.org>
7370 * configure.in: x_libs=, not $x_libs=. Enough said.
7371 (Case only hit for --disable-xshm)
7373 Mon May 25 12:08:14 1998 Owen Taylor <otaylor@gtk.org>
7375 * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
7376 when testing for X libraries, don't replace them. Because
7377 the user might have specified the path to the X libraries
7378 themself before running configure.
7380 * examples/**.c: Changed all gpointer * to gpointer
7382 1998-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
7384 * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
7385 fleur_cursor field. Now the cursor is created/destroyed on demand
7386 by the routines that need it.
7388 * gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
7389 (gtk_handle_box_motion): The fleur cursor is created and destroyed
7392 Tue Jun 9 09:57:09 1998 Tim Janik <timj@gtk.org>
7394 * gtk/gtktypeutils.h:
7395 * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
7396 gtk_enum_set_values to gtk_type_enum_get_values and
7397 gtk_type_enum_set_values respectively, since they are actually type
7400 * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
7403 Tue Jun 9 01:57:23 1998 Tim Janik <timj@gtk.org>
7405 * gtk/gtkselection.h:
7406 * gtk/gtkselection.c: new functions gtk_selection_data_copy and
7407 gtk_selection_data_free.
7409 * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
7410 for "selection_received", which was completely bogus.
7411 * other fixups to gtk_signal_new() calls all over the place.
7413 * gtk/gtktypebuiltins.h: types as variables (formerly macros).
7414 * gtk/gtktypebuiltins_vars.c: type variable implementations.
7415 * gtk/gtktypebuiltins_ids.c: array entries for builtin type
7417 * gtk/gtktypebuiltins_evals.c: enum value arrays.
7418 * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
7420 * gtk/gtk.defs: generated file with scheme syntax for type definitions
7421 of gtk and gdk structures and enums.
7422 * gtk/gtktypeutils.h:
7423 * gtk/gtktypeutils.c: reworked type ids, so they are variables not
7424 macros anymore (this fixes binary incompatibility with new enum
7427 * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
7428 key bindings for this widget.
7429 * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
7433 * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
7434 again. new functions gtk_object_class_user_signal_new () and
7435 gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
7436 flag on the signal creation.
7438 Mon Jun 8 20:52:21 1998 Tim Janik <timj@gtk.org>
7440 * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
7442 Mon Jun 8 02:52:37 1998 Tim Janik <timj@gtk.org>
7448 * gtk/gtkobject.h: wrapped enum definitions with glib macros.
7450 * reworked enum value array generation code. gtk.defs is a generated
7453 Sun Jun 7 14:34:31 1998 Tim Janik <timj@gtk.org>
7455 * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
7456 check menu items in the compatibility code (this required me to remove
7457 the "<check>" part from the menu item name, grrr).
7459 1998-06-07 Marius Vollmer <mvo@zagadka.ping.de>
7461 * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
7462 * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
7464 Sun Jun 7 10:53:02 1998 Tim Janik <timj@gtk.org>
7466 * gtk/gtkitemfactory.h:
7467 * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
7468 additions to the dumping code to feature GtkPatternSpec.
7469 even found a bug to fix in the original code ;)
7471 Sun Jun 7 09:36:04 1998 Tim Janik <timj@gtk.org>
7473 * gtk/gtkitemfactory.c: support different types of callbacks, to
7474 maintain existing code.
7476 Sat Jun 6 06:01:24 1998 Tim Janik <timj@gtk.org>
7478 * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
7480 * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
7481 this should eventually be done by gentypeinfo.el somewhen.
7482 * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
7484 * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
7485 enum values of an enum type.
7493 brought enum/flags definitions in sync, added a few more enum
7494 definitions for bindings and pattern matching.
7496 * some more macro and GtkType fixups in various places.
7498 * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
7499 as a key-release modifier for the binding system.
7501 Fri Jun 5 06:06:06 1998 Tim Janik <timj@gtk.org>
7503 * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
7504 was a stale list pointer that is already present in GtkMenuShell.
7506 * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
7507 GtkMenuShell::selection_done which is emitted after the menu shell
7508 poped down again and all possible menu items have been activated.
7510 Thu Jun 4 02:20:42 1998 Tim Janik <timj@gtk.org>
7512 * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
7513 before activation of the menuitem, so the menu is actually taken off the
7514 screen prior to any menu item activation.
7516 * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
7520 * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
7521 the emission of the "add-accelerator" signal on a widget. this is
7522 usefull to prevent accelerator installation on certain widgets.
7524 * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
7525 labels left justified, by setting their alignment. stop accelerator
7526 installation for the menu items, since we use dynamic menus.
7528 Wed Jun 3 06:41:22 1998 Tim Janik <timj@gtk.org>
7530 * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
7531 should *really* use GtkItemFactory. this is only for preserving source
7532 compatibility where possible, use of GtkMenuFactory is deprecated as of
7535 * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
7536 to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
7537 missed this possibility when i added gtk_object_class_add_user_signal
7540 * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
7542 Sun May 31 07:31:09 1998 Tim Janik <timj@gtk.org>
7544 * gtk/gtkaccelgroup.h:
7545 * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
7547 * gtk/gtkaccellabel.h:
7548 * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
7549 display of the accelerators associated with a certain widget.
7551 * gtk/gtkitemfactory.h:
7552 * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
7553 parsing and accelerator handling.
7555 * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
7557 (gtk_menu_map): removed the allocation code.
7558 (gtk_menu_size_allocate): care for redrawing of children and resize
7559 our widget->window correctly.
7560 (gtk_menu_key_press): feature the new accelerator groups.
7562 * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
7563 submenu if neccessary.
7565 * gtk/gtkmenuitem.c:
7566 * gtk/gtkcheckmenuitem.c:
7567 * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
7571 (gdk_keyval_from_name):
7572 (gdk_keyval_name): new functions for keyval<->key-name associations.
7573 (gdk_keyval_to_upper):
7574 (gdk_keyval_to_lower):
7575 (gdk_keyval_is_upper):
7576 (gdk_keyval_is_lower): new functions to check/translate keyvalues with
7577 regards to their cases.
7579 Wed May 27 00:48:10 1998 Tim Janik <timj@gtk.org>
7581 * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
7582 widget's class path.
7583 (gtk_widget_path): new function to calculate a widget's name path.
7585 * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
7586 pattern matching, features reversed pattern matches.
7588 Thu Jun 4 12:12:11 BST 1998 Tony Gale <gale@gtk.org>
7590 * examples/extract.sh, examples/extract.awk:
7591 New files to automagically extract code examples from the
7594 Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
7596 * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
7597 * gtk/gtkcontainer.c (gtk_container_focus_move):
7598 reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
7600 Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
7602 * docs/gtk_tut.sgml: minor changes to support auto
7603 extraction of example code
7605 Mon Jun 1 12:47:56 BST 1998 Tony Gale <gale@gtk.org>
7607 * docs/gtk_tut_it.sgml: Update of Italian Tutorial
7608 to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
7610 Fri May 29 13:53:57 BST 1998 Tony Gale <gale@gtk.org>
7612 * docs/gtk_tut.sgml:
7613 - new section on Events
7614 - change all delete_event callbacks to include
7615 a GdkEvent parameter
7616 - clean up the formatting
7618 * examples - helloworld.c, helloworld2.c, notebook.c,
7619 packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
7620 rulers.c, table.c, wheelbarrow.c: change all delete_event
7621 callbacks to include a GdkEvent parameter.
7623 1998-05-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
7625 * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
7626 field of crossing events.
7627 (struct _GdkEventCrossing): Added the following fields: time, x,
7628 y, x_root, y_root, mode, focus, state.
7630 * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
7631 crossing event structure.
7633 * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
7634 changes to the crossing event structure.
7636 Tue May 26 15:51:28 1998 Radek Doulik <gis@academy.cas.cz>
7638 * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
7640 Sun May 24 12:11:38 BST 1998 Tony Gale <gale@gtk.org>
7642 * docs/gtk_tut.sgml:
7643 - GtkTooltips, update to current API
7644 - change all 'gpointer *data' to 'gpointer data'
7645 - other minor changes
7647 Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
7649 * configure.in (LDFLAGS): Bomb out with a moderately
7650 helpful message if detection of X libraries fails.
7652 Sat May 23 18:57:06 1998 Owen Taylor <otaylor@gtk.org>
7655 gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
7656 gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
7658 * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
7659 gtk/gtksignal.c gtk/gtktext.c:
7661 Fixups for warnings from adding const to type of GHashFunc,
7664 * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
7665 ansi-warnings fixups.
7667 Sat May 23 17:48:58 1998 Owen Taylor <otaylor@gtk.org>
7669 * gtk/gtkeventbox.c (gtk_event_box_size_allocate):
7670 Locate child at (border_width,border_width), not
7671 (2*border_width,2*border_width). [ The border is _outside_
7674 * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
7675 functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
7677 1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
7679 * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
7682 1998-05-22 <sopwith@redhat.com>
7684 * gtk/gtkeventbox.c: Pass size_allocate on to the child
7685 regardless of whether it is visible or not. Also
7686 locate child at (border_width,border_width), not (0,0)
7688 Fri May 22 03:02:40 1998 Owen Taylor <otaylor@gtk.org>
7690 * gtk/gtkhandlebox.c: Added style_set handler.
7692 Fri May 22 02:55:57 1998 Owen Taylor <otaylor@gtk.org>
7693 [ From: Chris Lahey <clahey@umich.edu> ]
7695 * gtk/gtkeditable.c, gtk/gtkeditable.h,
7696 gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
7697 and set_position functions to get and set the cursor position.
7699 * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
7700 signal status. Make GtkText do user-controlled insertion
7701 and deletion through the Editable widget so that these
7702 signals are properly emitted.
7704 * gtk/gtkentry.c: Changed gtk_entry_set_visibility to
7705 display asterisks instead of empty space when visible = FALSE)
7707 Fri May 22 08:51:10 CEST 1998 Paolo Molaro <lupus@debian.org>
7709 * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
7712 1998-05-21 <sopwith@redhat.com>
7714 * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
7715 custom routine for loading images specified in gtkrc's.
7717 Tue May 19 23:41:04 1998 Owen Taylor <otaylor@gtk.org>
7719 * configure.in: Use pthread_attr_init() as a test function,
7720 since most of the rest of -lpthread is macros on DU4.
7722 Tue, 19 May 1998 09:03:03 +0200 Paolo Molaro <lupus@debian.org>
7724 * gtk/gtkcombo.c: implemented completion in the entry.
7726 1998-05-18 <sopwith@moebuis.labs.redhat.com>
7728 * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals
7730 Mon May 18 04:01:41 1998 Tim Janik <timj@gtk.org>
7732 * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
7733 "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
7734 to be of runtype GTK_RUN_LAST.
7736 * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
7739 * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
7742 Sat May 16 09:04:32 1998 Tim Janik <timj@gtk.org>
7744 * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
7745 text retrived from GtkEntry. only intercept the Tab key if there
7746 was some text to complete.
7748 Fri May 15 21:16:54 1998 Owen Taylor <otaylor@gtk.org>
7750 Basic thread-awareness:
7752 * acconfig.h configure.in: New option --with-threads=[yes/posix/no]
7754 * gdk/Makefile.am gdk/gdkthreads.c: Added new functions
7755 gdk_threads_[init/enter/leave] for applications, plus
7756 gdk_threads_wake to wake the mainloop thread out of
7759 * gtk/Makefile.am: gtk/testthreads.c: Test program for threads
7761 Fri May 15 12:08:48 1998 Owen Taylor <otaylor@gtk.org>
7763 * gtk/testgtk.c (list_clear): Account for the fact
7764 that gtk_list_clear_items is not inclusive. (Clears
7767 Fri May 15 12:31:27 1998 rodo <doulik@karlin.mff.cuni.cz>
7769 * gdk/gdk.c: include gdkkeysyms.h always
7772 Fri May 15 09:44:10 1998 Tim Janik <timj@gtk.org>
7774 * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
7775 the visibility_notify_event method and changed method order.
7777 1998-05-14 <sopwith@moebuis.labs.redhat.com>
7779 * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget
7781 Thu May 14 03:04:43 1998 Tim Janik <timj@gtk.org>
7783 * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
7784 from Olli Helenius <ollhel@batman.jytol.fi>.
7786 * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
7788 (gtk_type_set_chunk_alloc): new function to allow allocation of new
7789 types from a mem_chunk of certain size (n_chunks==0 indicates allocation
7792 * gtk/gtkobject.c (gtk_object_finalize): free an object through
7795 * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
7797 * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
7798 * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
7800 Wed May 13 00:53:52 1998 Owen Taylor <otaylor@gtk.org>
7802 * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more
7803 GPOINTER_TO_UINT fixes.
7805 * gtk/gtksignal.c: Include <string.h> for memset.
7807 Tue May 12 23:10:53 1998 Owen Taylor <otaylor@gtk.org>
7808 (Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)
7810 * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h:
7811 Cleanups, comments and the ability to have rulers with
7812 a reversed direction.
7814 Tue May 12 19:37:55 1998 Owen Taylor <otaylor@gtk.org>
7816 * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
7817 that Sopwith missed when changing stat => lstat.
7819 Tue May 12 19:19:29 1998 Owen Taylor <otaylor@gtk.org>
7821 * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
7822 gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
7823 GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
7825 * gdk/gdk.c: Print sizeof() results
7826 as g_print("%ld", (glong)sizeof(foo)), to deal with
7827 sizeof() being long on Alpha's.
7829 * gtk/testgtk.c: include <string.h> for strlen
7831 Tue May 12 16:56:35 1998 Owen Taylor <otaylor@gtk.org>
7832 (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
7834 * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
7835 Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
7837 * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
7839 Tue May 12 15:16:10 1998 Owen Taylor <otaylor@gtk.org>
7840 (From: Christopher James Lahey <clahey@umich.edu>)
7842 * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
7845 Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
7846 (old style), or GTK_RELIEF_NONE - no relief in the NORMAL
7847 state. Added gtk_toolbar_{set,get}_button_relief, which set/get
7848 the default relief for the toolbars buttons. Added an
7849 toggle for the toolbar test in testgtk.c.
7851 Tue May 12 00:24:59 1998 Owen Taylor <otaylor@gtk.org>
7853 * docs/gtk-config.1: Rewritten and hopefully improved.
7855 Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>
7858 * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield
7860 1998-05-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
7862 * gtk/gtkpreview.c (gtk_preview_realize): Create the window using
7863 GtkPreview's visual and colormap, otherwise things can BadMatch.
7865 * gtk/testgtk.c (create_color_preview):
7866 (create_gray_preview): Removed pushing/popping of visual/colormap
7867 now that GtkPreview does things correctly.
7869 * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame):
7870 (gtk_color_selection_draw_wheel): Pick the style from the correct
7871 place (the colorsel->wheel_area widget) so that the GCs will match
7872 with where we are going to paint to.
7874 * gtk/testgtk.c (create_color_selection): Removed pushing/popping
7875 of visual/colormap now that GtkColorSelection does things the
7878 Mon May 11 21:04:51 1998 Owen Taylor <otaylor@gtk.org>
7880 * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
7881 previously unused window->need_resize flag to mark if a window's
7882 descendents changed size while the window was not visible. In this
7883 case, when the window becomes visible, we reallocate everything,
7884 since we didn't keep track of what actually changed.
7886 (Fixes bug where changing the popdown strings of a
7887 combo to something of the same length caused them to
7888 blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)
7890 Tue May 12 02:31:57 1998 Tim Janik <timj@gtk.org>
7892 [security audit by Alan Cox]
7894 * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
7895 exceed maximum assumed size.
7897 * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
7898 not exceed maximum assumed size.
7899 (gtk_menu_factory_remove): likewise.
7900 (gtk_menu_factory_find_recurse): likewise.
7902 Mon May 11 23:53:38 1998 Tim Janik <timj@gtk.org>
7904 * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
7905 GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
7906 redrawn if that is still neccessary. don't allow queueing of already
7908 (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
7909 widgets which are in the queue can be destroyed safely, handle
7910 requeueing properly.
7911 (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
7912 widgets which are in the queue can be destroyed/unrealized safely.
7914 Mon May 11 17:54:44 BST 1998 Tony Gale <gale@gtk.org>
7916 * gtkfaq.sgml: add question on multi-threading,
7919 Mon May 11 09:56:45 1998 Tim Janik <timj@gtk.org>
7921 * configure.in (cflags_set): preserve automake CFLAGS.
7923 * Makefile.am: fully rename the created libraries to libgtk-1.1.la
7924 and libgdk-1.1.la. this means we need to change certain portions of
7925 the Makefile.am on major/minor version bumps.
7927 * ltmain.sh: the -release option is not required anymore.
7929 * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
7930 of the first argument to be of type GtkObject. unconditionally compile
7931 this function. removed __GNUC__ dependancy of the gtk_object_ref and
7932 gtk_object_unref macro wrappers for this function.
7934 Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
7938 (gtk_object_data_try_key):
7939 (gtk_object_data_force_id): these are now macros substituting the old
7940 functions. we just use the corresponding g_dataset_* functions for
7941 key->id associations. (this is to assure unique key<->id associations).
7943 1998-05-10 Stefan Jeske <stefan@gtk.org>
7945 * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
7948 * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.
7950 Sat May 9 20:11:20 1998 Owen Taylor <otaylor@gtk.org>
7952 * configure.in (LIBS): Try to figure out if this
7953 is Digital Unix and we need -std1 to get the
7956 Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
7958 * docs/gtk_tut_it.sgml: update of Italian tutorial
7959 translation from Daniele Canazza <dcanazz@tin.it>
7961 Sat May 9 02:34:41 1998 Tim Janik <timj@gtk.org>
7963 * gtk/gtkfeatures.h.in: new file used as template for
7964 * gtk/gtkfeatures.h: new file to define macros indicating newly
7965 introduced features, such as GTK_HAVE_SIGNAL_INIT.
7968 (gtk_signal_emitv_by_name):
7970 new functions to emit signals with an already provided parameter set.
7971 (provided by Kenneth Albanowski <kjahds@kjahds.com>).
7972 (gtk_signal_real_emit): prototype changes, so this functions always
7973 gets its parameters and signal structure as arguments.
7974 (gtk_signal_emit): provide the signal structure and parameter list for
7975 gtk_signal_real_emit.
7976 (gtk_signal_emit_by_name): likewise.
7978 Sat May 9 00:03:12 1998 Tim Janik <timj@gtk.org>
7980 * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
7981 signal connections through unsetting GTK_CONNECTED.
7982 (gtk_signal_handler_insert): reflect the presence of signal connections
7983 through setting GTK_CONNECTED.
7984 (gtk_signal_real_emit): only check for handler emissions if the object
7985 has the GTK_CONNECTED flag set.
7986 (gtk_signal_handler_pending): don't check for pending handlers if the
7987 GTK_CONNECTED flag is not set for this object.
7989 * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
7990 a GtkObject has signal handler connections.
7992 * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
7993 set for this object call gtk_signal_handlers_destroy().
7995 * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
7996 multiple processing of macro args.
7998 * gtk/gtktypeutils.c:
8001 * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
8003 Fri May 8 21:31:50 1998 Owen Taylor <otaylor@gtk.org>
8005 * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
8006 draw-queue when we are done.
8008 (gtk_widget_queue_draw/_queu_resize): Always return
8009 FALSE and avoid having two idles at the same time.
8011 Fri May 8 21:04:00 1998 Owen Taylor <otaylor@gtk.org>
8013 * gtk/gtktext.c: Various fixes to make sure cache
8014 lines are freed if line_start_cache doesn't point to the
8015 beginning of the cache.
8017 Thu May 7 09:44:22 1998 Owen Taylor <otaylor@gtk.org>
8019 * style_set improvements for GtkText and GtkEntry
8021 Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
8023 * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
8026 Thu May 7 12:52:45 1998 Tim Janik <timj@gtk.org>
8028 * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
8029 data chunks through a global object data structure list. unlink
8030 object data before invoking its destroy function.
8031 (gtk_object_finalize): slight modification to allow usage of object
8032 data during object finalization.
8034 Thu May 7 10:29:24 1998 Tim Janik <timj@gtk.org>
8036 * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
8037 signal names, e.g. "signal-name" is now an alias for "signal_name".
8038 (gtk_signal_handler_new): allocate handlers through a global handler
8039 structure list, that's faster than memchunks.
8040 (gtk_emission_new): allocate emissions through a global emission
8041 structure list, that's faster than memchunks.
8043 Thu May 7 05:14:19 1998 Tim Janik <timj@gtk.org>
8045 * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
8047 * ltmain.sh: added a new commandline flag -postfix similar to -release,
8048 but will immediately change the library name.
8051 * gtk/Makefile.am: specify -postfix and -version-info
8053 * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
8054 GTK_BINARY_AGE. calculate LT_* variables for libtool.
8056 1998-05-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
8058 * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
8059 background (fg_set -> bg_set confusion).
8061 1998-05-06 Stefan Jeske <stefan@gtk.org>
8063 * gtk/testgtk.c (unselect_all): Removed code that caused an
8066 Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
8068 * gtk/gtksignal.c: reimplemented the signal storage system to use a
8069 linear array rather than a hash table.
8070 be carefull *not* to keep any GtkSignal pointers across invokations
8071 of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
8072 general code cleanups, made all allocations through memchunks.
8073 (gtk_signal_lookup): we now do the lookup of signals through a key_id
8074 for the signal names to avoid multiple hashing of the signal name on
8075 lookups for the several hirarchy levels of an object.
8077 Tue May 5 19:49:27 1998 Owen Taylor <otaylor@gtk.org>
8079 * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
8080 to speed things up and remove code duplication.
8082 Reintegrated buffer overflow patches, and added
8083 some extra paranoia.
8085 Tue May 5 17:04:14 1998 Owen Taylor <otaylor@gtk.org>
8087 * gdk/gdk.c (gdk_event_translate): A guint * was
8088 being passed where X expected a Keysym *, and
8089 keysyms are long's on Alpha Linux. This was causing
8090 segfaults in Xlib, apparently because of alignment.
8091 (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
8093 Tue May 5 19:11:27 1998 Owen Taylor <otaylor@gtk.org>
8095 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
8096 set GDK_EXPOSURE_MASK for DrawingAreas
8098 Tue May 5 14:32:37 1998 Owen Taylor <otaylor@gtk.org>
8100 * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
8101 (superceded by RC file reparsing capabilities)
8103 * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
8104 events. (Shouldn't be sent to the InputOnly leader, which
8105 it is now by gdk_event_send_clientmessage_toall
8107 * gtk/testgtk.c: Added extra button to rcfiles test
8108 to send out _GDK_READ_RCFILES events.
8110 Tue May 5 11:03:00 1998 Owen Taylor <otaylor@gtk.org>
8112 * gtk/gtkselection.c (gtk_selection_clear): Fixed
8113 reversed conditionals that caused segfault on some
8116 Tue May 5 00:44:47 1998 Owen Taylor <otaylor@gtk.org>
8118 * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
8119 cast to GTK_OBJECT for gtk_object_ref.
8121 Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
8123 * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
8124 checking for signal initialization in gtksignal.c.
8126 * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
8127 a long debugging period ;)
8129 1998-05-05 Stefan Jeske <stefan@gtk.org>
8131 * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
8132 New function to wrap XSetDashes; modified gtkctree.c to use it.
8134 1998-05-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
8136 * configure.in: Added $x_libs in the other_libraries field in the
8137 check for XShapeCombineMask.
8139 Mon May 4 00:30:11 1998 Tim Janik <timj@gtk.org>
8141 * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
8143 * gtk/gtktypeutils.c: reimplemented the type storage system to use a
8144 linear array rather than a hash table. it actually speeded up testgtk
8145 for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
8146 pointers across invokations of gtk_type_node_next_and_invalidate() and
8147 therefore gtk_type_unique()!
8149 * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
8150 inheritance of a class pointer.
8151 (GTK_OBJECT): modifications for speedups.
8152 (GTK_IS_OBJECT): likewise.
8153 (GTK_OBJECT_CLASS): likewise.
8154 (suggested by owen).
8156 * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
8158 * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
8160 * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
8161 since its derivation changed 4 month ago ;(. showed up with the unique
8162 type name checking code in gtk_type_unique().
8164 * random guint->GtkType and macro fixups.
8166 Sat May 2 23:14:34 1998 Owen Taylor <otaylor@gtk.org>
8168 * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
8169 Configure events that would result in a negative
8172 Sun May 3 14:55:34 1998 Owen Taylor <otaylor@gtk.org>
8174 * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
8175 "glibconfig.h" and another about writing another IRC
8178 Sat May 2 00:14:05 1998 Owen Taylor <otaylor@gtk.org>
8180 * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
8181 parameters to log are doubles. Digital Unix apparently
8182 is missing the argument in its prototype.
8184 Sun May 3 19:04:46 1998 Owen Taylor <otaylor@gtk.org>
8186 * gtk/gtklabel.c (gtk_label_state_changed): Don't
8187 force a clear until the widget is actually on
8190 Sun May 3 21:32:35 1998 Owen Taylor <otaylor@gtk.org>
8192 * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
8193 to make this consistent with the gtk-1-0 tree.
8195 Sun May 3 13:38:22 1998 Owen Taylor <otaylor@gtk.org>
8197 * configure.in acheader.h gdk/gdkwindow.c
8198 Check for Shape extension both on the client and server
8199 side. (And, more importantly, check for the shape extension
8200 so we may include -lXext even when compiling with --disable-xshm)
8202 Don't set override_redirect on all shaped windows. It isn't
8205 * gdk/gdkwindow.c: Set ->colormap to NULL for root
8206 and foreign windows. Use this to check if we
8207 need to get the colormap from X.
8209 Fri May 1 22:32:47 1998 Owen Taylor <otaylor@gtk.org>
8211 * gtk/gtkbutton.c (gtk_button_paint): Draw the areas
8212 between the default and the button always in GTK_STATE_NORMAL.
8214 * gtk/gtkrange.c (gtk_range_style_set): Added a style_set
8217 Fri May 1 16:40:57 1998 Owen Taylor <otaylor@gtk.org>
8219 * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
8220 Fix a buffer overflow on pixmaps that claim to have
8221 more than 31 characters per pixel.
8223 (gdk_pixmap_read_string): Don't wrap around strings longer
8224 than half of address space ;-)
8226 * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
8227 that were used for printing integers.
8234 int foo (void) { ... }
8236 Even where there were proper prototypes elsewhere.
8238 * gdk/gxid.c (handle_claim_device): Some extra checks.
8239 It isn't safe against being fed bad X id's, but at
8240 least it should be safe against deleting all your
8243 Sun May 3 19:45:09 1998 Tim Janik <timj@gtk.org>
8245 * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
8246 to set the adjustments value when there is no current emission.
8247 [ Removed by mutual agreement owt 5/3/1998 ]
8249 * gtk/gtksignal.c: added new functions to retrive the number of
8250 existing emissions for a certain signal.
8251 (gtk_signal_n_emissions): new function.
8252 (gtk_signal_n_emissions_by_name): new function.
8254 Sun May 3 16:55:43 1998 Tim Janik <timj@gtk.org>
8256 * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
8257 set the current focus_child of a container, does proper referencing and
8258 adjusts the vadjustment/hadjustment associated with the focus widget.
8260 * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
8261 containers via gtk_container_set_focus_child.
8263 * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
8266 * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
8267 child since not every child removal goes through this function (this
8268 showed up after gtk_container_set_focus_child() started to reference the
8269 focus_child of a container).
8271 * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
8272 of a container from gtk_container_remove into this place.
8274 Sat May 2 22:33:45 1998 Tim Janik <timj@gtk.org>
8276 * gtk/gtksignal.c: added new functions to operate on intermediate
8277 function pointers. implemented incremental blocking.
8278 (gtk_signal_disconnect_by_func): new function.
8279 (gtk_signal_handler_block_by_func): new function.
8280 (gtk_signal_handler_unblock_by_func): new function
8282 Fri May 1 22:45:55 1998 Owen Taylor <otaylor@gtk.org>
8284 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
8285 Always show the scrollbars when the policy is
8286 GTK_POLICY_ALWAYS...
8288 Sat May 2 20:19:03 1998 Tim Janik <timj@gtk.org>
8290 * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
8291 "value_changed" if we really passed a new value.
8292 (gtk_adjustment_changed): new function to emit the "changed" signal.
8293 (gtk_adjustment_set_value): new function to emit the "value_changed"
8296 Fri May 1 12:28:35 1998 Owen Taylor <otaylor@gtk.org>
8298 * gtk/gtkcombo.c: Further changes to the way the window
8299 is popped up so that it will be compatible with
8300 auto-scrolling in the future.
8302 Fri May 1 20:25:29 1998 Tim Janik <timj@gtk.org>
8304 * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
8305 the combo-list is empty since that will cause the combo to operate
8306 on a non existing GtkList window.
8307 (gtk_combo_get_pos): provide the combo list with a usfull default
8309 (gtk_combo_popup_button_press): grab the focus.
8310 (gtk_combo_activate): grab the focus.
8312 Fri May 1 12:06:43 1998 Owen Taylor <otaylor@gtk.org>
8314 * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
8315 function to reset the RC styles for a heirarchy
8317 Clear the window background if necessary in
8318 gtk_window_style_set.
8320 * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
8321 rereads all previously read RC files.
8323 * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
8324 (Should it just be called gdk_get_toplevels?)
8326 * gtk/testgtk.c: New test to reload RC files.
8328 Fri May 1 13:57:36 1998 Tim Janik <timj@gtk.org>
8331 * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
8332 clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
8333 GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
8334 the GTK_ prefix (this solution involved less changes in the
8335 gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
8336 the mem_chunk==NULL test in gtk_clist_construct. merged in changes
8337 from lars & stefan to support the derivation of GtkCtree.
8341 initial import of a tree widget derived from gtkclist, courtesy
8342 of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
8345 Fri May 1 10:05:44 1998 Tim Janik <timj@gtk.org>
8347 * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
8349 (gtk_list_insert_items):
8350 (gtk_list_remove_items_internal):
8351 (gtk_list_clear_items):
8352 remove a possible pointer grab, we might get thrown into a loop
8354 (gtk_list_button_press): grab the pointer *before* selecting the child,
8355 because selection of items may cause the lists children to change,
8356 resulting in a grab release.
8357 (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
8359 (gtk_list_shutdown): remove all children from the list.
8360 (gtk_real_list_unselect_child):
8361 (gtk_real_list_select_child): *always* put our internal structures into
8362 sane state *before* signal emisions (i.e. list->selection updates prior
8363 to gtk_list_item_[de]select() calls).
8365 * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
8366 focused child walks out of the window.
8367 removed CAN_FOCUS for the combo arrow's button since it doesn't react
8368 to keyboard events ("clicked" connection is missing).
8370 Fri May 1 00:42:25 1998 Owen Taylor <otaylor@gtk.org>
8372 * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
8373 getting colormap for FOREIGN windows to go along with
8374 Raster's fix for visuals.
8379 Thu Apr 30 23:32:51 1998 Owen Taylor <otaylor@gtk.org>
8381 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
8382 Check to catch the case when the viewport fits in either
8383 direction or both, instead of flip-flopping infinitely.
8385 Only show/hide the scrollbars once at the end.
8387 Thu Apr 30 21:56:07 1998 Owen Taylor <otaylor@gtk.org>
8389 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach):
8390 Include the scrollbars in the foreach call.
8391 (gtk-fortier-980405-0.patch;
8392 Patrice Fortier <Patrice.Fortier@aquarel.fr>).
8395 really should also include its tabs, but that might cause
8396 problems for programs if they
8398 Thu Apr 30 21:51:52 1998 Owen Taylor <otaylor@gtk.org>
8400 * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
8401 resize if the size actually changed.
8402 (gtk-johannes-980414-0.patch ;
8403 johannes@nada.kth.se (Johannes Keukelaar) )
8405 Thu Apr 30 10:22:59 1998 Owen Taylor <otaylor@gtk.org>
8407 * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
8408 ltmain.sh ltconfig config.sub config.guess:
8410 Reverted back to libtool-1.2 (plus minor patches) so as not to
8411 force the issue for everyone else.
8413 Thu Apr 30 10:22:59 1998 Owen Taylor <otaylor@gtk.org>
8415 * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
8416 Updated to libtool 1.2a.
8418 * gtk/gtkclist.c: Draw the in-between lines with style->base
8419 instead of style->white.
8421 Wed Apr 29 15:46:13 1998 Owen Taylor <otaylor@gtk.org>
8423 * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c:
8424 Cache the colormap and children of a window locally
8425 instead of fetching them from the server when needed.
8426 Huge performance difference for creating/destroying
8429 * gtk/gtkstyle.c: Find the depth from the cached
8430 visual, instead of asking the server.
8432 * gtk.m4: Distribute the new version which tries to
8433 figure out what went wrong and give helpful error
8436 * ltmain.sh ltconfig config.sub config.sh:
8437 Updated to libtool 1.2a
8439 * gtk/gtktext.c: Fixed a bug where the drawn level
8440 was being messed up when the text was scrolled
8443 Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
8445 * gtk/gtkfilesel.c: don't die when naughty people remove parts of
8446 the filesystem under you (fix from Josh)
8448 Thu Apr 30 09:49:14 1998 Tim Janik <timj@gtk.org>
8450 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
8451 if the viewport already exists before iterating over it, maybe we
8452 haven't been constructed yet.
8454 Thu Apr 30 01:51:00 1998 Tim Janik <timj@gtk.org>
8456 * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
8457 the GtkBin widget already has a child.
8459 * gtk/gtkbox.c (gtk_box_pack_{start|end}):
8460 check that child->parent == NULL;
8462 Tue Apr 28 22:13:54 1998 Owen Taylor <otaylor@gtk.org>
8464 * gtk/gtkselection.c (gtk_selection_clear): Only return
8465 FALSE when the clear event is been rejected, not when
8466 widget has already lost the selection. (Which should
8467 only happen when we are setting the selection to another
8470 Fri Apr 24 19:07:32 1998 Owen Taylor <otaylor@gtk.org>
8472 * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
8474 Removed the "check visibility after gtk_widget_unparent" bug
8475 in hopefully the last three places.
8477 Tue Apr 28 15:46:41 1998 Tim Janik <timj@gtk.org>
8479 * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
8482 Mon Apr 27 15:11:52 1998 Tim Janik <timj@gtk.org>
8484 * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
8485 for CAN_FOCUS widgets.
8487 * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
8488 adjustments for the table.
8489 (create_list): feature automatic adjustment of the scrolled window to
8490 always contain the focused child.
8491 (create_main_window): keep the focussed button always inside of the
8494 * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
8495 adjustments, to contain the allocation of the currently focused child.
8496 (gtk_container_set_focus_hadjustment): new functin to set the
8497 horizontal focus adjustment.
8498 (gtk_container_set_focus_vadjustment): new functin to set the vertical
8501 * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
8502 clamp the currents adjustment page into a specific range.
8504 * random GtkType fixups for gtk_*_get_type() functions.
8506 Fri Apr 24 18:37:16 1998 Owen Taylor <otaylor@gtk.org>
8508 * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree):
8509 Account for the fact that gtk_tree_item_remove_subtree
8510 will be called recursively.
8512 Handle removing a collapsed subtree.
8514 (From Andy Dustman <adustman@comstar.net>)
8516 * gtk/gtktree.c (gtk_tree_remove_items): Look for the
8517 root tree when removing items from a non-previously
8520 * gtk/testgtk.c: Added a remove_subtree button.
8522 Thu Apr 23 23:44:17 1998 Owen Taylor <otaylor@gtk.org>
8524 * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
8525 before object removing data. This change fixes a bug where
8526 removing the last weak references would cause it to be
8529 Wed Apr 15 20:42:46 1998 Owen Taylor <otaylor@gtk.org>
8531 * gdk/Makefile.am: Removed mostly useless dependency that
8532 was causing problems for SGI's make, when used with
8533 the 'make dist' form of GTK+. (Dependency caused dependencies
8534 to be redone when BUILT_SOURCES changed)
8536 Thu Apr 30 11:18:00 1998 Owen Taylor <otaylor@gtk.org>
8538 * gtk/gtkcombo.[ch]: Allow the user to use the popup list
8541 * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
8542 to gtkitem.c so dragging can also work in lists.
8544 * gtk/gtklist.[ch]: Track child enter events and use
8545 those to allow dragging the selection.
8547 Thu Apr 30 11:16:06 1998 Owen Taylor <otaylor@gtk.org>
8549 * gtk/gtktext.c: Try enabling background pixmaps for editable text
8550 widgets. There is a bit of flashing, but not too bad. If you
8551 don't want the flashing, you can always not set a background
8554 Wed Apr 29 15:46:13 1998 Owen Taylor <otaylor@gtk.org>
8556 * gtk/gtktext.c: Fixed a bug where the drawn level
8557 was being messed up when the text was scrolled
8560 1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
8562 * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
8563 bug: There is no need to set the ExposureMask in the XGrabPointer
8564 (this caused DnD programs to crash).
8566 Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
8568 * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
8569 field to be of type guint.
8570 * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
8572 (gtk_accelerator_table_install): keep a per object list of accelerator
8573 tables that refer to this object.
8574 (gtk_accelerator_table_remove): remove the accelerator table from the
8576 (gtk_accelerator_table_clean): warn if there are any object references
8577 left in an accelerator table upon destruction.
8578 (gtk_accelerator_tables_delete): new function to delete object
8579 references from the accelerator tables associated with this object.
8581 * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
8582 GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
8583 of an accelerator can be prevented by gtk_signal_emit_stop().
8584 (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
8585 so there are no stale pointers in accelerator tables left.
8587 1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx>
8589 * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
8590 visible before we unparent it.
8592 Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
8594 * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
8595 running_timeouts list with the tmp_list link itself, not with a new
8596 GList structure pointing to our link. that would fill up memory and
8597 causes the GList.data fields of the running_timeouts list to point to
8598 GList structures and not GtkTimeoutFunction structures which is a
8600 (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
8603 Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
8605 * gtk/gtkradiomenuitem.h:
8606 * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
8607 ala gtk_radio_button_set_group.
8608 (gtk_radio_menu_item_init): assure that we always have at least a group
8609 that points to self.
8611 * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
8612 added g_return_if_fail() statements.
8613 (gtk_radio_button_init): assure that we always have at least a group
8614 that points to self.
8616 Fri Apr 17 03:05:05 1998 Tim Janik <timj@gtk.org>
8618 * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
8620 Wed Apr 15 05:13:09 1998 Tim Janik <timj@gtk.org>
8622 * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
8623 (Damon Chaplin), which i got wrong when applying Damon's patch the last
8626 Wed Apr 15 20:42:46 1998 Owen Taylor <otaylor@gtk.org>
8628 * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
8629 that when we are running with a non-installed colormap,
8630 in 8-bit pseudo-color, we actually are using the system
8631 visual. (Fixes *Bad Match* errors on Digital Unix machines
8632 with multiple 8-bit pseudo-color visuals)
8634 1998-04-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
8636 * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
8637 by whoever thought that randomly changing ints to unsigned int
8638 without reviewing the code was a good idea. It is, btw not
8639 mentioned in the ChangeLog as usual, but I know it was not Elliot
8640 the culprit this time.
8642 Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
8644 * Released GTK+ 1.0.0