Commit Graph

43 Commits

Author SHA1 Message Date
Manish Singh dea84972e3 fix setting of $localedir, and use $CONFIG_SHELL to run config.status
* configure.in: fix setting of $localedir, and use $CONFIG_SHELL
to run config.status (variation upon gimp-joke-990122-1)

* plug-ins/fp/fp_gtk.c: make label code consistent so we
don't get confused (gimp-ruth-990131-0)

* app/app_procs.c: toast stale swap files on startup

* app/general.[ch]: removed prune_filename

* app/by_color_select.c
* app/colormap_dialog.i.c
* app/fileops.c
* app/gdisplay.c
* app/gdisplay_ops.c
* app/gimpbrush.c
* app/gradient.c
* app/info_window.c
* app/menus.c
* app/palette.c
* app/patterns.c: s/prune_filename/g_basename/

-Yosh
1999-02-07 10:45:56 +00:00
Manish Singh a4213cf85e libgimp/gimp.c app/datafiles.c app/docindex.c app/gimprc.c app/gradient.c
* libgimp/gimp.c
* app/datafiles.c
* app/docindex.c
* app/gimprc.c
* app/gradient.c
* app/palette.c: use g_get_home_dir () instead of getenv ("HOME")

* app/fileops.c: #warning is a gccism

* app/invert.[ch]: minor cleanup

* app/menus.c: more cleanups

* app/blob.c: even more cleanups

* libgimp/parasite.c: YACU

* ltconfig
* ltmain.sh: CVS libtool 1.2e

* modules/Makefile.am: use -module and -avoid-version flags

* lic/Makefile.am
* mapcolor/Makefile.am
* xbm/Makefile.am: don't link with libjpeg here

-Yosh
1999-02-03 09:17:37 +00:00
EST 1999 Mandrake 4fe20eacb0 s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/
Wed Jan 20 19:57:34 EST 1999 Mandrake <mandrake@mandrake.net>
        * app/gradients.c
          app/menus.c:
          s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/
          configure.in: upped gtk+ requirement to 1.1.13, since that's
          where it first occurs.
1999-01-21 01:05:24 +00:00
jaycox 99c0d4a1eb make the edit button active if the default brush is a generated brush.
* app/brush_select.c: make the edit button active if the default
 	brush is a generated brush.  Make sure brush spacing >= 1.0
	* app/gimpbrushlist.c: do not add a brush to the brush list if it
 	failed to load
	* app/gradient.c:  Fix typo that caused a crash with --no-data
	* app/main.c: be more forgiving of fp rounding in gserialize tests
1999-01-19 19:43:36 +00:00
Federico Mena Quintero 10bc5237a7 Updated gtk_toggle_button_set_state() to gtk_toggle_button_set_active() in
1999-01-15  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* Updated gtk_toggle_button_set_state() to
	gtk_toggle_button_set_active() in all the files.
1999-01-15 17:35:04 +00:00
Manish Singh 49cbf0630d i18n markings from Daniel Egger (mostly removal of tags around PDB stuff),
* i18n markings from Daniel Egger (mostly removal of tags around
PDB stuff), some constification

* I went on a sprintf pogrom. Use g_snprintf or g_strdup_printf
where applicable, to prevent overflows, especially with filenames
and translated strings. suid gimp is now more secure. ;)

-Yosh
1998-12-25 18:22:01 +00:00
Manish Singh d2ea549d27 stuff from patches/i18n by Daniel Egger
* app/*: stuff from patches/i18n by Daniel Egger

* app/channels_dialog.c: fixes minor buglets in the channels dialog

-Yosh
1998-12-16 00:37:09 +00:00
Manish Singh 3fcc361159 app/gradient.c s/gtk_clist_set_border/gtk_clist_set_shadow_type/
* app/gradient.c
* app/gradient_select.c:
s/gtk_clist_set_border/gtk_clist_set_shadow_type/

* configure.in
* libgimp/Makefile.am
* app/Makefile.am: use GIMP_THREAD_FOO substitution

* app/gimage_cmds.c: initialize some vars to quell warnings

-Yosh
1998-12-01 23:19:01 +00:00
Manish Singh cb80e23d3b applied gimp-stric-981116-1, lots o files changes in app. i18n patch.
* applied gimp-stric-981116-1, lots o files changes in app. i18n patch.

* plug-ins/gfig/gfig.c: applied gimp-tml-981121-0, use proper PDB params

-Yosh
1998-11-23 14:47:09 +00:00
GMT 1998 Andy Thomas 66cd5c1678 app/gradient.c app/gradient_select.c
Thu Nov  5 21:55:46 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/gradient_select.c

	Changes due to gtk+ updates. Clist have been changed recently
	in gtk which required changes to source code. These changes
	have only been tested with the gtk version that introduced these
	changes. (so lets get all those updates going...)
1998-11-05 23:10:31 +00:00
GMT 1998 Andy Thomas 08000c86de app/gradient.c app/Makefile.am
Wed Nov  4 22:23:18 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/Makefile.am

	New files

	* app/gradient_select.c
	* app/gradient_header.h

	Split gradient selector dialog out of the main gradient code.
	New gradient headerfile that contains the key gradient structures
	and #defines.
1998-11-04 23:30:18 +00:00
GMT 1998 Andy Thomas 8475a4f894 app/gradient.c
Sat Oct 31 21:47:14 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c

	Fixed for problems with renaming + fix for interactions between editor
	and gradient selection popups.
1998-10-31 22:50:25 +00:00
GMT 1998 Andy Thomas d4ccd85afd app/gradient.c app/gradient.h app/internal_procs.c app/plug_in.c
Sat Oct 31 14:57:40 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/gradient.h
	* app/internal_procs.c
	* app/plug_in.c
	* app/session.c
	* app/session.h
	* libgimp/Makefile.am
	* libgimp/gimpmenu.h
	* libgimp/app/gimprc.c
	* libgimp/libgimpmenu.c
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-scripts.c

	New file:-

	* libgimp/gimpgradientmenu.c

	New gradient selector widget (smaller than the editor). This can now
	be controlled via the PDB.

	New widget which gives easy way to do gradient selections. This
	new widget is used by script-fu (see the test->sphere script).

	gradient.c needs to be split up (source is almost already split
	I will complete this RSN).
1998-10-31 16:22:37 +00:00
BST 1998 Andy Thomas 80c62daae7 Fixed a problem in gradient.c where if a gradient was selected via the PDB
Wed Oct 21 23:37:01 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	Fixed a problem in gradient.c where if a gradient was selected
	via the PDB and the editor has not been displayed on the screen
	gimp would crash.
1998-10-21 22:47:06 +00:00
BST 1998 Andy Thomas 0ce8428af2 app/gradients.c. Added gradient preview and a couple of buttons.
Tue Oct 13 00:27:21 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	app/gradients.c. Added gradient preview and a couple of buttons.
1998-10-12 23:31:08 +00:00
Raph Levien eaba60b1a9 Turned on dithering in the gradient editor. 1998-08-26 23:32:03 +00:00
Federico Mena Quintero 18123a6ec6 Fixed typo (sinuosidal -> sinusoidal).
1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* app/gradient.c: Fixed typo (sinuosidal -> sinusoidal).
1998-08-03 15:56:20 +00:00
Adam D. Moss 5b6e6cd6f0 On all gimp-core fopen()s changed "[rw]"->"[rw]b" to appease OS/2 folk.
* app/[lots of files].c: On all gimp-core fopen()s
        changed "[rw]"->"[rw]b" to appease OS/2 folk.
1998-07-31 18:34:05 +00:00
Sven Neumann 329e2072d8 More session-managment functionality. Opened dialogs are saved and eventually
reopened. Try to use the --restore-session command-line option.


--Sven
1998-07-11 22:23:23 +00:00
Sven Neumann d16b3aba04 Rough outline of session-managment. A new config
file 'sessionrc' is written and the position of some windows is
remembered. Still has some problems (offset by wm decorations).
Can be switched off in the preferences.
1998-06-22 17:30:40 +00:00
Tim Janik 11269e1e69 use GtkAccelLabel when creating a menuitems label seperatedly.
Sun Jun  7 11:04:38 1998  Tim Janik  <timj@gtk.org>

        * app/gradient.c (cpopup_create_menu_item_with_label): use GtkAccelLabel
        when creating a menuitems label seperatedly.

        * app/commands.h:
        * app/commands.c:
        (tips_dialog_cmd_callback):
        (filters_repeat_cmd_callback):
        (tools_select_cmd_callback): make use of the callback_action argument.

        * app/main.c (main): removed gtk_accelerator_table_set_mod_mask(),
        since gtk provides decent default values now.

        * app/layers_dialog.c:
        * app/interface.c:
        * app/indexed_palette.c:
        * app/channels_dialog.c:
        * app/buildmenu.c:
        conversions for use of GtkAccelGroup.

        * app/buildmenu.c:
        * app/gradient.c:
        installed accelerators are locked, because these code portions don't
        support accelerator saving.

        * ChangeLog:
        * ChangeLog.pre-1-0: ChangeLog split up.
1998-06-07 13:55:36 +00:00
Manish Singh 1d95a05af0 gimp_message. libgimp also overrides g_message for all plugins. Converted
* redid the error message handling. g_message now calls message_box or prints
to console depending on whether the no_interface is set or not. gimp-message
is also exported to the PDB as a wrapper to g_message, and libgimp has a new
API: gimp_message. libgimp also overrides g_message for all plugins. Converted
lots of messages in app/* to g_message. Made script-fu a little friendlier.

* updated the regex code from grep 2.2

* said goodbye to the old script-fu logo in script-fu.h

-Yosh
1998-05-28 09:03:57 +00:00
Frank Belew (Myth) 9b4d32e37a gradient.c: changed URL written in POV files to http://www.gimp.org/ 1998-05-26 00:28:32 +00:00
Manish Singh b3801f421b enable adjustment of the gradient list box for scrolling
-Yosh
1998-04-29 06:19:40 +00:00
Manish Singh b2f00c5412 handle delete_event for color selector properly
* gradient.c: handle delete_event for color selector properly

* plug-ins/webbrowser/web-browser.scm: updated link to the bugs page

-Yosh
1998-04-14 20:45:53 +00:00
Sven Neumann 0c503ae7fd Backed gradient-041398-seth-diff back out since it totally broke the
gradient editor. Seeing two simple lines like this breaking everything
makes me fear...


--Sven
1998-04-14 19:47:23 +00:00
Sven Neumann cadc2734f4 applied gimp-quinet-980414-0; adds new tips applied gimp-quinet-980414-1;
* gimp_tips.txt: applied gimp-quinet-980414-0; adds new tips
        * plug-ins/pagecurl/pagecurl.c: applied gimp-quinet-980414-1;
        defines M_PI
        * app/app_procs.c: applied gimp-quinet-980414-2; adds more
        information to the startup screen
        * app/gradient.c: applied gradient-041398-seth; fixes the
        behavior that the gradient editor would become insensitive
        forever if the color selection dialog were close
        * app/regex.c
        * plugins/script-fu/regex.c: partially applied
        gimp-jbuhler-980412-0; adds braces to nested if/else


--Sven
1998-04-14 19:24:23 +00:00
Manish Singh 84abd5d700 Have fun recompiling gimp everyone. It's the great FSF address change!
-Yosh
1998-04-13 05:44:11 +00:00
Sven Neumann 34582db809 Cosmetic change to the gradient editor. Put the frame for the preview and
controls into the hbox instead of putting the hbox into the frame.


--Sven
1998-04-10 11:07:48 +00:00
Adrian Likins 380deeb2d8 Fixed up --no-data so that the various *_init() routines always get
* app/app_procs.c app/brush_select.c app/brushes.c
        app/brushes.h app/convert.c app/gradient.c app/gradient.h
        app/palette.c app/palette.h app/pattern_select.c app/patterns.c
        app/patterns.h:   Fixed up --no-data so that the various *_init()
        routines always get called, and so that when in interactive mode
        the data can be loaded by the user even when started with --no-data.
        Fixes the blend bug too...

	yeah, sven scooped me... but i think this is still a needed patch...

-adrian
1998-03-26 18:24:42 +00:00
Sven Neumann b1a30ca8a0 Gimp crashed when the Blend Tool was used with a gradient and gimp was
started with the --no-data option. This is fixed now. grad_get_color_at()
now returns a totally transparent black when no gradient is present.

Additionally the gradient editor now behaves better when the window is
resized. The resize code is still an ugly hack though.


--Sven
1998-03-26 17:55:54 +00:00
Adrian Likins 1bfe515fe1 gimp-joke-980321
* app/iscissors.c, app/tips_dialog.c, app/gradient.c,
        libgimp/gimp.c, plug-ins/AlienMap/AlienMap.c,
        plug-ins/bmp/bmp.c, plug-ins/fits/fitsrw.h,
        plug-ins/fits/fitsrw.c, plug-ins/flarefx/flarefx.c,
        plug-ins/gfig/gfig.c, plug-ins/gfli/gfli.c,
        plug-ins/gicon/gicon.c, plug-ins/gqbist/gqbist.c,
        plug-ins/gtm/gtm.c, plug-ins/hot/hot.c,
        plug-ins/ifscompose/ifscompose.c,
        plug-ins/ifscompose/ifscompose_utils.c
        plug-ins/max_rgb/max_rgb.c, plug-ins/nlfilt/nlfilt.c,
        plug-ins/pat/pat.c, plug-ins/pcx/pcx.c, plug-ins/rotate/rotate.c,
        plug-ins/script-fu/script-fu-server.c, plug-ins/snoise/snoise.c,
        plug-ins/threshold_alpha/threshold_alpha.c,
        plug-ins/zealouscrop/zealouscrop.c :gimp-joke-980321

        plug-ins/CML_explorer, plug-ins/autocrop,
        plug-ins/align_layers, plug-ins/blinds,
        plug-ins/bmp, plug-ins/megawidget: gimp-joke-980322

        Applied gimp-joke-980322-0.patch and gimp-joke-980321-0.patch
        from Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp>. Mostly
        portability for DEC osf1's cc. Lots of MAIN();'s, trailing
        commas in enums, and guchar/gchar madness.

	Gimp now sends mail, cleans vinyl records,
	removes stubborn stains, julien fries, and more!

-adrian
1998-03-22 20:44:39 +00:00
Manish Singh b07e146676 Applied gimp-jbuhler-980315-0
-Yosh
1998-03-19 09:10:25 +00:00
Manish Singh 7cb1950fd7 M_PI madness...
-Yosh
1998-03-18 23:40:52 +00:00
Adrian Likins 9132cbb666 appied most of gimp-hpux-980316-0.patch from ???? Mostly added static's
* blend.c brightness_contrast.c brush_select.c brushes.c
          bucket_fill.c by_color_select.c channels_dialog.c
          color_balance.c convolve.c crop.c curves.c eraser.c fileops.c
          frac.c gradient.c histogram_tool.c hue_saturation.c
          image_render.c indexed_palette.c layers_dialog.c levels.c
          move.c paintbrush.c pattern_select.c pencil.c
          perspective_tool.c posterize.c rect_select.c scale_tool.c
          threshold.c tips_dialog.c:
                 appied most of gimp-hpux-980316-0.patch
        from ???? Mostly added static's here and there
         and casting stuff.

        * app/indexed_palette.c: made dialog non-resizeable

-adrian
1998-03-18 22:35:31 +00:00
Sven Neumann f5395e48b1 Fixed a problem in the gradient editor that made the gimp crash, when started
with the no-data option and no gradients are load.


--Sven
1998-03-17 23:16:40 +00:00
Tim Janik 2b52f8a864 fixed a lot of the destroy handlers and delete_event handlers, still
not everything perfect, though.
-timj
1998-03-12 22:01:43 +00:00
Manish Singh b0787f405f fix for (install-colormap) and splash screen using gtk_preview_reset()
* app/app_procs.c: fix for (install-colormap) and splash screen
        using gtk_preview_reset()

        * configure.in: on some platforms libXmu doesn't require libSM and
        libICE. configure should know this now.

        * app/gradient.c: corrected WM_CLASS typo

        * plug-ins/gfli/gfli.c: fix for load handler magic

        * plug-ins/gtm/gtm.c: don't use naughty gccisms.

        * plug-ins/gqbist
        * plug-ins/maze: updated from registry

-Yosh
1998-03-09 01:45:26 +00:00
Federico Mena fe69e5ceb1 Applied patch from Wolfgang Hofer <hof@ws6310.gud.siemens.at> to let the
Fri Jan 30 13:47:57 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

	* app/gradient.c: Applied patch from Wolfgang Hofer
	<hof@ws6310.gud.siemens.at> to let the user load the segment
	endpoint color from the current foreground color.  It also makes
	the preview un-resizable, which is not a complete fix for the
	preview resizing bug.
1998-01-31 01:49:25 +00:00
Manish Singh 89b600d2bc removed all usage of linked.[ch] and switched to GSLists
-Yosh
1998-01-29 08:03:27 +00:00
Adrian Likins c62f70ab13 added a call to gtk_window_set_wmclass to most of the gimp
dialogs

-adrian
1998-01-25 22:13:00 +00:00
Shawn Amundson 81eb53df7b Changes from Owen Taylor which allow GIMP to compile with
new GTK changes.  ChangeLog is more specific.

-Shawn
1997-12-18 06:30:11 +00:00
Elliot Lee 32cefec8f7 Initial revision 1997-11-24 22:05:25 +00:00