1. 04 Oct, 1998 2 commits
    • CDT 1998 Shawn T. Amundson's avatar
      gtk/gtkcalendar.c: Some significant changes, including: - No longer draw · 16786ffb
      CDT 1998 Shawn T. Amundson authored
      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
      16786ffb
    • Martin Baulig's avatar
      Added `visible'. · a9c05acd
      Martin Baulig authored
      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.
      a9c05acd
  2. 03 Oct, 1998 1 commit
    • Tim Janik's avatar
      for unknown foreign fundamental types, collect an argument of the type · c62ab96b
      Tim Janik authored
      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.
      c62ab96b
  3. 02 Oct, 1998 2 commits
    • Lars Hamann's avatar
      fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV · 879683b6
      Lars Hamann authored
      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
      879683b6
    • Tim Janik's avatar
      make sure we don't segfault when looking up a non-existant value name · bbe7d97e
      Tim Janik authored
      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>).
      bbe7d97e
  4. 01 Oct, 1998 1 commit
    • Tim Janik's avatar
      new function. (gtk_clist_insert): added g_return_val_if_fail() statements. · b89ed0c3
      Tim Janik authored
      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.
      b89ed0c3
  5. 30 Sep, 1998 1 commit
  6. 28 Sep, 1998 1 commit
  7. 27 Sep, 1998 1 commit
  8. 26 Sep, 1998 2 commits
    • Tim Janik's avatar
      adde g_return_if_fail() statements. · fbe8f918
      Tim Janik authored
      Sat Sep 26 06:15:34 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.c (gtk_clist_sort):
              (gtk_clist_clear):
              (gtk_clist_unselect_all):
              (gtk_clist_select_all): adde g_return_if_fail() statements.
      fbe8f918
    • Tim Janik's avatar
      set binary age and interface age to 0. · d0b7b3f5
      Tim Janik authored
      Sat Sep 26 04:46:22 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: set binary age and interface age to 0.
      
              * 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.
      d0b7b3f5
  9. 25 Sep, 1998 1 commit
    • Tim Janik's avatar
      new function to get the *real* geometry position of a window, taken · c961dd18
      Tim Janik authored
      Sat Sep 25 23:33:55 1998  Tim Janik  <timj@gtk.org>
      
              * 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.
      
              * gtk/testgtk.c: added "saved position" test to figure how
              gdk_window_get_root_origin() interacts with window managers (repopup
              this window to figure ;).
      c961dd18
  10. 23 Sep, 1998 1 commit
    • Tim Janik's avatar
      update to Gtk+ version 1.1.3, binary age 1, interface age 1. · 416b69a2
      Tim Janik authored
      Wed Sep 23 06:09:19 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: update to Gtk+ version 1.1.3, binary age 1,
              interface age 1.
      
              * 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).
      
              * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
              pixtext fields (Roman Pozlevich <roma@botik.ru>).
      416b69a2
  11. 21 Sep, 1998 6 commits
  12. 20 Sep, 1998 3 commits
  13. 19 Sep, 1998 1 commit
  14. 18 Sep, 1998 2 commits
  15. 17 Sep, 1998 4 commits
    • Manish Singh's avatar
      shutup CVS further · eb0fec78
      Manish Singh authored
      -Yosh
      eb0fec78
    • Raja R Harinath's avatar
      Move `gtkfeature.h' ... (gtkinclude_HEADERS): ... here. (gtk.defs): Pass · 44557367
      Raja R Harinath authored
      * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
      (gtkinclude_HEADERS): ... here.
      (gtk.defs): Pass `g' flag to sed, to replace all occurances.
      44557367
    • Owen Taylor's avatar
      Update to libtool-1.2b, change library versioning scheme to drop · 486362db
      Owen Taylor authored
      Tue Sep 15 14:57:30 1998  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.
      
      Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* 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.
      
      	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.)
      486362db
    • Tim Janik's avatar
      added gtk_object_set_data_destroy and gtk_object_set_data_destroy_by_id · ee1b9618
      Tim Janik authored
      Thu Sep 17 05:12:48 1998  Tim Janik  <timj@gtk.org>
      
              * 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.
      
              * gtk/gtkobject.c: removed the GtkObjectData implementation and
              made all gtk_object_*data* functions use the GLib equivalents.
      ee1b9618
  16. 16 Sep, 1998 1 commit
    • Federico Mena Quintero's avatar
      Test whether type is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before · bf69ab9d
      Federico Mena Quintero authored
      1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* 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.
      bf69ab9d
  17. 15 Sep, 1998 1 commit
    • Owen Taylor's avatar
      Don't request a new size from the WM if we asked for the same size before · a2524578
      Owen Taylor authored
      Tue Sep 15 11:06:13 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* 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.
      
      	* 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.
      
      Mon Sep 14 14:28:24 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* 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.
      
      	Removed assertion that the above change made invalid.
      a2524578
  18. 12 Sep, 1998 1 commit
    • Owen Taylor's avatar
      at Sep 12 10:44:06 1998 Owen Taylor <otaylor@redhat.com> · fb00a59c
      Owen Taylor authored
      	* 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)
      
      	To support automounters, try to open directories,
      	even if we couldn't find them when reading their
      	parent directory.
      fb00a59c
  19. 11 Sep, 1998 2 commits
  20. 09 Sep, 1998 1 commit
    • Manish Singh's avatar
      added -posix check for NeXTStep · 683cb575
      Manish Singh authored
      * configure.in: added -posix check for NeXTStep
      
      * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
      a unique buffer for each thread.
      
      * docs/gtk-config.1: clarified copyright
      
      -Yosh
      683cb575
  21. 08 Sep, 1998 1 commit
    • Tim Janik's avatar
      use g_atexit() instead of ATEXIT. · e33741ae
      Tim Janik authored
      Tue Sep  8 05:19:51 1998  Tim Janik  <timj@gtk.org>
      
              * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
      
              * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
      
              * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
              ATEXIT.
      
              * ltconfig: use GLib's ltconfig which honours lcc.
      e33741ae
  22. 06 Sep, 1998 1 commit
  23. 05 Sep, 1998 1 commit
    • Tim Janik's avatar
      don't include any gdk headers. added structure definitions for · 78dbc1ef
      Tim Janik authored
      Sat Sep  5 07:13:19 1998  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/gtkobject.h: placed appropriate comments at the beginnings
              of the GtkObject and GtkObjectClass structures, which explain
              their relationship to GtkTypeObject and GtkTypeClass.
      
              * 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/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.
      
              * 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.
      78dbc1ef
  24. 03 Sep, 1998 2 commits
    • Tim Janik's avatar
      `const' fixups. · 0f0d9509
      Tim Janik authored
      Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkctree.h:
              * gtk/gtkctree.c: `const' fixups.
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
      
              * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
              if it is passed as NULL.
      0f0d9509
    • Raph Levien's avatar
      Fixed up some of the bigendian 32bpp modes. · ebe76c75
      Raph Levien authored
      ebe76c75