1. 13 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · aa54cfee
      Manish Singh authored
      Sun Oct 13 13:43:16 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch]
              gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c
              modules/input/imam-et.c modules/input/imcyrillic-translit.c
              modules/input/imhangul.c modules/input/iminuktitut.c
              modules/input/imipa.c modules/input/imthai-broken.c
              modules/input/imti-er.c modules/input/imti-et.c
              modules/input/imviqr.c: Deprecation cleanup
      
              * modules/input/Makefile.am: Added disable deprecation flags
      aa54cfee
  2. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  3. 18 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Reprioritize key bindings in order of visibility - mnemonics, then · adca28f8
      Owen Taylor authored
      Sat Nov 17 19:26:20 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_key_press_event): Reprioritize
      	key bindings in order of visibility - mnemonics, then
      	accelerators, then send key to the focus widget, then
      	bindings on the GtkWindow.
      
      	* gtk/gtklayout.h docs/Changes-2.0.txt tests/testgtk.c:
      	Removed the xoffset, yoffset fields of GtkLayout which were
      	identically zero for compat with 1.2, but were no longer
      	compatible with	all uses of these fields in 1.2.
      
      	* gtk/gtkwindow.c (gtk_window_set_default): Remove
      	unused variable.
      adca28f8
  4. 08 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful · 9ddcb3e0
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkalignment.c (gtk_alignment_class_init): default
      	xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
      
      	* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew
      
      	* gtk/gtktextiter.c: fix docs
      	(gtk_text_iter_spew): get rid of this
      
      	* gtk/gtklayout.c: docs
      
      	* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
      	to center image and label together, instead of having image on
      	left and label centered, patch/suggestion from Jacob
      
      	* gtk/gtkdialog.c: docs
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtklayout.sgml: docs
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
      	gdk-pixbuf since it isn't a standalone package anymore
      
      	* gtk/building.sgml: section on compiling GTK itself
      9ddcb3e0
  5. 24 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fix stupid error introduced last night that was making things decidedly · cc223eef
      Owen Taylor authored
      Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
      	introduced last night that was making things decidedly not work.
      
      	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
      	so that we have getter/setter pairing everywhere it makes
      	sense. (#55767)
      
      	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
      	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
      	deprecated compat macro. (#55516)
      
      	* gtk/gtklabel.[ch]: Add functions
      	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
      	gtk_label_set_label(), which mirror the property API for GtkLabel.
      	Make gtk_label_get_attributes() only reflect the attributes
      	set by gtk_label_set_attributes.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
      	from gtk_notebook_set_page().
      cc223eef
  6. 03 Feb, 2001 1 commit
  7. 30 Aug, 2000 1 commit
  8. 26 Jul, 2000 1 commit
  9. 02 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality · 4f1ccca5
      Owen Taylor authored
      Sun Jul  2 12:45:50 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkrgb.[ch]: Add gdk_rgb_find_color() to get a pixel
      	value using GdkRGB functionality given GdkColormap and GdkColor.
      	(name not final, waiting for inspiration.)
      
      	* gdk/gdkgc.[ch] (gdk_gc_set_rgb_fg/bg_color): New functions to
      	set the foreground/background of a GC using the GC's colormap
      	and GdkRGB. (name not final, waiting for inspiration.)
      
      	* gdk/gdkcompat.h gdk/gdkrgb.c (gdk_rgb_get_colormap): Rename from
      	gdk_rgb_get_cmap(), put #define in gdkcompat.h.
      
      	* gtk/gtkwidget.[ch] gtkcompat.h: Make visuals for
      	gtk_widget_get_visual(), gtk_widget_get_default_visual, etc,
      	purely a function of the corresponding colormap. Make
      	gtk_widget_set_visual(), etc, noop macros in gtkcompat.h.
      
      	* gdk/gdkpixmap.c gdk/x11/gdkpixmap-c11.c: Rewrite
      	gdk_pixbuf_*create_from_xpm_* in terms of
      	gdk_pixbuf_new_from_xpm_data(), move into platform independent
      	code.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Take
      	advantage of the new draw_rgb_32_image_dithalign.
      
      	* gdk/gdkrgb.c (gdk_draw_rgb_32_image_dithalign): Added.
      
      	* gtk/gtkgc.c (gtk_gc_new): Set the appropriate colormap
      	on each created GC.
      
      	* gdk/gdkgc.[ch]: Add gdk_gc_get/set_colormap.
      
      	* gdk/gdkgc.[ch]: Add a colormap field to the GdkGC structure
      	which we initialize from the drawable when the GC is created,
      	if the drawable has a colormap.
      
      	* gdk/x11/gdkgc-x11.c: include string.h for memset.
      
      	* gdk/x11/gdkinput-x11.c: include string.h for strlen, etc.
      
      	* gtk/gtklayout.[ch]: Remove unsed configure serial member.
      4f1ccca5
  10. 13 Feb, 2000 1 commit
    • Tim Janik's avatar
      s/refcount/ref_count/. · ef03cb52
      Tim Janik authored
      Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
      
              * 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.
      
              * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
              not GtkWidget.
      
              * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
              fix up widget macros and add _GET_CLASS() variant.
      
              * gtk/*.c: some GtkType fixups.
      ef03cb52
  11. 24 Feb, 1999 1 commit
  12. 28 Jan, 1999 1 commit
    • Owen Taylor's avatar
      Move gravity_works back to a static global variable, since it is a global · 5e836af8
      Owen Taylor authored
      Wed Jan 27 23:05:55 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklayout.[ch] (gtk_layout_realize): Move
      	gravity_works back to a static global variable,
      	since it is a global constant, and this way we
      	keep structure sizes uniform.
      
      CV: ---------------------------------------------------------------------- CVS: Enter Log.  Lines beginning with `CVS: ' are removed automatically
      5e836af8
  13. 27 Jan, 1999 1 commit
    • Owen Taylor's avatar
      Use floor() instead of truncating to integer values so we get translation · 14724626
      Owen Taylor authored
      Wed Jan 20 11:19:00 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklabel.c: Use floor() instead of truncating
      	to integer values so we get translation invariance.
      
      	* gtk/gtklayout.c (gtk_layout_size_allocate): Set upper
      	and lower values for adjustments in size_allocate().
      
      	* gdk/gdkwindow.c gdk/gdk.h gdk/gdkprivate.h: New
      	function gdk_window_set_static_gravities() to set
      	up a window for guffaw scrolling.
      
      	* gdk/gdkwindow.c (gdk_window_internal_destroy): Set flags
      	indicating destroyed state before cleanup.
      
      	* gtk/gtkprivate.h gtk/gtkwidget.c: Add a new
      	private flag IS_OFFSCREEN. If set, this indicates
      	to GTK+ that the widget is not to be considered
      	viewable regardless of its map state. Queued draws
      	on offscreen widgets are suppressed.
      
      	Added new function static gtk_widget_is_offscreen() to
      	check this flag on a widget and its ancestors.
      
      	* gtk/gtklayout.[ch]: Major revisions.
      
      	- Use gdk_window_set_static_gravities to set static gravity
      	on all child windows, and thus avoid having to create a window
      	for NO_WINDOW children.
      
      	- Adjust allocations of children as we scroll them
      	so queued draws work correctly.
      
      	- Don't allocate our children directly in a put()
      	or move(); just queue a resize() like every other
      	widget.
      
      	* gtk/testgtk.c: Make the arrows on the scrollbars
      	work, create a larger and more demanding test.
      14724626
  14. 02 Dec, 1998 1 commit
    • Tim Janik's avatar
      s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/. · 0d15bc66
      Tim Janik authored
      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
      0d15bc66
  15. 28 Nov, 1998 1 commit
    • Tim Janik's avatar
      deprecated gtk_widget_freeze_accelerators and · 58af2b56
      Tim Janik authored
      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.
      58af2b56
  16. 24 Nov, 1998 3 commits
    • Owen Taylor's avatar
      Edited section on the ScrolledWindow. · a425e6b5
      Owen Taylor authored
      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.
      a425e6b5
    • Owen Taylor's avatar
      Fixed up copyright message. · 1bb0d4c0
      Owen Taylor authored
      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.
      1bb0d4c0
    • Owen Taylor's avatar
      Added layout widget for scrolling arbitrarily big areas. Added plug/socket · ee1d4392
      Owen Taylor authored
      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.
      ee1d4392