Commit Graph

1706 Commits

Author SHA1 Message Date
Sven Neumann 496d7277e4 make it compile again
--Sven
2000-02-04 14:40:03 +00:00
Sven Neumann 8d21d63a6e reverted stanislavs change
--Sven
2000-02-04 14:30:46 +00:00
Tor Lillqvist 9f7a9c9a35 user_install creates the gflare directory as "gflares" (not "gflare"), so
2000-02-05  Tor Lillqvist  <tml@iki.fi>

* gimprc.in: user_install creates the gflare directory as
"gflares" (not "gflare"), so use that form here, too.

* gimprc.win32: Update to match the Unix version.

* app/ops_buttons.c: Include gimpintl.h.

* app/preferences_dialog.c (file_pref_cmd_callback): I18n for the
Pixels/%s string. It used to come out as "Pixels/tuuma" in
Finnish, for instance.

* plug-ins/gflare/gflare.c: Portability.

* libgimp/gimpui.def:
* plug-ins/makefile.{cygwin,msc}
* modules/makefile.{cygwin,msc}: Updates.
2000-02-04 04:31:18 +00:00
jaycox 5eb77e90e8 removed the gimp_path_set_tattoo function because tattoos are "unique and
* app/paths_cmds.c, tools/pdbgen/pdb/paths.pdb:
	removed the gimp_path_set_tattoo function because tattoos are
 	"unique and permanent"
2000-02-04 04:24:49 +00:00
Stanislav Brabec 95f9325a9e change to foregroung in edit_fill 2000-02-03 21:44:08 +00:00
Kelly Lynn Martin 608ddcb1b7 Partial fix for the toolbox problem... it's still not perfect.
2000-02-03  Kelly Lynn Martin  <kelly@poverty.bloomington.in.us>

	* app/gtkhwrapbox.c (layout_row, layout_rows):
	* app/gtkvwrapbox.c (layout_col, layout_cols):
	Partial fix for the toolbox problem... it's still not perfect.
2000-02-03 03:10:05 +00:00
Manish Singh dafeeec38d Correct g_message call
-Yosh
2000-02-02 05:07:26 +00:00
Manish Singh 93ea9d0eec commit alt's paths changes
-Yosh
2000-02-02 04:14:23 +00:00
Sven Neumann 08057b7131 raise the message_window when the message gets repeated
--Sven
2000-02-02 01:44:06 +00:00
Sven Neumann c89791c082 redid the message_box handling
--Sven
2000-02-02 01:21:36 +00:00
GMT 2000 Andy Thomas 209c50fe84 app/paths_dialog.c
Wed Feb  2 22:12:48 GMT 2000 Andy Thomas <alt@gimp.org>

	* app/paths_dialog.c

	Fixed bug number #5727 "PDB-call gimp_path_set_points is buggy"

	* tools/pdbgen/pdb/paths.pdb

	Added missing paths pdb functions

 		path_get_locked
 		path_set_locked
		path_set_tattoo
2000-02-02 00:41:11 +00:00
Sven Neumann ecba6f6aa0 put files from modules dir back into POTFILES.in
--Sven
2000-02-01 12:10:10 +00:00
Sven Neumann fd2fb679c2 i18n cleanups
--Sven
2000-02-01 00:16:50 +00:00
Sven Neumann c9482821ab mostly header cleanup and i18n
--Sven
2000-01-31 23:59:05 +00:00
Michael Natterer a4025e057b app/menus.c app/channels_dialog.[ch] app/layers_dialog.[ch] Added an "Edit
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* app/menus.c
	* app/channels_dialog.[ch]
	* app/layers_dialog.[ch]
	* app/paths_dialog.[ch]: Added an "Edit xxx Attributes..." menu
	entry to the dialogs' popup menus.
2000-01-31 22:59:22 +00:00
Michael Natterer 697cfcd5f6 applied a (modified) patch from Daniel which removes the useles word
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: applied a (modified) patch from Daniel
	which removes the useles word "Settings" from the prefs. dialog.
2000-01-31 21:40:17 +00:00
Michael Natterer ebd978825c app/blend.c app/brightness_contrast.c app/color_balance.c
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* app/blend.c
	* app/brightness_contrast.c
	* app/color_balance.c
	* app/color_picker.c
	* app/crop.c
	* app/curves.c
	* app/flip_tool.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/levels.c
	* app/magnify.c
	* app/measure.c
	* app/move.c
	* app/path_tool.c
	* app/posterize.c
	* app/text_tool.c
	* app/threshold.c
	* app/tool_options.c
	* app/transform_tool.c: unify the usage of "Selection" and
	"<blah> Tool" and removed the word "Options" from all tool option
	title strings because the dialog title already says "Options".
2000-01-31 21:27:00 +00:00
Sven Neumann 7d837ccf67 added submenus to the tools menu
--Sven
2000-01-31 21:09:42 +00:00
Sven Neumann 682abba9eb when dropping an indexed layer onto the toolbox, copy the colormap
to the newly created image (fixes bug #5692)


--Sven
2000-01-31 18:37:36 +00:00
Sven Neumann 4006d434df more sanity checks in gimpdrawable.c and a few i18n issues
--Sven
2000-01-31 13:07:39 +00:00
Michael Natterer 03015f85d7 merged the table attach helper functions into one function.
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: merged the table attach helper
	functions into one function.

	* app/*
	* plug-ins/*: changed the calls to gimp_table_attach_aligned()
	accordingly. Did minimal ui updates (spacing and stuff) in some
	files.
2000-01-31 03:13:02 +00:00
Sven Neumann 07cd86c451 use color_conversion routines out of libgimp
--Sven
2000-01-30 23:56:04 +00:00
Sven Neumann 4e38e85594 i18n
--Sven
2000-01-30 02:48:50 +00:00
Sven Neumann c69e85c8c9 app/brush_select.c create the dialog at mouse position if not the main
* app/brush_select.c
* app/gradient_select.c: create the dialog at mouse position if not
  the main dialog (which is session-managed)

* app/convert.c: small UI changes

* app/gradient.c: don't include session.h

* app/session.c: the gradient_select dialog is not the gradient_editor


--Sven
2000-01-29 23:06:06 +00:00
Stanislav Brabec 27814ebe13 fixed typo 2000-01-29 00:02:11 +00:00
SHIRASAKI Yasuhiro fbf643b93a _() tagging for hardcoded fonts.
* app/install.c: _() tagging for hardcoded fonts.

-- yasuhiro
2000-01-28 19:33:32 +00:00
Sven Neumann 3b03c8f219 In indexed_conversion dialog, use a pattern_selector instead op an
option_menu. Adam, I hope you like this...


--Sven
2000-01-28 16:47:57 +00:00
Michael Natterer 278a69918d bind the "gimp-libgimp" textdomain to get the libgimp widget translations.
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* app/main.c: bind the "gimp-libgimp" textdomain to get the
	libgimp widget translations. Did some code cleanup.

	* libgimp/stdplugins-intl.h: bind "gimp-libgimp".

	* libgimp/gimpintl.h: copyright header.

	* libgimp/libgimp-intl.h: there is no dgettext_noop() function
	(typo/braino).

	* libgimp/gimpwidgets.[ch]: one more table attach helper
	function. Should probably find a general way for the two
	functions.

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/threshold_alpha.c: removed the gtkW_* wrapper
	functions. Badly hacked CML_explorer (The optionmenu creation is a
	bit more ugly than before but at least consistent with the other
	files using the libgimp optionmenu constructor).
2000-01-27 19:26:00 +00:00
Marc Lehmann 145fe40e7a *** empty log message *** 2000-01-27 04:02:15 +00:00
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
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
Sven Neumann 6cba1d70ea when loading an image, check that gimage_id != -1
--Sven
2000-01-26 17:40:03 +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
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
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
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
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 4bc295014e cleaning up behind Daniel
--Sven
2000-01-24 16:15:01 +00:00
Marc Lehmann 3233202427 *** empty log message *** 2000-01-24 14:26:57 +00:00
Sven Neumann 1485e40383 set the menu sensitivity after the last path was deleted
--Sven
2000-01-23 18:04:28 +00:00
Sven Neumann bceb97a993 Renamed gimage->ref_count to disp_count and slightly changed
the way it is used. As the new name suggests it is only used
to count the number of displays associated with an image. It
is now impossible to delete an image that has an associated
display. You have to delete the display instead. Before this
change it was possible to delete an image through the PDB that
was created through the UI and bad things happened soon...


--Sven
2000-01-23 13:44:12 +00:00
GMT 2000 Austin Donnelly c5c95ff976 update my entry. I maintain newsprint.
Sat Jan 22 22:14:18 GMT 2000  Austin Donnelly  <austin@gimp.org>

	* MAINTAINERS: update my entry.
	* PLUGIN_MAINTAINERS: I maintain newsprint.

	* app/fuzzy_select.c: fix so if you move the pointer back to
	   where you started, the selection is also the same.  Can people
	   (tigert?) give this a spin - if it isn't as intuitive as the
	   old way we should roll this back.

	* plug-ins/common/jpeg.c: use volatile to get rid of "clobber"
	   warnings from GCC.  Also, fix handling of multiple COM
	   sections, so can load images such as
	   /usr/share/pixmaps/backgrounds/space/clem_full_moon_strtrk.jpg or
	   /usr/share/pixmaps/backgrounds/space/apollo08_earthrise.jpg
	   which used to segv the jpeg plugin.

	* plug-ins/common/newsprint.c: update my email address.

	* plug-ins/common/ps.c: applied gimp-kirchgessner-000116-0.patch:
	   save using PostScript level 2 features which result in files
	   60% smaller than naive level 1 method.  Peter added a
	   checkbutton to the UI to revert to level 1 algorithm, but we
	   default to level 2.  Almost everyone should have a level 2
	   printer, new printers and ghostscript are level 3 these days.
2000-01-22 22:26:20 +00:00
Sven Neumann c605469daa number conversions between different types sucks
--Sven
2000-01-22 20:38:37 +00:00
Sven Neumann 8a8ab4c245 In edit_clear and edit_fill return TRUE if the selection
is empty, since the operation succeded by doing nothing.
Returning FALSE here crashed lots of script-fus.


--Sven
2000-01-22 17:53:23 +00:00
Sven Neumann 489e5ab29e call setup_scale when changing the resolution or unit, so the rulers
get updated correctly


--Sven
2000-01-22 15:05:42 +00:00
Seth Burgess cf7cf417e2 Fix for NULL pointer dereference by Steinar (sesse)
Modified Files:
 	ChangeLog app/transform_core.c
2000-01-22 03:01:46 +00:00
Sven Neumann 8b178fcbcc Implemented the "removed" signal for channels and connected qmask to it
to keep the buttons in sync when a qmask channels gets deleted manually.
Fixes bug #2516.


-Sven
2000-01-20 17:10:49 +00:00
Sven Neumann aedefe422a laod and save for the curves tool
--Sven
2000-01-20 12:22:54 +00:00
Seth Burgess a4f085afbf Modified Files: ChangeLog app/gdisplay_ops.c
Modified Files:
 	ChangeLog app/gdisplay_ops.c

Shrink wrap fix - ugly but works.
2000-01-20 03:03:24 +00:00
Sven Neumann 2f445a6fc5 exchanged the big fat bigcirc cursors against a new one in the style of
the others


--Sven
2000-01-19 20:40:58 +00:00
Garry R. Osgood 61bbabc6ad gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c
2000-01-19  Garry R. Osgood <gosgood@idt.net>
* gimp/app/disp_callbacks.c
* gimp/app/ellipse_select.c
* gimp/app/free_select.c
* gimp/app/fuzzy_select.c
* gimp/app/rect_select.c
* gimp/app/rect_select.h
* gimp/app/rect_selectP.h
* gimp/app/tools.c
* gimp/app/tools.h
* gimp/app/toolsF.h

Boolean selection operations, (adding to,
subtracting from, or intersecting with
pre-existing functions) now occur regardless
of the setting of "Disable Cursor Update"
toggle button in Interface/Image Window
category. Introduced a new tool action type,
OperUpdateFunc, To provide a distinct context
for such activity. see
http://idt.net/~gosgood/gimp-patch/patch05.html
for full details. Closes #2568.
2000-01-19 19:06:13 +00:00
Tor Lillqvist 5b51c7dbfe Add Win32 workaround for yasuhiro's "i18n fix" change that introduced an
2000-01-18  Tor Lillqvist  <tml@iki.fi>

* app/text_tool.c: Add Win32 workaround for yasuhiro's "i18n fix"
change that introduced an X11 dependency.
2000-01-18 23:12:26 +00:00
Sven Neumann c961fdd870 hopefully fixed gimp_file_load_thumbnail PDB function
--Sven
2000-01-18 21:39:03 +00:00
Manish Singh 155cd986e0 use $(LN_S) instead of ln -sf, should fix bug #5289.
* help/C/*/Makefile.am: use $(LN_S) instead of ln -sf, should fix
bug #5289.

* tools/pdbgen/lib.pl
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/gimage_mask.pdb
* tools/pdbgen/pdb/guides.pdb
* tools/pdbgen/pdb/parasite.pdb
* tools/pdbgen/pdb/unit.pdb: more lib work, slight guide tweak

-Yosh
2000-01-17 20:25:55 +00:00
Michael Natterer c5a2909aae oops, the "Add Layer Mask" dialog contained nothing after my last change.
2000-01-16  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: oops, the "Add Layer Mask" dialog contained
	nothing after my last change.

	* libgimp/gimpwidgets.c: gimp_table_attach_aligned() sets the
	yalign of the widget to 0.5 instead of 1.0.

	* plug-ins/common/align_layers.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/cubism.c
	* plug-ins/common/decompose.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/mail.c
	* plug-ins/common/nova.c
	* plug-ins/common/randomize.c
	* plug-ins/common/ripple.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/shift.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spread.c: even more spinbuttons and other ui
	updates.
2000-01-16 15:38:38 +00:00
Garry R. Osgood 8029644a2d Uncovered buglet spawned by #5045 fix. edit_paste() now properly supplies
2000-01-16  Garry R. Osgood <gosgood@idt.net>
* app/global_edit.c
global_edit.c: Uncovered buglet spawned by #5045 fix.
edit_paste() now properly supplies a GimpImageType
parameter in the case where a GimpImage has no
active_drawable: occurs when the user invokes a
paste into an empty image.
2000-01-16 09:34:45 +00:00
Marc Lehmann 66a530c80c *** empty log message *** 2000-01-15 20:33:04 +00:00
Sven Neumann 3a9a760158 fixed a typo in the manpage and moved another entry in the Preferences dialog
--Sven
2000-01-15 18:13:13 +00:00
SHIRASAKI Yasuhiro 14c3c191e2 plug-ins/common/wmf.c small i18n fixes.
* plug-ins/common/wmf.c
* app/text_tool.c: small i18n fixes.

-- yasuhiro
2000-01-15 18:06:15 +00:00
Sven Neumann 53b9cb5227 fixed a typo
--Sven
2000-01-15 16:35:42 +00:00
Garry R. Osgood 87d7965c22 app/layers_dialog.c layers_dialog_flush() now has only one entry and exit
2000-01-15  Garry R. Osgood <gosgood@idt.net>
* app/layers_dialog.c
* app/global_edit.c
layers_dialog.c:layers_dialog_flush() now has
only one entry and exit point, so that
suspend_gimage_notify is properly maintained.
Has bearing on (but likely does not fully solve)
bugs #4031, #4914, and #4927. see
http://idt.net/~gosgood/gimp-patch/patch04.html
and bug reports.
global_edit.c: edit_paste_as_new() now checks
if it has a valid layer from layer_new_from_tiles()
2000-01-15 16:32:02 +00:00
Sven Neumann 627c1e1292 moved a few entries to other pages
--Sven
2000-01-15 12:52:31 +00:00
Sven Neumann 078f6cfe3d added gettext support for modules and fixed bug #5148
--Sven
2000-01-14 19:57:42 +00:00
Sven Neumann baf3933a9d fixed bug #5176 (smudge tool crash)
--Sven
2000-01-14 18:45:36 +00:00
Michael Natterer e88e3e4454 s/gtk_container_border_width/gtk_container_set_border_width/
2000-01-14  Michael Natterer  <mitch@gimp.org>

	* app/info_window.c:
	s/gtk_container_border_width/gtk_container_set_border_width/

	* plug-ins/common/engrave.c
	* plug-ins/common/noisify.c
	* plug-ins/common/oilify.c
	* plug-ins/common/polar.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/Makefile.am
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/struc/Makefile.am
	* plug-ins/struc/struc.c: more spinbuttons instead of entries,
	dialog layout, stuff...
2000-01-14 17:06:35 +00:00
Sven Neumann 234bfc723d added Garry Osgood to the list of contributors 2000-01-14 17:04:23 +00:00
Michael Natterer fbfdf4b309 app/Makefile.am removed.
2000-01-14  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/tool_options_ui.h: removed.

	* app/tool_options.c
	* libgimp/gimpwidgets.[ch]: moved some more ui utility functions
	to libgimp.

	* app/airbrush.c
	* app/blend.c
	* app/bucket_fill.c
	* app/channel_ops.c
	* app/clone.c
	* app/color_picker.c
	* app/convolve.c
	* app/crop.c
	* app/dodgeburn.c
	* app/eraser.c
	* app/file_new_dialog.[ch]
	* app/flip_tool.c
	* app/image_new.[ch]
	* app/ink.c
	* app/layers_dialog.c
	* app/magnify.c
	* app/measure.c
	* app/paintbrush.c
	* app/pencil.c
	* app/smudge.c
	* app/text_tool.c
	* app/tool_options.c
	* app/transform_tool.c
	* app/xinput_airbrush.c: use the libgimp functions (esp. the radio
	button group constructor), some code cleanup.

	* plug-ins/common/csource.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/png.c
	* plug-ins/unsharp/unsharp.c: more plugin ui tuning.

	* plug-ins/unsharp/Makefile.am
	* plug-ins/unsharp/dialog_f.[ch]
	* plug-ins/unsharp/dialog_i.[ch]: removed.
2000-01-14 12:41:00 +00:00
Manish Singh e8f7be1cab Made 1.1.15 release
* Made 1.1.15 release

* configure.in: disabled --with-threads, as it is not actively
maintained and rather untested.

-Yosh
2000-01-14 00:38:39 +00:00
Michael Natterer c55bbde079 app/gimpui.[ch] removed & renamed some functions from gimpui.[ch] (see
2000-01-13  Michael Natterer  <mitch@gimp.org>

	* app/gimpui.[ch]
	* app/preferences_dialog.c: removed & renamed some functions from
	gimpui.[ch] (see below).

	* libgimp/Makefile.am
	* libgimp/gimpwidgets.[ch]; new files. Functions moved from
	app/gimpui.[ch]. Added a constructor for the label + hscale +
	entry combination used in many plugins (now hscale + spinbutton).

	* libgimp/gimpui.h: include gimpwidgets.h

	* plug-ins/megawidget/megawidget.[ch]: removed all functions
	except the preview stuff (I'm not yet sure how to implement this
	in libgimp because the libgimp preview should be general enough to
	replace all the other plugin previews, too).

	* plug-ins/borderaverage/Makefile.am
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am
	* plug-ins/common/aa.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/colorify.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/displace.c
	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/hot.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/waves.c
	* plug-ins/sgi/sgi.c
	* plug-ins/sinus/sinus.c: ui updates like removing megawidget,
	using the dialog constructor, I18N fixes, indentation, ...
2000-01-13 15:39:26 +00:00
Marc Lehmann a8fb1bc7f5 *** empty log message *** 2000-01-13 04:15:01 +00:00
David Monniaux e447b6f310 Clearer tool-tip for the transform tool. 2000-01-12 23:13:00 +00:00
Sven Neumann cf64cca833 fixed bug #5124
--Sven
2000-01-11 22:23:37 +00:00
Sven Neumann 65bfd700f9 in layer_new_from_tiles check if image_type has alpha to avoid obscure
* app/layer.c: in layer_new_from_tiles check if image_type has alpha
  to avoid obscure bugs if the function is not called correctly

* app/text_tool_cmds.c
* tools/pdbgen/pdb/text_tool.pdb: added a hint about using border = -1
  to suppress cropping of empty spaces around the text


--Sven
2000-01-11 21:23:38 +00:00
Manish Singh 66e95bbd49 let's not be redundant redundant. Made a real compat #define for
gimp_image_find_parasite

-Yosh
2000-01-11 21:07:17 +00:00
Garry R. Osgood 16d1795918 app/disp_callbacks.c app/gimage_mask.c app/global_edit.c app/interface.c
2000-01-11  Garry R. Osgood <gosgood@idt.net>
* app/disp_callbacks.c
* app/gimage_mask.c
* app/global_edit.c
* app/interface.c
* app/layer.c
* app/layer.h
* app/transform_core.c  Followup to #4708. Some clients
of layer_new_from_tiles() need to specify the
kind of layer they need; added a GimpImageType
parameter for this purpose. Closes #5045.
* app/paths_dialog.c paths_dialog_set_default_op()
now checks for the existence of the path_dialog
before manipulating its internals. Closes #5049;
2000-01-11 20:08:45 +00:00
Michael Natterer d5e99ee9a5 app/gimphelp.h libgimp/gimp.h declare the gimp_standard_help_func in
2000-01-11  Michael Natterer  <mitch@gimp.org>

	* app/gimphelp.h
	* libgimp/gimp.h
	* libgimp/gimphelpui.[ch]: declare the gimp_standard_help_func in
	gimphelpui.h because libgimp widgets must not include libgimp/gimp.h.

	* libgimp/gimpdialog.c
	* libgimp/gimpexport.c
	* libgimp/gimpunitmenu.c: use the dialog constructor for the
	export dialog and the unit selection.

	* plug-ins/gpc/gpc.[ch]
	* plug-ins/megawidget/megawidget.[ch]: removed unused functions
	(dialog creation and some other stuff). The rest of these libs is
	scheduled for removal, too...

	* plug-ins/AlienMap/AlienMap.c
	* plug-ins/AlienMap/Makefile.am
	* plug-ins/AlienMap2/AlienMap2.c
	* plug-ins/AlienMap2/Makefile.am
	* plug-ins/borderaverage/Makefile.am
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/blur.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/mblur.c
	* plug-ins/common/noisify.c
	* plug-ins/common/spread.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/fp/Makefile.am
	* plug-ins/fp/fp_gtk.c
	* plug-ins/rcm/Makefile.am
	* plug-ins/rcm/rcm_callback.[ch]
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sinus/sinus.c: standard ui (spacings etc.) for some
	more plugins. Did some indentation, prototyping and I18N fixes.
2000-01-11 15:48:00 +00:00
Sven Neumann a579edc9ad some small fixes and the new GAP VCR Navigator
--Sven
2000-01-10 23:27:25 +00:00
Sven Neumann cf608d5182 i18n fix and german po update 2000-01-10 14:36:29 +00:00
Manish Singh 522f0265b4 Made appropriate changes to reflect Nick's previous change
* tools/pdbgen/pdb/gimage.pdb: Made appropriate changes to
reflect Nick's previous change

-Yosh
2000-01-10 07:43:27 +00:00
Nick Lamb /GIMP 5fff85a9f3 Check resolution validity when changed by plug-ins too 2000-01-10 04:39:18 +00:00
Manish Singh 836106afc1 gimprc.c replaced usage of fixed buffers with dynamic ones, using
* gimprc.c
* gradient.c: replaced usage of fixed buffers with dynamic ones,
using g_strdup_printf and friends.

-Yosh
2000-01-09 21:31:01 +00:00
Sven Neumann 9a9ee85e28 allow the user to choose the default for "Dot for Dot"
--Sven
2000-01-09 17:31:00 +00:00
Sven Neumann 2ad8a17e7e app/gdisplay.c app/gimage_cmds.c fixed typos
* app/gdisplay.c
 * app/gimage_cmds.c
 * tools/pdbgen/pdb/gimage.pdb: fixed typos

 * app/gimphistogram.c: indentation

 * app/histogramwidget.c: grab the pointer in the histogramwidget,
   so a button_release outside the widget is noticed correctly

 * app/levels.c: instead of undoing the user action, simply don't
   allow the user to set the range in the histogram_widget


--Sven
2000-01-09 12:40:10 +00:00
Asbjørn Pettersen 99b1eb762f add func. ref for os2 2000-01-08 17:13:25 +00:00
Sven Neumann 1b10f54b5a overworked my latest change and fixed some typos
--Sven
2000-01-08 12:42:53 +00:00
Sven Neumann 440b86e12f don't set the resolution to zero
got rid of the compiler warnings in psp.c


--Sven
2000-01-08 10:55:05 +00:00
Sven Neumann 342a421b57 Doh, how much do I hate to hack this sucker...
--Sven
2000-01-07 20:40:55 +00:00
GMT 2000 Adam D. Moss a60cd2f202 app/tile_cache.c Maybe fixed tile_cache_set_size() so that it actually
Thu Jan  6 18:39:05 GMT 2000  Adam D. Moss <adam@gimp.org>

	* app/tile_cache.c
	* app/tile_swap.c: Maybe fixed tile_cache_set_size()
	so that it actually works now.  You can use this to set GIMP's
	tile cache size at runtime without restarting.  If the prefs
	guys (Sven, Michael?) don't wire it in I'll look at it, but it
	can't be soon.
2000-01-06 17:14:32 +00:00
Michael Natterer 884f223569 app/[all files using the dialog or action area constructors] added a
2000-01-06  Michael Natterer  <mitch@gimp.org>

	* app/[all files using the dialog or action area constructors]
	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
	constructors' va_args lists to allow the action area buttons to be
	connected wich gtk_signal_connect_object().

	* libgimp/gimphelp.c: show the correct help page for plugins.

	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/Makefile.am
	* plug-ins/common/aa.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/csource.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/decompose.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/displace.c
	* plug-ins/common/grid.c
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
	and enable the "F1" help key.
2000-01-06 16:40:17 +00:00
Tor Lillqvist bd106744b0 Finetune the max_label_length hack, to avoid the splash screen's width
2000-01-06  Tor Lillqvist  <tml@iki.fi>

* app/app_procs.c (make_initialization_status_window): Finetune
the max_label_length hack, to avoid the splash screen's width
wobbling (on Win32).

* PLUGIN_MAINTAINERS: Added myself as maintainer of gpb, winprint,
winsnap, and wmf.
2000-01-06 11:33:30 +00:00
Sven Neumann e1c687494d Was strtok used correctly here?? I think not!
--Sven
2000-01-05 22:59:16 +00:00
Sven Neumann f4b06fdb4c open the gradient editor on double-click
* app/gradient_select.c: open the gradient editor on double-click


--Sven
2000-01-05 19:20:00 +00:00
Garry R. Osgood ef3489560b *app/undo.c: GimpChannel->bounds_known field on the image Selection Mask
2000-01-05  Garry R. Osgood <gosgood@idt.net>
*app/undo.c: GimpChannel->bounds_known field on the
image Selection Mask channel was never invalidated when restored
via undo_pop_channel_mod(). Caused PixelRegion iterators calculating
new selection boundaries to use cached image dimensions, thereby
trying to access tiles non-existent in the scaled-down image.
Closes #4840.
2000-01-05 19:14:08 +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
Sven Neumann 43136b7cfb removed i18n tags from error messages in the segfault signal_handler
* app/main.c: removed i18n tags from error messages in the
  segfault signal_handler


--Sven
2000-01-05 11:24:07 +00:00
Michael Natterer 1b2b43aba8 I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-)
2000-01-05  Michael Natterer  <mitch@gimp.org>

	* PLUGIN_MAINTAINERS: I'm maintaining the helpbrowser (Sven, I
	dared to add your name, too :-)

	* app/context_manager.c
	* app/flip_tool.[ch]
	* app/perspective_tool.[ch]
	* app/rotate_tool.[ch]
	* app/scale_tool.[ch]
	* app/shear_tool.[ch]
	* app/transform_core.[ch]
	* app/transform_tool.[ch]
	* app/tools_cmds.c
	* tools/pdbgen/pdb/tools.pdb

	- Show the correct help pages in the transform tools' dialogs.
	- The transform tool button of the toolbox is now always pressed
	  if a transform tool is active (not only for "rotate").
	- Replaced the transform action (CREATING, HANDLE_1, ...) and the
	  transform state (INIT, MOTION, ...) #define's with typed enums.
	- Changed the return type of the *_recalc functions to "void"
	  instead of "void *" and the return type of the *_transform
	  functions to "TileManager *" instead of "void *".
	  (I probably removed an artefact here because all *_recalc
	   functions returned "(void *) 1").
	- Use gboolean instead of int where appropriate.
	- Code cleanup, indentation.
2000-01-05 11:18:38 +00:00
Sven Neumann 5e4e7d8884 Fixed a crash that oxccured when gimp_export_image() was called with an
active floating selection.
gimp_image_merge_visible_layers() and gimp_image_flatten() did not handle
floating selections.


--Sven
2000-01-05 09:09:46 +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
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
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
Garry R. Osgood 7f052673ef Happy New Year! Checked RGB/GRAY/INDEXED product box RE testing #4708.
2000-01-01 Garry R. Osgood <gosgood@idt.net>
Happy New Year!
        * app/disp_callbacks.c
app/disp_callbacks.c: Checked RGB/GRAY/INDEXED product box RE
        testing #4708. added gdisplay_update_title() to refresh
        window title bar so that a layer-filled display won't
        continue its insistence of being empty. Nice fix, Sven.
2000-01-02 03:02:30 +00:00
Manish Singh 631ef03898 oops.
-Yosh
2000-01-02 01:43:18 +00:00
Manish Singh a5f9b334a0 cosmetic fix
* Makefile.am: cosmetic fix

* libgimp/color_display.h
* modules/cdisplay_gamma.c: add clone method

* app/color_area.[ch]
* app/gdisplay.[ch]
* app/gdisplay_color.c
* app/gdisplay_color_ui.c: preliminary support for color_area filter
(really just a sync to home machine)

* app/nav_window.c: minor cleanup

* tools/pdbgen/app.pl: initialize gbooleans to FALSE, not 0

* tools/pdbgen/lib.pl: some more arg work

-Yosh
2000-01-02 00:16:47 +00:00
Marc Lehmann 521be42192 *** empty log message *** 2000-01-01 22:10:41 +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 a34415cb7b Removed the obsolete drawable argument from layer_from_tiles.
The layer_type is now taken from the base_type of the image.
Also changed the name to layer_new_from_tiles.


--Sven
2000-01-01 18:33:40 +00:00
Sven Neumann 5969ed3911 Fixed bug #4871.
--Sven
2000-01-01 13:59:58 +00:00
Kjartan Maraas 692679df8e Added comment to stop xgettext from complaining about format specifier.
1999-12-30  Kjartan Maraas  <kmaraas@online.no>

	* app/file_new_dialog.c: Added comment to stop xgettext
	from complaining about format specifier.
1999-12-30 21:45:28 +00:00
Sven Neumann e713f9bae3 Use our new (sligtly compressed) layout of gtk_file_selection all over the
place.


--Sven
1999-12-30 20:16:58 +00:00
Marc Lehmann c7f7257b7a *** empty log message *** 1999-12-30 01:35:44 +00:00
Sven Neumann 0b58c9c94b dialog and keybinding tweaks, i18n issues
--Sven
1999-12-29 16:53:41 +00:00
Sven Neumann e42ac8999a applied that shear_tool patch that appeared on the list
--Sven
1999-12-29 10:13:26 +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 7cd5c09f59 more i18n fixes
--Sven
1999-12-28 14:09:20 +00:00
Sven Neumann e6619b5153 unmarked a few strings for translation
--Sven
1999-12-28 10:30:50 +00:00
Manish Singh b8e03bd1c7 added spec file to EXTRA_DIST
* Makefile.am: added spec file to EXTRA_DIST

* docs/Makefile.am: added undo.txt to EXTRA_DIST

* app/interface.c: removed the DODGY warning, doesn't look dodgy to me

* libgimp/*.h: missed an s/Library/Lesser/

* tools/pdbgen/*: lots of work on the libgimp portion

-Yosh
1999-12-26 07:54:39 +00:00
Garry R. Osgood c60db90ff7 Season's Greetings! app/clone.c app/paint_core.c app/paint_core.h Updated
1999-12-25 Garry R. Osgood <gosgood@idt.net>
Season's Greetings!
        * app/clone.c
        * app/paint_core.c
        * app/paint_core.h
        * MAINTAINERS
MAINTAINERS: Updated my entry (it wasn't there ;)
app/paint_core.[ch] supplied new PaintTool states to clone_paint_func() so that
writes of temporary markings made directly to the window are not
clobbered by buffered writes stemming from gdisplay_flush_xxx()
routines. clone_tool_paint_func() has been modified to take advantage
of these new states, retiring bug #2184 in a way that does not change
user interface semantics. There are small additions to the PaintCore
interface that do not affect clientele unaware of added semantics.
These changes are detailed at http://idt.net/~gosgood/gimp-patch/patch03.html.
1999-12-25 21:32:52 +00:00
Sven Neumann a364dad8f1 Tried to fix the crashes in the color_display_ui.
I'm not sure if I understand how this is supposed to work. At least the
interface is quite confusing and the fact that it does nothing doesn't
really help...


--Sven
1999-12-23 13:33:43 +00:00
Sven Neumann ab44ef86a0 enums should be all UPPER_CASE
--Sven
1999-12-22 23:30:43 +00:00
Sven Neumann f94312e891 app/menus.c app/tools.c app/tools.h moved the xinput_airbrush before the
* app/menus.c
* app/tools.c
* app/tools.h
* app/toolsF.h: moved the xinput_airbrush before the measure tool,
so it groups nicely with the paint tools. Removed the toolbox_position
from the ToolInfo structure, since it was never used and added some
separators into the Tools menu.


--Sven
1999-12-22 22:24:59 +00:00
Sven Neumann 3520455686 Changed the behaviour of the Gradient Brush to continue with the end color
when using "Once Forward/Backward" modes. Isn't that what was wanted in the
first place? It feels much more intuitive and useful to me. Please complain
if you don't like this.


--Sven
1999-12-22 21:15:58 +00:00
Manish Singh 120c64dfa6 added an assert for name != NULL
* app/gimpdrawable.c: added an assert for name != NULL

* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: sanity check the name parameters

-Yosh
1999-12-21 00:36:07 +00:00
Michael Natterer 884f771ab9 move <Image>/Dialogs after <Image>/Tools and add a separator after it.
1999-12-19  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/menus.c: move <Image>/Dialogs after <Image>/Tools and add a
	separator after it.
1999-12-19 17:45:04 +00:00
Michael Natterer cbe24c90be typo... 1999-12-19 17:34:41 +00:00
Sven Neumann 0254ae930e Reordered the Script-Fu menus a bit. Feel free to come up with a
better menu structure!  Also made sure that all scripts do reset the
fg/bg colors and the active brush, pattern and gradient when they are
done.


--Sven
1999-12-19 17:19:51 +00:00
Michael Natterer 65e424f36b gimprc.in app/gimprc.[ch] new gimprc variable "help-browser" which can be
1999-12-19  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.[ch]
	* app/preferences_dialog.c: new gimprc variable "help-browser"
	which can be either "gimp", or "netscape".

	* app/gimphelp.[ch]: depending on the value of help_browser, show
	the help page with the webbrowser plugin.
1999-12-19 17:15:11 +00:00
Sven Neumann 6d1d305f95 made gimp_help accessible through the PDB
--Sven
1999-12-19 17:15:11 +00:00
Michael Natterer d19382f0f7 gimprc.in app/gimprc.[ch] new gimprc variable "help-browser" which can be
1999-12-19  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.[ch]
	* app/preferences_dialog.c: new gimprc variable "help-browser"
	which can be either "gimp", or "netscape".

	* app/gimphelp.[ch]: depending on the value of help_browser, show
	the help page with the webbrowser plugin.
1999-12-19 17:15:11 +00:00
Michael Natterer 703b961aa5 Added a confirmation dialog for "delete palette".
1999-12-19  Michael Natterer  <mitch@gimp.org>

	* app/palette.c: Added a confirmation dialog for "delete palette".

	* app/gradient.c
	* app/palette.c: Attach help_data strings to the gradient/palette
	ops buttons (for context help).
1999-12-19 12:55:17 +00:00
Michael Natterer e3f25110a3 Added a special help function which shows the help for the active notebook
1999-12-18  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: Added a special help function which
	shows the help for the active notebook page.
1999-12-18 11:37:11 +00:00
Michael Natterer 3e597f7cec My last change caused a warning. Fixed now.
1999-12-18  Michael Natterer  <mitch@gimp.org>

	* app/colormap_dialog.i.c: My last change caused a warning. Fixed now.
1999-12-17 23:28:51 +00:00
Michael Natterer 2837ba0d81 reverted the splash back to it's previous state (with decoration).
1999-12-18  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c: reverted the splash back to it's previous state
	(with decoration).
1999-12-17 23:09:12 +00:00
Michael Natterer 31ec69c715 app/app_procs.c Set "allow_grow" to FALSE for "Really Quit?" and "Changes
1999-12-17  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c
	* app/gdisplay_ops.c: Set "allow_grow" to FALSE for "Really Quit?" and
	"Changes were made to ... Close Anyway?".

	* app/gimpui.c: fixed a compiler warning.

	* app/tips_dialog.c: Same as above and did some code cleanup.

	* app/colormap_dialog.i.c
	* app/colormap_dialog.p.h: Allow dragging a color with mouse2
	without changing the active color. Replaced the "index" entry with
	a spinbutton. Code & UI cleanup.
1999-12-17 22:34:12 +00:00
Shirasaki Yasuhiro 05d66c98f9 Fixed typo.
1999-12-18  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

        * app/transform_tool.c: Fixed typo.

        * plug-ins/common/CEL.c
        * plug-ins/common/aa.c
        * plug-ins/common/align_layers.c
        * po-plug-ins/POTFILES.in: Added gettext support.

-- yasuhiro
1999-12-17 21:24:24 +00:00
GMT 1999 Adam D. Moss ef445bcd2f Remove old movement code and unused variables.
Mon Dec 20 17:58:59 GMT 1999  Adam D. Moss <adam@gimp.org>

	* app/edit_selection.c: Remove old movement code and unused
	variables.
1999-12-17 20:59:37 +00:00
GMT 1999 Adam D. Moss c4d032140a Fixed a couple of bugs with translating the selection mask (move tool,
Fri Dec 17 20:29:12 GMT 1999  Adam D. Moss <adam@gimp.org>

	* app/edit_selection.c: Fixed a couple of bugs with translating
	the selection mask (move tool, alt-drag):

	- Selection mask was being clipped whilst moved around, not just
	  at its final resting place.
        - Selection mask translation was being performed 'live' like the
          opaque moves even though there's simply nothing exciting to see.
	  Now the process is much faster.

	Will remove the edit_selection.c dead-code later if this change
	does not cause new trouble.
1999-12-17 20:59:37 +00:00
Michael Natterer 19963ce12a app/gimphelp.c plug-ins/helpbrowser/helpbrowser.c
1999-12-17  Michael Natterer  <mitch@gimp.org>

	* app/gimphelp.c
	* plug-ins/helpbrowser/helpbrowser.c

	- Pass the locale to use (currently always "C") to the help
	  browser procedures instead of hardcoding it in the help browser.
	- Wheel mouse support for the help browser.
1999-12-17 17:57:59 +00:00
Michael Natterer 6eae7942fb app/menus.c Minor help system fixes.
1999-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c
	* app/paths_dialog.c: Minor help system fixes.

	* app/app_procs.c: I thought we should have a real splash (without
	decoration). Like it???

	* app/about_dialog.c
	* app/flip_tool.c
	* app/gradient.c
	* app/levels.c
	* app/measure.c
	* app/text_tool.c
	* app/tools.c
	* app/transform_tool.c: Did some code browsing: I18N fixes,
	s/gtk_window_position/gtk_window_set_position/g, indentation
	paranoia, some g/<type>/g<type>/, various stuff (didn't change any
	logic).
1999-12-17 16:37:50 +00:00
Michael Natterer 016e8b5646 connect the "F1" help accelerator.
1999-12-19  Michael Natterer  <mitch@gimp.org>

	* app/about_dialog.c: connect the "F1" help accelerator.
1999-12-17 16:37:34 +00:00
Michael Natterer d6d9ad155f app/menus.c Minor help system fixes.
1999-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c
	* app/paths_dialog.c: Minor help system fixes.

	* app/app_procs.c: I thought we should have a real splash (without
	decoration). Like it???

	* app/about_dialog.c
	* app/flip_tool.c
	* app/gradient.c
	* app/levels.c
	* app/measure.c
	* app/text_tool.c
	* app/tools.c
	* app/transform_tool.c: Did some code browsing: I18N fixes,
	s/gtk_window_position/gtk_window_set_position/g, indentation
	paranoia, some g/<type>/g<type>/, various stuff (didn't change any
	logic).
1999-12-17 16:37:34 +00:00
Shirasaki Yasuhiro 072323e01d Added missing app/xinput_airbrush.c.
1999-12-17  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

        * po/POTFILES.in: Added missing app/xinput_airbrush.c.

        * app/perspective_tool.c: Added _() tag.

-- yasuhiro
1999-12-17 01:02:29 +00:00
CET 1999 Olof S Kylande ac6a5dae50 Fix of KDE/Kwm selection add/sub/inter problem NOTE: This is a workaround,
Thu Dec 16 20:15:25 CET 1999  Olof S Kylande <olof@gimp.org>

        Fix of KDE/Kwm  selection add/sub/inter problem
        NOTE: This is a workaround, not a real fix.
        Many Thanks to Matthias Ettrich

        * app/disp_callbacks.c

        Updated unsharp-mask to version 0.10

        * plug-ins/unsharp/dialog_f.c
        * plug-ins/unsharp/dialog_f.h
        * plug-ins/unsharp/dialog_i.c
        * plug-ins/unsharp/dialog_i.h
        * plug-ins/unsharp/unsharp.c

        Updated print plug-in to version 3.0.1

        * plug-ins/print/README (new file)
        * plug-ins/print/print-escp2.c
        * plug-ins/print/print-pcl.c
        * plug-ins/print/print-ps.c
        * plug-ins/print/print-util.c
        * plug-ins/print/print.c
        * plug-ins/print/print.h

        Updated all files in the help/C/dialogs dir. This is
        a first alpha glimpse of the help system. Please give
        me feedback of the content. However since it's in alpha
        stage it means that there is spell, grammatical, etc errors.
        There is may also be pure errors which I hope "you" will
        report to either olof@gimp.org or karin@gimp.org. Please
        don't report spell, grammatical, etc error at this stage in dev.

        If you have any plans to commit to the help system please write
        to olof@gimp.org. (This is mandatory not a please ;-).

        * help/C/welcome.html
        * help/C/dialogs/about.html ..............
1999-12-16 19:44:02 +00:00
Sven Neumann 22b900ef2d Updated the german translation and sneaked in two minor fixes to the changes
I made yesterday.


--Sven
1999-12-15 14:40:40 +00:00
Sven Neumann a00ed6feb0 more cosmetic stuff
--Sven
1999-12-14 23:09:54 +00:00
Manish Singh 30cc3739ae tools/pdbgen/pdbgen.pl allow for array size params to be optional
* tools/pdbgen/pdbgen.pl
* tools/pdbgen/pdb/fileops.pdb: allow for array size params to
be optional

* app/nav_window.c
* app/tools.c: a bit of cleanup

-Yosh
1999-12-14 20:01:01 +00:00
Sven Neumann 5135d61119 new PDB functions: file_[load|save]_thumbnail
--Sven
1999-12-14 19:38:39 +00:00
Sven Neumann bc0c4de548 made gimp_help accessible through the PDB
--Sven
1999-12-14 19:38:38 +00:00
Sven Neumann 4e937b7a23 new PDB functions: file_[load|save]_thumbnail
--Sven
1999-12-14 19:38:38 +00:00
Sven Neumann 73ff9a1757 cosmetic stuff
--Sven
1999-12-14 14:10:34 +00:00
Adam D. Moss 22b8c94feb Mon Dec 13 19:25:39 GMT 1999 Adam D. Moss <adam@gimp.org
* app/tile.c
	* app/tile.h
	* app/tile_manager.c
	* app/tile_swap.c:

	Allocate Tile's array of TileRowHints dynamically.  Make type
	of TileRowHint explicit since it's fairly space-critical.
	Can save several hundred K of memory with this and struct
	changes.

	Added warnings for old basically-untested-or-insane
	paths through the tile referencing code.

	* app/tile_pvt.h: Shrink down and rearrange fields of Tile
	struct to save some space with gcc's padding for most people.

	* app/paint_funcs.c: Use tile_sanitize_rowhints() to ensure
          that rowhints have been allocated before use.

	* app/channel_ops.c
	* app/gdisplay.c
	* app/pixel_region.c: Cosmetic, sanity or unfinished debug
          changes (the latter commented out) for fun and reference.
1999-12-13 19:48:24 +00:00
GMT 1999 Austin Donnelly 8e134070e6 fix problem with layers with non-zero offset.
Fri Dec 10 23:55:10 GMT 1999  Austin Donnelly  <austin@gimp.org>

	* app/iscissors.c: fix problem with layers with non-zero offset.

	* app/undo.c: Garry, you missed one "0 -> UNDO_NULL" cleanup :)
1999-12-11 00:10:09 +00:00
Garry R. Osgood fe6ee9d1af app/gimpimage.c app/undo.c app/undo_types.h docs/undo.txt Changed sanity
1999-12-10 Garry R. Osgood <gosgood@idt.net>
	* app/gimpimage.c
	* app/undo.c
        * app/undo_types.h
        * docs/undo.txt
        Changed sanity checks in undo_pop/free_layer_mask() to LAYER_MASK_ADD_UNDO
	and LAYER_MASK_REMOVE_UNDO to be consistent with undo_push_layer_mask()
	These now nvoke proper cleanup and release of GimpLayerMasks.
	* docs/undo.txt: New file, an overview of undo logic written by
	Austin Donnelly
	* app/undo.c
	* app/undo_types.h
	* app/gimpimage.c : Introduced a new UndoType, UNDO_NULL, which maps
	to zero, introducing that value into the enumerated types. Use the
        type to signal type unknown/error/untyped conditions.

	Full patch documentation at
	http://idt.net/~gosgood/gimp-patch/patch02.html
1999-12-10 20:55:57 +00:00
Tor Lillqvist a999bb9dd0 Fix the handling of stored state. Actually use the margins from the Page
1999-12-08  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/winprint.c: Fix the handling of stored
state. Actually use the margins from the Page Setup dialog (just
the left and top margins currently).

* plug-ins/common/animationplay.c: Weird include hackery to be
compilable with current CVS GTk+ (on Win32).

* plug-ins/gfig/gfig.c: With current CVS GTk+, use gdk_parent_root
instead of gdk_root_parent (Win32).

* app/makefile.cygwin
* libgimp/makefile.cygwin
* plug-ins/makefile.cygwin: Get GDK library from new place.
1999-12-08 00:19:20 +00:00
Michael Natterer 661cbb9d0f app/main.c Wrapped the 'plugin_domains' definition and initialization and
1999-12-07  Michael Natterer  <mitch@gimp.org>

	* app/main.c
	* app/menus.c: Wrapped the 'plugin_domains' definition and
	initialization and menu_translate() with '#ifdef ENABLE_NLS'.

	* app/palette.c: Removed another trailing comma from an enum.

	* app/tile_cache.c (tile_idle_thread): Changed tile->swap to
	tile->swap_offset because tile->swap doesn't exist. Note that I
	don't understand at all what's going on there. I commited this
	because (1) this way it compiles and (2) it at least _looks_ like
	the right thing to do. Garry, could you check this please?
1999-12-07 18:56:12 +00:00
Sven Neumann d4250cb410 please picky compilers
--Sven
1999-12-06 22:44:40 +00:00
Garry R. Osgood 843f496ddb Inaugural checkin: Tile accounting app/tile_cache.c app/tile.c
1999-12-05 Garry R. Osgood <gosgood@idt.net>
	Inaugural checkin: Tile accounting
	* app/tile_cache.c
	* app/tile.c

	cur_cache_dirty in tile_cache.c was not being fully updated. Fewer
	dirty bytes were being added to this global than what were being
	placed on the dirty tile queue. Deductions, however, were correct
	sometimes causing cur_cache_dirty to wrap around zero and become
	large positive. This skewed the number of tiles to be swapped to disk,
	usually downward, but sometimes dramatically upward.
        active_tile_count, (tile.c) currently a diagnostic counter, was
	not being decremented.

	Full patch documentation at
	http://idt.net/~gosgood/gimp-patch/patch01.html#991205-0
1999-12-05 20:31:50 +00:00
Michael Natterer 2e9aa8bb9c app/main.c Define the "plugin_domains" array of strings in main.c and use
1999-12-04  Michael Natterer  <mitch@gimp.org>

	* app/main.c
	* app/menus.c: Define the "plugin_domains" array of strings in
	main.c and use it as external variable from menus.c

	What's missing now is a proper way to let gimp know which
	additional catalogs (perl, python, ...) are actually installed.
1999-12-04 13:46:25 +00:00
Michael Natterer 6e637d6eb4 Reorder all menu items under <Image>/Filters which were created by
1999-12-04  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: Reorder all menu items under <Image>/Filters which
	were created by plugins, so they appear after <Image>/Filters/Web.
	(this way <Image>/Filters/Toys is always the last submenu)

	* app/palette.c: My last change caused both the normal _and_ the
	small menu to pop up on right mouse click on an already existing
	color. Thanks to Nick for pointing this out.

	Now there is only one menu with "Edit" and "Delete" greyed out if
	the click was outside a valid color square.
	I also moved "New" to the top of the menu because that's how other
	gimp menus look like.
1999-12-04 13:08:45 +00:00
Michael Natterer 42961b9d73 app/dialog_handler.c Removed trailing comma from enums to avoid compiler
1999-12-03  Michael Natterer  <mitch@gimp.org>

	* app/dialog_handler.c
	* app/ops_buttons.h: Removed trailing comma from enums to avoid
	compiler warnings with Irix CC. Fixes bugs #3994 and #3995.
1999-12-03 10:34:53 +00:00
GMT 1999 Andy Thomas 19e856f0f6 app/bezier_select.c
Thu Dec  2 23:49:17 GMT 1999 Andy Thomas <alt@gimp.org>

	* app/bezier_select.c

	Fixed bug number #3904. - [gimp-bug] no undo for path strokes.
	Undo menu item is now enabled correctly after the path has been
	stroked.
1999-12-02 23:57:31 +00:00
Michael Natterer 373e512dc1 Enable the popup menu containing only "New" in the whole area inside the
1999-12-02  Michael Natterer  <mitch@gimp.org>

	* app/palette.c: Enable the popup menu containing only "New" in
	the whole area inside the palette's scrolled window.
	This way you don't have to correctly hit the small line a newly
	created palette consists of.

	* app/gradient.c
	* app/gradient_select.c: Set the "Gradient" clist column to it's
	optimal size but ensure a minimal size, so the column title is
	fully visible with all languages and font sizes.
1999-12-02 21:04:47 +00:00
Michael Natterer c688e055e2 Default to "Cancel" in the "Really Quit?" dialog.
1999-12-02  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c: Default to "Cancel" in the "Really Quit?" dialog.

	* app/app_procs.c
	* app/brush_select.c
	* app/gimpbrushlist.c: Call brush_select_[freeze|thaw]_all() from
	brushes_init() and brushes_free(), so refreshing the brushes from
	plugins/scripts is faster.

	* app/brightness_contrast.c
	* app/color_balance.c
	* app/curves.c
	* app/file_new_dialog.c
	* app/hue_saturation.c
	* app/levels.c
	* app/posterize.c
	* app/threshold.c:
	Reorder the action are buttons: [ "OK" "Reset" "Cancel" ]

	* app/menus.c: Some more cleanups in the menu code. Reorder
	<Image>/Filters/Misc only if ot exists. Generalized
	menu_translate() in preparation for correctly supporting catalogs
	which only exist sometimes (like gimp-perl).

	* app/gradient.c
	* app/gradient_select.c: Save some lines of code by using
	gtk_clist_new_with_titles() instead of gtk_clist_new().

	* libgimp/gimpunitmenu.c: Code cleanup and made the clist titles
	of the unit selection un-clickable.
1999-12-02 13:00:18 +00:00
GMT 1999 Andy Thomas 30cb5a9723 app/info_window.c
Tue Nov 30 21:23:39 GMT 1999 Andy Thomas <alt@gimp.org>

	* app/info_window.c

	Fix crash where display closed & info dialog had not been used.
	Yasuhiro SHIRASAKI pointed this problem out. Thanks.
1999-11-30 21:33:12 +00:00
Sven Neumann ad11737983 close bugs #3910 and #3911
--Sven
1999-11-30 00:58:38 +00:00
Sven Neumann 1fdea67422 fix bug #2168
--Sven
1999-11-30 00:18:44 +00:00
GMT 1999 Andy Thomas 7dfc54b956 app/commands.c app/disp_callbacks.c app/gdisplay.c app/gimprc.c
Mon Nov 29 23:51:26 GMT 1999 Andy Thomas <alt@gimp.org>

	* app/commands.c
	* app/disp_callbacks.c
	* app/gdisplay.c
	* app/gimprc.c
	* app/gimprc.h
	* app/info_window.c
	* app/info_window.h
	* app/preferences_dialog.c
	* app/undo_history.c

	Info dialog now has option to follow the mouse movements or
	the old behaviour of one dialog per display.
	This dialog still needs some work.

	Undo dialog now obeys the "tab" key in the display.
1999-11-30 00:11:08 +00:00
Sven Neumann a018105025 get rid of the "gdisplays_flush() called recursively." warning
--Sven
1999-11-29 22:44:37 +00:00
Michael Natterer 25ec865fcf oops, all frames said "General" after my last change.
1999-11-27  Michael Natterer  <mitch@gimp.org>

	* app/preferances_dialog.c: oops, all frames said "General" after
	my last change.
1999-11-27 14:08:30 +00:00
Sven Neumann 7427a53c95 Layer to Imagesize in C
--Sven
1999-11-27 14:00:26 +00:00
Michael Natterer 8fd4ffea22 bind the "gimp-perl" textdomain.
1999-11-27  Michael Natterer  <mitch@gimp.org>

	* app/main.c: bind the "gimp-perl" textdomain.

	* app/menus.c: try to find a plugin's name in the "gimp-perl"
	domain if searching in "gimp-std-plugins" fails.

	* app/preferences_dialog.c: factored out a small frame+vbox
	creation function from the huge dialog constructor and did some
	small changes. Didn't change the logic.
1999-11-27 13:44:54 +00:00
Sven Neumann 407e8008b6 fixed (or broke?) single thumbnail creation
--Sven
1999-11-27 03:11:50 +00:00
Michael Natterer bbda88d670 accidentially replaced "Gradient:" with "Blend:" in my last checkin to
1999-11-26  Michael Natterer  <mitch@gimp.org>

	* app/blend.c: accidentially replaced "Gradient:" with "Blend:" in
	my last checkin to this file. Put the right string back.

	* app/menus.c: fixed the plugin translation problem (YES!!! :-)
	Mysteriously, using g_strdup() et al. instead of composing the
	string to translate in a statically allocated array fixed the
	problem.

	* plug-ins/gap/gap_main.c: fixed a menu path.
1999-11-26 10:17:19 +00:00
Sven Neumann 19ca12e661 purely cosmetic change
--Sven
1999-11-26 00:34:39 +00:00
Michael Natterer 720518b33a Removed the definitions of the tearoff menu items and build them on the
1999-11-25  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: Removed the definitions of the tearoff menu items
	and build them on the fly. Added N_()-marked submenus instead so
	they get properly translated. Removed N_() from all separators.

	Hacked menu_translate(): Don't try to translate separators,
	tearoffs and the /File/MRUxx entries. Avoid multiple lookups in
	the "gimp-std-plugins" domain. Translating plug-in menu entries is
	still broken.

	Defined all filter categories for proper translation and a first
	try to order them and to add separators (please comment...).

	New Category /Filters/Web.

	(Did 'make update-po' in the po* directories and updated the
	german translations.)

	* app/about_dialog.c
	* app/brush_select.c
	* app/drawable.c
	* app/errors.c
	* app/free_select.c
	* app/gradient.c
	* app/info_dialog.c
	* app/plug_in.c
	* app/tool_options.c: minor i18n updates like removing _() from
	some error messages.

	* app/context_manager.c: a private context for the Xinput Airbrush.

	* plug-ins/common/video.c: Register under /Filters/Distorts

	* plug-ins/imagemap/imap_main.c: Register under /Filters/Web
	(Marc, what about putting "prepare for gif" and "webify" there?)

	* plug-ins/perl/po/de.po: s/Xtn/Xtns/g
1999-11-25 11:35:48 +00:00
Sven Neumann d82cdfc84b restrict movements to 15 degrees (the circle way)
--Sven
1999-11-25 01:59:14 +00:00
Manish Singh a111d2397b version number bump; add check for standalone gtkxmhtml from Sesse
* configure.in: version number bump; add check for standalone
gtkxmhtml from Sesse

* app/gimppreviewcache.c: applied gimp-yasuhiro-19991122-1, prevents
div by zero error

* plug-ins/script-fu/script-fu-scripts.c: INIT_I18N_UI before
gtk_init, reported by yasuhiro

* plug-ins/common/mapcolor.c
* plug-ins/common/sunras.c
* plug-ins/fits/fits.c: applied gimpkirchgessner-991121-[0-2],
i18n and sundry bug fixes

-Yosh
1999-11-24 23:58:46 +00:00
Marc Lehmann 643e1b1a92 *** empty log message *** 1999-11-24 20:11:03 +00:00
Sven Neumann 947899f63b as we alreadey discussed on #gimp
--Sven
1999-11-24 00:27:39 +00:00
Sven Neumann 66f212c116 put the change from Monday back in that I accidentially reverted yesterday
--Sven
1999-11-23 21:02:54 +00:00
Michael Natterer b6a3dd5acf app/app_procs.c app/channels_dialog.c app/fileops.c app/gdisplay.c
1999-11-23  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c
	* app/channels_dialog.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gdisplay_ops.c
	* app/layers_dialog.c
	* app/menus.[ch]
	* app/paths_dialog.c
	* app/plug_in.c: removed
	menus_set_[sensitive|state]_glue(). Removed the N_()'s from all
	menu paths which are not eventually passed to
	gtk_item_factory_create_item().

	* app/tool_options.c: minor updates.

	* app/file_new_dialog.c: reordered the action_area buttons.
1999-11-23 19:11:29 +00:00
Sven Neumann 49bb3594a6 hopefully plugged a possible security hole. Please audit this fix!
--Sven
1999-11-23 01:06:16 +00:00
GMT 1999 Andy Thomas 70b0232405 app/bezier_select.c
Mon Nov 22 22:43:59 GMT 1999 Andy Thomas <alt@gimp.org>

        * app/bezier_select.c

        Stroking bezier paths made up of multiple segments
        now all get put in a single undo group.
1999-11-22 23:05:31 +00:00
Sven Neumann 399e35b6c4 i18n stuff
--Sven
1999-11-22 22:38:02 +00:00
GMT 1999 Adam D. Moss eb7d301336 Disabled the copy-on-write for gimage projection. Duplicate op will now
Mon Nov 22 13:18:40 GMT 1999  Adam D. Moss <adam@gimp.org>

	* app/channel_ops.c: Disabled the copy-on-write for gimage
	projection.  Duplicate op will now take as much time and
	memory as GIMP 1.0 in this respect.  That sucks, but I'm
	damned if I can follow the twisted paths which GIMP treads
	in making this bahave badly.  Can you?
1999-11-22 13:22:53 +00:00
Michael Natterer 7a14ed3eeb move all sub-sub-menus of <Image>/Filters to the top of their menu shells
1999-11-22  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: move all sub-sub-menus of <Image>/Filters to the
	top of their menu shells and add a separator after them.
1999-11-22 12:02:46 +00:00
GMT 1999 Adam D. Moss e4702c0fa6 Removed erroneous spin-button limit, bumped up RGB->INDEXED precision a
Mon Nov 22 11:19:05 GMT 1999  Adam D. Moss <adam@gimp.org>

	* app/convert.c: Removed erroneous spin-button limit, bumped
	up RGB->INDEXED precision a little.
1999-11-22 11:26:58 +00:00
Michael Natterer 3711f5587e app/brightness_contrast.[ch] app/by_color_select.[ch]
1999-11-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/brightness_contrast.[ch]
	* app/by_color_select.[ch]
	* app/color_balance.[ch]
	* app/curves.[ch]
	* app/histogram_tool.[ch]
	* app/hue_saturation.[ch]
	* app/levels.[ch]
	* app/posterize.[ch]
	* app/threshold.[ch]: spinbuttons and cleaned up ui for all
	dialog-tools. Added a "Reset" button to all dialogs.

	* app/color_notebook.c: fixed a compiler warning.

	* app/gimpui.[ch]: made gimp_radio_group_new() more general.

	* app/menus.c: removed the <Toolbox>/File/Help submenu.

	* app/tools.c: restored the old behaviour of "tools_initialize()"
	(force the emission of the "tool_changed" signal)
1999-11-22 11:14:29 +00:00
Marc Lehmann b653df172c *** empty log message *** 1999-11-21 21:15:28 +00:00
Marc Lehmann 42b92f84bf *** empty log message *** 1999-11-21 01:15:45 +00:00