1. 07 Jun, 1998 1 commit
    • Tim Janik's avatar
      fixed an assertment. · a391196b
      Tim Janik authored
      Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
      
              * 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.
      
              * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
              enum values of an enum type.
      
              * 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.
      
              * some more macro and GtkType fixups in various places.
      
              * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
              as a key-release modifier for the binding system.
      
      Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
              was a stale list pointer that is already present in GtkMenuShell.
      
              * 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.
      
      Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
      
              * 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.
      
              * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
              for NULL nodes.
      
              * 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.
      
              * 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.
      
      Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
      
              * 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.
      
              * 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.
      
              * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
      
      Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.h:
              * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
      
              * gtk/gtkaccellabel.h:
              * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
              display of the accelerators associated with a certain widget.
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
              parsing and accelerator handling.
      
              * 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.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
              submenu if neccessary.
      
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
              function variants.
      
              * 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.
      
      Wed May 27 00:48:10 1998  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.
      
              * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
              pattern matching, features reversed pattern matches.
      a391196b
  2. 06 Jun, 1998 1 commit
  3. 05 Jun, 1998 1 commit
  4. 04 Jun, 1998 2 commits
  5. 02 Jun, 1998 4 commits
  6. 01 Jun, 1998 1 commit
  7. 29 May, 1998 1 commit
    • BST 1998  Tony Gale's avatar
      - new section on Events - change all delete_event callbacks to include a · 79538134
      BST 1998 Tony Gale authored
      Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>
      
              * docs/gtk_tut.sgml:
                - new section on Events
                - change all delete_event callbacks to include
                  a GdkEvent parameter
                - clean up the formatting
      
              * 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.
      79538134
  8. 27 May, 1998 1 commit
    • Federico Mena Quintero's avatar
      New enumeration for the "mode" field of crossing events. (struct · 99fdc828
      Federico Mena Quintero authored
      1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* 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/gdk.c (gdk_event_translate): Fill in the new fields of the
      	crossing event structure.
      
      	* gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
      	changes to the crossing event structure.
      99fdc828
  9. 26 May, 1998 1 commit
  10. 25 May, 1998 1 commit
  11. 24 May, 1998 3 commits
  12. 23 May, 1998 1 commit
    • Owen Taylor's avatar
      Locate child at (border_width,border_width), not · 53d06396
      Owen Taylor authored
      Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* 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> ]
      53d06396
  13. 22 May, 1998 6 commits
  14. 21 May, 1998 3 commits
  15. 20 May, 1998 2 commits
    • Owen Taylor's avatar
      Use pthread_attr_init() as a test function, since most of the rest of · aed9cf77
      Owen Taylor authored
      Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in: Use pthread_attr_init() as a test function,
      	since most of the rest of -lpthread is macros on DU4.
      
      Mon May 18 22:14:39 1998  Owen Taylor  <otaylor@gtk.org>
      (Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp> : gtk-joke-980517-0.patch)
      
      	* gutils.c: Restored a missing prototype for g_vsprintf.
      aed9cf77
    • Tim Janik's avatar
      conditionally define NULL, FALSE and TRUE. (g_mem_chunk_create): new · 2abec112
      Tim Janik authored
      Wed May 20 05:02:26 1998  Tim Janik  <timj@gtk.org>
      
              * glib.h: conditionally define NULL, FALSE and TRUE.
              (g_mem_chunk_create): new convenience macro as a short hand for
              g_mem_chunk_new().
              (g_chunk_free): new convenience macro to be consistent with g_chunk_new.
      2abec112
  16. 19 May, 1998 3 commits
  17. 18 May, 1998 4 commits
  18. 17 May, 1998 1 commit
    • Tim Janik's avatar
      provide usefull default specifications for identifier_spec and · 04a70261
      Tim Janik authored
      Sun May 17 10:48:27 1998  Tim Janik  <timj@gtk.org>
      
              * gscanner.c (g_scanner_unexp_token): provide usefull default
              specifications for identifier_spec and symbol_spec.
      
              * glib.h: new functions g_slist_nth_data and g_list_nth_data to return
              the data of the nth element in the list.
      04a70261
  19. 16 May, 1998 3 commits
    • Tim Janik's avatar
      quiet the compiler about uninitialized gc. · 9256ac8a
      Tim Janik authored
      9256ac8a
    • Tim Janik's avatar
      g_strdup() the text retrived from GtkEntry. only intercept the Tab key if · 5aa450f9
      Tim Janik authored
      Sat May 16 09:04:32 1998  Tim Janik  <timj@gtk.org>
      
              * 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.
      5aa450f9
    • Owen Taylor's avatar
      Basic thread-awareness: · dc93f21f
      Owen Taylor authored
      Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
      
      	Basic thread-awareness:
      
      	* acconfig.h configure.in: New option --with-threads=[yes/posix/no]
      
      	* 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().
      
      	* gtk/Makefile.am: gtk/testthreads.c: Test program for threads
      dc93f21f