Commit Graph

36 Commits

Author SHA1 Message Date
Manish Singh d0519fd33d use G_OS_WIN32 and G_HAVE_CYGWIN #defines
* app/app_procs.c
* app/gdisplay_color.[ch]
* app/gdisplay_color_ui.c: make the ui usable

* app/gdisplay.c: enable cdisplay support

* modules/Makefile.am
* modules/cdisplay_gamma.c: moved gamma functionality to separate

-Yosh
1999-10-04 19:26:07 +00:00
Tor Lillqvist 0aeb637088 Update gcc instructions. Remove warning about gettext being GPL, as the
* README.win32: Update gcc instructions. Remove warning about
 	gettext being GPL, as the GIMP is GPL, too, of course, and it
 	thus doesn't matter.

	* user_install.bat: Rename the template user gtkrc to gtkrc_user,
 	to reduce user confusion.

	* app/main.c: Small change for gcc on Win32 compilation.

	* */makefile.cygwin
	* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
 	no need to have differently named DLLs (including modules) for
 	(built by) gcc and MSVC.

	* app/module_db.c: Use g_strdup_printf() instead of
 	strlen(), g_malloc() and g_snprintf()

	* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
 	the suitable gimpfeatures.h is built when making the dist.

	* libgimp/gimpfeatures.h.win32: Removed.

	* libgimp/makefile.cygwin
	* libgimp/makefile.msc: Remove gimpfeatures.h.win32.

	* libgimp/gimp.h: Win32 startup code changed a bit.

	* plug-ins/makefile.cygwin
	* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.

	* plug-ins/common/animationplay.c
	* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
	clashing declarations because these guys include gdkx.h (which
	includes windows.h), and gimp.h also declares WinMain on its own.
1999-07-21 19:52:20 +00:00
Tor Lillqvist fe1cc678c1 app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin
* app/makefile.cygwin
	* app/makefile.msc
	* plug-ins/makefile.cygwin
	* plug-ins/makefile.msc
	* modules/makefile.cygwin
	* modules/makefile.msc
	* tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL
	name change.

	* app/context_manager.c: Include paint_options.h for prototype.

	* app/gimpimage.c (gimp_image_initialize_projection): Break out of
 	loop as soon as possible.

	* app/menus.c (menus_last_opened_cmd_callback): Check if referring
 	to entry not in list.

	* app/module_db.c (valid_module_name): (Win32) Require module DLL
 	names to include name of compiler built with.

	* app/paths_dialog.c (paths_draw_segment_points): No use to draw
 	lines if we have less that two points.

	* app/qmask.c: Include stdio.h and floating_sel.h.

	* libgimp/makefile.cygwin: New file.

	* libgimp/Makefile.am:  Distribute above file.

	* libgimp/gimp.def: Update.

	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
 	home directory on Win32, it is perfectly natural.

	* plug-ins/sel2path/global.h: Bypass unused declarations, some
	of which clash with functions in MSVCRT.

	* plug-ins/sel2path/math.c
	* modules/colorsel_water.c: Define M_PI if necessary.

	* plug-ins/sel2path/sel2path.c: Include config.h and
 	glib.h. Define rint() if needed.

	* plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming
 	on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called
 	_hypot(), sigh).

	* plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on
 	some compilers than the huge string.
1999-07-14 16:02:32 +00:00
Tor Lillqvist 58ad1ee549 Distribute makefile.cygwin.
* Makefile.am: Distribute makefile.cygwin.
1999-07-03 07:51:12 +00:00
Tor Lillqvist 7b46c30e0c When built on Win32 with gcc, don't use popen, as it doesn't seem to work
* gcg.c: When built on Win32 with gcc, don't use popen,
	as it doesn't seem to work when gcc is itself running under
	cygwin, but gcg is not.

	* makefile.cygwin: New file.
1999-07-03 07:49:44 +00:00
Manish Singh 5a4ec719d7 shut up cvs
-Yosh
1999-06-06 18:20:20 +00:00
Manish Singh a8b0fb2411 various dist fixes
-Yosh
1999-06-06 18:17:57 +00:00
Tor Lillqvist 997a53b50a Distribute getopt.c and makefile.msc.
* Makefile.am: Distribute getopt.c and makefile.msc.

	* getopt.c makefile.msc: New files.

	* gcg.c lexer.l: Portability improvements for Win32.
1999-05-19 20:53:37 +00:00
Raph Levien a9c3a9aa39 Updated the gcg README just a bit. 1999-03-24 23:27:52 +00:00
Manish Singh 7fc7fdf823 AUTHORS satisfy automake
* AUTHORS
* NEWS: satisfy automake

* gcg.c: braces around ambiguous if

-Yosh
1999-01-21 04:48:08 +00:00
Manish Singh 092ea1e3d7 grr, some cc's barf if the search dir doesn't exist, leave $(datadir)/gcg
* Makefile.am: grr, some cc's barf if the search dir doesn't
exist, leave $(datadir)/gcg out for now

-Yosh
1999-01-14 00:06:03 +00:00
Manish Singh 344ffe8e52 Implemented file revert
-Yosh
1999-01-12 01:31:49 +00:00
Manish Singh f0558a7ea2 rework to do gcg by ourselves
* autogen.sh: rework to do gcg by ourselves

gcg:
        * autogen.sh: call configure again

        * gcg.c
        * Makefile.am: use CPP_SEARCH for finding stuff

-Yosh
1999-01-10 06:53:30 +00:00
Manish Singh 42c76a1805 pass -x c to gcc so it doesn't try to pass the .gc files as linker input
* configure.in: pass -x c to gcc so it doesn't try to
pass the .gc files as linker input

* Makefile.am: use builtin automake rules for yacc/lex

-Yosh
1999-01-10 00:02:45 +00:00
Manish Singh 576edc87e5 added pl to ALL_LINGUAS
* configure.in: added pl to ALL_LINGUAS

* POTFILES.in, remove indexed_palette.c, add colormap_dialog.c

* configure.in
* gcg.c: use CPP_PROGRAM instead of hardcoding "cpp"

-Yosh
1999-01-07 23:53:29 +00:00
Lauri Alanko 42d9768d7f Took out configure from autogen.sh 1999-01-07 19:29:03 +00:00
Lauri Alanko ba4354351d s/_i/\. :P 1999-01-05 20:20:43 +00:00
Lauri Alanko 9c7928f1f9 Fixed the parser and lexer a bit, changed naming conventions here and there. 1999-01-05 20:17:34 +00:00
Manish Singh aac6bce8ad fixes for gtk+ 1.1.9
-Yosh
1998-12-22 05:58:36 +00:00
Manish Singh c848afaf52 Shut up cvs
-Yosh
1998-12-18 07:39:17 +00:00
Lauri Alanko f633c7da4e Added signal demarshallers. Currently they are generated for
each module (= compilation unit) separately, which is bound to
cause some code duplication..
1998-11-21 20:24:18 +00:00
Lauri Alanko 6eb753a2b1 Added import headers and some more example stuff. 1998-11-21 16:57:42 +00:00
Lauri Alanko 8e50a58f71 Experimented a bit with dependency tracking for .gc files.. 1998-11-21 07:28:34 +00:00
Lauri Alanko 652c3af60b Added -a flag to automake.. Seems like this log entry is a much bigger
modification.. :)
1998-11-20 23:27:06 +00:00
Lauri Alanko 05665ade08 Forgot to add a couple of files.. 1998-11-20 23:22:13 +00:00
Lauri Alanko d74bf3623e It actually runs now, with a zillion caveats, but anyway..
Still have to do lotsa things for serious use..
1998-11-20 23:21:40 +00:00
Lauri Alanko 51b4b0966e Again modified the formatting stuff. Some preliminary header stuff.
Soon moving to use cpp..
1998-11-19 22:36:44 +00:00
Lauri Alanko 72b48d5259 Signal marshalling should be pretty complete now. Demarshalling isn't
quite yet, though..
1998-11-18 11:25:11 +00:00
Lauri Alanko 58576d8d84 Misc enhancements. 1998-11-17 20:19:25 +00:00
Lauri Alanko a8abef068c Changed lotsa internal stuff. Started work on signal wrappers
and marshallers.
1998-11-14 18:03:33 +00:00
Lauri Alanko 11710e1d60 Woops! 1998-10-24 09:26:21 +00:00
Lauri Alanko c13ec4e22e Woopsie! 1998-10-24 09:15:51 +00:00
Lauri Alanko 77ef8dd979 Redid the backend. It takes more time and memory now, but should be a bit
more flexible, and type safe. Also added more stuff to the front end.
1998-10-24 09:10:07 +00:00
Lauri Alanko 6bc0ad428a Enhanced the method generation a bit. 1998-10-22 15:56:59 +00:00
Lauri Alanko 5343dbb8d4 Added vfunc wrappers and accessors. 1998-10-21 19:19:59 +00:00
Lauri Alanko 91f868467c Initially committed to CVS. 1998-10-21 15:10:24 +00:00