summaryrefslogtreecommitdiff
path: root/glib
Commit message (Collapse)AuthorAgeFilesLines
* Remove last remaining fileRaja R Harinath1998-06-101-17/+0
|
* glib/* Moved to glib moduleOwen Taylor1998-06-1037-16212/+0
| | | | | | | | | | | | | | | | | Wed Jun 10 19:36:35 1998 Owen Taylor <otaylor@gtk.org> * glib/* Moved to glib module * INSTALL Makefile.am acconfig.h autogen.sh configure.in gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am configuration changes for the above: - Use AM_PATH_GLIB by default to find glib; also accept a --with-glib option for using an uninstalled glib. - Put --enable-debug information into config.h so that we rebuild when it changes. (was in glibconfig.h)
* Renamed g_const_pointer => gconstpointer.Owen Taylor1998-06-107-42/+46
|
* Removed g_object_pointer_hash, which was just g_direct_hash.Owen Taylor1998-06-098-57/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Jun 9 18:44:57 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkobject.c: Removed g_object_pointer_hash, which was just g_direct_hash. Mon May 25 19:54:20 1998 Owen Taylor <otaylor@gtk.org> * configure.in: x_libs=, not $x_libs=. Enough said. (Case only hit for --disable-xshm) Mon May 25 12:08:14 1998 Owen Taylor <otaylor@gtk.org> * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS when testing for X libraries, don't replace them. Because the user might have specified the path to the X libraries themself before running configure. * examples/**.c: Changed all gpointer * to gpointer Sat May 23 21:54:05 1998 Owen Taylor <otaylor@gtk.org> * configure.in (LDFLAGS): Bomb out with a moderately helpful message if detection of X libraries fails. Sat May 23 18:57:06 1998 Owen Taylor <otaylor@gtk.org> [ Combination of: gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>) gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ] * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c gtk/gtksignal.c gtk/gtktext.c: Fixups for warnings from adding const to type of GHashFunc, GCompareFunc * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/ ansi-warnings fixups. Tue Jun 9 17:47:33 1998 Owen Taylor <otaylor@gtk.org> * glib.h: Remove #error - HP/UX. Sat May 23 19:00:01 1998 Owen Taylor <otaylor@gtk.org> [ Combination of: gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>) gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ] * glib.h ghash.c gstring.c gdataset.c gutils.c: - Added new typedef g_const_pointer; expunged all incorrect uses of 'const gpointer'. - Fixed up warnings that that created, - Changed GHashFunc and GCompareFunc to take g_const_pointer arguments. (Necessary, but will cause warnings in existing code until fixed) - Added other new const in harmless positions.
* Fix for people using name manglingElliot Lee1998-06-091-2/+2
|
* Just a convenience to parallel gtk-configElliot Lee1998-06-093-1/+60
| | | | Just a convenience to parallel gtk-config
* check for func in g_[s]list_insert_sorted and g_[s]list_find_customTim Janik1998-06-083-98/+106
|
* wrapped enum definitions with glib macros.Tim Janik1998-06-082-0/+22
| | | | | | | | | | | | | Mon Jun 8 02:52:37 1998 Tim Janik <timj@gtk.org> * gdk/gdkprivate.h: * gdk/gdktypes.h: * gtk/gtkprivate.h: * gtk/gtkwidget.h: * gtk/gtkobject.h: wrapped enum definitions with glib macros. * reworked enum value array generation code. gtk.defs is a generated file now.
* Added g_s?list_find_custom functions to allow user to specify aElliot Lee1998-06-073-0/+35
| | | | | | | Added g_s?list_find_custom functions to allow user to specify a GCompareFunc to determine whether a node matches or not. If you have a better idea for naming the functions, please, make it so! :)
* Allow the user to pass --enable-mem-check and --enable-mem-profile atElliot Lee1998-06-074-62/+86
| | | | | Allow the user to pass --enable-mem-check and --enable-mem-profile at compile time.
* feature check menu items in the compatibility code (this required me toTim Janik1998-06-071-0/+9
| | | | | | | | Sun Jun 7 14:34:31 1998 Tim Janik <timj@gtk.org> * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature check menu items in the compatibility code (this required me to remove the "<check>" part from the menu item name, grrr).
* fixed an assertment.Tim Janik1998-06-072-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jun 6 06:01:24 1998 Tim Janik <timj@gtk.org> * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment. * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from, this should eventually be done by gentypeinfo.el somewhen. * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays. * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the enum values of an enum type. * gtk/gtk.defs: * gtk/gtkcurve.h: * gtk/gtkobject.h: * gtk/gtkprivate.h: * gtk/gtkwidget.h: * gtk/gtkenums.h: brought enum/flags definitions in sync, added a few more enum definitions for bindings and pattern matching. * some more macro and GtkType fixups in various places. * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used as a key-release modifier for the binding system. Fri Jun 5 06:06:06 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it was a stale list pointer that is already present in GtkMenuShell. * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal GtkMenuShell::selection_done which is emitted after the menu shell poped down again and all possible menu items have been activated. Thu Jun 4 02:20:42 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue before activation of the menuitem, so the menu is actually taken off the screen prior to any menu item activation. * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation for NULL nodes. * gtk/gtkwidget.h: * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop the emission of the "add-accelerator" signal on a widget. this is usefull to prevent accelerator installation on certain widgets. * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu labels left justified, by setting their alignment. stop accelerator installation for the menu items, since we use dynamic menus. Wed Jun 3 06:41:22 1998 Tim Janik <timj@gtk.org> * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people should *really* use GtkItemFactory. this is only for preserving source compatibility where possible, use of GtkMenuFactory is deprecated as of now. * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function to create user signals of type GTK_RUN_NO_RECURSE. don't know why i missed this possibility when i added gtk_object_class_add_user_signal in late january. * gtk/gtkmain.c (gtk_init): ignore subsequent function calls. Sun May 31 07:31:09 1998 Tim Janik <timj@gtk.org> * gtk/gtkaccelgroup.h: * gtk/gtkaccelgroup.c: new implementation of the accelerator concept. * gtk/gtkaccellabel.h: * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features display of the accelerators associated with a certain widget. * gtk/gtkitemfactory.h: * gtk/gtkitemfactory.c: new widget, item factory with automatic rc parsing and accelerator handling. * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for positioning a menu. (gtk_menu_map): removed the allocation code. (gtk_menu_size_allocate): care for redrawing of children and resize our widget->window correctly. (gtk_menu_key_press): feature the new accelerator groups. * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the submenu if neccessary. * gtk/gtkmenuitem.c: * gtk/gtkcheckmenuitem.c: * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label() function variants. * gdk/gdk.c: (gdk_keyval_from_name): (gdk_keyval_name): new functions for keyval<->key-name associations. (gdk_keyval_to_upper): (gdk_keyval_to_lower): (gdk_keyval_is_upper): (gdk_keyval_is_lower): new functions to check/translate keyvalues with regards to their cases. Wed May 27 00:48:10 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a widget's class path. (gtk_widget_path): new function to calculate a widget's name path. * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up pattern matching, features reversed pattern matches.
* Commented out the MEM_PROFILE and MEM_CHECK from gmem.c, causing problemsManish Singh1998-06-063-3/+8
| | | | | | | | with GdkImages. Updates some .cvsignores -Yosh
* Add \n's on the end of g_prints in the mem profiling code.Elliot Lee1998-06-051-4/+4
| | | | Add \n's on the end of g_prints in the mem profiling code.
* wrote a comment describing why a hash node's key should not also getTim Janik1998-06-026-6/+86
| | | | | | | | | | | | | | | Mon Jun 1 04:43:27 1998 Tim Janik <timj@gtk.org> * ghash.c (g_hash_table_insert): wrote a comment describing why a hash node's key should not also get replaced when overriding previous entries. Tue May 26 18:30:06 1998 Tim Janik <timj@gtk.org> * glib.h (g_string_sized_new): new function to controll the preallocated size of a GString. * glib.h (g_strreversed): new function to reverse a string.
* Use pthread_attr_init() as a test function, since most of the rest ofOwen Taylor1998-05-202-0/+6
| | | | | | | | | | | | Tue May 19 23:41:04 1998 Owen Taylor <otaylor@gtk.org> * configure.in: Use pthread_attr_init() as a test function, since most of the rest of -lpthread is macros on DU4. Mon May 18 22:14:39 1998 Owen Taylor <otaylor@gtk.org> (Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp> : gtk-joke-980517-0.patch) * gutils.c: Restored a missing prototype for g_vsprintf.
* conditionally define NULL, FALSE and TRUE. (g_mem_chunk_create): newTim Janik1998-05-202-28/+46
| | | | | | | | | Wed May 20 05:02:26 1998 Tim Janik <timj@gtk.org> * glib.h: conditionally define NULL, FALSE and TRUE. (g_mem_chunk_create): new convenience macro as a short hand for g_mem_chunk_new(). (g_chunk_free): new convenience macro to be consistent with g_chunk_new.
* Tue, 19 May 1998 11:51:02 +0200 Paolo Molaro <lupus@debian.org>Paolo Molaro1998-05-194-0/+270
| | | | | * added generic functions for completion in glib. * used the above functions in the gtkcombo widget.
* provide usefull default specifications for identifier_spec andTim Janik1998-05-175-3/+40
| | | | | | | | | | Sun May 17 10:48:27 1998 Tim Janik <timj@gtk.org> * gscanner.c (g_scanner_unexp_token): provide usefull default specifications for identifier_spec and symbol_spec. * glib.h: new functions g_slist_nth_data and g_list_nth_data to return the data of the nth element in the list.
* g_strdup() the text retrived from GtkEntry. only intercept the Tab key ifTim Janik1998-05-161-0/+1
| | | | | | | | Sat May 16 09:04:32 1998 Tim Janik <timj@gtk.org> * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the text retrived from GtkEntry. only intercept the Tab key if there was some text to complete.
* removed sputious va_end(args) that for some reason didn't produce aTim Janik1998-05-153-3/+7
| | | | | | | | Fri May 15 22:31:49 1998 Tim Janik <timj@gtk.org> * gscanner.c (g_scanner_unexp_token): removed sputious va_end(args) that for some reason didn't produce a compiler wrning on my machine (is va_end undefined for i386?).
* replaced some snprintf with g_snprintfrodo1998-05-152-28/+32
| | | | | | Fri May 15 12:32:08 1998 rodo <doulik@karlin.mff.cuni.cz> * gscanner.c: replaced some snprintf with g_snprintf
* [binray incompatibility]Tim Janik1998-05-153-4/+59
| | | | | | | | | | | | | | | | | | | | [binray incompatibility] Fri May 15 00:56:59 1998 Tim Janik <timj@gtk.org> * glib.h: further support for gcc function attributes: G_GNUC_FORMAT, G_GNUC_NORETURN and G_GNUC_CONST. * gscanner.c (g_scanner_stat_mode): changed stat() to lstat(). (g_scanner_msg_handler): "\n" at end of line! (g_scanner_foreach_symbol): new function to iterate over the symbol table (GScanner does value-wrapping). Fri May 15 09:44:10 1998 Tim Janik <timj@gtk.org> * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of the visibility_notify_event method and changed method order.
* typedef gint gboolean; this is needed to provide portability withTim Janik1998-05-142-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Thu May 14 04:14:12 1998 Tim Janik <timj@gtk.org> * glib.h: typedef gint gboolean; this is needed to provide portability with big-endian platforms (e.g. try sizeof(bool) for c++ on big-endians - it's 4). this is also needed to maintain some_union.d_gint==some_union.d_gboolean. plus, gint to gboolean casts and vice versa need to be possible without loss. Thu May 14 03:04:43 1998 Tim Janik <timj@gtk.org> * gtk/gtktypeutils.c (gtk_type_free): new function to take care about freeing types. (gtk_type_set_chunk_alloc): new function to allow allocation of new types from a mem_chunk of certain size (n_chunks==0 indicates allocation thorugh g_malloc). * gtk/gtkobject.c (gtk_object_finalize): free an object through gtk_type_free(). * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for GtkButtons to 16. * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16). * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
* Fixed up a stat() that Sopwith missed when changing stat => lstat.Owen Taylor1998-05-135-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 12 19:37:55 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat() that Sopwith missed when changing stat => lstat. Tue May 12 19:19:29 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate. * gdk/gdk.c: Print sizeof() results as g_print("%ld", (glong)sizeof(foo)), to deal with sizeof() being long on Alpha's. * gtk/testgtk.c: include <string.h> for strlen Tue May 12 19:22:58 1998 Owen Taylor <otaylor@gtk.org> * glib/glib.h: Added macros G[U]INT_TO_POINTER() and GPOINTER_TO_[U]INT for storing small integers integers inside pointers. * glib/testglib.c: Print sizeof() results as g_print("%ld", (glong)sizeof(foo)), to deal with size_t being long on Alpha's.
* (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)Owen Taylor1998-05-125-39/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 12 16:54:15 1998 Owen Taylor <otaylor@gtk.org> (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch) * glib.h gstring.c gmessages.c: Added some missing const to arguments. * gutils.c (g_strsignal.c): Added missing return statements. Tue May 12 16:56:35 1998 Owen Taylor <otaylor@gtk.org> (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch) * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h: Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h> * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass Tue May 12 15:16:10 1998 Owen Taylor <otaylor@gtk.org> (From: Christopher James Lahey <clahey@umich.edu>) * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch] gtk/testgtk.c: Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL (old style), or GTK_RELIEF_NONE - no relief in the NORMAL state. Added gtk_toolbar_{set,get}_button_relief, which set/get the default relief for the toolbars buttons. Added an toggle for the toolbar test in testgtk.c.
* Add gmessages.c to MakefileManish Singh1998-05-121-0/+1
| | | | -Yosh
* Moved g_error, g_warning, g_message and g_print from gutils.c to new fileOwen Taylor1998-05-123-156/+187
| | | | | | | | | Mon May 11 21:11:54 1998 Owen Taylor <otaylor@gtk.org> * gutils.c gmessages.c: Moved g_error, g_warning, g_message and g_print from gutils.c to new file gmessages.c, to avoid having to include <unistd.h> in gutils.c which was causing problems for the g_strsignal implementation on FreeBSD boxes.
* preserve automake CFLAGS.Tim Janik1998-05-115-62/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon May 11 09:56:45 1998 Tim Janik <timj@gtk.org> * configure.in (cflags_set): preserve automake CFLAGS. * Makefile.am: fully rename the created libraries to libgtk-1.1.la and libgdk-1.1.la. this means we need to change certain portions of the Makefile.am on major/minor version bumps. * ltmain.sh: the -release option is not required anymore. * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type of the first argument to be of type GtkObject. unconditionally compile this function. removed __GNUC__ dependancy of the gtk_object_ref and gtk_object_unref macro wrappers for this function. Mon May 11 09:53:43 1998 Tim Janik <timj@gtk.org> * configure.in: preserve automake CFLAGS. * Makefile.am: fully rename the created library to libglib-1.1.la. this means we need to change certain portions of the Makefile.am on major/minor version bumps. * ltmain.sh: the -release option is not required anymore. * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX, MIN, ABS and CLAMP, these macros might be screwed from other headers.
* new file, gdatasets implement the object data mechanism from GtkObject. aTim Janik1998-05-114-1/+372
| | | | | | | | | | | | | | | | | Mon May 11 01:44:10 1998 Tim Janik <timj@gtk.org> * gdataset.c: new file, gdatasets implement the object data mechanism from GtkObject. a generic data pointer is associated with a certain location and a key id. Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org> * gtk/gtkobject.h: * gtk/gtkobject.c: (gtk_object_data_try_key): (gtk_object_data_force_id): these are now macros substituting the old functions. we just use the corresponding g_dataset_* functions for key->id associations. (this is to assure unique key<->id associations).
* bugfixes, cleanups and macro reduction, nothing major though ;)Tim Janik1998-05-102-3/+10
|
* Try to figure out if this is Digital Unix and we need -std1 to get theOwen Taylor1998-05-101-22/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat May 9 20:11:20 1998 Owen Taylor <otaylor@gtk.org> * configure.in (LIBS): Try to figure out if this is Digital Unix and we need -std1 to get the right prototypes. Sat May 9 20:08:12 1998 Owen Taylor <otaylor@gtk.org> * glib/gmem.c: Experimentally restore GMemChunk to its primeval state - where mem areas are freed incrementally instead of searching the tree every time a mem area is completely empty. Also, always keep one mem chunk around. (Reduced calls to malloc() a lot, but doesn't really improve performance significiantly) Fri May 8 21:31:50 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the draw-queue when we are done. (gtk_widget_queue_draw/_queu_resize): Always return FALSE and avoid having two idles at the same time. Fri May 8 21:04:00 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtktext.c: Various fixes to make sure cache lines are freed if line_start_cache doesn't point to the beginning of the cache. Thu May 7 09:44:22 1998 Owen Taylor <otaylor@gtk.org> * style_set improvements for GtkText and GtkEntry Tue May 5 19:49:27 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit to speed things up and remove code duplication. Reintegrated buffer overflow patches, and added some extra paranoia. Tue May 5 17:04:14 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdk.c (gdk_event_translate): A guint * was being passed where X expected a Keysym *, and keysyms are long's on Alpha Linux. This was causing segfaults in Xlib, apparently because of alignment. (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>) Tue May 5 19:11:27 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always set GDK_EXPOSURE_MASK for DrawingAreas Tue May 5 14:32:37 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style (superceded by RC file reparsing capabilities) * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client events. (Shouldn't be sent to the InputOnly leader, which it is now by gdk_event_send_clientmessage_toall * gtk/testgtk.c: Added extra button to rcfiles test to send out _GDK_READ_RCFILES events. Tue May 5 11:03:00 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkselection.c (gtk_selection_clear): Fixed reversed conditionals that caused segfault on some platforms. Tue May 5 00:44:47 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment): cast to GTK_OBJECT for gtk_object_ref.
* macros to facilitate the printf/scanf format argument checking of gcc.Tim Janik1998-05-078-147/+738
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu May 7 08:17:28 1998 Tim Janik <timj@gtk.org> * glib.h (G_GNUC_PRINTF): (G_GNUC_SCANF): macros to facilitate the printf/scanf format argument checking of gcc. * gstring.c: const corrections, string!=NULL checks at function entry. (g_string_down): new function for tolower(3) conversion. (g_string_up): new function for toupper(3) conversion. * gutils.c: const corrections. (g_strdown): g_string_down() counterpart. (g_strup): g_string_up() counterpart. * gscanner.c (g_scanner_unexp_token): (g_scanner_error): (g_scanner_warn): new functions to let a scanner put out warnings or errors, especially to react on unexpected tokens. * gslist.c: (g_slist_index): find out about about the position of a certain data pointer. (g_slist_position): find out about about the position of a certain node. * glist.c: (g_list_index): find out about about the position of a certain data pointer.
* postfix -lg* libraries with LT_RELEASE.Tim Janik1998-05-074-4/+53
| | | | | | | | | | | | | | | Thu May 7 05:14:19 1998 Tim Janik <timj@gtk.org> * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE. * ltmain.sh: added a new commandline flag -postfix similar to -release, but will immediately change the library name. * gdk/Makefile.am: * gtk/Makefile.am: specify -postfix and -version-info * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and GTK_BINARY_AGE. calculate LT_* variables for libtool.
* configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both onOwen Taylor1998-05-036-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun May 3 13:38:22 1998 Owen Taylor <otaylor@gtk.org> * configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on the client and server side. (And, more importantly, check for the shape extension so we may include -lXext even when compiling with --disable-xshm) Don't set override_redirect on all shaped windows. It isn't necessary. * gdk/gdkwindow.c: Set ->colormap to NULL for root and foreign windows. Use this to check if we need to get the colormap from X. Fri May 1 22:32:47 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkbutton.c (gtk_button_paint): Draw the areas between the default and the button always in GTK_STATE_NORMAL. * gtk/gtkrange.c (gtk_range_style_set): Added a style_set callback. Fri May 1 16:40:57 1998 Owen Taylor <otaylor@gtk.org> * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]): Fix a buffer overflow on pixmaps that claim to have more than 31 characters per pixel. (gdk_pixmap_read_string): Don't wrap around strings longer than half of address space ;-) * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers that were used for printing integers. * */* (almost): Style: All int foo () { ... } changed to int foo (void) { ... } ^^^^^^^ This is why some many files changed Even where there were proper prototypes elsewhere. * gdk/gxid.c (handle_claim_device): Some extra checks. It isn't safe against being fed bad X id's, but at least it should be safe against deleting all your files.
* Merged changes from gtk-1-0. Check ChangeLog for details.Owen Taylor1998-05-014-88/+122
|
* Someone has to make SOME backwards incompatible changes sometime. IElliot Lee1998-04-284-0/+27
| | | | | | | | | | Someone has to make SOME backwards incompatible changes sometime. I switched around the prev & next pointers in GList. not. (Would this change make any functional difference? Discuss in a five page paper. :-) Actually, added g_list_position() - inverse of g_list_nth()
* Changed LGPL address for FSF in all .h and .c filesPDT 1998 Shawn T. Amundson1998-04-1316-32/+48
| | | | | | Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * Changed LGPL address for FSF in all .h and .c files
* changes for 1.0.0 release.PDT 1998 Shawn T. Amundson1998-04-101-1/+1
| | | | | | | Thu Apr 9 19:31:51 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * AUTHORS NEWS README configure.in gtk+.spec glib/configure.in: changes for 1.0.0 release.
* Released GTK+ 0.99.10GTK_0_99_10PDT 1998 Shawn T. Amundson1998-04-081-1/+1
| | | | | | Tue Apr 7 22:45:37 PDT 1998 Shawn T. Amundson <amundson@gtk.org> * Released GTK+ 0.99.10
* really remove g_direct_compare() (this includes its declaration ;).Tim Janik1998-04-082-6/+7
|
* Removed, because that's what a NULL comparison function means. And itOwen Taylor1998-04-072-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Apr 7 19:36:48 1998 Owen Taylor <owt1@cornell.edu> * gutils.c (g_direct_compare): Removed, because that's what a NULL comparison function means. And it wasn't 64 bit safe. Tue Apr 7 19:14:03 1998 Owen Taylor <owt1@cornell.edu> * gdk/gdkpixmap.c: Added maximum field widths to prevent possible '%s' scanf overflows. Replaced scanf("%c") with getc(), Don't interpret /*/ as a full comment. Use g_realloc/g_new. * gtk/gtkwidget.h gtk/gtkprivate.h: Changed all flag tests to check for ((GTK_WIDGET_FLAGS(widget) & FLAG) != 0) instead of (GTK_WIDGET_FLAGS(widget) & FLAG) * gtk/gtkfilesel.c: Use getwd() instead of getcwd() on SunOS, because getcwd() hangs up in a wait4(). (Found by David Monniaux <monniaux@clipper.ens.fr>) - Check device/inode/mtime not just inode/mtime, when caching scanned directories. (From: scottk@ig.utexas.edu (Scott Kempf)) * gdk/gdkpixmap.c: Check for 0 width/height when creating pixmaps. * gtk/*.c: Global substitution of recently introduced "MAX (0," for allocations to "MAX (1,", since creating a backing pixmap with a zero width or height fails. * gdk/gdkwindow.c (gdk_window_new): Don't set all the WM properties for child windows. Don't set the base size, since the value we set will be taken as a minimum size.
* added g_direct_hash and g_direct_compare functions, since I happen to use ↵Elliot Lee1998-04-072-1/+16
| | | | them in a *lot* of places
* fixed a bug that caused floats of the format ".xxx" to be parsed as "xxx".Tim Janik1998-04-062-1/+9
| | | | | | | Mon Apr 6 18:43:25 1998 Tim Janik <timj@gtk.org> * gscanner.c (g_scanner_get_token_ll): fixed a bug that caused floats of the format ".xxx" to be parsed as "xxx".
* Make debug string parsine case-insensitiveOwen Taylor1998-04-042-2/+7
| | | | | | | | | | | | Fri Apr 3 20:36:35 1998 Owen Taylor <owt1@cornell.edu> * gutils.c (g_parse_debug_string): Make debug string parsine case-insensitive Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu> * gdk/gdk.c gtk/gtkmain.c: Accept debug options in the form --g[td]k[-no]-debug=xxx as well
* corrected possible overrun when inserting into GStringsManish Singh1998-04-042-3/+8
| | | | -Yosh
* Removed literal german from strings to appease SGI compiler.Owen Taylor1998-04-042-10/+5
| | | | | | | Fri Apr 3 18:05:45 1998 Owen Taylor <owt1@cornell.edu> * testglib.c: Removed literal german from strings to appease SGI compiler.
* Released GTK+ 0.99.9GTK_0_99_9PST 1998 Shawn T. Amundson1998-03-281-1/+1
| | | | | | | | Fri Mar 27 16:35:00 PST 1998 Shawn T. Amundson <amundson@gtk.org> * Released GTK+ 0.99.9 * examples: added a couple more, fixed some Makefiles
* If the widget is _not_ a descendant of a Window widget, propagate keyOwen Taylor1998-03-274-1/+18
| | | | | | | | | | | | | | | | | | | Fri Mar 27 00:13:18 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkmain.c (gtk_propagate_event): If the widget is _not_ a descendant of a Window widget, propagate key presses like other events. * gtk/gtkentry.c gtk/gtktext.c: Ignore multiple simultaneous button presses instead of treating subsequent presses as release/press pairs for tablet compatibility. * configure.in config.h.in: Removed inline checks, because they are duplicated in glib. * gtk/gtkwidget.c (gtk_widget_draw): When gtk_widget_draw () occurs with queued draw already in place, redraw _entire_ widget. (Pointed out by Tim Janik)
* When gtk_widget_draw() is called on a REDRAW_PENDING widget, draw it andOwen Taylor1998-03-262-1/+6
| | | | | | | | | | | | | | | | | Thu Mar 26 15:33:50 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtkwidget.c: When gtk_widget_draw() is called on a REDRAW_PENDING widget, draw it and remove it from the queue instead of doing nothing. * gtk/Makefile.am gdk/Makefile.am: Switch order of includes directories, to make doubly sure that wrong glibconfig.h isn't used. (See also glib/ChangeLog) * gtk/gtkentry.c (gtk_entry_draw_focus): Don't draw the cursor unless the entry is editable. (From: Stefan Jeske <jeske@braunschweig.netsurf.de>)