Commit Graph

114 Commits

Author SHA1 Message Date
Tor Lillqvist ebf05daf38 Include <stdlib.h> for __argc and__argv.
2000-02-24  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimp.h (Win32): Include <stdlib.h> for __argc and__argv.

* libgimp/{gimp,gimpui}.def: Add new entry points.

* libgimp/gimpenv.c (Win32): Make compileable, with no geteuid etc.

* app/makefile.{cygwin,msc}
* libgimp/makefile.{cygwin,msc}: Update object file list.
2000-02-23 22:03:37 +00:00
Michael Natterer 27d4717c78 use a gimp_query_boolean_box().
2000-02-23  Michael Natterer  <mitch@gimp.org>

	* app/file_new_dialog.c: use a gimp_query_boolean_box().

	* libgimp/gimpenv.c
	* libgimp/gimpquerybox.c: documentation updates.

	* libgimp/gimpwidgets.[ch]: changed the widget constructors to
	return only the container widget and added access marcos for the
	sub-widgets. Added documentation for all functions.
	Made gimp_toggle_button_sensitive_update() public so this feature
	can be properly documented.

	* plug-ins/common/blur.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/snoise.c
	* plug-ins/common/spread.c
	* plug-ins/common/tile.c
	* plug-ins/gflare/gflare.c: updated according to the
	gimpwidgets.[ch] changes.

2000-02-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpenv.sgml
	* libgimp/tmpl/gimppixmap.sgml
	* libgimp/tmpl/gimpwidgets.sgml: various updates and documentation
	for all gimpwidgets.[ch] functions.
2000-02-23 15:52:33 +00:00
Michael Natterer ed071953b2 fixed a gtk-doc comment.
2000-02-21  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimppixmap.c: fixed a gtk-doc comment.

	* libgimp/gimpenv.[ch]: new functions:

	- gimp_path_parse(): Creates a GList of strings from a searchpath
	  string and performs sanity checks.
	- gimp_path_to_str(): Creates a searchpath string from the list
	  returned by gimp_path_parse().
	- gimp_path_free(): Frees the list returned by gimp_path_parse().
	- gimp_path_get_user_writable_dir(): Returns the first dir in a
	  path where the user has write access. With this function the
	  "Save" dialogs of some plugins always show the plugin's
	  subdirectory of the user's gimp_dir instead of the read-only
	  global one.

	* app/datafiles.[ch]
	* app/gimpbrushlist.c: use the new functions and
	s/datafile_loader_t/GimpDataFileLoaderFunc/.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/gimpressionist.c: use the new functions.
2000-02-21 17:15:30 +00:00
Sven Neumann 2debda2f0f doumented gimpenv
--Sven
2000-02-06 23:16:24 +00:00
Tor Lillqvist 7d67c07428 Regarding the GPL => LGPL change:
-----------------------------------------------------------------------------

Hi. The following files in libgimp/ state that they are GPL'ed, rather than
LGPL'ed:

   gimpenv.c
   color_selector.h
   color_display.h

I looked through the cvs logs of these files and found these "authors"
(the files may be older, but it's all I got):

 * Manish Singh <yosh@gimp.org>
 * ape@spacetec.no  (Asbjorn Pettersen)
 * Tor Lillqvist  <tml@iki.fi>
 * Austin Donnelly  <austin@gimp.org>
 * Michael Natterer  <mitch@gimp.org>
   petm@xcf.berkeley.edu
   spencer@xcf.berkeley.edu

I'd like to change the notice to LGPL again. If all of you agree with this
(just reply with a "yes") then I will just do this and paste your replies
into the log file.

-----------------------------------------------------------------------------
Date: Wed, 17 Nov 1999 23:30:27 +0200 (EET)
From: Tor Lillqvist <tml@sgic.fi>
Message-Id: <199911172130.XAA18357@platon.sgic.fi>

> I'd like to change the notice to LGPL again. If all of you agree with this
> (just reply with a "yes") then I will just do this and paste your replies
> into the log file.

YES!

--tml

-----------------------------------------------------------------------------
Date: Wed, 17 Nov 1999 13:31:45 -0800
From: Manish Singh <yosh@gimp.org>
Message-ID: <19991117133145.A7895@wilber.gimp.org>

On Wed, Nov 17, 1999 at 10:26:25PM +0100, Marc Lehmann wrote:
> Hi. The following files in libgimp/ state that they are GPL'ed, rather than
> LGPL'ed:
>
>    gimpenv.c

Needs S&P approval too.

(yes for me)

-----------------------------------------------------------------------------

Message-ID: <3833B9B6.6AD4B80A@cs.tu-berlin.de>
Date: Thu, 18 Nov 1999 09:32:54 +0100
From: Michael Natterer <mitschel@cs.tu-berlin.de>

> I'd like to change the notice to LGPL again. If all of you agree with this
> (just reply with a "yes") then I will just do this and paste your replies
> into the log file.

Yes ;-) (go for it please...)

--Mitch

-----------------------------------------------------------------------------

Message-Id: <199911180815.JAA17782@spacetec.no>
From: "Asbjoern Pettersen" <ape@spacetec.no>
Date: Thu, 18 Nov 99 09:15:14

OK for me.  (asbjorn)

>>    Tor Lillqvist  <tml@iki.fi>
>>    Austin Donnelly  <austin@gimp.org>
>>    Michael Natterer  <mitch@gimp.org>
>>
>> I'd like to change the notice to LGPL again. If all of you agree with this
>> (just reply with a "yes") then I will just do this and paste your replies
>> into the log file.

-----------------------------------------------------------------------------

Message-ID: <14387.56381.340662.797845@bailey.cl.cam.ac.uk>
From: Austin Donnelly <Austin.Donnelly@cl.cam.ac.uk>
Date: Thu, 18 Nov 1999 11:00:13 +0000 (GMT)

[...]
Yes, I don't mind them going under LGPL.

Austin
2000-01-15 21:30:17 +00:00
Sven Neumann 399e35b6c4 i18n stuff
--Sven
1999-11-22 22:38:02 +00:00
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
Asbjørn Pettersen fc81fbd409 handle drives(os2) 1999-08-06 11:14:01 +00:00
Tor Lillqvist 21aae5c7ad Add gdiplay_color. Create gimp.def from gimp.sym.
* app/makefile.{cygwin,msc}: Add gdiplay_color. Create gimp.def
 	from gimp.sym.

	* app/gimp.def: Removed.

	* libgimp/gimpenv.c (gimp_data_directory) (Win32): Also check for
	the executable being in the plug-ins subdirectory.

	* plug-ins/makefile.{cygwin,msc}: Install also GIMPressionist
 	brushes, papers and presets.
1999-07-29 22:07:17 +00:00
Asbjørn Pettersen 99ef09e511 Add __XOS2RedirRoot() for OS2 1999-07-28 19:36:04 +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 b6021023ee No need for <io.h> on Win32.
* libgimp/gimp.c: No need for <io.h> on Win32.

	* libgimp/{gimp,gimpui}.def: Add two entry points.

	* libgimp/gimp.h: Can't use __declspec(dllexport) for PLUG_IN_INFO
	when compiling with gcc on Win32. Also handle __argc, __argv and
	_stdcall differently with gcc on Win32

	* libgimp/gimpenv.c: Include <string.h>.

	* libgimp/gimpfeatures.h.in: Remove lots of extraneous trailing blanks.

	* libgimp/gimpfileselection.c: Include <glib.h> early, see above.

	* libgimp/{gimpwire,parasite}.c: Test for NATIVE_WIN32, not
	_MSC_VER.

	* libgimp/makefile.msc: Miscellaneous updates. The gimpi library
 	is now built as a static library.
1999-05-28 21:56:04 +00:00
Asbjørn Pettersen d5c6f4f01c set gimp_data_dir 1999-04-24 14:54:47 +00:00
Tor Lillqvist 951c92a602 Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00