Commit graph

3264 commits

Author SHA1 Message Date
Michael Natterer 38c66a651c added one more option menu constructor and made the namespace more
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: added one more option menu constructor
	and made the namespace more consistent, minor fixes.

	* libgimp/gimpdialog.c
	* libgimp/gimpunitmenu.c: minor fixes.

	* app/preferences_dialog.c
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/common/gif.c
	* plug-ins/common/randomize.c: changed according to the above
	namespace cleanups.
2000-01-27 01:22:27 +00:00
Sven Neumann ea27590213 typos and german translation
--Sven
2000-01-27 01:00:09 +00:00
Tor Lillqvist 1af6e3110a No need to use an #ifdef for G_OS_WIN32 as the whole function is already
2000-01-27  Tor Lillqvist  <tml@iki.fi>

* app/main.c (on_signal): No need to use an #ifdef for G_OS_WIN32
as the whole function is already bypassed on Win32.

* libgimp/gimp.def
* libgimp/gimpui.def: Updates.

* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Goodbye to the megawidget library.

* plug-ins/common/papertile.c: MAIN() must be after PLUG_IN_INFO
definition.
2000-01-27 00:26:22 +00:00
Michael Natterer 834e31a7ec a little ui eye candy...
2000-01-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pagecurl/pagecurl.c: a little ui eye candy...
2000-01-27 00:16:52 +00:00
Tor Lillqvist fcb0300c3a Updates. Remove fuzzies, add a few more translations. Many strings still
2000-01-28  Tor Lillqvist  <tml@iki.fi>

* fi.po: Updates. Remove fuzzies, add a few more
translations. Many strings still untranslated. I wish some native
Finnish speaker would have a go at it. Ville?
2000-01-27 00:11:40 +00:00
Kjartan Maraas 16c1ffc8bf Updated Norwegian translation.
2000-01-27  Kjartan Maraas  <kmaraas@online.no>

	* no.po: Updated Norwegian translation.
2000-01-26 23:53:24 +00:00
Sven Neumann d9f41c33fd don't connect to the unit_changed signal
--Sven
2000-01-26 23:09:15 +00:00
Michael Natterer 65dd45da78 changed the ui to use the libgimp widget constructors, put the channel
2000-01-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/newsprint.c: changed the ui to use the libgimp
	widget constructors, put the channel settings into a notebook, did
	some indentation.
2000-01-26 22:38:31 +00:00
SHIRASAKI Yasuhiro 6d6b45eacc Japanese translation updated. 800 messages are still untranslated yet. 2000-01-26 18:14:14 +00:00
Sven Neumann 6cba1d70ea when loading an image, check that gimage_id != -1
--Sven
2000-01-26 17:40:03 +00:00
Sven Neumann 6895d48413 eeek, mitch introduced a typo with bad consequences
--Sven
2000-01-26 17:33:25 +00:00
SHIRASAKI Yasuhiro 9659b77317 i18n fix and message table update. 2000-01-26 17:17:58 +00:00
Shirasaki Yasuhiro 5bdef4f453 added dummy menus for menu path translation.
2000-01-27  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

        * plug-ins/gap/gap_decode_mpeg_main.c: added dummy menus
        for menu path translation.

        * po-plug-ins/POTFILES.in: added missing
        plug-ins/gap/gap_frontends_main.c.

-- yasuhiro
2000-01-26 16:21:32 +00:00
Sven Neumann 5112feded7 updated print plug-in
--Sven
2000-01-26 16:00:48 +00:00
Sven Neumann 6323d782a4 the simpler the better ...
--Sven
2000-01-26 15:50:24 +00:00
Sven Neumann 8dc2a341cb use gimp_color_buttons
--Sven
2000-01-26 14:14:54 +00:00
Michael Natterer f846784e66 fixed two translations to make it compile.
2000-01-27  Michael Natterer  <mitch@gimp.org>

	* uk.po: fixed two translations to make it compile.
2000-01-26 12:58:42 +00:00
Sven Neumann 3bf7c3440f applied patches from Wolfgang: clean up PDB_wrappers
--Sven
2000-01-26 12:30:38 +00:00
Yuri Syrota 60c950446c Updated Ukrainian translation 2000-01-26 11:39:32 +00:00
Marc Lehmann d9d12b23d0 *** empty log message *** 2000-01-26 03:22:13 +00:00
Michael Natterer 84cf11fd7c forgot to correctly set the tile_cache_size. Only apply show_tool_tips and
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: forgot to correctly set the
	tile_cache_size. Only apply show_tool_tips and tile_cache_size if
	the prefs settings are not currupt.
2000-01-26 03:22:13 +00:00
Michael Natterer 438ff5879a made the handling of the values which can't be changed on the fly
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: made the handling of the values which
	can't be changed on the fly consistent:

	- Some of the widget callbacks were connected to gimprc variables
	  instead of pref dialog's "edit_" variables.
	- Correctly assign value, edit_value, old_value and save_value for
	  all of them.
	- Separated them from the other values in all functions.
	- Reduced the endless "if" madness in some callbacks.
2000-01-26 03:22:13 +00:00
Michael Natterer 45a04909bd use the int adjustment callback from libgimp, simplified the confirm
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: use the int adjustment callback from
	libgimp, simplified the confirm dialog signal callbacks.
2000-01-26 03:22:13 +00:00
Sven Neumann ccf1a05c66 s/malloc/g_malloc/ s/free/g_free/
s/malloc/g_malloc/
s/free/g_free/


--Sven
2000-01-26 03:22:13 +00:00
Marc Lehmann d271e35797 *** empty log message *** 2000-01-26 03:22:13 +00:00
Michael Natterer 8098581577 block the sizeentry's signals while updating is's fields after a unit
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.[ch]: block the sizeentry's signals while
	updating is's fields after a unit change and emit the
	"value_changed" signal manually afterwards. This avoids multiple
	"value_changed" signals which may cause callbacks to change the
	sizeentry in the middle of a unit update.

	* plug-ins/commion/spread.c: no need to connect to the sizeentry's
	"unit_changed" signal.
2000-01-26 00:39:40 +00:00
Sven Neumann 3ca4f07f51 Removed RCS revision history. It was creating compiler warnings and we
do have CVS logs anyway.


--Sven
2000-01-25 23:36:58 +00:00
Sven Neumann 38ed843bb7 plugin ui changes
--Sven
2000-01-25 23:11:20 +00:00
Michael Natterer 4923047146 removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
	include both <glib.h> and <gtk/gtk.h>.

	* app/*
	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
	same for MIN and MAX.

	* app/preferences_dialog.c: the "Check Size" widget was connected
	to the transparency_type variable.

	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.

	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".

	* plug-ins/*: don't include the two files.
2000-01-25 23:06:12 +00:00
Michael Natterer 7812dcc213 forgot to correctly set the tile_cache_size. Only apply show_tool_tips and
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: forgot to correctly set the
	tile_cache_size. Only apply show_tool_tips and tile_cache_size if
	the prefs settings are not currupt.
2000-01-25 23:05:47 +00:00
Michael Natterer 4c68bacfe2 made the handling of the values which can't be changed on the fly
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: made the handling of the values which
	can't be changed on the fly consistent:

	- Some of the widget callbacks were connected to gimprc variables
	  instead of pref dialog's "edit_" variables.
	- Correctly assign value, edit_value, old_value and save_value for
	  all of them.
	- Separated them from the other values in all functions.
	- Reduced the endless "if" madness in some callbacks.
2000-01-25 23:05:47 +00:00
Michael Natterer b798a90302 use the int adjustment callback from libgimp, simplified the confirm
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: use the int adjustment callback from
	libgimp, simplified the confirm dialog signal callbacks.
2000-01-25 23:05:47 +00:00
Michael Natterer 427d9e2499 removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
	include both <glib.h> and <gtk/gtk.h>.

	* app/*
	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
	same for MIN and MAX.

	* app/preferences_dialog.c: the "Check Size" widget was connected
	to the transparency_type variable.

	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.

	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".

	* plug-ins/*: don't include the two files.
2000-01-25 23:05:47 +00:00
Sven Neumann dac4a17407 cleaned up the messy spanish translation someone added
fixed compiler warnings, changed some gints to gbooleans

cleaned up namespace and documentation

updated libgimp documentation



--Sven
2000-01-25 23:05:44 +00:00
Michael Natterer 87e527137b removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
	include both <glib.h> and <gtk/gtk.h>.

	* app/*
	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
	same for MIN and MAX.

	* app/preferences_dialog.c: the "Check Size" widget was connected
	to the transparency_type variable.

	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.

	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".

	* plug-ins/*: don't include the two files.
2000-01-25 23:05:44 +00:00
Marc Lehmann 37fc444397 see plug-ins/perl/Changes 2000-01-25 22:03:14 +00:00
Sven Neumann f3eb81f4c2 Applied a change suggested by Steinar H. Gunderson.
Fixes crashing on empty images (bug #5536).


--Sven
2000-01-25 21:00:54 +00:00
jfell 2d98d65fbd Wed, 26 Jan 2000 10:06:26 +0100 Fellmann Joaquim <joaquim@hrnet.fr>
Wed, 26 Jan 2000 10:06:26 +0100  Fellmann Joaquim <joaquim@hrnet.fr>

	* fr.po: Updated French translation.
2000-01-25 20:51:18 +00:00
Stanislav Brabec 03688b909e czech translation update 2000-01-25 20:51:18 +00:00
Sven Neumann 1a5185f087 Disabled "Layer to Imagesize" menu on empty images and "Rotate Layer" on
channels and masks.


--Sven
2000-01-25 20:19:59 +00:00
Sven Neumann ed491085a2 use gimp_tile_cache_ntiles () when creating a new image, disable undo,
* plug-ins/common/colorify.c: use gimp_tile_cache_ntiles ()
* plug-ins/common/lic.c: when creating a new image, disable
  undo, enable it later when the new image is completed

--Sven
2000-01-25 19:11:57 +00:00
Michael Natterer fa30ba04c7 configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* po-plug-ins/POTFILES.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/megawidget/*: removed. (There were only 3 functions
	left which were used by ~5 plugins, so I moved the resp. functions
	to the plugins). More preview stuff to come...

	* app/airbrush_blob.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: use G_PI instead of M_PI.

	* app/procedural_db.h
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
	indicates that "Cancel" was pressed in a plugin dialog. (Useful
	only for file load/save plugins).

	* app/fileops.[ch]
	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
	code cleanup in fileops.[ch]. Pop up a warning if File->Save
	failed.

	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
	PDB_INT32.

	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
	RAND_MAX if it exists or to G_MAXINT otherwise.

	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
	which creates a spinbutton and a "Time" toggle.
	Call the function which does the "set_sensitive" magic from the
	radio button callback.

	* plug-ins/[75 plugins]:

	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
	  was pressed.
	- Standardized the file plugins' "run" functions.
	- Use G_PI and G_MAXRAND everywhere.
	- Added tons of scales and spinbuttons instead of text entries.
	- Applied uniform packing/spacings all over the place.
	- Reorganized some UIs (stuff like moving the preview to the top
	  left corner of the dialog).
	- Removed many ui helper functions and callbacks and use the stuff
	  from libgimp instead.
	- I tried not to restrict the range of possible values when I
	  replaced entries with spinbuttons/scales but may have failed,
	  though in some cases. Please test ;-)
	- #include <libgimp/gimpmath.h> where appropriate and use it's
	  constants.
	- Indentation, s/int/gint/ et.al., code cleanup.

	RFC: The plugins are definitely not useable with GIMP 1.0 any
	     more, so shouldn't we remove all the remaining compatibility
	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
2000-01-25 17:46:56 +00:00
Stanislav Brabec 7a8b15754b fixed types 2000-01-25 14:13:35 +00:00
Yuri Syrota ca42158cc6 Updated Ukrainian translation 2000-01-25 12:59:58 +00:00
Sven Neumann 4a555b0991 s/malloc/g_malloc/ s/free/g_free/
s/malloc/g_malloc/
s/free/g_free/


--Sven
2000-01-25 12:13:23 +00:00
jfell b6d2b2b125 Wed, 26 Jan 2000 10:06:26 +0100 Fellmann Joaquim <joaquim@hrnet.fr>
Wed, 26 Jan 2000 10:06:26 +0100  Fellmann Joaquim <joaquim@hrnet.fr>

	* fr.po: Updated French translation.
2000-01-25 11:12:14 +00:00
Seth Burgess 38b05ffa04 Set a minimum width on display to get around a nasty bug if smaller than
the statusbar width.
Modified Files:
	ChangeLog app/gdisplay_ops.c
2000-01-25 02:33:20 +00:00
Sven Neumann d3722849d0 corrected the conversion between guchar<->guint16 when setting and getting
the color on dnd


--Sven
2000-01-24 22:31:52 +00:00
Manish Singh 81c1e88606 acconfig.h configure.in libgimp/Makefile.am libgimp/gimpregex.h
* acconfig.h
* configure.in
* libgimp/Makefile.am
* libgimp/gimpregex.h
* libgimp/regex.c
* app/Makefile.am
* app/regex.[ch]
* plug-ins/script-fu/Makefile.am
* plug-ins/script-fu/regex.[ch]
* plug-ins/script-fu/interp_regex.c
* tools/pdbgen/pdb/plug_in.pdb
* tools/pdbgen/pdb/procedural_db.pdb: reverted previous regex move
patch. This does *not* belong in libgimp and is just bloat. We'll
use the regex functionality in glib once it has it.

* acinclude.m4
* config.guess
* config.sub
* ltconfig
* ltmain.sh: upgrade to libtool 1.3.4

* app/convert.c
* app/gimpbrushpipe.c: minor cleanups

-Yosh
2000-01-24 22:16:36 +00:00
Sven Neumann a7774c0944 applied patches from Wolfgang Hofer
removed script-fu/regex.[ch]


--Sven
2000-01-24 21:18:25 +00:00