-Wed Jan 20 19:57:14 1999 Owen Taylor <otaylor@redhat.com>
+Mon Mar 13 18:37:55 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkdnd.c (gtk_drag_begin): Start off with the
- cursor for "no drop" since if we'll get a status
- if we are over a drag window, but none if we aren't
- over one.
+ * gdk/gdkdnd.c: Fix a bunch of cases where XGetWindowProperty()
+ is called without trapping X errors.
-1999-01-20 Jeff Garzik <jgarzik@pobox.com>
+Fri Feb 25 10:48:53 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkcombo.c (gtk_combo_entry_key_press):
- Free 'nprefix', closing a memory leak.
- Spaced out the code a bit to make it more readable.
+ * gtk/gtkrc.*: Fix problem where stray '"' characters found their
+ way into the fontset lists.
- * gtk/gtkhbox.[ch] (gtk_hbox_new),
- gtk/gtkvbox.[ch] (gtk_vbox_new):
- Change 'homogenous' arg from gint to gboolean.
+Tue Feb 22 08:52:52 2000 Tim Janik <timj@gtk.org>
- * gtk/gtktogglebutton.[ch]:
- New function gtk_toggle_button_get_active().
+ * gtk/gtkthemes.h: add extern "C" scope.
-1999-01-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
+Mon Feb 21 20:16:42 2000 Lars Hamann <lars@gtk.org>
- * gtk/gtkdnd.c (gtk_drag_get_event_action): Allow button 2 to act
- as GDK_ACTION_ASK. Also, allow MOD1 to specify GDK_ACTION_ASK
- only if that action is enabled in the actions argument.
+ * gtk/gtkclist.c: applied patch from Guy Harris <guy@netapp.com>
+ to make appends to the list constant. (gtk-guy-990901-0.patch)
-1999-01-20 Raja R Harinath <harinath@cs.umn.edu>
+Mon Feb 14 22:50:10 2000 Tim Janik <timj@gtk.org>
- * configure.in (gtklocaledir): New variable. Define to
- $prefix/$DATADIRNAME/locale. This will point to the directory
- where po/Makefile actually installs the message translation
- tables.
- * gtk/Makefile.am (INCLUDES): Define GTK_LOCALEDIR to
- $(gtklocaledir) rather than $prefix/share/locale.
+ * gtk/gtktypeutils.c (gtk_type_init): use g_str_hash() and g_str_equal()
+ for the typename hash table.
-Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
+Mon Feb 14 15:01:23 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
- LC_MESSAGES in locale.h. As a last resort for such systems, set locale
- according to LC_ALL.
+ * gtk/gtkpaned.c (gtk_paned_compute_position): Add some sanity checks
+ to make sure we never divide by zero.
+ (Problem pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>)
-Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
+Mon Feb 14 12:29:38 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
- a background pixmap in with gdk_draw_pixmap(), set
- it as a tile pixmap for a GC. This should speed
- up things considerably and also will hide a bug
- where text->first_onscreen_ver_pixel is being
- corrupted, causing the bg pixmap drawing code to generate
- graphics exposes.
+ * gtk/gtkfontsel.c: Apply patch from
+ SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp> to make font selector work a little
+ better with 2-byte fonts. (Load a fontset instead of a font for two byte fonts.)
-Tue Jan 19 22:15:10 1999 Lars Hamann <lars@gtk.org>
+ Also, some cleanups in atom handling.
- * gtk/gtklist.c
- (gtk_list_button_press): only call grab_add if pointer_grab succeeds.
- (gtk_list_unmap): remove pointer/widget grabs if needed.
- (gtk_list_signal_focus_lost): removed.
- (gtk_list_focus) (gtk_list_set_focus_child): set last_focus_child.
- (gtk_list_remove_items_internal) (gtk_list_clear_items): unset
- undo_focus_child if necessary. In case of SELECTION_BROWSE/EXTENDED
- select a new item if selection is empty.
+Sun Feb 13 08:02:21 2000 Tim Janik <timj@gtk.org>
-Tue Jan 19 00:21:15 1999 Tim Janik <timj@gtk.org>
+ * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
+ not GtkWidget.
- * gtk/gtkcompat.h: add compatibility define for
- gtk_ctree_set_reorderable.
+Fri Feb 11 02:19:32 2000 Tim Janik <timj@gtk.org>
-Tue Jan 19 00:02:10 1999 Lars Hamann <lars@gtk.org>
+ * gtk/gtkhpaned.c (gtk_hpaned_size_allocate):
+ * gtk/gtkvpaned.c (gtk_vpaned_size_allocate):
+ * gtk/gtkpaned.c (gtk_paned_compute_position): had to squeeze some
+ more guint wrap-around bugs before going to bed.
- * gtk/gtkctree.c (gtk_ctree_node_set_row_data_full):
- add a sanity check [from Todd Dukes <todddukes@netscape.net>]
-
-Mon Jan 18 22:54:11 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_button_press): only call grab_add
- if pointer_grab succeeds.
- (gtk_clist_unmap): remove pointer/widget grabs if needed.
-
-Mon Jan 18 15:46:14 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c (gtk_label_init): Initialize
- label->label_wc. (We allocate labels from
- a memchunk)
-
-Mon Jan 18 18:53:08 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkscale.c (gtk_scale_set_digits): CLAMP digits into a
- meaningfull range (we need to stay below a certain limit anyways
- to avoid string buffer overflows).
-
- * gtk/gtkvscale.c (gtk_vscale_pos_background): fixed up background
- area calculations for GTK_POS_RIGHT and GTK_POS_BOTTOM.
- * gtk/gtkhscale.c (gtk_hscale_pos_background): likewise.
- (gtk_hscale_draw_value): safety CLAMP the value's x position for
- GTK_POS_TOP and GTK_POS_BOTTOM, so we don't paint strings outside of
- our allocation.
-
- * gtk/gtkscale.c: implemented GtkScale::digits, GtkScale::draw_value
- and GtkScale::value_pos arguments.
-
-Mon Jan 18 14:26:17 1999 Owen Taylor <otaylor@redhat.com>
-
- * docs/Changes-1.2.txt: Some editing, a little more
- detail.
-
-Mon Jan 18 13:25:14 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to
- set the title of a menu in the torn-off state.
-
- * gtk/gtkthemes.c (gtk_theme_engine_get): When loading
- of theme engine fails, just warn and do without -
- don't error out.
-
- * gtk/gtkmain.c (gtk_check_version): s/to/too/.
-
-Mon Jan 18 01:21:03 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (draw_row): fixed auto resize bug.
-
-Sun Jan 17 17:35:28 CST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.13
-
- * README:
- INSTALL:
- docs/gtk-config.1: ver=1.1.13
-
-Mon Jan 18 00:22:54 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release):
- block drag source signal handler during column resizes.
- (gtk_clist_set_column_visibility): resize clist if needed.
- (gtk_clist_map): raise resize windows to make resize
- cursor visible again.
-
-Sun Jan 17 22:47:15 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.[hc]:
- * gtk/gtkspinbutton.[hc]:
- * gtk/gtkscrolledwindow.[hc]:
- * gtk/gtkprogressbar.[hc]:
- * gtk/gtkpreview.[hc]:
- * gtk/gtkobject.[hc]:
- * gtk/gtkentry.[hc]:
- * gtk/gtkctree.[hc]:
- * gtk/gtkcontainer.[hc]:
- * gtk/gtkclist.[hc]:
- removed deprecated functions: gtk_clist_set_border,
- gtk_container_block_resize, gtk_container_unblock_resize,
- gtk_container_need_resize, gtk_ctree_set_reorderable,
- gtk_ctree_show_stub, gtk_ctree_set_use_drag_icons,
- gtk_entry_adjust_scroll, gtk_object_class_add_user_signal,
- gtk_preview_put_row, gtk_progress_bar_construct,
- gtk_scrolled_window_construct, gtk_spin_button_construct,
- gtk_widget_freeze_accelerators, gtk_widget_thaw_accelerators.
-
- * gtk/gtkcheckmenuitem.c: removed binary variant of
- gtk_check_menu_item_set_state, this is still defined in gtkcompat.h
- though.
-
- * docs/Changes-1.2.txt:
- removed section about gtk_idle_remove_by_data vs.
- gtk_timeout_remove_by_data, we actually don't even provide a
- gtk_timeout_remove_by_data() function.
- added a table with removed functions and their replacements.
-
- * NEWS: updates for 1.1.13.
-
-Sun Jan 17 17:56:33 1999 Owen Taylor <otaylor@redhat.com>
-
- Patch from Felix Bellaby <felix@pooh.u-net.com>
-
- * gdk/gdk.c: Use XmbSetWMProperties to set
- the class/command on the loader window so that the
- client machine is also set in the same place.
- (For X11R5 sesssion management compatibility)
-
- * gdk/gdk.c: (gdk_set_sm_client_id) Implementation
- of function to set the session manager client ID.
-
- * gdk/gdkwindow.c (gdk_window_new): Set
- WM_CLIENT_LEADER propertiy on all windows pointing
- back to GDK's leader window.
-
-Sun Jan 17 12:01:57 1999 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkrc.c (gtk_rc_style_init): Allow a bg_pixmap
- of "<none>", as there was no way to set the background
- on all widget but some widgets. This is important
- because Text widgets with background images are
- slow and possibly ugly.
-
-1999-01-17 Nat Friedman <nat@nat.org>
-
- * gtk/gtkscrolledwindow.c (DEFAULT_SCROLLBAR_SPACING): New macro.
- Changed the spacing from 5 to 3.
-
- * gtk/gtkmenubar.c (BORDER_SPACING): Changed the extra spacing on
- the menubar from 2 to 0.
-
-Sun Jan 17 11:51:17 1999 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtktext.c (gtk_text_move_cursor): Fix typo
- [ gtk-mailund-990116-0: Thomas Mailund Jensen <mailund@daimi.au.dk> ]
-
-Sun Jan 17 11:15:05 1999 Christopher Blizzard <blizzard@appliedtheory.com>
-
- * gtk+.spec: Update to version 1.1.13, change packager address.
-
-Sun Jan 17 14:52:29 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkcompat.h:
- * gtk/gtkcheckmenuitem.[hc]:
- deprecated gtk_check_menu_item_set_state, people should use
- gtk_check_menu_item_set_active instead.
-
- * gtk/testgtk.c:
- s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.
-
-Sun Jan 17 05:19:14 1999 Tim Janik <timj@gtk.org>
-
- * configure.in: incremented version number to 1.1.13, bin age 0,
- interface age 0.
-
- * gtk/gtkmain.c (gtk_idle_remove_by_data): use g_idle_remove_by_data to
- remove idles, so `data' cannot conflict with other sources.
-
- * gtk/gtkcompat.h: define gtk_style_apply_default_pixmap here.
-
- * gtk/gtkstyle.[hc]: removed gtk_style_apply_default_pixmap.
- (struct _GtkStyle): reordered GtkStyleClass*klass; member.
-
-Sat Jan 16 19:42:48 1999 George Lebl <jirka@5z.com>
-
- * gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
- to the position of the tooltip. This fixes tooltip positioning
- problems with some widgets such as a checkbox.
-
-Sat Jan 16 14:01:53 1999 Stuart Parmenter <pavlov@gtk.org>
-
- * gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
-
-Sat Jan 16 05:02:22 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
-
-Fri Jan 15 19:16:42 1999 Tim Janik <timj@gtk.org>
-
- * gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk
- code.
-
- * gtk/gtkrc.c (gtk_rc_style_unref): added an assertment.
-
- * gtk/gtkcompat.h:
- * gtk/gtklabel.h:
- don't provide compatibility defines if GTK_DISABLE_COMPAT_H is defined.
-
- * gtk/gtkstyle.h:
- * gtk/gtkstyle.c: coding style, indentation and alignment fixups.
- (gtk_draw_string):
- (gtk_paint_string):
- (gtk_draw_polygon):
- (gtk_style_set_background): fixed assertments.
- (gtk_default_draw_ramp):
- (gtk_default_draw_cross):
- (gtk_default_draw_oval): issue warnings since these functions aren't
- yet implemented.
-
- * gdk/gdkwindow.c:
- (gdk_window_hide): only unmap window if already mapped.
- (gdk_window_show): only map window if !mapped.
- (gdk_window_internal_destroy): destroyed windows can't be mapped.
-
- * gtk/gtkwidget.c (gtk_widget_event): don't ignore expose events just
- because a resize is queued on a widget, we rely on the expose events
- now.
-
-Fri Jan 15 10:22:21 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwidget.c (gtk_widget_class_init):
- nparams for selection_get should be 3, not 2.
- [ From Damon Chaplin <damon@karuna.freeserve.co.uk> ]
-
- * gtk/gtkeventbox.c (gtk_event_box_paint): Add a paint
- routine so queued redraws work inside event boxes.
-
-Thu Jan 14 17:47:37 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only
- redraw character under cursor when not displaying
- highlighted selection.
-
- * gdk/gdkrgb.c (gdk_rgb_init): Add in a cast to
- gpointer to make IRIX cc happy.
-
-Thu Jan 14 12:29:50 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkcheckbutton.c (gtk_check_button_draw): Restructure
- the drawing code to remove a bit of duplication -
- and to remove a call to gtk_widget_draw_focus()
- that queues a redraw when an expose occurs.
-
- * gtk/gtklabel.c (gtk_label_expose): Fix up handling
- of ypadding.
-
- * gtk/gtknotebook.c (gtk_notebook_draw): If we redraw
- the whole widget, also redraw the corresponding
- areas of the child widget. (have_visible_child
- still has some problems)
-
- * gdk/gdkpixmap.c: Change some g_new's to g_new0 so
- that fields unused for pixmaps get initialzized
- sanely.
-
- * gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: Add new calls
- gdk_window_is_visible() and gdk_window_is_viewable()
- and a mapped flag to the window private structure.
-
- * gtk/gtkbin.c gtk/gtkclist.c gtk/gtkfixed.c gtk/gtkitem.c
- gtk/gtklayout.c gtk/gtklist.c gtk/gtkmenushell.c
- gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtktree.c
- gtk/gtktreeitem.c gtk/gtkviewport.c:
- Map windows after mapping children.
-
- * gtk/gtkwidget.c (gtk_widget_clip_rect): Handle
- rectangles completely clipped away correctly.
-
- * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
- call gtk_widget_draw if width or height is 0.
-
- * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
- rely on GTK_REDRAW_PENDING after we've cleared
- it. (This was causing draw-combining to not
- happen at all).
-
- * gtk/gtkbin.c gtk/gtkscale.c: Remove uneccessary calls
- to gtk_widget_queue_draw() when mapping.
-
-Thu Jan 14 11:29:53 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (gtk_drag_get_event_action): Make
- MOD1-drag also do action ask.
-
- * gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
- button-release event we simulate to get grabs released,
- with a window of GDK_ROOT_PARENT instead of the actual
- widget. This is a bad hack in some sense, but seems
- to work nicely. (It's sort of like what you would
- if you grabbed on button press, then the user
- released outside of the widget.)
-
-Thu Jan 14 20:29:16 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkstyle.[ch] (gtk_style_apply_default_background):
- Change copy_area => !set_bg. Use tile instead of
- gdk_window_copy_area when drawing without !set_bg.
-
- This does mess up timj's neat check-button example,
- but is consistent with how we interpret background
- pixmaps everywhere else in the default scheme.
-
- Restructure code for clarity.
-
-Thu Jan 14 19:19:51 1999 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkevents.c: Do all event processing in
- dispatch() instead of prepare() and check().
-
-Wed Jan 13 22:34:29 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c
- gtk/gtkframe.c gtk/gtk[hv]box.c gtk[hv]paned.c gtk/gtklist.c
- gtkmenu.c gtkmenuitem.c gtkmenubar.c gtknotebook.c
- gtk/gtkscrolledwindow.c gtk/gtktable.c gtk/gtktree.c
- gtk/gtktreeeitem.c gtk/gtkviewport.c
-
- Fix up comparisons of signed and unsigned ints to avoid
- assigning negative widths/heigths.
-
-Wed Jan 13 21:18:41 1999 Owen Taylor <otaylor@redhat.com>
-
- * acinclude.m4 (ac_result): Unset CATOBJEXT so
- that the macros and Makefiles correctly handle
- disabling NLS when no gettext is found.
-
-Wed Jan 13 20:14:32 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkarg.c (gtk_arg_copy): in comparisions with GTK_TYPE_STRING, use
- the fundamental type to catch GTK_TYPE_IDENTIFIER as well.
-
- * gtk/gtkmenushell.c:
- (gtk_real_menu_shell_activate_current):
- (gtk_menu_shell_button_release): asure that we only activate sensitive
- menu items, reported by Dave Cole <dave@dccs.com.au>.
-
-Wed Jan 13 13:28:00 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.c: eliminate queue_clears or queue_draws where we know
- that expose events will be generated.
- (gtk_widget_map): only queue_draw for NO_WINDOW widgets.
- (gtk_widget_unmap): only queue_clear_child for NO_WINDOW widgets.
- (gtk_widget_size_allocate): we don't need a queue_clear on changing
- allocations of !NO_WINDOW widgets, we do still need a full redraw for
- them though.
-
- * gtk/gtklabel.c (gtk_label_set_text): check whether the new string
- actually differs from the original.
-
-Tue Jan 12 22:50:44 PST 1999 Manish Singh <yosh@gimp.org>
-
- * acinclude.m4
- * ltconfig
- * ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)
-
-Tue Jan 12 18:30:51 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/testdnd.c (label_drag_data_received): Add
- a drag_data_received handler for the label.
-
-Tue Jan 12 15:01:50 1999 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkevents.c: Removed the putback_events queue,
- since it was causing problems with event ordering -
- just keep a single queue. If we need it, we can
- add priorities to events.
-
- * gdk/gdkevents.c: Annotate events with flags - we allocate
- a GdkEventPrivate structure in gdk_event_new() and use these
- flags to mark an event being translated as "pending" -
- I.e., not yet ready to be dequeued. So we can put
- the event on the queue and get the order of the
- events right. (This solves the double-click problems)
-
- * gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
- of the next event on the event queue.
-
- * gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
- to check the next event without causing event queue
- reordering.
-
-Tue Jan 12 15:41:20 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c (gtk_label_expose): Minor fix
- to handling of misc->[x/y]pad
-
-Tue Jan 12 14:31:43 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap):
- Add back as wrapper function to restore source/binary
- compatibility. grrrr.
-
-Tue Jan 12 13:47:07 1999 Tim Janik <timj@gtk.org>
-
- * reworked the redrawing heuristics somewhat, this fixed a bunch of
- existing redrawing problems and majorly reduces overall redrawing needs
- during normal operation. basically we now only queue redraws when
- neccessary and much rely on the draw_area coalescing code in gtkwidget.c
- to optimize the queued portions. widgets will now upon reallocation only
- get redrawed if their allocation has changed. upon hide/show only the
- area allocated by the child will be queued for the parent, this has the
- side effect that parents which change their appearance in dependance on
- the numer of visible children have to keep track of their children's
- visiblity and eventually fully redraw themselves. this is a minor
- constrain with great benefits in terms of redraw reduction, and only got
- triggered by the notebook widget.
-
- * gtk/gtkwidget.c:
- (gtk_widget_queue_clear): don't bother if width and height == 0.
- (gtk_widget_queue_clear_child): new static function to queue a redraw of
- the area obscured by a child on a parent.
- (gtk_widget_queue_resize): queue_clear the widget if it is drawable.
- (gtk_widget_show): queue resize on the widget before showing.
- (gtk_widget_hide): queue resize on the widget after hiding.
- (gtk_widget_map): queue_draw the widget after mapping.
- (gtk_widget_unmap): queue_clear_child the widget.
- (gtk_widget_size_allocate): queue_clear_child and queue_draw if the
- widget's allocation changed.
- (gtk_widget_unparent): queue_clear_child so the parent redraws obscured
- portions.
- (gtk_widget_real_show):
- (gtk_widget_real_hide):
- (gtk_widget_real_map):
- (gtk_widget_real_unmap):
- (gtk_widget_real_size_allocate): don't bother with redraw queueing,
- descendants that override these functions don't do either and we handle
- all redrawing/resizing related stuff before or after the signal emission
- now.
-
- * gtk/gtkcontainer.c:
- (gtk_container_resize_children): don't bother about redrawing anymore
- since gtk_widget_size_allocate handles that for us now.
-
- * gtk/gtknotebook.h:
- * gtk/gtknotebook.c:
- added a flag have_visible_child to indicate whether we need to draw
- non child related portions at all, e.g. shadows etc.
- (gtk_notebook_draw): if have_visible_child changed, do a full paint
- instead of updating a small area only.
-
-Mon Jan 11 20:44:35 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to
- gtk_style_apply_default_background which takes an extra argument
- copy_area to determine NO_WINDOW widget pixmap copying.
- changed callers accordingly.
-
- * gtk/gtktogglebutton.c:
- (gtk_toggle_size_allocate):
- (gtk_toggle_button_expose):
- (gtk_toggle_button_paint): avoid messing with our parent's window if
- toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget.
-
- * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw
- the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active.
-
- * gtk/check-n.xpm:
- * gtk/check-y.xpm:
- * gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button
- bg_pixmaps.
-
-Mon Jan 11 23:52:58 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtklist.c (gtk_list_signal_drag_begin)
- (gtk_list_drag_begin): end drag selections if necessary.
-
- * gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
- public. Manually force synchronization of spin button text and
- adjustment value.
-
-Mon Jan 11 15:23:32 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
- gtk_widget_set_state, since that cares about redrawing already.
- some code cleanups.
-
- * gtk/gtktogglebutton.[hc]:
- * gtk/gtkfontsel.c:
- * gtkgamma.c:
- s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
- set_state is already taken by gtkwidget.h.
-
- * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
- gtk_toggle_button_set_active.
-
- * gtk/gtkstyle.c: some indentation cleanups.
-
-Mon Jan 11 15:12:33 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtktogglebutton.c (gtk_toggle_button_set_mode): take previous
- visibility state into account when unrealizing.
-
-Mon Jan 11 10:45:28 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c: Only remove handlers for motion/button_release
- at drop, remove "selection_get" handler later.
-
-Mon Jan 11 13:31:49 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
- again, since they 1) don't care about infinite recursion (likely
- to achive), 2) we are in feature freeze for 1.2. this definitely
- deserves a sane implementation in 1.3 though (but without a hook
- return value, without seq_id hackery and with recursion checks).
-
-Mon Jan 11 13:18:37 1999 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwindow.c:
- (gtk_window_key_release_event):
- (gtk_window_key_press_event): only pass key events to the focus widget
- if it is sensitive.
-
- * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
- submenu if it isn't sensitive.
- (gtk_menu_item_paint): state_type doesn't need to be reset to
- GTK_STATE_INSENSITIVE if the widget is insensitive anyways.
-
- * gtk/gtkcontainer.c (gtk_container_real_focus):
- * gtk/gtklist.c (gtk_list_focus):
- * gtk/gtkmenushell.c (gtk_menu_shell_move_selected):
- * gtk/gtknotebook.c (gtk_notebook_focus):
- s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
- sensitivity is determined through the parent as well,
- GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
- else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
- sensitivity.
-
- * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
- object if it is an insensitive widget.
-
-Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org>
-
- * gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook().
- You can have a notification when a type is created.
-
-1999-01-11 Tim Janik <timj@gtk.org>
-
- * gtk/gtkmain.c (gtk_propagate_event): added an assertement.
-
-Sun Jan 10 14:45:37 1999 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtktext.c (text_properties_equal): Fixed
- cut and paste bug when comparing text property
- bg colors.
- [ Matt Aubury <Matt.Aubury@comlab.ox.ac.uk> ]
-
-1999-01-10 Tim Janik <timj@gtk.org>
-
- * gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
- to initialize the object class and reattempt the lookup, reported
- by Paolo Molaro <lupus@lettere.unipd.it>.
-
-Sat Jan 9 17:36:20 1999 Owen Taylor <otaylor@redhat.com>
-
- * configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS.
-
-Sat Jan 9 17:27:49 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkfilesel.c (gtk_file_selection_populate):
- Mark another string for internationalization.
- [ Stanislav Brabec <utx@k332.feld.cvut.cz> ]
-
-Sat Jan 9 14:02:08 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtktooltips.c (gtk_tooltips_force_window): Set
- name "gtk-tooltips" on tip window so that a style
- can be set for tooltips.
-
-Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
- some list-manipulation breakage.
-
- * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
- window cache structure.
-
- * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
- event mask on the drag window so clicking on it
- doesn't pop up root menus, etc.
-
- * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
- signal handlers at button release.
-
-Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
- (gtk_spin_button_get_value_as_float): call gtk_spin_button_update
- before returning a value
-
- * gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
- if clist is a drag source.
- (gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.
-
- * gtk/gtkctree.c (remove_grab): copy of clist function.
- (gtk_ctree_drag_begin): let clists drag_begin method set the
- source info struct.
-
-Thu Jan 7 19:10:21 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
- to drawing the background of the bin window
- so that clearing and redrawing of child
- widgets work properly.
-
- * gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
- data so that if somebody triggers more redraw queuing
- from a expose_event handler, it doesn't confuse the
- heck out of GTK+. (But is highly liable to cause
- an infinite loop...)
-
-Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkselection.c (gtk_target_list_unref): Fix some
- more memory leaks.
-
-Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
- by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
- widget.
-
-Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
-
- * configure.in,po/it.po: added Italian translations
-
-Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
-
- * gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the
- event that was returned to us by gtk_get_current_event
-
-Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
- GdkRGB's visual and colormap around the color selection
- dialog so that the window and the previews have the
- same colormap. If an app adds things to the colorsel
- dialog, it will have to take care of them itself.
-
-Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkmain.c (gtk_propagate_event): Make
- gtk_propagate_event() non-static, we need it in gtkdnd.c
- so that the button-release we synthesize gets propagated
- correctly.
-
- * gtk/gtkdnd.c: Use gtk_propagate_event() so
- release gets to a GtkList. But we can't really
- get this right without access to the windows
- event masks and doing X-style propagation ourselves.
-
-Tue Jan 5 12:40:57 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkpreview.c: Add a size_allocate() routine
- and set the size of the preview window equal
- to the area we are going to draw on, instead
- of the entire allocation. Do this to avoid having
- to set a parent-relative background.
-
-Tue Jan 5 11:51:32 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
- When redrawing the under-cursor character, don't
- redraw the terminating NULL.
- [ From: dov@imagic.weizmann.ac.il (Dov Grobgeld) ]
-
-Tue Jan 5 11:31:55 1999 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkselection.c (gtk_target_list_unref): Free
- memory allocated for target lists.
-
- * gtk/gtkdnd.c (gtk_drag_drop_finished): Release
- selections before destroying info structure.
-
- * gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add
- new value GDK_DRAG_PROTO_NONE, use it for non-drag
- targets, to quiet Purify.
-
- * gdk/gdkdnd.c (gdk_window_register_dnd): Set size
- of property properly.
-
-Mon Jan 4 03:45:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.12
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- gtk+.spec:
- docs/gtk-config.1:
- gtk/gtkfeatures.h.in: version=1.1.12
-
-1999-01-04 Sung-Hyun Nam <namsh@lgic.co.kr>
-
- * configure.in (ALL_LINGUAS): Added 'ko'.
-
-Sun Jan 3 17:41:22 1999 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug
-
-Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
-
- * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT.
-
- * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with
- a priority of GDK_PRIORITY_EVENTS.
-
-1999-01-02 Jeff Garzik <jgarzik@pobox.com>
-
- * configure.in, config.h.in, gdk/gdkimage.c:
- Removed features.h test.
-
- * gdk/gdkdnd.c:
- Guard public functions against NULL pointer derefs.
-
-Fri Jan 1 18:41:09 PST 1999 Manish Singh <yosh@gimp.org>
-
- * gdk/gdk.c
- * gdk/gdkinputnone.h
- * gtk/gtkruler.c: casts to get rid of const warnings
-
- * gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
- cmp so people don't whine about rebuilds
-
- * gtk/gtknotebook.c: use g_snprintf on translated strings, so we
- don't get buffer overflows
-
- * gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
- Plug some memleaks.
-
-1999-01-01 Jeff Garzik <jgarzik@pobox.com>
-
- * configure.in, config.h.in:
- Check for features.h.
-
- * gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
- Fixed bug in linked list append logic by replacing hand-coded
- logic with a call to g_list_append. Bug found by tml.
-
- * gdk/gdkimage.c:
- 'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
- in sys/ipc.h, including one specific admonishment to use
- _SVID_SOURCE or _XOPEN_SOURCE. Manually defined the latter, and
- included features.h if present to obtain the necessary
- side-effects.
-
- * gtk/gtkclist.c, gtk/gtkeditable.c:
- Eliminates comma-after-final-element warnings.
-
- * gtk/gtkfontsel.c (gtk_font_selection_init):
- Fixed bug where an intl string was declared as _("x") in
- local var initializer.
-
-1998-12-31 Jeff Garzik <jgarzik@pobox.com>
-
- * gtk/gtklabel.c (gtk_label_split_text_wrapped):
- word->space is now initialized correctly.
- Reported by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>.
-
-1998-12-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gtk/gtkmain.c (gtk_main_do_event): Fix memory leak.
- gdk_event_put would make a copy of next_event, and next_event was
- not being freed.
-
-Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.11
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- gtk+.spec:
- docs/gtk-config.1:
- gtk/gtkfeatures.h.in: version=1.1.11
-
-1998-12-29 Owen Taylor <otaylor@srv-19-29.roc.ny.frontiernet.net>
-
- * gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one
- error when computing length.
-
-Thu Dec 24 14:35:48 1998 Jeff Garzik <jgarzik@pobox.com>
-
- * gdk/gdkevents.c, gdk/gdkim.c, gdk/gdkrgb.c, gdk/gdkwindow.c,
- gtk/gtkprogressbar.c:
- Pull in string.h for various mem*() and str*() functions,
- in an autoconf-friendly way.
-
-Thu Dec 24 12:40:45 1998 Jeff Garzik <jgarzik@pobox.com>
-
- * gdk/gdkfont.c: removed unused var
- * gdk/gdkim.c: 64-bit cast
- * gtk/gtkaccelgroup.c: point to const data
- * gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
- Made const-correct.
- * gtk/gtkfontsel.c: kill uninitialized var warning
- * gtk/gtkselection.[ch]: (gtk_target_list_new,
- gtk_target_list_add_table, gtk_selection_add_targets):
- Made const-correct.
- * gtk/testgtk.c: 64-bit cast
-
-Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- gtk+.spec:
- docs/gtk-config.1:
- gtk/gtkfeatures.h.in: version=1.1.10
-
-Wed Dec 23 20:31:40 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c: Fix problem where empty labels were
- getting a requisition height of zero, and trailing
- newlines were being ignored.
-
-Wed Dec 23 13:58:14 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c (gtk_label_parse_uline):
- label->label should be the mb text _after_ removing
- the underlines, not before.
-
- * gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
- title hack. If it deserves being done, it deserves
- being done right.
-
-1998-12-23 Elliot Lee <sopwith@redhat.com>
-
- * gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
- "GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
- it be recognized. If we're getting the title out of the GtkLabel,
- then remove all underscores.
-
-Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (gtk_drag_dest_handle_event):
- Request XmTRANFER_FAILURE on Motif drops not within
- a drop zone. I don't know why this is necessary,
- but it is.
-
- * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
- Motif flag field in response was getting wrong
- values.
-
-Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
- Return TRUE for button press events we handle.
- (Allows option menus in radio buttons to work...)
-
-Tue Dec 22 14:50:25 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
- when we've already found a widget, skip all checks
- for subsequent children.
-
- * gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
- !MAPPED, not !VISIBLE, since a widget (like a notebook
- page), can be VISIBLE, but !REALIZED or !MAPPED.
-
- * gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
- not foreach().
-
-Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
-
-Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
-
- * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
- events are processed.
-
- * gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
- variants: gtk_container_foreach_interp, gtk_idle_add_interp,
- gtk_timeout_add_interp, gtk_signal_connect_interp.
-
-Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * configure.in: added sv to ALL_LIGNUAS
-
-Sat Dec 19 22:49:40 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug
- that caused this function to always return NULL (noticed by marius
- vollmer).
-
-Sat Dec 19 17:28:30 1998 Owen Taylor <otaylor@redhat.com>
-
- * configure.in: Don't add the gthread libs to
- GLIB_LIBS either, or -lgthread -lpthread will get
- pulled into all applications because of shlib deps.
-
- * gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk:
- Use GLIB's priority #define. Revise scale of
- priorities.
-
-Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkmain.c: always run a g_main_iteration, even if
- there are no active main loops. This fixes the gimp splash
- screen.
-
-Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail
- (label->words != NULL) since that's a valid case when the label
- is empty, or just default constructed.
- fixed indentation prototype arguments and braces in some places.
- also, pointer comparisions and initializations are done with NULL
- not 0, there's a reason GLib defines NULL.
-
- * gdk/gdkevents.c (gdk_events_pending): return (queued_events ||
- putback_events) so this again returns whether events are pending,
- not whether other sources like idles are pending.
-
- * gtk/gtkmain.c (gtk_main_iteration_do):
- (gtk_main_iteration): return whether the loop is done, not whether
- something got dispatch to restore the original behaviour (yosh: this
- fixes code like in GleSelector).
-
-Fri Dec 18 19:20:45 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtkbutton.[ch]
- * gtktogglebutton.c: s/(enter|leave)_button/$1/g, since pthreads.h
- no longer conflicts
-
-Sat Dec 19 01:56:13 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
- bug.
-
-Fri Dec 18 15:30:43 PST 1998 Manish Singh <yosh@gimp.org>
-
- * configure.in: add ja to ALL_LINGUAS
-
-Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtksocket.c (gtk_socket_filter_func): Marked
- plug window as destroyed before destroying the
- window.
-
-Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
- tearoff window so when we reparent the window out,
- the window doesn't shrink down.
-
-1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * configure.in: do not export the glib flags for thread support to
- gtk-config.
-
-Fri Dec 18 01:32:59 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we
- get the original behaviour back, i.e. the event queue needs to be flushed
- after a main loop has been quitted.
- (gtk_main): add/remove the current main loop to/from the main loop
- before/after init/quit functions have been exected to preserve the
- original gtk_main_quit() behaviour.
-
-Thu Dec 17 23:48:29 1998 Tim Janik <timj@gtk.org>
-
- * gdk/gdkevents.c (gdk_events_init): changed argument order in call
- to g_main_add_poll() to match recent glib changes.
-
-Thu Dec 17 20:33:28 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk-config.in: Add @INTLLIBS@.
- gtk-scier-981116-0.patch Sean Cier <scier@PostHorizon.com>) ]
-
- * gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c
- gtk/gtkgamma.c gtk/gtkinputdialog.c
- gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c
- gtk/gtktipsquery.c:
-
- Applied parts of gtk-egger-981215-1 [ Daniel Egger
- <Daniel.Egger@t-online.de> ] marking additional strings for
- internationalization.
-
- * po/nl.po: Added Dutch translation from
- Paul Siegmann <pauls@euronet.nl>.
-
-Thu Dec 17 18:25:52 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
- info tag from the context so if the source unexpectedly
- responds in the future, we do nothing properly.
-
-Thu Dec 17 18:24:41 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
- the case where one side of the the pane is empty.
-
- * gtk/gtkfilesel.c (gtk_file_selection_init): Set
- dir_title before using it. (Pointed out by
- Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
-
-Thu Dec 17 10:53:20 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c (gtk_label_set_text): Free
- previous label->label_wc.
-
- * gtk/testgtkrc: Leave font, not fontset commented
- in by default.
-
-1998-12-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed
- unnecessary USE_XIM guard inside another. Made gdk_use_mb
- static. Compile gdk_set_locale also if not USE_XIM.
-
-Thu Dec 17 00:26:01 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.9
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- gtk+.spec:
- gtk/gtkfeatures.h.in:
- docs/gtk-config.1: version=1.1.9
-
-Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
-
- * autogen.sh: rm -rf intl breaks --disable-nls, put it back
-
- * gtkbutton.[ch]
- * gtktogglebutton.c: s/(enter|leave)/$1_button/g.
- Digital: 1 GTK+: 0 (for now)
-
-Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gdk/gdkevents.c: updated call to g_main_add_poll
- instead of g_main_poll_add
-
-Wed Dec 16 23:32:05 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c (gtk_label_expose): Remove
- unnecessary cast.
-
-Wed Dec 16 22:50:52 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0
- mb functions, and avoid them.
-
-Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkevents.c (gdk_events_queue): Don't
- call XPending() if we have putback events.
-
-Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.c (gtk_label_expose): Do nothing
- on empty string, quietly.
-
-Wed Dec 16 15:36:19 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
- Redraw the character under the cursor when removing
- the cursor.
-
-Wed Dec 16 13:06:17 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main
- thread lock back to GDK - we need it there for locking
- when translating events. Rename things appropriately.
-
-Wed Dec 16 11:44:21 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo.
-
-Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.8
-
- * ChangeLog:
- INSTALL:
- README:
- gtk+.spec:
- docs/gtk-config.1: version=1.1.8
-
-1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.
-
-Wed Dec 16 07:03:32 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: s/USER_DRAW/APP_PAINTABLE/. provided
- gtk_widget_set_app_paintable() which users can use to make
- a widget paintable for the application. changed other files accordingly.
-
-Wed Dec 16 05:26:32 1998 Tim Janik <timj@gtk.org>
-
- * configure.in: version bump to 1.1.8, binary age 0, interface age 0,
- depend on GLib 1.1.8.
-
- * gdk/gdkprivate.h:
- * gdk/gdkglobals.c: removed last Gdk threads specific bits.
-
- * gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.
-
- * gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
- to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
- honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
- and GTK_THREADS_LEAVE(). changed callers accordingly.
-
-Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * autogen.sh: warn if glib.m4 or gettext.m4 are not found
- in aclocal's directory.
-
-Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/testgtk.c (create_layout): Create buttons,
- not combos again.
-
-1998-12-15 Joel Becker <jlbec@ocala.cs.miami.edu>
-
- * autogen.sh: reordered gettextize and aclocal, because
- gettextize was messing up aclocal.m4.
-
-Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.h :
- removed clist flag : GTK_CLIST_DRAG_SELECTION
- added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
- GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
- (GtkCListDragPos) : new enum for DND
- (GtkButtonAction) : new enum of possible mouse button actions
- (struct _GtkCList): added button_actions array.
- Added drag_button and click_cell struct, to store cell and
- mouse button of last button_press_event
-
- (struct _GtkCListClass): new class method draw_drag_highlight.
- (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
- new functions. Moved from gtkctree.h. Now clist is reorderable
- as well.
- (gtk_clist_set_button_actions) new function to customize mouse
- button actions.
-
- * gtk/gtkclist.c:
- (gtk_clist_drag_begin)
- (gtk_clist_drag_motion)
- (gtk_clist_drag_leave)
- (gtk_clist_drag_end)
- (gtk_clist_drag_drop)
- (gtk_clist_drag_data_get)
- (gtk_clist_drag_data_received) : new dnd widget methods to
- implement clists reorderability via DND
-
- (remove_grab) : new function. remove mouse grab if necessary.
- (draw_drag_highlight) : new method. Draw dnd highlight depending
- on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
-
- (gtk_clist_class_init): added object args "reorderable" and
- "use_drag_icons"
-
- (gtk_clist_button_press) (gtk_clist_button_release) :
- use button_actions array to decide which action to perform.
- (gtk_clist_motion) : start reorder operation if necessary.
-
- * gtk/gtkctree.h :
- (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
- drag_row, drag_source, drag_target, reorderable, use_icons,
- in_drag, drag_rect
- (gtk_ctree_set_reorderable) : deprecated function.
- use gtk_clist_set_reorderable instead.
- (gtk_ctree_set_use_drag_icons) : deprecated function.
- use gtk_clist_set_use_drag_icons instead.
-
- * gtk/gtkctree.c :
- (gtk_ctree_class_init): removed object args "reorderable" and
- and "use_drag_icons"
-
- (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
- (tree_toggle_selection) (set_mouse_cursor) : removed
-
- (draw_drag_highlight) : new clist method. replacement for
- draw_xor_line and draw_xor_rect functions
- (check_drag) renamed check_cursor function
-
- (gtk_ctree_drag_begin)
- (gtk_ctree_drag_motion)
- (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
- reorderability via DND
-
- (gtk_ctree_button_release)
- (gtk_ctree_button_motion) : removed.
-
- * gtk/testgtk.c:
- (create_clist) : added new reorderable toggle button
-
-Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
- base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
- used in detergent commercials.
-
-Tue Dec 15 16:54:09 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklabel.h: Moved gtk_label_set() compatiblity
- define from <gtkcompat.h> to <gtklabel.h> for
- compatibility.
-
-1998-12-15 Jeff Garzik <jgarzik@pobox.com>
-
- * configure.in, gdk/Makefile.am, gtk/Makefile.am:
- Removed last remaining thread-related configure bits
- that have been moved into GLib.
-
-1998-12-15 Elliot Lee <sopwith@bogus.cuc.ml.org>
-
- * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
- as the mask for checking for GDK_INPUT_EXCEPTION events.
-
-1998-12-15 Martin Baulig <martin@home-of-linux.org>
-
- * acinclude.m4: Make the gettext check for for libc5 systems.
-
- * autogen.sh: Not running gettextize fails on a fresh CVS checkout
- and we'll get a lot of bug reports tomorrow, so I add it back.
-
- * acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
- AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
- warnings.
-
-Tue Dec 15 16:06:15 1998 Owen Taylor <otaylor@redhat.com>
-
- * acinclude.m4: Provide a hacked version of the
- gettext macros that never use the included gettext.
-
- * Makefile.am configure.in: Remove references
- to intl/
-
- * autogen.sh: Don't run gettextize.
-
-Tue Dec 15 14:30:35 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()
-
- * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
- to label. (Based on patch from Jeff Dairiki
- <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)
-
- - Adds new function gtk_label_set_line_wrap()
- - implement GTK_JUSTIFY_FILL.
- - rename gtk_label_set to gtk_label_set_text() add
- gtk_label_set() to gtkcompat.h.
-
- * Use an internal wc representation in the label, so
- that we handle underlining and line breaks correctly
- for multi-byte strings.
-
-Tue Dec 15 13:32:28 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwidget.h: Added GTK_USER_DRAW flag.
-
- * gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.
-
- * gtk/gtkdrawwindow.c gtk/Makefile.am: Removed
- GtkDrawWindow, which GTK_USER_DRAW obsoletes.
-
-Tue Dec 15 11:37:05 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkmain.c: Fixed up some warnings.
-
-Tue Dec 15 10:32:01 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtk{h,v,}paned.{c,h}: Add new functions
- gtk_paned_set_position(),
- gtk_paned_pack1/2(). The latter take a
- shrink and resize parameters, that allows setting
- minimum sizes and getting 'relative' resizing.
-
-Tue Dec 15 10:26:23 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkevents.c: Keep separate putback_events and
- queued_events queues so that we get both FIFO and
- preemptive behavior for gdk_event_put().
-
-Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkrc.c (gtk_rc_init): Removed unused
- variable, fixed minor memory leak.
-
- * gdk/gdk.c: Fixed another merge problem.
-
-Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.c (gdk_get_display): Remove gdk_signal,
- which crept back in in last commit.
-
-Tue Dec 15 01:38:53 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/Makefile.am: Commented out testthreads from
- the build process, since we won't have any idea
- how to create a thread.
-
- * configure.in (LIBS): use glib-config ... gthread
- so we always build a thread-compatible library.
-
- * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
- gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
- gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
- gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
- gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
-
- Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
- and idles to account for the fact that they are no
- longer called within the GTK+ lock.
-
- * gtk/gtkprivate.h: Added definitions for locking
- the main GTK+ mutex.
-
- * gtk/gtkmain.c: Re-implement the main loop
- in terms of the GLib main loop.
-
- * gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
- functionality, as it seems better to subsume GDK within the
- GTK+ lock than vice-versa.
-
- * gdk/gdkevents.c: New file, containing event handling bits
- from gdk.c.
-
- * gdk/gdkevents.c: Implement event source for GDK
- events.
-
- * configure.in gdk/gdkevents.c: Removed attempts to
- subtract base_id, which were already non-functional.
-
-Mon Dec 14 23:05:20 PST 1998 Manish Singh <yosh@gimp.org>
-
- * acconfig.h
- * configure.in: removed IPC_RMID_DEFERRED_RELEASE check
-
- * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID
- after XShmAttach, and nobody complained
-
-Tue Dec 15 02:27:42 MET 1998 Sven Neumann <sven@gimp.org>
-
- * po/de.po: Replaced the crappy german po-file with a valid one.
-
-Mon Dec 14 16:10:05 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkrc.c (gtk_rc_init): Append locale-specific
- suffixes to default rc file names, and look these
- up in addition to the base filename, to facilitate
- having the correct fontset per-locale.
-
- move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc
-
- * gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
- New function to set a function to translate menu paths.
-
- * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
- results of g_strsplit().
-
-1998-12-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
-
- * configure.in (ALL_LINGUAS): Added 'pt'.
-
- * po/pt.po: Added Portuguese translation.
-
-Mon Dec 14 20:04:31 1998 Stefan Jeske <stefan@gtk.org>
-
- * gtk/gtkspinbutton.c: Only call gtk_spin_button_update if
- the spinbutton is editable.
-
-Mon Dec 14 12:24:13 1998 Owen Taylor <otaylor@redhat.com>
-
- * HACKING: Added gettext-10.35
-
- * autogen.sh: Run gettextize.
-
-Wed Dec 9 16:29:06 1998 Owen Taylor <otaylor@redhat.com>
-
- Applied gtk-egger-981010-[12]
- [ Daniel.Egger@t-online.de (Daniel Egger) ]
-
- * gtk/gtkintl.h: New file - defines for localization.
-
- * gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
- for internationalization.
-
- * gtk/gtkmain.c: call bindtextdomain
-
- * po/ - directory for translations. Initially includes
- German translation.
-
-Mon Dec 14 02:42:11 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and
- RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into
- gtk_widget_real_grab_focus() so a signal is always emitted
- if the focus is grabbed on a widget.
-
-Mon Dec 14 02:13:01 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or
- not to delay the submenu popup from a menu item deselection time stamp.
- the code looks even more hackish than before, but in practice "feels"
- very well.
-
-1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
- signal for widgets. When the signal is emitted, the widget will
- grab the focus. This is needed to let the user press an
- accelerator key in a dialog box and have the corresponding widget
- be focused.
-
- * gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
- signal. The default handler is simply gtk_widget_grab_focus().
-
-Sun Dec 13 22:15:48 GMT 1998 Tony Gale <gale@gtk.org>
-
- * docs/gtk_tut.sgml: Update the following sections to the
- current API:
- - Container Widgets
- - CList Widget
- - List Widget
- - Tree Widget
-
-Sat Dec 12 19:11:35 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal.
-
- * gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal.
-
- * gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8.
-
-Sat Dec 12 17:46:55 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtklayout.c (gtk_layout_unrealize): Mark
- child->window as destroyed so we don't destroy
- it again.
-
-Sat Dec 12 17:18:32 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkfont.c (gdk_text_extents): Corrections
- to computation of extents of text from a font set.
- (from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)
- and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
-
-Fri Dec 11 08:59:12 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklistitem.c (gtk_list_item_style_set):
- * gtk/gtklist.c (gtk_list_style_set):
- Added "style_set" handlers.
-
-Fri Dec 11 05:49:30 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set"
- handler so that the background of the clist changes
- with the theme.
-
-Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.7
-
- * INSTALL:
- NEWS:
- README:
- configure.in:
- gtk+.spec:
- gtk/gtkfeatures.h.in:
- docs/gtk-config.1: Version to 1.1.7
-
-Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkclist.c: avoid void pointer math
-
- * gtk/gtkhscale.c
- * gtk/gtkhscrollbar.c
- * gtk/gtkvscale.c
- * gtk/gtkvscrollbar.c: removed trailing , from enums
-
- * gtk/gtksignal.c: can't use enums as a bitfield type, use guint
-
- * gtk/testgtk.c: removed C++ comment added by owenpoo
-
-Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
-
-Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use
- gdk_window_get_origin() instead of gdk_window_get_position,
- because get_position is unreliable for plugs.
-
- This is a bad hack, maybe we need GDK_WINDOW_PLUG?
-
-Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org>
-
- * docs/gtk_tut.sgml:
- - re-write the GtkProgressBar section to the 1.1 API.
- - add an Appendix listing all the signals
- (apologies to TimJ for taking so long in using his hard work
- in automating the extraction - thanx Tim).
- * examples/*: bring them all upto the tutorial versions
-
-Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
-
- * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
- * gtk/testrgb.c: include string.h, for strlen
-
-Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
-
- * configure.in: Add a case for success in
- test for XUnregisterIMInstantiate, to prevent
- screwing up $LIBS.
-
-Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
-
- * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
- list and return type for non-XIM fallback.
-
- * configure.in: Only build XIM-support if available.
-
-Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/testselection.c (main): Add in missing 'flags'
- field to target list.
-
- * gdk/gdkproperty.c (gdk_atom_intern): Actually
- add the atoms to the local cache.
-
-Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gdk/gdkprivate.h: put text after #endif in comment
-
- * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl
-
- * gtk/testdnd.c: #include <string.h>
-
-Mon Dec 7 10:27:09 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
- signals through the widget heirarchy. This is unpleasant, as it
- causes more X traffic, but is necessary, because we have to clean
- up our Input Contexts before destroying the X windows.
- (from matsu-981109-0.patch)
-
-Mon Dec 7 10:18:18 1998 Owen Taylor <otaylor@redhat.com>
-
- Applied gtk-a-higuti-981202-0 :
- [ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
-
- * gdk/gdk.h gdk/gdk.c
- (gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
- implemented by a combination of Xlib functions, so
- it works even with X_LOCALE.
- (gdk_wcstombs): New function.
- (g_mbtowc): Removed. No longer needed.
-
- * gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c:
- Added _wc() variants to gdk_text_width(),
- gdk_char_width(), gdk_draw_text(),
-
- * gdk/gdki18n.h
- (mblen, mbtowc, wctomb, mbstowcs, wcstombs,
- wcslen, wcscpy, wcsncpy):
- Removed. No longer needed.
- (iswalnum): Removed.
- (gdk_iswalnum): New macro.
- (gdk_iswspace): New macro.
- * gdk/gdktype.h
- (GdkWChar): New typedef.
-
- * gtk/gtkentry.h, gtk/gtkentry.c
- There are many changes according to the change of the
- internal representation of text, from multibyte string
- to wide characters.
- * gtk/gtkprivate.h, gtk/gtkmain.c
- Removed the variable gtk_use_mb and related codes.
- * gtk/gtkspinbutton.c
- Some changes according to the change of type of entry->text.
- * gtk/gtktext.h, gtk/gtktext.c
- Changed the internal representation of text. We use GdkWchar
- if a fontset is supplied. If not, we use guchar to save
- memory.
-
-Tue Dec 1 15:20:39 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkwindow.c (gdk_window_new): When creating
- a window with a specified non-system visual, use
- a matching colormap.
-
-Mon Nov 30 11:50:13 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.c gdk/gdkim.c gdk/gdkprivate.h gdk/gdk.h
- gdk/gdktypes.h gtk/gtkeditable.c gtk/gtkmain.c
- gtk/gtkentry.c gtk/gtktext.c:
-
- Applied matsu-981109-0
- [ matsu@arch.comp.kyutech.ac.jp (Takashi Matsuda) ]
-
- - Change system of setting input method values
- from varargs to a structure, similar to GC's
- or window attributes.
-
- - Various fixes to event handling.
-
- Also:
-
- * gdk/gdkim.c: Split of input method stuff into
- a separate source file.
-
- * Remove GdkIM typedef, change everything from
- GdkIC to GdkIC * to be consistent with the
- rest of GTK.
-
-Wed Dec 9 00:41:41 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Allocate
- correct amount of memory for strings.
-
-Tue Dec 8 18:29:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.6
-
- * NEWS: updated
-
- * gtk/Makefile.am:
- gtk/testgtk.c:
- gtk/gtkrc.h:
- gtk/gtkrc.c: Read in default files.
-
-Wed Dec 9 00:49:12 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: added gtk_type_query() which returns a newly
- allocated structure holding certain type specific informations.
- fixed the big bunch of `discards const' warnings with the
- initialization of enum/flags values.
-
-Tue Dec 8 15:10:17 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwindow.c (gtk_window_transient_parent_realized):
- Fixed order of arguments to gdk_window_transient_for().
-
-Tue Dec 8 18:02:57 GMT 1998 Tony Gale <gale@gtk.org>
-
- * examples/Makefile: simple top level Makefile that invokes all
- the sub-directory Makefiles.
-
-1998-12-08 Andrew T. Veliath <andrewtv@usa.net>
-
- * gtk/testgtk.c: Functions to test the toolbar space style.
-
- * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of
- GtkToolbarChild to hold allocation. Set default space style to
- GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator
- fraction defaults.
- (gtk_toolbar_paint_space_line): New function; paints the separator
- line, using "toolbar" as the detail.
- (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when
- style is set to SPACE_LINE.
- (gtk_toolbar_size_allocate): Store space allocations.
- (gtk_toolbar_insert_element): If we are a space, allocate and
- initialize a GtkToolbarChildSpace instead of a GtkToolbarChild.
- (gtk_toolbar_set_space_style): New function.
-
- * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY
- and LINE. Add prototype for gtk_toolbar_set_space_style.
-
-Mon Dec 7 16:03:55 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkthemes.h: Remove random unnecessary includes
- of standard headers.
-
-1998-12-07 Damon Chaplin <DAChaplin@msn.com>
-
- * gtk/gtkfontsel.c (gtk_font_selection_select_best_style): made sure
- we only try to match styles which are currently shown.
-
- (gtk_font_selection_init): set the notebook tabs homogeneous and set
- the border, so we don't need to set the size explicitly (bad for i18n).
- Used the clist auto-resize feature for the font and style lists on the
- main page and all the filters. Used padding for the 'Reset Filter'
- button instead of spaces around it (bad for i18n).
-
- (gtk_font_selection_find_font): when searching for
- a font, if we can't match both the family and foundry, we return any
- font where just the family matches. (The foundry can even be '*'.)
-
- (gtk_font_selection_show_available_styles):
- (gtk_font_selection_realize_list): don't set the style clist row
- colours (for the charset rows) until the clist is realized, since we
- use the clist style's insensitive colours.
-
-Mon Dec 7 13:38:06 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkimage.c (gdk_image_new): Use IPC_RMID
- _after_ doing XShmAttach. This should work everywhere,
- and avoid the need for signal handlers or configure
- checks.
-
-Thu Dec 3 19:58:45 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkinputdialog.c: Use _add_with_viewport() for
- scrolled window contents.
-
-1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
- field in the structure.
-
-Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org>
-
- * docs/gtk_tut.sgml: Start mass update for GTK 1.1
- * examples/extract.sh: Look for the best version of awk
- * examples/extract.awk: Fix FD leak
- * example/base: minimal example from Tutorial
-
-Mon Dec 7 01:29:27 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkwindow.c: New functions
- gtk_window_set_transient_for() - set up a "transient for" relationship.
- gtk_window_set_default_size() - set the initial size of a window
- distinct from its minimum size.
- gtk_window_set_geometry_hints() - Allow the user to set
- minimum, maximum sizes, aspect rations, and gridded geometry,
- possibly all with respect to a subwidget of the window.
- These interfaces are still a wee bit experimental.
-
- * gdk/gdk.c: Added gdk_window_set_transient_for(),
- gdk_window_set_geometry_hints(), and gdk_window_set_role().
-
- * gdk/gdktypes.h: Added new types for find-grained specification
- of WM hints.
-
- * gtk/testgtk.c: Various changes to tests to test the
- above new functions.
-
- * gtk/gtkfontsel.c: Squash a few 'const' warnings.
-
- * gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored
- call to gtk_style_set_background() to prevent egregious
- flashing to black.
-
-Mon Dec 7 03:52:01 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtksignal.c (gtk_handlers_run): when marshalling connect_object
- signals, don't pass the data pointer twice, but swap it with the
- object pointer (proposed on Nov 30 1998 on gtk-devel-list).
-
-Mon Dec 7 03:08:39 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: reverted Marius's change to expose the type systems
- internal type info data to the user. if such functionality is required
- we should provide wrapping accessors, ala gtk_signal_query(). also the
- GtkTypeInfo structures are dynamically allocated memory portions, so
- only the type system is really allowed to access that stuff.
-
- * gtk/gtksignal.c (gtk_signal_connect_by_type): reverted marius change,
- since it destroys the possibility to implement automatic marshaller
- lookups some day, and it also disables third party code's ability to
- connect to any signal.
-
-Mon Dec 7 01:32:18 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkfilesel.c (gtk_file_selection_key_press): always intercept the
- Tab key on the entry. the focus shouldn't get lost even if completion
- is attempted from an empty entry, since an empty entry string does
- indeed have a valid completion meaning (complete all).
- (gtk_file_selection_init): cast the gchar array parameter in calls to
- gtk_clist_new_with_titles() to quit compiler warnings.
- (check_dir): the no_stat_dirs struct must not be const, since we do
- indeed modify its contents.
-
- * gtk/testgtk.c (event_watcher): adapted prototype to fit new emission
- hook semantics.
-
- * gtk/gtksignal.h:
- * gtk/gtksignal.c:
- changed emission allocation, so we don't use a doubly linked list
- but link ourselfs (singly linked).
- changed emission hooks, they get the emision parameters passed as
- well now and are emitted during the actuall signal emission (after
- the RUN_FIRST class method, but prior to RUN_FIRST handlers).
- the existing restrictions do still apply to signal emission hooks,
- i.e. an emission may not be stopped or restarted from an emission hook.
- due to possibly huge perfomance impacts, frequent use of emision hooks
- is also not recommended.
- (gtk_signal_next_and_invalidate): added an
- assertments which explicits what the code assumes anyways: a
- maximum amount of 65535 signals.
-
- * gtk/gtkcontainer.h: deprecated gtk_container_foreach_interp(),
- gtk_container_foreach_full() should be used instead.
-
- * gtk/gtkmain.h:
- deprecated gtk_timeout_add_interp and gtk_idle_add_interp, since
- we provide _full variants.
-
- * gtk/gtksignal.h: deprecated gtk_signal_connect_interp(), we provide
- gtk_signal_connect_full() for long enough now.
-
-1998-12-06 Marius Vollmer <mvo@zagadka.ping.de>
-
- * gtk/gtksignal.c (gtk_signal_newv): Allow a NULL marshaller.
- (gtk_signal_connect_by_type): Allow only no_marshal handlers to
- connect to signals with a NULL marshaller.
-
- * gtk/gtktypeutils.c (gtk_type_get_info): New.
- gtk/gtktypeutils.h (gtk_type_get_info): New prototype.
-
-Sun Dec 6 14:27:35 1998 Stefan Jeske <stefan@gtk.org>
-
- * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): Grey out
- arrows if wrap == FALSE and interval borders are reached.
-
-Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
- long-standing typo in aspect ratio computation code.
- (pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
-
-Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
- valid row numbers only
- (toggle_row): check if clist_row != NULL
-
-Fri Dec 4 00:50:12 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (gtk_ctree_export_to_gnode): fixed for-loop.
-
- * gtk/gtkclist.c
- (gtk_clist_set_column_visibility)
- (gtk_clist_column_titles_active)
- (gtk_clist_column_titles_active)
- (gtk_clist_column_title_passive)
- (gtk_clist_column_title_active): few additional tests whether
- column->button != NULL
-
-Thu Dec 3 16:49:18 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (DROP_ABORT_TIME): Changed to 5 min
- from 10 seconds, so it doesn't abort while users
- have an ACTION_ASK menu up.
-
- * gtk/gtkdnd.c: Hide the icon window between sending a a
- drop event to the destination and displaying the
- snapback animation, so that it doesn't hang around
- during ACTION_ASK.
-
-Thu Dec 3 16:37:42 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkclist.c (get_cell_style): Use GTK_STATE_INSENSITIVE
- for the foreground of cells for CLists in the insensitive
- state, instead of GTK_STATE_PRELIGHT.
-
-Thu Dec 3 06:20:59 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwindow.c: moved checks upon focus setting from
- gtk_window_real_set_focus to gtk_window_set_focus, so we don't
- emit the signal if unneccessary.
-
- * gtk/gtkwidget.c (gtk_widget_grab_focus): clear up the old focus
- containers when grabbing focus on a new widget. this is based on
- a patch from Alexis Mikhailov, submitted to gtk-list on 4 Nov 1998.
-
- * gtk/gtkclist.c (gtk_clist_focus_out): set CLIST_CHILD_HAS_FOCUS
- flag, so we take the buttons into consideration upon the next focus
- request.
-
- * gtk/gtkcontainer.c (gtk_container_set_focus_child): fixed an
- assertment.
-
-Wed Dec 2 17:45:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gtk/gtkpixmap.c: Fixes for low-color displays and a slight
- enhancement for true-color displays.
-
- * INSTALL:
- README:
- configure.in:
- gtk+.spec:
- docs/gtk-config.1: up to version 1.1.6
-
-Wed Dec 2 01:36:49 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkfeatures.h.in: lets #define GTK_HAVE_FEATURES_1_1_6 before
- we release it this time
-
-Wed Dec 2 01:39:02 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtknotebook.h:
- * gtk/gtknotebook.c: s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/.
-
- * incremented version number to 1.1.6 and made Gtk
- dependant on GLib 1.1.6.
-
- * gtk/gtkwidget.h (struct _GtkRequisition): changed width and height
- from guint16 to gint16, since sizes bigger than 32767 are not supported
- anyways, and aritmethics with intermediate negative values are possible
- now.
-
-Tue Dec 1 00:00:04 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkscrolledwindow.c:
- implementation of GTK_POLICY_NEVER functionality, added rationales
- on the policy and size requisition handling at the top.
- (gtk_scrolled_window_size_request):
- we assume a default minimum for our child's width and height
- if [hv]scrollbar_policy != GTK_POLICY_NEVER, except when the user
- specified the dimension explicitely.
- (gtk_scrolled_window_size_allocate):
- do not show scrollbars if [hv]scrollbar_policy == GTK_POLICY_NEVER.
-
- * gtk/gtkviewport.c (gtk_viewport_size_request): report the real
- size we require (including the child).
-
- * gtk/gtkclist.c:
- (gtk_clist_size_request): report the real size required.
-
- * gtk/gtkenums.h (enum GtkPolicyType): added GTK_POLICY_NEVER.
-
- * gtk/gtkobject.c (gtk_object_init_type): object_type doesn't
- need to be a static variable.
-
-Mon Nov 30 22:41:25 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkclist.h:
- * gtk/gtkclist.c:
- * gtk/gtkviewport.h:
- * gtk/gtkviewport.c:
- * gtk/gtktext.h:
- * gtk/gtktext.c:
- * gtk/gtklayout.h:
- * gtk/gtklayout.c:
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c:
- * gtk/gtkscrolledwindow.h:
- * gtk/gtkscrolledwindow.c:
- s/scroll_adjustements/scroll_adjustments/
- s/scroll_adjustments/set_scroll_adjustments/g
-
-Tue Dec 1 22:45:58 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.h (struct _GtkCListClass): new class method/signal
- row_move.
- * gtk/gtkclist.c (gtk_clist_row_move): new public function.
- emit a row_move signal
- (real_row_move): move source_row to dest_row
- (gtk_clist_swap_rows): use gtk_clist_row_move calls.
- (gtk_clist_columns_autosize): resize all columns to their optimal
- width
- * gtk/gtkctree.c (real_row_move): use gtk_ctree_move to move
- entire sub-tree.
- * gtk/gtknotebook.c (gtk_notebook_nth_page): get nth page widget.
-
-Tue Dec 1 02:40:22 PST 1998 Manish Singh <yosh@gimp.org>
-
- * configure.in
- * gdk/Makefile.am
- * gtk/Makefile.am: Put -DFOO stuff into Makefile.am INCLUDES.
- Separate vars for each, for granularity.
-
-Tue Dec 1 02:19:54 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkenums.h: fixed a stupid error of mine about the run type
- values.
-
-1998-11-30 Elliot Lee <sopwith@cuc.ml.org>
-
- * {gdk,gtk}/*.c: Make read-only data structures "static const" to
- allow them to be shared, mainly including (but not limited to) the
- GtkTypeInfo structures for each class.
-
- * gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
-
-Mon Nov 30 12:17:10 1998 Jeff Garzik <jgarzik@pobox.com>
-
- * gtk/gtksignal.c:
- Surround debug variable with #ifdef to silence gcc.
-
- * gtk/gtknotebook.c (gtk_notebook_reorder_child):
- Added initializer to quiet gcc warning.
- Added assertion to check for null pointer deref.
-
-Mon Nov 30 10:11:29 1998 Tim Janik <timj@gtk.org>
-
- * gtk/testgtkrc: merged testgtkrc with the pre-themes one, removed
- system specific includes.
-
- * gtk/gtksignal.c: asured that stop and restart emissions are also
- checked and processed for not connected objects. fixed up restart
- emission administration. invoke emission hooks after emission, hooks
- are not supposed to muck around with the current emission, and
- may also not cause emission restarts. fixed up stop emission
- administration.
-
-Mon Nov 30 06:20:36 1998 Tim Janik <timj@gtk.org>
-
- * gtk/testgtk.c: added an event watcher for enter/leave based on
- signal emission hooks.
-
- * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a
- GTK_RUN_NO_HOOKS signal.
-
- * gtk/gtksignal.h:
- * gtk/gtksignal.c: implemented emission hooks, new hooks can be added
- to a signal with gtk_signal_add_emission_hook or
- gtk_signal_add_emission_hook_full, and can be removed again with
- gtk_signal_remove_emission_hook.
-
- * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent
- an appropriate mask for signal runtypes for a long time now.
- added GTK_RUN_NO_HOOKS value, which is used to flag signals
- that do not allow the running of signal hooks.
-
-1998-11-26 Michael Krause <m.krause@tu-harburg.de>
-
- * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
- argument a gint: switch_page signal delivers valid page numbers
- again.
-
-Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):
- set composite names.
-
- * gtk/gtktypeutils.c (gtk_type_unique): removed default initialization
- check, people must use gtk_type_init().
- fixed up type allocation for foreign fundamentals.
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant
- for internal use by containers, that want to assign specific composite
- names to their composite children.
- added gtk_widget_get_composite_name() which will return a newly
- allocated string, containing the composite name of a widget. valid
- composite names can only be retrived from widgets that have a parent
- assigned and are flagged as GTK_COMPOSITE_CHILD.
-
- * gtk/gtkcontainer.h:
- * gtk/gtkcontainer.c: added a new function
- gtk_container_child_default_composite_name() which will return a
- newly allocated string, holding the composite name of a containers
- child. a default implementation is provided which will compose the
- composite name out of the widgets type and its sequential children
- id. this implementation can be overidden through a new class function
- *(composite_name)().
-
-Sat Nov 28 10:57:59 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
- expose_event handler - we had two expose_event
- handlers!
-
-Sat Nov 28 03:13:42 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkscrolledwindow.h:
- * gtk/gtkscrolledwindow.c: changed scrolled window inheritance,
- it inherits from GtkBin now.
-
- * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for
- visibility of child.
- (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE().
- added check so a child gets only drawn if it's visible.
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: removed gtk_widget_draw_children().
-
- * gtk/gtkstyle.h:
- * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes.
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child().
- added internal function gtk_widget_reset_shapes() from gtkstyle.c.
-
- * gtk/gtkrc.h:
- * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner
- argument, changed callers.
-
- * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time,
- it will issue a warning now.
-
- * gtk/gtkcompat.h: new file to #define aliases for historic
- function names.
-
- * changed 8 function names for consistency and provided aliases to keep
- source compatibility in gtkcompat.h:
- (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width
- (gtk_container_set_border_width): renamed from gtk_container_border_width
- (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page
- (gtk_packer_configure): renamed from gtk_packer_set_child_packing
- (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size
- (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size
- (gtk_scale_get_value_width): renamed from gtk_scale_value_width
- (gtk_window_set_position): renamed from gtk_window_position
-
- * renamed a few recently added funtions for consistency:
- (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label.
- (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label.
- (gtk_progress_configure): renamed from gtk_progress_reconfigure.
-
-Fri Nov 27 18:57:20 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add_with_viewport):
- check for existing viewport first, and don't add one if there
- already is one
-
-Sat Nov 28 00:06:49 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
- gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
- and gtk_widget_unlock_accelerators.
-
- * gtk/gtklayout.h:
- * gtk/gtklayout.c: implemented incremental freezing facility.
-
- * gtk/gtktext.h:
- * gtk/gtktext.c: implemented incremental freezing facility.
-
- * gtk/gtkenums.h:
- * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
-
- * gtk/gtkentry.h:
- * gtk/gtkentry.c:
- deprecated gtk_entry_adjust_scroll().
-
- * random GtkType, macro and indentation fixes.
-
-Fri Nov 27 22:50:15 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkclist.h:
- * gtk/gtkclist.c: implemented incremental freezing facility, added
- a new class member (*refresh)() which takes over the thaw
- functionality. the clist FROZEN flag got removed on the way.
- * gtk/gtkctree.c: adaptions to feature the clist refresh functionality
- and incremental freezing.
-
- * gtk/gtkcalendar.c: implemented incremental freezing facility.
-
-Fri Nov 27 11:41:27 1998 Raph Levien <raph@gimp.org>
-
- * gdk/gdkinputcommon.h (gdk_input_common_init): Fixed it so that
- it still includes the core pointer in gdk_input_devices even
- if the XInput extension is not present in the X server.
-
-Fri Nov 27 12:17:15 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to
- get the source widget of a drag.
-
- * gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP]
- to restrict certain targets to the same widget or to
- the same application.
-
- * gtk/testdnd.c: Test gtk_drag_get_source_widget().
-
-Thu Nov 26 19:11:46 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtk-boxed.defs (GtkCTreeNode): define GtkCTreeNode as boxed type
- * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_CTREE_NODE_TYPE
- instead of GTK_TYPE_POINTER in signal definitions.
- (patch from James Henstridge <james@daa.com.au>)
-
-Thu Nov 26 18:48:44 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (set_cell_contents)
- * gtk/gtkctree.c (set_cell_contents): call column_auto_resize only
- if auto.resize == TRUE
-
- * gtk/gtknotebook.c (gtk_notebook_set_shape) (gtk_notebook_expose):
- don't draw tab, if show_tabs == FALSE
- (bug reports from Alexis Mikhailov / Dave Cole)
- (gtk_notebook_focus_changed) (gtk_notebook_draw_focus): draw only
- the focus rectangle, not the hole tab.
-
-Thu Nov 26 03:18:08 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkclist.h:
- * gtk/gtkctree.h:
- * gtk/gtkclist.c:
- * gtk/gtkctree.c: reverted bogus and undocumented!!! changes from
- Jay Cox (98/11/23 13:53:26) which `const' qualified char* arrays.
-
- * gtk/maketypes.awk: changed underline substitution, so we get
- GTK_TYPE_CTREE_POS instead of the broken GTK_TYPE_C_TREE_POS.
- * gtk/makeenums.pl: likewise.
- * gtk/gtkctree.c: adapted type names accordingly.
-
-Tue Nov 24 11:31:06 1998 Owen Taylor <otaylor@redhat.com>
-
- * docs/Changes-1.2.txt: Edited section on the ScrolledWindow.
-
- * gtk/gtklayout.c (gtk_layout_set_[hv]adjustment): Remove
- some code duplication.
-
- * gtk/gtklayout.[ch] Fixed mapping and unmapping of child windows
- and child widgets when scrolling greater than 32k pixels.
-
- * testgtk.c: Modified layout test to test scrolling over
- long distances.
-
- * gtk/gtkplug.c: Added a few blank lines.
-
-Tue Nov 24 11:11:05 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtklayout.[ch]: Fixed up copyright message.
-
- * gdk/gdkrgb.c (DM): Make the dither matrix constant
- so it can be shared.
-
- * gtk/gtkdnd.c: Make cursor bitmaps const.
-
- * gdk/gdk.h gdk/gdkpixmap.c: Added const to
- gdk_pixmap/bitmap_create_from_data.
-
-Tue Nov 24 07:46:09 1998 Tim Janik <timj@gtk.org>
-
- * docs/Changes-1.2.txt: added a section on scrolled windows and
- scrollable widgets.
-
-1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
-
- * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
- buttons when setting relief for button items.
- (gtk_toolbar_set_button_relief): Same.
-
-1998-11-23 Jeff Garzik <jgarzik@pobox.com>
-
- * gdk/Makefile.am, gtk/Makefile.am:
- Removed DEFS "+=" mess that breaks recent automakes.
- INCLUDES is the correct way to add to CFLAGS from Makefile.am.
-
- * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
- gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
- gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
- gtk/testthreads.c:
- Include "config.h" instead of "../config.h".
- Now that DEFS works again, automake will automatically pass us
- the location of config.h in -I.
-
-Mon Nov 23 22:10:09 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
- gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:
-
- Added layout widget for scrolling arbitrarily big areas.
- Added plug/socket widgets for interprocess embedding.
-
- These widgets still, at some point, need to be
- made more pure in their use of GDK, as opposed
- to raw X.
-
- * gtk/testgtk.c: Added test for layout widget.
-
-1998-11-23 Jeff Garzik <jgarzik@pobox.com>
-
- * gtk/gtkclist.c: (gtk_clist_swap_rows): Bugfix from
- Brandon Long <blong@fiction.net> - do the right thing with first
- and last, which are the absolute values of row arguments row1
- and row2.
-
-Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
- default adjustment (from 0 to 100) instead. I'm not sure if this
- is the correct level for the fix, but gtk_progress_bar_new()'s
- original default behavior is restored.
-
-1998-11-23 Martin Baulig <martin@home-of-linux.org>
-
- * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
- we can check for latest GTK features.
-
-1998-11-23 Havoc Pennington <hp@pobox.com>
-
- * gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
- (gtk_toolbar_insert_element): When setting relief, also affect
- toggle buttons.
-
-Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkobject.h: remove extraneous comma
-
-Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkcontainer.c:
- (gtk_container_add_with_args):
- (gtk_container_addv):
- (gtk_container_add): removed assertements for constructed containers
- again, since this essentially breaks the "child" arg.
-
- * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
- reference count, we don't need to reference toplevels that already have
- destroy notifiers.
-
- * gtk/gtkscrolledwindow.c: check for the composites existance in
- _forall since we might not be already constructed.
-
-Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.1.5
-
- * configure.in: require GLib 1.1.5
-
-Mon Nov 23 03:21:17 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
- 2 * hadj.
- (gtk_text_finalize): only unref the current_font if we have
- been realized.
-
-Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * configure.in:
- INSTALL:
- NEWS:
- README:
- gtk+.spec:
- docs/gtk-config.1: Version incremented to 1.1.5
-
-Sun Nov 22 16:21:28 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkprogress.c: added args ::show_text, ::text_xalign,
- ::text_yalign, ::activity_mode.
-
- * gtk/gtkprogressbar.c: added construct arg ::adjustment. added args
- ::bar_style, ::orientation, ::discrete_blocks, ::activity_step,
- ::activity_blocks.
- (gtk_progress_bar_new):
- (gtk_progress_bar_new_with_adjustment): use gtk_widget_new().
- (gtk_progress_bar_construct): deprecated.
-
- * gtk/gtkvscrollbar.c:
- (gtk_vscrollbar_draw_step_back):
- (gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for
- gtk_paint_arrow, to be consistent with hscrollbar.
-
- * gtk/gtktext.c
- added construct args ::hadjustment, ::vadjustment.
- added args ::line_wrap, ::word_wrap.
- (gtk_text_class_init): added scroll_adjustments signal.
- (gtk_text_new): use gtk_widget_new.
- (gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments,
- so we don't screw the reference counts and don't leave signals connected.
- (gtk_text_destroy): disconnect adjustments signals.
- (gtk_text_finalize): unref adjustments.
-
- * gtk/gtkctree.c: added construct args ::n_columns and ::tree_column.
- added args ::indent, ::spacing, ::show_stub, ::reorderable,
- ::use_drag_icons, ::line_style and ::expander_style.
- (gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is
- deprecated now.
-
- * gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag.
- * gtk/gtkclist.c:
- removed ::vadjustment and ::hadjustment args, introduced
- ::scroll_adjustments signal.
- added ::shadow_type, ::selection_mode and ::row_height args.
- added n_columns construct arg.
- (gtk_clist_construct): call gtk_object_constructed().
- (gtk_clist_set_row_height): if height is passed as 0,
- revert to automatic height calculation.
- (gtk_clist_destroy): before unrefing the adjustments, disconnect our
- signal handlers.
-
-Fri Nov 21 22:34:58 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct
- like gtk_object_new.
- (gtk_widget_destroy): assert that we only destroy constructed widgets.
-
- * gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY
- to identify args that may only be used for construction.
- GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction
- time.
- * gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct
- at the end if the object is not fully constructed.
- (gtk_object_newv): likewise.
- (gtk_object_destroy): assert that we only destroy constructed objects.
- (gtk_object_init): setup GTK_CONSTRUCTED from the
- objects real klass.
- (gtk_object_default_construct): new function to complete default
- construction of an object by applying missing construtor args with
- default values of 0, 0.0 or NULL.
- (gtk_object_constructed): new function to mark an object as being
- constructed (used from within constructors).
-
- * gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer
- so it is immediatedly available for the caller.
-
- * gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to
- the object initilizer (GtkObjectInitFunc takes a second arg now, the
- real klass), and asure that object initializers may temporarily alter
- the class pointer.
-
-Fri Nov 20 08:00:30 1998 Tim Janik <timj@gtk.org>
-
- * gtk/testgtk.c: change all occourances of gtk_container_add (
- scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...)
- for widget!=(clist, ctree, text, viewport).
-
- * gtk/gtkcombo.c:
- (gtk_combo_init): use gtk_scrolled_window_add_with_viewport()
- to add children to the scrolled window.
-
- * gtk/gtkscrolledwindow.h:
- * gtk/gtkscrolledwindow.c:
- changed scrolled_window->viewport to scrolled_window->child, and use
- gtk_widget_scroll_adjustements() to set the scroll adjustments for the
- widget, we do not create an additional viewport anymore.
- added ::hadjustment and ::vadjustment constructor args.
- (gtk_scrolled_window_new): use gtk_widget_new() to create the widget.
- (gtk_scrolled_window_set_hadjustment):
- (gtk_scrolled_window_set_vadjustment): new functions that superceed
- gtk_scrolled_window_construct.
- (gtk_scrolled_window_construct): deprecated this function.
-
- * gtk/gtkhscrollbar.c:
- * gtk/gtkvscrollbar.c:
- * gtk/gtkhscale.c:
- * gtk/gtkvscale.c:
- support a constructor arg "::adjustment", and use gtk_widget_new() for
- the widget creation.
-
- * gtk/gtkrange.c: added ::update_policy arg.
- (gtk_range_set_adjustment): if adjustment is passed in as NULL, create
- a default adjustment so this function can be used for derived widgets
- that depend on the adjustment's existance.
- (gtk_range_destroy): disconnect the adjustment signal, so we don't
- get called after we got destroyed, we don't destroy the adjustment
- in here, because it might have been provided from another widget.
-
- * gtk/gtkviewport.c: introduced ::scroll_adjustments signal.
- (gtk_viewport_destroy): same as gtk_range_destroy.
-
- * gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy.
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: changed gtk_widget_activate() to return a
- gboolean, indicating whether this widget supports activation.
- added gtk_widget_scroll_adjustements() to set the scrolling
- adjustments of a widget.
-
-Wed Nov 19 01:22:42 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkoptionmenu.c:
- (gtk_option_menu_remove_contents):
- (gtk_option_menu_update_contents): removed
- gtk_container_[un]block_resize() pairs.
-
- * gtk/gtknotebook.h:
- * gtk/gtknotebook.c: removed the tab_border field, since it shouldn't
- be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a
- wrtie-only argument.
-
- * *.c: made deprecated functions issue a message:
- gtk_clist_set_border, gtk_container_block_resize,
- gtk_container_unblock_resize, gtk_container_need_resize,
- gtk_object_class_add_user_signal, gtk_spin_button_construct,
- gtk_scrolled_window_construct.
- removed non-functional functions:
- gtk_container_disable_resize, gtk_container_enable_resize,
- gtk_clist_set_policy.
-
-Wed Nov 18 22:54:36 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkbox.c (gtk_box_init):
- * gtk/gtkdrawingarea.c (gtk_drawing_area_init):
- * gtk/gtkeventbox.c (gtk_event_box_init):
- * gtk/gtkfixed.c (gtk_fixed_init):
- * gtk/gtkframe.c (gtk_frame_init):
- * gtk/gtkhandlebox.c (gtk_handle_box_init):
- * gtk/gtkpacker.c (gtk_packer_init):
- * gtk/gtkmisc.c (gtk_misc_init):
- * gtk/gtkpreview.c (gtk_preview_init):
- * gtk/gtkprogress.c (gtk_progress_init):
- * gtk/gtkprogressbar.c (gtk_progress_bar_init):
- * gtk/gtkseparator.c (gtk_separator_init):
- * gtk/gtktable.c (gtk_table_init):
- * gtk/gtkviewport.c (gtk_viewport_init):
- * gtk/gtkalignment.c (gtk_alignment_init):
- removed setting of the GTK_BASIC flag.
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c:
- removed GTK_BASIC, GTK_WIDGET_BASIC and gtk_widget_basic.
-
- * miscellaneous GtkType and macro fixups.
-
-Sat Nov 21 18:53:13 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkwindow.c (gdk_window_get_deskrelative_origin):
- Fixed so it at least works with window managers other
- than Enlightenment, though it probably needs to be
- removed altogether.
-
-1998-11-21 Andrew T. Veliath <andrewtv@usa.net>
-
- * gtk/gtkhandlebox.[ch]: Add shadow_type and
- gtk_handle_box_set_shadow_type function (plus a
- GtkHandleBox::shadow arg) to allow configuration of shadow in the
- bin window.
-
-Thu Nov 19 23:47:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gtk/gtkcalendar.c: Fix for marking days from
- Dan Reish <dreish@izzy.net>.
-
-Thu Nov 19 00:15:27 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode
- in row_list. (from Samuel Solon <ssolon@usa.net>)
-
- * gtk/gtkclist.c (gtk_clist_get_column_title): return column title
- (gtk_clist_get_column_widget): return column widget
-
-Wed Nov 18 11:54:57 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops
- that are sent to a toplevel but are not within the
- toplevels bounds.
-
- * gdk/gdkdnd.c gdk/gdk.h: Added support for a
- XdndProxy atom which proxies the drag to another window.
-
-1998-11-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, now
- that it is not needed.
-
-Tue Nov 17 1998 The Rasterman <raster@redhat.com>
- * gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin
- function to correctly determine gdk window position relative to
- its "root window" - contains check for an Enlightenment
- virtual root window.
- * gtk/gtkhandlebox.c: changed gdk_window_get_origin ->
- gdk_window_get_deskrelative_origin to get the origin of dragged
- handleboxes correctly. Now it works correctly with E.
-
-Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
-
- * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
- getting types even though we were not using real type names,
- just the index. This caused random crashes when more than
- 256 types were defined.
-
-1998-11-17 Martin Baulig <martin@home-of-linux.org>
-
- * gtk/genmarshal.pl: Put output files in the current directory
- and not in the $(srcdir) since the VPATH is ignored for built
- sources.
-
-Tue Nov 17 01:37:53 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/genmarshal.pl
- * gtk/Makefile.am: check for unchanged autogenerated files, so
- we don't rebuild everything just for adding a new function
-
-Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gtk/gtkpixmap.h
- gtk/gtkpixmap.c: Pixmaps now grey out when insensitive,
- code thanks to GNOME stock by Eckehard Berns. New function
- gtk_pixmap_set_build_insensitive to provide ability to turn
- this off.
-
-Tue Nov 17 00:06:29 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous;
- new guints : tab_hborder, tab_vborder; marked tab_border deprecated
- (struct _GtkNotebookPage): new flags : expand, fill, pack
-
- * gtk/gtknotebook.h/c
- (gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous
- tabs
- (gtk_notebook_set_tab_border): set tab_h/vborder to tab_border
- (gtk_notebook_set_tab_hborder): new function. set tab_hborder
- (gtk_notebook_set_tab_vborder): new function. set tab_vborder
- (gtk_notebook_query_tab_label): new function. get tab_label widget.
- (gtk_notebook_set_tab_label): new function. set tab_label widget.
- (gtk_notebook_set_tab_label_text): new function. set tab_label text.
- (gtk_notebook_query_menu_label): new function. get tab_label widget.
- (gtk_notebook_set_menu_label): new function. set tab_label widget.
- (gtk_notebook_set_menu_label_text): new function. set tab_label text.
- (gtk_notebook_set_tab_label_packing): new function. set tab_label
- fill, expand, fill_type
- (gtk_notebook_query_tab_label_packing): new function. get tab_label
- fill, expand, fill_type
-
- (gtk_notebook_real_page_position): return logic page number
- (gtk_notebook_search_page) search next/prev logic page
- (gtk_notebook_update_labels): set logic page number.
- (gtk_notebook_page_compare): renamed gtk_notebook_find_page
- (gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND,
- CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK
- (gtk_notebook_button_press) (gtk_notebook_key_press)
- (gtk_notebook_focus) (gtk_notebook_pages_allocate)
- (gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab)
- use gtk_notebook_search_page
- (gtk_notebook_page_allocate): fixed allocation bug
- (gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER.
- (gtk_notebook_init): unset GTK_NO_WINDOW flag
- (gtk_notebook_size_request): check whether page->child is visible.
- changes due to tab h/vborder, homogeneous tabs
- (gtk_notebook_paint): don't draw invisible tabs
- (gtk_notebook_switch_page): calculate page_num if it's less than 0
- (gtk_notebook_append_*) (gtk_notebook_prepend_*)
- (gtk_notebook_insert_page): removed sanity checks
-
- * gtk/testgtk.c (create_notebook): extended Notebook sample a bit.
-
-Mon Nov 16 15:10:33 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtktext.c: Optimizations for [advance/decrement]_mark_n.
- (gtk-mailund-980718-0, Thomas Mailund Jensen <mailund@daimi.aau.dk>)
-
- * gtk/gtkfixed.c: Removed gtk_fixed_umap, which was
- broken. (GtkWidget's default unmap handler should work fine).
- Pointed out by Patrice Fortier <Patrice.Fortier@aquarel.fr>
-
-Mon Nov 16 00:59:26 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkmenubar.[ch]: added shadow_type setting and
- gtk_menu_bar_set_shadow_type function to allow shadow
- configurability for menubars
-
- * gtk/gtkviewport.h: use GtkShadowType enum instead of generic
- guint
-
-Mon Nov 16 00:17:53 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.c (gtk_type_new): relookup type node after
- class creation and parent class' object initializer.
-
-1998-11-13 Federico Mena Quintero <federico@nuclecu.unam.mx>
-
- * gtk/gtkpaned.c (gtk_paned_realize): Destroy the cursor after we
- have assigned it to the window -- there is no point in keeping it around.
- (gtk_paned_unrealize): No need to destroy the cursor here.
-
- * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, as
- it is not needed.
-
-Fri Nov 13 11:22:38 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new().
- (gtk-blizzard-981005-0.
- Christopher Blizzard <blizzard@applied-theory.com)
-
- * gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and
- gdk_pixmap_foreign_new to gdkx.h.
-
-Fri Nov 13 16:06:48 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/Makefile.am: Added rules to generate an empty
- GTK+ theme called "Default" upon installation.
-
- * gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance
- of fonts and fontsets.
- (gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp)
-
- * gtk/gtkmain.c: Change test to detect glibc's
- utf8 based mb* functions to be more specific.
-
- * gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation
- cleanups.
-
-Fri Nov 13 16:43:36 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtktogglebutton.c (gtk_toggle_button_realize): don't
- show event_window
- (gtk_toggle_button_map) (gtk_toggle_button_unmap): show/hide
- event_window if draw_indicator is set
- (gtk_toggle_button_set_mode):
-
-Thu Nov 12 15:33:54 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkitemfactory.c: cast NULL to GtkItemFactoryCallback to
- ensure proper type (SunPro cc complains)
-
- * gtk/gtklist.c: removed bogus '*' from "*GTK_CONTAINER_CLASS"
-
- * gtk/gtktogglebutton.c: use our own draw method so we get proper
- redraws on active state
-
-Thu Nov 12 00:26:13 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkstyle.c (gtk_default_draw_box_gap): use GtkPositionType
- defines.
-
- * gtk/gtknotebook.c (gtk_notebook_draw_tab): fixed gap_side for
- GTP_POS_RIGHT
-
-Wed Nov 11 19:54:58 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init)
- (gtk_scrolled_window_set_arg) (gtk_scrolled_window_get_arg):
- added ARG_WINDOW_PLACEMENT
-
- * gtk/gtkclist.c (size_allocate_columns): resize column if column
- button > column width and auto_resize is set
- (real_clear) (column_auto_resize) (gtk_clist_optimal_column_width):
- consider column button width of auto resized columns
- (gtk_clist_parent_set): removed
-
- * gtk/gtkctree.c (gtk_ctree_insert_node): call column_auto_resize.
- (auto_resize_columns): auto_resize all columns
- (real_tree_collapse) (gtk_ctree_remove_node): call auto_resize_columns
- (column_auto_resize): respect column button width of auto resized
- columns
-
-1998-11-10 Martin Baulig <baulig@merkur.uni-trier.de>
-
- * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_4): Define this so
- we can check for latest GTK features.
-
-Mon Nov 9 00:39:20 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkenums.h : new enum GtkCornerType
- * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added
- window_placement.
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement):
- new method to set window_placement.
- (gtk_scrolled_window_viewport_allocate)
- (gtk_scrolled_window_size_allocate): few changes due to
- window_placement.
- * gtk/testgtk.c (remove_selection): fixed while loop.
-
-Sat Nov 7 21:55:00 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkclist.c: check if column[i].button is valid before calling
- gtk_widget_intersect on it in gtk_clist_draw
-
- * gtk/gtkdnd.c: removed unused variable empty_bits
-
- * gtk/gtkrc.c: we should use gslist_* functions with GSLists...
-
- * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return
- a boolean (thanks to Elrond for noticing this)
-
-1998-11-07 Jay Cox <jaycox@earthlink.net>
-
- * gtk/gtkwindow.c: forward declaration for gtk_window_paint
- * gdk/gdkxid.c: declare xid_ht static
- * examples/*/Makefile: get the link ordering right.
-
-Sat Nov 7 16:31:56 1998 Stefan Jeske <stefan@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_realize): Set background of
- title button window to GTK_STATE_NORMAL instead of
- GTK_STATE_SELECTED to avoid ugly flicker.
-
-Fri Nov 6 23:29:40 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
- if adjustments are NULL and list size has changed
- (gtk_clist_size_request): return real list requsition,
- if adjustments are NULL.
- (size_allocate_columns): use button->requisition.with, if column
- width is not set.
- (list_requisition_width): new function. return full list width.
- (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
- auto create adjustments.
- (gtk_clist_motion) (move_vertical) (move_horizontal):
- check adjustment != NULL.
+Thu Feb 10 16:16:35 2000 Tim Janik <timj@gtk.org>
-Thu Nov 5 12:06:16 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkspinbutton.c (gtk_spin_button_size_allocate): guard against
+ guint wrap arounds in allocation.width.
- * gtk/gtkcheckbutton.c (gtk_check_button_draw_focus): Queue
- a clear/redraw, not just a redraw, so the focus
- gets undrawn properly.
+ * gtk/gtktable.c (gtk_table_size_allocate_pass1): repeat shrinking
+ process untill we fit the allocation given.
- * gtk/gtktogglebutton.c (gtk_toggle_button_unrealize):
- Chain to gtk_widget_unrealize() instead of duplicating
- code.
+Tue Feb 8 09:38:29 2000 Tim Janik <timj@gtk.org>
-Wed Nov 4 14:34:51 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.c gdk/gdkprivate.h gdk/gdkwindow.c: Removed
- last vestiges of old DND.
-
-Tue Nov 3 12:27:52 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkentry.c: Restored inner border to entries,
- erase cursors to background image.
-
-Fri Oct 30 12:09:21 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkentry.c gtk/gtkstyle.[ch]: removed paint_entry() -
- it was identical to paint_flat_box().
-
- * gtk/gtkstyle.c: Coding style fixups.
-
- * gtk/gtkwindow.c (gtk_window_move_resize): removed useless
- test.
-
- * gtk/gtkframe.c gtkstyle.[ch] gtknotebook.c:
- Change 'side' for paint_[box/shadow]_gap and paint_extension
- to be GtkPositionType instead of a random int.
-
- * gtk/gtkaspectframe.c (gtk_aspect_frame_paint): Use
- "frame" as detail - an aspectframe should draw identical
- to a frame.
-
-Tue Oct 27 09:58:11 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdkwindow.c (gdk_window_merge_child_shapes): renamed
- from combine_child_shapes().
-
- * gdk/gdkwindow.c: Merge propagate_shapes() and
- propagate_combine_shapes() to remove code duplication.
+ * gtk/gtkwidget.c:
+ (gtk_widget_unrealize): guard widget access with ref/unref
+ around signal emission.
+ (gtk_widget_hide): same here, but also check its destroyed
+ state before queueing a resize.
-Thu Nov 5 14:31:57 PST 1998 Manish Singh <yosh@gimp.org>
+Tue Feb 8 03:05:55 2000 Tim Janik <timj@gtk.org>
- * gdk/gdk.c: sometimes we get a KeyRelease before a KeyPress in
- gdk_event_translate, and the USE_XIM buffer isn't allocated yet.
- So allocate some mem if it's not already done.
+ * gtk/gtkstyle.c (gtk_style_new): use gtk_default_prelight_bg instead
+ of gtk_default_insensitive_bg as insensitive base color.
- * clist scrollbar merges from HEAD
+ * gtk/gtktext.c (gtk_text_style_set): set the background color according
+ to the widget's state.
+ (gtk_text_realize): same here.
+ (gtk_text_state_changed): same here.
+ (draw_bg_rect): compare background color against base[] from
+ GTK_WIDGET_STATE (text) not GTK_STATE_NORMAL.
-Tue Nov 3 13:16:36 PST 1998 Manish Singh <yosh@gimp.org>
+Mon Feb 7 04:01:55 2000 Tim Janik <timj@gtk.org>
- * gtk/Makefile.am: remove explict -ldl, gmodule takes care of that
+ * gtk/gtkmain.c (gtk_main_do_event): ignore delete events when
+ grabs are active, unless a delete event is send to the toplevel
+ of the currently grab holding widget.
- * gtk/gtkdnd.c: start TARGET_MOTIF_SUCCESS from 0x40000000 instead
- of 0x80000000, so we stay within the bounds of a postive signed
- int (it broke some compilers)
+Sun Feb 6 10:13:15 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmenushell.c
- * gtk/gtkoptionmenu.c: merges from HEAD to make option menus work
- when some of the menuitems are hidden
+ * gtk/gtkctree.c (gtk_ctree_drag_data_received): Remove
+ debugging g_print's.
- * gtk/gtkthemes.h: don't include dlfcn.h explictly, gmodule takes
- care of that
+Fri Feb 4 15:54:54 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.c: add a dummy continue after the line label
- next_rect, since some compilers don't like label: }
+ * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): Don't
+ ever make the scrolled-window requisition ever depend on the
+ visibility state of the scrollbars for the AUTOMATIC policy.
+ This breaks the GTK+ requisition model, and causes loops.
-Sun Nov 1 20:05:55 PST 1998 Manish Singh <yosh@gimp.org>
+Fri Feb 4 15:09:12 2000 Owen Taylor <otaylor@redhat.com>
- * Okay, so we need the X11R6 keysyms so programs don't have to
- worry about them. They don't conflict anyway. Reverted the #ifdef
- changes to gtk/*.c
+ * gtk/gtkstyle.c (gtk_style_new): Set the charset explicitely for
+ the default font to avoid problems with XFree86-4.0 where the
+ default charset is iso10646-1, not iso8859-1.
- * gdk/Makefile.am: remove the BUILT_SOURCES rule, and make a
- special rule for them (X-derived-headers)
+Thu Feb 3 14:58:48 PST 2000 Manish Singh <yosh@gimp.org>
-Sun Nov 1 05:30:32 PST 1998 Manish Singh <yosh@gimp.org>
+ * acinclude.m4
+ * config.guess
+ * config.sub
+ * ltconfig
+ * ltmain.sh: upgrade to libtool 1.3.4 (bugfix only release)
- * gdk/Makefile.am: changed the awk scripts to generate gdkcursors.h
- and gdkkeysyms.h into sed scripts, since the awk scripts weren't
- portable, and we really shouldn't be using awk anyway.
+ * gtk/Makefile.am: minor cosmetic consistency tweak
- * makecursors.awk
- * makekeysyms.awk: bye bye
+Thu Feb 3 14:46:01 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkaccelgroup.c
- * gtk/gtkclist.c
- * gtk/gtknotebook.c
- * gtk/gtkwindow.c: don't use X11R6 keysyms if they aren't there
+ * gtk/gtkmenushell.c (gtk_menu_shell_button_release): Set
+ the activate_time to 0, so that we handle a quick
+ press/release press/release properly and don't suppress
+ the second release. (Red Hat bug #7545)
-Sat Oct 31 15:22:14 PST 1998 Manish Singh <yosh@gimp.org>
+Wed Feb 2 22:25:17 2000 Tim Janik <timj@gtk.org>
- * gdk/Makefile.am: do the same built sources trick for gdkcursors.h
- and gdkkeysyms.h. Remove those files from CVS.
+ * gtk/gtkctree.c (row_delete):
+ (gtk_ctree_node_set_row_data_full): fixed very evil reentrancy
+ bugs with destruction notifier, *always* update internal
+ structures *before* calling user code.
-Sat Oct 31 14:44:01 PST 1998 Manish Singh <yosh@gimp.org>
+Sun Jan 30 20:10:52 2000 Lars Hamann <lars@gtk.org>
- * gdk/gdk.c: move prototype of gdk_wm_protocols_filter outside
- of the USE_XIM #ifdef
+ A few more fixes for bug #5487, #2051, #2677.
+ * gtk/gtkclist.c :
+ (gtk_clist_button_press): Reset clist->anchor to -1 if event->type is
+ not GDK_BUTTON_PRESS.
+ (resync_selection): resync only if selection_mode is
+ GTK_SELECTION_EXTENDED
+ * gtk/gtkctree.c (resync_selection): same here
- * gtk/Makefile.am: cause the built sources to be rebuild when possible,
- even with --include-deps. Slightly different from timj's fix, to avoid
- circular dependency with gtkmarshal.c
+Sun Jan 30 12:29:20 2000 Owen Taylor <otaylor@redhat.com>
- * autogen.sh
- * gtk/gtkclist.[ch]
- * gtk/gtkctree.c
- * gtk/gtkfontsel.[ch]
- * gtk/gtklist.c
- * gtk/gtklistitem.c
- * gtk/gtkobject.[ch]
- * gtk/testgtk.c: merges from HEAD
+ * gdk/gdk.h gtk/gtkmenu.h: Removed duplicate prototypes for
+ gdk_drag_get_selection() and gtk_menu_detach().
- * gtk/gtkmenubar.c
- * gtk/gtkradiomenuitem.c
- * gtk/gtktreeitem.c: cleanups
+ [ From Jeroen Ruigrok/Asmodai ]
-Wed Oct 28 23:32:19 PST 1998 Manish Singh <yosh@gimp.org>
+Sat Jan 29 10:11:56 2000 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkrgb.c: Oops. s/BIGENDIAN/BIG_ENDIAN/
+ * gtk/gtknotebook.c (gtk_notebook_size_request):
+ page->tab_label can be NULL.
-Wed Oct 28 19:04:49 PST 1998 Manish Singh <yosh@gimp.org>
+2000-01-25 Havoc Pennington <hp@pobox.com>
+
+ * gdk/gdkwindow.c (gdk_window_set_back_pixmap): parent_relative
+ arg is boolean
- * configure.in: AIX has libpthreads, to make sure you can have
- more than one thread. Also add -D_THREAD_SAFE, and reorder
- configure.in so CFLAGS doesn't get clobbered when we actually
- want to modify it
+ * gdk/gdkselection.c (gdk_selection_owner_set): return boolean
- * gdk/gdkimage.c: initialize the bpp and byte_order fields properly
- in gdk_image_get
+ * gdk/gdkrectangle.c (gdk_rectangle_intersect): return boolean
- * gtk/testdnd.c: removed unused variable "buf"
+ * gdk/gdkproperty.c (gdk_property_get): return boolean
-Mon Oct 26 16:46:15 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdkinput.c (gdk_input_set_mode): return boolean
- * gtk/gtkcontainer.c (gtk_container_unregister_toplevel):
- remove_link(), not remove()
+ * gdk/gdkim.c (gdk_im_ready): return boolean
-Thu Oct 22 02:27:30 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gdk/gdkgc.c (gdk_gc_set_exposures): gboolean arg
- * gdk/gdkrgb.c: use glib endian stuff
+ * gdk/gdkfont.c (gdk_font_equal): return gboolean (mild
+ glib clash, should fix glib)
- * configure.in: don't need to check for endianness anymore
+ * gdk/gdkevents.c (gdk_set_show_events): take gboolean arg
+ (gdk_get_show_events): return gboolean, and canonicalize
+ to TRUE/FALSE
- * gtk/gtkstyle.h: removed #pragma }, causing a silly warning
+ * gdk/gdkcolor.c (gdk_colormap_new): gboolean flag whether the
+ colormap is private
+ (gdk_colors_alloc): gboolean whether to be contiguous
+ (gdk_color_equal): return gboolean since we are a predicate
+ and not a qsort() (this looks semi-wrong due to glib breakage,
+ IMO glib should be fixed)
+
+ * gdk/gdk.c (gdk_set_use_xshm): take gboolean arg
+ (gdk_get_use_xshm): return gboolean
+ (gdk_pointer_is_grabbed): return gboolean
-Wed Oct 21 17:44:27 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdk.h: Change prototypes to match all the above changes,
+ and re-run egtk-format-protos as required.
- * gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset
- all toplevel widgets, not toplevel windows. (I.e.,
- plugs should be reset)
+Fri Jan 28 12:28:17 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we
- _do_ need to notify the other toplevels - by the time
- the get the client messages, the RC file dates will
- have been updated.
+ * gtk/gtkctree.c (resync_selection):
+ * gtk/gtkclist.c (resync_selection):
- * gtk/gtkcontainer.h: Added a function call to list
- every toplevel widget.
+ Return immediately if clist->drag_pos < 0. This is a workaround
+ for the corrupt state that the clist gets into when a
+ GDK_2BUTTON_PRESS occurs. See note in gtk_clist_button_press().
- * gdk/gdk.c (gdk_event_send_client_message_to_all_recurse):
- Don't send client messages to _every_ window on display!
+ Bug #5487, #2051, #2677; fix suggested by David Helder and T. Alexander Popiel.
-Tue Oct 20 16:21:04 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtknotebook.c (gtk_notebook_size_request): Fix uninitialized
+ variable from recent commit.
- * gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags
- when dragging across widgets, only in drags
- starting in widget.
+Thu Jan 27 15:22:09 2000 Owen Taylor <otaylor@redhat.com>
-Tue Oct 20 15:59:49 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkdnd.c (gtk_drag_begin): Fix stupid typo in last commit.
- * gtk/gtkdnd.c (gtk_drag_source_info_destroy):
- Emit "drag_end" signal at end of drag.
+Thu Jan 27 18:00:55 2000 Tim Janik <timj@gtk.org>
-Tue Oct 20 13:07:54 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/Makefile.am: prefix all autogenerated source that get build in
+ $(srcdir) with $(srcdir)/, so make doesn't assume they got generted
+ in builddir. since we subsequently cd into srcdir for autogeneration,
+ the paths have to be stripped from the target file names, thusly we
+ use $(@F) as target names now.
+ put a comment about configure.in's --disable-rebuilds option,
+ which can be used for non-writable source directories, for development
+ setups though, srcdir has to be *writable*.
- * gtk/gtkwindow.c (gtk_window_read_rcfiles): Look
- for "gtk-embedded" data currently set by
- GtkSocket, and use that to forward client message
- on to embedded windows. Only reset our own toplevel -
- the others will handle themselves. (Now that
- GtkMenus live in GtkWindows)
+hu Jan 27 00:15:03 2000 Owen Taylor <otaylor@redhat.com>
-Mon Oct 19 16:40:40 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkdnd.c (gtk_drag_begin gtk_drag_get_event_actions):
+ Finish the job of allowing event to be NULL.
+ (Fixes bug #4283, reported by Chris Blizzard)
- * gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify
- client window finding code so that it works with
- WM's other than fvwm.
-
-Sun Oct 18 22:48:27 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
- the "GtkDrawWindow" class, which is a descendent
- of the Window class which leaves its background alone.
- Essentially, a toplevel drawing area, though it does
- allow adding a child.
+ * gtk/gtkentry.c (entry_adjust_scroll): When calculating
+ things so that the cursor appears on screen, properly
+ take into account INNER_BORDER.
+ (Fixes bug #4754, reported by Antonio Campos)
-Sat Oct 17 00:40:51 1998 Owen Taylor <otaylor@redhat.com>
+Wed Jan 26 23:12:28 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when
- merging RC styles. Report new share/themes path for
- themes directory. Deref theme engines when appropriate.
+ * gtk/gtknotebook.c (gtk_notebook_map): Don't
+ show the tab_label unless it itself is visible.
- * gtk/gtkclist.c: Set all backgrounds in _style_set().
- Make sure that pixel for xor_gc is never 0.
+ gtk/gtknotebook.c (gtk_notebook_size_request):
+ Do a better job of making sure that the visibility
+ of the tab label corresponds to whether it should
+ be mapped or not.
- * gtk/gtkctree.c: Choose colors for plus/minus more
- carefully, in a hopefully style-independent fashion.
- (Still needs a bit more work)
+Wed Jan 26 21:17:03 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.c: Don't send expose events to widgets
- which are about to be resized and redrawn. (Needs a
- bit more thought.)
+ * gtk/gtkoptionmenu.c (gtk_option_menu_position):
+ Use the requisition, not the allocation, since the
+ allocation has not necessarily been computed yet.
+ (Pointed out by Eugene Osintsev)
- * gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid
- drawing on tabs for newly allocated, un-sized
- pages - we'll get the size wrong.
+Wed Jan 26 19:44:25 2000 Owen Taylor <otaylor@redhat.com>
-Thu Oct 1 17:38:07 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkstyle.c (gtk_style_new): Dont' set
+ style/base[GTK_STATE_INSENSITIVE] both to
+ gtk_default_insensitive_bg!
+ (Bug #2187, reported by Jonathan Blandford)
- * gtk/gtkwidget.c (gtk_widget_redraw_queue_remove): Fixed
- up stupidities in last commit.
+ * gtk/gtkaccelgroup.c (gtk_accelerator_valid):
+ Add Alt_L, Alt_R to list of invalid accelerators.
+ (Bug #3736, reported by Vlad Harchev)
-Thu Oct 1 14:25:43 1998 Owen Taylor <otaylor@redhat.com>
+Wed Jan 26 19:01:56 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.c: When handling queued resizes, account
- for handleboxes, where the widget heirarchy is different
- than the window heirarchy by just queueing a resize on
- the entire handlebox if the detached child is changed.
+ * gtk/gtkfilesel.c (open_ref_dir): Fix several
+ bugs which occured after an attempt to open
+ invalid home directory left cmpl_state->reference_dir == NULL.
- - Remove widgets from the redraw queue when reparenting,
- even if not unrealizing. We queue a resize/redraw in
- any case.
-
-Mon Sep 28 21:07:01 EDT 1998 The Rasterman <raster@redhat.com>
- * gtk/gtkstyle.c: added check to see if the widget has been shaped
- byt the app via gtk_widget_shape_combine_mask and if it has does
- not reset the shape on theme change.
-
-Tue Sep 15 11:30:03 1998 Owen Taylor <otaylor@redhat.com>
+ - completion on files in home directory didn't work
+ - completion on an empty string caused segfault
- * gtk/gtkfilesel.c: Keep a list of directories in which we never
- want to stat the entries (like /afs), and assume everything in
- those directories is a subdirectory.
+ (Bug #3768, reported by Steve Ratcliffe)
- - When following a path, try to open components even when
- we don't find them in their parent's directory to
- support automounters.
+ * gtk/gtkscale.c (gtk_scale_get_value_width): Fix
+ cut and paste error that was causing scales to
+ be incorrectly positioned.
+ (Bug #2956,
+ patch from Steve Ratcliffe <steve@parabola.demon.co.uk>)
-Fri Sep 11 15:36:33 1998 Owen Taylor <otaylor@redhat.com>
+2000-01-27 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
- * gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully
- now at least compiles again.
+ * acinclude.m4 (AM_GTK_WITH_NLS): Add -lintl to libs
+ when checking for dcgettext, if we've found we needed
+ it for dgettext.
++
+Wed Jan 26 18:06:07 2000 Owen Taylor <otaylor@redhat.com>
- * gdk/gdk.c (gdk_event_translate): Don't pass events
- on destroyed widgets to the gdk_input layer.
+ * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore
+ queue_clear on NO_WINDOW widgets during a reparent,
+ since at that point the window and widget heirarchies
+ are out of sync. This stops crashing in some cases
+ (the scrolled window reparent test, for instance), and
+ _probably_ won't cause drawing errors.
-Thu Sep 3 19:45:34 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/testgtk.c: Make the reparenting-a-scrolled-window
+ test do what it was supposed to do and be robust against
+ window closings, etc. (Bug #2443)
- * gtk/gtkthemes.c: Use g_module instead of dlopen()
+Wed Jan 26 16:56:54 2000 Owen Taylor <otaylor@redhat.com>
-Thu Sep 3 19:30:11 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkentry.c: Fix return values on mouse events.
+ (Bug #2686, Sky <seb_sky@yahoo.com>)
- * gtk/gtktooltips.c (gtk_tooltips_expose): Check
- if we've changed widgets since the expose event
- was queued.
+ * gtk/genmarshal.pl: Fix up handling of FOREIGN.
+ (pointed out by George Lebl)
-Mon Aug 31 15:33:13 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdkcolor.c (gdk_color_copy): Made const-safe.
+ (From Ettore Perazzoli <ettore@helixcode.com>)
+
+Mon Jan 24 10:44:48 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit
- to restore approximate bin compatibility with the
- non-themes branch. (This does break bin compat
- within the themes branch.)
+ * gtk/gtkcalendar.c (gtk_calendar_main_button): Handle
+ clicks between rows or outside calender area correctly.
+ (Patch from Damon Chaplin)
-Sun Aug 30 16:48:27 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtkclist.c (gtk_clist_set_row_data_full):
+ * gtk/gtkctree.c (gtk_ctree_node_set_row_data_full):
+ Call destroy function when overwriting existing data.
+ (Pointed out by Damon Chaplin)
- * gtk/gtklabel.c (gtk_label_set): Eliminate a
- gdk_window_clear_area() that snuck in with the
- menu underlines merge.
+Tue Jan 25 09:55:41 2000 Owen Taylor <otaylor@redhat.com>
-Mon Aug 24 23:37:26 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdk.c: Remove useless #include of <X11/Xmu/WinUtil.h>,
+ which was causing problems on various systems with Xmu.
+ This hasn't been needed for a very long time.
+ (Fixes #1185 3167)
- * gtk/gtktext.c: Fixed some remaining background drawing,
- merges from main branch, cleanups.
+Sun Jan 23 22:27:36 2000 Owen Taylor <otaylor@redhat.com>
-Mon Aug 24 10:55:51 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdki18n.h: Include <ctype.h> when defining
+ gdk_isw* in terms of is* as a fallback.
+ (Bug #4106 - Dan Winship <danw@MIT.EDU>)
- * gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
- dereference NULL focus tab.
+Sun Jan 23 22:12:36 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
- functions since we need to both show/hide and
- queue a redraw. (There's some duplication of drawing here,
- we probably should only be queuing a redraw on the
- "value" portion of the scale.)
+ * gtk/gtkviewport.c (gtk_viewport_size_allocate): Don't
+ realize the widget when it is size allocated!
+ (old, old bug)
-Fri Aug 21 19:02:30 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkviewport.c (gtk_viewport_adjustment_value_changed):
+ Removed unused call to gdk_window_get_size() that
+ showed up when the above was fixed.
- * gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
- into the theme-drawing framework. We do this by making them,
- like check/radio-buttons, no-window widgets with subwindows. We
- then move the value by calling gtk_widget_queue_clear() and only
- redraw the value in our draw() / expose() handler. A virtual
- function clear_background is added which queues a clear on the
- "background" portion of the widget.
+Sat Jan 22 15:44:30 2000 Owen Taylor <otaylor@redhat.com>
-Fri Aug 21 13:04:27 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkwidget.c (gtk_widget_reparent): Correctly
+ fix up widget->window when the widget is a
+ NO_WINDOW container widget.
- * gtk/gtktext.c (mark_bg_gc): Make background colors work
- again. (We can't always paint the background with a
- paint() function - only do that for selected text)
+Sat Jan 22 12:40:48 2000 Owen Taylor <otaylor@redhat.com>
-Mon Aug 17 20:31:01 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdkpixmap.c (gdk_pixmap_seek_string): Rewrite
+ to account for the fact that feof() does _not_
+ return TRUE on errors, and thus avoid infinite loops
+ when trying to use gdk_pixmap_create_from_xpm()
+ on unreadable values.
- * gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
- gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.
+Fri Jan 21 18:32:43 2000 Owen Taylor <otaylor@redhat.com>
- * Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
- the themes can't be built as part of the same build since
- they depend on gdk_imlib.
+ * gtk/gtkaspectframe.h (struct _GtkAspectFrame): s/gint/gboolean/.
-Fri Aug 14 12:44:30 1998 Owen Taylor <otaylor@redhat.com>
+Fri Jan 21 16:24:08 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
- from gtkthemes.c.
-
- * configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
- gtk/
+ * gdk/gdkgc.c (gdk_gc_set_dashes): Change from
+ gdk_gc_set_dashes to take gint8 instead of gchar to
+ make it clearer that it is _not_ a NULL terminated string.
- - Upgrade to libtool-1.2b + patch to add shared library dependencies
- for Linux. (Needs to be extended to other platforms where they
- are safe)
+ * gdk/gdk.h gdk/gdkfont.c gdk/gdkgc.c gdk/gdkselection.c
+ gdk/gdkwindow.c gtk/gtkprogress.[ch] gtk/gtkthemes.[ch]
+ gtk/gtktreeitem.[ch] gtk/gtkwidget.[ch]: Constify string
+ arguments.
- - Check for -ldl so this branch should build on all platforms, though
- themes will work on all platforms they could work on.
+Thu Dec 30 04:51:05 1999 Tim Janik <timj@gtk.org>
- - Use -version and -release simultaneously: sonames stay as they are
- in the current scheme, but -lgtk-1.1 changes to -lgtk.
+ * gtk/gtkvscale.c (gtk_vscale_pos_background):
+ * gtk/gtkhscale.c (gtk_hscale_pos_background): when calculating the
+ background size relative to our allocation, guard against small
+ allocations, we may have not yet been size allocated.
- - Added in extra -l flags to library LDFLAGS so we get shared library
- dependencies against X libs and -ldl. (But not libgtk against
- libgdk or libglib yet, since dependencies against uninstalled
- libraries aren't portable)
+Thu Dec 2 10:59:14 1999 Owen Taylor <otaylor@redhat.com>
-Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
- * gtkrc.c - added api calls to find module and theme paths from gtk.
- nuked gtk_install_prefix global.
-
-Fri Aug 21 12:36:46 EDT 1998 The Rasterman <raster@redhat.com>
- * fixed gtk_install_prefix global.
-
-Thu Aug 20 19:27:49 EDT 1998 The Rasterman <raster@redhat.com>
- * added gtk_install_prefix global const variabel to find where gtk is
- installed.
-
-Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
- * added ~/.gtk/lib/themes/engines/ to the default searchpath for
- gtk theme engines
+ * gdk/gdkdnd.c (xdnd_check_dest): Allow version >= 3,
+ not just version == 3. We implement all 3 + most of 4 -
+ (we don't support matching text/plain;charset=iso-8859-1
+ to a dest that expects text/plain). We'll still advertise
+ 3 to be safe, but any client implementing version >= 3
+ must interoperate with 3.
-Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
- * made gtkrc scanner append dir that gtkrc is read from to pixmap path.
-
-Mon Aug 10 23:03:55 1998 The Rasterman <raster@redhat.com>
- * Fixed minor problem in gtkhandlebox.c with drawing, and some
- notebook stuff. Also pixmap theme is now "clean" again.
-
-Mon Aug 10 23:03:55 1998 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up
- queued area resizing once more.
-
-Mon Aug 10 23:09:30 EDT 1998
- * Added a few drawing fixes for notebook and other widgets. finished
- pixmap theme up to the level that can be supported so far. (need to
- add path discovery 9ie where is the rc fiel from - add to pixmap
- path so we can get theimages from there too). then we can package
- themes. After that need to add to theme seartch path stuff in users
- home dir.
-
-Thu Aug 6 16:49:25 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
- drawing area, draw in an expose handler.
-
- * gtk/gtknotebook.c (gtk_notebook_expose): Check for
- empty current page.
-
-Wed Aug 5 16:13:15 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
- creation of GC's so that they will be set before
- they are used for map events (why are they used there?)
-
- * gtk/gtkwidget.c: Fixed mistake that caused widgets to
- be queued in multiple times in the queue.
-
-Wed Aug 5 14:23:52 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkstyle.c (gtk_default_draw_shadow): Don't set
- clip rects (or do anything) for shadow_none.
+Tue Mar 14 11:53:31 2000 Owen Taylor <otaylor@redhat.com>
-Wed Aug 5 13:14:57 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtktooltips.[ch] (struct _GtkTooltips): Remove foreground,
+ background and gc members, add a warning in gtk_tooltips_set_color()
+ indicating that this function is deprecated.
- * gtk/gtkbutton.c (gtk_button_paint): Restored paint function.
- Yes, it was needed. draw() and expose() are _not_
- identical.
+Thu Mar 9 22:10:56 GMT 2000 Tony Gale <gale@gtk.org>
-Sat Aug 1 17:44:31 EDT 1998 EDT 1998 The Rasterman <raster@redhat.com>
- * Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.
+ * docs/gtkfaq.sgml: FAQ Update:
+ - Minor cleanups (Emmanuel, me)
+ - New questions:
+ I need to add a new signal to a GTK+ widget. Any idea? (timj)
+ How can I retrieve the text from a GtkMenuItem? (timj)
+ How do I validate/limit/filter the input to a GtkEntry? (me)
+ Memory does not seem to be released when I free the list
+ nodes I've allocated (timj)
-Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
- * YES YES YES YES YES clist borders work again! YES! YES YES! gimme
- more baby oooh yeah more more MORE YES YES.
+2000-03-07 Tor Lillqvist <tml@iki.fi>
-Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
- * hopefully fixed problem wiht togglebuttons acting like
- radiobuttons in gtktogglebutton.c
+ * gdk/win32/gdkmain-win32.c: Internal GDK error reporting changes:
+ (gdk_win32_gdi_failed) New function for reporting errors from GDI,
+ for which it is no use to call GetLastError onWin9x.
+ (gdk_other_api_failed) New function, for general error
+ reporting without calling GetLastError.
+ (gdk_win32_api_failed) OTOH, this function always calls
+ GetLastError. (gdk_win32_last_error_string) Remove this function,
+ GLib has the equivalent now.
-Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
- * fixed another drawing buglet in the frame drawing code (actually
- in the clearing code but anyway in gtkstyle.c)
+ * gdk/win32/gdkprivate-win32.h: Declare the above, and macros to
+ call them with function name, file name and line number in the
+ arguments.
-Thu Jul 30 19:23:48 EDT 1998 The Rasterman <raster@redhat.com>
- * Fixed warning from colorsel widget...
-
-Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
- * Fixed defautl drawing code to no longer clobber the original style
- pixmap bgs as it did and added a helper funciton og gtkstyle.c to
- help with this.
-
-Thu Jul 30 18:09:21 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
-
- * gtk/gtktooltips.c: Pass a widget (the window) to the
- drawing function instead of the GtkTooltips.
+ * gdk/win32/*.c: Use the new macros for reporting errors from GDI
+ functions.
+
+ * gtk/gtk.def: Add some missing entry points.
-Thu Jul 30 17:27:10 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
+ gtk_paned_set_gutter_size, which don't exist any longer, as void.
+
+ Fixes by Hans Breuer:
- * gdk/gdkwindow.c: Abstract out checking for shape
- extension into a function.
+ * gdk/makefile.msc: Update for debugging.
- * gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
- Remove extra callls to gtk_window_draw().
+ * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Fake
+ implementation, just use the PS_DASH, PS_DOT, PS_DASHDOT or
+ PS_DASHDOTDOT or PS_DASH styles depending on the number of entries
+ in the dash_list.
-Thu Jul 30 11:18:43 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/win32/gdkwin32.h (GDK_FONT_XFONT): New macro, similar as in
+ the x11 backend.
- * gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.
+ * gdk/win32/gdkprivate-win32.h (IS_WIN_NT): New macro.
- * themes/th_main.c: Moved messages around so they are
- printed before destroying strings.
+ * gtk/testgtk.c: Include config.h, guard inclusion of unistd.h.
-Wed Jul 29 16:56:07 1998 Owen Taylor <otaylor@redhat.com>
+2000-03-04 Tor Lillqvist <tml@iki.fi>
- * gdk/gdk.c: Fairly simple implementation of expose compression.
- (No GraphicsExpose compression yet, always compress
- with the equivalent of XtCompressMultiple - no compression
- of Expose events across non-Expose events)
-
- * gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
- Find rectangle bounding two rectangles.
+ * gdk/win32/gdkprivate-win32.h (struct _GdkWindowWin32Data): Store
+ just pixel value of background colour.
- * gtk/gtkstyle.c: Set clip rects for a few extra GC's
- in gdk_default_draw_shadow()
+ * gdk/win32/gdkgc-win32.c (gdk_colormap_color): New function
+ containing code snippet previously duplicated in a couple of
+ places.
-Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
- * Fixed drawing functions to handle switching themes on the fly
- gracefully and look decent.
-
-Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
- * Added all the theme drawing code to all widgets, fixed up minor
- nigglies in some widgets when it comes to themes, seem to be
- running into some funky behavior with clipping rects in GC's. Too
- many files to list here. (all files that now use gtk_paint_* are
- affected).
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_points): Use
+ gdk_colormap_color.
-Tue Jul 28 22:49:16 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate
+ GDK_SCROLL events for WM_MOUSEWHEEL messages. Don't generate
+ events for autorepeated Shift, Control and Alt keys. Use
+ gdk_colormap_color.
- * themes/th_main.c themes/th_draw.c gtk/testgtkrc:
- Set up the demo theme so it is loaded from the RC file.
+ * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): If the
+ pointer is inside the window the cursor of which we are setting,
+ call SetCursor immediately.
- * themes/th_draw.c: Alleviate the hardcoded paths a wee
- bit. (use $HOME/themes/)
+ * gdk/win32/makefile.cygwin
+ * gtk/makefile.cygwin: If we don't have the build number stamp
+ file, use zero.
- * gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in
- the RC file via dlopen()
+ * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and
+ gtk_paned_set_gutter_size as empty.
-Tue Jul 28 20:30:56 1998 Owen Taylor <otaylor@redhat.com>
-
- Internal handling of styles and RC styles pretty much
- completely reworked for Theme work.
-
- * gtkthemes.[ch]:
- - Added routines for virtualization of RcStyle and Style handling.
- - Temporary "sample" inline theme-engine. (Does nothing
- but print out a few messages.
-
- * gtkrc.[ch]
- - Made GtkRcStyle public, added flags to tell if particular
- colors have been set.
- - RC Styles are "transparent", and the final style for
- a widget is the composition of all matching styles
- - Added pointer to GtkThemeEngine, and gpointer engine_data
- to RC style and style.
- - Parse "engine" keyword, load the appropriate theme engine
- and call the engine's parser.
-
- * gtkstyle.[ch]
- - Keep a GtkRcStyle * in styles created from Rc Styles.
- - Load up images from RC file at style attachment time.
- - Call ->engine->foo() at appropriate times.
- - Don't use a GCache. All incarnations for a style are
- just linked together in a list, depend on the RC style
- code to find the existing copy.
-
-Tue Jul 28 14:41:54 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwidget.[ch]: Added the concept of queued redraws
- of partial areas. This can be done either relative
- to the existing windows (gtk_widget_queue_clear[_area]())
- or relative to the future allocation of the widget
- (gtk_widget_queue_draw[_area]).
-
- The initial implementation is pretty braindead, but
- can be improved.
-
- * gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
- in favor of gtk_widget_queue_clear().
+ * gtk/gtk.def: Remove gtk_paned_set_gutter_size.
- * gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
- flags in favor of gtk_widget_queue_clear()
-
-Tue Aug 4 19:12:14 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
- handling of partially clipped areas.
-
-Thu Nov 5 18:52:35 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.h (struct _GtkCListClass)
- * gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing.
-
-Thu Nov 5 16:00:32 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
- vscrollbar_policy, hscrollbar_policy. added h/vadjustment.
-
- * gtk/gtkclist.c (gtk_clist_class_init): added new args types
- "hadjustment" & "vadjustment"
- (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
- set/get_arg functions
- (gtk_clist_construct): don't create/adjust scrollbars.
- (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
- to set h/vadjustments
- (gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
- to query h/vadjustments
- (create_scrollbars): removed.
- (create_adjustments): replacement for create_scrollbars
- (gtk_clist_new): call gtk_clist_new_with_titles
- (gtk_clist_new_with_titles): don't warn on titles == NULL
- (move_horizontal): use CLAMP instead
- (gtk_clist_set_policy): deprecated method.
- use gtk_scrolled_window_set_policy instead.
- (vadjustment_value_changed): use clist->vadj.
- (adjust_scrollbars): renamed to adjust_adjustments
- (adjust_adjustments): former adjust_scrollbars
- (gtk_clist_destroy): unref adjustments
- (gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
- (gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
- (gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
- (gtk_clist_thaw) (real_insert_row) (real_remove_row)
- (gtk_clist_set_row_height) (real_resize_column):
- call adjust_adjustments
- (gtk_clist_moveto): return if clist has no adjustments yet.
- (gtk_clist_parent_set): new GtkWidget::parent_set function.
- Autogenerate h/vadjustments if needed.
- (move_horizontal) (move_vertical): some cleanups
-
- * gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
- call only gtk_viewport_set_h/vadjustment and let these functions
- do the work.
- (gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
- generate a new adjustment if needed
-
- * gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
- use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
- queue_resize if visibility of scrollbars changes
- (gtk_scrolled_window_remove): only call container_remove with
- scrolled_window->viewport automatically if viewport was autogenerated
- (gtk_scrolled_window_add): add widget as scrolled_window->viewport.
- auto create a viewport only if widget does not take h/vadjustments.
- (gtk_scrolled_window_construct): don't generate a viewport
- automatically.
- (gtk_scrolled_window_forall): call callback with viewport in any case
- (gtk_scrolled_window_set_arg): call gtk_container_add in case of
- ARG_VIEWPORT
- (gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
- (gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
- viewport != NULL
+Tue Feb 29 13:10:00 GMT 2000 Tony Gale <gale@gtk.org>
- * gtk/testgtk.c
- (create_ctree) (export_ctree) (create_clist): use a scrolled_window
- in conjunction with clists/ctrees
+ * gdk/gdkwindow.h gdk/x11/gxid.c gtk/gtkclist.c gtk/gtkclist.h
+ gtk/gtkctree.c gtk/gtkmenu.h gtk/gtkwidget.c gtk/testgtk.c
+ docs/styles.txt docs/refcounting.txt docs/gtkfaq.sgml
+ docs/gtk_tut.sgml docs/gtk.texi TODO:
- * gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
- in conjunction with clists
+ Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
- * gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
- in conjunction with clists
+Sat Feb 26 11:46:25 GMT 2000 Tony Gale <gale@gtk.org>
-Wed Nov 4 21:52:57 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkcalendar.c: Implement num_marked_dates,
+ and don't emit mutiple day_selected signals on
+ month_prev.
- * gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment
- (gtk_ctree_remove_node): select focus_row if needed
- (cell_size_request): only get pixmap size if pixmap != NULL
+2000-02-25 Jonathan Blandford <jrb@redhat.com>
-Wed Nov 4 04:30:37 1998 Tim Janik <timj@gtk.org>
+ * docs/make-todo (lineno): let title and logo be configurable so
+ that GNOME can use this script too.
- * gtk/gtkwidget.c: added a bunch of checks for widget != NULL and
- GTK_IS_WIDGET (widget):
+ * TODO.xml: added logourl and a title
-Wed Nov 4 02:02:07 1998 Lars Hamann <lars@gtk.org>
+Fri Feb 25 11:12:00 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkclist.c (real_remove_row) (sync_selection): set correct
- focus_row after a remove_row call.
+ * TODO.xml: Added some UI items, and an explanatory
+ comment at the top of the file.
-Sun Nov 1 21:00:06 GMT 1998 Austin Donnelly <austin@greenend.org.uk>
+Thu Feb 24 09:07:28 2000 Tim Janik <timj@gtk.org>
- * gtk/gtkoptionmenu.c
- * gtk/gtkmenushell.c: make option menus work when some of the
- menuitems are hidden - previously, option menu would popup too
- high.
+ * TODO.xml: some updates, added abunch of new entries.
+ a note for those fiddeling with this file, when done
+ with it, invoke:
+ $ ./docs/make-todo TODO.xml >/dev/null
+ and correct output errors before comitting changes.
-1998-10-31 Raja R Harinath <harinath@cs.umn.edu>
+Wed Feb 23 22:59:50 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkfeatures.h.in: Remove `#pragma }'.
+ * TODO.xml: Added XML-structured TODO file.
+ * docs/make-todo: python script to turn TODO.xml into
+ pretty XML output.
- * gdk/gdki18n.h: Update to use new `glib' widechar defines.
+2000-02-23 Jonathan Blandford <jrb@redhat.com>
- * configure.in (CFLAGS): Don't use test -z "echo .. | grep". Use
- case instead.
- (wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'.
- (GDK_WLIBS): New variable. Lists extra libraries needed to use
- widechar functions.
- * gtk-config.in (--libs): List $GDK_WLIBS, too.
+ * gtk/gtkstyle.c (gtk_default_draw_handle): add a 'paned' mode to
+ the function to let it draw the seven dots, instead of the old,
+ much maligned, method.
+ (draw_dot): New function to draw a dot.
-Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
+ * gtk/gtkhpaned.c (gtk_hpaned_size_allocate): changed allocation
+ to draw the handle inside the border width as opposed to outside.
+ Use paint function instead of gdk_draw_point.
- * Released GTK+ 1.1.3
-
- * INSTALL:
- * NEWS:
- * README:
- * gtk+.spec:
- * docs/gtk-config.1: updated for v1.1.3
-
- * Makefile.am
- * sanity_check
- * docs/Makefile.am: Includes new 'make release' as well as
- 'make sanity'. Also handles html and text creation from html,
- and puts them into the distribution
-
- * docs/Makefile.sgml: removed, similar functionality is now in
- the Makefile.am file
+ * gtk/gtkvpaned.c (gtk_vpaned_size_allocate): changed allocation
+ to draw the handle inside the border width as opposed to outside.
+ Use paint function instead of gdk_draw_point.
- * docs/.cvsignore: ignore html and text directories
- * docs/glib.texi: removed (now in glib dist)
+ * gtk/gtkfilesel.c (gtk_file_selection_update_history_menu):
+ Change indenting to be more GTK like.
-Fri Oct 30 20:02:36 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtklist.c (gtk_list_remove_items_internal):
- free undo_un/selection, unselect list_item before disconnect
- signal functions
- (gtk_list_destroy): removed. gtk_list_shutdown clears the list
- already
- (gtk_list_signal_item_select) (gtk_list_signal_item_deselect)
- (gtk_list_signal_item_toggle) (gtk_list_signal_scroll_horizontal)
- (gtk_list_signal_toggle_focus_row) (gtk_list_signal_select_all)
- (gtk_list_signal_unselect_all) (gtk_list_signal_undo_selection)
- (gtk_list_signal_start_selection) (gtk_list_signal_end_selection)
- (gtk_list_signal_toggle_add_mode) (gtk_list_signal_scroll_vertical)
- (gtk_list_signal_extend_selection) (gtk_list_signal_focus_lost):
- new functions. These functions are signal connected to inserted
- list_items, to handle key bindings and GtkItem::de/select/toggle
- signals.
+Wed Feb 23 10:54:14 GMT 2000 Tony Gale <gale@gtk.org>
- * gtk/gtklistitem.c (gtk_list_item_class_init): added missing
- gtk_object_class_add_signals call.
- (gtk_list_item_toggle_focus_row) (gtk_list_item_select_all)
- (gtk_list_item_unselect_all) (gtk_list_item_undo_selection)
- (gtk_list_item_start_selection) (gtk_list_item_end_selection)
- (gtk_list_item_extend_selection) (gtk_list_item_scroll_horizontal)
- (gtk_list_item_scroll_vertical) (gtk_list_item_toggle_add_mode):
- removed. These functions are handled via connected
- gtk_list_signal_* functions now
+ * docs/gtk_tut.sgml: New section on GtkCalendar
+ * examples/calendar: Update example code
-Fri Oct 30 05:24:43 1998 Tim Janik <timj@gtk.org>
+Tue Feb 22 13:54:12 GMT 2000 Tony Gale <gale@gtk.org>
- * gtk/Makefile.am: cause the built sources to be rebuild when possible,
- even with --include-deps:
- $(libgtk_la_SOURCES): $(BUILT_SOURCES)
-
-Fri Oct 30 01:56:08 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkobject.c (gtk_object_remove_no_notify): renamed from
- gtk_object_data_set_destroy to fit the gtkobject.h API.
-
- * applied patch from Damon Chaplin <DAChaplin@email.msn.com>:
- * gtk/gtkfontsel.h:
- * gtk/gtkfontsel.c:
- Added support for an extra 'base' filter which an application can
- set to restrict the fonts available to the user (e.g. a terminal
- program only wants the user to be able to select fixed-width fonts).
- The type of font (bitmap/scalable/scaled bitmap) is now
- also a part of the filter, so that an application can
- request that only scalable fonts are shown.
- There are new functions to set the base & user filters.
- I've also stopped the up/down key press signals getting
- to the clists since the font selection widget handles
- them itself. It acted a bit strangely before.
-
-Sun Oct 25 20:27:02 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkmain.c (gtk_init): support an environment variable
- GTK_MODULES= which takes a colon sperated list of module names
- automatically loaded at gtk_init() startup.
-
-Sun Oct 25 08:04:33 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.c: added more g_return_if_fail() statements.
-
-Thu Oct 22 22:40:35 1998 Lars Hamann <lars@gtk.org>
+ * docs/gtkfaq.sgml: FAQ Update
- * gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy
- is sufficient
+2000-02-19 Anders Carlsson <andersca@gnu.org>
-Thu Oct 22 16:22:55 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE
+ to prevent the scroll event to be propagated upwards.
- * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
- columns
+Fri Feb 18 14:37:29 2000 Owen Taylor <otaylor@redhat.com>
-Thu Oct 22 02:29:53 1998 Tim Janik <timj@gtk.org>
+ * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove
+ OwnerGrabButtonMask from button entries for
+ GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE.
- * gtk/gtkfilesel.h: GtkType and macro fixups
- * gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern
- for the file selection widget to try a completion on (set the
- initial filter).
+ * gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL
+ to the event mask (which will result in button/press release
+ being added to the event mask on Unix) so scrolling works
+ for layouts in scroll windows.
-Wed Oct 14 14:34:04 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK.
- * gtk/gtkmain.c: implement idle functions via GHook. this gives a
- slight speed improvement and lessens code duplication.
+ Patch from Anders Carlsson <andersca@gnu.org> to add
+ a scroll event.
-Tue Oct 20 14:53:28 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel
+ scrolling to the "Test Scrolling" part of testgtk.
+
+ * gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal.
+
+ * gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched
+ it against GDK_SCROLL.
+
+ * gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new
+ way of mouse wheel scrolling.
+
+ * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise.
+
+ * gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise.
+
+ * gtk/gtkmain.c: Removed previous mouse wheel hack.
+
+ * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in
+ gdk_event_mask_table.
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate): Added
+ GdkEventScroll handler.
+
+ * gdk/gdkevents.h: Added GdkEventScroll structure.
+
+Thu Feb 17 17:10:12 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkdnd.c: Always send "drag_leave" to dests
- without GTK_DEST_DEFAULT_MOTION.
+ * gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford
+ and Anders Carlsson to change the Paned widgets so that they
+ can be dragged from anywhere along the length. Also change
+ the way that this is drawn to make this apparent.
-Tue Oct 20 11:55:24 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch
+ from George Lebl to check that option_menu->menu is present
+ before getting history.
- * gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
- on destroyed windows so we clear the XID table properly.
- Finish up restructure of return value handling that
- was half-done before.
+2000-02-14 Tor Lillqvist <tml@iki.fi>
-Tue Oct 20 12:57:10 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
+ before the assertion for non-NULL segment list.
- * gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
- the window tree more comprehensively, so that we find
- client windows hidden under non-toplevels.
+ * gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
+ Seems that pattern brushes *must* be 8x8 pixels! At least on my
+ machine, but it might be display driver dependent. Sigh, so make
+ sure the stipple is that size. Does Windows suck or what?
-Tue Oct 20 12:43:04 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
+ places.
- * gtk/gtkselection.c (gtk_selection_data_set):
- Maintain the null-termintation guarantee, even when
- data = NULL, length = 0. (Warn on data = NULL,
- length > 0)
+2000-02-13 Havoc Pennington <hp@pobox.com>
-Mon Oct 19 16:41:44 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+ refcount to 1
+ (gdk_cursor_new): init refcount to 1
- * gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
- into function prototype for drag_data_received.
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
-Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
+2000-02-13 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.
+ * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
+ so that we don't have to do unnecessary settings to the HDC.
-Mon Oct 19 23:44:41 1998 Lars Hamann <lars@gtk.org>
+ * gdk/win32/gdkdrawable-win32.c
+ * gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
+ gdk_gc_predraw.
- * gtk/gtkclist.c: rearranged some functions
- (gtk_clist_set_column_auto_resize): new function. toggle auto_resize
- flag of column
- (gtk_clist_set_column_resizeable): if resizeable disable auto_resize
- (gtk_clist_set_border): deprecated function, use
- gtk_clist_set_shadow_type instead.
- (gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
- (adjust_scrollbars): some cleanups
- (select_row) (unselect_row): removed. replaced by equivalent
- gtk_signal_emit calls
- (add_style_data): removed, use gtk_clist_style_set instead
- (gtk_clist_style_set): fill in size data, after style was set.
- (set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
- (gtk_clist_set_cell_style): auto_resize columns if needed
- (column_auto_resize): resize column if needed for auto_resize
- (real_clear): disable auto_resize while list destroy
- (resize_column): removed
+ * gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
+ the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
+ GDI paths, call WidenPath to get the outline of the stroken path,
+ and then fill the outline (with the brush that was built from the
+ stipple).
- * gtk/gtkctree.c : (gtk_ctree_remove_node)
- (gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
- (gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
- (set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
- (real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
- (real_tree_collapse) (real_tree_expand) (column_auto_resize):
- auto_resize columns if needed
- (gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
- (real_clear): disable auto_resize while processing the tree
+ * gdk/win32/gdkgc-win32.c: Factor out common code from
+ _gdk_win32_gc_new and gdk_win32_gc_set_values into
+ gdk_win32_gc_values_to_win32values. Use correct colour for
+ SetBkColor() (Until now the code actually used a random colour in
+ the call to SetBkColor()... but that didn't show up as not many
+ GDI APIs use the background colour. Pattern (opaque stippled)
+ brushes do.)
- * gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
- for one column
+ * gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
+ gdk_win32_api_failed): New functions for error logging.
-Mon Oct 19 08:31:36 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/win32/gdkprivate-win32.h: Declare them, and define a macro
+ WIN32_API_FAILED to call them, passing function or file name and
+ line number.
- * gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
- typo - look for right atom on transfer failures.
+ * gdk/win32/*.c: Use the WIN32_API_FAILED macro.
-Sun Oct 18 20:52:22 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkprivate-win32.h: Store just the pixel values from
+ GdkColor for foreground and background in GdkGCWin32Data.
- * gtk/gtkwidget.c gtkmarshal.list: Change signal
- for drag_data_get to match the use that was being
- made of it everywhere else...
+ * gdk/makefile.cygwin: Link in the resource object separately.
-Sun Oct 18 18:16:39 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/rc/gdk.rc
+ * gtk/gtk.rc (New file)
+ * gdk/win32/makefile.cygwin
+ * gtk/makefile.cygwin: Update build number in DLLs automatically,
+ as in GLib.
- * gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
- mechanism, that is used for the DND messages.
+Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org>
- Removed all the old DND code.
+ * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
+ * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
+ * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
+ parameters given and cursor->ref_count. coding style fixups.
- * gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
- get the visual of a given colormap.
+ * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
+ not GtkWidget.
- * gtk/gtkcolorsel.c: Conversion to new DND, drag
- a color-swatch.
-
- * gdk/gdk.h gdk/gdkdnd.c: The low-level
- X oriented portions of drag and drop protocols.
- Sending and receiving client messages, and navigating
- window trees.
-
- * gdk/gdkimage.c: added a gdk_flush() when destroying
- SHM images to hopefully make it more likely that
- X will gracefully handle the segment being destroyed.
-
- * gdk/gdkprivate.h gtk/gtkdebug.h: Add new
- DND debugging flags.
-
- * gtk/gtkeditable.[ch]: Updates for the selection handling
- changes.
+ * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
+ fix up widget macros and add _GET_CLASS() variant.
- * gtk/gtkselection.[ch]: Added GtkTargetList, a
- refcounted data structure for keeping track of lists
- of GdkAtom + information. Removed selection_handler_add
- in favor of a "drag_data_get" signal.
-
- * gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
- dependent) parts of the DND protocols, display of drag icons,
- drag-under highlighting, and the "default handlers".
+ * gtk/*.c: some GtkType fixups.
- * gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
- windows that are used for reliable pointer grabs and
- selection handling in the DND code.
+2000-02-09 Tor Lillqvist <tml@iki.fi>
- * gtk/testdnd.c: New test program for new DND. (Old
- DND tests in testgtk still need to be converted.)
+ * gdk/win32/gdkproperty-win32.c
+ * gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW
+ were reversed.
- * gtk/testselection.c: Use the new selection API.
-
- * docs/dnd_internals: Start at describing how
- all the new code works inside.
+2000-02-04 Tor Lillqvist <tml@iki.fi>
- * docs/Changes-1.2.txt: New file describing source-incompatible
- changes in GTK+-1.2.
+ * gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
+ g_filename_to_utf8 to convert the font names Windows gives us from
+ whatever is the default codepage to UTF-8.
+ (gdk_font_load_internal) Use g_filename_from_utf8 for conversion
+ in the other direction.
-Sat Oct 17 22:50:34 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
+ error in debugging output.
- * gdk/gdkwindow.c (gdk_window_remove_filter): Free
- the right list node.
+2000-02-02 Tor Lillqvist <tml@iki.fi>
- * gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
- to the XID table so we can receive events on it.
+ * gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
+ and height parameters to gdk_window_clear_area(). Not minus one.
-Wed Oct 14 12:57:40 1998 Owen Taylor <otaylor@redhat.com>
+Wed Feb 2 11:58:05 2000 Owen Taylor <otaylor@redhat.com>
- * gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
- to get the timestamp from a generic event.
+ * gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity
+ checks if the widget passed to gtk_drag_get_data() was not the
+ dest widget.
-Fri Oct 9 13:16:04 1998 Owen Taylor <otaylor@redhat.com>
+2000-02-01 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkwidget.c (gtk_widget_add_events): Added function
- that safely adds additional events to a widget's event
- mask, even if the widget has previously been realized.
- (We can do this, but not remove events from the event
- mask).
+ * gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
+ g_filename_from_utf8 functions (which were added a moment ago to
+ GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
+ size buffers.
-Fri Oct 2 17:35:35 1998 Owen Taylor <otaylor@redhat.com>
+ gtk_file_selection_get_filename returns the filename in the C
+ runtime encoding. It calls g_filename_from_utf8, but copies the
+ returned string to a static buffer, which is returned. I think
+ this is better than returning the result from g_filename_from_utf8
+ directly, which would mean all apps that use it would have to free
+ the return value. Or should this function care about this issue at
+ all? Maybe a new function with clearly defined semantics.
- * gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
- for AnyPropertyType.
+ * gtk/gtkfilesel.h: Add comment about
+ gtk_file_selection_get_filename returning the filename in the C
+ runtime's encoding.
-Fri Oct 2 10:32:21 1998 Owen Taylor <otaylor@redhat.com>
+ * README.win32
+ * gdk/gdk.def
+ * gdk/makefile.{cygwin,msc}
+ * gtk/gtk.def: Updates.
- * gdk/gdkproperty.c (gdk_atom_intern): Add client-local
- hashing.
+ * gdk/gdkcursor-win32.c: Initialise refcount.
-Thu Sep 24 20:33:54 1998 Owen Taylor <otaylor@redhat.com>
+2000-01-31 Yuan-Chung Cheng <platin@linux.org.tw>
- * gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
- isn't a timestamp.
+ * configure.in: Added "zh_CN.GB2312" to ALL_LINGUAS.
-Thu Sep 17 14:23:03 1998 Owen Taylor <otaylor@redhat.com>
+2000-01-30 Havoc Pennington <hp@pobox.com>
- * gdk/gdk.c (gdk_event_translate): Removed printing
- of unknown window lookup warnings. (Made it
- a GDK_NOTE) - they happen in many circumstances.
+ * gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
+ destroy
-Tue Sep 8 12:38:43 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/gdkimage.c (gdk_image_ref): image wasn't being returned
- * Call XFilterEvent() on events we get for unknown
- windows, since it may be the window Xlib uses to
- communicate with the IM.
- (From Yung-Ching Hsiao <yhsiao@cae.wisc.edu>)
+ * gdk/gdkprivate.h: declare _gdk_cursor_destroy which is then
+ implemented in platform-specific code
-Tue Sep 1 10:53:52 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/Makefile.am (gdk_c_sources): add gdkcursor.c
- * gtk/gtkprogress.c (gtk_progress_finalize): Unref
- the adjustment.
+ * gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy): rename with an
+ underscore in front
-Thu Aug 27 12:03:14 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
+ put an underscore in front
- * gtk/gtksignal.c (gtk_signal_newv): Improve warning
- message for return_value + GTK_RUN_FIRST.
+ * gdk/gdkcursor.c: new file, implements
+ gdk_cursor_ref/gdk_cursor_unref
-1998-10-18 Martin Baulig <martin@home-of-linux.org>
+ * gdk/gdkcursor.h: Refcount GdkCursor
- * gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
- line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
+ * gdk/gdkcompat.h (gdk_cursor_destroy): compat
-Fri Oct 16 15:59:02 1998 Lars Hamann <lars@gtk.org>
+2000-01-29 Tor Lillqvist <tml@iki.fi>
- * gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
- styles of inserted row
- (change_style): change style of focus_row
+ * gdk/gdkwindow.h
+ * gdk/gdkpixmap.h: Remove prototypes for renamed functions.
- * gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
- (gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
- to set/get row/cell styles.
- (gtk_clist_realize): attach row and cell style, allocate row colors.
- (gtk_clist_unrealize): detach row and cell styles.
- (get_cell_style): new function. get correct cell style.
- (draw_cell_pixmap): new function.
- (draw_row): draw cells with row or cell styles.
- (row_new): set cell and row styles to NULL.
- (row_delete): detach & unref cell and row styles.
+Tue Jan 25 11:43:21 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles):
- new functions to attach/detach styles and allocate colors.
- (gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
- styles of invisible nodes.
- (draw_cell_pixmap): new function.
- (get_cell_style): new function. get correct cell style.
- (gtk_ctree_draw_expander): new function. draw tree expander.
- (gtk_ctree_draw_lines): new function.draw tree lines.
- (draw_row): draw cells with row or cell styles.
- (row_new): set cell and row styles to NULL.
- (row_delete): detach & unref cell and row styles.
- (gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style)
- (gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style):
- Analogons of GtkCList functions
- (gtk_ctree_set_spacing): new function. set spacing between
- tree expander and cell contents
- (gtk_ctree_set_expander_style): new function. set expander style
- of ctree.
- (ctree_is_hot_spot): few changes due to draw_row modifications.
+ * gtk/gtkinvisible.h (struct _GtkInvisible[Class]): Fix
+ structures to properly inherit from GtkWidget not GtkBin.
-Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
+Sun Jan 23 20:28:24 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkcombo.c: try completion on MOD1-TAB.
- Handle case when the combo->list is empty.
+ * gtk+.spec.in: Added lib/gtk+/include/* to %files
+ (bug #5178 - Peter Wainright)
+
+ * gtk/Makefile.am (gtk_public_h_sources): Add gtkcompat.h
+ so that it will be installed.
+ (bug #4889 - "david d `zoo' zuhn" <zoo@mnnr.org>)
-Mon Oct 12 07:51:34 1998 Tim Janik <timj@gtk.org>
+Fri Jan 21 16:29:28 2000 Owen Taylor <otaylor@redhat.com>
- * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
- handlers that have not yet been disconnected (finally managed to
- trigger the gtk_signal_handler_unref() paranoid warning).
+ * gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument
+ for the GtkStyleClass vtable const.
-Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
+ take a const string argument like GtkTranslateFunc. This will
+ require changes in use code.
- * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
- width and height which is -1 and not -2.
-
-Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
+2000-01-19 Tor Lillqvist <tml@iki.fi>
- * HACKING
- * autogen.sh: we need libtool 1.2b now
+ * gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
+ semantics (to mimic the X11 backend, which just calls XClearArea)
+ is to check for zero width (and height), and in that case use the
+ window's width minus x (height minus y). This fixes for instance
+ some redraw problems with gtkclist, which were easily noticeable
+ in the gtk file selection widget.
-Sat Oct 10 03:37:50 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
- and bottom attach arguments as mandatory and readjust the table size
- and opposing edge accordingly if required. this way the order in which
- the arguments are set doesn't matter.
-
-Thu Oct 8 15:53:59 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
- message to print out parent class name correctly.
-
-Thu Oct 8 07:07:10 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkobject.h:
- * gtk/gtkobject.c:
- removed functions gtk_object_set_data_destroy and
- gtk_object_set_data_destroy_by_id.
- added functions gtk_object_remove_no_notify and
- gtk_object_remove_no_notify_by_id which will remove a certain data
- portion without invokation of its destroy notifier, this should only
- be used in very controled circumstances.
-
-Wed Oct 7 23:59:37 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
- size_allocate_title_buttons call
- (gtk_clist_realize): changed initial column.window position
-
-Wed Oct 7 20:27:28 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
- xor_gc instead
- * gtk/gtkctree.c (create_xor_gc): removed
- (gtk_ctree_button_press): set correct line_attributes for
- clist->xor_gc on drag start
- (gtk_ctree_button_release): reset clist->xor_gc
-
-Wed Oct 7 05:15:36 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtk*.h:
- * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
- which were in place to fixup emacs' cc-mode indentation.
- putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
- proper way to achive this and doesn't produce problems for
- stupid pragma-related compiler bugs. ;)
-
-Wed Oct 7 00:59:46 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.h: new signal GtkCList::resize_column.
- * gtk/gtkclist.c (draw_row): don't draw invisible columns
- (size_allocate_title_buttons) (size_allocate_columns):
- skip invisible columns
- (new_column_width): take min/max_width into account
- (gtk_clist_button_release) (gtk_clist_motion):
- changes due to changed new_column_width function
- (LIST_WIDTH): changed define to inline function.
- (real_resize_column): class function for resize_column signal
- (gtk_clist_motion): fixed autoscrolling for column resizes
- (gtk_clist_set_column_visibility): don't hide last visible column,
- changed visible arg to gboolean
- (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
- new functions : set min/max width of a column
- (gtk_clist_set_column_resizeable): new function : enable/disable
- column resize operations by mouse
-
- * gtk/gtkctree.c (draw_row): don't draw invisible columns
- (ctree_is_hot_spot): return FALSE if tree_column is invisible
- (draw_xor_line) (draw_xor_rect): draw full rectangle/line if
- tree_column is invisible
- (gtk_ctree_find_all_by_row_data)
- (gtk_ctree_find_all_by_row_data_custom): new function from
- Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
- GtkCTreeNodes with row->data == data.
-
-Tue Oct 6 14:05:00 1998 Tim Janik <timj@gtk.org>
+ (gdk_window_new): Don't set WS_EX_TOPMOST for dialog
+ windows.
- * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
- memory (Martin Pool <mbp@wistful.humbug.org.au>).
+2000-01-13 Tor Lillqvist <tml@iki.fi>
-Mon Oct 5 15:26:30 1998 Raph Levien <raph@gimp.org>
-
- * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
- should have been guint32. Thanks to Tristan Colgate for finding it.
-
-Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gtk/gtkcalendar.h:
- gtk/gtkcalendar.c: More changes:
- - The day with focus is now seperated from the day selected
- - The day with focus has the xor's line around it
- - The selected day is now standard selected style
- - The week names and week numbers are now also drawn
- with selected style
- - Space now selects the day which has focus
-
-Sun Oct 4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gtk/gtkcalendar.h:
- gtk/gtkcalendar.c: Some significant changes, including:
- - No longer draw focus around entire widget, only around
- the day which has focus
- - Draw relief around entire widget like originally planned
- - Show header and day names by default
- - Move data private to the widget out of GtkCalendar struct
- and only point to it with a gpointer
- - Remove some old unused variables from GtkCalendar struct
-
-Sun Oct 4 17:45:43 BST 1998 Tony Gale <gale@gtk.org>
-
- * docs/gtk_tut.sgml: update I've had sat around:
- - Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
- - Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
- - New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>
-
-1998-10-01 Martin Baulig <martin@home-of-linux.org>
-
- * gtk/gtkclist.h (GtkCListColumn): Added `visible'.
-
- * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
- Makes it possible to individually show and hide columns.
- (size_allocate_columns): Adapted to keep track of hidden columns.
- (size_allocate_title_buttons): Likewise.
-
-Sat Oct 3 17:54:48 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
- fundamental types, collect an argument of the type returned from
- gtk_type_get_varargs_type(). removed the first macro argument which
- was just the same as the fundamental type of the *arg passed to
- the macro.
- * gtk/gtkarg.c (gtk_args_collect):
- * gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
-
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
- gtk_type_get_varargs_type() to set and query the varargs collect
- type used for a fundamental type, registered outside of Gtk.
-
- * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
- GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
- GTK_TYPE_FLOAT.
-
- * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
- GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
- to GTK_TYPE_FLOAT.
-
-Sat Oct 3 01:25:24 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
- (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand):
- fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
-
- (real_tree_expand) (real_tree_collapse):
- don't expand/collapse a leaf
-
-Fri Oct 2 16:10:36 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
- segfault when looking up a non-existant value name (reported by
- Pablo <pcj+gtk@primenet.com>).
-
-Thu Oct 1 10:40:20 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkclist.h (gtk_clist_prepend):
- * gtk/gtkclist.c (gtk_clist_prepend): new function.
- (gtk_clist_insert): added g_return_val_if_fail()
- statements. accept a row parameter < 0 or > clist->rows to indicate
- append mode.
- (real_clear): first clean up all internal pointers and lists (e.g.
- clist->row_list or clist->rows), then delete the distinct rows. this
- is required because of destroy notifiers, we need to have all internal
- structures updated and be reentrant.
-
- * gtk/gtkcalendar.h:
- * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
- GtkCalendarClass signal methods.
- GtkType and macro fixups, put `void' into () prototypes, avoid C++
- style comments, indentation fixes, fixed some g_return_if_fail()
- statements.
- (gtk_calendar_paint_header):
- (gtk_calendar_paint_day_names):
- (gtk_calendar_paint_week_numbers):
- (gtk_calendar_paint_main): made these static functions.
- (gtk_calendar_select_month):
- (gtk_calendar_select_day):
- (gtk_calendar_mark_day):
- (gtk_calendar_unmark_day):
- (gtk_calendar_get_date): signedness corrections, use guints
- rather than gints.
- (gtk_calendar_size_request): removed unused variables.
+ * configure.in
+ * gdk/Makefile.am
+ * gdk/x11/Makefile.am
+ * gdk/win32/Makefile.am: Small fixes, thanks to Peter Wainwright
+ (bug #5177).
+ * gdk/win32/gdkcc-win32.c: Reintroduce, to be thrown
+ out later.
-Wed Sep 30 13:11:09 1998 Tim Janik <timj@gtk.org>
+2000-01-09 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
- widgets in the ->widgets_by_action list that have a callback
- defined (not only those with a callback_action!=0).
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): Ignore
+ WM_MOVE for iconified or invisible windows. This fixes various
+ problems when minimising windows. Thanks to Bernd Herd.
-Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+2000-01-05 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkcalendar.h:
- gtk/gtkcalendar.c:
- examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff
+ * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
+ backend's draw_lines method, not draw_points.
-Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+2000-01-02 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkcalendar.h:
- gtk/gtkcalendar.c:
- examples/calendar: Added gtkcalendar widget and demo
+ * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
+ before Owen's reorganisation: Don't have queued_events and
+ queued_tail statics in this file, but use gdk_queued_events and
+ gdk_queued_tail. This makes exposure event compression work again.
-Sat Sep 26 06:15:34 1998 Tim Janik <timj@gtk.org>
+ (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
+ seem to be needed?
- * gtk/gtkclist.c (gtk_clist_sort):
- (gtk_clist_clear):
- (gtk_clist_unselect_all):
- (gtk_clist_select_all): adde g_return_if_fail() statements.
+1999-12-30 Tor Lillqvist <tml@iki.fi>
-Sat Sep 26 04:46:22 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
+ gdkkeysyms.h to get the GDK_* keysym constants that are needed by
+ gdk_keyval_convert_case(). Otherwise, gdk_keyval_convert_case()
+ doesn't do anything.
- * configure.in: set binary age and interface age to 0.
+ * gdk/gdk.def: Add gdk_xid_table_insert.
- * gtk/gtkspinbutton.h:
- * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
- gtk_spin_button_configure. gtk_spin_button_construct is still defined
- as an alias for gtk_spin_button_configure for source compatibility,
- but actuall use is deprecated.
- typeness corrections, i.e. gint->gboolean and gint->guint.
- added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
- GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
- GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
- GtkSpinButton::adjustment, GtkSpinButton::digits and
- GtkSpinButton::climb_rate.
- GtkType and macro fixups.
+ * gdk/win32/gdkprivate-win32.h
+ * gdk/win32/gdkevents-win32.c
+ * gdk/win32/gdkinput-win32.c
+
+ * gdk/win32/gdkwindow-win32.c: Remove the superfluous
+ extension_events field in the GdkWindowWin32Data struct. Use only
+ the extension_events field in GdkWindowPrivate. Previously one was
+ set, and the other one tested, which broke tablet
+ functionality. Thanks to Keishi Suenaga for pointing this out.
-Sat Sep 25 23:33:55 1998 Tim Janik <timj@gtk.org>
+1999-12-18 Tor Lillqvist <tml@iki.fi>
- * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
- the *real* geometry position of a window, taken possible window
- manager offsets into account.
- this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
- olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
- it does fail though for amiwm which adds windows to a pseudo root
- window, and for icewm by a small offset because it defines the
- geometry position whithin its border.
+ * gdk/win32/gdkfont-win32.c (gdk_text_size, gdk_text_extents):
+ When handling a single character (text length == 1), don't handle
+ it as if it was UTF-8.
- * gtk/testgtk.c: added "saved position" test to figure how
- gdk_window_get_root_origin() interacts with window managers (repopup
- this window to figure ;).
+1999-12-11 Tor Lillqvist <tml@iki.fi>
-Wed Sep 23 06:09:19 1998 Tim Janik <timj@gtk.org>
+ * Makefile.am: Distribute README.win32.
+
+ * gdk/Makefile.am
+ * gdk/win32/Makefile.am: Distribute Win32 files.
- * configure.in: update to Gtk+ version 1.1.3, binary age 1,
- interface age 1.
+ * gdk/makefile.msc: New file.
- * gtk/gtkobject.c
- (gtk_object_ref):
- (gtk_object_unref): check for ->ref_count to be greater than 0 (the
- existing code was buggy in letting ->ref_count==0 pass through and
- then failing the living_objs_ht assertion).
+ * gdk/gdk.c (gdk_arg_context_parse): Fix gccism (no statement
+ after label).
- * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
- pixtext fields (Roman Pozlevich <roma@botik.ru>).
+ * gdk/gdkprivate.h: Must mark also gdk_error_warnings and
+ gdk_error_code as GDKVAR, as they are referred outside GDK.
-Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+ * gdk/win32/makefile.msc: Update.
- * Released GTK+ 1.1.2
+ * gdk/win32/gdkfont-win32.c (check_unicode_subranges): More
+ tweaks. Check only if at least one of those Unicode subrange bits
+ we care for is set. If no code page bits are set, guess (wildly)
+ based on the charset.
-Mon Sep 21 01:12:44 1998 Jay Cox (jaycox@earthlink.net)
+ * gdk/win32/gdkinput-win32.c: Remove debugging leftover.
- * gtk/Makefile.am: use $(PERL) instead of perl
- * gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
- also much faster to render.
+ * gdk/win32/gdkwindow-win32.c (gdk_window_new): Assure title is
+ non-NULL.
-Mon Sep 21 07:44:30 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkdnd.c
+ * gtk/gtklayout.c
+ * gtk/gtkplug.c
+ * gtk/gtkselection.c
+ * gtk/gtksocket.c
+ * gtk/gtkwindow.c: Include x11/gdkx.h *or* win32/gdkwin32.c as
+ appropriate. There must be a cleaner way to handle this?
- * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
- the required memory block, rather than allocating it newly from
- scratch and doing a full-blown block copy on it.
+ * gtk/gtkrc.c: Must include windows.h on Win32.
-Mon Sep 21 02:30:06 1998 Tim Janik <timj@gtk.org>
+ * gtk/testgtk.c: No need to include gdkx.h.
- * NEWS file update for upcoming release of Gtk+ version 1.1.2,
- binary age 0, interface age 0.
+ * gtk/makefile.cygwin: Correct invokation of genmarshal.pl.
- * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.
+1999-12-07 Tor Lillqvist <tml@iki.fi>
-Sun Sep 20 18:21:46 1998 Owen Taylor <otaylor@redhat.com>
+ * gdk/win32/gdkfont-win32.c: Fix string measurement code. For now,
+ the rbearing is set to the same as the width, but this should be
+ fixed.
- * ltmain.sh: Patch to libtool-1.2b to make --disable-static
- work.
+1999-12-06 Tor Lillqvist <tml@iki.fi>
-Sun Sep 20 09:52:39 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkfont-win32.c (check_unicode_subranges): New
+ function. If Windows doesn't tell us what Unicode subranges a font
+ covers, guesstimate based on the codepages it covers. This will
+ hopefully help those Windows versions or fonts that don't give us
+ any useful Unicode subrange information with GetTextCharsetInfo.
+ Call this function in gdk_font_load_internal.
- * HACKING: indent other than GNU indent should be OK
- now.
+ * gdk/win32/{gdkdnd,gdkimage,gdkpixmap,gdkprivate}-win32.c: Misc
+ minor changes.
- * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
- instead of piping through indent. If indent wasn't
- found in ./configure don't bother indenting at
- all.
+Fri Dec 3 14:09:50 1999 Owen Taylor <otaylor@redhat.com>
-Fri Sep 18 19:11:10 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkoptionmenu.[ch] (gtk_option_menu_get_history):
+ New function, long needed.
- * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
+Wed Dec 1 22:35:43 1999 Owen Taylor <otaylor@redhat.com>
-Fri Sep 18 18:54:59 1998 Jay Cox (jaycox@earthlink.net)
+ * gdk/gdkproperty.h x11/gdkproperty.c: Change
+ only_if_exists argument of gdk_atom_intern to
+ bool.
- * gtk/Makefile.am: use $(AWK) instead of awk
+1999-11-25 Tor Lillqvist <tml@iki.fi>
-1998-09-18 Raja R Harinath <harinath@cs.umn.edu>
+ * gdk/gdkgc.c (gdk_gc_set_ts_origin, gdk_gc_set_clip_origin):
+ Fix two copy&paste errors.
- * gtk/Makefile.am (gdk_headers):
- Remove references to $(top_srcdir).
- (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
- * gtk/makeenums.pl (parse_entries): Don't look for $srcdir.
+ * gdk/makefile.cygwin: Also rebuild DLL when the static archive in
+ win32 has changed.
-Fri Sep 18 19:58:24 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkprivate-win32.h: Don't need CPINFO in the
+ GdkWin32SingleFont struct.
- * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
- GData*object_data to cure compiler warnings.
+ * gdk/win32/gdkfont-win32.c: Some more debugging: Print Unicode
+ subranges of loaded fonts. Clear font signature first, in case
+ GetTextCharsetInfo fails. Pretend SYMBOL_CHARSET fonts have
+ ASCII+Basic Latin (i.e. 0x40--0xFF) as they are single-byte.
-Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gdk/win32/gdkgc-win32.c: Improved logging. (gdk_gc_postdraw):
+ Unoffset clip region.
- * install-sh
- * missing
- * mkinstalldirs: updated to latest automake version
+1999-11-23 Tor Lillqvist <tml@iki.fi>
-1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): set
+ event->any.window before calling filter functions.
- * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
- (gtkinclude_HEADERS): ... here.
- (gtk.defs): Pass `g' flag to sed, to replace all occurances.
+Fri Nov 19 10:34:41 1999 Owen Taylor <otaylor@redhat.com>
-Thu Sep 17 10:49:51 1998 Raph Levien <raph@gimp.org>
+ * gtk/gtkgamma.h: Adapt cast macros to standard.
- * HACKING: added GNU indent, as it is now required to successfully
- build gtk+. Should this be detected in autoconf, possibly?
+[ Merges from 1.2 ]
-Tue Sep 15 14:57:30 1998 Owen Taylor <otaylor@redhat.com>
+Tue Nov 16 10:15:54 1999 Owen Taylor <otaylor@redhat.com>
- * Makefile.am gtk-config.in l*: Update to libtool-1.2b,
- change library versioning scheme to drop LT_RELEASE
- from the -l line, while keeping it in the soname.
+ * gtk/gtkitemfactory.c (gtk_item_factory_parse_path):
+ If translation does not include a '/', use entire
+ translation instead of crashing.
-Tue Sep 15 14:10:33 1998 Owen Taylor <otaylor@redhat.com>
+Sun Oct 31 22:21:11 1999 Tim Janik <timj@gtk.org>
- * configure.in Makefile.in: define a MAINT-like variable REBUILD
- which is set if Perl and awk are found, and autogenerated sources
- can be rebuilt. Remove the auto-generated sources from
- CVS.
+ * docs/gtk_tut.sgml:
+ s/gtk_accel_group_attach/gtk_window_add_accel_group/.
- Add dependencies so that the autogenerated sources are
- rebuilt if the files they depend on change.
- (This unfortunately currently results in the entire
- gtk/ directory being rebuilt when any header changes.
- Moving all enums to gtkenums.h would fix this.)
+Sat Oct 30 09:09:09 1999 Owen Taylor <otaylor@redhat.com>
-Thu Sep 17 05:12:48 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkselection.c (gtk_target_list_remove): Use
+ g_list_remove_link, not g_list_remove.
- * gtk/gtkobject.h: added gtk_object_set_data_destroy and
- gtk_object_set_data_destroy_by_id functions to set the destroy
- function pointer for an existing data portion.
+ [ From Geert Bevin <gbevin@thunderstorms.org> ]
+
+Sun Oct 24 07:41:40 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkobject.c: removed the GtkObjectData implementation and
- made all gtk_object_*data* functions use the GLib equivalents.
+ * gtk/gtkclist.c (real_undo_selection): commented out g_print()
+ statement upon unselection (how the heck did that slip in?).
-1998-09-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
+Sat Oct 23 03:03:08 1999 Tim Janik <timj@gtk.org>
- * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
- is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
- (widget != NULL), otherwise radio button insertion will not work
- -- the widget argument is NULL for the first radio button in the
- group.
+ * gtk/gtktext.c (gtk_text_freeze):
+ (gtk_text_thaw): undraw/draw cursor here to avoid unnecessary scrolling
+ in frozen state (and aparently crashes). patch provided by Anders
+ Melchiorsen <and@kampsax.dtu.dk>.
-Tue Sep 15 13:09:24 1998 Owen Taylor <otaylor@redhat.com>
+Sat Oct 23 02:53:20 1999 Tim Janik <timj@gtk.org>
- * gdk/gdkimage.c (gdk_image_new): Reverted global changes
- of g_new to malloc(), added back in the one place where
- it actually mattered. #include <stdlib.h>.
+ * fix insensitive default/focus widget activation,
+ reported by Matt Goodall <mgg@isotek.co.uk>.
- * gdk/gdkrgb.c: g_malloc() to malloc() as above.
+ * gtk/gtkwindow.c (gtk_window_key_press_event):
+ (gtk_window_activate_default):
+ (gtk_window_activate_focus):
+ return handled=FALSE for actiavtion of insensitive default
+ widgets. return handled=TRUE for activation of insensitive
+ focus widgets. don't activate in either case.
-Tue Sep 15 11:30:03 1998 Owen Taylor <otaylor@redhat.com>
+Tue Oct 19 09:55:08 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkfilesel.c: Keep a list of directories in which we never
- want to stat the entries (like /afs), and assume everything in
- those directories is a subdirectory.
+ * gtk-config.in (lib_gtk): Switch order of @x_cflags@
+ and $glib_cflags to match library order and in the
+ theory that an old version of GLib is more likely to
+ be in the include directory for X then vice-versa.
+ (Bug #2776)
- - When following a path, try to open components even when
- we don't find them in their parent's directory to
- support automounters.
+Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
-Tue Sep 15 11:06:13 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
+ to determine the locale for fontsets, not LC_MESSAGES;
+ the user may want English messages with a handling
+ for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
+ will still be broken) (Bug #2891)
- * gtk/gtkwindow.c (gtk_window_move_resize): Don't request
- a new size from the WM if we asked for the same size
- before and our request was rejected.
+Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
- * gtk/gtkwindow.c (gtk_window_configure_event): If
- in response to a request, we get a configure event
- with unchanged dimensions, send a synthetic expose
- since ForgetGravity won't expose our window.
+ * gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
-Mon Sep 14 14:28:24 1998 Owen Taylor <otaylor@redhat.com>
+Tue Oct 19 12:15:13 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
- * gtk/gtktext.c (adjust_adj): Change the way we
- set the adjustments on resize so that it tries to
- keep the beginning of the text in approximately
- the same place.
+ * gtk/gtkrc.ko: Changed the Korean default fontset.
- Removed assertion that the above change made invalid.
+Fri Oct 8 02:32:47 1999 Owen Taylor <otaylor@redhat.com>
-Thu Sep 10 22:19:35 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtklayout.c (gtk_layout_adjustment_changed): Fix bug
+ where when scrolling to the left or top double exposes
+ were done, causing major slowdowns.
- * gtk/gtktext.c: - Save first_cut_pixels when switching
- sizes, so that if we switch to the _same_ size,
- we don't move lines around.
+Thu Oct 7 18:31:55 1999 Owen Taylor <otaylor@redhat.com>
- - Make sure that the text area always has a size of at
- least 1x1, then do all computations when realized.
+ * gtk/gtkrc.c (gtk_rc_init): Always normalize codeset
+ names to lowercase and alphanumeric, before looking
+ them up.
- - When fetching lines in recompute_geometry, make
- sure we fetch enough lines to cover the screen.
-
-Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+ * gtk/Makefile.am: Install codeset variant gtkrc files
+ with normalized names.
- * gdk/gdkimage.c: changed g_new()s to malloc()s and
- g_free()s to free()s to avoid mixing g_new()s with
- free()s. X itself uses free() on some of the
- malloced memory.
+Thu Oct 7 22:52:42 1999 Tim Janik <timj@gtk.org>
-Sat Sep 12 10:44:06 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkitemfactory.c (gtk_item_factory_popup_with_data): even
+ popup menus when the menu is already visible, but its parent
+ is still hidden, (happens after tornoff window got hidden).
- * gtkfilesel.c: Maintain a list of directories like
- /afs we know contain only directories, and avoid
- stat'ing files in those directories. (Because
- stat'ing all files in /afs is extremely expensive)
+Thu Oct 7 11:09:55 1999 Owen Taylor <otaylor@redhat.com>
- To support automounters, try to open directories,
- even if we couldn't find them when reading their
- parent directory.
+ * gtk/Makefile.am (install-data-local): Fix
+ a typo where gtkrc.vi_VN.tcvn5712 wasn't getting
+ deleted, causing error messages on install.
-Thu Sep 3 10:29:03 1998 Owen Taylor <otaylor@redhat.com>
+Thu Oct 7 11:03:06 1999 Owen Taylor <otaylor@redhat.com>
- * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION,
- to allow the same gtk.m4 to work for 1.0.x and
- 1.1.x.
+ * gtk/gtk[hv]paned.c (gtk_{h,v}paned_draw): Redraw
+ the handle as well, since we now sometimes ignore
+ exposes on the handle while resizing.
-Fri Sep 11 15:25:10 1998 Lars Hamann <lars@gtk.org>
+Wed Oct 6 18:02:31 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkclist.c (gtk_clist_set_selectable): new function
- to set/unset the selectable flag of a single row.
- (gtk_clist_get_selectable): new function
- to get the state of the selectable flag
+ * gtk/gtkrc.c (gtk_rc_append_default_pixmap_path): Fix stupid
+ extra g_free introduced in one of the last one or two
+ commits.
- * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
- (gtk_ctree_node_get_selectable): clist analogons
-
-Thu Sep 10 17:04:03 1998 Raph Levien <raph@gimp.org>
+Wed Oct 6 16:38:36 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test
- pattern.
+ * gtk/Makefile.am gtk/gtkrc*: Make naming of gtkrc files
+ consistent, put each style that a gtkrc.* file creates
+ in a unique namespace, remove old files before installing.
- * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment
- bugs in the 4bit gray cases.
+Wed Oct 6 14:31:16 1999 Owen Taylor <otaylor@redhat.com>
-Wed Sep 9 02:48:44 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkrc.c (gtk_rc_init): Avoid leaking memory when
+ gtk_rc_init is called multiple times. (Yes, people who
+ do that have bugs in their code.)
- * configure.in: added -posix check for NeXTStep
+Tue Oct 5 11:36:57 PDT 1999 Manish Singh <yosh@gimp.org>
- * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
- a unique buffer for each thread.
+ * gtk/Makefile.am: listing gtkrc in gtkconf_DATA seems to barf.
+ Remove it since it's generated by the Makefile anyway
- * docs/gtk-config.1: clarified copyright
+Tue Oct 5 02:43:41 1999 Owen Taylor <otaylor@redhat.com>
-Tue Sep 8 05:19:51 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkinputcommon.h (gdk_input_device_new): Free
+ device->info.axes for core pointer.
- * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
+Thu Sep 30 13:55:25 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
+ * gtk/testgtk.c (destroy_idle_test): Rename idle to
+ idle_id, to deal with obsolete, broken C libraries.
- * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
- ATEXIT.
-
- * ltconfig: use GLib's ltconfig which honours lcc.
+Mon Sep 27 02:50:15 1999 Owen Taylor <otaylor@redhat.com>
-Mon Sep 7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkvscale.c (gtk_vscale_draw): Don't add in
+ allocation->x/y twice!
- * configure.in: comment the -std1 check and save LIBS properly
+ * gtk/gtkhscale.c: Make usage of gtk_hscale_pos_trough()
+ consistent with gtk_vscale_pos_trough().
-Sun Sep 6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>
+Sun Sep 26 19:44:34 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/testrgb.c: #include <stdlib.h>
+ * gtk/gtkcontainer.c (gtk_container_queue_resize): We may
+ be queueing a resize on a toplevel container between
+ the time we show it and when we map it. So, we need
+ to test GTK_WIDGET_VISIBLE() for toplevels, and only
+ use GTK_WIDGET_DRAWABLE() for child windows.
-Sat Sep 5 16:01:19 1998 Owen Taylor <otaylor@gtk.org>
+Thu Sep 23 16:41:03 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
- When the pointer is grabbed on an input window,
- either explicitely, or through press-grab, and
- then grabbed on a non-input window, ungrab the
- devices.
+ * gtk/Makefile.am (LDADDS): Add GDK_WLIBS to LDADDS
+ (fixes bug #2144)
-Sat Sep 5 07:13:19 1998 Tim Janik <timj@gtk.org>
+Fri Sep 24 00:51:45 1999 Tim Janik <timj@gtk.org>
- * gtk/gtktypeutils.h: don't include any gdk headers.
- added structure definitions for GtkTypeObject and GtkTypeClass,
- which cover the very basic fields of GtkObject and GtkObjectClass,
- which are actually used by the type system.
-
- * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
- we only refer to our own structures. improved class inheritance
- sanity checking a bit.
+ * gtk/gtkcontainer.c (gtk_container_queue_resize): check for
+ container DRAWABLE (instead of VISIBLE), so we don't queue
+ resizes on non-toplevel containers.
- * gtk/gtkobject.h: placed appropriate comments at the beginnings
- of the GtkObject and GtkObjectClass structures, which explain
- their relationship to GtkTypeObject and GtkTypeClass.
+Sun Sep 19 18:13:31 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypeutils.h:
- * gtk/gtkobject.h:
- moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
- GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
- gtkobject.h to gtktypeutils.h.
+ * gtk/gtkselection.[ch]: Make the data argument
+ const guchar *.
- * gtk/gtkobject.h:
- * gtk/gtkobject.c:
- removed gtk_object_check_cast() and gtk_object_check_class_cast()
- functions. to keep source compatibility, we can provide macro aliases
- for the corresponding gtk_type_* functions. but then again, people
- shouldn't have been using these functions anyways since they were part
- of Gtk's internal API.
+Sat Sep 18 21:27:40 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c:
- implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
- functions to check GtkTypeObject and GtkTypeClass types.
+ * gtk/gtkwindow.c: Try to behave sensibly if
+ the focus widget is the window itself. (Should
+ we allow this at all?)
-Thu Sep 3 07:16:54 1998 Tim Janik <timj@gtk.org>
+Fri Sep 17 09:57:15 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkctree.h:
- * gtk/gtkctree.c: `const' fixups.
+ * gtk/gtkwidget.c (gtk_widget_set_sensitive):
+ * gtk/gtknotebook.c (gtk_notebook_set_scrollable):
+ * gtk/gtknotebook.c (gtk_notebook_set_show_border):
+ * gtk/gtkclist.c (gtk_notebook_set_show_border): make gboolean args
+ in prototypes and implementations consistent (Tomas Ogren).
- * gtk/gtkclist.h:
- * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
+ * gtk/gtklayout.c (gtk_layout_remove): unset GTK_IS_OFFSCREEN flag
+ before the widget is unparented (reported by damon).
- * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
- if it is passed as NULL.
+ * gtk/gtkdnd.c: make the cursor and icon data _unsigned_ char,
+ since we provide unsigned data anyways.
-Wed Sep 2 22:41:40 1998 Raph Levien <raph@gimp.org>
+Thu Sep 16 21:32:01 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
- big-endian cases. Added a 4bpp packed gray mode (somewhat
- incorrectly hardwired to MSB), which should take care of
- Stric's hardware.
+ * gtk/gtktooltips.c (gtk_tooltips_set_tip): Delay
+ the call to gtk_tooltips_layout_text() until later.
-Thu Sep 3 04:45:57 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtktooltips.c (gtk_tooltips_draw_tips):
+ Call gtk_widget_ensure_style() before using the style.
- * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
- GtkSIgnalQuery leak.
+Wed Sep 15 02:52:19 1999 Owen Taylor <otaylor@redhat.com>
-Thu Sep 3 04:22:20 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwidget.c (gtk_widget_event): Added workaround
+ for old widgets that don't propagate draws to all
+ children. (Namely gnome-dock for gnome-libs <= 1.0.16)
- * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
- GTK_MENU_DIR_CHILD: check for the existance of
- menu_shell->active_menu_item before accessing its child.
- GTK_MENU_DIR_PREV:
- GTK_MENU_DIR_NEXT: if we haven't had an active item and still
- don't, make a default selection.
+Tue Sep 14 19:22:19 1999 Tim Janik <timj@gtk.org>
-Wed Sep 2 00:28:58 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwidget.c (gtk_widget_queue_resize): don't queue the parent
+ for a redraw but just the widget that requested the resize.
- * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
- the children with _forall for sensitivity changes and with
- _foreach on pure state changes. this fixes a lot of the
- old inclusions of internal widgets into _foreach calls.
+Tue Sep 14 18:29:47 1999 Tim Janik <timj@gtk.org>
- * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
- do the work. don't walk the subtrees of first level children.
+ * gtk/gtkcontainer.c: added new widget level method
+ gtk_container_set_reallocate_redraws() and a GtkContainer flag
+ reallocate_redraws : 1 to reflect the setting, exported this through
+ the argument system as a boolean ::reallocate_redraws.
- * gtk/gtktreeitem.c: provide a _forall implementation,
- which walks the subtrees as well for include_internals.
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): when queueing redraws
+ on the widget because the allocation changes, do so as well for
+ widget->parent if the parent has reallocate_redraws set to TRUE.
+ with that containers requesting reallocation redraws get automatically
+ redrawn if their children changed allocation (this unfortunately
+ affects also other children that didn't change allocation, but we
+ cannot work around that before 1.3).
- * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
- the submenus as well for include_internals.
+Tue Sep 14 18:23:01 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
- implemented gtk_scrolled_window_forall, which will iterate over
- the viewport and the scrollbars for gtk_container_forall or
- iterate over the viewports children for gtk_container_foreach.
+ * gtk/gtkwidget.c (gtk_widget_idle_draw): only emit ::draw if width
+ _and_ height are >0 (not _or_).
- * gtk/gtktoolbar.c:
- * gtk/gtktable.c:
- * gtk/gtkpaned.c:
- * gtk/gtkpacker.c:
- * gtk/gtkmenushell.c:
- * gtk/gtklist.c:
- * gtk/gtkfixed.c:
- * gtk/gtkclist.c:
- * gtk/gtkbox.c:
- * gtk/gtkbin.c:
- * gtk/gtknotebook.c:
- removed the old gtk_*_foreach functions and provided gtk_*_forall.
-
- * gtk/gtknotebook.c:
- (gtk_notebook_real_switch_page): expose tabs.
- (gtk_notebook_page_num): new function to return the page number
- of a distinct child.
- (gtk_notebook_focus): minor fixups. foxus handling is still screwed
- under some circumstances.
-
- * gtk/gtktreeitem.c:
- (gtk_real_tree_item_select):
- (gtk_real_tree_item_deselect): major fixes.
- some general fixups wrt queue_redraw, and tree items not being
- NO_WINDOW widgets.
-
- * gtk/gtklistitem.c:
- (gtk_real_list_item_select):
- (gtk_real_list_item_deselect):
- (gtk_real_list_item_toggle):
- removed unneccessary queue_redraw calls.
-
-Wed Aug 30 09:42:07 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
- automatically popup the menu on space bar.
-
-Wed Aug 26 06:40:34 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkcontainer.h:
- * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
- method), which acts similar to gtk_container_foreach(), but iterates
- over internal children. the GtkContainer::foreach signal vanished in
- favour of a new class method ->forall() that optionally includes
- internal widgets.
-
- * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
- but a _forall implementation, since all child widgets we have are
- internal ones.
- (column_button_create): set the parent window prior
- to gtk_widget_set_parent().
+ * gtk/gtktable.c (gtk_table_remove): use gtk_widget_queue_resize()
+ instead of gtk_container_queue_resize(), which is a core gtk internal
+ function (must have been on crack when i queued that).
- * gtk/gtkwidget.c:
- exchanged all calls to gtk_container_foreach() with
- gtk_container_forall().
+ * gtk/gtkprivate.h: added new private flag GTK_FULLDRAW_PENDING, so
+ we can check more reliably if we want to discard expose events.
+ * gtk/gtkwidget.c: added setting/unsetting of the GTK_FULLDRAW_PENDING
+ flag.
+
+ * gtk/gtkwidget.c (gtk_widget_event): don't discard synthesized exposes,
+ we simply trust these events. for deciding whether to discard exposes,
+ check GTK_FULLDRAW_PENDING instead of RESIZE_PENDING.
+
+Mon Sep 13 15:01:21 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
- the GtkWidget::composite_child argument. to have a widget created
- with the flag initially, two new functions got added to wrap a widgets
- creation:
- gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
+ * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Ignore
+ queues of areas that are completely off screen.
-Wed Aug 25 23:37:39 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwidget.c (gtk_widget_idle_draw): Fix broken
+ logic for handleboxes.
- * gtk/gtktooltips.h:
- * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
- gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
- prior to the first tip being set.
- don't put an extra reference on the window, since it is a toplevel,
- it wont get destroyed from anywhere else.
+ * gtk/gtkwidget.c (gtk_widget_queue_draw_data): Add santity
+ check on width/height.
- * overall macro and GtkType fixups.
+Mon Sep 13 02:22:47 1999 Tim Janik <timj@gtk.org>
-1998-09-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gtk/Makefile.am: backed out Raja's recent VPATH build "improvements",
+ we are fine with using $@ the way we do (if we actually encounter
+ brokeness with $@ in VPATH builds because of additional path prefixes,
+ we need to use $(@F) actually).
- * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
- constructs by more forgiving ones. (Does anyone else feel like
- the color selector need rewriting?).
+Mon Sep 13 01:34:53 1999 Tim Janik <timj@gtk.org>
-Tue Sep 1 10:53:52 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtksignal.c: renamed two variables, hopefully didn't introduce
+ short lived bugs, that would allow language bindings to do surgeries
+ to our guts.
- * gtk/gtkprogress.c (gtk_progress_finalize): Unref
- the adjustment.
+Fri Sep 10 15:22:50 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmenu.c: Modified reference counting so
- that the reference count from the toplevel that
- the menu creates to the menu is invisible to the
- application.
+ * gtk/gtkwindow.c (gtk_window_size_allocate): Fix typo
+ where comparison was being done against an uninitialized
+ value causing intermittant results depending on
+ compiler flags. Also make it clearer that we aren't
+ ever initializing the child as 0x0 (though this will
+ be caught in gtk_widget_size_allocate())
-Mon Aug 31 21:36:31 1998 Raph Levien <raph@gimp.org>
+Fri Sep 10 10:06:56 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
- conversion selection logic, so Suns and other big-endian
- machines should get faster conv routines. This is also the
- point where 4bpp gray and 1bpp are checked in, although I
- wouldn't be surprised if 1bpp is a little buggy. This is
- synchronized with the 0.0.7 release of GdkRgb.
+ * gtk/gtkwindow.c (gtk_window_set_transient_for): Move
+ gtk_window_unset_transient_for() call after we do checks
+ involving the old transient parent.
+ [ From Lance Capser <lmc@cyberhighway.net> ]
- * gtk/Makefile.am:
- * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
- appropriate change to the Makefile.am
+1999-09-07 Raja R Harinath <harinath@cs.umn.edu>
-Mon Aug 31 15:18:19 1998 Raph Levien <raph@gimp.org>
+ * gtk/Makefile.am (gtk.defs): Go back to using `touch' to create
+ an empty file.
- * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
- which is good for images that scroll (makes the dither patterns
- align correctly)
+Mon Sep 6 00:11:56 1999 Lars Hamann <lars@gtk.org>
-Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkctree.c (gtk_ctree_is_ancestor): return FALSE if node has
+ no children. (Reported by: Chris Rogers <gandalf@pobox.com>)
- * gdk/gdkcolor.c:
- (gdk_colormap_new) (gdk_colormap_get_system):
- quell some warnings with g_hash_table_new
+1999-09-03 Raja R Harinath <harinath@cs.umn.edu>
- * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
- when we're done with it
+ * gtk/Makefile.am (gen_sources): Improve VPATH builds.
+ `$@' is valid only in the build dir, not after we've done
+ `cd $srcdir'. Also use `test -f' instead of less portable
+ `test -e'.
- * gtk/itemfactory.c:
- (gtk_item_factory_from_path):
- (gtk_item_factory_create_item): free some strings
+Fri Sep 3 15:59:56 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtklabel.c:
- (gtk_label_finalize): free label->pattern when done
- (gtk_label_parse_uline): null terminate pattern string, delete
- some duplicated code
+ * gtk/gtktext.c (correct_cache_insert): Rewrite
+ for simplicity, and hopefully correctness.
+ (Fixes bug #1322, which was a segfault when
+ on some insertions with the properties around
+ the insertion set up just wrong.)
- * gtk/testthreads.c: add #include <unistd.h> for sleep()
+ * gtk/gtktext.c (gtk_text_adjustment): When we receive
+ a "changed" signal, clamp the new value to the adjustment
+ bounds to avoid segfaulting if someone tries to change
+ the adjustment to a bogus value. (Bug #1795)
-Tue Aug 25 16:52:47 1998 Owen Taylor <otaylor@redhat.com>
+Thu Sep 2 16:33:59 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktext.c (recompute_geometry): Make sure the
- mark we pass to line start is the beginning of a
- real line, not a wrapped one.
+ * gtk/gtkmain.c: Ignore unexpected destroy notifies
+ for children, for toplevel windows handle them
+ like delete_event.
-Mon Aug 24 18:37:15 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkplug.c: Add an unrealize handler so that
+ we unref plug->socket_window when we are done
+ with it.
- * gtk/gtktext.c: Reference count the fonts used in
- the text widget.
+Fri Sep 3 14:52:54 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
- freeing functions to be more consistent, and more
- convenient; leave the old names in for backwards compatibility.
+ * gtk/gtktext.c (clear_area): Fix stupid signedness
+ problem that was causing background to sometimes
+ be misaligned.
- * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
- allocations in pseudo-color colormaps to greatly reduce
- calls to XAllocColor. Keep a per-colormap hashtable to
- speed up finding if there is an already-allocated matching
- color.
+Fri Sep 3 12:26:33 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkcolor.c: Don't just match read the system colormap
- when the colormap is created, but synchronize our copy
- with the system colormap periodically.
+ [ Fixes pointed out by Ettore Perazzoli <ettore@comm2000.it> ]
- * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c:
- Change XIM constants names to match GDK conventions
-
- * gtk/testinput.c: Allow the drawing area to get the focus.
-
- * gtk/testgtk.c: Change around the Text test to demonstrates
- multiple fonts, use more colors.
+ * gtk/gtkmenu.c (gtk_menu_position): Make
+ sure we never position menus with negative x, y,
+ since gtk_widget_set_uposition() can't handle that.
- * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
- so they work after a widget is unrealized.
+ * gtk/gtkmenuitem.c (gtk_menu_item_position_menu):
+ Modify the positioning code a bit so that we always
+ put the top-left corner onscreen. (This is for
+ UI reasons, gtk_menu_position() now takes care of
+ gtk_widet_set_uposition() brokeness.)
- * gtk/gtktext.[ch]: Remove the requirement that the text
- widget be realized before adding text (!) Allocate colors
- ourself, instead of requiring the caller allocate them.
- Allow changing styles to work properly by keeping track
- of the values for a certain property are default or
- set explicitely.
+Fri Sep 3 03:06:30 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkmenu.h: Added some comments.
+ * gtk/Makefile.am: fixed up things for -jx, x > 1.
- * gtk/gtkentry.c: Changes to match XIM constants.
-
- * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
- for adding keyed data to drawables. (Uses g_dataset
- internally)
-
- * gdk/gdkpixmap.c: Keep track of the colors we allocate,
- when creating an XPM - store them as user data for the GdkPixmap,
- so we don't leak colors when we create pixmaps from XPM's.
-
- Allocate memory for color information in large blocks instead of
- as many little pieces.
-
-Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>
+Sun Sep 5 08:48:51 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkrgb.c: removed some unused variables
+ * gtk/gtkwidget.c (gtk_widget_modify_style): Ref the
+ RC style that is passed in. The lack of the ref
+ before was a bug. If people worked around this
+ bug, this will introduce a slight memory leak
+ in their code. The code should typically look like:
- * gtk/gtkclist.c
- * gtk/gtkmain.c: #if 0'd out some unused code
-
- * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
-
-Mon Aug 24 02:36:53 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkarg.h:
- * gtk/gtkarg.c:
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c:
- * gtk/gtkobject.h:
- * gtk/gtkobject.c:
- * gtk/gtkcontainer.h:
- * gtk/gtkcontainer.c:
- (gtk_object_new):
- (gtk_object_set):
- (gtk_widget_new):
- (gtk_widget_set):
- (gtk_container_add_with_args):
- (gtk_container_child_set):
- begin the parameter elipsis (...) after the first argument name. this
- change is source compatible, since it was always required, even as NULL.
- (gtk_args_collect):
- (gtk_object_args_collect):
- (gtk_container_child_args_collect):
- changed prototypes to pass first_arg_name, also, pass va_list variable
- by value (portability concerns). callers changed.
-
- * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
- a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
- can't pass va_list variables by reference for portability reasons.
-
-Fri Aug 21 22:40:00 Raph Levien <raph@gtk.org>
-
- * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
- get_visual calls, so that it gets implicitly initialized.
-
-Fri Aug 21 13:06:04 1998 Stuart Parmenter <pavlov@gimp.org>
- * gtk/gtkfeatures.h.in: added GTK_HAVE_FEATURES_1_1_2 for changes
- such as GtkCTree function name changes
-
-Fri Aug 21 02:31:26 1998 Tim Janik <timj@gtk.org>
+ rc_style = gtk_rc_style_new ();
+ [...]
+ gtk_widget_modify_style (widget, rc_style);
+ gtk_rc_style_unref (rc_style);
- * gtk/gtkmain.h:
- * gtk/gtkmain.c (gtk_check_version): added a function to perform a
- binary version check, returning a static string for error descriptions,
- or NULL on success.
+ * gtk/gtkwidget.c (gtk_widget_modify_style): Reset
+ the style if it was already set.
-Thu Aug 20 20:08:15 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkwidget.c (gtk_widget_set_name): Only set the
+ style if it was set before.
- * gtk/gtktext.c ([un]draw_cursor): Check to see if we've
- computed our geometry yet, and if not, ignore the request.
+Thu Sep 2 19:02:37 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktext.c (correct_cache_insert): Fiddled around
- some more. All the bug-test codes seem to work at once
- now. (fingers crossed...)
+ * gtk/testgtk.c (main): Add a check to see if we
+ are being run from the correct directory and
+ to quit nicely if we are not.
-Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkrc.c (gtk_rc_slist_remove_all): Make function
+ static.
- * gdk/gdkrgb.c: silly visual fixes
+Thu Sep 2 23:00:03 1999 Tim Janik <timj@gtk.org>
- * gtk/testgtk.c: call gdk_rgb_init so color preview test actually
- works
+ * gtk/gtkenums.h (GtkWindowPosition): added GTK_WIN_POS_CENTER_ALWAYS.
-1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gtk/gtkwindow.c:
+ queue resizes unconditionally (gtk_widget_queue_resize will figure
+ what to do if the window is not realized).
+ (gtk_window_move_resize): only recenter the window
+ for GTK_WIN_POS_CENTER_ALWAYS.
+ (gtk_window_compute_reposition): handle GTK_WIN_POS_CENTER_ALWAYS in
+ the same way as GTK_WIN_POS_CENTER.
+
+Thu Sep 2 22:39:27 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkwindow.c (gtk_window_reposition): check for the last position
+ with (!(info->last_flags & GDK_HINT_POS)) instead of
+ (!info->last_flags & GDK_HINT_POS).
+
+ * gtk/gtkwindow.c (gtk_window_move_resize): constrain new_width and
+ new_height unconditionally, because we use these values even if
+ !default_size_changed && !hints_changed.
+ comented the (default_size_changed || hints_changed) case with
+ respect to resize rejects from the window manager.
+
+ * gtk/gtkwindow.c (gtk_window_move_resize): save info->last values
+ in the zvt condition hack, since this includes the window hints, set
+ the hints after the handling_resize case.
+
+ * gtk/gtkwindow.c (gtk_window_show): constrain the default size that a
+ window is initially shown with to the geometry.
+
+Thu Sep 2 07:38:56 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkwindow.c (gtk_window_move_resize):
+ s/size_changed/default_size_changed/g so i know what's
+ really going on (frying brain on smaller flame now).
+
+Thu Sep 2 05:47:47 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkwindow.c (gtk_window_move_resize): queue a new resize if
+ we have size_changed upon handling_resize. this is a gross
+ workaround for the broken zvt widget and should be removed in
+ 1.3 again (search for FIXME).
+ Owen provided an accurate comment for this:
+
+ /* We could be here for two reasons
+ * 1) We coincidentally got a resize while handling
+ * another resize.
+ * 2) Our computation of size_changed was completely
+ * screwed up, probably because one of our children
+ * is broken. It's probably a zvt widget.
+ *
+ * For 1), we could just go ahead and ask for the
+ * new size right now, but doing that for 2)
+ * might well be fighting the user (and can even
+ * trigger a loop). Since we really don't want to
+ * do that, we requeue a resize in hopes that
+ * by the time it gets handled, the child has seen
+ * the light and is willing to go along with the
+ * new size. (this happens for the zvt widget, since
+ * the size_allocate() above will have stored the
+ * requisition corresponding to the new size in the
+ * zvt widget)
+ *
+ * This doesn't buy us anything for 1), but it shouldn't
+ * hurt us too badly, since it is what would have
+ * happened if we had gotten the configure event before
+ * the new size had been set.
+ */
+
+Wed Sep 1 20:46:11 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrc.c: deal properly with the fact that RC
+ style lists may include rc styles more than once.
+
+ * gtk/gtkrc.c (gtk_rc_append_pixmap_path): Removed
+ unused static function.
+
+ * gtk/gtkrc.c (gtk_rc_find_pixmap_in_path): Keep a
+ stack of directories of RC files currently being
+ parsed and implicitely add them to pixmap path.
+
+ This fixes a bug where the directory would get
+ appended then overwritten by pixmap_path declarations.
- * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
- anything if the event's window is not the bin window.
- (gtk_handle_box_motion): Likewise.
+ (bug #1462, from Peter Wainright <prw@wainpr.demon.co.uk>)
-1998-08-19 Raph Levien <raph@gimp.org>
+ * gtk/gtkthemes.c (gtk_theme_engine_unref): Call
+ theme's exit function. (Patch from Peter Wainwright,
+ bug #1454)
- * gtk/testgtk.c (create_color_preview): pushed the colormap and
- visual so it would work better with GdkRgb.
+ * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_destroy):
+ Add a destroy() handler to take care of removing
+ group for menu item. (Fixes bug #1197)
-1998-08-19 Raph Levien <raph@gimp.org>
+ * gtk/gtkwidget.c (gtk_widget_size_request): Fixed thinko
+ in warning message.
- * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
- 4bpp static_color mode (for vga displays). Also fixed a '64' value
- in the dither matrix, which was causing one pixel out of 16k to be
- dithered wrong.
+Wed Sep 1 21:27:42 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
- most of the contents. This is an API change - any apps that relied
- on the internal structure of GtkPreview will need some change -
- most notably in the use of reserved colors. The Gimp needed
- changes in this regard.
+ * gtk/gtkwindow.c (gtk_window_move_resize): don't require a server
+ roundtrip to figure window's width and height, since we know that
+ anyways from widget->allocation.
-Wed Aug 19 00:11:14 1998 Tim Janik <timj@gtk.org>
+Wed Sep 1 12:37:44 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
- G_ENABLE_DEBUG being defined (specifically --gtk-module= and
- --g-fatal-warnings), noticed by miguel.
+ * gtk/gtkwindow.c (gtk_window_move_resize): Compute
+ the hints after we request the new size.
-Tue Aug 18 17:54:40 1998 Tim Janik <timj@gtk.org>
+Wed Sep 1 10:38:37 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
- getcwd().
+ * gtk/gtkwindow.c (gtk_window_compute_hints): Removed
+ GTK_WIDGET_REALIZED() assertion - we can compute the
+ hints before we are realized.
- * gdk/gdkprivate.h:
- * gdk/gdkglobals.c:
- * gdk/gdkwindow.c:
- * gdk/gdk.c:
- * gtk/gtkwindow.c:
- * gtk/gtkitemfactory.c:
- dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
+ * gtk/gtkwindow.c (gtk_window_move_resize): Reorder
+ hint changing so that we have a value of hints_changed
+ when we decide whether to constrain the window size.
- * gtk/gtkselection.c:
- * gtk/gtkpreview.c:
- * gtk/gtkobject.c:
- * gtk/gtkmain.c:
- * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
+ * gtk/gtkwindow.c (gtk_window_move_resize): Spelling fix.
- * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
+ * gtk/gtkwindow.c (gtk_window_constrain_size): cleanups,
+ change back to G_MAXINT.
-Tue Aug 18 17:22:22 1998 Lars Hamann <lars@gtk.org>
+Wed Sep 1 06:54:59 1999 Tim Janik <timj@gtk.org>
- * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
- * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
- in case of show_tabs == NULL
+ * gtk/gtkwindow.c (gtk_window_get_geometry_info): zero initialize
+ new GtkWindowGeometryInfo, so fields like GdkGeometry geometry
+ contain uncluttered values.
+ (gtk_window_compute_hints): simply assert that window is realized
+ and that geometry_info is valid, since we rely on this anyways.
+ (gtk_window_constrain_size): major cleanups to the code.
+ if (flags & GDK_HINT_BASE_SIZE) use geometry's base width and height
+ for the base size, instead of the minimums. use 32767 as max width
+ and height (like in gtkwindow.c) instead of G_MAXINT.
-Tue Aug 18 03:54:43 1998 Tim Janik <timj@gtk.org>
+Wed Sep 1 04:41:25 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
- to --g-fatal-warnings again. this option now causes log levels of
- WARNING and CRITICAL to abort().
+ * cleaned up the GtkContainer.need_resize flag handling mess, we
+ only need to force resize requests when we were prematurely
+ realized, or our widget tree was modified when we were temporarily
+ hidden. handling these cases directly upon showing the window (i.e.
+ while the GdkWindow is still unmapped) avoids the need to wait for
+ a configure event response and therefore makes the GUI more snappier
+ and avoids blank windows during the roundtrip.
- * gdk/gdk.c:
- * gdk/gdkdnd.c:
- * gdk/gdkcc.c:
- * gdk/gdkfont.c:
- * gdk/gdkwindow.c:
- * gdk/gdkvisual.c:
* gtk/gtkwidget.c:
- * gtk/gtktypeutils.c:
- * gtk/gtktree.c:
- * gtk/gtkfontsel.c:
- * gtk/gtkmain.c:
- * gtk/gtkobject.c:
- * gtk/gtkpreview.c:
- * gtk/gtkselection.c:
- * gtk/gtktext.c:
- * gtk/gtktree.c:
- * gtk/gtktreeitem.c:
- did a global search&replace to substitute g_print() calls with
- g_message(). libraries shouldn't use printf(), g_print() or
- g_printerr() at all.
- a bunch of the replacements should probably be wrapped into the
- G{D|T}K_NOTE() macros, so they are special cased for debugging
- purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
- things.
-
- * gdk/gdkdnd.c: added copyright notice.
-
-Mon Aug 17 17:28:00 Raph Levien <raph@gtk.org>
-
- * gdk/gdkrgb.c: Further speedups of the 565_d case. It's
- impressively fast now - about 4.65 Mpix/s on an IBM TP 600
- running a PII 233. It's synced with the 0.0.5 release of
- GdkRgb.
-
-Tue Aug 18 00:29:13 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkclist.h:
- (struct _GtkCListClass): new class methods:
- (sort_list) (insert_row) (remove_row) (set_cell_contents)
-
- * gtk/gtkclist.c :
- (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
- removed and replaced by (set_cell_contents)
- (set_cell_contents): function for class method set_cell_contents
- (real_insert_row): function for class method insert_row
- (real_remoce_row): function for class method remove_row
- (real_sort_list): function for class method sort_list
- (default_compare): fix to avoid problems with cell types != CELL_TEXT
-
- * gtk/gtkctree.h :
- (gtk_ctree_export_to_gnode): new function to export a ctree as gnode
- (gtk_ctree_node_is_visible): new function to return visibility state
- of a node
- (gtk_ctree_show_stub): new function to set visibility of root stub
-
- renamed functions :
- (gtk_ctree_insert) -> (gtk_ctree_insert_node)
- (gtk_ctree_remove) -> (gtk_ctree_remove_node)
- (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
- (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
- (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
- (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
- (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
- (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
- (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
- (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
- (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
- (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
- (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
- (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
- (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
- (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
- (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
- (gtk_ctree_sort) -> (gtk_ctree_sort_node)
- (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
-
- * gtk/gtkctree.c :
- (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
- removed and replaced by (set_cell_contents)
- (set_cell_contents): function for class method set_cell_contents
- (real_insert_row): function for class method insert_row
- (real_remoce_row): function for class method remove_row
- (real_sort_list): function for class method sort_list
- (default_compare): removed. CTree now also compares two GtkCTreeRows
- instead of two GtkCTreeNodes.
- (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
- unlinking the node
- (real_tree_expand) (real_tree_collapse): fix for refcounting of
- node pixmaps
- (set_node_info): call gtk_ctree_node_set_pixtext instead of
- manipulating the row itself
-
- * gtk/testgtk.c: use renamed functions of GtkCTree.
- new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
- at work.
+ (gtk_widget_hide):
+ (gtk_widget_show): don't queue resizes on toplevels, they know how
+ to deal with matters.
-Mon Aug 17 15:31:38 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkcontainer.c (gtk_container_queue_resize): set the ->need_resize
+ flag directly for not visible resize containers and spare us unecessary
+ signal emissions.
- * gtk/gtkmain.c: removed gtk_input_add_interp.
+ * gtk/gtkwindow.c:
+ (gtk_window_realize): if we need to enforce premature size allocation,
+ queue a container resize so we are correctly resized later on.
+ (gtk_window_init):
+ (gtk_window_size_request):
+ don't freak around with the ->need_resize flag,
+ gtk_container_queue_resize() will care about that.
+ (gtk_window_show):
+ handle initial resizing issues here, we can handle matters better in
+ this place, especially since we know that our GdkWindow is still
+ unmapped.
+ (gtk_window_move_resize):
+ don't care about ->need_resize at all.
+ handle size changes properly that occoured while we waited for a
+ configure event.
+
+Tue Aug 31 15:58:46 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkwidget.c (gtk_widget_set_uposition):
+ * gtk/gtkwindow.[hc] (gtk_window_reposition):
+ Move the hint setting code from gtk_widget_set_uposition
+ to here; set the hints so that we respect any previously
+ set geometry hints.
+
+ * gtk/gtkwindow.c (gtk_window_compute_reposition): Don't
+ change the window hints here or move the window here,
+ let that happen in gtk_window_move_resize().
+
+Tue Aug 31 06:58:52 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkwidget.c (gtk_widget_event): when discarding exposes due
+ to already queued resizes (and therefore redraws) on a widget, check
+ its anchestry as well.
- * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
- keyword.
- (gtk_editable_get_event_time): fix default: case.
+ * gtk/gtkcontainer.c:
+ (gtk_container_queue_resize): clear resize widgets for resize
+ containers before aborting prematurely. this is especially important
+ for toplevels which may need imemdiate processing or their resize
+ handler to be queued.
+ (gtk_container_dequeue_resize_handler): added new internal function for
+ gtkwindow.c.
+
+ * gtk/gtkwindow.c (gtk_window_move_resize): if we are resizing due to a
+ configure event, take possible changes in window position into account
+ as well.
+ if we request a new window size, queue up a resize handler that will
+ last until the configure event response arrives.
+ combined the ->need_resize case (initial show) with the general size
+ (hints) changed case and added even more comments.
+ if !auto_shrink, only revert to the old allocation if the new size
+ is smaller than the current allocation.
- * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
+Tue Aug 31 11:55:20 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkpixmap.c: made a bunch of unexported functions static.
+ * gtk/gtkwindow.c (gtk_window_set_arg, gtk_window_set_policy,
+ gtk_window_set_geometry_hints
+ gtk_window_set_default_size):
+ When hints are set, queue a resize so that the hints will
+ be eventually reset on the toplevel.
- * gdk/gdkcolor.c:
- * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
- of our functions.
+ * gtk/gtkwindow.c (gtk_window_show): Use
+ gtk_window_compute_default_size(). Clear the need_resize flag
+ on the initail map so that we don't unnecessarily trigger the
+ resize code.
- * various minor compilation cleanups, such as bogus commas in
- enums and similar things.
+ * gtk/gtkwindow.c (gtk_window_move_resize): Split apart
+ into separate functions. Compare the hints we are setting
+ with what we set last time so that we can accurately
+ tell when we need to reset the hints.
-Mon Aug 17 07:47:43 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwindow.c (gtk_window_compute_default_size): New
+ function to figure out the size from requisition
+ and default_size.
- * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat()
- (thanx raph).
+ * gtk/gtkwindow.c (gtk_window_constrain_size): Function
+ from fvwm to constrain a size to the geometry hints.
-Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+ * gtk/gtkwindow.c (gtk_window_compare_hints): New function
+ to compare two sets of geometry hints.
- * NEWS: updated for 1.1.2
- * gtk+.spec: version = 1.1.2
+ * gtk/gtkwindow.c (gtk_window_compute_hints): Renamed
+ from gtk_window_set_hints(), just compute the hints,
+ don't set them.
-Mon Aug 17 05:10:29 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwindow.c (gtk_window_compute_reposition): Move
+ code from gtk_window_move_resize() to separate function,
+ rationalize a bit.
- * gtk/gtkmain.c (gtk_init): don't call module initializers multiple
- times. changed --gtk-with-module to --gtk-module at owen's request.
+Tue Aug 31 13:05:03 1999 Owen Taylor <otaylor@redhat.com>
-Mon Aug 17 03:47:55 1998 Tim Janik <timj@gtk.org>
+ * gtkrc.h: Move the ref_count member out of the GtkRcStyle
+ structure into a new private structure.
- * gtk/gtkmain.c (gtk_init): feature a new commandline option
- --gtk-with-module=<module> that allows additional loading and
- initialization of modules (e.g. GLE).
+ * gtkrc.c: Split GtkRcStyle into public/private.
+ In the private part, add a list of pointers to the
+ RcStyle lists this RcStyle participates in.
-Mon Aug 17 01:40:00 1998 Tim Janik <timj@gtk.org>
+ * gtkrc.c: When a RcStyle is free, remove all
+ lists referencing it from the
+ realized_style_ht hash, and free those lists.
+
+ * gtk/gtkrc.c (gtk_rc_clear_styles): Don't call
+ gtk_rc_init(), since that adds the default styles
+ to the list of parsed RC files again.
- * configure.in: version bump to 1.1.2, binary age 0, interface age 0.
- pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now.
+ * gtk/gtkrc.c: Use gtk_rc_style_find() consistently.
+
+Thu Aug 26 14:14:42 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log
- with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks",
- "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six
- different *-fatal-* arguments now. this needs to be revised and
- compressed to a reasonable amount of arguments.
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): reactivated the sanity
+ checks that ensure that a widget's allocation is at least 1 in width
+ and height. (GNOME note: this doesn't affect old panel code anymore,
+ because GtkSocket will request width and height of at least 1 since
+ Fri Jul 23).
-Sun Aug 16 20:51:59 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwindow.c (gtk_window_realize): if the widget hasn't been
+ allocated yet (happens if the user realizes the window prematurely),
+ size request and allocate it.
+ (gtk_window_size_allocate): guard against guint underflows.
- * gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
- "--g-fatal-warnings" causes fatal warnings in GLib,
- "--gdk-fatal-warnings" causes fatal warnings in Gdk,
- "--gtk-fatal-warnings" causes fatal warnings in Gtk.
+Wed Aug 25 19:01:36 1999 Lars Hamann <lars@gtk.org>
- * gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
- * gdk/Makefile.am: define G_LOG_DOMAIN for gdk.
+ * gtk/Makefile.am (gtk_built_sources): reordered stamp-gtk.defs
+ in gtk_built_sources, so gtk.defs gets built prior to all other
+ sources.
- * gtk/testgtk.c:
- * gdk/gxid.c:
- we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
- since automake doesn't support per target _CFLAGS yet.
+Mon Aug 23 19:11:17 1999 Tim Janik <timj@gtk.org>
- * configure.in: require GLib 1.1.3.
+ * gtk/Makefile.am:
+ invoke indent on gtkmarshal.*.
+ rewrote source generation rules, use COPYING as oldest source tag for
+ a piggyback rule to generate all sources from (don't touch it ;).
+ major cleanups, strip spaces on build rules for GNU Make.
-Sat Aug 15 03:19:30 1998 John Ellis <johne@bellatlantic.net>
+ * gtk/genmarshal.pl: don't operate on hardcoded filenames but take
+ source and target files from commandline arguments. don't invoke indent.
- * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function
- to set a callback to test if a node in drag can be dropped onto
- it's currrent location.
- * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions
- to change the pointer when a drag destination is not allowed.
+Sat Aug 21 14:07:36 1999 Lars Hamann <lars@gtk.org>
-Thu Aug 13 21:06:00 1998 Raph Levien <raph@gtk.org>
+ * gtk/gtknotebook.c (gtk_notebook_real_switch_page): queue_resize
+ notebook after switch to avoid drawing problems.
+ (Bug#856 Reported by: Theodore Roth <troth@netmagic.net>)
+
+ (gtk_notebook_pages_allocate): don't map not visible tab_labels,
+ show them instead.
+ (Bug#1805 Reported by: Dave Cole <dave@dccs.com.au>)
- * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that
- speeds up the 565_d case by about 25% total. Thanks Ray!
+Sat Aug 21 14:07:36 1999 Lars Hamann <lars@gtk.org>
-Thu Aug 13 16:47:44 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtknotebook.c (gtk_notebook_real_switch_page): queue_resize
+ notebook after switch to avoid drawing problems.
+ (Bug#856 Reported by: Theodore Roth <troth@netmagic.net>)
+
+ (gtk_notebook_pages_allocate): don't map not visible tab_labels,
+ show them instead.
+ (Bug#1805 Reported by: Dave Cole <dave@dccs.com.au>)
- * Changed GtkSignalFunc back to () from (void). (again!)
+Wed Aug 18 09:20:10 1999 Tim Janik <timj@gtk.org>
- * Added file README.cvs-commits
-
-Thu Aug 13 09:11:11 BST 1998 Tony Gale <gale@gtk.org>
-
- * docs/gtk_tut.sgml:
- - Tidy up of the menufactory example from
- Andy Kahn <kahn@zk3.dec.com>
- - New section on Range Widgets from
- David Huggins-Daines <bn711@freenet.carleton.ca>
- - Started a new section on 'Advanced Event and Signal
- Handling' - used an email from Owen.
- - New appendix on Gdk Event Types
- - Added the tictactoe full example code to the
- 'Code Examples' appendix
-
-Tue Jul 21 12:42:01 1998 Owen Taylor <otaylor@redhat.com>
-
- * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() -
- to calculate all the metrics at once of a string, including
- things which weren't calculated before.
-
- * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
- MenuItem type, that when put as the first thing in a
- menu, makes the menu tearoff. Currently drawn as a
- dashed line.
-
- * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
- "hide_on_activate" to the MenuItem class structure to allow
- check and radio buttons to be changed with <Space> without
- hiding the menu.
-
- * gtk/gtkitemfactory.c:
- - Create a AccelGroup for each MenuShell we create.
- - If an '_' appears before a character 'c' in the path,
- then make 'c' an accelerator in the menu's accel group,
- and if the menuitem is menubar <alt>C an accelerator
- in the itemfactory's accel group. Double '__' inserts
- a literal '_'
-
- * gtk/gtklabel.[ch]: Add support for a pattern arg -
- which is a string. If an '_' appears in this string,
- the corresponding position in the label is underlined.
-
- Add gtk_label_parse_uline() convenience function which
- takes a string with embedded underlines, sets the
- pattern and label, and returns the accelerator keyval.
-
- * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
- Instead, they create a GtkWindow and add themselves
- to that. (When torn off, another new feature, they
- create another GtkWindow to hold the torn off menu)
-
- New function gtk_menu_set_tearoff_state()
-
- * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h:
- Added action signals for keyboard navigation of menus.
+ * gtk/gtkwindow.c:
+ we use window->need_resize from configure_event now, to indicate that
+ the gtkwindow should keep its allocation (e.g. because the user resized
+ the window through window manager handles). resize_count is now reliably
+ used to figure whether we got the allocation we requested from the
+ window manager.
+ configure events get queued as resizes now, the real stuff (size
+ computation and allocation) now only goes on in gtk_window_move_resize().
+ GtkWindow's requisition now contains its *real* requisition (like all
+ other widgets), *not* taking usize into account.
+ geometry_info->last_{width|height} is now updated from set_hints() only
+ so it always contains the last hints we set for the window manager.
+ made some event handlers return TRUE instead of FALSE.
+ the overall code should be much more straight forward now, and the
+ significant code portions are accompanied by comments now.
+ (gtk_window_set_hints):
+ removed requisition argument and made it
+ fetch the requisition through gtk_widget_get_child_requisition.
+ we also don't move the gdkwindow here anymore, gtk_window_move_resize()
+ does that now.
+ (gtk_window_show):
+ ensure that the widget is realized before calling
+ gtk_container_check_resize() (and thus gtk_window_move_resize()), also
+ ensure that we got properly size requested and allocated before
+ realization.
+ (gtk_window_configure_event):
+ ignore plain window moves, or reallocate the widget tree through the
+ resize queue otherwise.
+ (gtk_window_move_resize):
+ mostly rewrote this function to figure window manager hints more
+ reliably, coalesce window moves and resizes to reduce configure events
+ and do actuall size allocations.
+
+Tue Aug 17 07:43:04 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkwidget.c (gtk_widget_event): discard expose events for widgets
+ that have a resize pending, because a redraw is already queued for them.
+
+ * gtk/gtkcontainer.c: removed ugly connect_to ::size_allocate signal
+ hack to clear resize_widgets.
+
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): call clear_resize_widgets
+ for resize containers prior to size allocation. (this is also a bit
+ ugly, but avoids side effects for stopped emissions and is thus more
+ reliable).
+ (gtk_widget_unparent): removed disconnect call for clear_resize_widgets.
+
+ * gtk/gtktooltips.c (gtk_tooltips_paint_window): renamed this
+ function from gtk_tooltips_expose, as we connect to ::expose_event
+ *and* ::draw now.
+
+1999-08-18 Federico Mena Quintero <federico@redhat.com>
+
+ * gtk/gtkselection.c (gtk_target_list_ref): Added missing sanity
+ checks.
+ (gtk_target_list_unref): Likewise.
- * gtk/gtkmenushell.c: Key press handler which activates
- bindings for navigation, and accelerators, for handling
- underline accelerators. Exported functions to select
- and activate menu items in a menushell.
+ * gtk/gtkthemes.c (gtk_theme_engine_unref): Likewise.
- * gtk/testgtk.c: Added a new "Item Factory" test which
- tests GtkItemFactory and the new keyboard navigation
- of menus.
+Tue Aug 17 15:47:07 1999 Owen Taylor <otaylor@redhat.com>
-Tue Aug 11 20:52:58 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkcolorsel.c (gtk_color_selection_draw_value_bar):
+ guard against division by zero. (Fixes bug #1339)
- * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
- external functions have been called. also relookup nodes after
- this function has been invoked.
+Tue Aug 17 10:56:49 1999 Owen Taylor <otaylor@redhat.com>
-Tue Aug 11 15:04:52 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkentry.c (gtk_move_{forward,backward}_word):
+ Prevent the trivial leak of information of allowing
+ word motion when the entry is not visible.
- * gtk/gtktext.[ch]: Removed has_cursor, set the cursor
- beginning of Text when creating the Text widget.
+Tue Aug 17 10:28:52 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/testgtk.c: Grab the focus on the text widget so
- as to test out the above.
+ * gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Propagate
+ modality to error dialog as well as confirmation dialogs.
+ (Bug #1803, reported by Rosanna Wing Sze Yuen)
-Tue Aug 11 14:55:00 1998 Owen Taylor <otaylor@redhat.com>
+Wed Aug 11 01:04:57 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkeditable.c: Reverted part of timj's change of Jul 16.
- ::changed is a notification signal and should have no default
- handler. A complete redraw of the Text widget does _not_ need to
- be done on every text insertion.
+ * gtk/gtktreeitem.c (gtk_tree_item_draw_lines): Honor
+ tree->view_lines.
+ (gtk-guy-990611-3.patch: Guy Harris <guy@netapp.com>)
-Tue Aug 11 13:07:29 1998 Owen Taylor <otaylor@redhat.com>
- (gtk-abilleira-072198-patch)
+ * gtk/Makefile.am (install-data-local): Solaris apparently
+ has various troubles with ln -f; use rm first instead.
+ (gtk-guy-990611-2.patch: Guy Harris <guy@netapp.com>)
- * gtk/gtkwindow.[ch]:
- Add gtk_window_set_modal() which sets a flag; when
- set the window does a gtk_grab_add() when the window
- is shown, and a gtk_grab_remove() when the window
- is hidden.
+1999-07-30 Raja R Harinath <harinath@cs.umn.edu>
- * gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
- that case will run "Create Dir","Delete File" and "Rename File"
- dialogs as modal too.
+ * gtk/Makefile.am (stamp-m): Don't `mv' from builddir to srcdir,
+ use `cp' followed by `rm' (the `rm' was already there).
- * gtk/testgtk.c: Added a button with an example of creating modal
- dialog boxes. Including file selection and color selection standard
- dialogs.
+July 30, 1999 Elliot Lee <sopwith@redhat.com>
-Tue Aug 11 00:44:47 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
- Removed CAN_FOCUS by default from scrollbars, button
- children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children)
- (Scrollbar definitely good change, toolbar bit more questionable)
+ * configure.in: Fix autoconf warnings about cross compilation by
+ trying to provide sane defaults for AC_TRY_RUN.
+ * gtk/Makefile.am: If we refer to gtkmarshal.[ch] in $(srcdir),
+ put them into $(srcdir) when generated. Also add a dependency of
+ gtksignal.h on gtkmarshal.h for -j builds.
+ * gtk/gtk(dnd,style,gamma).c: Minor warning fixes.
-Tue Aug 11 17:49:33 1998 Tim Janik <timj@gtk.org>
+Wed Jul 28 09:29:19 1999 Owen Taylor <otaylor@redhat.com>
- * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
- Pettersen).
+ * gtk/gtkmain.c (gtk_main_iteration_do): Added missing
+ GDK_THREADS_{LEAVE,ENTER} pair.
+ (From Paul Fisher <pnfisher@redhat.com>)
-Tue Aug 11 00:35:56 1998 Owen Taylor <otaylor@redhat.com>
+Fri Jul 23 01:00:15 1999 Tim Janik <timj@gtk.org>
- * gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0;
- added all logical operations to gc->function.
+ * gtk/gtksocket.c (gtk_socket_size_request): asure that the requested
+ width and height are always >0 (owen).
-Sun Aug 9 23:31:59 1998 Lars Hamann <lars@gtk.org>
+Fri Jul 23 00:00:47 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
- gtk_widget_size_allocate instead of gtk_widget_queue_resize
- if the visibility state of a scrollbar changes.
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): backed out my recent
+ change that assured that a widget's allocated with and height are
+ always >1, since this breaks *buggy* panel code. unfortunately this
+ back-breaks the gimp's color selector.
-Mon Aug 10 12:49:54 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkdrawingarea.c (gtk_drawing_area_size_allocate): asure that our
+ allocation is always >0 in width and height, before sending the
+ configure event; this is a *gross* hack to get the gimp back to work.
+
+ * marked both cases with TODO-1.3
- * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).
+Wed Jul 21 15:47:39 1999 Owen Taylor <otaylor@redhat.com>
-Thu Aug 6 22:37:21 1998 Stefan Jeske <stefan@gtk.org>
+ * gtk/gtktext.c: Don't display wrap indicators when
+ text is not editable and word wrap is on.
- * gtk/gtkclist.c: Renamed my_merge and my_mergesort to
- gtk_clist_merge and gtk_clist_mergesort. :)
+Wed Jul 21 08:21:40 1999 Tim Janik <timj@gtk.org>
-1998-08-06 Martin Baulig <martin@home-of-linux.org>
+ * gtk/gtkitemfactory.c (gtk_item_factory_create_item): special case
+ option menus here as they are not derived from menu shell, assure that
+ the option menu has a menu we can add items to.
- * gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
- `mergesort' -> `my_mergesort'.
+Tue Jul 20 23:29:48 1999 Tim Janik <timj@gtk.org>
-Wed Aug 5 21:12:37 1998 Stefan Jeske <stefan@gtk.org>
+ * gtk/gtknotebook.c (gtk_notebook_page_allocate): convert allocation->
+ width/height to (gint) before calculations and check against < 0 to
+ avoid guint wraparounds.
- * gtk/gtkenums.h: new enum GtkSortType.
-
- * gtk/gtkclist.h:
- * gtk/gtkclist.c:
- Added sorting capabilities to GtkCList. New APIs :
- gtk_clist_set_compare_func, gtk_clist_set_sort_column,
- gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
- New internal functions : default_compare, merge, mergesort.
+Sun Jul 18 00:35:49 1999 Tim Janik <timj@gtk.org>
- (gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
-
- (gtk_clist_insert): Modified to handle gtk_clist_append and the
- auto sort flag. Changed the return value from void to gint to
- return the row number where the element was actually inserted.
+ * gtk/gtkwidget.c (gtk_widget_size_allocate): ensure that the allocated
+ width and height is never zero. sanity check both dimensions against
+ 32767 and issue a warning if the allocation is greater than that.
- (gtk_clist_swap_rows): Return immediately if auto sort flag is set.
-
- * gtk/gtkctree.h:
- * gtk/gtkctree.c:
- Removed the auto_sort flag, replaced ctree->node_compare with
- clist->compare all over the place, modified default_compare to
- match clist's needs. Removed API´s : gtk_ctree_set_auto_sort,
- gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
-
- * gtk/testgtk.c: Modified clist/ctree samples to demonstrate
- sorting. The lists can be sorted by a column by clicking the
- corresponding title button.
-
-Tue Aug 4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
+Wed Jul 7 15:03:30 1999 Owen Taylor <otaylor@redhat.com>
- * Released GTK+ 1.1.1
+ * gtk/gtkmain.c (gtk_events_pending): Unlock around call
+ to g_main_pending() as well.
-Wed Aug 5 02:57:20 1998 Lars Hamann <lars@gtk.org>
+Wed Jul 7 14:59:01 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkctree.h:
- * gtk/gtkctree.c:
- (gtk_ctree_find): changed to return a gboolean
- (gtk_ctree_insert_gnode): new function for recursive insertion of a
- GNode tree.
- (gtk_ctree_real_select_recursive): fix for extended selection
- (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
- (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
+ * gtk/gtkmain.c (gtk_main_iteration): Unlock around
+ call to g_main_iteration() - since that will regrab
+ GTK+ lock to process events.
-Tue Aug 4 16:18:26 1998 Tim Janik <timj@gtk.org>
+Thu Jul 1 15:01:55 1999 Owen Taylor <otaylor@redhat.com>
- * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
- GLib version 1.1.1 is now required at minimum.
+ * gtk/gtkwindow.c
+ - Regularize with the rest of GTK+ by making widget->requisition
+ not reflect the set_usize()
+ - Always recompute geometry hints, then check if they
+ changed before sending them to the X server. The
+ previous checks for changes would fail in a number
+ of circumstances.
- * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
- of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.
+Thu Jul 1 11:55:59 1999 Owen Taylor <otaylor@redhat.com>
-Mon Aug 3 19:24:48 1998 Owen Taylor <otaylor@redhat.com>
-
- * gtk/gtktext.c (gtk_text_forward_delete): Undraw the
- cursor before (possibly) deleting the cursor's text
- property.
-
- * gtk/gtktext.c (correct_cache_delete): More attempts
- to clean the line-start cache up after inserting
- a property. Among other things, make sure to
- fix up text->current_line, since it is used to
- refetch the changed lines.
-
-Tue Aug 4 10:59:19 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/gtkstyle.c: Include <stdlib.h> for strcmp().
- * gtk/gtktable.[ch]: Empty rows/columns of the table
- should not have been marked as being able to shrink.
- (Fixes problem with shrinking scrollbarless GIMP canvases)
+Wed Jun 30 19:26:36 1999 Owen Taylor <otaylor@redhat.com>
-1998-08-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gtk/gtkdnd.c:
+ - Code cleanups
+ - Instantaneously update on modifier key presses
+ - Allow cancellation of the drag with Escape.
- * gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
- function to find a row by its data pointer using a custom
- comparison function.
+Tue Jun 29 17:04:09 1999 Owen Taylor <otaylor@redhat.com>
-Sun Aug 02 22:58:00 1998 George Lebl <jirka@5z.com>
+ * gtk/testgtk.c (create_handle_box): Set the policy
+ to auto_shrink - otherwise the appearance is rather
+ strange when flipping between horizontal and vertical.
- * gtk/gtkclist.c: draw the buttons during a "draw" as well,
- this fixes a bug when the whole widget is made non-sesitive
- the buttons weren't redrawn
+Mon Jun 28 09:29:52 1999 Tim Janik <timj@gtk.org>
-Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkwindow.c: add ::default_width and ::default_height arguments.
+ (gtk_window_set_default_size): don't change a value if it's < 0.
+ queue a resize.
- * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
- * gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
- * gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning
+Sun Jun 27 11:00:33 1999 Tim Janik <timj@gtk.org>
-Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtktext.c (gtk_text_insert): don't segfault on NULL inserts.
- * gdk/gdkwindow.c (gdk_window_reparent): Change
- window_private->parent pointer when reparenting.
+Mon Jun 28 12:08:25 1999 Owen Taylor <otaylor@redhat.com>
-Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
+ * gtk/gtkfilesel.c (cmpl_completion_fullname): Don't
+ add an extra "/" when concating "/" + filename.
+ (From Matt Grossman <mattg@oz.net>)
- * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
- with the standalone release.
+Mon Jun 28 10:57:12 1999 Owen Taylor <otaylor@redhat.com>
-Fri Jul 31 20:45:07 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkctree.c (draw_cell_pixmap): Reset clip mask
+ for fg_gc if we set it for drawing pixmap.
- * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
- (gtk_clist_button_release) (new_column_width): Few fixes for
- column resize. Store resize column in clist->drag_pos.
+Tue Jun 15 12:45:12 1999 Owen Taylor <otaylor@redhat.com>
-Thu Jul 31 15:18:36 1998 Lars Hamann <lars@gtk.org>
+ Fixes from Peter Wainwright <prw@wainpr.demon.co.uk>
+
+ * gtk/gtkrc.c (gtk_rc_parse_engine): If rc_style->engine is
+ already set, call old engine's destroy function and
+ unref the old engine.
- * gtk/gtkctree.h
- * gtk/gtkctree.c
- * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
- to GtkCTreeNode *node.
+Thu Jun 10 17:59:38 1999 Tim Janik <timj@gtk.org>
- * gtk/gtklist.h : added extended selection mode and auto scrolling.
- (struct _GtkList): removed unneeded variables timer, button,
- selection_start_pos, selection_end_pos, scroll_direction, have_grab.
- Added new variables undo_selection, undo_unselection, last_focus_child,
- undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
- drag_selection, add_mode.
-
- New functions :
- (gtk_list_extend_selection), (gtk_list_start_selection),
- (gtk_list_end_selection), (gtk_list_select_all),
- (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
- (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
- (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
- (gtk_list_undo_selection), (gtk_list_end_drag_selection)
-
- * gtk/gtklist.c :
- (gtk_list_enter_notify): removed, because auto scrolling now works
- with gtk_list_motion_notify
-
- New functions, needed for auto scrolling :
- (gtk_list_motion_notify) (gtk_list_move_focus_child)
-
- New functions for extended selection support :
- (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
- (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
- (gtk_list_focus_lost)
-
- (gtk_list_set_focus_child): modified gtk_container_set_focus_child
- function to support auto scrolling, and avoid out-of-sync errors in
- case auf GTK_SELECTION_BROWSE
- (gtk_list_focus): modified gtk_container_focus function to avoid out
- off sync errors in case auf GTK_SELECTION_EXTENDED
-
- * gtk/gtklistitem.h
- * gtk/gtklistitem.c :
- New signal functions for key binding support :
- (toggle_focus_row), (select_all), (list_item), (unselect_all)
- (list_item), (undo_selection), (start_selection), (end_selection)
- (extend_selection), (scroll_horizontal), (scroll_vertical),
- (toggle_add_mode)
- (gtk_list_item_realize): added GDK_KEY_PRESS_MASK |
- GDK_KEY_RELEASE_MASK
- (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
-
- * gtk/gtkcombo.c :
- (gtk_combo_popup_button_press): grab pointer for combo->list
- (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
- (gtk_combo_list_key_press): take care of which child HAS_GRAB
- (gtk_comb_init): don't connect combo->button with button_release_event
+ * gtk/gtkdrawingarea.c (gtk_drawing_area_size): queue a resize.
-Thu Jul 30 12:39:36 1998 Lars Hamann <lars@gtk.org>
+Wed Jun 9 15:13:16 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines
+ * gtk/gtkaccelgroup.h: mark certain functions as internal.
-Wed Jul 29 23:31:50 1998 Lars Hamann <lars@gtk.org>
+Wed Jun 9 13:48:28 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkclist.c (gtk_clist_motion): column resize now works with
- horizontal autoscrolling, GtkCTree's 'reorder ability' now works
- with horizontal and vertical autoscrolling.
+ * gtk/gtkpreview.c (gtk_preview_set_expand): queue a resize if the
+ expand behaviour changed.
-Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+ * gtk/gtklabel.c (gtk_label_set_pattern):
+ (gtk_label_set_justify):
+ (gtk_label_set_line_wrap):
+ don't bother invoking queue_clear, the reallocation does
+ that for us, always free_words so the upcoming resize will
+ relayout the label's contents.
- * gtk/docs/man: new directory
- * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page
+Wed Jun 9 12:50:48 1999 Tim Janik <timj@gtk.org>
-Tue Jul 28 00:03:20 1998 Lars Hamann <lars@gtk.org>
+ * applied argument implementation patches from Elena Devdariani
+ <elena@cogent.ca>.
- * gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
- bug
+ * gtk/gtktoolbar.c: ::orientation, ::toolbar_style, ::space_size,
+ ::space_style, ::relief
+ * gtk/gtkruler.c: ::lower, ::upper, ::position, ::max_size
+ * gtk/gtkpreview.c: ::expand
+ * gtk/gtkpaned.c: ::handle_size, ::gutter_size
+ * gtk/gtknotebook.c: ::homogeneous
+ * gtk/gtklabel.c: ::wrap
+ * gtk/gtklist.c: ::selection_mode
+ * gtk/gtkhandlebox.c: ::handle_position, ::snap_edge
+ * gtk/gtkcurve.c: ::curve_type, ::min_x, ::max_x, ::min_y, ::max_y
+ * gtk/gtkcolorsel.c: ::update_policy, ::use_opacity
+ * gtk/gtkclist.c: ::sort_type
+ * gtk/gtkcheckmenuitem.c: ::active, ::show_toggle
+ * gtk/gtkaspectframe.c: ::xalign, ::yalign, ::ratio, ::obey_child
-Mon Jul 27 09:18:13 BST 1998 Tony Gale <gale@gtk.org>
+Tue Jun 1 23:38:38 1999 Owen Taylor <otaylor@redhat.com>
- * docs/gtk_tut.sgml: GtkTree section from
- David Huggins-Daines <bn711@freenet.carleton.ca>,
- add a GtkText widget example
- * examples/text/* example/tree/* : new examples for the
- GtkTree and GtkText widgets
- * docs/gtk_tut.sgml: added an appendix to hold complete code
- examples that aren't in a full form elsewhere in the
- tutorial (e.g. scribble)
+ * gtk/gtkstyle.c: Removed ill-thought-out part of last
+ comment.
-Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+Tue Jun 1 23:30:09 1999 Owen Taylor <otaylor@redhat.com>
- * Released GTK+ 1.1.0
+ * gtk/gtkstyle.c (gtk_style_attach): Get the reference
+ counting right when we have to attach a new style
+ for a different visual. (Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)
-Mon Jul 27 04:18:26 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkstyle.c: Documented the refcounting
+ peculularities of gtk_style_attach.
- * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
- the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
+1999-06-01 Tim Janik <timj@dhcpd7.redhat.com>
-Mon Jul 27 03:11:20 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwindow.c (gtk_window_new): added return if fail for invalid
+ window types.
- * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
- values are looked up.
+ * examples/packer/pack.c (main): use GTK_WINDOW_TOPLEVEL instead
+ of GTK_TOPLEVEL for creating the window.
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
- gtk_type_enums_find_value to lookup enum values.
+1999-06-01 Tim Janik <timj@dhcpd7.redhat.com>
- * gtk/gtkctree.h:
- * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
- GtkCTreeExpansionType. fixed signal creations to pass the enum
- types not just the base type GTK_TYPE_ENUM.
+ * gtk/gtkmain.c (gtk_init_check): don't segfault when --gtk-module is
+ the last argument (reported by Per Winkvist).
+
+Tue May 25 13:13:12 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkclist.h:
- * gtk/gtkclist.c: fixed signal creations to pass the real enum
- types not just the base type GTK_TYPE_ENUM.
+ Fixes for invisible XOR lines (Frank Loemker
+ <floemker@TechFak.Uni-Bielefeld.DE>)
+
+ * gtk/gtkclist.c (gtk_clist_realize): Always use
+ a non-zero pixel for GDK_XOR.
-Sun Jul 26 14:50:07 1998 Stefan Jeske <stefan@gtk.org>
+ * gtk/gtkvpaned.c gtk/gtkhpaned.c:
+ Use GDK_INVERT instead of GDK_XOR.
- * gtk/testgtk.c :
- Began cleanup, e.g. use gtk_widget_show_all instead of many
- gtk_widget_show's. Completely rewrote the button box sample
- (only one window now). Removed "miscellaneous" button.
+Wed May 12 21:56:40 1999 Lars Hamann <lars@gtk.org>
-Sun Jul 26 14:48:14 1998 Stefan Jeske <stefan@gtk.org>
+ * gtk/gtkclist.c (adjust_adjustments): signal emit value_changed
+ signals if h/voffsets differ from adjustment values.
+ Reportet by Jerome Bolliet <bolliet@in2p3.fr>
- * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
- Fixed wrong allocation for GTK_BUTTONBOX_END.
- (allocation->x => allocation->y)
+Mon May 10 04:20:41 1999 Tim Janik <timj@gtk.org>
-Sun Jul 26 14:06:37 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): propagate
+ ::selection-done emissions up to the topmost menu shell.
- * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
- (abort_column_resize) (gtk_clist_key_press): fix for pointer grab
-
- * gtk/gtkctree.c (real_tree_select): added check to avoid double
- selected rows
- (gtk_ctree_button_press)
- (gtk_ctree_button_release): fix for pointer grab
+Fri May 7 10:15:14 1999 Owen Taylor <otaylor@redhat.com>
-Sat Jul 25 13:16:00 1998 Damon Chaplin <DAChaplin@msn.com>
+ * gtk/gtknotebook.c (gtk_notebook_set_scrollable): Unset
+ the user data on the window before destroying it.
- * gtk/gtkfontsel.c (gtk_font_selection_get_fonts):
- Fixed initialization problem - dirty memory could cause problems.
- Also checked that bitmapped fonts can be scaled when showing the
- available sizes.
+ * gtk/gtknotebook.c (gtk_notebook_unrealize): Add an
+ unrealize handler to take care of destroying
+ notebook->panel properly.
+ (Bug #1198 - Morten Welinder <terra@diku.dk>)
-Sat Jul 25 02:25:03 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtktext.c (expand_scratch_buffer): Fix reversal
+ of g_new and g_realloc to stop memory leak. (Actually,
+ we could just use g_realloc(), but I'm not 100% sure
+ that is portable).
+ (Bug #1196 - Morten Welinder <terra@diku.dk>)
- * gtk/gtkctree.c (gtk_ctree_sort_recursive)
- (gtk_ctree_sort_recursive): test for node != NULL
- (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
- (gtk_ctree_last) : added sanity checks
- * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"
+Wed Apr 21 00:42:08 1999 Owen Taylor <otaylor@redhat.com>
-Fri Jul 24 18:15:49 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkplug.h: Removed stray GtkPlugButton declaration.
- * gtk/gtkclist.c (toggle_focus_row): mini code cleanup
+ * gdk/gdkfont.c (gdk_text_measure): Fix the return value
+ for fontsets.
-Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
+ * gtk/gtkbutton.c (gtkbutton_expose): Fix warning
+ with bin/button confusion.
- * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
+Thu May 6 04:53:26 1999 Tim Janik <timj@gtk.org>
-Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
+ * gtk/testgtk.c: in the ItemFactory test, link radio items together,
+ and show how preselection of radio items is done.
- * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
- to check out binding priorities. someone should really write
- gtkrc-mode for emacs.
+Sun May 2 13:31:14 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
- * gtk/testgtk.c (main): and move it here ;). this test says something
- on release of C-9. (this works only if the mouse pointer is on a
- spinbutton and there is no focus widget).
+ * gtk/gtktreeitem.c (gtk_tree_item_set_subtree):
+ * gtk/gtktree.c (gtk_tree_add) (gtk_tree_insert):
+ * gtk/gtktoolbar.c (gtk_toolbar_insert_element):
+ * gtk/gtkpaned.c (gtk_paned_pack2) (gtk_paned_pack1):
+ * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add):
+ * gtk/gtktable.c (gtk_table_attach):
+ * gtk/gtklist.c (gtk_list_insert_items):
+ * gtk/gtkmenushell.c (gtk_menu_shell_insert):
+ * gtk/gtknotebook.c (gtk_notebook_insert_page_menu):
+ * gtk/gtkpacker.c (gtk_packer_add_defaults) (gtk_packer_add):
+ * gtk/gtkbin.c (gtk_bin_add):
+ * gtk/gtkbox.c (gtk_box_pack_start) (gtk_box_pack_end):
+ * gtk/gtkfixed.c (gtk_fixed_put):
+ * gtk/gtklayout.c (gtk_layout_put):
+ general fixups to container_add logic. always realize child if
+ child->parent is realized, only map the child and queue a resize
+ if child and child->parent are both visible.
- * gtk/gtkrc.h:
- * gtk/gtkrc.c:
- export gtk_rc_parse_color, gtk_rc_parse_state and a new function
- gtk_rc_parse_priority to parse path priority types.
- export rc tokens.
- feature binding parsing.
+Fri Apr 30 09:02:28 1999 Tim Janik <timj@gtk.org>
-Wed Jul 22 23:41:17 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwidget.c (gtk_widget_real_unrealize): use gtk_container_forall
+ instead of gtk_container_foreach to walk and unrealize children, so
+ composite children get also unrealized.
+ (gtk_widget_real_show): don't call gtk_widget_map() if we don't need to.
+ (gtk_widget_map): assert that the widget is visible (basic constrain).
+ (gtk_widget_real_map): assert that the widget is realized (basic
+ constrain).
- * gtk/gtkbindings.h:
- * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
- feature binding parsing in rc files.
- * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
- * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
- order the bindings with lowest priority first.
+Fri Apr 29 00:53:20 1999 Tim Janik <timj@gtk.org>
-Wed Jul 22 15:21:08 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkbindings.c (gtk_pattern_spec_init): plugged a memory leak.
- * gdk/gdkrgb.c: actually builds and runs properly on big
- endian machines now, because we #include config.h. Also
- fixed up a compile error in the WORDS_BIGENDIAN case in
- gdk_rgb_convert_565_gray. I made the fix by looking at
- patterns in the other code; Raph can you verify this?
+Tue May 4 09:32:08 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkthreads.c: #include <unistd.h> to quell compiler
- warnings
+ * gtk/Makefile.am gtk/gtkrc.iso-8859-2: Add a gtkrc
+ file for iso-8859-2 locales.
-Wed Jul 22 23:00:44 1998 Lars Hamann <lars@gtk.org>
+ * configure.in (ALL_LINGUAS): ALL_LINGUAS update.
- * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse)
- (tree_toggle_expansion) (real_select/unselect_row)
- (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits
+Tue Apr 27 16:38:32 1999 Owen Taylor <otaylor@redhat.com>
-Wed Jul 15 17:44:47 1998 Owen Taylor <otaylor@redhat.com>
+ * gtk/Makefile.am: Fix typo of static_sources for static_SOURCES.
+ (Pointed out by andy@rz.uni-karlsruhe.de and others).
+ Remove some suspicious and useless lines.
- * gtk/gtktext.c (new_text_property): We free things from
- the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.
+Tue May 4 08:44:08 1999 Owen Taylor <otaylor@redhat.com>
- * Fix up line start cache when splitting a property
- during an insert.
+ * gtk/gtkclist.c (gtk_clist_draw, draw_rows): Use
+ width,height = 0, 0 to mean - here to edge of window,
+ instead of -1, -1, since the former is all we support.
-Wed Jul 15 21:15:52 1998 Owen Taylor <otaylor@redhat.com>
+Tue May 4 08:34:43 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.c: restauration => restoration
+ * gtk/gtkmain.c (gtk_main): Correctly free list nodes
+ when removing from quit_functions list.
-Thu Jul 16 20:11:36 1998 Owen Taylor <otaylor@redhat.com>
+Tue Apr 27 14:17:16 1999 Tim Janik <timj@gtk.org>
- * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
- hasn't been created yet, don't do the lookup.
+ * gtk/gtkpacker.c (gtk_packer_size_request): remove unused variable.
-1998-07-20 Raph Levien <raph@acm.org>
+Tue Apr 27 18:23:35 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkrgb.c: More cleanups in the config process.
+ * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
+ When redrawing characters on non-visible entry, use appropriate
+ '*' character. (Bug #1130 - Jean-Marc Jacquet <jm@littleigloo.org>)
-1998-07-20 Raph Levien <raph@acm.org>
+Tue Apr 27 01:31:40 1999 Lars Hamann <lars@gtk.org>
- * gdkrgb.c: Fixed minor config bug preventing big-endian
- architectures from working.
+ * gtk/gtkclist.c (drag_dest_cell): compute destination cell
+ from drag coordinates.
+ (gtk_clist_drag_data_received) (gtk_clist_drag_motion):
+ use drag_dest_cell.
-Tue Jul 21 06:32:43 1998 Stefan Jeske <stefan@gtk.org>
+ * gtk/gtktree (drag_dest_cell)
+ (gtk_ctree_drag_data_received) (gtk_ctree_drag_motion): likewise.
+ (Bug #1129)
- * gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
- activity indicator. It is settable now as a fraction of the
- total width/height using gtk_progress_bar_set_activity_blocks.
- Renamed gtk_progress_bar_set_number_of_blocks to
- gtk_progress_bar_set_discrete_blocks.
+Wed Apr 21 21:26:11 1999 Tim Janik <timj@gtk.org>
-Mon Jul 20 21:28:18 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkitemfactory.c (gtk_item_factory_init): properly initialize
+ translate_* fields.
+ (gtk_item_factory_finalize): invoke translate_notify independant from
+ translate_data.
+ (gtk_item_factory_set_translate_func): likewise.
+ (gtk_item_factory_destroy): only remove ifactory pointer from those
+ widgets that belong to us (stupid me).
- * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
- (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
- tree to specified depth
- (gtk_ctree_expand_to_depth): expand tree to specified depth
- (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth
+Mon Apr 19 12:05:31 1999 Owen Taylor <otaylor@redhat.com>
-Sun Jul 19 23:51:05 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkrc.c (gtk_rc_style_init): Fixed leak of
+ rc_style list when lookup succeeeds.
- * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
- of GTK_CLIST_ADD_MOD
- * gtk/testgtk.c (add1000_clist): changed pixmap
+Thu Apr 15 01:11:24 1999 Lars Hamann <lars@gtk.org>
-Sat Jul 18 22:59:04 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkctree.c (resync_selection):
+ * gtk/gtkclist.c (resync_selection): fixed undo_selection bug.
+ * gtk/gtkclist.c (gtk_clist_button_release): fixed resync_selection
+ bug.
- * gtk/gtkmain.h:
- * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.
+Fri Apr 9 19:22:19 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypeutils.h:
- * gtk/gtkitemfactory.h: remove "void" from prototypes again.
+ * gtk/gtkcolorsel.c gtk/gtkdnd.c gtk/gtkmenuitem.c:
+ Add some missing GDK_THREADS_ENTER()/LEAVE around
+ timeouts. (Patches from Sebastian Wilhelmi <wilhelmi@ira.uka.de>)
-Sat Jul 18 00:54:01 1998 Lars Hamann <lars@gtk.org>
+Thu Apr 8 20:10:33 1999 Tim Janik <timj@gtk.org>
- * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
- CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
- (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
- CHILD_ARG_POSITION
- (gtk_notebook_reorder_child): new funktion to change position of a
- notebook page
- (gtk_notebook_draw_arrow): draw left/right arrow with
- GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.
+ * gtk/gtkentry.c (gtk_entry_key_press): use gtk_widget_activate()
+ rather than emit_by_name.
- * gtk/gtkstyle.c (gtk_default_draw_arrow):
- added GTK_SHADOW_ETCHED_IN/OUT
+ * gtk/gtkeditable.c (gtk_editable_insert_text): keep a reference
+ on the widget across multiple signal emissions.
+ (gtk_editable_delete_text): same here.
+ (gtk_editable_class_init): set widget_class->activate_signal after
+ editable_signals[ACTIVATE] has been created.
-Sun Jul 19 12:19:16 1998 Stefan Jeske <stefan@gtk.org>
+Wed Apr 7 22:59:47 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
- gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
- Introduced generic GtkProgress widget. Derived GtkProgressBar from
- GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
+ * gtk/gtkpaned.c (gtk_paned_set_position): Don't clamp
+ position here prematurely -- we might not have the
+ right ->min_position and ->max_position yet.
-Fri Jul 17 23:49:28 PDT 1998 Manish Singh <yosh@gimp.org>
+Tue Apr 6 16:38:51 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypeutils.h
- * gtk/gtkitemfactory.h: explicitly specify void in prototype
+ * gtk/gtkselection.c gdk/gdkselection.c: (gtk_selection_request):
+ Add error traps so if the other end of the connection
+ dies, we survive.
-Fri Jul 17 17:54:02 1998 Lars Hamann <lars@gtk.org>
+ * gtk/gtkselection.c (gtk_selection_notify): Clean
+ up properly when selection property retrieval fails.
+
+ * gtk/gtkselection.c (gtk_selection_request): Correctly
+ reject SelectionRequest notifies where the handler
+ returns no data.
- * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
- of list
+Tue Apr 6 12:24:21 1999 Owen Taylor <otaylor@redhat.com>
-Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkdnd.c (gtk_drag_dest_leave): Only unhighlight
+ when we've previously highlighted.
- * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
- sropped the approach of copying all signal specific data into a
- GtkHandlerInfo structure. we rather keep the signal data on the stack
- in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
- avoids multiple lookups of the signal pointer and works savely together
- with destroy notifiers of handlers.
+ * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Don't
+ emit two "drag_leave" signals for Motif drops.
- * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
- someone destroys the entry on the ::activate signal.
+ * gtk/gtkdnd.c (gtk_drag_source_handle_event): Send
+ back the correct status messages when dropping from
+ Motif onto a proxy window that is rejecting the
+ drop.
-Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
+Sat Mar 27 23:32:13 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
- instead of ypad (typo).
- (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
- border around the allocation).
- (gtk_arrow_init): the static requisition needs to be setup in this
- function rather than gtk_widget_new(), so arrow creation works without
- the gtk_arrow_new() constructing.
- (gtk_arrow_expose): return TRUE, since we actually handled the expose.
+ * gtk/gtkarg.[hc]: added functions from GLE, gtk_arg_reset() to free
+ the value and reset type to GTK_TYPE_INVALID, and gtk_arg_values_equal()
+ to compare two argument values. added gtk_arg_to_valueloc() to set a
+ variable from an arg through its location (pointer).
- * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
- implementation for GtkWidget::size_request, so size requisition for
- simple statically sized widgets like GtkArrow works.
+ * gtk/gtkobject.[hc]: implemented gtk_object_get() in terms of
+ gtk_object_arg_get() and gtk_arg_to_valueloc(), floats are collected
+ as gfloat*, uchars are collected as guchar*, ints are collected as
+ gint*, etc...
-Thu Jul 16 14:16:16 PDT 1998 Manish Singh <yosh@gimp.org>
+Mon Mar 29 17:45:47 1999 Owen Taylor <otaylor@redhat.com>
- * gtk-config.in: minor changes to gtk-config: --cflags doesn't
- prepend -I@libdir@/glib/include anymore, since glib-config handles
- it; --libs strips out redundant -L<path>'s properly (there was
- code in there to do it before, but it didn't work)
+ * gtk/gtkaccelgroup.c gtk/gtkgtkbindings.c:
+ Include <string.h> instead of <strings.h>.
-Thu Jul 16 18:24:41 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtknotebook.h:
- * gtk/gtknotebook.c: signdness corrections all ove the place.
- implementation of object arguments: GtkNotebook::enable_popup,
- GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
- GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
- begun implementation of child args, we have GtkNotebook::tab_label, but
- GtkNotebook::menu_label and GtkNotebook::position still lack the
- implementation.
- (gtk_notebook_remove_page):
- (gtk_notebook_current_page): allow negative indices (-1) as alias for
- the last page.
-
- * gtk/gtkentry.h:
- * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
- arguments GtkEntry::max_length and GtkEntry::visibility.
- (gtk_entry_adjust_scroll): queue a redraw.
-
- * gtk/gtkeditable.h:
- * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
- object arguments GtkEditable::text_position and GtkEditable::editable.
- new (action) signal GtkEditable::set_editable.
- provide a default handler for GtkEditable::changed that queues a redraw.
-
- * gtk/gtktext.h:
- * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
- set_editable.
-
-Thu Jul 16 14:42:11 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
- case of drag_target == NULL
- * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
- Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
- * gtk/gtkfilesel.c (gtk_file_selection_file_button,
- gtk_dir_selection_file_button): fix due to changes in clist's
- select_row signal.
-
-Thu Jul 16 01:27:15 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
- similar to gtk_widget_set_uposition(). that is: -1=unspecified,
- -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
- to be gint16s rather than guint16s, since that's what the code expected
- (for a long time actually).
-
- * gtk/gtkviewport.c:
- added support for object arguments: GtkViewport::shadow_type,
- GtkViewport::vadjustment and GtkViewport::hadjustment.
- (gtk_viewport_add): chain gtk_bin_add.
-
- * gtk/gtkscrolledwindow.c:
- added support for object argument: GtkScrolledWindow::hscrollbar_policy,
- GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
-
- * gtk/gtkadjustment.h:
- * gtk/gtkadjustment.c:
- * gtk/gtkctree.h:
- * gtk/gtkclist.h:
- * gtk/gtkctree.c:
- * gtk/gtkclist.c:
- * gtk/gtkscrolledwindow.h:
- * gtk/gtkscrolledwindow.c:
- * gtk/gtkviewport.h:
- * gtk/gtkviewport.c:
- GtkType and macro fixups.
-
-Thu Jul 16 01:10:02 1998 Lars Hamann <lars@gtk.org>
-
- * gtk/gtkctree.h :
- * gtk/gtkctree.c :
- Added focus handling, horizontal and vertical autoscrolling,
- extended Selection Mode, key bindings
- Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
- Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
- Removed gtk_ctree_clear.
+ * gtk/gtkstyle.c: Fix double include of gtkthemes.h
+ (actually, a lot more duplicate includes occur if
+ you trace through the sequence of #include's)
+ gtk-jbb-990320-0: John Bley, jbb6@acpub.duke.edu
- * gtk/gtkclist.h :
- * gtk/gtkclist.c :
- Added focus handling, horizontal and vertical autoscrolling,
- extended Selection Mode, key bindings
-
-Wed Jul 15 12:39:27 1998 Raph Levien <raph@acm.org>
+Mon Mar 29 17:02:58 1999 Owen Taylor <otaylor@redhat.com>
- * This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1
- source tree. For more information on GdkRgb, please see:
- http://www.levien.com/gdkrgb/
+ Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
+ gtk-a-higuti-990322-[0-3]
- * gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It
- bothers me slightly that the feature is in gdk, and this file is
- in gtk, but it's probably ok.
+ * configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS
+ that was causing -DX_LOCALE not to work.
- * gdk/gdk.h: Added an #include of <gdk/gdkrgb.h>
+ * gtk/gtkrc.c (gtk_rc_init):
+ X_LOCALE will never have LC_MESSAGES defined
- * gdk/gdkrgb.c:
- * gdk/gdkrgb.h: Added this module.
+Thu Mar 25 12:38:31 1999 Tim Janik <timj@gtk.org>
- * Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files.
+ * gtk/gtkrc.c (gtk_rc_append_default_module_path): get $HOME from
+ g_get_home_dir() (gtk-pmc-990123-0.patch.gz).
- * configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb).
+ * gtk/gtkwindow.c (gtk_window_key_press_event): feature keypad up/down/
+ left/right as well (gtk-michael-980726-0.patch.gz).
-Wed Jul 15 14:20:10 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtklabel.[hc]: bunch of miscellaneous cleanups, such as s/0/NULL/
+ for pointer values, use gchar instead of char. fixed uline allocation
+ leaks, changed the allocation pattern so we use G_ALLOC_AND_FREE mem
+ chunks instead of G_ALLOC_ONLY.
+ (gtk_label_size_request): always alter requisition as passed and leave
+ widget->requisition alone.
+ (gtk_label_set_text): allow NULL strings.
+ (gtk_label_new): likewise.
- * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
- to this function. it needs to relookup the signal multiple times.
- this fixes spurious segfaults that could show up with signal intensive
- code, when classes are created during a pending emission (which is
- normal case).
+Wed Mar 24 09:24:03 1999 Tim Janik <timj@gtk.org>
-Tue Jul 14 19:12:12 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkdrawingarea.[hc]: type/macro fixups.
- * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
- child if it isn't a label.
+Mon Mar 22 05:51:34 1999 Tim Janik <timj@gtk.org>
-Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkbin.c (gtk_bin_draw): only redraw children that are visible
+ *and* mapped (i.e. drawable).
+ (gtk_bin_expose): only send exposes to drawable children.
- * gtk/gtkdialog.h:
- * gtk/gtkseparator.h:
- * gtk/gtkhseparator.h:
- * gtk/gtkvseparator.h: macro and GtkType fixups.
+ * gtk/gtkbox.c (gtk_box_draw): only redraw children that are drawable.
+ (gtk_box_expose): only send exposes to drawable children.
-Tue Jul 14 06:25:46 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkhscale.c (gtk_hscale_draw):
+ * gtk/gtkvscale.c (gtk_vscale_draw):
+ hm, this is an ugly one. we first compute the size of our trough area
+ here (window relative) and then check intersection with the draw_area
+ which is parent relative because we're a NO_WINDOW widget, so we need
+ to offset the trough area by allocation.x and allocation.y before the
+ check. (this must not be done for the background area though, since
+ that's already computed parent relative).
- * gtk/testgtk.c (create_cursors): display the current cursor name.
+Mon Mar 22 00:41:39 1999 Lars Hamann <lars@gtk.org>
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
- the fundamental type definition. the GtkArg union now only covers
- the required storage types for argument values. adapted the GTK_VALUE_*
- macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.
+ * gtk/gtkclist.c (gtk_clist_unrealize): unmap clist if neccessary,
+ unrealize title buttons.
- * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
- code, fixed int/float collection. fixed a bug in the sanity checking
- code for GtkObjects.
+Fri Mar 19 00:00:22 1999 Lars Hamann <lars@gtk.org>
- * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
- argument collection code.
+ * gtk/gtkclist.c (gtk_clist_column_title_passive)
+ (gtk_clist_column_title_active):
+ only connect/disconnect to GtkWidgetClass::event to block mouse events.
- * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
- macros when distinguishing the return type.
+ * gtk/gtkclist.c (vertical_timeout) (horizontal_timeout):
+ zero initialize event, removed superfluous gdk_window_get_pointer call
-Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
+ * gtk/gtklist.c (gtk_list_vertical_timeout)
+ (gtk_list_horizontal_timeout): removed superfluous
+ gdk_window_get_pointer call
- * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
- is not NULL before trying to g_list_remove the child. A patch
- from Michael Lausch.
+Wed Mar 17 09:00:00 1999 Tim Janik <timj@gtk.org>
-Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
+ * plugging problems reported by "Bruce Mitchener, Jr."
+ <bruce@puremagic.com> due to a purify session.
- * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
- collection (always casted to doubles upon argument passing).
+ * gtk/gtkstyle.c:
+ (gtk_style_ref):
+ (gtk_style_unref): assert ref_count to be > 0.
-Sun Jul 12 05:59:26 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkclist.c (gtk_clist_set_cell_style): { 0 } initilaize
+ the requisition.
+ (gtk_clist_set_shift): likewise.
- * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
- object_init_func for derived objects with the object's ->klass field
- still pointing to the corresponding base class, otherwise overridden
- class functions could get called with partly-initialized objects.
- (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
+ * gtk/gtklayout.c: introduce gtk_layout_finalize() to unref the
+ adjustments.
-Sun Jul 12 02:47:35 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtklist.c (gtk_list_horizontal_timeout): zero initialize the
+ event before sending it and set send_event to TRUE (which needs to
+ be done for *all* synthesized events).
+ (gtk_list_vertical_timeout): likewise.
- * gtk/gtkobject.h:
- * gtk/gtkobject.c:
- (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
+ * gtk/gtktipsquery.c (gtk_tips_query_destroy): plug small memory
+ leaks.
- * gtk/gtkcontainer.h:
- * gtk/gtkcontainer.c:
- (gtk_container_child_arg_get_info): new function which wraps
- gtk_arg_get_info().
-
-Fri Jul 10 13:29:53 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkcontainer.c:
- (gtk_container_arg_get):
- (gtk_container_arg_set):
- * gtk/gtkobject.c:
- (gtk_object_arg_set):
- (gtk_object_arg_get):
- strictly check for the associated get/set arg functions. if an
- arg is readable or writable, the associated class functions *must*
- be provided.
+ * gtk/gtkdrawingarea.c (gtk_drawing_area_send_configure): set send_event
+ to TRUE when synthesizing events.
-Fri Jul 10 09:37:50 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
- padding into account if there is an accelerator.
+[ *** end of merges from 1.2 *** ]
+
+1999-11-21 Tor Lillqvist <tml@iki.fi>
-Fri Jul 10 05:51:44 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkconfig.h: Remove, as this is a file generated by configure
+ (or copied from gdkconfig.h.win32 on Win32, sigh).
- * gtk/gtkcontainer.c:
- (gtk_container_add_with_args): collect the arguments with
- gtk_container_child_args_collect, not through gtk_object_args_collect.
- (gtk_container_child_set): likewise.
-
-Fri Jul 10 04:20:35 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
- which is derived from GTK_TYPE_STRING.
-
- * gtk/gtkbindings.c: reworked the argument type handling.
-
-Thu Jul 9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
- so that it seems to allow normal operation in those modes,
- although you will only see black (GIMP toolbar now pops up,
- just don't create a new image and GIMP now works in 4 bit.)
-
-Thu Jul 9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * gdk/gdkvisuals.c: 4 bit support, increased available_depths
- array, which was too low (?)
-
-Fri Jul 10 00:02:04 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkcontainer.h:
- * gtk/gtkcontainer.c: deleted most of the argument handling code, since
- that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
- we now export a new function gtk_container_child_args_collect().
- for consistency with the object arguments, a few functions got renamed:
- gtk_container_child_arg_get -> gtk_container_child_get,
- gtk_container_child_arg_set -> gtk_container_child_set,
- gtk_container_child_arg_getv -> gtk_container_child_getv,
- gtk_container_child_arg_setv -> gtk_container_child_setv,
- gtk_container_add_with_argv -> gtk_container_addv.
- note, gtk_container_add_with_args() remained, because its equivalent
- would be gtk_container_add(,, ...) which would break all existing code.
- (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
- we expect the `arg_name' argument to be a const static string now.
- (gtk_container_get_child_arg_type): function removed.
-
-Thu Jul 9 07:03:04 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
- this is a static inline function that collects command line arguments
- from a va_list. this file can just be included in all places that
- need this functionality.
-
- * gtk/gtkarg.h:
- * gtk/gtkarg.c: new files which implement most of the argument
- handling stuff from gtkobject.c. also collected a few more
- gtk_arg_* utility functions from else places.
-
- * gtk/gtkobject.h:
- * gtk/gtkobject.c: moved most of the argument handling code into
- gtkarg.c. we now export gtk_object_args_collect() as a non-public
- method with a blind va_list pointer.
- (gtk_object_add_arg_type): the `arg_name' argument is required to be a
- const static string now.
- (gtk_object_get_arg_type): function got removed.
-
- * gtk/gtkwidget.c:
- (gtk_widget_set):
- (gtk_widget_new): adaptions for gtk_object_args_collect().
-
- * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
- fundamental type name so as to have a valid prefix, e.g. "bool"->
- "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
- though that should probably be something like GtkNone since the
- type itself is called GTK_TYPE_NONE.
- even the internal type names need to avoid name clashes and must live
- in their own namespace, several code portions rely on that.
- we should relly have typedefs such as typedef gchar* GtkString; so the
- fundamental type names can be used for code dumpers just like with all
- the Gtk/Gdk types.
-
-Wed Jul 8 15:31:28 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
- keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
- to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
- (GTK_RELIEF_HALF).
- (gtk_button_paint): set the background for prelighted buttons with
- GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
- (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
- the shadow type (otherwise we get strange shadows for coloured buttons).
- (gtk_button_set_relief): queue a redraw after changing
- the relief.
- (gtk_button_class_init):
- (gtk_button_set_arg):
- (gtk_button_get_arg): added object argument "GtkButton::relief".
-
- * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
-
-Mon Jul 6 18:30:48 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkbutton.h:
- * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
- GTK_BIN (button)->child to button->child to keep source compatibility.
-
- * gtk/gtkoptionmenu.c:
- * gtk/gtkclist.c:
- * gtkcheckbutton.c: don't refer to button->child, but
- GTK_BIN (button)->child instead.
+ * gdk/gdkprivate.h: Mark gdk_parent_root for export from DLL.
-Mon Jul 6 12:06:23 BST 1998 Tony Gale <gale@gtk.org>
+ * gdk/gdk.c (gdk_keyval_convert_case): Fix typo.
- * docs/gtkfaq.sgml: update anon CVS info
+ * gdk/gdkgc.c (gdk_gc_alloc): Remove duplicated line.
-Sat Jul 4 13:16:24 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkconfig.h.win32: New file.
- * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
- functions.
+ * gdk/win32/makefile.cygwin: Build just a static archive here.
- * gdk/gdkwindow.c:
- * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
- to XFree() calls.
+ * gdk/makefile.cygwin: New file. Get the win32-specific stuff
+ for the DLL from the static archive built above.
-1998-07-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gdk/gdk.def: Moved here from the win32 subdirectory.
- * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
- I seem to have erroneously added it to gtkfeatures.h (not .h.in).
+ * gdk/win32/*: Adapt for the changed private struct organisation.
-Fri Jul 3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/makefile.{cygwin,msc}: Get gdk library from ../gdk now.
- * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
+Sun Nov 21 16:44:35 1999 Stefan Jeske <stefan@gtk.org>
-Wed Jul 1 20:58:46 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkspinbutton.c (gtk_spin_button_button_press): Added support
+ for wheel mice (buttons 4 and 5).
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
+1999-11-18 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
- error that prevented signal to entry addition for signals with
- parameters.
+ * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Also for truecolor
+ drawables use just the pixel field in the foreground and
+ background GdkColor of the GdkGC.
-Wed Jul 1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
+ gdk_gc_set_{fore,back}ground() are called in the GIMP with
+ GdkColors containing uninitialized (red,green,blue) fields, and
+ just the pixel field filled in, and furthermore in the
+ visual-dependent format as returned by gdk_rgb_xpixel_from_rgb().
+ It thus turns out that we really don't need to have the full
+ GdkColor for fg and bg in GdkGCWin32Data after all. Will change
+ it later to have just the pixel values.
- * ltconfig: fix for properly detecting shared lib support on
- SunPro cc (taken from libtool 1.2.a)
+Mon Nov 15 17:17:51 GMT 1999 Tony Gale <gale@gtk.org>
-Wed Jul 1 03:33:30 1998 Tim Janik <timj@gtk.org>
+ * docs/gtkfaq.sgml: s/gtk_main_iteration/g_main_iteration/
- * gtk/gtkrc.c: implementation of the "class" keyword for styles.
+Sat Nov 13 22:30:29 GMT 1999 Tony Gale <gale@gtk.org>
-Tue Jun 30 14:30:37 1998 Tim Janik <timj@gtk.org>
+ * docs/gtkfaq.sgml: threads example from Erik Mouw.
+ New question on GtkLabel background colors.
- * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
- rc set pattern is favoured, this is needed for overriding of style
- patterns with subsequently parsed rc files.
+ * docs/gtk_tut.sgml:
+ - Correct the example code callback
+ function definitions.
+ - Update the gtkdial example code, from Frans van Schaik.
+ - Update setselection.c to current API.
-Tue Jun 30 12:45:19 1998 Tim Janik <timj@gtk.org>
+ * examples/Makefile examples/*/*.c: Update to code
+ listed in tutorial.
- * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
- error messages.
+1999-11-10 Tor Lillqvist <tml@iki.fi>
-Tue Jun 30 09:24:40 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkfont-win32.c: Fix a couple of bugs. The Unicode
+ subrange table (from the "Developing International Software for
+ WIndows 95 and Windows NT" book) was missing the Hangul syllable
+ block... Get the loaded font's charset correctly.
- * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
- modifier as well.
- (gtk_accelerator_name): add "<Release>" to the accelerator name if
- neccessary.
+ (Note that this, and the other *-win32.c files, still really are
+ the old ones, the win32 subdirectory is not ready for compilation
+ yet after the reorg.)
- * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
- account.
+Wed Nov 10 17:26:49 GMT 1999 Tony Gale <gale@gtk.org>
- * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
- default handler for key-release events, which checks for activation
- of GDK_RELEASE_MASK key bindings.
+ * gtk/gtkclist.c: Fix off-by-one bug in parameter
+ check.
- * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
+Wed Nov 10 12:12:03 1999 Owen Taylor <otaylor@redhat.com>
-Mon Jun 29 13:39:45 1998 Tim Janik <timj@gtk.org>
+ * gdk/x11/gdkinput-{x11,xfree}.c: Call XFreeDeviceState()
+ on results of XQueryDeviceState().
- * gtk/gtkarrow.h: GtkType and macro fixups.
- * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
- "GtkArrow::shadow_type".
+Mon Nov 8 16:40:43 1999 Owen Taylor <otaylor@redhat.com>
-Sun Jun 28 11:39:17 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since
+ we need to accesss only ->children. We need an accessor
+ for the children.
- * gtk/gtkalignment.h:
- * gtk/gtkbin.h: GtkType and macro fixups.
+ * gtk/gtkhandlebox.c gtk/testgtk.c: Substitute G
+ DK_ROOT_PARENT() => NULL, in call to gtk_window_get_pointer()
+ to get rid of gdkx.h include.
- * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
- implementation: GtkAlignment::xalign, GtkAlignment::yalign,
- GtkAlignment::xscale, GtkAlignment::yscale.
-
-Sun Jun 28 04:29:10 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
- fucntions from all parent types upon class initialization.
-
- * gtk/gtkcontainer.c:
- (gtk_container_get_type): announce gtk_container_base_class_init to
- the type system.
- (gtk_container_base_class_init): new function to feature base class
- initialization.
- (gtk_container_get_child_arg):
- (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
- and set_child_arg methods of the class indicated through the argument
- name.
-
- * gtk/gtkobject.c:
- (gtk_object_base_class_init): new function to feature base class
- initialization.
- (gtk_object_init_type): announce gtk_object_base_class_init to the type
- system.
- (gtk_object_class_init): setup the get_arg and set_arg pointers for
- GtkObjectClass.
- (gtk_object_setv):
- (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
- instead of bothering the type system with this.
-
- * gtk/gtkaccellabel.c:
- * gtk/gtkbutton.c:
- * gtk/gtkradiobutton.c:
- * gtk/gtktable.c:
- * gtk/gtktogglebutton.c:
- * gtk/gtktipsquery.c:
- * gtk/gtkbox.c:
- * gtk/gtkpacker.c:
- * gtk/gtkwidget.c:
- * gtk/gtkwindow.c:
- * gtk/gtkframe.c:
- * gtk/gtkmisc.c:
- * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
- corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
- functions wrt GtkTypeInfo initialization. changed a lot of the set/get
- arg functions to take a GtkObject argument.
-
- gtk/gtkadjustment.c:
- gtk/gtkalignment.c:
- gtk/gtkarrow.c:
- gtk/gtkaspectframe.c:
- gtk/gtkbbox.c:
- gtk/gtkbin.c:
- gtk/gtkcheckbutton.c:
- gtk/gtkcheckmenuitem.c:
- gtk/gtkclist.c:
- gtk/gtkcolorsel.c:
- gtk/gtkcombo.c:
- gtk/gtkctree.c:
- gtk/gtkcurve.c:
- gtk/gtkdata.c:
- gtk/gtkdialog.c:
- gtk/gtkdrawingarea.c:
- gtk/gtkeditable.c:
- gtk/gtkentry.c:
- gtk/gtkeventbox.c:
- gtk/gtkfilesel.c:
- gtk/gtkfixed.c:
- gtk/gtkfontsel.c:
- gtk/gtkgamma.c:
- gtk/gtkhandlebox.c:
- gtk/gtkhbbox.c:
- gtk/gtkhbox.c:
- gtk/gtkhpaned.c:
- gtk/gtkhruler.c:
- gtk/gtkhscale.c:
- gtk/gtkhscrollbar.c:
- gtk/gtkhseparator.c:
- gtk/gtkimage.c:
- gtk/gtkinputdialog.c:
- gtk/gtkitem.c:
- gtk/gtkitemfactory.c:
- gtk/gtklist.c:
- gtk/gtklistitem.c:
- gtk/gtkmenu.c:
- gtk/gtkmenubar.c:
- gtk/gtkmenuitem.c:
- gtk/gtkmenushell.c:
- gtk/gtknotebook.c:
- gtk/gtkoptionmenu.c:
- gtk/gtkpaned.c:
- gtk/gtkpixmap.c:
- gtk/gtkpreview.c:
- gtk/gtkprogressbar.c:
- gtk/gtkradiomenuitem.c:
- gtk/gtkrange.c:
- gtk/gtkruler.c:
- gtk/gtkscale.c:
- gtk/gtkscrollbar.c:
- gtk/gtkscrolledwindow.c:
- gtk/gtkseparator.c:
- gtk/gtkspinbutton.c:
- gtk/gtkstatusbar.c:
- gtk/gtktext.c:
- gtk/gtktoolbar.c:
- gtk/gtktooltips.c:
- gtk/gtktree.c:
- gtk/gtktreeitem.c:
- gtk/gtkvbbox.c:
- gtk/gtkvbox.c:
- gtk/gtkviewport.c:
- gtk/gtkvpaned.c:
- gtk/gtkvruler.c:
- gtk/gtkvscale.c:
- gtk/gtkvscrollbar.c:
- gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
- match the modified GtkTypeInfo structure.
-
-Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/testgtk.c: use rand() instead of random() for portability
-
-Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkctree.c: Get rid of #include <gdk/gdkx.h>
+ and random references to 'None'.
- * configure.in
- * acconfig.h
- * gdk/gdk.c: use native Xlib XConvertCase if it's available
+ * gtk/gtkclist.c gtk/gtkeditable.c gtk/gtkpreview.c
+ Get rid of unused #include <gdk/gdkx.h>
-Sat Jun 27 15:44:46 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkrc.c gtk/gtkmain.c: Get rid of #include <gdk/gdkx.h>
+ gdkx.h is _X_ specific stuff. GDK_WINDOWING comes from
+ gdkconfig.h.
- * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
- XConvertCase() functionality from X11R6 on X11R5 systems.
+1999-11-08 Tor Lillqvist <tml@iki.fi>
-Thu Jun 25 10:50:34 1998 Stefan Jeske <stefan@gtk.org>
+ * gdk/win32/gdkdraw.c
+ * gdk/win32/gdkfont.c
+ * gdk/win32/gdkgc.c: Various minor cleanups and bugfixes
+ following yesterday's changes. (Unrelated to Owen's reorg.)
- * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
- gdk_string_height, gdk_char_height to retrieve the exact
- height of a text.
+Mon Nov 8 16:18:25 1999 Owen Taylor <otaylor@redhat.com>
-Thu Jun 25 07:53:51 BST 1998 Tony Gale <gale@gtk.org>
+ * gdk/x11/gdkinput-gxi.c: Add missing include,
+ fix GdkWindowPrivate => GdkDrawablePrivate.
- * docs/gtk_tut.sgml: add section on GtkCList widget, contributed
- by Stefan Mars <mars@lysator.liu.se>
- * examples/clist/clist.c examples/clist/Makefile: example code
- for GtkCList widget from the Tutorial
+ * gdk/x11/gdkinputprivate.h: include <X11/Xlib.h>.
-Wed Jun 24 16:38:02 1998 Tim Janik <timj@gtk.org>
+ * gdk/x11/Makefile.am (xinput_sources): Add missing
+ backslash to fix building with --with-xinput=none
- * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
- if the container is not visible, we might be a toplevel! this holds
- for all other base container implementations as well, that are
- candidates to derive toplevels from. in general the resizing code will
- care about visibility itself.
- * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
- * gtk/gtkbox.c (gtk_box_remove): likewise.
+Mon Nov 8 14:47:04 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
- gtk_window_set_hints(), since we haven't calculated the new position
- yet.
+ Move all X specific code into the x11/ directory.
+ Aside from shuffling things around, did the following:
- * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
- *mask are alway initialized in a sane way, regardless of the return
- value.
+ * gdk/gdkprivate.h gdk/gdk.h gdk/x11/gdkmain-x11.h: Add
+ gdk_arg_context_* - a simple argument parsing system
+ in the style of popt.
-Wed Jun 24 14:14:32 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkdrawable.[ch] gdk/gdkprivate.h gdk/gdkwindow.[ch]
+ gdk/x11/gdkprivate-x11.h:
+ Remove X specific stuff from GdkDrawable and GdkWindowPrivate -
+ add ->klass and ->klass_data fields. The klass_data
+ field points to an auxilliary structure that is
+ windowing system dependent.
- * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
- to gtk_container_child_arg_setv, but takes a variable argument list.
- new function gtk_container_get_child_arg_type, which is needed by
- gtk_object_collect_args.
+ * gdk/gdkfont.c: Make most of the measurement functions
+ simply wrappers around gdk_text_extents().
- * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
- take a function pointer to figure the argument type.
- adapted callers to pass gtk_object_get_arg_type.
- * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
- gtk_object_get_arg_type..
+ * gdk/gdkfont.c gdk/gdkprivate.h gdk/x11/gdkfont-x11.c: Add a
+ _gdk_font_strlen() function that hides the weird
+ behavior in gtk+-1.[02] where a string is interpreted
+ differently for 8-bit and 16-bit fonts.
- * gtk/gtkpacker.h:
- * gtk/gtkpacker.c:
- (gtk_packer_reorder_child): new function to change the packing order
- of a child.
- (gtk_packer_size_request):
- (gtk_packer_size_allocate): take container->border_width into acount.
+ * gdk/gdkevents.c: Add a new function gdk_event_button_generate()
+ to store common code for synthesizing double/triple
+ press events.
+
+ * gdk/gdkgc.[ch]: Virtualize in the same way as gdkdrawable.h.
+ Make all the function that modify an existing GC
+ simply wrappers around gdk_gc_set_values().
+
+ * gdk/gdkcc.[ch]: Moved into x11/ directory in preparation
+ for throwing out later.
+
+ * gdk/gdkfont.c gdk/gdkimage.c gdk/gdkcolor.c: Change GdkFontPrivate,
+ GdkImagePrivate and GdkColormapPrivate to have a
+ windowing system dependent part (GdkFontPrivateX etc.)
+ that "derives" from the system-independent part.
+
+ * configure.in gdk/x11/Makefile.in gdk/x11/gdkinput*.c:
+ Got rid of the included-source-files for XInput in
+ favor of automake conditionals. (Which didn't exist
+ when XInput support was originally added.)
+
+ * gdk/gdkrgb.c: Remove the visual id from the debugging
+ statements since that is X11 specific; print out
+ type/depth info instead.
+
- * gtk/gtkpacker.c: implemented widget arguments:
- "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
- "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
- implemented child arguments:
- "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
- "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
- "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
- "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
+Wed Nov 3 18:14:49 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
- not the alignment.
+ * gdk/x11/gdkfont-x11.c (gdk_font_load): Ref fonts when
+ loading duplicates of hashed fonts.
- * gtk/gtkeventbox.h:
- * gtk/gtkeventbox.c: GtkType and macro fixups.
+ * gdk/gdk.c (gdk_keysym_convert_case): rename
+ gdk_XConvertCase to gdk_keysym_convert_case, allow
+ results to be NULL in the GTK+ style.
- * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
- sensitivity of an entry.
+ * gdk/gdkcompat.h: Started compatibility header
+ for renames.
- * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
- for insensitive base and text.
+1999-11-07 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
- widget state dependent.
- (gtk_entry_style_set): likewise.
- (gtk_entry_state_changed): set background color on state changes.
- (gtk_entry_draw_text): for non selected text, use state dependent
- colors.
+ * gdk/win32/gdkprivate.h: New font private structures, related to
+ fontsets.
- * gtk/gtktogglebutton.c: support for widget arguments
- "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
+ * gdk/win32/gdkfont.c: New functions gdk_font_list_new() and
+ gdk_font_list_free(). On X11, will just be wrappers to
+ XListFonts() and XFreeFontNames(). On Win32, the code previously
+ in gtkfontsel.c is now here.
-Wed Jun 24 08:35:45 1998 Stefan Jeske <stefan@gtk.org>
+ New function gdk_font_xlfd_create(). On X11 will get the FONT
+ property of the font (for GDK_FONT_FONTs), or call
+ XBaseFontNameListOfFontSet (for GDK_FONT_FONTSETs), on Win32
+ builds a XLFD style name from the font information in the LOGFONT
+ struct(s).
- * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility
- code for 1.0.x-like parameters. Changed internal interface of
- gtk_spin_button_real_spin. Several fixes to avoid emission of
- "value_changed" where possible.
+ New function gdk_font_xlfd_free(), which correspondingly frees the
+ string returned by gdk_font_xlfd_create().
-Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
+ Implement fontsets on Win32. Add a function that iterates over a
+ wide char string and calls a callback function for each substring
+ of wide chars from the same Unicode subrange (and thus probably
+ available in the same real font).
- * gtk-boxed.defs: s/GkWidget/GtkWidget/
+ Improve the XLFD emulation a bit.
-Wed Jun 24 07:47:29 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkim.c (gdk_nmbstowchar_ts): Small bugfix.
- * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
- to select the resize_mode for the idle-labels container.
+ * gdk/win32/gdkevents.c: Workaround for suspected bug on Win2k
+ Beta3, WM_IME_CHAR messages don't seem to contain the composed
+ multi-byte char as with the Active IMM on Win9x. Oh well, handle
+ WM_IME_COMPOSITION with GCS_RESULTSTR instead, use
+ ImmGetCompositionStringW() to get the composed Unicode chars.
- * gtk/gtkframe.h:
- * gtk/gtkframe.c: GtkType and macro corrections.
+ * gdk/win32/gdkgc.c
+ * gdk/win32/gdkdraw.c: Changes needed because of the font private
+ struct changes.
- * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
- support widget argument "GtkRadioButton::group".
+ * gdk/win32/gdk.def: Add the new functions.
-Tue Jun 23 08:01:09 1998 Tim Janik <timj@gtk.org>
+1999-11-04 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
- unconditionally if resize_mode has changed.
+ * config.h.win32: Don't define HAVE_DIMM_H if MSC, as you have to
+ get the Platform SDK to get <dimm.h>.
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
- GTK_RESIZE_QUEUE on the scrolled window.
- (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
+ * gdk/win32/gdkevents.c: More event handling fixes and
+ simplification. Never generate motion events with is_hint true. We
+ used to do that on bogus grounds earlier. Windows sends
+ WM_MOUSEMOVE messages on button events even if the mouse hasn't
+ moved, ignore these.
-Tue Jun 23 04:20:30 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkfont.c: Load all fonts as (pretended) fontsets.
- * gtk/gtkcontainer.h:
- * gtk/gtkcontainer.c:
- (GTK_IS_RESIZE_CONTAINER): new macro to find out if
- a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
- (gtk_container_queue_resize): new function to queue a container for
- a *size* reallocation (doesn't affect its position, and thus its
- parent is left untouched usually).
- (gtk_container_get_resize_container): new function to retrive the next
- most resize container which is not itself queued for a resize.
- (gtk_container_idle_sizer): new function to carefully process the
- container_resize_queue since it can change during invokation of
- gtk_container_check_resize().
- (gtk_container_resize_children): total rework of this function to
- properly handle resize containers. makes a lot of assumptions whitch
- are stated in the comments.
+ * gdk/win32/gdkglobals.c
+ * gdk/win32/gdkprivate.h: Define a typedef for the pointer to
+ the TrackMouseEvent function, and use it.
- * gtk/gtkcontainer.c:
- (gtk_container_real_check_resize): only requeue ourselves if we are not
- a resize container.
- (gtk_container_clear_resize_widgets): care for automatic deletion of our
- resize_widgets list on size_allocate through a handler connection.
+ * gdk/win32/gdkwindow.c: Terminate widechar string with a zero
+ char before calling WideCharToMultiByte in order to get a string
+ for the window title.
- * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
- focus and default widget of a window, so to take the burden from
- gtk_widget_unparent.
+ * gdk/win32/gdkdnd.c: Some more random hacking, ifdeffed out.
- * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
- to be clever, but actually messed up the resize_children logic and
- caused unneccessary allocations on its whole branch. besides this,
- it messed up the display by not invoking a redraw after the allocation.
+ * gdk/win32/gdk.def: Remove obsolete functions.
- * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
- that it is the child again that is queued for a resize.
- (gtk_table_attach): likewise.
- (gtk_table_remove): likewise.
+ * gdk/win32/makefile.{cygwin,msc}: Remove gdkcompat.{o,obj}. Add
+ /nodefaultlib and /defaultlib switches.
-1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
+ * gtk/gtkrc.c: s/gwin_getlocale/g_win32_getlocale/.
- * gtk/gtkentry.h, gtk/gtkentry.c: Export the
- gtk_entry_adjust_scroll. Required if you change the cursor
- position and want to sync it up with your code (Midnight Commander
- gtk front end needs this).
+1999-10-31 Tor Lillqvist <tml@iki.fi>
- * gtk/gtktable.c: Deal with tables that have size 0, 0.
+ * gdk/gdkkeysyms.h: Add new keysyms from X11R6.4 (including
+ EuroSign).
-Tue Jun 23 12:12:19 BST 1998 Tony Gale <gale@gtk.org>
+ * gdk/gdktypes.h: Add note about wchar_t not necessarily being the
+ same type as GdkWChar, especially on Win32.
- * examples/README.1ST: new file to explain how the
- code examples should be extracted from the tutorial.
+ * gdk/win32/*.c: Change gdk_root_parent to be a pointer.
-Mon Jun 22 18:43:11 1998 Lars Hamann <lars@gtk.org>
+ * gdk/win32/*.c: Assume all strings are UTF-8. Convert to Unicode
+ before passing to Windows GDI for drawing etc. Convert to the
+ system default codepage before passing to Windows as window
+ titles.
- * gtk/gtkctree.c (draw_row): added new "line style"
- GTK_CTREE_LINES_TABBED
- * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
- search the glist pointer of an GtkCTreeRow
+ * gdk/win32/gdkprivate.h: Add more fields to GdkWindowPrivate to
+ support changing input locale on the fly.
-1998-06-21 Raja R Harinath <harinath@cs.umn.edu>
-
- * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
- from, and clean up, the dependencies. Generate to intermediate
- files to prevent problems with Ctrl-C.
-
- * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
-
-Fri Jun 19 14:46:56 1998 Stefan Jeske <stefan@gtk.org>
-
- * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
- - Bug fix for precision problem causing occasional double emission
- of "value_changed" signal (hopefully works now).
- - API change (should be binary compatible) :
- new enum GtkSpinType; modified gtk_spin_button_spin to use it.
- Modified cursor example appropriately.
- To spin by something other than step_/page_increment, use
- gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
- - Made GTK_SHADOW_NONE the default. ;)
- - Fixed casting of GtkAdjustment* to GtkWidget* in
- gtk_spin_button_value_changed.
-
-Fri Jun 19 06:18:19 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
- for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
- resize widget list before queuing the container for a new reize.
- (gtk_container_need_resize): changed return value to FALSE, since this
- used to indicate that no further resizes are needed.
- (gtk_container_set_arg):
- (gtk_container_get_arg):
- (gtk_container_class_init): implemented GtkContainer::resize_mode
- argument.
-
- (gtk_container_resize_children): when we walk up the tree of a resize
- widget we need to stop if we are the current parent.
-
- * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
- GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
- (gtk_widget_hide_all): retrive the toplevel widget from via
- gtk_widget_get_resize_container().
-
-Thu Jun 18 23:08:36 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtklist.c (gtk_list_button_press): Only respond
- to selection with button 1. This allows context-sensitive
- menus to work correctly.
-
-Fri Jun 19 03:29:04 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkaccelgroup.c:
- * gtk/gtkbindings.c:
- * gtk/gtkcontainer.c:
- * gtk/gtkitemfactory.c:
- * gtk/gtkobject.c:
- * gtk/gtksignal.c:
- * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
- g_quark_from_static_string calls to save memory.
+ * gdk/win32/gdkevent.c: Support input language (keyboard locale)
+ on-the-fly changes. Convert incoming characters from the current
+ codepage to Unicode (and then to a UTF-8 multi-byte string) based
+ on the current input language. Use keysym<->Unicode mapping tables
+ and functions borrowed from xterm sources.
- * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
- function _after_ the new data has been setup.
- minor changes to object data functions to feature the GQuark type.
+ Support IMEs (Input Method Editors) for CJK languages. On non-CJK
+ editions of Win9x, use the ActiveX-based Active IMM (Input Method
+ Manager) if available. IMEs and the Active IMM are available under
+ the disguise of Chinese, Korean and Japanese support for IE and
+ Outlook Express from "Windows Update" for Win98. On Win2k, the CJK
+ support is present in all editions (as long as you install it).
-Thu Jun 18 21:13:54 1998 Owen Taylor <otaylor@gtk.org>
+ Call DispatchMessage from gdk_events_queue() (and thus
+ gdk_WindowProc()), instead of duplicating the code in
+ gdk_WindowProc().
- * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
- from argv.
+ Reworked the grab handling and propagation code, factored out
+ duplicated code snippets into separate functions. Other cleanups,
+ too.
-Thu Jun 18 20:22:28 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/surrogate-dimm.h: Provide just the bits we need from
+ the <dimm.h> header describing the Active IMM.
- * gtk/genmarshal.pl: Modified to be more idiomatic Perl,
- to be more readable perl, to spit out stuff that looks
- more like readable C, and to pipe output through indent
- so output looks a lot like readable C. No functional
- changes.
+ * gdk/win32/gdkfont.c: Pretend to support fontsets, but so far
+ just do the same as for "single" fonts.
-Thu Jun 18 17:43:31 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdk.c: Call CoInitialize() (COM initialisation) from
+ gdk_init_check, and CoUninitialize() from gdk_exit_func. Handle
+ the new keysyms from gdkkeysyms.h.
- * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
- necessary when switching to a masked pixmap. (Based on a patch
- from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
+ * gtk/gtkfontsel.c (Win32): Load the font for the preview as a
+ fontset, so that gtkentry uses wide characters.
-Thu Jun 18 16:18:10 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtkrc.c (Win32): Get the locale with gwin_getlocale(). Call
+ GTk+'s system directory "gtk+", not "gtk".
- * gtk/gtkeditable.[ch]: Added action signals for keyboard
- bindings. (move_cursor, kill_word, etc, etc, etc).
+Sat Oct 30 13:17:18 BST 1999 Tony Gale <gale@gtk.org>
- removed the time argument from
- gtk_editable_cut/copy/paste_clipboard (source but not
- binary incompatible...) Instead get time from
- gtk_get_current_event ().
-
- * gtk/gtktext.c gtk/gtkentry.c: Support the new editable
- signals.
+ * docs/gtkfaq.sgml: FAQ update
-Thu Jun 18 02:52:09 1998 Owen Taylor <otaylor@gtk.org>
+1999-10-21 Tor Lillqvist <tml@iki.fi>
- Patches from Damon Chaplin <DAChaplin@email.msn.com>:
+ * gdk/win32/gdkprivate.h: Add more font private data.
- gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
- parent class to GtkNotebookClass when splitting the widget in
- two. Also updated some comments.
+ * gdk/win32/gdkfont.c
+ * gdk/win32/gdkdraw.c: Revamped handling of multi-byte charset
+ fonts and strings. Now works much better. You still have to
+ have a correct font selected, though. No fontset emulation yet.
- gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
- button without a font selected.
+1999-10-19 Tor Lillqvist <tml@iki.fi>
- Fixed bug in set_font_name - I hadn't updated the code to
- search for the style in the font_style clist - it was
- still assuming the style row was equal to its index,
- but it isn't any more.
-
- Changed 'Reset' button on filter page to 'Clear Filter'.
- Deleted old code relating to the old 'Filter Fonts' toggle
- Updated some comments.
- Cleared 'Actual Fontname' if no font is set.
+ * gtk/maketypes.awk: Use G_OS_WIN32.
- gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
- destroying the GtkFontSelection instead of the
- GtkFontSelectionDialog.
+ * gtk/gtk.def: Add some missing entry points. Also some non-public
+ ones, but PyGTK porter claims to need them.
-Thu Jun 18 02:15:31 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/makefile.{cygwin,msc}: Drop some unneeded headers from the
+ built-in type generation.
- * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
- flag to make all warnings fatal errors.
+1999-10-14 Tor Lillqvist <tml@iki.fi>
- * gtk/testthreads.c: moved <pthreads.h> include inside
- #ifdef USE_PTHREADS
+ * gdk/win32/gdkdraw.c (gdk_draw_text_wc): Don't use TextOutW for
+ GDK_FONT_FONT fonts (which is all we have for now, we don't
+ emulate fontsets). The X11 version uses plain XDrawString in that
+ case, too. The string passed to gdk_draw_text_wc seems to be in
+ fact (at least, when used by gtkentry and gtktext) either in a
+ single-byte charset, or a DBCS. Not Unicode.
-Thu Jun 18 01:37:31 1998 Owen Taylor <otaylor@gtk.org>
+ This fixes the problem in gtkfontsel, where even if you had
+ selected a font with a non-Latin1 charset (windows-greek, for
+ instance), the preview still used Latin-1 glyphs.
- * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c
- gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
+ * gdk/win32/gdkfont.c (gdk_text_width_wc): Similar change. Don't
+ use GetTextExtentPoint32W, use GetTextExtentPoint32A.
+ (gdk_font_load): Recognize the demibold etc weights, even if we
+ don't have the corresponding constants in the headers.
+ (gdk_font_hash_insert): Use same hash mechanism as in the X11
+ version. Should save font resources a bit, when we don't have
+ multiple HFONTs for the same font.
- - Added new function gtk_container_set_resize_mode() for
- fine-grained control of where resize-queueing is done.
+ * gdk/win32/gdkprivate.h: Add the names field as in the X11
+ version.
- - Removed GtkContainer::need_resize and GtkWindow::move_resize
- - Added GtkContainer::check_resize to replace need_resize.
+1999-10-11 ERDI Gergo <cactus@cactus.rulez.org>
- - Added function gtk_container_check_resize() to trigger
- queued resizes, and gtk_container_resize_children() to
- Figure which children need to be size-allocated. (logic
- moved from gtkwindow.c)
+ * gdk/gdk.c (gdk_beep): Modified the XBell call to use the default
+ X values
- - Reorganized code in gtkwindow.c
-
- - Set the resize-mode for viewports so that resizes within
- a viewport don't propagate out of it.
-
-1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+1999-10-09 ERDI Gergo <cactus@cactus.rulez.org>
- * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
+ * gtk/gtktoolbar.h, gtk/gtktoolbar.c: Added horizontal icon/text
+ layout support (as mentioned on
+ http://www.jcinteractive.com/gnome-ui/software/widgets/)
- * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
- g_return_val_if_fail, because the function *does* return a value.
+Wed Oct 6 12:46:17 PDT 1999 Manish Singh <yosh@gimp.org>
-Thu Jun 18 03:30:06 1998 Tim Janik <timj@gtk.org>
+ * gtk/fnmatch.c
+ * gtk/gtkfilesel.c: s/G_HAVE_CYGWIN/G_WITH_CYGWIN/
- * gtk/gtkaccellabel.h:
- * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
- request the size of the accelerator portion of an accel label.
- (gtk_accel_label_size_request): don't request for the accelerators size.
- (gtk_accel_label_expose_event): only draw the accelerator if we got
- enough extra space.
+1999-10-05 Jesus Bravo Alvarez <jba@pobox.com>
- * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
- width from children.
+ * configure.in (ALL_LINGUAS): Added Galician (gl)
- * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
- object (after removal has been requested) check if there is still an
- accelerator remaining to avoid adding two accelerators on an object.
- this can happen for locked accelerators (or accelerator-frozen widgets).
- (gtk_menu_size_request): feature childrens accelerator width in size
- requests.
+1999-10-05 Tor Lillqvist <tml@iki.fi>
- * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
- gtk_widget_freeze_accelerators() for dynamically created menu items.
+ * gdk/win32/*.[ch]: Corresponding changes as in X11 backend.
- * gtk/gtksignal.h:
- * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
- which will return a handler_id > 0 if the specified function is pending
- for `signal_id'.
+ * gdk/win32/gdkcompat.c: New file, actually provide an
+ implementation for the deprecated functions. (Just temporarily.)
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
- a signal handler function to stop accelerator addition.
- added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
- which will prevent (undo) any accelerators from being added to or
- removed from a widget.
+ * gtk/gtkfilesel.c: Fix an #ifdef syntax botch.
-Wed Jun 17 21:59:09 1998 Stefan Jeske <stefan@gtk.org>
+ * gtk/makefile.{cygwin,msc}: Update gdk_headers.
- * gtkspinbutton.h gtkspinbutton.c testgtk.c:
- Changed GtkSpinButtonUpdatePolicy enum, added keyboard
- acceleration, new API gtk_spin_button_set_snap_to_ticks.
+ * gdk/win32/gdk.def gtk/gtk.def: Updates.
-Wed Jun 17 03:47:40 1998 Tim Janik <timj@gtk.org>
+1999-10-05 Kjartan Maraas <kmaraas@online.no>
- * gdk/gdk.h:
- * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
- the current GdkWindow the pointer is on if there is any.
+ * configure.in: Added "uk" to ALL_LINGUAS.
- * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
- and one column, so we don't construction logic at all. changed a few
- (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
- unsigned int wraps.
+Mon Oct 4 11:57:11 PDT 1999 Manish Singh <yosh@gimp.org>
- * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
- portion, added an additional check for parent != widget.
+ * configure.in: correct checking for BeOS check
- * more GtkType and macro fixups.
+ * gdk/gdktypes.h
+ * gtk/fnmatch.c
+ * gtk/gtkfilesel.c
+ * gtk/gtkitemfactory.c
+ * gtk/gtkmain.[ch]
+ * gtk/gtkrc.c: use G_OS_WIN32 and G_HAVE_CYGWIN #defines
-1998-06-16 Federico Mena Quintero <federico@nuclecu.unam.mx>
+Mon Oct 4 16:16:53 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
- "clip" parameter, which is the clipping rectangle to use. This
- eliminates the extremely annoying flicker when exposing parts of
- the handlebox.
+ * gtk/gtkrc.{bg,iso88591[345]}: add gtkrc files for some new charset
+ encodings: iso-8859-13 (for Lithuanian), iso-8859-14 (used by celtic
+ languages), iso-8859-15 (used in Estonia) and microsoft-cp1251 (used
+ by Bulgarian).
-Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
+Sun Oct 3 18:13:44 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktable.c: fix from TimJ for off-by-one error in table
- resizing
+ * gtk/gtkwidget.c (gtk_reset_shapes_recurse):
+ Fix a reference to window_private->destroyed.
-Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkplug.c (gtk_plug_realize): Fix up a direct
+ (ugly) setting of an internal GdkWindow member to use
+ a _slightly_ cleaner macro.
- * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
- != 0 on the argument.
+ * gdk/gdkprivate.h: Split GdkWindowPrivate into
+ GdkDrawablePrivate and GdkWindowPrivate.
+ Add extra macros for accessing GDK_DRAWABLE_ components.
- * gtk/gtktable.h:
- * gtk/gtktable.c: new function gtk_table_resize() which allowes
- shrinking and expanding of tables. implementation of widget arguments
- and child arguments. many signedness corrections.
+ * *.[ch]: Massive adjustments for the above, use the
+ new macros in a lot of places.
-Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
+Sun Oct 3 15:16:24 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
- not only the child, otherwise we might end up taking away other
- childrens space after the resize.
+ * gdk/gdktypes.h: Make GdkDrawable the base type,
+ not GdkWindow.
- * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
- an unknown menu path from any source, that path must always be flagged
- as "modified", since we don't really know whether it has its default
- value or not.
+Sun Oct 3 15:08:44 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktree.c:
- * gtk/gtkpacker.c:
- * gtk/gtknotebook.c:
- * gtk/gtkmenushell.c:
- * gtk/gtklist.c:
- * gtk/gtkpaned.c:
- * gtk/gtkfixed.c:
- * gtk/gtkbutton.c: implement gtk_*_child_type functions.
+ * gdk/gdkdraw.c (gdk_drawable_get_data): Added new function.
- * gtk/gtkbox.h:
- * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
- arguments. implemented child arguments.
+Sun Oct 3 14:26:15 1999 Owen Taylor <otaylor@redhat.com>
- * more GtkType and macro fixups.
+ * gdk/gxid* gdk/x11/gxid*: Move files into x11 subdirectory.
-Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
+Sun Oct 3 14:16:23 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkcheckbutton.h: GtkType and macro fixups.
+ * gdk/gdkdrawable.h: Include gdk/gdkdrawable.h with
+ gdk/ prefix. (Pointed out by chak@is.tsukuba.ac.jp)
- * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
- and gtk_clist_get_hadjustment.
+ * configure.in gdk/Makefile.am x11/: create x-specific subdirectory.
- * gtk/gtkcontainer.c:
- implementation of children arguments, new class member functions
- (child_type), (get_child_arg) and (set_child_arg) plus a new field
- n_child_args.
- (gtk_container_child_type): new function which returns the type of a
- child that the container expects for its next addition.
- (gtk_container_add_child_arg_type): new function to introduce a new
- child argument at class creation time.
- (gtk_container_query_child_args): new function to query all child
- arguments that are supported by a container class.
- (gtk_container_child_arg_getv): new fucntion to retrive the value of a
- child argument.
- (gtk_container_child_arg_setv): new function to set a child argument for
- a certain container and child combination.
- (gtk_container_add_with_args):
- (gtk_container_add_with_argv): new functions to feature addition of a
- new child in combination with the setting of certain child arguments.
-
- * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
- GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
- this should really be done through class cretion hooks some day.
-
- * gtk/gtkcontainer.c: changed type of border_width from gint16 to
- guint : 16.
-
- * gtk/gtkpacker.h:
- * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
- follow the gtk convention for lower case variable names (important
- for language wrappers and widget arguments), and made them guint : 16.
-
- * examples/packer/pack.c: adaptions for the case converted GtkPacker
- fields.
-
-Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
- change the character pair for single line comments.
- (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
- GtkItemFactoryClass.
- (gtk_item_factory_parse_rc_string): likewise.
-
-Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
- lists from the klass structure to a static structure
- in gtkfontsel.c; cleans up global the namespace.
-
-Mon Jun 15 22:16:10 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/makeenums.pl (parse_entries): Fix (untriggered)
- bug with /*< skip >*/ and remove warning.
+ * docs/gtk-config.1: Now autogenerated.
+ * docs/Changes-1.4.txt: started
-Mon Jun 15 20:14:09 1998 Owen Taylor <otaylor@gtk.org>
+1999-10-03 Tor Lillqvist <tml@iki.fi>
- * gtk/Makefile.am: Made the gtkmarshal.* generation
- rules maintainer-only.
+ * gdk/gdkimage.h gdk/gdkpixmap.h: Change GDK_WINDOWING_WIN32 usage
+ to #ifdef also here.
-Mon Jun 15 16:29:45 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/*.h gdk/win32/*.c: Make corresponding changes as those
+ Owen did to the X11 backend.
- * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h
- gtk/Makefile.am gtk/makenums.pl
+ * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Fix it again, don't use
+ ScrollWindowEx when blitting inside a window, it can't be correct
+ in the general case.
- Removed out the G_ENUM/FLAGS mechanism in favor
- of a perl script that parses the standard headers
- (with occasional /*< nick=foo >*/ style overrides)
- and extracts the enumerations.
+ * gdk/win32/gdkevents.c: Don't handle WM_SIZING, handling
+ WM_GETMINMAXINFO is easier.
- gtk/maketypes.awk: Small improvments to the
- translation of names. (Avoid splitting gc into
- g_c_.)
-
-Mon Jun 15 16:25:44 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkimage.c (gdk_image_new): Create new image with
+ depth equal to the bitspixel value, not the visual's depth.
- * gtk/gtk.h gtk/gtkfontsel.[ch]:
- Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
-
-Mon Jun 15 15:58:34 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkvisual.c (gdk_visual_init): Set the visual's depth
+ to 24 even if the bitspixel value is 32.
- * gtk/gtkentry.c:
- - Restored gtk_entry_adjust_scroll to static
- - Changed text positioning code so that we always
- display as large a portion of the text as possible.
+ * gdk/gdkrgb.c (gdk_rgb_select_conv): After the above change, no
+ need to check for depth==32 when bpp==32, depth will always be 24.
-Mon Jun 15 15:42:12 1998 Owen Taylor <otaylor@gtk.org>
+Fri Oct 1 18:03:36 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktext.c (gtk_text_finalize): Free internal
- structures of text widget. Also, unreference pixmaps
- when unrealizing.
+ * docs/Changes-1.4.txt: Started
-Sat Jun 13 19:14:39 1998 Owen Taylor <otaylor@gtk.org>
-
- * gdk/gdkinputcommon.h (gdk_input_device_new): Change
- 3.3.1 bug workaround to number keys starting at 1.
-
-Sat Jun 13 11:56:57 1998 Owen Taylor <otaylor@gtk.org>
-
- * docs/gtk_tut.sgml: Fixed urls for complete example
- source for scribble+widget-writing examples.
-
-Sat Jun 13 11:48:26 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/Makefile.am (gdk_headers): Include all the new headers.
- * gdk/gdkpixmap.c (gdk_pixmap_extract_color):
- Patch from Tom Bech <tomb@ii.uib.no>, to handle color
- specs of the form c #abcdef [ more keys ] properly.
-
-Sat Jun 13 10:51:56 1998 Stefan Jeske <stefan@gtk.org>
-
- * gtkspinbutton.h gtkspinbutton.c testgtk.c
- (gtk_spin_button_set_shadow_type):
- New API to set the shadow type of the arrow panel.
-
-Fri Jun 12 21:20:42 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/*.h gdk/*.c: Split gdk.h into lots of itty-bitty little pieces.
+
+ * gdk/gdkprivate.h gdk/gdkcc.c: Moved GdkColorContext private
+ into C file.
+
+ * gdkinput.h gdkinputprivate.h - renamed the internal gdkinput
+ header to gdkinputprivate.h.
- * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
- code for drawing the child in two places at once. Unfortunately,
- not only does it not work anymore (because reparenting has
- been fixed), but it also triggers reparent/expose loops
- in some cases.
+ * gdk/gdk.h gdk/gdk.c: Removed gdk_time* functions which have been
+ unused since before 1.2.
- * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
- an unecessary unrealize.
+1999-09-30 Tor Lillqvist <tml@iki.fi>
-Fri Jun 12 21:18:56 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): On Win32,
+ expand possible hex escapes in the font family (put there by
+ logfont_to_xlfd if the font name isn't a legal XLFD font family,
+ mainly if it contains slashes). (gtk_font_selection_create_xlfd):
+ On Win32, add hex escapes here, too.
- * gdk/gdkwindow.c (gdk_window_reparent): Update the
- old and new parents' child window lists properly.
+Wed Sep 29 19:55:35 1999 Owen Taylor <otaylor@redhat.com>
-Fri Jun 12 09:24:47 1998 Tim Janik <timj@gtk.org>
+ * */*.[ch]: Changed from #if GDK_WINDOWING == GDK_WINDOWING_X11
+ to #ifdef GDK_WINDOWING_X11.
- * gtk/gtkpacker.h:
- * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
- and GtkSideType, to be consistent with the rest of Gtk's enum
- definitions. wrapped the enum definitions with the G_ eunm wrappers.
- spelled out the GTK_ANCHOR_* enum values, since single letters don't
- work out corectly as nick-names (left the old values as aliases).
- some signdness corrections (border-width, spacing), could stand more.
+[ Merges from gtk-1-2 ]
-Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+Wed Sep 8 07:13:29 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am:
- Added gtkpacker
+ * configure.in: fixed "GNU Make" check to pass with new make version
+ 3.77.95.
- * examples/packer/pack.c, examples/packer/Makefile: Added
- gtkpacker example
+Fri Sep 3 16:04:41 1999 Tim Janik <timj@gtk.org>
-Thu Jun 11 13:09:00 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk-config.in (--version): don't echo @GTK_VERSION@, but
+ @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@, so the
+ AM_PATH_GTK() macros don't get confused by the -pre1.
- * gtk/gtktext.c (remove_cache_line): Fixed broken
- list-removal code.
+Thu Sep 2 19:02:37 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
- Check bounds before deleting.
+ * configure.in (REBUILD): Change check for perl5
+ to check explicitely for v >= 5.002. (5.001
+ does not work with our scripts.)
-Wed Jun 10 23:21:33 1998 Owen Taylor <otaylor@gtk.org>
+Wed Aug 25 15:45:46 1999 Tim Janik <timj@gtk.org>
- * autogen.sh: Support ACLOCAL_FLAGS
+ * configure.in: evaluate $PERL for the perl version check. added
+ --disable-rebuilds to give the user an option to completely disable
+ any source autogeneration rules.
-Wed Jun 10 20:54:37 1998 Owen Taylor <otaylor@gtk.org>
+Mon Aug 23 23:16:14 1999 Tim Janik <timj@gtk.org>
- * gtk-config.in: Added missing quotes.
+ * configure.in: evaluate $ac_make when checking for GNU Make.
-Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
+Mon Aug 23 19:11:17 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
+ * docs/Makefile.am: added generation.txt.
-1998-06-10 Raja R Harinath <harinath@cs.umn.edu>
+ * Makefile.am: require automake 1.4, build README from README.in and
+ INSTALL from INSTALL.in in dist-hook.
+
+ * README.in:
+ * INSTALL.in: new files to autogenerate README and INSTALL from.
- * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
- G_COMPILED_WITH_DEBUGGING.
+ * configure.in: figure whether we have GNU Make
- * configure.in (fd_set): Explain check better.
+ * docs/generation.txt: minor additions/corrections.
- * acinclude.m4: New file. Contains `libtool.m4' from libtool-1.2,
- the version from which gtk+'s libtool forked. Needed for people
- who use post-1.2 alphas of libtool.
+Wed Aug 11 13:38:26 BST 1999 Tony Gale <gale@gtk.org>
-Wed Jun 10 19:36:35 1998 Owen Taylor <otaylor@gtk.org>
+ * docs/gtkfaq.sgml: FAQ Update
- * glib/* Moved to glib module
+July 30, 1999 Elliot Lee <sopwith@redhat.com>
+
+ * configure.in: Fix autoconf warnings about cross compilation by
+ trying to provide sane defaults for AC_TRY_RUN.
- * INSTALL Makefile.am acconfig.h autogen.sh configure.in
- gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
+Fri Jul 16 22:20:21 PDT 1999 Manish Singh <yosh@gimp.org>
- configuration changes for the above:
-
- - Use AM_PATH_GLIB by default to find glib; also accept
- a --with-glib option for using an uninstalled glib.
-
- - Put --enable-debug information into config.h so
- that we rebuild when it changes. (was in glibconfig.h)
+ * ltconfig
+ * ltmain.sh: upgrade to libtool 1.3.3
-Wed Jun 10 22:23:27 1998 Lars Hamann <lars@gtk.org>
+Thu Jul 8 11:30:18 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
+ * INSTALL: Indicate that the --with-glib= configure
+ time flag is unsupported.
- * gtk/gtknotebook.h (struct _GtkNotebookClass):
- * gtk/gtknotebook.c (gtk_real_notebook_switch_page):
- added missing argument (according to Joseph Coleman's bug report)
+Mon Jul 5 20:36:03 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
- function to fix notebook focus handling
+ * docs/generation.txt: Added a file that gives
+ documenation about the autogeneration process for
+ various autogenerated files.
-Wed Jun 10 12:57:03 1998 Owen Taylor <otaylor@gtk.org>
-
- * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
- glib/gutils.c glib/testglib.c glib/gdataset.c
- gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
- gtk/gtktext.c gtk/gtkbindings.c:
-
- renamed g_const_pointer => gconstpointer
+Tue Jun 29 15:59:25 1999 Owen Taylor <otaylor@redhat.com>
-Wed Jun 10 06:25:17 1998 Tim Janik <timj@gtk.org>
+ * configure.in (LIBS): Look for libgmodule in the
+ right location.
- * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
- invoked with (NULL, NULL); (this worked sometime ago).
+Thu Jun 17 13:57:31 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: enum and flags type creation can now be done
- through gtk_type_register_enum() and gtk_type_register_flags(),
- which allow to specify the enum value arrays directly.
- the NULL terminated value arrays can be retrived through
- gtk_type_enum_get_values() and gtk_type_flags_get_values();
- (gtk_type_children_types): new function to query derived types.
+ * docs/gtk_tut.sgml: Removed references to
+ code examples in my directory on gtk.org as
+ they should all be in the tutorial now.
-1998-06-09 Raja R Harinath <harinath@cs.umn.edu>
+ * docs/gtk_tut.sgml: Added sources for dial-test
+ and scribble-xinput programs that were previously
+ missing.
- * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
- environment to genmarshal.pl.
- (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
- rule), and removed it where not needed (in the dependencies).
+Fri Jun 4 00:08:59 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
+ * TODO: Added entry about menu keyboard navigation, removed
+ some finished items.
-Tue Jun 9 18:44:57 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkobject.c: Removed g_object_pointer_hash, which
- was just g_direct_hash.
-
-Mon May 25 19:54:20 1998 Owen Taylor <otaylor@gtk.org>
-
- * configure.in: x_libs=, not $x_libs=. Enough said.
- (Case only hit for --disable-xshm)
-
-Mon May 25 12:08:14 1998 Owen Taylor <otaylor@gtk.org>
+Mon May 31 00:11:24 1999 Owen Taylor <otaylor@redhat.com>
- * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
- when testing for X libraries, don't replace them. Because
- the user might have specified the path to the X libraries
- themself before running configure.
+ * acinclude.m4: Standardize on func_dgettext
+ not func_gettext, so that the checks for dgettext
+ actually are paid attention to.
- * examples/**.c: Changed all gpointer * to gpointer
-
-1998-06-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
+Wed May 5 10:47:54 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
- fleur_cursor field. Now the cursor is created/destroyed on demand
- by the routines that need it.
+ * configure.in (LIBS): Add $INTLLIBS into $LIBS
+ directly, rather than repeating the checks for
+ gettext.
- * gtk/gtkhandlebox.c (gtk_handle_box_button_changed):
- (gtk_handle_box_motion): The fleur cursor is created and destroyed
- only when needed.
+ * INSTALL: Added information about gettext and
+ NLS support.
-Tue Jun 9 09:57:09 1998 Tim Janik <timj@gtk.org>
+ * acinclude.m4 (LIBM): Check for dgettext, not
+ just gettext. This should hopefully fix things wrt
+ systems with old versions of GNU gettext installed.
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
- gtk_enum_set_values to gtk_type_enum_get_values and
- gtk_type_enum_set_values respectively, since they are actually type
- system features.
+Tue Jun 29 15:59:25 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
- my last commit. ;)
+ * configure.in (LIBS): Look for libgmodule in the
+ right location.
-Tue Jun 9 01:57:23 1998 Tim Janik <timj@gtk.org>
+Thu Apr 1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>
- * gtk/gtkselection.h:
- * gtk/gtkselection.c: new functions gtk_selection_data_copy and
- gtk_selection_data_free.
+ * autogen.sh: add --enable-maintainer-mode
- * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
- for "selection_received", which was completely bogus.
- * other fixups to gtk_signal_new() calls all over the place.
+ * configure.in: set ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
- * gtk/gtktypebuiltins.h: types as variables (formerly macros).
- * gtk/gtktypebuiltins_vars.c: type variable implementations.
- * gtk/gtktypebuiltins_ids.c: array entries for builtin type
- declarations.
- * gtk/gtktypebuiltins_evals.c: enum value arrays.
- * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
- gtk.defs.
- * gtk/gtk.defs: generated file with scheme syntax for type definitions
- of gtk and gdk structures and enums.
- * gtk/gtktypeutils.h:
- * gtk/gtktypeutils.c: reworked type ids, so they are variables not
- macros anymore (this fixes binary incompatibility with new enum
- definitions).
+Wed Mar 24 23:03:49 CST 1999 Shawn T. Amundson <amundson@gtk.org>
- * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
- key bindings for this widget.
- * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
- handler.
+ * docs/gtk-config.1.in:
+ docs/Makefile.am:
+ configure.in: gtk-config is now generated.
- * gtk/gtkobject.h:
- * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
- again. new functions gtk_object_class_user_signal_new () and
- gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
- flag on the signal creation.
+ * docs/gtk-config.1: Removed, now generated.
-Mon Jun 8 20:52:21 1998 Tim Janik <timj@gtk.org>
+Thu Sep 23 17:59:59 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
+ * gdk/gdkevents.c (gdk_event_translate): grr, even if Gdk doesn't
+ handle CreateNotify itself, still put out a debuging message for
+ --gdk-debug=events. made the ReparentNotify debugging message more
+ verbose.
+ wrap xcoords translation for ConfigureEvents into an error trap,
+ a destroy event may already be pending, and in that case, the
+ actuall coordinate values are not at all critical.
-Mon Jun 8 02:52:37 1998 Tim Janik <timj@gtk.org>
+Sat Sep 18 22:24:15 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdkprivate.h:
- * gdk/gdktypes.h:
- * gtk/gtkprivate.h:
- * gtk/gtkwidget.h:
- * gtk/gtkobject.h: wrapped enum definitions with glib macros.
+ * gdk/gdkcc.c: Stop leaking the color_hash all over
+ the place. Simplify and improve the logic.
- * reworked enum value array generation code. gtk.defs is a generated
- file now.
+Fri Sep 17 09:57:15 1999 Tim Janik <timj@gtk.org>
-Sun Jun 7 14:34:31 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdk.h, gdk/gdkcolor.c: make return types (gint or gboolean)
+ for prototypes and function implementations consistent (reported
+ by Tomas Ogren).
- * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
- check menu items in the compatibility code (this required me to remove
- the "<check>" part from the menu item name, grrr).
+Tue Sep 14 18:23:01 1999 Tim Janik <timj@gtk.org>
-1998-06-07 Marius Vollmer <mvo@zagadka.ping.de>
+ * gdk/gdkevents.c (gdk_event_translate): tell if expose events have
+ send_event set in debugging output.
+ (gdk_compress_exposures): default initialize the event so we don't
+ operate on bogus values (namely send_event).
- * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
- * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
-
-Sun Jun 7 10:53:02 1998 Tim Janik <timj@gtk.org>
+Thu Sep 2 16:33:59 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkitemfactory.h:
- * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
- additions to the dumping code to feature GtkPatternSpec.
- even found a bug to fix in the original code ;)
-
-Sun Jun 7 09:36:04 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkwindow.c: When we receive an unexpected
+ destroy notify on one of our windows, don't just
+ warn about it, also mark our windows as destroyed.
- * gtk/gtkitemfactory.c: support different types of callbacks, to
- maintain existing code.
+Sun Sep 5 08:10:53 1999 Owen Taylor <otaylor@redhat.com>
-Sat Jun 6 06:01:24 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkfont.c (gdk_font_hash_insert): Add
+ name => font and name => fontset hashes. The
+ name => fontset hash is a _big_ win since we
+ weren't previously caching fontsets at all and loading
+ fontsets is expensive. The name => font hash
+ is less of a win, but it does save us from doing
+ repeated XQueryFont calls on the same font.
- * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
+ * gdk/gdkprivate.h (struct _GdkFontPrivate): Add a names
+ list so we can remove font/fontset from hash.
- * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
- this should eventually be done by gentypeinfo.el somewhen.
- * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
+Thu Sep 2 19:02:37 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
- enum values of an enum type.
+ * gdk/gdkproperty.c (gdk_atom_intern): Remove useless
+ and slightly confusing test. [ XInternAtom (,,TRUE)
+ will never return None ].
- * gtk/gtk.defs:
- * gtk/gtkcurve.h:
- * gtk/gtkobject.h:
- * gtk/gtkprivate.h:
- * gtk/gtkwidget.h:
- * gtk/gtkenums.h:
- brought enum/flags definitions in sync, added a few more enum
- definitions for bindings and pattern matching.
+Sat Sep 4 08:39:26 1999 Owen Taylor <otaylor@redhat.com>
- * some more macro and GtkType fixups in various places.
+ * gdk/gdkwindow.c (gdk_window_set_geometry_hints)
+ gdk/gdkwindow.c (gdk_window_set_hints):
- * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
- as a key-release modifier for the binding system.
+ Don't omit setting the properties if flags == 0 -
+ there may be an existing set of properties there
+ already. (Very old bug. Would it be better to
+ delete the property instead?)
-Fri Jun 5 06:06:06 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkselection.c (gdk_selection_property_get): Fix
+ spelling error in comment.
- * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
- was a stale list pointer that is already present in GtkMenuShell.
+Wed Sep 1 14:05:30 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
- GtkMenuShell::selection_done which is emitted after the menu shell
- poped down again and all possible menu items have been activated.
+ * gdk/gdkimage.c (gdk_image_new): Use gdk_error_trap_push()
+ to avoid stomping over gdk_error_warnings.
-Thu Jun 4 02:20:42 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkimage.c (gdk_image_new): compute image->bpp
+ as (bits_per_pixel + 7) / 8. This gives the same
+ result as before for multiples of 8, but actually
+ a "reasonable" value for 1bit or 4bit displays.
- * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
- before activation of the menuitem, so the menu is actually taken off the
- screen prior to any menu item activation.
+Mon Aug 23 19:11:17 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
- for NULL nodes.
+ * gdk/Makefile.am: minor cleanups, strip spaces on build rules for
+ GNU Make.
- * gtk/gtkwidget.h:
- * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
- the emission of the "add-accelerator" signal on a widget. this is
- usefull to prevent accelerator installation on certain widgets.
+Tue Aug 17 07:43:04 1999 Tim Janik <timj@gtk.org>
- * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
- labels left justified, by setting their alignment. stop accelerator
- installation for the menu items, since we use dynamic menus.
+ * gdk/gdkevents.c (gdk_event_translate): give a debugging note when
+ discarding configure events.
-Wed Jun 3 06:41:22 1998 Tim Janik <timj@gtk.org>
+1999-08-18 Federico Mena Quintero <federico@redhat.com>
- * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
- should *really* use GtkItemFactory. this is only for preserving source
- compatibility where possible, use of GtkMenuFactory is deprecated as of
- now.
+ * gdk/gdkpixmap.c (gdk_pixmap_unref): g_return_if_fail() the
+ refcount is greater than zero.
- * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
- to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
- missed this possibility when i added gtk_object_class_add_user_signal
- in late january.
+ * gdk/gdkwindow.c (gdk_window_unref): Likewise.
- * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
+ * gdk/gdkfont.c (gdk_font_unref): Likewise.
-Sun May 31 07:31:09 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkgc.c (gdk_gc_unref): Likewise.
- * gtk/gtkaccelgroup.h:
- * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
+ * gdk/gdkdnd.c (gdk_drag_context_unref): Likewise.
- * gtk/gtkaccellabel.h:
- * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
- display of the accelerators associated with a certain widget.
+Wed Aug 11 01:04:57 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkitemfactory.h:
- * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
- parsing and accelerator handling.
+ * gdk/gdkproperty.c (gdk_property_get): Fix assumption
+ that format 32 => sizeof(item) == 4. It really is
+ sizeof(long).
- * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
- positioning a menu.
- (gtk_menu_map): removed the allocation code.
- (gtk_menu_size_allocate): care for redrawing of children and resize
- our widget->window correctly.
- (gtk_menu_key_press): feature the new accelerator groups.
+Tue Jun 29 23:02:42 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
- submenu if neccessary.
+ * gdk/gdk.c (gdk_x_error / gdk_x_io_error): Don't
+ core dump at all on X IO errors, only core dump
+ if --enable-debug for X errors.
- * gtk/gtkmenuitem.c:
- * gtk/gtkcheckmenuitem.c:
- * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
- function variants.
+Thu Jun 24 17:06:23 1999 Tim Janik <timj@gtk.org>
- * gdk/gdk.c:
- (gdk_keyval_from_name):
- (gdk_keyval_name): new functions for keyval<->key-name associations.
- (gdk_keyval_to_upper):
- (gdk_keyval_to_lower):
- (gdk_keyval_is_upper):
- (gdk_keyval_is_lower): new functions to check/translate keyvalues with
- regards to their cases.
+ * gdk/gdkevents.c (gdk_event_translate): removed old ""Got event for
+ unknown window:" message. disabled ConfigureNotify discarding code,
+ because it led to events being processed out of order.
-Wed May 27 00:48:10 1998 Tim Janik <timj@gtk.org>
+Thu Jun 24 12:22:02 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
- widget's class path.
- (gtk_widget_path): new function to calculate a widget's name path.
+ * gdk/gdkglobals.c: preinitialize gdk_error_code to 0.
- * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
- pattern matching, features reversed pattern matches.
+ * gdk/gdkevents.c (gdk_event_send_client_message_to_all_recurse): since
+ we export this function, supress error warnings and don't reset the
+ error code in the first half of this function.
-Thu Jun 4 12:12:11 BST 1998 Tony Gale <gale@gtk.org>
+ * gdk/gdk.c (gdk_x_error): set gdk_error_code to the actuall X error
+ code (instead of just -1) so gdk_error_trap_pop() reveals something
+ actually informative about the error that happened.
- * examples/extract.sh, examples/extract.awk:
- New files to automagically extract code examples from the
- tutorial.
+ * gdk/*.c:
+ don't rely on gdk_error_code being -1 if an error occoured, but just
+ gdk_error_code != 0.
-Tue Jun 2 20:04:45 1998 Lars Hamann <lars@gtk.org>
+Thu Jun 24 11:50:07 1999 Tim Janik <timj@gtk.org>
- * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
- * gtk/gtkcontainer.c (gtk_container_focus_move):
- reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
+ * gdk/gdkevents.c (gdk_event_apply_filters): advance the filter list
+ pointer *before* invoking the filter function, so we at least don't
+ crash if a filter is removed that is currently executed. window filters
+ *really* need to be made truely reentrant at some point.
-Tue Jun 2 13:04:06 BST 1998 Tony Gale <gale@gtk.org>
+Mon Jun 14 11:10:15 1999 Tim Janik <timj@gtk.org>
- * docs/gtk_tut.sgml: minor changes to support auto
- extraction of example code
+ * gdk/gdkevents.c (gdk_event_translate): print the atom name in the
+ PropertyNotify debug messages.
-Mon Jun 1 12:47:56 BST 1998 Tony Gale <gale@gtk.org>
+Wed May 5 22:51:06 1999 Owen Taylor <otaylor@redhat.com>
+
+ Patch from Sung-Hyun Nam <namsh@lgic.co.kr>
+
+ * gdk/gdkim.c: Fix cut-and-paste errors for
+ x/y and PreeditAttributes/StatusAttributes.
- * docs/gtk_tut_it.sgml: Update of Italian Tutorial
- to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
+Wed May 5 22:24:21 1999 Owen Taylor <otaylor@redhat.com>
-Fri May 29 13:53:57 BST 1998 Tony Gale <gale@gtk.org>
+ * gdk/gdkwindow.c (gdk_window_set_geometry_hints): Change
+ G_MAXINT to 2^16 to alleviate overflow problems in
+ various window managers.
- * docs/gtk_tut.sgml:
- - new section on Events
- - change all delete_event callbacks to include
- a GdkEvent parameter
- - clean up the formatting
+Wed Apr 21 00:42:08 1999 Owen Taylor <otaylor@redhat.com>
- * examples - helloworld.c, helloworld2.c, notebook.c,
- packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
- rulers.c, table.c, wheelbarrow.c: change all delete_event
- callbacks to include a GdkEvent parameter.
+ * gdk/gdkfont.c (gdk_text_measure): Fix the return value
+ for fontsets.
-1998-05-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
+Wed May 5 12:42:01 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
- field of crossing events.
- (struct _GdkEventCrossing): Added the following fields: time, x,
- y, x_root, y_root, mode, focus, state.
+ * gdk/gdkwindow.c (gdk_window_set_geometry_hints):
+ Initialize size_hints.x and size_hints.y because kwm
+ brokenly pays attention to them.
+ (Bug #1181 - Lars Heete <hel@admin.de>)
- * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
- crossing event structure.
+Wed May 5 11:38:56 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
- changes to the crossing event structure.
+ * gdk/gdkrgb.c (gdk_rgb_choose_visual): Free the
+ return value of gdk_list_visuals().
+ (Bug #1193 - Morten Welinder <terra@diku.dk>)
-Tue May 26 15:51:28 1998 Radek Doulik <gis@academy.cas.cz>
+Tue May 4 11:12:56 PDT 1999 Manish Singh <yosh@gimp.org>
- * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
+ * gdk/gdkim.c (gdk_im_real_open): cast the return value of
+ XSetIMValues to (void *) when comparing to NULL, to workaround
+ the problem of some compilers barfing since older X headers don't
+ have the prototype for it.
-Sun May 24 12:11:38 BST 1998 Tony Gale <gale@gtk.org>
+Mon Apr 19 10:11:12 1999 Owen Taylor <otaylor@redhat.com>
- * docs/gtk_tut.sgml:
- - GtkTooltips, update to current API
- - change all 'gpointer *data' to 'gpointer data'
- - other minor changes
+ * gdk/gdkcolor.c (gdk_colormap_new): Fix memory leak
+ for pseudocolor where colormap->colors was double
+ allocated.
-Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/gdkcolor.c (gdk_colormap_alloc1): Store the
+ color value in the hash table with the pixel filled
+ in so when we do later hash table lookups, the color
+ value is correct.
+
+Sun May 2 15:29:45 PDT 1999 Manish Singh <yosh@gimp.org>
- * configure.in (LDFLAGS): Bomb out with a moderately
- helpful message if detection of X libraries fails.
+ * gdk/gdkdraw.c (gdk_draw_lines): check private->destroyed before
+ making the call
-Sat May 23 18:57:06 1998 Owen Taylor <otaylor@gtk.org>
+Tue Apr 27 11:17:35 1999 Owen Taylor <otaylor@redhat.com>
- [ Combination of:
- gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
- gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
+ * gdk/gdkdnd.c (xdnd_set_{targets,actions}): Fix leak
+ pointed out by Morten Welinder <terra@diku.dk>.
- * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
- gtk/gtksignal.c gtk/gtktext.c:
+Wed Apr 21 14:20:22 1999 George Lebl <jirka@5z.com>
- Fixups for warnings from adding const to type of GHashFunc,
- GCompareFunc
-
- * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
- ansi-warnings fixups.
+ * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
+ default filter from the list
-Sat May 23 17:48:58 1998 Owen Taylor <otaylor@gtk.org>
+Wed Apr 21 14:20:22 1999 George Lebl <jirka@5z.com>
- * gtk/gtkeventbox.c (gtk_event_box_size_allocate):
- Locate child at (border_width,border_width), not
- (2*border_width,2*border_width). [ The border is _outside_
- widget->window ]
-
- * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
- functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
+ * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
+ default filter from the list
-1998-05-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
+Fri Apr 16 20:41:43 PDT 1999 Manish Singh <yosh@gimp.org>
- * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
- used in gnome-libs
+ * gdk/gdk.c: #include "gdkkeysyms.h" for gdk_XConvertCase #defines
-1998-05-22 <sopwith@redhat.com>
+ * gtk/gtkfontsel.c (gtk_font_selection_create_xlfd): use
+ g_strdup_printf instead of calcing the length separately
- * gtk/gtkeventbox.c: Pass size_allocate on to the child
- regardless of whether it is visible or not. Also
- locate child at (border_width,border_width), not (0,0)
+Tue Apr 13 02:49:33 1999 Owen Taylor <otaylor@redhat.com>
-Fri May 22 03:02:40 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/gdkwindow.c: removed some silly #ifdef HAVE_CONFIG
+ that we don't do in many other places. (Fixing duplicate
+ #include of config.h)
- * gtk/gtkhandlebox.c: Added style_set handler.
+ * gdk/gdkevents.c: include gdkinput.h _after_ config.h.
+ Otherwise, #ifndef XINPUT_NONE check in the latter
+ doesn't work. (Bug #546)
-Fri May 22 02:55:57 1998 Owen Taylor <otaylor@gtk.org>
- [ From: Chris Lahey <clahey@umich.edu> ]
-
- * gtk/gtkeditable.c, gtk/gtkeditable.h,
- gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
- and set_position functions to get and set the cursor position.
+Sun Apr 11 14:38:03 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
- signal status. Make GtkText do user-controlled insertion
- and deletion through the Editable widget so that these
- signals are properly emitted.
+ * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): check for color
+ "None" case insensitive.
- * gtk/gtkentry.c: Changed gtk_entry_set_visibility to
- display asterisks instead of empty space when visible = FALSE)
+Tue Apr 6 16:38:51 1999 Owen Taylor <otaylor@redhat.com>
-Fri May 22 08:51:10 CEST 1998 Paolo Molaro <lupus@debian.org>
+ * gdk/gdkselection.c:
+ Add error traps so if the other end of the connection
+ dies, we survive.
- * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
- signal.
+Tue Apr 6 12:24:21 1999 Owen Taylor <otaylor@redhat.com>
-1998-05-21 <sopwith@redhat.com>
+ * gdk/gdkdnd.c (gdk_drag_motion): Separate out the
+ dest_xid field into two fields - one for the window
+ to send in messages, one to indicate the last looked
+ up window for caching purposes. This is needed, so
+ that Leave messages get the correct window.
- * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
- custom routine for loading images specified in gtkrc's.
+Mon Apr 5 13:21:30 1999 Owen Taylor <otaylor@redhat.com>
-Tue May 19 23:41:04 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/gdkevents.c (gdk_event_check, gdk_event_prepare):
+ Fix warning created by people mucking around
+ with the gsource API.
- * configure.in: Use pthread_attr_init() as a test function,
- since most of the rest of -lpthread is macros on DU4.
+ * gdk/gdkevents.c (gdk_io_invoke, gdk_input_add_full):
+ Change mapping between GIOCondition and GdkInputCondition
+ to match the way the Linux kernel does it. This should
+ fix problems where closed pipes were no longer signalling
+ GDK_INPUT_READ on systems with a native poll().
-Tue, 19 May 1998 09:03:03 +0200 Paolo Molaro <lupus@debian.org>
+Mon Apr 5 17:11:57 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkcombo.c: implemented completion in the entry.
+ * gdk/gdkpixmap.c (_gdk_pixmap_create_from_xpm): Check
+ explicitly for the string "None" - it is in the XPM
+ spec and some servers treat unknown colors in odd ways
+ (like asking the user!)
-1998-05-18 <sopwith@moebuis.labs.redhat.com>
+Thu Apr 1 16:58:10 PST 1999 Manish Singh <yosh@gimp.org>
- * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals
+ * gdk/gdkevents.c: made "->" into a "." of previous change so
+ it compiles
-Mon May 18 04:01:41 1998 Tim Janik <timj@gtk.org>
+Thu Apr 1 18:41:25 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
- "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
- to be of runtype GTK_RUN_LAST.
+ * gdk/gdkevents.c (gdk_compress_exposures): Set the
+ window field of the event structure before calling
+ user filters.
- * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
- "need-resize".
+1999-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
- * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
- "widget-selected".
+ * gdk/gdk.c (gdk_init_check): Use False as the last argument to
+ XInternAtom() here. This is a particularly Old And Nasty(tm) bug.
-Sat May 16 09:04:32 1998 Tim Janik <timj@gtk.org>
+Mon Mar 29 17:31:52 1999 Owen Taylor <otaylor@redhat.com>
- * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
- text retrived from GtkEntry. only intercept the Tab key if there
- was some text to complete.
+ * gdk/gdkim.c (gdk_mbstowcs): Free the value of the
+ intermediate text property - prevents major memory
+ leak when gdk_use_mb.
+ gtk-d3august-990311-0: Bj|rn Augustsson <d3august@dtek.chalmers.se>
-Fri May 15 21:16:54 1998 Owen Taylor <otaylor@gtk.org>
+Mon Mar 29 17:02:58 1999 Owen Taylor <otaylor@redhat.com>
- Basic thread-awareness:
+ Patches from Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>
+ gtk-a-higuti-990322-[0-3]
- * acconfig.h configure.in: New option --with-threads=[yes/posix/no]
+ * gdk/gdkfont.c (gdk_text_extents_wc): Make work when
+ sizeof(wchar_t) != sizeof (GdkWChar)
- * gdk/Makefile.am gdk/gdkthreads.c: Added new functions
- gdk_threads_[init/enter/leave] for applications, plus
- gdk_threads_wake to wake the mainloop thread out of
- the select().
+ * configure.in: Fix confusion between GTK_LOCALE_[C]FLAGS
+ that was causing -DX_LOCALE not to work.
- * gtk/Makefile.am: gtk/testthreads.c: Test program for threads
+ * gtk/gtkrc.c (gtk_rc_init):
+ X_LOCALE will never have LC_MESSAGES defined
-Fri May 15 12:08:48 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/gdk.c (gdk_init_check):
+ Remove --xim-preedit and --xim-status from argv properly.
- * gtk/testgtk.c (list_clear): Account for the fact
- that gtk_list_clear_items is not inclusive. (Clears
- [start, end))
+ * gdk/gdkim.c (gdk_ic_real_new): Add a gdk_flush() so
+ that the client window is present on the X server
+ before we pass it to the input method.
-Fri May 15 12:31:27 1998 rodo <doulik@karlin.mff.cuni.cz>
+Tue Mar 9 10:46:49 1999 Owen Taylor <otaylor@redhat.com>
- * gdk/gdk.c: include gdkkeysyms.h always
+ * gdk/gdkdnd.c (motif_find_drag_window): Fix bug where
+ if --display is specified on the command line, than
+ the drag window will not be created on that display.
+Tue Mar 9 10:38:24 1999 Owen Taylor <otaylor@redhat.com>
-Fri May 15 09:44:10 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
- the visibility_notify_event method and changed method order.
-
-1998-05-14 <sopwith@moebuis.labs.redhat.com>
+ * gdk/gdkproperty.c (gdk_atom_intern): Fixed bug where
+ lookups with only_if_exists == TRUE were inserting
+ bogus values into the atom cache.
- * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget
+Wed Mar 17 09:00:00 1999 Tim Janik <timj@gtk.org>
-Thu May 14 03:04:43 1998 Tim Janik <timj@gtk.org>
+ * gdk/gdkselection.c (gdk_selection_property_get): first XFree(t),
+ then reset it to NULL.
- * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
- from Olli Helenius <ollhel@batman.jytol.fi>.
+ * gdk/gdkcolor.c:
+ (gdk_colors_free):
+ (gdk_colormap_free_colors): use colormap->colors[in_pixels[i]] as the
+ key for g_hash_table_remove() in both functions, this prevents us
+ from accessing possibly uninitialized portions of a GdkColor structure
+ where we are only interested in its pixel value.
- * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
- freeing types.
- (gtk_type_set_chunk_alloc): new function to allow allocation of new
- types from a mem_chunk of certain size (n_chunks==0 indicates allocation
- thorugh g_malloc).
+Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkobject.c (gtk_object_finalize): free an object through
- gtk_type_free().
+ * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
+ font hash table, if we have a GdkFontPrivate entry for this font
+ already, simply increment its reference count, provided by Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>.
- * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
- GtkButtons to 16.
- * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
- * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
+1999-09-21 Tor Lillqvist <tml@iki.fi>
-Wed May 13 00:53:52 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdk.c (gdk_exit_func): Delete the gdk_DC when exiting,
+ just to be sure.
- * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more
- GPOINTER_TO_UINT fixes.
+ * gdk/win32/gdkvisual.c (gdk_visual_init): Remove a couple of
+ unused variables, leftovers from the X11 version.
- * gtk/gtksignal.c: Include <string.h> for memset.
+ * gdk/win32/rc/*.cur: Better cursors provided by Bernd Herd.
-Tue May 12 23:10:53 1998 Owen Taylor <otaylor@gtk.org>
- (Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)
+ * gtk/gtkfontsel.c (gtk_font_selection_get_xlfd_field): Only
+ downcase fields on X11.
- * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h:
- Cleanups, comments and the ability to have rulers with
- a reversed direction.
+Mon Sep 20 13:17:39 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
+
+ * configure.in,po/pt_BR.po: added Portuguese Brazilian file from
+ Alex Sandro Queiroz e Silva <asandro@lcg.dc.ufc.br>
-Tue May 12 19:37:55 1998 Owen Taylor <otaylor@gtk.org>
+1999-09-17 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
- that Sopwith missed when changing stat => lstat.
+ * gdk/win32/gdk.def: Add gdk_threads_mutex.
-Tue May 12 19:19:29 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/makefile.msc: Correct path to libintl.
- * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
- gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
- GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
+ Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in
+ use of gint vs. int, and gint vs. gboolean in headers and
+ definitions. Use GtkType for the *_get_type functions. Note that
+ these changes preserve binary compatibility.
- * gdk/gdk.c: Print sizeof() results
- as g_print("%ld", (glong)sizeof(foo)), to deal with
- sizeof() being long on Alpha's.
+ * gdk/gdk.c
+ * gdk/win32/gdk.c
+ * gdk/gdk.h: Fix inconsistencies: gint vs int.
- * gtk/testgtk.c: include <string.h> for strlen
+ * gtk/gtkmain.c
+ * gtk/gtkclist.c
+ * gtk/gtkmenufactory.c
+ * gtk/gtknotebook.c
+ * gtk/gtkwidget.c: Fix inconsistencies, also gint
+ vs. gboolean.
-Tue May 12 16:56:35 1998 Owen Taylor <otaylor@gtk.org>
- (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
-
- * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
- Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
+ * gtk/gtkcolorsel.[ch]
+ * gtk/gtkcombo.[ch]
+ * gtk/gtkdrawingarea.[ch]
+ * gtk/gtkgamma.[ch]
+ * gtk/gtkhandlebox.[ch]
+ * gtk/gtkhpaned.[ch]
+ * gtk/gtkhruler.[ch]
+ * gtk/gtkplug.[ch]
+ * gtk/gtkpreview.[ch]
+ * gtk/gtkruler.[ch]
+ * gtk/gtksocket.[ch]
+ * gtk/gtkstatusbar.[ch]
+ * gtk/gtktoolbar.[ch]
+ * gtk/gtkvbbox.[ch]
+ * gtk/gtkvpaned.[ch]
+ * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type
+ functions.
- * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
+ * gtk/gtkgamma.h: Fix bug, missing () in call of
+ gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
-Tue May 12 15:16:10 1998 Owen Taylor <otaylor@gtk.org>
- (From: Christopher James Lahey <clahey@umich.edu>)
-
- * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
- gtk/testgtk.c:
+1999-09-14 Tor Lillqvist <tml@iki.fi>
- Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
- (old style), or GTK_RELIEF_NONE - no relief in the NORMAL
- state. Added gtk_toolbar_{set,get}_button_relief, which set/get
- the default relief for the toolbars buttons. Added an
- toggle for the toolbar test in testgtk.c.
+ * gdk/gdkcolor.c (gdk_colormap_new)
+ * gdk/win32/gdkcolor.c (gdk_colormap_new): Fix memory leak:
+ colormap->colors was allocated twice.
-Tue May 12 00:24:59 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdk.c: Remove some unused stuff.
- * docs/gtk-config.1: Rewritten and hopefully improved.
+ * gdk/win32/gdkcolor.c (gdk_colormap_sync): Initialize all of the
+ colormap.
-Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>
+ * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_type)
+ * gtk/gtklabel.h (gtk_label_get_type)
+ * gtk/gtktipsquery.c (gtk_tips_query_get_type)
+ * gtk/gtktypeutils.h (gtk_type_name): : Use GtkType
+ in a couple of places, not guint.
- * docs/Makefile.am
- * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield
+Fri Sep 10 21:31:00 CEST 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
-1998-05-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * configure.in,po/et.po: added Estonian language file
- * gtk/gtkpreview.c (gtk_preview_realize): Create the window using
- GtkPreview's visual and colormap, otherwise things can BadMatch.
+Wed Sep 1 14:36:12 CEST 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
- * gtk/testgtk.c (create_color_preview):
- (create_gray_preview): Removed pushing/popping of visual/colormap
- now that GtkPreview does things correctly.
+ * configure.in,po/da.po: added Danish file
- * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame):
- (gtk_color_selection_draw_wheel): Pick the style from the correct
- place (the colorsel->wheel_area widget) so that the GCs will match
- with where we are going to paint to.
+Sun Aug 29 13:38:59 BST 1999 Tony Gale <gale@gtk.org>
- * gtk/testgtk.c (create_color_selection): Removed pushing/popping
- of visual/colormap now that GtkColorSelection does things the
- right way.
+ * docs/gtkfaq.sgml: Minor FAQ Update
-Mon May 11 21:04:51 1998 Owen Taylor <otaylor@gtk.org>
+Sat Aug 28 14:34:37 BST 1999 Tony Gale <gale@gtk.org>
- * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
- previously unused window->need_resize flag to mark if a window's
- descendents changed size while the window was not visible. In this
- case, when the window becomes visible, we reallocate everything,
- since we didn't keep track of what actually changed.
+ * docs/gtkfaq.sgml: FAQ update
- (Fixes bug where changing the popdown strings of a
- combo to something of the same length caused them to
- blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)
+1999-08-27 Tor Lillqvist <tml@iki.fi>
-Tue May 12 02:31:57 1998 Tim Janik <timj@gtk.org>
+ Win32: Philippe Colantoni <colanton@aris.ss.uci.edu> suggests a
+ way to get window contents continually refreshed while resizing. I
+ didn't like the effects myself, so it's not on by default.
- [security audit by Alan Cox]
+ * gdk/win32/gdkprivate.h: New flag variable
+ gdk_event_func_from_window_proc, FALSE by default.
- * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
- exceed maximum assumed size.
+ * gdk/win32/gdk.c (gdk_init_check): Set above flag if the
+ environment variable GDK_EVENT_FUNC_FROM_WINDOW_PROC is set, or we
+ are passed --gdk-event-func-from-window-proc.
- * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
- not exceed maximum assumed size.
- (gtk_menu_factory_remove): likewise.
- (gtk_menu_factory_find_recurse): likewise.
+ * gdk/win32/gdkevents.c (gdk_WindowProc): If above flag is set,
+ and we have am event_func, call it instead of enqueing the event.
-Mon May 11 23:53:38 1998 Tim Janik <timj@gtk.org>
+1999-08-23 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
- GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
- redrawn if that is still neccessary. don't allow queueing of already
- destructed objects.
- (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
- widgets which are in the queue can be destroyed safely, handle
- requeueing properly.
- (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
- widgets which are in the queue can be destroyed/unrealized safely.
+ * gdk/win32/gdkevents.c (gdk_event_translate): Fix from Simon
+ Kelley: Set expose_count in GdkEventExposes correctly.
-Mon May 11 17:54:44 BST 1998 Tony Gale <gale@gtk.org>
+ * gdk/win32/gdkwindow.c: Remove dead code (#ifdef
+ MULTIPLE_WINDOW_CLASSES).
- * gtkfaq.sgml: add question on multi-threading,
- minor URL cleanups.
+ * gdk/win32/gdkdraw.c (gdk_draw_line): Workaround from Hans Breuer
+ for bug in NT, apparently NT *does* draw the end pixel, too, in
+ LineTo with a one-pixel pen, so we don't have to do it ourselves.
-Mon May 11 09:56:45 1998 Tim Janik <timj@gtk.org>
+1999-08-21 Tor Lillqvist <tml@iki.fi>
- * configure.in (cflags_set): preserve automake CFLAGS.
+ Improvements by Hans Breuer:
- * Makefile.am: fully rename the created libraries to libgtk-1.1.la
- and libgdk-1.1.la. this means we need to change certain portions of
- the Makefile.am on major/minor version bumps.
+ * gdk/win32/gdkwindow.c (RegisterGdkClass): New function
- * ltmain.sh: the -release option is not required anymore.
-
- * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
- of the first argument to be of type GtkObject. unconditionally compile
- this function. removed __GNUC__ dependancy of the gtk_object_ref and
- gtk_object_unref macro wrappers for this function.
+ * gdk/win32/gdkwindow.c (gdk_window_new): Use it. Don't set the
+ CS_?REDRAW flags as they cause lots of (late) redraws when "show
+ window contents while dragging" is turned on. Allocate at least
+ one unique class for every GdkWindowType. If support for single
+ window-specific icons is ever needed (eg. Dialog specific), every
+ such window should get its own class.
-Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
+1999-08-19 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkobject.h:
- * gtk/gtkobject.c:
- (gtk_object_data_try_key):
- (gtk_object_data_force_id): these are now macros substituting the old
- functions. we just use the corresponding g_dataset_* functions for
- key->id associations. (this is to assure unique key<->id associations).
+ * gdk/win32/gdkgc.c (gdk_gc_new_with_values): Fix a cut&paste
+ error that caused crashes.
-1998-05-10 Stefan Jeske <stefan@gtk.org>
+1999-08-17 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
- to gboolean.
+ * gdk/win32/gdkdraw.c (gdk_draw_pixmap): When blitting inside one
+ window, use ScrollWindowEx, and call UpdateWindow. This prevents
+ bugs when for instance part of the window was outside the
+ display. Thanks to Philippe Colantoni for finding and fixing this.
- * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.
+1999-08-16 Tor Lillqvist <tml@iki.fi>
-Sat May 9 20:11:20 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkdraw.c (gdk_draw_arc): Fix start and end radial
+ endpoint calculations which were totally wrong. (A little RTFMing
+ helps a lot ;-)
- * configure.in (LIBS): Try to figure out if this
- is Digital Unix and we need -std1 to get the
- right prototypes.
+ * gtk/makefile.{cygwin,msc}: Use libintl extracted from glibc
+ from a separate directory, not from gettext, because of licensing
+ issues (we want to use the LGPL version).
-Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
+ * README.win32: Mention the intl from glibc vs from gettext issue.
- * docs/gtk_tut_it.sgml: update of Italian tutorial
- translation from Daniele Canazza <dcanazz@tin.it>
+1999-08-13 Tor Lillqvist <tml@iki.fi>
-Sat May 9 02:34:41 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkevents.c (gdk_event_translate): Fix a couple of bugs
+ in the key event handling: Now AltGr chars work again. Also,
+ now Alt-digits are passed up as well as Control-digits.
+ Pass keypad plus and minus as normal plus and minus.
- * gtk/gtkfeatures.h.in: new file used as template for
- * gtk/gtkfeatures.h: new file to define macros indicating newly
- introduced features, such as GTK_HAVE_SIGNAL_INIT.
+Wed Aug 11 13:38:26 BST 1999 Tony Gale <gale@gtk.org>
- * gtk/gtksignal.c:
- (gtk_signal_emitv_by_name):
- (gtk_signal_emitv):
- new functions to emit signals with an already provided parameter set.
- (provided by Kenneth Albanowski <kjahds@kjahds.com>).
- (gtk_signal_real_emit): prototype changes, so this functions always
- gets its parameters and signal structure as arguments.
- (gtk_signal_emit): provide the signal structure and parameter list for
- gtk_signal_real_emit.
- (gtk_signal_emit_by_name): likewise.
+ * docs/gtkfaq.sgml: FAQ Update
-Sat May 9 00:03:12 1998 Tim Janik <timj@gtk.org>
+1999-07-25 Tor Lillqvist <tml@iki.fi>
- * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
- signal connections through unsetting GTK_CONNECTED.
- (gtk_signal_handler_insert): reflect the presence of signal connections
- through setting GTK_CONNECTED.
- (gtk_signal_real_emit): only check for handler emissions if the object
- has the GTK_CONNECTED flag set.
- (gtk_signal_handler_pending): don't check for pending handlers if the
- GTK_CONNECTED flag is not set for this object.
+ * README.win32
+ * config.h.win32: Add HAVE_WINTAB. Undefine it if bulding without
+ the Wintab SDK.
- * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
- a GtkObject has signal handler connections.
+ * gdk/win32/gdkinput.c: Hack some more. Still doesn't quite work
+ OK, but getting closer. Guard against bogus tilt data from Wacom
+ ArtPad II with the 3.40 driver. Add ifdefs for HAVE_WINTAB to
+ enable easier building without Wintab.
- * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
- set for this object call gtk_signal_handlers_destroy().
+ * gdk/win32/gdkinput.h
+ * gdk/win32/gdkevents.c
+ * gdk/win32/gdkwindow.c: Minor changes related related to above.
- * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
- multiple processing of macro args.
+ * gdk/win32/gdkvisual.c: Simplify a lot, remove leftovers from X11
+ code. As we have just one visual on Win32, no sense to have it in a
+ table, and no need for the hash table.
- * gtk/gtktypeutils.c:
- * gtk/gtkobject.c:
- * gtk/gtkwidget.c:
- * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
+ * gdk/win32/rc/cursor*.cur: Edit some of the cursors a bit to look
+ better on white background.
-Fri May 8 21:31:50 1998 Owen Taylor <otaylor@gtk.org>
+1999-07-21 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
- draw-queue when we are done.
+ * README.win32: Update gcc build instructions. Mention gettext is
+ GPL.
- (gtk_widget_queue_draw/_queu_resize): Always return
- FALSE and avoid having two idles at the same time.
-
-Fri May 8 21:04:00 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Get correct
+ supported cursor size with GetSystemMetrics.
- * gtk/gtktext.c: Various fixes to make sure cache
- lines are freed if line_start_cache doesn't point to the
- beginning of the cache.
+ * gdk/win32/gdkfont.c
+ * gtk/gtkfontsel.c: Guard against some font weight and charset
+ symbols being undefined (in mingw32 headers).
-Thu May 7 09:44:22 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/makefile.cygwin
+ * gtk/makefile.cygwin
+ * gtk/gtkthemes.c: No longer need to have differently named
+ gcc-built DLLs when using gcc-2.95 and -fnative-struct.
- * style_set improvements for GtkText and GtkEntry
+hu Jul 15 13:33:15 BST 1999 Tony Gale <gale@gtk.org>
-Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
+ * docs/gtkfaq.sgml: Long awaited FAQ update.
- * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
- been initialized.
+1999-07-15 Tor Lillqvist <tml@iki.fi>
-Thu May 7 12:52:45 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Implement
+ it. Obscure bit manipulation needed.
- * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
- data chunks through a global object data structure list. unlink
- object data before invoking its destroy function.
- (gtk_object_finalize): slight modification to allow usage of object
- data during object finalization.
+ * gdk/win32/gdkevents.c: Logging.
+
+ * gtk/gtkthemes.c (gtk_theme_engine_get): (Win32) Use new DLL naming
+ style (file name include compiler name) for theme engines.
-Thu May 7 10:29:24 1998 Tim Janik <timj@gtk.org>
+1999-07-13 Tor Lillqvist <tml@iki.fi>
- * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
- signal names, e.g. "signal-name" is now an alias for "signal_name".
- (gtk_signal_handler_new): allocate handlers through a global handler
- structure list, that's faster than memchunks.
- (gtk_emission_new): allocate emissions through a global emission
- structure list, that's faster than memchunks.
+ * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Less logging verbiage.
-Thu May 7 05:14:19 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkevents.c: Fix long-standing bug in key
+ events. The key.string wasn't zero-terminated, still we strdup'ed
+ it in gdk_event_copy(). Synthesize crossing events for button
+ events before possible propagation.
- * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+ * gdk/win32/gdkwindow.c: Log gdk_window_set_title.
- * ltmain.sh: added a new commandline flag -postfix similar to -release,
- but will immediately change the library name.
+ * gdk/win32/makefile.cygwin
+ * gtk/makefile.cygwin: Use new DLL naming style for the
+ GCC-compiled ones.
- * gdk/Makefile.am:
- * gtk/Makefile.am: specify -postfix and -version-info
+ * gdk/win32/makefile.msc
+ * gtk/makefile.msc: Cosmetics mostly.
- * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
- GTK_BINARY_AGE. calculate LT_* variables for libtool.
+ * gtk/gtk.def: Add missing entry points.
-1998-05-06 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gtk/gtksocket.c: Add dummy gtk_socket_get_type() for Win32.
- * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
- background (fg_set -> bg_set confusion).
+1999-07-09 Tor Lillqvist <tml@iki.fi>
-1998-05-06 Stefan Jeske <stefan@gtk.org>
+ * gdk/win32/gdkdraw.c (gdk_draw_arc): Don't draw anything if width
+ or height is zero. Don't print a warning if Pie or Arc fails, they
+ always fail (?) for very narrow ellipses.
- * gtk/testgtk.c (unselect_all): Removed code that caused an
- endless loop.
+ * gdk/win32/gdkdraw.c (gdk_draw_pixmap): Call InvalidateRgn for
+ the part or the destination window corresponding to source area
+ outside of the source drawable's boundary.
-Wed May 6 02:16:34 1998 Tim Janik <timj@gtk.org>
+ * gdk/win32/gdkdraw.c (gdk_draw_lines, gdk_draw_polygon): Don't do
+ anything if less than two points.
- * gtk/gtksignal.c: reimplemented the signal storage system to use a
- linear array rather than a hash table.
- be carefull *not* to keep any GtkSignal pointers across invokations
- of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
- general code cleanups, made all allocations through memchunks.
- (gtk_signal_lookup): we now do the lookup of signals through a key_id
- for the signal names to avoid multiple hashing of the signal name on
- lookups for the several hirarchy levels of an object.
+ * gdk/win32/gdkselection.c (gdk_selection_owner_get): Always
+ return NULL. Gtk cut-and-paste inside a single program works
+ better this way. (It always gets the clipboard contents from
+ Windows, not from its own copy, which is cleared anyway. I can't
+ say I fully understand what happens... Emulating the X selection
+ and property stuff is a bit of a mess.)
-Tue May 5 19:49:27 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkevents.c
+ * gdk/win32/gdkproperty.c: A bit more verbose logging.
- * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
- to speed things up and remove code duplication.
+ * gdk/win32/gdkregion.c: Fix some memory leaks (temporary regions
+ that never got deleted). Revamp gdk_region_shrink.
- Reintegrated buffer overflow patches, and added
- some extra paranoia.
-
-Tue May 5 17:04:14 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkregion.c: Fix memory leak, delete temporary regions
+ after use.
- * gdk/gdk.c (gdk_event_translate): A guint * was
- being passed where X expected a Keysym *, and
- keysyms are long's on Alpha Linux. This was causing
- segfaults in Xlib, apparently because of alignment.
- (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-
-Tue May 5 19:11:27 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtk.def: Add some missing entry points.
- * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
- set GDK_EXPOSURE_MASK for DrawingAreas
+ * gtk/gtkrc.c: Strip trailing directory separator from pixmap path
+ component.
-Tue May 5 14:32:37 1998 Owen Taylor <otaylor@gtk.org>
+1999-07-04 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
- (superceded by RC file reparsing capabilities)
+ * gdk/win32/gdkevents.c (gdk_event_translate): Handle
+ Control-digits specially.
- * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
- events. (Shouldn't be sent to the InputOnly leader, which
- it is now by gdk_event_send_clientmessage_toall
+1999-07-03 Tor Lillqvist <tml@iki.fi>
- * gtk/testgtk.c: Added extra button to rcfiles test
- to send out _GDK_READ_RCFILES events.
-
-Tue May 5 11:03:00 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/makefile.{cygwin,msc}: New pthreads version. Use gettext.
- * gtk/gtkselection.c (gtk_selection_clear): Fixed
- reversed conditionals that caused segfault on some
- platforms.
+1999-06-28 Tor Lillqvist <tml@iki.fi>
-Tue May 5 00:44:47 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
- * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
- cast to GTK_OBJECT for gtk_object_ref.
+1999-06-01 Jose H Mercado <jmercado@mit.edu>
-Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
+ * gtk+.spec.in: Corrected some typos in files section.
+
+1999-06-15 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
- checking for signal initialization in gtksignal.c.
+ * README.win32: Mention using GNU gettext.
+ * config.h.win32: Enable NLS stuff.
+ * gtk/makefile.msc: Use GNU gettext.
+ * gdk/win32/gdkdnd.c: Minor header reorg.
+ * gdk/win32/{gdkevents,gdkwindow}.c: No semantic changes, mainly
+ cosmetics.
+ * gtk/gtkrc.c (Win32): Make get_gtk_sysconf_directory() public.
+ * gtk/gtkmain.c (Win32): Use it in bindtextdomain() call.
- * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
- a long debugging period ;)
+Wed Jun 2 11:44:25 PDT 1999 Manish Singh <yosh@gimp.org>
-1998-05-05 Stefan Jeske <stefan@gtk.org>
+ * acinclude.m4
+ * config.guess
+ * config.status
+ * ltconfig
+ * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
- * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
- New function to wrap XSetDashes; modified gtkctree.c to use it.
+1999-05-30 Tor Lillqvist <tml@iki.fi>
-1998-05-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gdk/win32/gdkwindow.c: AdjustWindowRectEx2 renamed to
+ SafeAdjustWindowRectEx. Don't override all calls to
+ AdjustWindowRectEx by it, but use it only in two places: When
+ creating a new top-level window and when moving a top-level
+ window.
- * configure.in: Added $x_libs in the other_libraries field in the
- check for XShapeCombineMask.
+ Use screen coordinate rectangle, not client rectangle, in
+ gdk_window_move. Thus SafeAdjustWindowRectEx will do its job only
+ when we try to place a window so that the decoration (mainly,
+ title bar) isn't visible.
-Mon May 4 00:30:11 1998 Tim Janik <timj@gtk.org>
+ These changes fix the bug that showed up for instance as the
+ GIMP's saved top-level windows moving right and down (by an amount
+ equal to the window decoration) for each session. This bug showed
+ up also in testgtk's "Saved Position".
- * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
- gtk_type_is_a().
- * gtk/gtktypeutils.c: reimplemented the type storage system to use a
- linear array rather than a hash table. it actually speeded up testgtk
- for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
- pointers across invokations of gtk_type_node_next_and_invalidate() and
- therefore gtk_type_unique()!
+ gdk_window_resize also redone a bit.
- * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
- inheritance of a class pointer.
- (GTK_OBJECT): modifications for speedups.
- (GTK_IS_OBJECT): likewise.
- (GTK_OBJECT_CLASS): likewise.
- (suggested by owen).
+1999-05-25 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
+ * gtk/testgtkrc: Add (commented out) Windows-style theme
+ include line.
- * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
+ * gdk/win32/gdk.def,gtk/gtk.def: Add some missing entry points.
- * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
- since its derivation changed 4 month ago ;(. showed up with the unique
- type name checking code in gtk_type_unique().
+1999-05-18 Tor Lillqvist <tml@iki.fi>
- * random guint->GtkType and macro fixups.
+ * gdk/win32/makefile.{cygwin,msc}: Copy our gdkprivate.h and
+ gdkx.h to a gdk subdirectory, so that applications can include
+ these with <gdk/*.h> without trouble.
-Sat May 2 23:14:34 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/gdkimage.c (gdk_image_new_with_depth): Code simplified.
+ (gdk_image_destroy): Plug resource leak, some GdkImages didn't
+ have their bitmap destroyed.
- * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
- Configure events that would result in a negative
- size.
+ * gdk/win32/gdk.def: Add gdk_root_parent.
-Sun May 3 14:55:34 1998 Owen Taylor <otaylor@gtk.org>
+Wed May 12 03:00:56 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
- * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
- "glibconfig.h" and another about writing another IRC
- client.
+ * configure.in
+ gtk-config.in
+ ltconfig
+ ltmain.sh
+ gtk/Makefile.am: changes to compile nicely (with xlib)
+ on BeOS
-Sat May 2 00:14:05 1998 Owen Taylor <otaylor@gtk.org>
+Sat May 1 15:04:42 PDT 1999 Manish Singh <yosh@gimp.org>
- * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
- parameters to log are doubles. Digital Unix apparently
- is missing the argument in its prototype.
+ * acinclude.m4
+ * config.guess
+ * config.sub
+ * ltconfig
+ * ltmain.sh: upgrade to libtool 1.3
-Sun May 3 19:04:46 1998 Owen Taylor <otaylor@gtk.org>
+Fri Apr 30 13:38:16 1999 Lars Hamann <lars@gtk.org>
- * gtk/gtklabel.c (gtk_label_state_changed): Don't
- force a clear until the widget is actually on
- screen.
+ * gtk/gtkclist.c:
+ * gtk/gtkctree.c: merges from gtk-1-2
-Sun May 3 21:32:35 1998 Owen Taylor <otaylor@gtk.org>
+1999-04-25 Tor Lillqvist <tml@iki.fi>
- * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
- to make this consistent with the gtk-1-0 tree.
+ Support added for building using a GNU toolchain on Win32,
+ gcc -mno-cygwin (egcs-1.1.2) on cygwin-b20.1.
-Sun May 3 13:38:22 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/win32/makefile.cygwin gtk/makefile.cygwin: New files.
+ * config.h.win32: Changes for gcc.
+ * gdk/gdkrectangle.c: Include gdk.h as <gdk/gdk.h>.
+ * gdk/gdkcolor.c: config.h.win32 already defines strcasecmp.
+ * gdk/win32/gdkconfig.h: Only the MS compiler has wctype.h.
+ * gdk/win32/gdkdnd.c: Protect (unused) OLE2 stuff better.
+ Protect shl stuff unavaiilable with mingw32 headers.
+ * gdk/win32/gdkevents.c: Fix typo.
+ * gdk/win32/gdkglobals.c: Use GDKVAR here also for gcc.
+ * gdk/win32/gdkim.c: Use OEM code page for multibyte chars. (?)
+ * gdk/win32/gdkinput.c: Use __try __except only with the MS compiler.
+ * gdk/win32/gdkprivate.h: Make up for some stuff missing from
+ the mingw32 headers.
+ * gdk/win32/makefile.msc: Use latest Wintab kit and glib.
+ * gtk/gtkfilesel.c: Include <glib.h> early, to get stat->_stat
+ definition on Win32. Test for NATIVE_WIN32, not _MSC_VER.
+ * gtk/gtkfontsel.c: Protect CHARSET redefinition on Win32.
+ Test for NATIVE_WIN32, not _MSC_VER.
+ * gtk/gtkmain.c: No use warning about developer version on Win32,
+ there aren't any non-developer versions anyhow.
+ * gtk/gtkrc.c: Test for NATIVE_WIN32, not _MSC_VER.
+ * gtk/makefile.msc: Use pthread from another directory. Minor other
+ changes.
- * configure.in acheader.h gdk/gdkwindow.c
- Check for Shape extension both on the client and server
- side. (And, more importantly, check for the shape extension
- so we may include -lXext even when compiling with --disable-xshm)
+Wed Apr 21 14:20:22 1999 George Lebl <jirka@5z.com>
- Don't set override_redirect on all shaped windows. It isn't
- necessary.
+ * gdk/gdkwindow.c: (gdk_window_remove_filter) correctly remove the
+ default filter from the list
- * gdk/gdkwindow.c: Set ->colormap to NULL for root
- and foreign windows. Use this to check if we
- need to get the colormap from X.
+Mon Mar 8 12:52:53 1999 Owen Taylor <otaylor@redhat.com>
-Fri May 1 22:32:47 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtkwidget.c (gtk_widget_grab_default): Add a warning
+ when gtk_widget_grab_default() is called for a widget that
+ is not within a GtkWindow.
- * gtk/gtkbutton.c (gtk_button_paint): Draw the areas
- between the default and the button always in GTK_STATE_NORMAL.
+Sat Apr 10 13:52:54 BST 1999 Tony Gale <gale@gtk.org>
- * gtk/gtkrange.c (gtk_range_style_set): Added a style_set
- callback.
+ * docs/gtk_tut.sgml, examples/clist.c: use a
+ scrolled window in the clist example. Minor
+ tutorial fixes.
-Fri May 1 16:40:57 1998 Owen Taylor <otaylor@gtk.org>
+Fri Apr 2 09:19:20 BST 1999 Tony Gale <gale@gtk.org>
- * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
- Fix a buffer overflow on pixmaps that claim to have
- more than 31 characters per pixel.
+ * docs/gtk_tut.sgml: Style check from David King
+ <dking@youvegotmail.net>
- (gdk_pixmap_read_string): Don't wrap around strings longer
- than half of address space ;-)
+1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
- * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
- that were used for printing integers.
+ * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
+ compile with unknown value of GDK_WINDOWING
- * */* (almost):
+1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
- Style: All
- int foo () { ... }
- changed to
- int foo (void) { ... }
+ * gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists
+ after the rule is fired.
+ (install-exec-local): Install gdkconfig.h only if the contents are
+ different from the currently installed gdkconfig.h.
- Even where there were proper prototypes elsewhere.
+1999-03-26 Raja R Harinath <harinath@cs.umn.edu>
- * gdk/gxid.c (handle_claim_device): Some extra checks.
- It isn't safe against being fed bad X id's, but at
- least it should be safe against deleting all your
- files.
+ * gdk/Makefile.am (configexecincludedir): Rename from
+ configincludedir so that gdkconfig.h will be installed
+ as part of `make install-exec'.
-Sun May 3 19:45:09 1998 Tim Janik <timj@gtk.org>
+Fri Mar 19 16:50:33 PST 1999 Manish Singh <yosh@gimp.org>
- * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
- to set the adjustments value when there is no current emission.
- [ Removed by mutual agreement owt 5/3/1998 ]
+ * acinclude.m4
+ * config.guess
+ * config.sub
+ * ltconfig
+ * ltmain.sh: upgrade to libtool 1.2f
- * gtk/gtksignal.c: added new functions to retrive the number of
- existing emissions for a certain signal.
- (gtk_signal_n_emissions): new function.
- (gtk_signal_n_emissions_by_name): new function.
+ * autogen.sh: libtool is not required to autogen gtk+
-Sun May 3 16:55:43 1998 Tim Janik <timj@gtk.org>
+ * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
+ needed)
- * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
- set the current focus_child of a container, does proper referencing and
- adjusts the vadjustment/hadjustment associated with the focus widget.
+1999-03-18 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
- containers via gtk_container_set_focus_child.
+ * gdk/gdktypes.h: Merge in Win32 version: Define macro GDKVAR for
+ declaring gdk variables exported/imported from the DLL. New image
+ type enum, GDK_IMAGE_SHARED_PIXMAP, for gdk_imlib. New drag and
+ drop protocol enums, GDK_DRAG_PROTO_WIN32_DROPFILES and
+ GDK_DRAG_PROTO_OLE2.
- * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
- where appropriate.
+ * gdk/gdk.h: Merge in Win32 version: Two new functions,
+ gdk_pixmap_create_on_shared_image and gdk_image_bitmap_new. So far
+ declared only for the Win32 version, but could be in the X11
+ version as well. (Needed for a Xlib-less gdk_imlib.)
+ gdk_color_hash should have only one parameter. Declare
+ gdk_threads_mutex with GDKVAR.
+
+ * gdk/gdkcolor.c (gdk_color_hash): A hash function should have
+ just one parameter.
- * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
- child since not every child removal goes through this function (this
- showed up after gtk_container_set_focus_child() started to reference the
- focus_child of a container).
+ * gdk/gdkimage.c (gdk_image_get): Initialize bpp correctly. Bytes
+ per pixel, not bits.
- * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
- of a container from gtk_container_remove into this place.
+ * gdk/gdkrgb.c: Mingle includes somewhat. (gdk_rgb_select_conv):
+ Fetch bpp (which means bits-per-pixel here) from another place on
+ Win32. Accept also depth==32 (which we might get on Win32) with
+ bpp==32.
-Sat May 2 22:33:45 1998 Tim Janik <timj@gtk.org>
+ * gtk/{gtkclist,gtkctree,gtkdnd,gtkditable,gtkfontsel,
+ gtkhandlebox,gtklayout,gtkmain,gtkplug,gtkpreview,gtkrc,
+ gtkselection,gtksocket,gtkstyle,gtkwidget,gtkwindow}.c:
+ Include gdx.h from "gdkx.h", not "gdk/gdkx.h", as gdkx.h will be
+ in the backend-dependent directory, not in the common gdk
+ directory.
- * gtk/gtksignal.c: added new functions to operate on intermediate
- function pointers. implemented incremental blocking.
- (gtk_signal_disconnect_by_func): new function.
- (gtk_signal_handler_block_by_func): new function.
- (gtk_signal_handler_unblock_by_func): new function
+ * gtk/testgtk.c: Ditto. Also, don't use ../gdk path to gdk
+ headers.
-Fri May 1 22:45:55 1998 Owen Taylor <otaylor@gtk.org>
+Wed Mar 17 05:06:49 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
- Always show the scrollbars when the policy is
- GTK_POLICY_ALWAYS...
+ * gtk/gtkmain.c (gtk_init_check): tell people that they don't really
+ want to use the Gtk+ devel version (which is true, and yes - even i am
+ currently working with the 1.2.x branch). so everyone reading this, you
+ probably want to issue
+ cvs checkout -r glib-1-2 glib
+ and
+ cvs checkout -r gtk-1-2 gtk+
+ as your next two comands.
-Sat May 2 20:19:03 1998 Tim Janik <timj@gtk.org>
+Wed Mar 17 02:49:32 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
- "value_changed" if we really passed a new value.
- (gtk_adjustment_changed): new function to emit the "changed" signal.
- (gtk_adjustment_set_value): new function to emit the "value_changed"
- signal.
+ * configure.in: build gtkcompat.h from gtkcompat.h.in instead of
+ gtkfeatures.h from gtkfeatures.h.in, require GLib 1.3.0.
-Fri May 1 12:28:35 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtkcompat.h.in: combined gtkcompat.h and gtkfeatures.in in this
+ file. strongly deprecated the GTK_HAVE_* macros, we provide
+ GTK_CHECK_VERSION() for people that need to check for certain
+ Gtk+ versions.
- * gtk/gtkcombo.c: Further changes to the way the window
- is popped up so that it will be compatible with
- auto-scrolling in the future.
+ * gtk/gtkcompat.h: removed this from CVS.
+ * gtk/gtkfeatures.h.in: removed this from CVS, gtkfeatures.h was a bad
+ idea right from the start, it just didn't seem like that back then.
-Fri May 1 20:25:29 1998 Tim Janik <timj@gtk.org>
+Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
- the combo-list is empty since that will cause the combo to operate
- on a non existing GtkList window.
- (gtk_combo_get_pos): provide the combo list with a usfull default
- height if empty.
- (gtk_combo_popup_button_press): grab the focus.
- (gtk_combo_activate): grab the focus.
+ * merges from gtk-1-2:
-Fri May 1 12:06:43 1998 Owen Taylor <otaylor@gtk.org>
+Tue Mar 16 17:43:33 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
- function to reset the RC styles for a heirarchy
+ * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_string): ensure the
+ item factory class has been created.
+ (gtk_item_factory_parse_rc): likewise.
- Clear the window background if necessary in
- gtk_window_style_set.
+ * gtk/gtkmenu.c:
+ keep proper references for old_active_menu_item.
+ (gtk_menu_reparent): unset the usize of the new parent,
+ so the menu can sanely be size requested and we don't get nasty screen
+ artefacts upon next reparentation.
+ (gtk_menu_motion_notify): set send_event to TRUE if we synthesize an
+ enter notify. only synthesize enter notifies if the pointer really is
+ inside the event window.
+ (gtk_menu_popdown): use gtk_menu_shell_deselect().
+ (gtk_menu_popup): move the background setting stuff into
+ gtk_menu_tearoff_bg_copy() so it can be called from other places as well.
+
+ * gtk/gtkmenushell.c (gtk_menu_shell_button_press): use
+ gtk_menu_shell_select_item() to select the new item.
+ (gtk_menu_shell_deselect): export this function, so gtkmenu.c can
+ do the right thing for deselection as well.
+
+Sat Mar 15 20:10:33 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkwidget.[hc]:
+ (gtk_widget_accelerators_locked): return whether a widget's accelerators
+ are locked.
+
+ * gtk/gtkmenu.c (gtk_menu_key_press): don't remove or install new or
+ existing accelerators if the widget's accelerators are locked.
+
+Sat Mar 14 19:44:05 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkitemfactory.[hc]: allow managing of foreign menu items.
+
+ * gtk/gtkmenu.c: truely forward key press and key release events to
+ the menu widget from the toplevel or tearoff window. we can't simply
+ connect to that, we need to stop further processing of the events as
+ well.
+
+Sat Mar 13 13:14:17 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmenu.c:
+ (gtk_menu_key_press): pass event->keyval, event->state to
+ gtk_accelerator_valid, instead of event->keyval twice.
+ refuse to install single letter accelerators for menus that use
+ single letter shortcuts.
+
+ * gtk/gtkitemfactory.c (gtk_item_factory_create_item): use
+ gtk_menu_ensure_uline_accel_group().
+
+ * gtk/gtkmenu.[hc]: added gtk_menu_ensure_uline_accel_group()
+ which will always return an uline accel group, made
+ gtk_menu_get_uline_accel_group() return NULL if the group isn't
+ yet created.
+
+Mon Mar 15 01:03:27 1999 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtkclist.h (struct _GtkCListColumn): added button_passive flag.
+
+ * gtk/gtkclist.c (gtk_clist_column_title_passive):
+ Leave button sensitive, trap button_press, button_release,
+ motion_notify, enter_notify and leave_notify events instead.
+ (gtk_clist_column_title_active): disconnect event handler.
+ (gtk_clist_drag_data_get): fixed memory leak. Reported by
+ Guillaume Laurent <glaurent@worldnet.fr>
+
+Wed Mar 10 23:49:55 1999 Lars Hamann <lars@gtk.org>
+
+ * gtk/gtklayout.c (gtk_layout_adjustment_changed): fixed a few
+ width/height mixups.
+
+ * gtk/gtkctree.c (tree_delete): emit an tree_unselect_row signal
+ if needed.
+
+Wed Mar 10 00:11:32 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/testgtk.c (create_item_factory): unref the item factory after
+ window's destruction.
+
+ * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): keep a reference
+ count on the menu shell around the menu item's activation, since the
+ signal emission may cause menu shell destruction.
+
+ * gtk/gtkitemfactory.c:
+ the previous code leaked one accel group per menu. we use
+ gtk_menu_get_uline_accel_group() now to fix that, and with that
+ also create the underline accelerator group of the menus only if
+ required (i.e. an underline accelerator has been specified).
+ (gtk_item_factory_construct):
+ (gtk_item_factory_create_item): removed code that would create an
+ extra accel group for the menu (and leak references).
+ (gtk_item_factory_create_item): adapted the underline accelerator
+ installation code to properly feature gtk_menu_get_uline_accel_group().
+
+ * gtk/gtkmenu.[hc]: added gtk_menu_get_accel_group() to retrive
+ menu->accel_group, this may return NULL if the accelerator group
+ hasn't been set yet.
+ added gtk_menu_get_uline_accel_group() to retrive the underline
+ accelerator group of the menu, this will be created on demand
+ and proper care is taken about its reference count.
+
+ * gtk/gtkitemfactory.h:
+ * gtk/gtkitemfactory.c:
+ dumped the approach of keeping a widgets by action list on the
+ factory since the factory<->widget destroy negotiation didn't work
+ and would be hard to get going at all. instead we keep a list of
+ GtkItemFactoryItem items on the factory (GtkItemFactoryItems are
+ persistant throughout a program's life time).
+ also, i removed the static const gchar *key_* variables, and made
+ them inline strings (they weren't actually used anyways).
+ (gtk_item_factory_add_item): update ifactory->items.
+ (gtk_item_factory_destroy): destroy ifactory->items (and remove
+ the item factory pointer from the remaining ifactory widgets).
+ (gtk_item_factory_get_widget_by_action): walk the GtkItemFactoryItem
+ list to find the widget.
+ (gtk_item_factory_get_item): new function that works around
+ gtk_item_factory_get_widget() limitations, this function will only
+ return menu items, even for <Branch> entries.
+
+Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
- rereads all previously read RC files.
+ * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
+ font hash table, if we have a GdkFontPrivate entry for this font
+ already, simply increment its reference count, provided by Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>.
+
+ * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
+ provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
+
+Sun Mar 7 06:13:29 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkcontainer.c:
+ (gtk_container_add_with_args):
+ (gtk_container_addv):
+ (gtk_container_add): before adding a child to a conatiner, make sure
+ it is (default) constructed, this is neccessary because under certain
+ circumstances the child will get relized and mapped immediatedly, in
+ which case it has to be constructed already.
+
+Mon Mar 1 17:58:21 1999 Tim Janik <timj@gtk.org>
+
+ * gtk/gtksignal.c (gtk_signal_connect_by_type): count object_signal
+ values > 1 as TRUE also.
+
+1999-03-16 Tor Lillqvist <tml@iki.fi>
+
+ * README.win32: New file.
+
+ * configure.in: Check for lstat.
- * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
- (Should it just be called gdk_get_toplevels?)
+ * config.h.win32: Add non-definition of HAVE_LSTAT, just for
+ completeness.
- * gtk/testgtk.c: New test to reload RC files.
+ * gtk/gtkrc.c: If don't HAVE_LSTAT, use stat.
-Fri May 1 13:57:36 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtk.def: Removed CRs.
- * gtk/gtkclist.h:
- * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
- clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
- GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
- the GTK_ prefix (this solution involved less changes in the
- gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
- the mem_chunk==NULL test in gtk_clist_construct. merged in changes
- from lars & stefan to support the derivation of GtkCtree.
-
- * gtkctree.h:
- * gtkctree.c:
- initial import of a tree widget derived from gtkclist, courtesy
- of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
- it just damn rocks!
+ * gtk/makefile.msc: Correct include path to Win32 GDK version (in
+ ..\gdk\win32).
-Fri May 1 10:05:44 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
- for us.
- (gtk_list_insert_items):
- (gtk_list_remove_items_internal):
- (gtk_list_clear_items):
- remove a possible pointer grab, we might get thrown into a loop
- otherwise.
- (gtk_list_button_press): grab the pointer *before* selecting the child,
- because selection of items may cause the lists children to change,
- resulting in a grab release.
- (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
- children.
- (gtk_list_shutdown): remove all children from the list.
- (gtk_real_list_unselect_child):
- (gtk_real_list_select_child): *always* put our internal structures into
- sane state *before* signal emisions (i.e. list->selection updates prior
- to gtk_list_item_[de]select() calls).
-
- * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
- focused child walks out of the window.
- removed CAN_FOCUS for the combo arrow's button since it doesn't react
- to keyboard events ("clicked" connection is missing).
-
-Fri May 1 00:42:25 1998 Owen Taylor <otaylor@gtk.org>
-
- * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
- getting colormap for FOREIGN windows to go along with
- Raster's fix for visuals.
-
-Merges from gtk-1-0
-===================
+ * gdk/win32/makefile.msc: Correct upwards relative paths.
-Thu Apr 30 23:32:51 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
- Check to catch the case when the viewport fits in either
- direction or both, instead of flip-flopping infinitely.
-
- Only show/hide the scrollbars once at the end.
-
-Thu Apr 30 21:56:07 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach):
- Include the scrollbars in the foreach call.
- (gtk-fortier-980405-0.patch;
- Patrice Fortier <Patrice.Fortier@aquarel.fr>).
+Mon Mar 15 03:38:34 1999 George Lebl <jirka@5z.com>
- The notebook widget
- really should also include its tabs, but that might cause
- problems for programs if they
+ * gtk/gtkdnd.c: (gtk_drag_highlight) swap the
+ gtk_drag_highlight_expose and gtk_drag_highlight_paint since
+ it was connecting a void function to expose_event and the int
+ returning function to the draw signal
-Thu Apr 30 21:51:52 1998 Owen Taylor <otaylor@gtk.org>
+1999-03-14 Jeff Garzik <jgarzik@pobox.com>
- * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
- resize if the size actually changed.
- (gtk-johannes-980414-0.patch ;
- johannes@nada.kth.se (Johannes Keukelaar) )
-
-Thu Apr 30 10:22:59 1998 Owen Taylor <otaylor@gtk.org>
-
- * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
- ltmain.sh ltconfig config.sub config.guess:
-
- Reverted back to libtool-1.2 (plus minor patches) so as not to
- force the issue for everyone else.
+ * configure.in:
+ Use correct path to libgmodule.la when ref'ing uninstalled copy
+ of glib. (Already in stable branch, Bug #417)
-Thu Apr 30 10:22:59 1998 Owen Taylor <otaylor@gtk.org>
+1999-03-15 Tor Lillqvist <tml@iki.fi>
- * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
- Updated to libtool 1.2a.
+ Win32 merge and general portability stuff:
+
+ * acconfig.h,configure.in: Check for <sys/time.h>.
- * gtk/gtkclist.c: Draw the in-between lines with style->base
- instead of style->white.
+ * gdk/win32: New directory (actually, been there for a while).
-Wed Apr 29 15:46:13 1998 Owen Taylor <otaylor@gtk.org>
-
- * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c:
- Cache the colormap and children of a window locally
- instead of fetching them from the server when needed.
- Huge performance difference for creating/destroying
- windows.
-
- * gtk/gtkstyle.c: Find the depth from the cached
- visual, instead of asking the server.
+ * gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
+ NATIVE_WIN32, and use these. Always case fold on Win32. No
+ backslashed escapes on native Win32.
- * gtk.m4: Distribute the new version which tries to
- figure out what went wrong and give helpful error
- messages.
+ * gtk/{gtk.def,makefile.msc}: New files.
- * ltmain.sh ltconfig config.sub config.sh:
- Updated to libtool 1.2a
-
- * gtk/gtktext.c: Fixed a bug where the drawn level
- was being messed up when the text was scrolled
- during a deletion.
+ * gtk/Makefile.am: Add above new files.
-Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkfilesel.c: don't die when naughty people remove parts of
- the filesystem under you (fix from Josh)
-
-Thu Apr 30 09:49:14 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
- if the viewport already exists before iterating over it, maybe we
- haven't been constructed yet.
+ * gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
+ instead of <strings.h>.
-Thu Apr 30 01:51:00 1998 Tim Janik <timj@gtk.org>
+ * gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
+ config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
+ <unistd.h> appropriately.
- * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
- the GtkBin widget already has a child.
-
- * gtk/gtkbox.c (gtk_box_pack_{start|end}):
- check that child->parent == NULL;
-
-Tue Apr 28 22:13:54 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkselection.c (gtk_selection_clear): Only return
- FALSE when the clear event is been rejected, not when
- widget has already lost the selection. (Which should
- only happen when we are setting the selection to another
- widget ourself.)
+ * gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
+ Use ABS() (from <glib.h>) instead of abs().
-Fri Apr 24 19:07:32 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
+ * gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
+ of gtk (and thus glib) headers, so that WIN32 will be
+ defined. With MS C, include <direct.h> for mkdir prototype.
- Removed the "check visibility after gtk_widget_unparent" bug
- in hopefully the last three places.
+ * gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
+ some casts, needed by MS C.
-Tue Apr 28 15:46:41 1998 Tim Janik <timj@gtk.org>
+ * gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
+ implemented).
- * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
- rc-files.
+ * gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
+ <X11/Xlocale.h> only on X11 platform, otherwise <locale.h>. Use
+ G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
-Mon Apr 27 15:11:52 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
- for CAN_FOCUS widgets.
+ * gtk/gtkmain.h: Mark variables for export/import on Win32.
+
+ * gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
+ the event is not a hint, or its window is not the slider. Needed
+ on Win32, at least.
- * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
- adjustments for the table.
- (create_list): feature automatic adjustment of the scrolled window to
- always contain the focused child.
- (create_main_window): keep the focussed button always inside of the
- scrolled windoww.
+ * gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
+ unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
+ G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
+ a subdirectory of the Windows directory as gtk system
+ configuration directory.
- * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
- adjustments, to contain the allocation of the currently focused child.
- (gtk_container_set_focus_hadjustment): new functin to set the
- horizontal focus adjustment.
- (gtk_container_set_focus_vadjustment): new functin to set the vertical
- focus adjustment.
+ * gtk/gtkselection.c: No chunks on Win32.
- * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
- clamp the currents adjustment page into a specific range.
+ * gtk/gtksocket.c: Not implemented on Win32.
- * random GtkType fixups for gtk_*_get_type() functions.
+ * gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
-Fri Apr 24 18:37:16 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/makeenums.h: Include gdkprivate.h after gdk.h.
- * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree):
- Account for the fact that gtk_tree_item_remove_subtree
- will be called recursively.
+ * gtk/maketypes.awk: Declare variables with a macro that expands to
+ necessary export/import magic in the case of Win32.
+
+ * gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
- Handle removing a collapsed subtree.
+1999-03-13 Raja R Harinath <harinath@cs.umn.edu>
- (From Andy Dustman <adustman@comstar.net>)
-
- * gtk/gtktree.c (gtk_tree_remove_items): Look for the
- root tree when removing items from a non-previously
- mapped tree.
+ * configure.in (gdk_wc): Move widechar tests from `glib' to here,
+ since those were meant only for gdki18n.h.
+ * gdk/gdki18n.h: Include gdkconfig.h and use GDK_* instead of G_*
+ for widechar tests.
+ * gtk/Makefile.am (INCLUDES): Add -I../gdk for gdkconfig.h.
- * gtk/testgtk.c: Added a remove_subtree button.
-
-Thu Apr 23 23:44:17 1998 Owen Taylor <otaylor@gtk.org>
+1999-03-13 Tor Lillqvist <tml@iki.fi>
- * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
- before object removing data. This change fixes a bug where
- removing the last weak references would cause it to be
- triggered.
+ * configure.in acconfig.h: Check for dirent.h and pwd.h. Generate
+ gdk/gdkconfig.h using similar mechanism as GLib's glibconfig.h.
-Wed Apr 15 20:42:46 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk-config.in: Add @libdir/gtk+/include (where gdkconfig.h is
+ installed) to CFLAGS.
- * gdk/Makefile.am: Removed mostly useless dependency that
- was causing problems for SGI's make, when used with
- the 'make dist' form of GTK+. (Dependency caused dependencies
- to be redone when BUILT_SOURCES changed)
+ * gdk/Makefile.am: Add rules for gdkconfig.h.
-Thu Apr 30 11:18:00 1998 Owen Taylor <otaylor@gtk.org>
+ * gdk/gdktypes.h: Include gdkconfig.h. Define macros for windowing
+ APIs.
- * gtk/gtkcombo.[ch]: Allow the user to use the popup list
- like a menu.
+ * gdk/gdkfontsel.c: Don't include Xlib.h, it gets included via
+ gdkx.h anyway when compiling for X11.
+ (gtk_font_selection_create_xlfd): Use g_strdup_printf. (In
+ general): Merge in Win32 version.
- * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
- to gtkitem.c so dragging can also work in lists.
-
- * gtk/gtklist.[ch]: Track child enter events and use
- those to allow dragging the selection.
-
-Thu Apr 30 11:16:06 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtktext.c: Try enabling background pixmaps for editable text
- widgets. There is a bit of flashing, but not too bad. If you
- don't want the flashing, you can always not set a background
- pixmap.
+ * gtk/gtkfilesel.c: Use g_get_current_dir(). Merge in Win32
+ version: Use G_DIR_SEPARATOR, g_path_is_absolute, no tilde
+ expansion (if we don't have HAVE_PWD_H), allow for drive
+ letters. UNC paths (\\server\share\...) are not handled yet. Also,
+ included code from Craig Setera's port to Win32 (the one that uses
+ X11, and the cygwin dll), even if it probably will be abandoned.
-Wed Apr 29 15:46:13 1998 Owen Taylor <otaylor@gtk.org>
-
- * gtk/gtktext.c: Fixed a bug where the drawn level
- was being messed up when the text was scrolled
- during a deletion.
+ * gtk/gtkfilesel.c: Don't append a * to the pattern to complete if
+ the user entered one herself. This way one can complete *.h and
+ don't get matches on any .help files, for instance.
-1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
- bug: There is no need to set the ExposureMask in the XGrabPointer
- (this caused DnD programs to crash).
-
-Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
-
- * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
- field to be of type guint.
- * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
- ref_count>0;
- (gtk_accelerator_table_install): keep a per object list of accelerator
- tables that refer to this object.
- (gtk_accelerator_table_remove): remove the accelerator table from the
- per object list.
- (gtk_accelerator_table_clean): warn if there are any object references
- left in an accelerator table upon destruction.
- (gtk_accelerator_tables_delete): new function to delete object
- references from the accelerator tables associated with this object.
+Tue Mar 9 01:01:28 1999 Tim Janik <timj@gtk.org>
- * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
- GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
- of an accelerator can be prevented by gtk_signal_emit_stop().
- (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
- so there are no stale pointers in accelerator tables left.
+ * gdk/gdkfont.c (gdk_font_load): first lookup the xfont ID in our
+ font hash table, if we have a GdkFontPrivate entry for this font
+ already, simply increment its reference count, provided by Olaf Dietsche
+ <olaf.dietsche+list.gtk@netcologne.de>.
-1998-04-22 Federico Mena Quintero <federico@nuclecu.unam.mx>
+ * gtk/gtkstyle.c (gtk_style_copy): plug a GdkFont reference leak, fix
+ provided by Olaf Dietsche <olaf.dietsche+list.gtk@netcologne.de>.
- * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
- visible before we unparent it.
+1999-03-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
-Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkstyle.c (gtk_default_draw_handle): Significantly reduced
+ the number of calls to gdk_draw_point() (and thus to X) by
+ clipping the points by hand.
- * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
- running_timeouts list with the tmp_list link itself, not with a new
- GList structure pointing to our link. that would fill up memory and
- causes the GList.data fields of the running_timeouts list to point to
- GList structures and not GtkTimeoutFunction structures which is a
- *really* bad thing.
- (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
- the above entry ;).
+ * gtk/gtkhandlebox.c (draw_textured_frame): Actually make use of
+ the clip parameter.
+ (gtk_handle_box_paint): Only paint the handle if the expose area
+ intersects it.
-Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
+Sun Mar 7 18:46:37 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
- * gtk/gtkradiomenuitem.h:
- * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
- ala gtk_radio_button_set_group.
- (gtk_radio_menu_item_init): assure that we always have at least a group
- that points to self.
+ * gtk/gtkmain.c (add_dll_suffix): Add this function (OS/2 ver.)
- * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
- added g_return_if_fail() statements.
- (gtk_radio_button_init): assure that we always have at least a group
- that points to self.
+Sun Mar 7 11:43:34 1999 ape@spacetec.no (Asbjorn Pettersen)
-Fri Apr 17 03:05:05 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkthemes.c (gtk_theme_engine_get): Add OS/2 changes.
+ Added function gen_8_3_dll_name(gchar *name, gchar *fullname).
- * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
+Fri Mar 5 09:12:24 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen)
-Wed Apr 15 05:13:09 1998 Tim Janik <timj@gtk.org>
+ * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc): Open file in
+ textmode (O_TEXT) for OS/2 version.
- * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
- (Damon Chaplin), which i got wrong when applying Damon's patch the last
- time.
+Sun Feb 28 16:46:02 1999 Stefan Jeske <stefan@gtk.org>
-Wed Apr 15 20:42:46 1998 Owen Taylor <otaylor@gtk.org>
+ * gtk/gtkspinbutton.[c,h] gtk/testgtk.c: Added two new signals to
+ GtkSpinButton, "input" and "output", to make the output more flexible.
+ The user has to provide a mapping between adjustment->value and the
+ output string (and vice versa, if the spin button is editable).
+ See testgtk for examples.
- * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
- that when we are running with a non-installed colormap,
- in 8-bit pseudo-color, we actually are using the system
- visual. (Fixes *Bad Match* errors on Digital Unix machines
- with multiple 8-bit pseudo-color visuals)
+Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
-1998-04-14 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
- by whoever thought that randomly changing ints to unsigned int
- without reviewing the code was a good idea. It is, btw not
- mentioned in the ChangeLog as usual, but I know it was not Elliot
- the culprit this time.
-
-Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
-
- * Released GTK+ 1.0.0
+ * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
+ new one.
+
+ * configure.in: set gtk+ version to 1.3.0.