Commit Graph

350 Commits

Author SHA1 Message Date
Asbjørn Pettersen 3b3e490ff7 OS2 loading bug fixed 1999-10-04 07:03:33 +00:00
Sven Neumann cdc3f6e779 more export stuff
--Sven
1999-10-03 23:48:33 +00:00
Sven Neumann a5c98f4b29 The Makefile.am is autogenerated, so do The Right Thing(TM) this time.
--Sven
1999-10-03 19:32:14 +00:00
Sven Neumann 6a19448d82 Undestructive File Export(TM)
--Sven

CVS ----------------------------------------------------------------------
1999-10-03 18:54:54 +00:00
Michael Natterer a11f33345d The GIMP Help System part II: press "F1" while browsing a menu to show the
1999-10-03  Michael Natterer  <mitch@gimp.org>

	The GIMP Help System part II: press "F1" while browsing a menu
	to show the help page for the menu entry you're currently over
	with the mouse.

	* app/color_notebook.c: all color selectors have to register with
	a help page now.

	* app/color_select.[ch]: register with a help string. Removed
	the dialog part of the files because it's use was deprecated
	anyway (use color notebooks instead).

	* app/colormap_dialog.i.c
	* app/colormap_dialog.p.h
	* app/palette.c
	* app/palette_select.c: use a color notebook instead of a color
	selector.

	* app/gimphelp.c
	* app/gimpui.c: minor changes.

	* app/gimprc.c: "use help" defaults to TRUE now.

	* app/lc_dialog.c
	* app/lc_dialogP.h: a special help function which shows the help
	for the currently selected notebook page.

	* app/menus.c: some weird code which catches "key_press_event"
	in all menu shells and pops up the corresp. help page for the
	selected item. Embedded the GtkItemFactoryEntry in a new
	GimpItemFactoryEntry to allow a help path to be stored.
	Will be partially exported and moved to gimphelp.[ch] later to
	catch key_press for plug-in menu items (don't try this now ;-)

	* app/app_procs.c
	* app/brush_edit.c
	* app/brush_select.c
	* app/channel_ops.c
	* app/channels_dialog.c
	* app/commands.c
	* app/convert.c
	* app/devices.c
	* app/file_new_dialog.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gdisplay_color.c
	* app/gdisplay_color_ui.c
	* app/gdisplay_ops.c
	* app/global_edit.c
	* app/gradient.c
	* app/gradient_select.c
	* app/interface.c
	* app/layers_dialog.c
	* app/module_db.c
	* app/paths_dialog.c
	* app/pattern_select.c
	* app/preferences_dialog.c
	* app/qmask.c
	* app/resize.c
	* app/undo_history.c: changed all dialog constructors to point
	to the right place in the new help file structure.

	* configure.in
	* help/*: the basic new help file structure.

	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: register a help page.

	* plug-ins/helpbrowser/helpbrowser.c: load the help files
	according to the new help file structure.
1999-10-03 13:50:19 +00:00
Tor Lillqvist d28bd8b689 Change the GDK_WINDOWING_* stuff to be buildable with current CVS gtk+
1999-10-03  Tor Lillqvist  <tml@iki.fi>

* app/cursorutil.h app/session.c app/text_tool.c: Change the
GDK_WINDOWING_* stuff to be buildable with current CVS gtk+ (not
recommended for X11, but necessary for Win32).

* libgimp/gimp.c: Undef RGB from <windows.h> on Win32.

* app/makefile.{cygwin,msc} libgimp/makefile.{cygwin,msc} *
plug-ins/makefile.{cygwin,msc}: Add new files. Small changes for
current gtk+.

* plug-ins/common/animationplay.c: Win32 kludges.
1999-10-03 00:43:05 +00:00
Nick Lamb /GIMP e22687dac7 Now PNGs with colormaps and tRNS (ie transparency info) load properly
Still convert to RGB for the best results. Save support is TODO
1999-10-02 22:48:44 +00:00
Tim Janik 8bd6af2365 removed cruft (old test code) (run): commented config structure
Sat Oct  2 14:36:21 1999  Tim Janik  <timj@gtk.org>

        * plug-ins/common/csource.c: removed cruft (old test code)
        (run): commented config structure initialization.
        (save_image): put only the file's basename into the C comment.
        feature saving of macros instead of a plain structure, so the
        data can be used for third party structure initialization.
1999-10-02 12:54:08 +00:00
Tor Lillqvist adc6303532 Better workaround for GDK bug (gdk_image_get() sets the bpp field to
1999-09-30  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/wmf.c (load_image): Better workaround for GDK
bug (gdk_image_get() sets the bpp field to bits-per-pixel instead
of bytes-per-pixel).
1999-09-30 17:09:08 +00:00
Tor Lillqvist 2888cfedaf Back out my change of 1999-09-14. It changed the semantics of the code,
1999-09-29  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/iwarp.c: Back out my change of 1999-09-14. It
changed the semantics of the code, the deform_area_vectors array,
and the two sequential loops in iwarp_deform() are really needed.
Sorry. Thanks to Garry R. Osgood for analysing this.
1999-09-29 19:33:56 +00:00
Kelly Martin 412043dc7c Fixed a stupid typo.
Fixed a stupid typo.

--klm
1999-09-27 02:24:25 +00:00
Manish Singh 0fac8034eb version number bump
* configure.in: version number bump

* app/unittest/Makefile.am: commented out unused var targets to
quell warnings

* libgimp/stdplugins-intl.h: fix include guard

* plug-ins/common/animoptimize.c
* plug-ins/common/lic.c
* plug-ins/common/warp.c
* plug-ins/gap/Makefile.am
* plug-ins/gap/gap_arr_dialog.c
* plug-ins/gap/gap_dbbrowser_utils.c
* plug-ins/gap/gap_filter_foreach.c
* plug-ins/gap/gap_filter_main.c
* plug-ins/gap/gap_lib.c
* plug-ins/gap/gap_main.c
* plug-ins/gap/gap_mod_layer.c
* plug-ins/gap/gap_mov_dialog.c
* plug-ins/gap/gap_mov_exec.c
* plug-ins/gap/gap_mpege.c
* plug-ins/gap/gap_range_ops.c
* plug-ins/gap/gap_resi_dialog.c
* plug-ins/gap/gap_split.c
* plug-ins/gap/resize.c
* plug-ins/gimpressionist/Makefile.am
* plug-ins/gimpressionist/brush.c
* plug-ins/gimpressionist/color.c
* plug-ins/gimpressionist/general.c
* plug-ins/gimpressionist/gimp.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/gimpressionist/orientation.c
* plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/paper.c
* plug-ins/gimpressionist/placement.c
* plug-ins/gimpressionist/ppmtool.c
* plug-ins/gimpressionist/presets.c
* plug-ins/gimpressionist/preview.c
* plug-ins/gimpressionist/repaint.c
* plug-ins/gimpressionist/size.c
* plug-ins/gimpressionist/sizemap.c
* plug-ins/mosaic/Makefile.am
* plug-ins/mosaic/mosaic.c
* plug-ins/struc/Makefile.am
* plug-ins/struc/struc.c: applied gimp-yasuhiro-990917-0, plugin i18n patch

-Yosh
1999-09-26 05:16:19 +00:00
Sven Neumann 31331996fa fun with gradient_length and fade_out
--Sven & Jtl
1999-09-25 19:49:58 +00:00
Asbjørn Pettersen 3ede4b4487 add sys/types.h to skip warn. 1999-09-24 15:15:17 +00:00
Sven Neumann 48e8fa0141 Update from the registry.
--Sven
1999-09-21 13:11:00 +00:00
Nick Lamb /GIMP 6e6ede4456 Mac and PC can be friends :)
PC vs Mac radio buttons removed from dialog. Trust me.
1999-09-20 18:00:06 +00:00
Tomas Ogren 39b651a549 "u_long" isn't portable at all..
1999-09-18  Tomas Ogren  <stric@ing.umu.se>

* plug-ins/common/tiff.c: "u_long" isn't portable at all..
1999-09-18 01:22:29 +00:00
Nick Lamb /GIMP 8bc75810ae Update to version supporting 16-bit (truncated of course)
and Tiled TIFF familes.
1999-09-17 22:28:25 +00:00
Tor Lillqvist e422b59e59 Include config.h, guard inclusion of <unistd.h>.
1999-09-14  Tor Lillqvist  <tml@iki.fi>

* app/brush_select.c: Include config.h, guard inclusion of
<unistd.h>.

* app/gimpcontextpreview.c: Include config.h, <string.h> and
appenv.h.

* app/xinput_airbrush.c: Include config.h, <stdio.h>, appenv.h and
libgimp/gimpmath.h. Use G_PI.

* app/makefile.{cygwin,msc}: Updates.

* plug-ins/makefile.{cygwin,msc}: Add the unofficial sel_gauss
plug-in. Add new object files for FractalExplorer and
gimpressionist.

* plug-ins/common/iwarp.c (iwarp_deform): Combine two loops over
the same xi, yi area into one. Remove the then actually unused
deform_area_vectors array. Only one element of the array was used
for each x,yi loop.

* plug-ins/common/sparkle.c: Don't include <math.h>,
libgimp/gimpmath.h includes it. Use G_PI.
1999-09-14 21:20:04 +00:00
Manish Singh 2139d2b4ab plug-ins/gfli/fli.[ch] applied gimp-narazaki-990914-0, fixes bogus magic
* plug-ins/gfli/fli.[ch]
* plug-ins/gfli/gfli.c: applied gimp-narazaki-990914-0, fixes bogus
magic settings and noninteractive pdb

* plug-ins/common/ps.c: resolution info patch

-Yosh
1999-09-14 20:54:02 +00:00
Manish Singh 4555202ace don't use wacky binary modifiers to popen when !__EMX__
-Yosh
1999-09-14 20:16:36 +00:00
Sven Neumann 5a8eb56643 bug-fixing...
--Sven
1999-09-13 11:03:37 +00:00
Nick Lamb /GIMP 7633468a5f Update info structures after doing transformations, thus fixing bug
Also stopped applying sBIT. Scream if this hurts you :)
1999-09-13 00:57:52 +00:00
Manish Singh 3ce38aa009 another XachPatch (TM) to fix revert and urls
-Yosh
1999-09-11 23:45:57 +00:00
Vidar Madsen/gimpressionist fd8ba1f051 Added load/save + better alpha support + minor dialog layout changes
* plug-ins/common/spheredesigner.c: Added load/save +
better alpha support + minor dialog layout changes
1999-09-11 19:56:18 +00:00
EDT 1999 Austin Donnelly 1fdfba91b8 cheesy fix for INDEXEDA core dump: popup a window saying we can't handle
Fri Sep 10 18:36:34 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/png.c: cheesy fix for INDEXEDA core dump: popup
	    a window saying we can't handle it.  We should really handle
	    it though.
1999-09-10 22:36:56 +00:00
Manish Singh 27acb4fa78 i18n buglet fix
-Yosh
1999-09-09 22:59:04 +00:00
Vidar Madsen/gimpressionist 6439161e80 Various fixes/enhancements
* plug-ins/common/spheredesigner.c: Various fixes/enhancements

	* plug-ins/gimpressionist/Makefile.am
        * plug-ins/gimpressionist/ChangeLog
        * plug-ins/gimpressionist/*.[ch]: Added Color options (new file color.c)
1999-09-09 20:28:34 +00:00
Manish Singh 322627964d (from gimp-narazaki-990909-0)
* app/layers_dialog.c: check for layer validity in
layer_widget_preview_events

* app/lc_dialog.c: remove GIMP_IMAGE() cast from the
menu_preview_update callback like the comment says to

(from gimp-yasuhiro-990907-0)

* app/menus.c
* plug-ins/common/autocrop.c
* plug-ins/common/c_astretch.c
* plug-ins/common/color_enhance.c
* plug-ins/common/guillotine.c
* plug-ins/common/normalize.c
* plug-ins/common/rotate.c
* plug-ins/common/rotators.c
* plug-ins/common/spheredesigner.c
* plug-ins/common/threshold_alpha.c
* plug-ins/common/zealouscrop.c: i18n markings

-Yosh
1999-09-09 07:09:33 +00:00
Marc Lehmann 698988c9f5 *** empty log message *** 1999-09-07 21:05:07 +00:00
Marc Lehmann 09e5838351 *** empty log message *** 1999-09-06 21:38:35 +00:00
Vidar Madsen/gimpressionist 0e5bf7222a Added configurable light-sources + reset to default settings.
* plug-ins/common/spheredesigner.c: Added configurable
light-sources + reset to default settings.
1999-09-05 01:49:02 +00:00
Manish Singh cd70fa440e autogen .cvsignore
-Yosh
1999-09-04 06:19:46 +00:00
Vidar Madsen/gimpressionist 8b586d785f Various fixes and enhancements, most notable "run-with-last-vals".
* plug-ins/common/spheredesigner.c: Various fixes and
enhancements, most notable "run-with-last-vals".
1999-09-04 02:38:46 +00:00
Manish Singh 61121b7702 add plug-ins/AlienMap2/Makefile to AC_OUTPUT
* configure.in: add plug-ins/AlienMap2/Makefile to AC_OUTPUT

* libgimp/gimp.c: setlocale (LC_NUMERIC, "C") in gimp_main
so floats are sane over the wire

* libgimp/stdplugins-intl.h: same for INIT_I18N_UI()

* plug-ins/common/color_enhance.c: no literal newlines in string for
portability

* plug-ins/sel2path/sel2path.c: i18n patch from SHIRASAKI Yasuhiro

-Yosh
1999-09-04 00:39:05 +00:00
Marc Lehmann 625df2ac59 *** empty log message *** 1999-09-03 23:14:44 +00:00
Tor Lillqvist 5475ff08a9 New files. Types and functions related to "standard" parasite types. Used
1999-09-02  Tor Lillqvist  <tml@iki.fi>

* libgimp/parasiteio.[ch]: New files. Types and functions related
to "standard" parasite types. Used for the
gimp-brush-pipe-parameters parasite that the gpb and psp plug-ins
handle, and the value of which is stored in gih files, from
which gimpbrushpipe.c parses it.

* libgimp/{Makefile.am,makefile.{cygwin,msc}}: Add new files.

* libgimp/gimp.def: Add its entry points.

* libgimp/gimp.h: Fix cosmetic argument name error.

* app/gimpbrushpipe.c: Remove code that previously
was copied here, use functions from parasiteio.c.

* plug-ins/common/gpb.c: Ditto. Add brush cell width and height
fields to the gih save dialog. Add cleverness to update rows and
columns as cell size is changes. (Still too easy for the user to
get confused, though.) Display corresponding guide grid on the
image. Unfortunately updating the guidelines doesn't seem to work.

* plug-ins/common/psp.c: Use functions from parasiteio.c.
1999-09-02 00:01:41 +00:00
Tor Lillqvist 6ef23d984f app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc
1999-09-01  Tor Lillqvist  <tml@iki.fi>

* app/appenv.h
* libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
use them, too. Remove some commented-out old stuff in appenv.h.

* libgimp/gimp.h: Include gimpmath.h.

* libgimp/gimp.c (gimp_main): Win32: Don't install signal
handlers, we can't do anything useful in the handler ourselves
anyway (it would be nice to print out a backtrace, but that seems
pretty hard to do, even if not impossible). Let Windows inform the
user about the crash. If the plug-in was compiled with MSVC, and
the user also has it, she is offered a chance to start the
debugger automatically anyway.

* app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
<math.h>, as gimpmath.h includes it.

* plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
Remove all the duplicated definitions of G_PI and rint(). Use
RINT() instead of rint().

* app/app_procs.[ch]: app_exit() takes a gboolean.

* app/batch.c
* app/commands.c
* app/interface.c: Call app_exit() with FALSE or TRUE.

* app/main.c (on_error): Call gimp_fatal_error. (main): Don't
install any signal handler on Win32 here, either.

* app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
the message and call MessageBox with it.  g_on_error_query doesn't
do anything useful on Win32, and printf'ing a message to stdout or
stderr doesn't do anything, either, in a windowing application.
1999-09-01 20:30:56 +00:00
Sven Neumann 53af3d104a hopefully this helps tigert, but I doubt it ...
--Sven
1999-09-01 19:09:52 +00:00
Tor Lillqvist 6a71208875 Use _O_TEMPORARY. Removed #ifdef, instead define the Win32-only _O_BINARY
1999-09-01  Tor Lillqvist  <tml@iki.fi>

* app/tile_swap.c (tile_swap_open): Use _O_TEMPORARY. Removed
#ifdef, instead define the Win32-only _O_BINARY and _O_TEMPORARY
as zero if not defined.

* plug-ins/common/spheredesigner.c: Include config.h (#if
HAVE_CONFIG_H). RAND_FUNC and SRAND_FUNC are defined in that.
1999-09-01 04:27:30 +00:00
Manish Singh 581834dddb shut up cvs
-Yosh
1999-09-01 03:20:50 +00:00
Vidar Madsen/gimpressionist 01e27f730a Various fixes and enhancements.
* plug-ins/common/spheredesigner.c: Various fixes and enhancements.
1999-08-31 22:21:43 +00:00
Adam D. Moss c79365b3df remove workaround 1999-08-31 19:40:00 +00:00
Manish Singh 9d6bc8417e plug-ins/common/Makefile.am added note about autogeneration to the
* plug-ins/common/Makefile.am
* plug-ins/common/mkgen.pl: added note about autogeneration to
the generated Makefile.am

* plug-ins/common/plugin-defs.pl: added spheredesigner

-Yosh
1999-08-31 17:55:03 +00:00
Tor Lillqvist 2eafd14351 Minor portability fixes.
1999-08-31  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/spheredesigner.c: Minor portability fixes.

* plug-ins/makefile.{cygwin,msc}: Add spheredesigner.
1999-08-31 16:49:46 +00:00
Vidar Madsen/gimpressionist 0b52355fda plug-ins/common/Makefile.am Added the SphereDesigner plugin.
* plug-ins/common/Makefile.am
* plug-ins/common/spheredesigner.c: Added the SphereDesigner plugin.
1999-08-31 12:29:09 +00:00
Asbjørn Pettersen 10a170fc77 add include file 1999-08-29 18:41:56 +00:00
Adam D. Moss 193a9ac3c8 default comment is now NULL. 1999-08-29 17:43:35 +00:00
Manish Singh ccf7f01085 use INIT_I18N_UI ()
-Yosh
1999-08-28 19:23:22 +00:00
Tor Lillqvist 3e2ef66809 Put in a workaround for the problem with plug-ins on NT and W2K, where
1999-08-28  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimp.c (gimp_main): Put in a workaround for the problem
with plug-ins on NT and W2K, where installing the GIMP under a
directory path with spaces (\Program Files\GIMP) would cause the
plug-ins to malfunction. Turns out the argv gets set up by the C
runtime incorrectly in such a case, the path name of the
executable is split at the spaces. The workaround is to splice
argv[0] together from the pieces again, shifting the rest of argv
down.

* app/plug_in.c (plug_in_open): Correct (harmless) typo in the
Win32 code.

* plug-ins/common/winclipboard.c: Put the pasting of a new image
under File/Acquire.
1999-08-28 17:00:33 +00:00