Commit Graph

1063 Commits

Author SHA1 Message Date
Marc Lehmann 3de32eb68f see plug-ins/perl/Changes 2000-01-06 00:30:56 +00:00
Sven Neumann 970a3dae68 various i18n issues
use strtok() safely whereever it is used

gettext support for FractalExplorer


--Sven
2000-01-05 22:37:07 +00:00
Michael Natterer ee6ad0e212 removed most functions. Show the help page in an idle function to avoid
2000-01-05  Michael Natterer  <mitch@gimp.org>

	* app/gimphelp.[ch]: removed most functions. Show the help page in
	an idle function to avoid confusion with calling the temporary
	help browser procedure in the middle of the "gimp_help" PDB call.
	(I beleive this should work, so this is maybe a workaround for
	some other bug).

	* app/gimpui.[ch]: removed the dialog functions.

	* libgimp/Makefile.am
	* libgimp/gimpdialog.[ch]
	* libgimp/gimphelp.c
	* libgimp/gimphelpui.[ch]: new files. Moved most of the help
	functions and the dialog constructors to libgimp and libgimpui.

	* libgimp/gimp.h: declaration of the "gimp_help*" functions.

	* libgimp/gimpui.h: include "gimpdialog.h" and "gimphelpui.h".

	* plug-ins/common/grid.c: use the dialog constructor. It's now
	possible to show the plugin's help with "F1".
2000-01-05 15:47:06 +00:00
Marc Lehmann b1c8deb483 see plug-ins/perl/Changes 2000-01-04 19:23:14 +00:00
Tor Lillqvist e8914730c6 Add build setup for modules like Gimp-Python.
* plug-ins/makefile.{cygwin,msc}: Add build setup for modules like
Gimp-Python.

* plug-ins/pygimp/gimpmodule.c: Change NATIVE_WIN32 to G_OS_WIN32.
2000-01-04 18:09:51 +00:00
Tor Lillqvist a075daa211 Add gimpcolorspace object.
2000-01-04  Tor Lillqvist  <tml@iki.fi>

* libgimp/makefile.{cygwin.msc}: Add gimpcolorspace object.

* libgimp/gimp.def: Add functions from it.

Fixes from Hans Breuer:

* app/datafiles.c: redefine the executable flag for Win32
to _S_IREAD, to get _all_ files from the plug-in dirs as
executables (including scripts)

* app/main.c: Win32-specific changes to allow building Gimp as a
console application, with all its benefits (like inheriting the
console), but hide it if the user doesn't want it. Also, if stdout
goes to a console, give the user a chance to read the help or
version messages. (tml: I am not convinced that it is better to
build gimp as a console application, but let's try it this way for
a while.)

* app/makefile.{cygwin,msc}: Build as console application, and
link with shell32 library.

* app/paint_core.c (paint_core_motion): Pass the value of a call
to the function gimage_active_drawable() to the paint_func,
instead of just passing the address of gimage_active_drawable...

(tml: This code is only called when the TOOL_TRACES_ON_WINDOW flag
is on, and only the clone tool sets that, and the clone tool's
paint_func doesn't use the drawable argument, so this hasn't
caused any trouble.)

* app/plug_in.c: On Win32, to support scripts, use new function
xspawn() instead of _spawnv. Add some more code to properly kill
plug-ins.

* libgimp/color_display.h: Add G_MODULE_EXPORT declarations.
2000-01-04 17:46:41 +00:00
Sven Neumann 39021e34e6 someone didn't close a bracket (I guess it was me)
--Sven
2000-01-04 17:01:57 +00:00
SHIRASAKI Yasuhiro 6ad10d4df5 plug-ins/common/plugindetails.c plug-ins/common/pnm.c
* plug-ins/common/plugindetails.c
        * plug-ins/common/pnm.c
        * plug-ins/common/polar.c
        * plug-ins/common/psd.c
        * plug-ins/common/randomize.c
        * plug-ins/common/ripple.c
        * po-plug-ins/POTFILES.in: added gettext support.

        * modules/cdisplay_gamma.c
        * po/POTFILES.in: added gettext support.

-- yasuhiro
2000-01-03 13:01:51 +00:00
Sven Neumann c736d6857a The empty string still works as usual, but for the consistency, use
image_types = NULL instead of "" here too.


--Sven
2000-01-03 10:46:58 +00:00
Manish Singh bc28e6fa80 fill dummy gimage->base_type as well
* app/color_area.[ch]: fill dummy gimage->base_type as well

* app/gdisplay_color.[ch]: add attach_clone, configure, and configure_cancel
functions.

* app/gdisplay.[ch]: remove notify hacks, don't need them anymore. Add cd_ui
field for cdisplay ui.

* app/commands.c: make display filter dialog per display instead of global

* libgimp/color_display.h: ok/cancel notification callbacks

* modules/cdisplay_gamma.c
* app/gdisplay_color_ui.[ch]: changes for above, enabled configuration dialog
and color_area dummy handling

* app/color_balance.c
* app/paint_funcs.c: #include "libgimp/gimpcolorspace.h"

* plug-ins/webbrowser/web-browser.scm: updated urls

-Yosh
2000-01-03 07:49:19 +00:00
Sven Neumann 3fc4eb846c libgimp/gimpcolorspace.c Prefixed all functions with gimp_ to avoid
* libgimp/gimpcolorspace.c
* libgimp/gimpcolorspace.h: Prefixed all functions with gimp_
  to avoid namespace collisions.

Changed the License in the header to LGPL. If you don't like this,
please remove those files! (But I would like them to stay since this
moving those functions into libgimp is something that should have
happened much earlier.) Nice work, Daniel!
2000-01-03 01:58:43 +00:00
Marc Lehmann 14d6add3d8 *** empty log message *** 2000-01-02 22:30:20 +00:00
Sven Neumann 3ebaf638bb Redid my latest change here, since it didn't solve the problem. Now,
* app/plug_in.c: Redid my latest change here, since it didn't solve
  the problem. Now, registering with image_types == NULL means the same
  as what "" used to mean: No image is required and the menu entry will
  always be sensitive.

The rest are fixes to my last commit.


--Sven
2000-01-02 20:52:57 +00:00
Marc Lehmann 05bdf34357 see plug-ins/perl/Changes 2000-01-02 20:19:16 +00:00
Sven Neumann 8057d056f2 dialog layout and i18n
--Sven
2000-01-02 15:51:41 +00:00
Tor Lillqvist b48c534756 Some clarifications.
2000-01-02  Tor Lillqvist  <tml@iki.fi>

* README.win32: Some clarifications.

* app/makefile.{cygwin,msc}
* libgimp/makefile.{cygwin,msc}
* plug-ins/makefile.{cygwin,msc}: Changes corresponding to the GTk+
source reorg. Add new files.

* app/text_tool.c: Remove now unnecessary workaround for Win32
POINTS identifier clash.
2000-01-02 11:56:56 +00:00
Marc Lehmann 6d2414707c see plug-ins/perl/Changes 2000-01-01 22:35:47 +00:00
Sven Neumann cca220b4ef If image_types == NULL, register plug-in with all image_types.
Should fix bug #3135.


--Sven
2000-01-01 21:45:26 +00:00
Sven Neumann fa16d08f1f small i18n fix
--Sven
2000-01-01 16:14:19 +00:00
Sven Neumann 2d213140f6 added gettext support
--Sven
2000-01-01 15:38:59 +00:00
SHIRASAKI Yasuhiro 7e40430246 plug-ins/common/pat.c plug-ins/common/pcx.c plug-ins/common/pix.c
* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/pix.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* po-plug-ins/POTFILES.in: added gettext support and replace
	sprintf with g_strdup_printf().

	* plug-ins/common/gpb.c: added INIT_I18N() for gih saver.

-- yasuhiro
2000-01-01 07:35:13 +00:00
SHIRASAKI Yasuhiro a8d0499aae plug-ins/common/max_rgb.c plug-ins/common/mblur.c plug-ins/common/mpeg.c
* plug-ins/common/max_rgb.c
        * plug-ins/common/mblur.c
        * plug-ins/common/mpeg.c
        * plug-ins/common/newsprint.c
        * plug-ins/common/nlfilt.c
        * plug-ins/common/noisify.c
        * po-plug-ins/POTFILES.in: Added gettext support and replace
        sprintf with g_strdup_printf().

-- yasuhiro
1999-12-31 16:39:04 +00:00
Sven Neumann 3bc2a355a2 small i18n fix s/snprintf/g_snprintf/
* plug-ins/common/gif.c: small i18n fix
* plug-ins/gap/gap_mov_dialog.c: s/snprintf/g_snprintf/


--Sven
1999-12-31 13:34:58 +00:00
GMT 1999 Adam D. Moss 701ff83d3c Teach it about .pcc files.
Thu Dec 30 22:55:35 GMT 1999  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/pcx.c: Teach it about .pcc files.
1999-12-30 23:00:43 +00:00
Sven Neumann 1c2b0228ca The way is now free for a new millenium without sprintf being used together with
gettext.


--Sven
1999-12-30 18:54:17 +00:00
GMT 1999 Adam D. Moss f9b657fc05 PDB interface patch from Andreas Jaekel <jaekel@cablecats.de>
Thu Dec 30 15:21:29 GMT 1999  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/animoptimize.c: PDB interface patch
	from Andreas Jaekel <jaekel@cablecats.de>
1999-12-30 15:26:51 +00:00
Stanislav Brabec 6ab29af67a czech translation update 1999-12-29 20:49:34 +00:00
Sven Neumann de62f1f314 found a better (working) solution for the string-handling
--Sven
1999-12-29 18:28:20 +00:00
Sven Neumann 9498c29dfc NEVER EVER use sprintf together with _(...) !
--Sven
1999-12-29 18:07:43 +00:00
Sven Neumann 0b58c9c94b dialog and keybinding tweaks, i18n issues
--Sven
1999-12-29 16:53:41 +00:00
Sven Neumann 2cd9f9883c more i18n issues
--Sven
1999-12-28 22:21:17 +00:00
SHIRASAKI Yasuhiro d9b89508a6 plug-ins/common/hrz.c plug-ins/common/illusion.c plug-ins/common/iwarp.c
* plug-ins/common/hrz.c
	* plug-ins/common/illusion.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/laplace.c
	* po-plug-ins/POTFILES.in: added gettext support.

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/gicon.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gpb.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/guillotine.c
 	* plug-ins/common/gz.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/lic.c: unmarked unnecessary translation tag.

-- yasuhiro
1999-12-28 20:04:19 +00:00
Sven Neumann 233e1915c4 including config.h appearantly does the trick...
--Sven
1999-12-28 19:31:24 +00:00
Sven Neumann 92ed05a563 more i18n fixes
--Sven
1999-12-28 18:50:43 +00:00
SHIRASAKI Yasuhiro d9aa84db3d plug-ins/common/animationplay.c plug-ins/common/bz2.c
* plug-ins/common/animationplay.c
	* plug-ins/common/bz2.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/depthmerge.c: unmarked unnecessary translation tag.

	* app/gimpui.c: #include "config.h"
	* po/POTFILES.in: included missing app/gimpui.c

-- yasuhiro
1999-12-28 18:30:01 +00:00
Sven Neumann b5a2ba08d0 fixed some typos
--Sven
1999-12-28 14:34:42 +00:00
Sven Neumann 569276b6f9 Actually more or less nothing. Just to sync it with my current tree.
--Sven
1999-12-27 23:14:31 +00:00
Sven Neumann 8af2fb720a small dialog changes and german translation update
--Sven
1999-12-27 18:43:11 +00:00
Sven Neumann d3315b90e2 dialog layout and i18n
--Sven
1999-12-27 16:18:06 +00:00
Sven Neumann aa79cb37f1 worked on the dialog layout
* plug-ins/flame/flame.c: worked on the dialog layout

* plug-ins/pagecurl/pagecurl.c: register with the correct image type


--Sven
1999-12-27 14:14:53 +00:00
Sven Neumann 410e2e9995 libgimp: use enums instead of gint where appropriate
pnm plug-in:  got rid of a few compiler warnings


--Sven
1999-12-27 12:02:07 +00:00
SHIRASAKI Yasuhiro a9f0061c70 plug-ins/common/gbr.c plug-ins/common/gee.c plug-ins/common/gicon.c
* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gicon.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/gpb.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/gtm.c
	* plug-ins/common/gz.c
	* plug-ins/common/hot.c
	* po-plug-ins/POTFILES.in: Added gettext support.

-- yasuhiro
1999-12-25 21:49:51 +00:00
Marc Lehmann c3f8c2ae33 *** empty log message *** 1999-12-25 03:43:14 +00:00
SHIRASAKI Yasuhiro 86a79906e3 plug-ins/common/exchange.c plug-ins/common/flarefx.c
* plug-ins/common/exchange.c
        * plug-ins/common/flarefx.c
        * plug-ins/common/fractaltrace.c
        * plug-ins/common/gauss_iir.c
        * plug-ins/common/gauss_rle.c
        * po-plug-ins/POTFILES.in: Added gettext support.

-- yasuhiro
1999-12-24 01:17:52 +00:00
Shirasaki Yasuhiro 4ba35380eb plug-ins/common/diffraction.c plug-ins/common/edge.c
1999-12-22  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

        * plug-ins/common/diffraction.c
        * plug-ins/common/edge.c
        * plug-ins/common/emboss.c
        * plug-ins/common/engrave.c
        * po-plug-ins/POTFILES.in: Added gettext support

        * plug-ins/megawidget/megawidget.c: Added #include "config.h"
        * po-plug-ins/POTFILES.in: Include megawidget

-- yasuhiro
1999-12-22 10:03:19 +00:00
Asbjørn Pettersen e9fdeba861 variable dfn before code 1999-12-21 15:39:52 +00:00
Sven Neumann f806fa9524 minor script-fu and plug-in tweaks
--Sven
1999-12-21 13:57:58 +00:00
Marc Lehmann e802d2c492 see plug-ins/perl/Changes 1999-12-20 20:02:20 +00:00
Asbjørn Pettersen 220b3463a7 add sys/stat.h for OS2 1999-12-19 20:29:34 +00:00
Asbjørn Pettersen adbdfaa4ea use g_strcasecmp() 1999-12-19 20:29:30 +00:00