]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
new file to explain how the code examples should be extracted from the
[~andy/gtk] / ChangeLog.pre-2-10
index f760a0c22ea61efea6e2790474168933a081f8d4..751d04b609bfdf1dbc2146d9936782c45c914d32 100644 (file)
@@ -1,3 +1,484 @@
+Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>
+
+       * examples/README.1ST: new file to explain how the
+         code examples should be extracted from the tutorial.
+
+Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
+
+       * 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
+
+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.
+
+       * 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.
+
+Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
+         from argv.
+
+Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * 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.
+
+Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * 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>)
+
+Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkeditable.[ch]: Added action signals for keyboard
+         bindings. (move_cursor, kill_word, etc, etc, etc). 
+
+          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.
+
+Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>
+
+       Patches from Damon Chaplin <DAChaplin@email.msn.com>:
+
+        gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
+            parent class to GtkNotebookClass when splitting the widget in
+            two.  Also updated some comments.
+
+        gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
+               button without a font selected.
+
+             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/testgtk.c: Fixed problem when 'OK' button is pressed - it was
+            destroying the GtkFontSelection instead of the
+             GtkFontSelectionDialog.
+
+Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
+         flag to make all warnings fatal errors.
+
+       * gtk/testthreads.c: moved <pthreads.h> include inside 
+         #ifdef USE_PTHREADS
+
+Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c 
+         gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
+
+       - Added new function gtk_container_set_resize_mode() for
+         fine-grained control of where resize-queueing is done.
+
+       - Removed GtkContainer::need_resize and GtkWindow::move_resize
+       - Added GtkContainer::check_resize to replace need_resize.
+
+       - 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)
+
+       - 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>
+
+       * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
+       g_return_val_if_fail, because the function *does* return a value.
+
+Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>
+
+       * 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.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
+       width from children.
+
+       * 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.
+
+       * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
+       gtk_widget_freeze_accelerators() for dynamically created menu items.
+
+       * 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'.
+
+       * 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.
+
+Wed Jun 17 21:59:09 1998  Stefan Jeske  <stefan@gtk.org>
+
+       * gtkspinbutton.h gtkspinbutton.c testgtk.c:
+       Changed GtkSpinButtonUpdatePolicy enum, added keyboard
+       acceleration, new API gtk_spin_button_set_snap_to_ticks.
+
+Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>
+
+       * 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.
+       
+       * 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.
+
+       * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
+       portion, added an additional check for parent != widget.
+
+       * more GtkType and macro fixups.
+
+1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
+
+       * 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.
+
+Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtktable.c: fix from TimJ for off-by-one error in table
+       resizing
+
+Tue Jun 16 06:29:57 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
+       != 0 on the argument.
+
+       * 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.
+
+Mon Jun 15 04:15:03 1998  Tim Janik  <timj@gtk.org>
+
+       * 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.
+
+       * 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.
+
+       * 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.
+
+       * gtk/gtkbox.h: 
+       * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
+       arguments. implemented child arguments.
+
+       * more GtkType and macro fixups.
+
+Sun Jun 14 16:30:02 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcheckbutton.h: GtkType and macro fixups.
+
+       * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
+       and gtk_clist_get_hadjustment.
+
+       * 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.
+       
+Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/Makefile.am: Made the gtkmarshal.* generation
+       rules maintainer-only.
+
+Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h 
+         gtk/Makefile.am gtk/makenums.pl 
+
+       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.
+
+         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>
+
+       * 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>
+
+       * 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.
+
+Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c (gtk_text_finalize): Free internal
+       structures of text widget. Also, unreference pixmaps
+       when unrealizing.
+       
+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>
+
+       * 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>
+
+       * 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.
+
+       * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
+       an unecessary unrealize.
+
+Fri Jun 12 21:18:56 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Update the
+         old and new parents' child window lists properly.
+
+Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>
+
+       * 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.
+
+Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+       * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: 
+         Added gtkpacker
+
+       * examples/packer/pack.c, examples/packer/Makefile: Added
+         gtkpacker example
+
+Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c (remove_cache_line): Fixed broken
+       list-removal code.
+
+       * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
+       Check bounds before deleting.
+
+Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * autogen.sh: Support ACLOCAL_FLAGS
+
+Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk-config.in: Added missing quotes.
+
+Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
+
+1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
+
+       * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
+       G_COMPILED_WITH_DEBUGGING.
+
+       * configure.in (fd_set): Explain check better.
+
+       * 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 Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * glib/* Moved to glib module
+
+       * INSTALL Makefile.am acconfig.h autogen.sh configure.in
+         gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
+
+         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)
+
+Wed Jun 10 22:23:27 1998  Lars Hamann  <lars@gtk.org>
+
+       * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
+
+       * gtk/gtknotebook.h (struct _GtkNotebookClass):
+       * gtk/gtknotebook.c (gtk_real_notebook_switch_page): 
+       added missing argument (according to Joseph Coleman's bug report)
+
+       * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
+       function to fix notebook focus handling
+       
 Wed Jun 10 12:57:03 1998  Owen Taylor  <otaylor@gtk.org>
 
        * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c