gtk2/gdk
Tor Lillqvist c65508d272 This might seem like a large patch, but it isn't that bad, and nothing
should break on Unix/X11.

Win32 merge and general portability stuff:

* acconfig.h,configure.in: Check for <sys/time.h>.

* gdk/win32: New directory (actually, been there for a while).

* gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
NATIVE_WIN32, and use these. Always case fold on Win32. No
backslashed escapes on native Win32.

* gtk/{gtk.def,makefile.msc}: New files.

* gtk/Makefile.am: Add above new files.

* gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
instead of <strings.h>.

* gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
<unistd.h> appropriately.

* gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
Use ABS() (from <glib.h>) instead of abs().

* gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
of gtk (and thus glib) headers, so that WIN32 will be
defined. With MS C, include <direct.h> for mkdir prototype.

* gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
some casts, needed by MS C.

* gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
implemented).

* gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
<X11/Xlocale.h> only on X11 platform, otherwise <locale.h>.  Use
G_SEARCHPATH_SEPARATOR_S and g_module_build_path.

* gtk/gtkmain.h: Mark variables for export/import on Win32.

* gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
the event is not a hint, or its window is not the slider. Needed
on Win32, at least.

* gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
a subdirectory of the Windows directory as gtk system
configuration directory.

* gtk/gtkselection.c: No chunks on Win32.

* gtk/gtksocket.c: Not implemented on Win32.

* gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.

* gtk/makeenums.h: Include gdkprivate.h after gdk.h.

* gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
1999-03-15 00:03:37 +00:00
..
win32 This might seem like a large patch, but it isn't that bad, and nothing 1999-03-15 00:03:37 +00:00
x11 first lookup the xfont ID in our font hash table, if we have a 1999-03-10 01:15:03 +00:00
.cvsignore shutup CVS further 1998-09-17 22:59:18 +00:00
gdk.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdk.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkcc.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkcolor.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkcursor.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkdraw.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkevents.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkfont.c first lookup the xfont ID in our font hash table, if we have a 1999-03-10 01:15:03 +00:00
gdkgc.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkglobals.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdki18n.h Move widechar tests from `glib' to here, since those were meant only for 1999-03-14 03:27:33 +00:00
gdkim.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkimage.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinput.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinput.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinputcommon.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinputgxi.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinputnone.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkinputxfree.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkkeysyms.h Merged changes from gtk-1-0. Check ChangeLog for details. 1998-05-01 04:23:59 +00:00
gdkpixmap.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkprivate.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkproperty.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkrectangle.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkregion.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkrgb.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkrgb.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkselection.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdktypes.h Configure now generates a gdkconfig.h file, in similar way as GLib's 1999-03-13 16:40:24 +00:00
gdkvisual.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkwindow.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkx.h Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gdkxid.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
gxid_lib.c Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the 1998-11-24 05:58:53 +00:00
gxid_lib.h Initial revision 1997-11-24 22:37:52 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
gxid.c fatal warning option is split up now, "--g-fatal-warnings" causes fatal 1998-08-16 21:15:11 +00:00
Makefile.am Configure now generates a gdkconfig.h file, in similar way as GLib's 1999-03-13 16:40:24 +00:00
MwmUtil.h Account for the fact that Xlib expects format == 32 to be a long, even on 1999-02-21 20:55:04 +00:00