Commit Graph

51 Commits

Author SHA1 Message Date
Austin Donnelly 08d2c8f361 Oops- left in some debugging code. 1999-04-20 23:36:59 +00:00
Manish Singh c555988860 doh, XLFD stuff is in decipoints
* app/text_tool_cmds.c: doh, XLFD stuff is in decipoints

* app/color_cmds.h: removed

* app/color_cmds.c: pdbgened file now

* app/lut_funcs.h: export ChannelLutType enum

* app/internal_procs.c: register pdbgened color procs

* app/menus.c: reverted keyboard underlines since they need more discussion

-Yosh
1999-04-10 21:51:25 +00:00
Pavel Machek 60c9e73db5 underline letters so keyboard is bit more usable
* app/menus.c (toolbox_entries): underline letters so keyboard is
        bit more usable
1999-03-29 13:23:02 +00:00
Tor Lillqvist 951c92a602 Second batch of Win32 merge. 1999-03-07 12:56:03 +00:00
CST 1999 Shawn T. Amundson 0ca881f970 special case Close/Quit in <Image>/File to always be at the bottom of the
Thu Feb 25 02:21:52 CST 1999 Shawn T. Amundson <amundson@gimp.org>

        * app/menus.c: special case Close/Quit in <Image>/File
	  to always be at the bottom of the menu.
1999-02-25 08:24:51 +00:00
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 5ae4ae62ec Fix stupid braino
-Yosh
1999-02-03 22:14:01 +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
Tor Lillqvist 07686fcd48 Don't g_snprintf into a NULL pointer, which happened in case last_opened_size
was greater than 9.
1999-01-31 00:57:45 +00:00
Manish Singh bd9e497b75 s/(NONE|LEFT|RIGHT)/EDGE_$1/g to clear up namespace
* app/blob.c: s/(NONE|LEFT|RIGHT)/EDGE_$1/g to clear up namespace

* app/menus.c: create dummy var to i18n File/MRU item
(gimp-joke-9901122-1.patch)

* app/tips_dialog.c: #include <config.h> (gimp-joke-9901122-1.patch)

-Yosh
1999-01-27 06:30: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
Austin Donnelly 43639fa0b3 iMon Jan 18 23:36:57 1999 Austin Donnelly <austin@gimp.org>
* app/menus.c: include module browser, plus re-instate the 'swap
	     colors' and other options that got killed by mistake.  Clean
	     up the odd extra separator too.

	* app/color_notebook.c: hide newly created colour selectors so we
	     know the GIMP one will be the default page.

	* app/module_db.[ch]: NEW FILEs: module database / browser.
	* app/Makefile.am: add module_db.[ch] stuff
	* app/app_procs.c: initialise the module_db
	* app/commands.[ch]: callback to create a module browser.
	* app/plug_in.c: move module loading out to module_db.c
	* libgimp/gimpmodule.h: API change: module_init() should return
	     additonal info (author, purpose, date, etc.)   Also optional
	     module_unload() function.
	* modules/colorsel_gtk.c: add module info, plus an unload function

	* modules/Makefile.am: build triangle colour selector module
	* modules/colorsel_triangle.c: NEW FILE: colour selector from
	     Simon Budig <Simon.Budig@unix-ag.org>.

	* MAINTAINERS: changed my email address
1999-01-19 00:03:00 +00:00
Manish Singh 39b7edde80 doh, we build tool menus on the fly
* app/menus.c: doh, we build tool menus on the fly

* configure.in: add nl.po to ALL_LINGUAS

* acinclude.m4
* ltconfig
* ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)

-Yosh
1999-01-13 07:37:54 +00:00
Manish Singh 344ffe8e52 Implemented file revert
-Yosh
1999-01-12 01:31:49 +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
GMT 1998 Austin Donnelly ccfeb2549d app/commands.[ch] app/edit_selection.c app/gdisplay.[ch]
Sat Dec  5 21:31:57 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/commands.[ch]
	* app/edit_selection.c
	* app/gdisplay.[ch]
	* app/gdisplay_ops.[ch]
	* app/image_render.c
	* app/info_window.c
	* app/magnify.c
	* app/menus.c
	* app/scale.c: image rendering now happens with float scale
	factors, independent in X and Y axes.  Turning on dot-for-dot in view
	menu does what gimp always used to do (ie one image pixel becomes
	one monitor pixel).  Dot-for-dot is on by default so people
	shouldn't notice any difference unless they load an image that's
	not at 72 dpi and also turn off dot-for-dot.

	* app/app_procs.c
	* app/gimprc.[ch]
	* app/preferences_dialog.c: new gimprc options
	(monitor-xresolution <float>) and corresponding
 	(monitor-yresolution <float>).  Uglyness in preferences dialog to
	add a "Monitor" page to the notebook, allowing user to set their
	monitor's resolution or take it from the X server instead.  This
	badly needs cleaned up :(

	* plug-ins/newsprint/newsprint.c: oops - this hasn't been working
	for grayscale images since my last checkin.  Now fixed.
1998-12-05 21:48:37 +00:00
Manish Singh 8575718342 added MAINTAINERS to EXTRA_DIST
* Makefile.am: added MAINTAINERS to EXTRA_DIST

* configure.in: nicer -Wall, -ansi, etc. adding for CFLAGS with gcc

* libgimp/parasite*.h
* libgimp/gimpintl.h
* app/Makefile.am
* po/Makefile.in.in
* configure.in: portablity, locale patch (gimp-joke-981028-0)

* configure.in
* plug-ins/Makefile.am: added lic, mapcolor, and xbm plug-ins

* app/app_procs.c
* app/menus.c: cosmetic message fixes

* libgimp/parasite.c: use %p to print pointers

* plug-ins/dbbrowser/dbbrowser_utils.[ch]: changes for new clist stuff

* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scripts/carved-logo.scm
* plug-ins/script-fu/scripts/chrome-it.scm
* plug-ins/script-fu/scripts/crystal-logo.scm
* plug-ins/script-fu/scripts/neon-logo.scm
* plug-ins/script-fu/scripts/sota-chrome-logo.scm: applied gimp-ruth-981103-0,
adds a filesel to script-fu and SF-FILENAME param type. Make some scripts use
this.

-Yosh
1998-11-06 00:51:39 +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
EDT 1998 Adrian Likins 25721826d0 Lots of ii8n stuff here and some additions to the de.po. Applied
Wed Oct 14 17:46:15 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/*, po/de.po, de/POTFILES.in, libgimp/gimpintl.h:
        Lots of ii8n stuff here and some additions to the de.po.
        Applied gimp-egger-981005-1 ,gimp-egger-981006-1,
        gimp-egger-981007-1, gimp-egger-981008-1,
        gimp-egger-981009-1.patch, gimp-egger-981010-1.patch

        * plug-in/guillotine/guillotine.c: added the coordinates
        of the split images from the original image to the title.
        ie foo.jpg (0,0) for the image in the topleft.

        * plug-in/script-fu/scripts/neon-logo.scm,
        perspective-shadow.scm, predator.scm,rendermap.scm,
        ripply-anim.scm, select_to_image.scm,swirltile.scm,
        xach-effect.scm: updated scripts to use new script-fu stuff

wooo boy! a big un!

	in testing this, it looks like some of the po files are busted.
but the code stuff seems okay.

-adrian
1998-10-14 23:23:52 +00:00
Manish Singh ecfa2b8362 initial merge of the internationalization stuff. It's still broken in a
* initial merge of the internationalization stuff. It's still broken in a
couple places, so you're probably better off running configure with
--disable-nls (gimp-mgomulin-980727-0)

-Yosh
1998-08-05 23:46:04 +00:00
Sven Neumann 6805b3be8f The statusbar can now be switched off just like the rulers.
--Sven
1998-08-05 12:38:11 +00:00
Sven Neumann 5ebfaaae74 Applied a patch from Simon.Budig@unix-ag.org (gimp-simon-220598-0).
Cosmetic changes to the script-fu dialog.

Added session-managment to the error-console.


--Sven
1998-08-02 19:05:02 +00:00
Manish Singh 3635728000 app/Makefile.am app/errors.c app/errorconsole.[ch] app/app_procs.c
* app/Makefile.am
* app/errors.c
* app/errorconsole.[ch]
* app/app_procs.c
* app/appenv.h
* app/menus.c: error console implementation from Nuke <nuke@bayside.net>
Hooks to g_message

* app/fileops.c: honor message_handler while still setting filesel widget
sensitivity properly

-Yosh
1998-07-28 21:11:47 +00:00
Sven Neumann 443bf8b2b4 Fixed a few bugs in the new MRU list.
I'm not very happy with this new feature as it doubles functionality and
code with the new docindex. Probably the two should be merged somehow. The
user interface should stay as it is, but the MRU functions should be
provided by the docindex code.


--Sven
1998-07-13 22:31:45 +00:00
Manish Singh 999b2781f4 added MRU file list (patch from nuke@bayside.net) Moved document index menu
item into the dialogs submenu

-Yosh
1998-07-12 05:18:17 +00:00
Chris Lahey 99bbc38a1c Just a few quick bug fixes for the document index. 1998-07-08 10:29:09 +00:00
Chris Lahey 3f81a90182 Added a document index. 1998-07-08 09:04:33 +00:00
Manish Singh edb4e825e0 corrected typo
* app/Makefile.am: corrected typo

* app/bezier_select.c
* app/rect_select.[ch]: merged in bezier extend patch by Raphael
FRANCOIS (fraph@ibm.net)

* app/menus.c: restored "lost" menu items and shortcuts
These really aren't tools.. maybe they should go somewhere else?

* plug-ins/Lighting/lighting_main.c: added gimp_displays_flush

-Yosh
1998-06-26 08:03:50 +00:00
Manish Singh 8612d50ec1 compile everything with -D_REENTRANT
* configure.in: compile everything with -D_REENTRANT

* app/menus.c: fix for default accel (wrong X char)

* libgimp/gimpenums.h: make DIVIDE_MODE visible

* plug-ins/gif/gif.c: make it less verbose again

-Yosh
1998-06-24 05:31:18 +00:00
Sven Neumann efd46c7a67 The lc-dialog can now be opened from the toolbox-menu. Did that in
preparation for auto-opening dialogs on start-up.


--Sven
1998-06-23 21:28:22 +00:00
CDT 1998 Larry Ewing db79dc64df app/bezier_select.c app/commands.[ch] app/devices.c app/disp_callbacks.c
Sun Jun 21 15:16:46 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/bezier_select.c
	* app/commands.[ch]
	* app/devices.c
	* app/disp_callbacks.c
	* app/interface.c
	* app/menus.c
	* app/pixmaps.h
	* app/tools.[ch]
	* app/undo.c: Lots of changes to the way tools are intialized and
	accessed.  All information about a tool type is now contained in a
	single ToolInfo array.  There are still some small issues to
	adress about tool groups and we need some way of getting menu
	ordering/grouping to work better (plug-ins need this too).  There
	is still much to be done, but this is the next in cleaning up the
	tools.

	* app/posterize.[ch]
	* app/threshold.[ch]
	* app/histogram_tool.[ch]
	* app/hue_saturation.[ch]
	* app/levels.[ch]
	* app/brightness_contrast.[ch]
	* app/by_color_select.[ch]
	* app/color_balance.[ch]
	* app/curves.[ch]: Changed the *_initalize function prototypes from
	gpointer to GDisplay, to allow better type chacking and provide a
	uniform interface for all the dialog tools.
1998-06-21 20:17:21 +00:00
CDT 1998 Larry Ewing 8e6f42e4cf added menu entry and changed loop bounds to get the new ink tool
Tue Jun 16 15:06:19 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/interface.c:
	* app/menus.c: added menu entry and changed loop bounds to get the
	new ink tool functioning properly

	* app/tools.[ch]: added new and free funcs to the ToolInfo struct,
	and began small cleanup of tools
1998-06-16 20:09:19 +00:00
Manish Singh 4c7784d736 initialize progress_gdisp_ID field in plug_in_new so things don't crash
* app/plug_in.c: initialize progress_gdisp_ID field in plug_in_new so
things don't crash

* app/menus.c: use proper keycodes (?) for zoom accelerator defaults

* plug-ins/apply_lens/apply_lens.c: fixed a warning

-Yosh
1998-06-15 19:48:57 +00:00
Manish Singh 51b8deb9e5 unref the itemfactories instead of destroying them (from timj)
* app/menus.c: unref the itemfactories instead of destroying them (from timj)

-Yosh
1998-06-09 00:50:32 +00:00
Manish Singh 474041c8d0 fix stupid <Separator>
-Yosh
1998-06-08 23:18:49 +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
Owen Taylor f6a5a9383c app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
Fri Jun  5 22:37:40 1998  Owen Taylor  <otaylor@gtk.org>

	* app/Makefile.am app/app_procs.c app/brushes.c app/commands.[ch]
	  app/disp_callbacks.c app/gdisplay.[ch] app/gimprc.c
	  app/interface.[ch] app/menus.c app/paint_core.[ch]
	  app/paintbrush.c app/palette.c app/scroll.c
	  app/tools.[ch] app/undo.c

	- Added two new dialogs - input devices; (GtkInputDialog)
	  and DeviceStatus - which shows the tool/color for
	  each device.

	- Added device_status_update() call that gets called
	  whenever the tool/color etc. are changed.

	- Added ~/.gimp/devicerc file to store settings

	- Code to draw cursor on canvas for non XFree86 XInput
	  where device can't control cursor and extended input
	  device simultaneously.

	- Changed input handling so that we always use the pointer
	  position from the device, not from gdk_input_window_get_cursor,
	  so that motion and cursor position sync.

	- Various changes so things work with non-integer coordinates

	- Pay attention to pressure and tilt in basic tool support.

        - New paint mode PRESSURE that changes the brush based on
	  the brush pressure

	- Left in a few XInput hacks that should be removed, but I no longer
	  remember what they are.
1998-06-06 03:49:01 +00:00
Manish Singh 6ddbb705a3 more g_message changes
* more g_message changes

* CEL plugin update

* INSTALL: info on why plugins don't get built

-Yosh
1998-05-30 07:32:37 +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 4b5f5608bb Added a "Add Alpha Channel" menu-entry to the Image-menu. To be exact, I
added it twice, once under <Image>->Layers and additionally under
<Image>->Image->Alpha

Now it is possible to work on a single-layer image without opening the
Layers-dialog for adding an alpha channel.


--Sven
1998-04-03 11:58:04 +00:00
EST 1998 Matthew Wilson 7dcd8e85ab app/gimage.c app/tools.c Added a field in the Tools struct, preserve.
Tue Mar 31 02:21:15 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/gimage.c
	* app/tools.c
	* app/tools.h: Added a field in the Tools struct, preserve.
	During gimage_dirty, if this flag is not set the tool will be
	reset.  This is good for tools that keep a copy of the image
	in cache for local manipulation like transform_core.

	* app/bezier_select.c
	* app/blend.c
	* app/brightness_contrast.c
	* app/bucket_fill.c
	* app/color_balance.c
	* app/color_picker.c
	* app/crop.c
	* app/curves.c
	* app/ellipse_select.c
	* app/free_select.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/levels.c
	* app/move.c
	* app/paint_core.c
	* app/posterize.c
	* app/rect_select.c
	* app/text_tool.c
	* app/transform_core.c: Set the preserve flag to the correct
	values in the new functions and wrapped calls to functions that
	dirty the gimage to prevent tool restarts.

	* app/disp_callbacks.c
	* app/menus.c: Removed Nether's tool patch.

--phew.  Matt
1998-03-31 07:23:50 +00:00
Lauri Alanko 7ad9fec9b9 Fixed the tool options disappearing at undo.
Fixed the tool options disappearing at undo.
1998-03-16 10:22:53 +00:00
Manish Singh 89ec6691ee fixed memory overrun error
* app/convert.c: fixed memory overrun error

* app/gdisplay.c
* app/menus.c: reapplied the tools patch from Nether, looks
like it doesn't trip up anymore. Added some sanity checks
anyway

* app/disp_callbacks.c
* app/transform_core.c: plugged some harmless build warnings

-Yosh
1998-03-11 08:58:42 +00:00
Sven Neumann a19b750c45 Implemented gimp_palette_set_default_colors and
gimp_palette_swap_colors as pdb-calls and bound menu-entries and
keybindings to them.
(gimp-sven-980216-0.patch)

--Sven
1998-03-01 19:38:25 +00:00
Manish Singh ac30648449 fixes for the g_string -> g_str change in glib
updated gfig

-Yosh
1998-02-13 10:36:15 +00:00
scott 32a8be45e4 More stuff for gtk refcounting stuff.
--sg
1998-02-03 22:56:55 +00:00
Manish Singh e51e490243 Applied Sven's menu patch
-Yosh
1998-01-25 02:18:54 +00:00
Manish Singh 0c1112c2ea Backed out of the tools patch, cause problems with rmb script-fu
-Yosh
1997-12-15 00:49:42 +00:00
Manish Singh 31bceb1daf Added .cvsignores for the colorify, illusion, glasstile, and papertile
Added Nether's tools patch
Clarified the units in the preference tile cache size field (it's in bytes,
NOT KBs)
1997-12-09 23:22:24 +00:00
Manish Singh 2d442d4842 Added Nathan Summers fix for the about dialog (and put my name in the
credits :) )
Added Michael Natterer's escaped menu accelerator fix
Added Andy Thomas's active_tool NULL check for undo
1997-12-08 10:36:19 +00:00