summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version bump to 1.1.8, binary age 0, interface age 0, depend on GLibTim Janik1998-12-1621-73/+115
| | | | | | | | | | | | | | | | | Wed Dec 16 05:26:32 1998 Tim Janik <timj@gtk.org> * configure.in: version bump to 1.1.8, binary age 0, interface age 0, depend on GLib 1.1.8. * gdk/gdkprivate.h: * gdk/gdkglobals.c: removed last Gdk threads specific bits. * gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/. * gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE(). honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER() and GTK_THREADS_LEAVE(). changed callers accordingly.
* Update news for 1.1.8.Owen Taylor1998-12-161-0/+18
|
* warn if glib.m4 or gettext.m4 are not found in aclocal's directory.CST 1998 Shawn T. Amundson1998-12-168-0/+54
| | | | | | | Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org> * autogen.sh: warn if glib.m4 or gettext.m4 are not found in aclocal's directory.
* Create buttons, not combos again.Owen Taylor1998-12-169-4/+534
| | | | | | | Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com> * gtk/testgtk.c (create_layout): Create buttons, not combos again.
* Fixed gettextize/aclocal conflict in autogen.shJoel Becker1998-12-168-2/+40
|
* removed clist flag : GTK_CLIST_DRAG_SELECTION added flags :Lars Hamann1998-12-166-1234/+1566
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org> * gtk/gtkclist.h : removed clist flag : GTK_CLIST_DRAG_SELECTION added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS, GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT (GtkCListDragPos) : new enum for DND (GtkButtonAction) : new enum of possible mouse button actions (struct _GtkCList): added button_actions array. Added drag_button and click_cell struct, to store cell and mouse button of last button_press_event (struct _GtkCListClass): new class method draw_drag_highlight. (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) : new functions. Moved from gtkctree.h. Now clist is reorderable as well. (gtk_clist_set_button_actions) new function to customize mouse button actions. * gtk/gtkclist.c: (gtk_clist_drag_begin) (gtk_clist_drag_motion) (gtk_clist_drag_leave) (gtk_clist_drag_end) (gtk_clist_drag_drop) (gtk_clist_drag_data_get) (gtk_clist_drag_data_received) : new dnd widget methods to implement clists reorderability via DND (remove_grab) : new function. remove mouse grab if necessary. (draw_drag_highlight) : new method. Draw dnd highlight depending on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT (gtk_clist_class_init): added object args "reorderable" and "use_drag_icons" (gtk_clist_button_press) (gtk_clist_button_release) : use button_actions array to decide which action to perform. (gtk_clist_motion) : start reorder operation if necessary. * gtk/gtkctree.h : (struct _GtkCTree): removed drag_icon, icon_widht, icon_height, drag_row, drag_source, drag_target, reorderable, use_icons, in_drag, drag_rect (gtk_ctree_set_reorderable) : deprecated function. use gtk_clist_set_reorderable instead. (gtk_ctree_set_use_drag_icons) : deprecated function. use gtk_clist_set_use_drag_icons instead. * gtk/gtkctree.c : (gtk_ctree_class_init): removed object args "reorderable" and and "use_drag_icons" (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor) (tree_toggle_selection) (set_mouse_cursor) : removed (draw_drag_highlight) : new clist method. replacement for draw_xor_line and draw_xor_rect functions (check_drag) renamed check_cursor function (gtk_ctree_drag_begin) (gtk_ctree_drag_motion) (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees reorderability via DND (gtk_ctree_button_release) (gtk_ctree_button_motion) : removed. * gtk/testgtk.c: (create_clist) : added new reorderable toggle button
* Use base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used inOwen Taylor1998-12-1611-85/+199
| | | | | | | | Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used in detergent commercials.
* Remove --with-threads, unused GTK_THREAD_FLAGSJeff Garzik1998-12-1610-4/+42
|
* Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking forElliot Lee1998-12-159-6/+39
| | | | | | | 1998-12-15 Elliot Lee <sopwith@bogus.cuc.ml.org> * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for GDK_INPUT_EXCEPTION events.
* Make the gettext check for for libc5 systems.Martin Baulig1998-12-158-0/+21
| | | | | | 1998-12-15 Martin Baulig <martin@home-of-linux.org> * acinclude.m4: Make the gettext check for for libc5 systems.
* Not running gettextize fails on a fresh CVS checkout and we'll get a lotMartin Baulig1998-12-158-0/+27
| | | | | | | 1998-12-15 Martin Baulig <martin@home-of-linux.org> * autogen.sh: Not running gettextize fails on a fresh CVS checkout and we'll get a lot of bug reports tomorrow, so I add it back.
* Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK toMartin Baulig1998-12-159-4/+46
| | | | | | | | 1998-12-15 Martin Baulig <martin@home-of-linux.org> * acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake warnings.
* Moved gtk_label_set() compatiblity define from <gtkcompat.h> toOwen Taylor1998-12-152-1/+3
| | | | | | | | Tue Dec 15 16:54:09 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtklabel.h: Moved gtk_label_set() compatiblity define from <gtkcompat.h> to <gtklabel.h> for compatibility.
* Provide a hacked version of the gettext macros that never use the includedOwen Taylor1998-12-1511-9/+397
| | | | | | | | | | | | Tue Dec 15 16:06:15 1998 Owen Taylor <otaylor@redhat.com> * acinclude.m4: Provide a hacked version of the gettext macros that never use the included gettext. * Makefile.am configure.in: Remove references to intl/ * autogen.sh: Don't run gettextize.
* Added gdk_text_extents_wc()Owen Taylor1998-12-1526-454/+1132
| | | | | | | | | | | | | | | | | | | Tue Dec 15 14:30:35 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc() * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping to label. (Based on patch from Jeff Dairiki <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0) - Adds new function gtk_label_set_line_wrap() - implement GTK_JUSTIFY_FILL. - rename gtk_label_set to gtk_label_set_text() add gtk_label_set() to gtkcompat.h. * Use an internal wc representation in the label, so that we handle underlining and line breaks correctly for multi-byte strings.
* Added GTK_USER_DRAW flag.Owen Taylor1998-12-1514-19/+86
| | | | | | | | | | | Tue Dec 15 13:32:28 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.h: Added GTK_USER_DRAW flag. * gtk/gtkwindow.c: Honor GTK_USER_DRAW flag. * gtk/gtkdrawwindow.c gtk/Makefile.am: Removed GtkDrawWindow, which GTK_USER_DRAW obsoletes.
* Fixed up some warnings.Owen Taylor1998-12-1514-54/+473
| | | | | | | | | | | | | | Tue Dec 15 11:37:05 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c: Fixed up some warnings. Tue Dec 15 10:32:01 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtk{h,v,}paned.{c,h}: Add new functions gtk_paned_set_position(), gtk_paned_pack1/2(). The latter take a shrink and resize parameters, that allows setting minimum sizes and getting 'relative' resizing.
* Keep separate putback_events and queued_events queues so that we get bothOwen Taylor1998-12-159-60/+190
| | | | | | | | Tue Dec 15 10:26:23 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c: Keep separate putback_events and queued_events queues so that we get both FIFO and preemptive behavior for gdk_event_put().
* Removed unused variable, fixed minor memory leak.Owen Taylor1998-12-1510-39/+50
| | | | | | | | | Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkrc.c (gtk_rc_init): Removed unused variable, fixed minor memory leak. * gdk/gdk.c: Fixed another merge problem.
* Remove gdk_signal, which crept back in in last commit.Owen Taylor1998-12-1511-92/+4145
| | | | | | | | | | | Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_get_display): Remove gdk_signal, which crept back in in last commit. gdk/gdkevents.c: File missed on last commit. CVS
* Commented out testthreads from the build process, since we won't have anyOwen Taylor1998-12-1546-5329/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Dec 15 01:38:53 1998 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am: Commented out testthreads from the build process, since we won't have any idea how to create a thread. * configure.in (LIBS): use glib-config ... gthread so we always build a thread-compatible library. * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c: Add GTK_THREADS_ENTER/LEAVE pairs around timeouts and idles to account for the fact that they are no longer called within the GTK+ lock. * gtk/gtkprivate.h: Added definitions for locking the main GTK+ mutex. * gtk/gtkmain.c: Re-implement the main loop in terms of the GLib main loop. * gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading functionality, as it seems better to subsume GDK within the GTK+ lock than vice-versa. * gdk/gdkevents.c: New file, containing event handling bits from gdk.c. * gdk/gdkevents.c: Implement event source for GDK events. * configure.in gdk/gdkevents.c: Removed attempts to subtract base_id, which were already non-functional.
* acconfig.h removed IPC_RMID_DEFERRED_RELEASE checkManish Singh1998-12-1512-208/+56
| | | | | | | | | | * acconfig.h * configure.in: removed IPC_RMID_DEFERRED_RELEASE check * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID after XShmAttach, and nobody complained -Yosh
* autoconf says we need AC_ISC_POSIX. Whiner.Manish Singh1998-12-151-0/+1
| | | | -Yosh
* include -lintl in LIBSTim Janik1998-12-152-0/+7
|
* Replaced the crappy de.po with a valid one.Sven Neumann1998-12-158-53/+66
| | | | | | | (Bring me the haed of ...) --Sven
* Append locale-specific suffixes to default rc file names, and look theseOwen Taylor1998-12-1410-10/+196
| | | | | | | | | | | | | | | | | Mon Dec 14 16:10:05 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_init): Append locale-specific suffixes to default rc file names, and look these up in addition to the base filename, to facilitate having the correct fontset per-locale. move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc * gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func): New function to set a function to translate menu paths. * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free results of g_strsplit().
* Added Portuguese translation.Nuno Ferreira1998-12-149-1/+131
| | | | * Added Portuguese translation.
* Only call gtk_spin_button_update if the spinbutton is editable.Stefan Jeske1998-12-148-4/+42
| | | | | | | Mon Dec 14 20:04:31 1998 Stefan Jeske <stefan@gtk.org> * gtk/gtkspinbutton.c: Only call gtk_spin_button_update if the spinbutton is editable.
* Added gettext-10.35Owen Taylor1998-12-1422-44/+469
| | | | | | | | | | | | | | | | | | | | | | | Mon Dec 14 12:24:13 1998 Owen Taylor <otaylor@redhat.com> * HACKING: Added gettext-10.35 * autogen.sh: Run gettextize. Wed Dec 9 16:29:06 1998 Owen Taylor <otaylor@redhat.com> Applied gtk-egger-981010-[12] [ Daniel.Egger@t-online.de (Daniel Egger) ] * gtk/gtkintl.h: New file - defines for localization. * gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings for internationalization. * gtk/gtkmain.c: call bindtextdomain * po/ - directory for translations. Initially includes German translation.
* made GtkWidget::grab_focus a RUN_LAST and RUN_ACTION signal. moved stuffTim Janik1998-12-148-4/+63
| | | | | | | | | Mon Dec 14 02:42:11 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into gtk_widget_real_grab_focus() so a signal is always emitted if the focus is grabbed on a widget.
* fixed submenu popup timeouts, we decide whether or not to delay theTim Janik1998-12-148-8/+74
| | | | | | | | | Mon Dec 14 02:13:01 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or not to delay the submenu popup from a menu item deselection time stamp. the code looks even more hackish than before, but in practice "feels" very well.
* Added a "grab_focus" signal for widgets. When the signal is emitted, theFederico Mena Quintero1998-12-149-0/+89
| | | | | | | | | | | | | 1998-12-13 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus" signal for widgets. When the signal is emitted, the widget will grab the focus. This is needed to let the user press an accelerator key in a dialog box and have the corresponding widget be focused. * gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus" signal. The default handler is simply gtk_widget_grab_focus().
* Update the following sections to the current API: - Container Widgets -GMT 1998 Tony Gale1998-12-1315-1038/+1241
| | | | | | | | | | | Sun Dec 13 22:15:48 GMT 1998 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: Update the following sections to the current API: - Container Widgets - CList Widget - List Widget - Tree Widget
* made GtkMenuItem::activate a GTK_RUN_ACTION signal.Tim Janik1998-12-1310-2/+86
| | | | | | | | | | Sat Dec 12 19:11:35 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal. * gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal. * gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8.
* Mark child->window as destroyed so we don't destroy it again.Owen Taylor1998-12-129-1/+44
| | | | | | | | Sat Dec 12 17:46:55 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtklayout.c (gtk_layout_unrealize): Mark child->window as destroyed so we don't destroy it again.
* Corrections to computation of extents of text from a font set. (fromOwen Taylor1998-12-129-8/+57
| | | | | | | | | Sat Dec 12 17:18:32 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkfont.c (gdk_text_extents): Corrections to computation of extents of text from a font set. (from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>) and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
* Added "style_set" handlers.Owen Taylor1998-12-119-0/+67
| | | | | | | | Fri Dec 11 08:59:12 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtklistitem.c (gtk_list_item_style_set): * gtk/gtklist.c (gtk_list_style_set): Added "style_set" handlers.
* Add in a "style_set" handler so that the background of the clist changesOwen Taylor1998-12-118-0/+49
| | | | | | | | Fri Dec 11 05:49:30 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set" handler so that the background of the clist changes with the theme.
* Released GTK+ 1.1.7GTK_1_1_7CST 1998 Shawn T. Amundson1998-12-1114-7/+106
| | | | | | | | | | | | | | Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org> * Released GTK+ 1.1.7 * INSTALL: NEWS: README: configure.in: gtk+.spec: gtk/gtkfeatures.h.in: docs/gtk-config.1: Version to 1.1.7
* avoid void pointer mathManish Singh1998-12-1115-8/+99
| | | | | | | | | | | | | | | * gtk/gtkclist.c: avoid void pointer math * gtk/gtkhscale.c * gtk/gtkhscrollbar.c * gtk/gtkvscale.c * gtk/gtkvscrollbar.c: removed trailing , from enums * gtk/gtksignal.c: can't use enums as a bitfield type, use guint * gtk/testgtk.c: removed C++ comment added by owenpoo -Yosh
* Added gtk_drag_source_unset()Owen Taylor1998-12-119-0/+54
| | | | | | Thu Dec 10 21:48:34 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
* Use gdk_window_get_origin() instead of gdk_window_get_position, becauseOwen Taylor1998-12-119-4/+57
| | | | | | | | | | Thu Dec 10 20:42:22 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use gdk_window_get_origin() instead of gdk_window_get_position, because get_position is unreliable for plugs. This is a bad hack, maybe we need GDK_WINDOW_PLUG?
* - re-write the GtkProgressBar section to the 1.1 API. - add an AppendixGMT 1998 Tony Gale1998-12-1035-819/+2791
| | | | | | | | | | | Thu Dec 10 17:58:49 GMT 1998 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: - re-write the GtkProgressBar section to the 1.1 API. - add an Appendix listing all the signals (apologies to TimJ for taking so long in using his hard work in automating the extraction - thanx Tim). * examples/*: bring them all upto the tutorial versions
* use g_snprintf, eliminate need for string.h include string.h, for strlenJeff Garzik1998-12-1011-4/+39
| | | | | * gtk/testdnd.c: use g_snprintf, eliminate need for string.h * gtk/testrgb.c: include string.h, for strlen
* Add a case for success in test for XUnregisterIMInstantiate, to preventOwen Taylor1998-12-098-1/+43
| | | | | | | | Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com> * configure.in: Add a case for success in test for XUnregisterIMInstantiate, to prevent screwing up $LIBS.
* Fixed argument list and return type for non-XIM fallback.Sebastian Wilhelmi1998-12-0912-21/+91
| | | | | | | | | Wed Dec 9 13:06:31 1998 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument list and return type for non-XIM fallback. * configure.in: Only build XIM-support if available.
* Add in missing 'flags' field to target list.Owen Taylor1998-12-0911-8/+76
| | | | | | | | | | Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com> * gtk/testselection.c (main): Add in missing 'flags' field to target list. * gdk/gdkproperty.c (gdk_atom_intern): Actually add the atoms to the local cache.
* put text after #endif in commentManish Singh1998-12-0911-4/+61
| | | | | | | | | | * gdk/gdkprivate.h: put text after #endif in comment * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl * gtk/testdnd.c: #include <string.h> -Yosh
* New file that holds code for dealing with X Input Methods.Owen Taylor1998-12-092-0/+2894
| | | | (Missing from last big commit)
* Destroy widgets _after_ propagating unrealize signals through the widgetOwen Taylor1998-12-0935-2297/+1931
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Dec 7 10:27:09 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize signals through the widget heirarchy. This is unpleasant, as it causes more X traffic, but is necessary, because we have to clean up our Input Contexts before destroying the X windows. (from matsu-981109-0.patch) Mon Dec 7 10:18:18 1998 Owen Taylor <otaylor@redhat.com> Applied gtk-a-higuti-981202-0 : [ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ] * gdk/gdk.h gdk/gdk.c (gdk_mbstowcs): New function. Nearly equals to mbstowcs, but implemented by a combination of Xlib functions, so it works even with X_LOCALE. (gdk_wcstombs): New function. (g_mbtowc): Removed. No longer needed. * gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c: Added _wc() variants to gdk_text_width(), gdk_char_width(), gdk_draw_text(), * gdk/gdki18n.h (mblen, mbtowc, wctomb, mbstowcs, wcstombs, wcslen, wcscpy, wcsncpy): Removed. No longer needed. (iswalnum): Removed. (gdk_iswalnum): New macro. (gdk_iswspace): New macro. * gdk/gdktype.h (GdkWChar): New typedef. * gtk/gtkentry.h, gtk/gtkentry.c There are many changes according to the change of the internal representation of text, from multibyte string to wide characters. * gtk/gtkprivate.h, gtk/gtkmain.c Removed the variable gtk_use_mb and related codes. * gtk/gtkspinbutton.c Some changes according to the change of type of entry->text. * gtk/gtktext.h, gtk/gtktext.c Changed the internal representation of text. We use GdkWchar if a fontset is supplied. If not, we use guchar to save memory.