summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Allocate correct amount of memory for strings.Owen Taylor1998-12-098-2/+37
| | | | | | | Wed Dec 9 00:41:41 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Allocate correct amount of memory for strings.
* Released GTK+ 1.1.6GTK_1_1_6CST 1998 Shawn T. Amundson1998-12-0915-5/+203
| | | | | | | | | | | | | Tue Dec 8 18:29:05 CST 1998 Shawn T. Amundson <amundson@gtk.org> * Released GTK+ 1.1.6 * NEWS: updated * gtk/Makefile.am: gtk/testgtk.c: gtk/gtkrc.h: gtk/gtkrc.c: Read in default files.
* added gtk_type_query() which returns a newly allocated structure holdingTim Janik1998-12-0810-7/+97
| | | | | | | | | | Wed Dec 9 00:49:12 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.h: * gtk/gtktypeutils.c: added gtk_type_query() which returns a newly allocated structure holding certain type specific informations. fixed the big bunch of `discards const' warnings with the initialization of enum/flags values.
* Fixed order of arguments to gdk_window_transient_for().Owen Taylor1998-12-088-1/+36
| | | | | | | Tue Dec 8 15:10:17 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_transient_parent_realized): Fixed order of arguments to gdk_window_transient_for().
* simple top level Makefile that invokes all the sub-directory Makefiles.GMT 1998 Tony Gale1998-12-088-0/+54
| | | | | | | Tue Dec 8 18:02:57 GMT 1998 Tony Gale <gale@gtk.org> * examples/Makefile: simple top level Makefile that invokes all the sub-directory Makefiles.
* Functions to test the toolbar space style.Andrew T. Veliath1998-12-0811-20/+313
| | | | | | | | | | | | | | | | | | | | * gtk/testgtk.c: Functions to test the toolbar space style. * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of GtkToolbarChild to hold allocation. Set default space style to GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator fraction defaults. (gtk_toolbar_paint_space_line): New function; paints the separator line, using "toolbar" as the detail. (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when style is set to SPACE_LINE. (gtk_toolbar_size_allocate): Store space allocations. (gtk_toolbar_insert_element): If we are a space, allocate and initialize a GtkToolbarChildSpace instead of a GtkToolbarChild. (gtk_toolbar_set_space_style): New function. * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY and LINE. Add prototype for gtk_toolbar_set_space_style.
* Remove random unnecessary includes of standard headers.Owen Taylor1998-12-078-4/+35
| | | | | | | Mon Dec 7 16:03:55 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkthemes.h: Remove random unnecessary includes of standard headers.
* ""Damon Chaplin1998-12-078-73/+244
|
* Don't name function parameters after ObjC reserved words ("id" toElliot Lee1998-12-071-1/+1
| | | | | | Don't name function parameters after ObjC reserved words ("id" to "sm_client_id" - the function doesn't appear to be implemented anywhere so it's no great loss).
* Use IPC_RMID _after_ doing XShmAttach. This should work everywhere, andOwen Taylor1998-12-0710-14/+104
| | | | | | | | | Mon Dec 7 13:38:06 1998 Owen Taylor <otaylor@redhat.com> * gdk/gdkimage.c (gdk_image_new): Use IPC_RMID _after_ doing XShmAttach. This should work everywhere, and avoid the need for signal handlers or configure checks.
* Removed the unused cursor field in the structure.Federico Mena Quintero1998-12-079-114/+153
| | | | | | | 1998-12-07 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor field in the structure.
* Start mass update for GTK 1.1 Look for the best version of awk Fix FD leakGMT 1998 Tony Gale1998-12-0720-2500/+2842
| | | | | | | | | Mon Dec 7 15:15:06 GMT 1998 Tony Gale <gale@gtk.org> * docs/gtk_tut.sgml: Start mass update for GTK 1.1 * examples/extract.sh: Look for the best version of awk * examples/extract.awk: Fix FD leak * example/base: minimal example from Tutorial
* New functions gtk_window_set_transient_for() - set up a "transient for"Owen Taylor1998-12-0717-65/+887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Dec 7 01:29:27 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkwindow.c: New functions gtk_window_set_transient_for() - set up a "transient for" relationship. gtk_window_set_default_size() - set the initial size of a window distinct from its minimum size. gtk_window_set_geometry_hints() - Allow the user to set minimum, maximum sizes, aspect rations, and gridded geometry, possibly all with respect to a subwidget of the window. These interfaces are still a wee bit experimental. * gdk/gdk.c: Added gdk_window_set_transient_for(), gdk_window_set_geometry_hints(), and gdk_window_set_role(). * gdk/gdktypes.h: Added new types for find-grained specification of WM hints. * gtk/testgtk.c: Various changes to tests to test the above new functions. * gtk/gtkfontsel.c: Squash a few 'const' warnings. * gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored call to gtk_style_set_background() to prevent egregious flashing to black.
* updatesTim Janik1998-12-071-0/+9
|
* fixupsTim Janik1998-12-077-28/+28
|
* when marshalling connect_object signals, don't pass the data pointerTim Janik1998-12-078-1/+43
| | | | | | | | Mon Dec 7 03:52:01 1998 Tim Janik <timj@gtk.org> * gtk/gtksignal.c (gtk_handlers_run): when marshalling connect_object signals, don't pass the data pointer twice, but swap it with the object pointer (proposed on Nov 30 1998 on gtk-devel-list).
* reverted marius change to expose the type systems internal type info dataTim Janik1998-12-0718-161/+527
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Dec 7 03:08:39 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.h: * gtk/gtktypeutils.c: reverted marius change to expose the type systems internal type info data to the user. if such functionality is required we should provide wrapped accessors, ala gtk_signal_query(). * gtk/gtksignal.c (gtk_signal_connect_by_type): reverted marius change, since it destroys the possibility to implement automatic marshaller lookups some day, and it also disables third party code's ability to connect to any signal. also the GtkTypeInfo structures are dynamically allocated memory portions, so only the type system is really allowed to access that stuff. Mon Dec 7 01:32:18 1998 Tim Janik <timj@gtk.org> * gtk/gtkfilesel.c (gtk_file_selection_key_press): always intercept the Tab key on the entry. the focus shouldn't get lost even if completion is attempted from an empty entry, since an empty entry string does indeed have a valid completion meaning (complete all). (gtk_file_selection_init): cast the gchar array parameter in calls to gtk_clist_new_with_titles() to quit compiler warnings. (check_dir): the no_stat_dirs struct must not be const, since we do indeed modify its contents. * gtk/testgtk.c (event_watcher): adapted prototype to fit new emission hook semantics. * gtk/gtksignal.h: * gtk/gtksignal.c: changed emission allocation, so we don't use a doubly linked list but link ourselfs (singly linked). changed emission hooks, they get the emision parameters passed as well now and are emitted during the actuall signal emission (after the RUN_FIRST class method, but prior to RUN_FIRST handlers). the existing restrictions do still apply to signal emission hooks, i.e. an emission may not be stopped or restarted from an emission hook. due to possibly huge perfomance impacts, frequent use of emision hooks is also not recommended. (gtk_signal_next_and_invalidate): added an assertments which explicits what the code assumes anyways: a maximum amount of 65535 signals. * gtk/gtkcontainer.h: deprecated gtk_container_foreach_interp(), gtk_container_foreach_full() should be used instead. * gtk/gtkmain.h: deprecated gtk_timeout_add_interp and gtk_idle_add_interp, since we provide _full variants. * gtk/gtksignal.h: deprecated gtk_signal_connect_interp(), we provide gtk_signal_connect_full() for long enough now.
* *** empty log message ***Marius Vollmer1998-12-067-0/+63
|
* Allow a NULL marshaller. (gtk_signal_connect_by_type): Allow onlyMarius Vollmer1998-12-063-2/+27
| | | | | | | | | * gtk/gtksignal.c (gtk_signal_newv): Allow a NULL marshaller. (gtk_signal_connect_by_type): Allow only no_marshal handlers to connect to signals with a NULL marshaller. * gtk/gtktypeutils.c (gtk_type_get_info): New. gtk/gtktypeutils.h (gtk_type_get_info): New prototype.
* Grey out arrows if wrap == FALSE and interval borders are reached.Stefan Jeske1998-12-068-14/+62
| | | | | * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): Grey out arrows if wrap == FALSE and interval borders are reached.
* Fixed long-standing typo in aspect ratio computation code. (pointed out byOwen Taylor1998-12-068-3/+44
| | | | | | | | Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed long-standing typo in aspect ratio computation code. (pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)