Commit Graph

2129 Commits

Author SHA1 Message Date
Pablo Saratxaga
7d622f5328 Updated ca.po (changed mantainer) 2000-05-04 13:09:40 +00:00
Tim Janik
ee76654247 some Make 3.79 $(strip ) versions are broken and require an empty arg,
Thu May  4 02:04:46 2000  Tim Janik  <timj@gtk.org>

        * configure.in (STRIP_DUMMY): some Make 3.79 $(strip ) versions are
        broken and require an empty arg, give it to them.
2000-05-04 00:19:04 +00:00
Pablo Saratxaga
cc4ef5bcdf Updated wa.po 2000-04-30 00:26:02 +00:00
Tim Janik
2e34ce303a when unref-ing the handlers, also invalidate them. bug nailed down by Karl
Sun Mar 26 03:21:28 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtksignal.c (gtk_signal_handlers_destroy): when unref-ing
        the handlers, also invalidate them. bug nailed down by Karl Nelson
        <kenelson@ece.ucdavis.edu>.
2000-03-26 01:30:34 +00:00
Pablo Saratxaga
44e72c4ac1 Updated Lithuanian file 2000-03-20 18:39:46 +00:00
Owen Taylor
74bd7ec0a1 Fix a bunch of cases where XGetWindowProperty() is called without trapping
Mon Mar 13 18:37:55 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkdnd.c: Fix a bunch of cases where XGetWindowProperty()
	is called without trapping X errors.
gtk-1-2-merge-to-head-2
2000-03-13 23:41:53 +00:00
Pablo Saratxaga
4078590376 Updated lt.po 2000-03-13 21:14:29 +00:00
GMT 2000 Tony Gale
388e9cc8b1 FAQ Update: - Minor cleanups (Emmanuel, me) - New questions: I need to add
Thu Mar  9 22:10:56 GMT 2000  Tony Gale <gale@gtk.org>

        * 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)
2000-03-10 09:36:09 +00:00
Tim Janik
a24c0e61f6 nothing really 2000-03-01 05:08:59 +00:00
GMT 2000 Tony Gale
877738b90a Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
Tue Feb 29 13:10:00 GMT 2000  Tony Gale <gale@gtk.org>

        * 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:

          Spelling/grammar fixes from Martin Buchholz <martin@xemacs.org>
2000-02-29 13:28:13 +00:00
Owen Taylor
fcfaafd93e Fix problem where stray '"' characters found their way into the fontset
Fri Feb 25 10:48:53 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.*: Fix problem where stray '"' characters found their
	way into the fontset lists.
2000-02-25 15:49:36 +00:00
GMT 2000 Tony Gale
30cc40d29e Implement num_marked_dates, and don't emit mutiple day_selected signals on
Thu Feb 24 16:12:27 GMT 2000  Tony Gale <gale@gtk.org>

        * gtk/gtkcalendar.c: Implement num_marked_dates,
          and don't emit mutiple day_selected signals on
          month_prev.
2000-02-24 16:16:29 +00:00
GMT 2000 Tony Gale
86171eb551 New section on GtkCalendar Update example code
Wed Feb 23 10:54:14 GMT 2000  Tony Gale <gale@gtk.org>

        * docs/gtk_tut.sgml: New section on GtkCalendar
        * examples/calendar: Update example code
2000-02-23 10:55:56 +00:00
GMT 2000 Tony Gale
8ae8964c9f Get the date on the FAQ right. Grr.
Tue Feb 22 14:02:48 GMT 2000 Tony Gale <gale@gtk.org>

	* Get the date on the FAQ right. Grr.
2000-02-22 13:58:08 +00:00
GMT 2000 Tony Gale
5d4a62a69b FAQ Update
Tue Feb 22 13:54:12 GMT 2000  Tony Gale <gale@gtk.org>

        * docs/gtkfaq.sgml: FAQ Update
2000-02-22 13:52:46 +00:00
Tim Janik
572cec3f4c add extern "C" scope.
Tue Feb 22 08:52:52 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtkthemes.h: add extern "C" scope.
2000-02-22 07:58:50 +00:00
Lars Hamann
a53000aa95 applied patch from Guy Harris <guy@netapp.com> to make appends to the list
Mon Feb 21 20:16:42 2000  Lars Hamann  <lars@gtk.org>

        * gtk/gtkclist.c: applied  patch from Guy Harris <guy@netapp.com>
        to make appends to the list constant. (gtk-guy-990901-0.patch)
2000-02-21 20:19:13 +00:00
Havoc Pennington
ac67b09410 Don't recommend the use of gtk_signal_handlers_destroy, closes bug #6390
2000-02-19  Havoc Pennington  <hp@pobox.com>

	* docs/gtk_tut.sgml: Don't recommend the use of
		gtk_signal_handlers_destroy, closes bug #6390
2000-02-19 19:59:06 +00:00
Tim Janik
e57721e0ba remove extraneous prototypes, patch from Sam O'Connor
Thu Feb 17 02:19:32 2000  Tim Janik  <timj@gtk.org>

        * gdk/gdk.h:
        * gtk/gtkaccelgroup.h:
        * gtk/gtkthemes.h: remove extraneous prototypes, patch from
        Sam O'Connor <oconnor@eiffel.com>.
2000-02-17 01:25:27 +00:00
CST 2000 Shawn T. Amundson
fa77e9551f Released GTK+ 1.2.7
Wed Feb 16 05:22:36 CST 2000 Shawn T. Amundson <amundson@gtk.org>

        * Released GTK+ 1.2.7
GTK_1_2_7 GTK_1_2_7a
2000-02-16 13:04:31 +00:00
SHIRASAKI Yasuhiro
01ae7f9537 Updated Japanese translation.
* ja.po: Updated Japanese translation.

-- yasuhiro
2000-02-15 02:21:38 +00:00
Tim Janik
60aea982b0 use g_str_hash() and g_str_equal() for the typename hash table.
Mon Feb 14 22:50:10 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_init): use g_str_hash() and g_str_equal()
        for the typename hash table.
2000-02-14 21:55:04 +00:00
Owen Taylor
5c478e3754 Add some sanity checks to make sure we never divide by zero. (Problem
Mon Feb 14 15:01:23 2000  Owen Taylor  <otaylor@redhat.com>

	* 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>)
2000-02-14 20:03:04 +00:00
Owen Taylor
2853369686 Apply patch from SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp> to make
Mon Feb 14 12:29:38 2000  Owen Taylor  <otaylor@redhat.com>

	* 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.)

	Also, some cleanups in atom handling.
2000-02-14 19:35:29 +00:00
Tim Janik
a326074438 parent class is GtkContainer, not GtkWidget.
Sun Feb 13 08:02:21 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
        not GtkWidget.
2000-02-13 07:03:53 +00:00
Tim Janik
778cb9ab52 had to squeeze some more guint wrap-around bugs before going to bed.
Fri Feb 11 02:19:32 2000  Tim Janik  <timj@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.
2000-02-11 06:39:19 +00:00
Tim Janik
3f8d44d715 guard against guint wrap arounds in allocation.width.
Thu Feb 10 16:16:35 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtkspinbutton.c (gtk_spin_button_size_allocate): guard against
        guint wrap arounds in allocation.width.

        * gtk/gtktable.c (gtk_table_size_allocate_pass1): repeat shrinking
        process untill we fit the allocation given.
2000-02-10 21:13:41 +00:00
Tim Janik
c39a5a1c6f guard widget access with ref/unref around signal emission.
Tue Feb  8 09:38:29 2000  Tim Janik  <timj@gtk.org>

        * 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.
2000-02-08 09:03:51 +00:00
Tim Janik
319b25908b use gtk_default_prelight_bg instead of gtk_default_insensitive_bg as
Tue Feb  8 03:05:55 2000  Tim Janik  <timj@gtk.org>

        * gtk/gtkstyle.c (gtk_style_new): use gtk_default_prelight_bg instead
        of gtk_default_insensitive_bg as insensitive base color.

        * 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.
2000-02-08 02:09:23 +00:00
Tim Janik
49bc9e0606 ignore delete events when grabs are active, unless a delete event is send
Mon Feb  7 04:01:55 2000  Tim Janik  <timj@gtk.org>

        * 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.
2000-02-07 05:27:08 +00:00
Owen Taylor
81cb919181 Remove debugging g_print's.
Sun Feb  6 10:13:15 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (gtk_ctree_drag_data_received): Remove
	debugging g_print's.
2000-02-06 15:14:36 +00:00
Tim Janik
1f72a1fd70 up version number to 1.2.7, interface age 2, binary age 7. depend on glib
Fri Feb  4 19:40:50 2000  Tim Janik  <timj@gtk.org>

        * configure.in: up version number to 1.2.7, interface age 2, binary
        age 7. depend on glib 1.2.7.

        * NEWS: updates.
2000-02-04 03:26:10 +00:00
Owen Taylor
5aa2275d8b Feb 4 15:54:54 2000 Owen Taylor <otaylor@redhat.com>
* 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.
2000-02-03 23:45:12 +00:00
Owen Taylor
ed581c7530 Set the charset explicitely for the default font to avoid problems with
Fri Feb  4 15:09:12 2000  Owen Taylor  <otaylor@redhat.com>

	* 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.
2000-02-03 22:15:44 +00:00
Pablo Saratxaga
84591d622b updated lt.po 2000-02-03 17:32:44 +00:00
Kjartan Maraas
d5c5dba8de Updated translation.
2000-02-04  Kjartan Maraas  <kmaraas@online.no>

	* no.po: Updated translation.
2000-02-03 11:05:58 +00:00
Manish Singh
b40cc444eb acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.3.4
* acinclude.m4
* config.guess
* config.sub
* ltconfig
* ltmain.sh: upgrade to libtool 1.3.4 (bugfix only release)

* gtk/Makefile.am: minor cosmetic consistency tweak

-Yosh
2000-02-03 01:07:44 +00:00
Pablo Saratxaga
c299e5d963 updated ca.po 2000-02-03 01:03:10 +00:00
Owen Taylor
7de47cc94b Set the activate_time to 0, so that we handle a quick press/release
Thu Feb  3 14:46:01 2000  Owen Taylor  <otaylor@redhat.com>

	* 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)
2000-02-02 22:04:41 +00:00
Tim Janik
cec440f3e4 fixed very evil reentrancy bugs with destruction notifier, *always* update
Wed Feb  2 22:25:17 2000  Tim Janik  <timj@gtk.org>

        * 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.
2000-02-01 23:32:26 +00:00
Lars Hamann
255369aecb A few more fixes for bug #5487, #2051, #2677. Reset clist->anchor to -1 if
Sun Jan 30 20:10:52 2000  Lars Hamann  <lars@gtk.org>

        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
2000-01-29 23:12:08 +00:00
Owen Taylor
c59f760824 Removed duplicate prototypes for gdk_drag_get_selection() and
Sun Jan 30 12:29:20 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.h gtk/gtkmenu.h: Removed duplicate prototypes for
	gdk_drag_get_selection() and gtk_menu_detach().

	[ From Jeroen Ruigrok/Asmodai ]
2000-01-29 20:01:59 +00:00
Owen Taylor
06b6a0f70a page->tab_label can be NULL.
Sat Jan 29 10:11:56 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_size_request):
	page->tab_label can be NULL.
2000-01-28 17:19:02 +00:00
Havoc Pennington
dad7ab1fd6 parent_relative arg is boolean
2000-01-25  Havoc Pennington  <hp@pobox.com>

* gdk/gdkwindow.c (gdk_window_set_back_pixmap): parent_relative
arg is boolean

* gdk/gdkselection.c (gdk_selection_owner_set): return boolean

* gdk/gdkrectangle.c (gdk_rectangle_intersect): return boolean

* gdk/gdkproperty.c (gdk_property_get): return boolean

* gdk/gdkinput.c (gdk_input_set_mode): return boolean

* gdk/gdkim.c (gdk_im_ready): return boolean

* gdk/gdkgc.c (gdk_gc_set_exposures): gboolean arg

* gdk/gdkfont.c (gdk_font_equal): return gboolean (mild
glib clash, should fix glib)

* gdk/gdkevents.c (gdk_set_show_events): take gboolean arg
(gdk_get_show_events): return gboolean, and canonicalize
to TRUE/FALSE

* 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

* gdk/gdk.h: Change prototypes to match all the above changes,
and re-run egtk-format-protos as required.
2000-01-27 21:10:44 +00:00
Owen Taylor
bd39b10fc4 Return immediately if clist->drag_pos < 0. This is a workaround for the
Fri Jan 28 12:28:17 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (resync_selection):
	* gtk/gtkclist.c (resync_selection):

	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().

	Bug #5487, #2051, #2677; fix suggested by David Helder and T. Alexander Popiel.

	* gtk/gtknotebook.c (gtk_notebook_size_request): Fix uninitialized
	variable from recent commit.
2000-01-27 19:37:34 +00:00
Pablo Saratxaga
3dad840ffb Added Lithuanian file 2000-01-27 16:29:39 +00:00
Owen Taylor
ef642b7799 Fix stupid typo in last commit.
Thu Jan 27 15:22:09 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin): Fix stupid typo in last commit.
2000-01-27 02:39:44 +00:00
Tim Janik
958d74e856 prefix all autogenerated source that get build in $(srcdir) with
Thu Jan 27 18:00:55 2000  Tim Janik  <timj@gtk.org>

        * 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*.
2000-01-26 19:20:44 +00:00
Tim Janik
39246639a1 revert change so stuff compiles 2000-01-26 17:11:12 +00:00
Owen Taylor
e5b7ec7e36 Finish the job of allowing event to be NULL. (Fixes bug #4283, reported by
Thu Jan 27 00:15:03 2000  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)

	* 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)
2000-01-26 05:50:53 +00:00