Commit Graph

1465 Commits

Author SHA1 Message Date
Michael Natterer fbf9e32ec5 preview_size_to_str() uses the new set of preview sizes now.
1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/gimprc.c: preview_size_to_str() uses the new set of preview
	sizes now.
1999-10-16 13:33:42 +00:00
Michael Natterer f3df254713 made the "Dialogs" sub-menus of <Toolbox>/File and <Image> consistent.
1999-10-16  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/menus.c: made the "Dialogs" sub-menus of <Toolbox>/File and
	<Image> consistent.

	* app/nav_window.c: wheelmouse support as in the gdisplay shell.
1999-10-16 13:07:15 +00:00
Michael Natterer cd39d59e6d fixed a SEGV: The "refresh" callback should call select_pattern(), not
1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/pattern_select.c: fixed a SEGV: The "refresh" callback
	should call select_pattern(), not pattern_select_select().
1999-10-16 11:40:39 +00:00
Michael Natterer fe9db44dda applied gimp-gosgood-991011-0.patch, so double-clicking on the channel
1999-10-16  Michael Natterer  <mitch@gimp.org>

	* app/channels_dialog.c: applied gimp-gosgood-991011-0.patch, so
	double-clicking on the channel widget pops up the attributes
	dialog again. Thanks for the very detailled documentation of the
	bug (which I tried to fix at totally different places before ;-)
1999-10-16 09:50:55 +00:00
Nick Lamb /GIMP 96961a7bb4 Recalculate size of ctree in the preferences dialog after adding all
the categories. This is the real fix for #2508.
1999-10-14 04:03:46 +00:00
Sven Neumann fce4ad6327 a whole lotta guide fixes
--Sven
1999-10-13 23:07:45 +00:00
BST 1999 Andy Thomas 08529ff5e7 app/crop.c app/sca_convert.c
Wed Oct 13 21:37:51 BST 1999 Andy Thomas <alt@gimp.org>

	* app/crop.c
	* app/sca_convert.c

	Fixes to memory problems (use of freed memory references) found
	by running with dmalloc.

	* app/paths_dialog.c

	Locking of multiple paths are now displayed correctly in the
	transform tool.
1999-10-13 20:53:30 +00:00
Manish Singh 77199c578c [both these are from patches by SHIRASAKI Yasuhiro]
* app/menus.c: tearoff i18n patch

* plug-ins/AlienMap/AlienMap.c
* plug-ins/AlienMap/Makefile.am
* plug-ins/AlienMap2/AlienMap.c
* plug-ins/AlienMap2/Makefile.am: misc i18n fixes

-Yosh
1999-10-12 06:53:01 +00:00
Nick Lamb /GIMP 12de92ed6e There are scrollable widgets in this dialog
=> GUI 101 - it should be resizable (grow only)
1999-10-11 01:47:58 +00:00
Sven Neumann fc4e6346df dnd improvements
--Sven
1999-10-09 20:33:53 +00:00
Adrian Likins 5112a25488 ooops 1999-10-09 19:17:55 +00:00
Sven Neumann c46a4cafa1 finer granulated preview_size
--Sven
1999-10-09 13:37:34 +00:00
Manish Singh 67c733b70c applied gimp-kirchgessner-991009-0, allow image ids == 0 and i18n
* plug-ins/common/film.c: applied gimp-kirchgessner-991009-0, allow
image ids == 0 and i18n

* app/gimp.gh
* app/colormap_dialog.gc: sync with changes

-Yosh
1999-10-09 01:44:31 +00:00
Sven Neumann e65d40975a use preview_size in undo_history
--Sven
1999-10-09 01:03:11 +00:00
Sven Neumann 692887db20 more export fiddling and a small change to the undo_history
--Sven
1999-10-09 00:11:50 +00:00
Sven Neumann bac4d13db2 fixed scrolling to currently selected row and added preview images.
* app/undo_history.c: fixed scrolling to currently selected row
  and added preview images.


--Sven
1999-10-08 16:53:08 +00:00
Sven Neumann 38a67ce230 a patch to the path tool from Simon Budig
and some cleanup in plug-ins/common/vpropagate.c


--Sven
1999-10-08 10:22:39 +00:00
Manish Singh 8873e7553a 1.1.10 stuff
-Yosh
1999-10-06 23:48:01 +00:00
Simon Budig c8578fc4b4 app/path_tool.h app/path_tool.c app/path_toolP.h app/path_curves.h
1999-10-3  Simon Budig  <Simon.Budig@unix-ag.org>

        * app/path_tool.h
        * app/path_tool.c
        * app/path_toolP.h
        * app/path_curves.h
        * app/path_curves.c
        * app/path_bezier.h
        * app/path_bezer.c

        Minor cleanup in the Api (adding init/cleanup functions for the
        curve-type-specific data, extending the on_handler function to
        return a handler ID, so the tool-core can tell path_curve_drag_handle
        which handle gets dragged around)

        Indentation madness - This must be some kind of infective: Too long
        together with Sven and Mitch :-)
1999-10-06 23:24:22 +00:00
BST 1999 Andy Thomas 14151c8ad0 app/palette.c
Wed Oct  6 23:29:53 BST 1999 Andy Thomas <alt@gimp.org>

	* app/palette.c

	Another attemp at fixing the palette dialog.
	The number of columns are now fixed at sixteen (which
	means the nicely layed out palettes will be OK).
	Expanding the dialog causes the width of the cells to change
	where as the +/- buttons cause the height of the cells to change.
1999-10-06 22:36:09 +00:00
Manish Singh 1799b91e75 s/G_HAVE_CYGWIN/G_WITH_CYGWIN/
-Yosh
1999-10-06 21:27:18 +00:00
Tor Lillqvist 61e9a437db Fix the file_gih_save RUN_WITH_LAST_VALS case, initialise pixpipe
1999-10-06  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/gpb.c: Fix the file_gih_save RUN_WITH_LAST_VALS
case, initialise pixpipe parameters from the parasite (Hi, Adrian!).

* plug-ins/script-fu/interp_slib.c: Fix preprocessor syntax error.

* app/makefile.{cygwin,msc} libgimp/makefile.{cygwin,msc}: Add new
object files.

* libgimp/gimp.def libgimp/gimpui.def: Add new entry points.

* modules/makefile.{cygwin,msc}: Add -I path to the common gdk
directory.
1999-10-06 06:36:46 +00:00
EDT 1999 Austin Donnelly a273905c75 all-singing, all-dancing iscissors. Now scan converts so you can actually
Tue Oct  5 14:02:07 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* app/iscissors.c: all-singing, all-dancing iscissors.  Now
	    scan converts so you can actually select stuff.  Doesn't leak
	    tiles either.  Still have a problem with occasional segfault
	    and CRITICAL assertion failing on addition of anchor when
	    curve not closed.
	* app/scan_convert.c: add connecting list between blocks of points
	    so we actually have a closed polygon.
	* app/tool_options.c: iscissors has just the standard feather and
	    antialias options now.
1999-10-05 18:05:34 +00:00
Manish Singh a3ef836860 libgimp/color_display.h add bpl param for convert func
* libgimp/color_display.h
* app/gdisplay.c: add bpl param for convert func

* gdisplay_color.c: guard against head and tail cases in reorders

* app/gdisplay_color_ui.c: expose_full on all actions, so there is
immediate feedback. Check for no selection and do nothing on actions

* app/path_tool.c: #warning is not portable; change to /* XXX: */

* modules/cdisplay_gamma.c: make it so it actually works properly

-Yosh
1999-10-05 02:16:59 +00:00
Manish Singh d0519fd33d use G_OS_WIN32 and G_HAVE_CYGWIN #defines
* app/app_procs.c
* app/gdisplay_color.[ch]
* app/gdisplay_color_ui.c: make the ui usable

* app/gdisplay.c: enable cdisplay support

* modules/Makefile.am
* modules/cdisplay_gamma.c: moved gamma functionality to separate

-Yosh
1999-10-04 19:26:07 +00:00
Michael Natterer a70b308815 made it a bit bigger and sprinkled some pixmaps.
1999-10-04  Michael Natterer  <mitch@gimp.org>

	* app/undo_history.c: made it a bit bigger and sprinkled some
	pixmaps.
1999-10-04 16:58:21 +00:00
Asbjørn Pettersen ab824abe69 Display ParseFunc table 1999-10-04 15:49:10 +00:00
Kelly Martin 8fd0791d89 don't update a tile's swap file position until the tile's actually been
* app/tile_swap.c (tile_swap_default_out): don't update a tile's swap
  file position until the tile's actually been successfully written
  out

* app/tile_cache.c (tile_cache_zorch_next): add test to make sure tile
  was successfully swapped out before dropping it from the cache

--klm
1999-10-04 15:31:14 +00:00
Asbjørn Pettersen 11e3f61b27 add ../gimpui.o,,, 1999-10-04 14:25:05 +00:00
Michael Natterer c57717bce1 one more help system update. 1999-10-04 10:02:46 +00:00
Michael Natterer 5a01821b1f EEEEEEEEEEK!!! 1999-10-04 08:40:33 +00:00
Manish Singh c4702f3d47 add scan_convert.[ch]
-Yosh
1999-10-04 06:48:24 +00:00
EDT 1999 Austin Donnelly 48c54f0f5a NEW FILES: app/scan_convert.c common code from free_select.c and
Mon Oct  4 01:46:46 EDT 1999  Austin Donnelly  <austin@gimp.org>

	NEW FILES:
	* app/scan_convert.c
	* app/scan_convert.h: common code from free_select.c and
	    bezier_select.c

	MODIFIED FILES:
	* app/disp_callbacks.c: Fix for bug #2517 - dragging colour swatch
	    to image with no layers causes segfault.  Something is
	    repainting empty images as white rather than chequerboard as
	    well, which still needs fixing.

	* app/free_select.c: move code out to scan_convert.c
	* app/free_select.h: use ScanConvertPoint not FreeSelectPoint
	* tools/pdbgen/pdb/tools.pdb: ScanConvertPoint again
	* app/tools_cmds.c: generated version of above.
1999-10-04 05:51:40 +00:00
Olof S Kylander 31d282ff25 app/color_cmds.c
1999-10-04 Olof S Kylander <olof@gimp.org>

        * app/color_cmds.c

        removed the bug fix for 2306 and 2208
        It is autogen code so ...
1999-10-04 02:17:56 +00:00
Sven Neumann 09cab0b18b This was an easy one.
--Sven
1999-10-04 02:00:33 +00:00
Olof S Kylander 69b11b7343 app/color_cmds.c
1999-10-04 Olof S Kylander <olof@gimp.org>

        * app/color_cmds.c

        fixed bug report 2306 and 2208
1999-10-04 01:49:07 +00:00
Sven Neumann cdc3f6e779 more export stuff
--Sven
1999-10-03 23:48:33 +00:00
Olof S Kylander 29d5575655 app/airbrush_blob.c * app/xinput_airbrush.c A bit better airbrush. It is
1999-10-03 Olof S Kylander <olof@frozenriver.com>
        * app/airbrush_blob.c         * app/xinput_airbrush.c
        A bit better airbrush. It is still ugly but it now
        looks like airbrush. This is a tool for Wacom
        tables it is no use to use it with a mouse.
1999-10-03 21:21:01 +00:00
Sven Neumann 2212b94fff Some updates for the Path-Tool.
Bye,
        Simon  (using Svens account)
1999-10-03 19:13:54 +00:00
Sven Neumann 6a19448d82 Undestructive File Export(TM)
--Sven

CVS ----------------------------------------------------------------------
1999-10-03 18:54:54 +00:00
Michael Natterer 3ed87f4aa4 app/fileops.c app/menus.[ch] app/menus.h show a help page for all menu
1999-10-03  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* app/menus.[ch]
	* app/menus.h
	* app/plug_in.c: show a help page for all menu entries registered
	by plugins.
	Changed menus_create() to menus_create_item_from_full_path() which
	takes a single GimpItemFactoryEntry instead of an array as
	parameter.
1999-10-03 16:54:17 +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
EDT 1999 Austin Donnelly 97140d8f15 Factored out common code from gimp_image_{raise,lower}_layer and
Fri Oct  1 19:05:04 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* app/gimpimage.c: Factored out common code from
	    gimp_image_{raise,lower}_layer and
	    gimp_image_{raise_layer_to_top,lower_layer_to_bottom}.  They
	    now call gimp_image_position_layer() to do the real work.
	* app/gimpimage.h: gimp_image_position_layer() takes extra arg to
	    tell whether an undo should be pushed.
	* app/layers_dialog.c: reposition layer with undo.
	* app/undo.c: new undo type for layer reposition.  Layer rename
	    shouldn't dirty and clean the image twice!
	* app/undo.h: prototype for undo_push_layer_reposition().
	* app/undo_types.h: LAYER_REPOSITION_UNDO type.
1999-10-01 23:13:13 +00:00
Austin Donnelly 4b4d3934db don't want sub-undo type undo_push_channel() takes ADD or REMOVE type
Fri Oct  1 15:18:34 1999  Austin Donnelly  <and1000@research.att.com>

	* app/channel.h: don't want sub-undo type
	* app/gimpimage.c: undo_push_channel() takes ADD or REMOVE type
	* app/undo.c: undo_push_channel() takes type.  More specific
	    CHANNEL_{ADD,REMOVE}_UNDO types.
	* app/undo.h: undo_push_channel() prototype.
	* app/undo_types.h: More specific CHANNEL_{ADD,REMOVE}_UNDO types.
1999-10-01 19:26:56 +00:00
Austin Donnelly 11409e97fb comment typo fix, plus add %D* to default image-title-format string, so
Fri Oct  1 12:46:12 1999  Austin Donnelly  <austin@gimp.org>

	* gimprc.in: comment typo fix, plus add %D* to default
	    image-title-format string, so people get a '*' in the titlebar
	    if their image is dirty.
	* app/fileops.c: initialise filename before using it.
	* app/gdisplay.c: empty parameter list () is K&R - should be
	    stronger (void) in ANSI C.
	* app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions
	    removed - no one uses them anyway.  Parasite undo type is
	    proper parasite undo type, not MISC_UNDO.
	* app/gimpdrawableP.h: drawable dirty bit removed.
	* app/gimpimage.c: don't change the resolution if there's no
	    difference from the old one.  Call gdisplay_shrink_wrap() to
	    re-calculate scale factors and refresh the display on
	    resolution change.  Layer undo doesn't have sub-types
	    anymore, uses main UndoType instead.
	* app/layer.h: Remove LayerUndoType
	* app/qmask.c: fix qmask undo so it actually works.
	* app/undo.h: new types for undo_push_layer{,_mask} and
	    undo_push_qmask.
	* app/undo.c: change way group boundaries are represented:
	    each Undo has a group_boundary boolean set to TRUE if this is
	    the start or the end of a group, and the type of the Undo is
	    the group's type.  Within a group, each Undo keeps its own
	    type.  This allows pop funcs and free funcs to do
	    type-specific things (eg needed by layer and channel stuff).
	    Don't maintain per-drawable dirty flags anymore.   Floating
	    sel to layer and layer rename now uses meaningful undo types.
	* app/undo_types.h: more specific undo types:
	    LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO,
	    LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO.
	* app/undo_history.c: oops - undo stack was being placed into gtk
	    list in wrong order.
	* app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO
	    rather than MISC_UNDO.
	* app/layers_dialog.c: better tagging of undo types
1999-10-01 18:43:24 +00:00
Asbjørn Pettersen cdf43f81f5 add parameter options 1999-10-01 15:16:15 +00:00
BST 1999 Andy Thomas ff8579eae4 app/paintbrush.c
Thu Sep 30 23:06:47 BST 1999 Andy Thomas <alt@gimp.org>

	* app/paintbrush.c

	Fixed problem with stroking with the paintbrush tool.
	Stroking paths with fade/gradients now works again.
1999-09-30 22:12:58 +00:00
Michael Natterer 064ed1754c "F1" for the indexed palette dialog.
1999-09-30  Michael Natterer  <mitch@gimp.org>

	* app/colormap_dialog.i.c: "F1" for the indexed palette dialog.
1999-09-30 11:20:08 +00:00
Michael Natterer 6afe31ff6a made the indentation consistent.
1999-09-30  Michael Natterer  <mitch@gimp.org>

	* app/gradient.c: made the indentation consistent.
1999-09-30 10:50:36 +00:00
Adam D. Moss 762a4cb35b very minor fix 1999-09-29 21:49:27 +00:00
BST 1999 Andy Thomas 2f392e82b4 app/colourmap_dialog.i.c app/gdisplay_ops.c app/palette.c
Wed Sep 29 21:56:52 BST 1999 Andy Thomas <alt@gimp.org>

	* app/colourmap_dialog.i.c
	* app/gdisplay_ops.c
	* app/palette.c

	1) Index palette dialog now registered so it gets hidden/shown when
	the "TAB key" is pressed in the canvas window.

	2) When the index palette is modified the changes are now shown
	immediately in all views.

	3) DND now works in the index palette.

	4) OK button when modifying a colour in the index palette
	dismisses the dialog correctly.

	5) DND in the colour palette viewer does not crash when no colours
	are selected.

	6) Corrected a problem with "New View". If your canvas is zoomed in
	and the image is offset in the display and a new view is requested
	the Canvas in the new view is corrupted. This bug is also in
	gimp 1.0.x
1999-09-29 21:18:23 +00:00
Sven Neumann c3a5070e5c undo for resolution and unit changes
--Sven
1999-09-29 16:44:52 +00:00
Asbjørn Pettersen c4606f7930 add parse_absolute_gimprc_file() 1999-09-28 15:02:04 +00:00
Asbjørn Pettersen 207bdfb851 skip parse_absolute_gimprc_file() 1999-09-28 15:00:43 +00:00
Asbjørn Pettersen 727142eb19 add o files 1999-09-28 14:59:54 +00:00
Manish Singh 0f9e2dcabd Ack. Stupid debug line.
-Yosh
1999-09-28 00:31:39 +00:00
Manish Singh dbc143a61e revert that last set_locale change, it was bogus
* app/main.c: revert that last set_locale change, it was bogus

* app/gdisplay.c: don't update menu sensitivities when flushing
immediately, so that painting isn't slowed by it

-Yosh
1999-09-27 22:12:44 +00:00
Michael Natterer 002aa905db app/Makefile.am app/gimphelp.[ch] new files
1999-09-27  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimphelp.[ch]
	* app/gimpui.[ch]: new files

	* app/interface.[ch]
	* app/preferences_dialog.[ch]

	The GIMP Help System part 1: Press "F1" in any dialog to pop up
	the help page for this dialog.

	Moved the widget constructors from preferences_dialog.[ch] and the
	query boxes from interface.[ch] to gimpui.[ch].

	The dialog constructors take a help_func and a help_data
	parameter and install the "F1" accelerator which emits the new
	"help" signal.

	The "help" signal callback calls help_func(help_data) which finally
	has to call gimp_help() which in turn invokes the help browser.

	Still have to find a proper way to (1) prevent "F1" being assigned
	to some menu item and (2) to catch "F1" while browsing the menu
	trees in order to pop up the help for the selected item.

	* app/menus.c: a <Toolbox>/File/Help... menu item.
	* app/commands.[ch]: a command callback for the "Help..." menu item.

	* app/gimprc.[ch]: new boolean gimprc variable "use_help".

	* app/info_dialog.[ch]: pass a help function and data to the info
	dialog constructor.

	* app/tools.[ch]: store the tools help page names in the tool info
	structure. Export a special tools_help_func() which shows the help
	page for the active tool.

	* app/[all files calling a dialog constructor]: pass the dialog's
	help page to the constructor.

	Most dialogs are now created by gimp_dialog_new() which also sets
	up the action_area and the WM delete event callback, so I removed
	the resp. code from these files.

	Fixed some minor bugs and did some other stuff but didn't change
	any logic except dialog creation.

	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
	help browser and don't install any menu path (all done in
	app/gimphelp.[ch] now).
1999-09-27 17:58:10 +00:00
Asbjørn Pettersen 46a53f0a7d add parse_add_directory_tokens() 1999-09-27 15:23:58 +00:00
Sven Neumann 1f103341c0 brush pipe animation in the brushes dialog too
--Sven
1999-09-26 21:16:37 +00:00
Sven Neumann 4695e3ae51 s/widget_draw/widget_queue_draw/
--Sven & Jtl
1999-09-26 11:35:01 +00:00
BST 1999 Adam D. Moss 62695195ae Fix bizarre typo and clean up a switch.
Sun Sep 26 10:56:26 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/plug-in.c: Fix bizarre typo and clean up a switch.
1999-09-26 09:57:32 +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 cd45f5d062 applied patches
--Sven
1999-09-26 04:53:59 +00:00
Sven Neumann ae743e3f17 Cleanups...
Shame on the one who decided it would be good idea to load pixmap brushes
as pipes, it destroys the whole purpose of the GIMP_IS_BRUSH_PIPE macro!!


--Sven & Jtl
1999-09-26 03:39:59 +00:00
Sven Neumann eba56bd1c3 animate brush_pipes in the popup; the brush_selector will have to follow
this example later....


--Sven & Jtl
1999-09-26 02:25:33 +00:00
Sven Neumann 933a5abd54 bug-fixing....
--Sven
1999-09-25 21:45:26 +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 03cc050dce gimprc unit test prog 1999-09-25 17:19:32 +00:00
Manish Singh d02f3bce77 moved the gtk_set_locale call to after it's been inited
* app/main.c: moved the gtk_set_locale call to after it's
been inited

* app/paint_core.h: set skip for ToolFlags

* app/procedural_db.h: don't skip PDB_TEMPORARY in PDBProcType

* libgimp/Makefile.am: don't install stdplugins-intl.h, that's
only for disted plugins

* libgimp/gimpenums.h: is now autogenned

* libgimp/gimpfeatures.h.in: #define for new enums

* libgimp/gimpintl.h: #include <locale.h>

* libgimp/stdplugins-intl.h: add include guards

* plug-ins/AlienMap2/Makefile.am: add INTLLIBS

* plug-ins/gflare/Makefile.am: removed unused libgimpui

* plug-ins/script-fu/script-fu-console.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-server.c: use stdplugins-intl.h

* plug-ins/sel2path/Makefile.am: removed unused libgck.la

* tools/pdbgen/Makefile.am: removed script-fu.pl, added enumcode.pl

* tools/pdbgen/lib.pl
* tools/pdbgen/enumcode.pl: enumcode.pl now autogenned gimpenums.h
as well as the script-fu stuff

-Yosh
1999-09-25 01:59:43 +00:00
Sven Neumann 5f6d9e9ac5 reenabled the line preview for the eraser tool
--Sven
1999-09-24 23:23:23 +00:00
BST 1999 Andy Thomas 8218e200c7 app/paths_dialog.c
Fri Sep 24 23:54:26 BST 1999 Andy Thomas <alt@gimp.org>

	* app/paths_dialog.c

	Applied patch from Garry R. Osgood. Fixes bug #2253.
	Thansk for the patch!
1999-09-24 23:01:10 +00:00
BST 1999 Andy Thomas ba5b191bae app/fileops.c
Fri Sep 24 22:22:43 BST 1999 Andy Thomas <alt@gimp.org>

	* app/fileops.c

	Fix for the preview/thumbnail interactions causing
	corruptions.
1999-09-24 21:39:06 +00:00
Sven Neumann fc44a95b00 gimprc updates
--Sven
1999-09-24 18:28:35 +00:00
Manish Singh 7d62a34eb4 app/channel.h app/gimpimage.h app/gimpimageP.h app/layer.h app/undo.[ch]
* app/channel.h
* app/gimpimage.h
* app/gimpimageP.h
* app/layer.h
* app/undo.[ch]
* app/undo_types.h: use proper naming convention for undo enums,
and hide them from the pdbgen stuff

* app/procedural_db.h: don't skip PDB_END

* app/undo_history.c: remove gccism from undo_history_append_special

* libgimp/gimpintl.h: INIT_LOCALE should be defined in all cases

* plug-ins/script-fu/Makefile.am: add script-fu-constants.[ch]

* plug-ins/script-fu/script-fu.c: use init_generated_constants

* plug-ins/script-fu/siod.h: #include <stdio.h> for FILE *

* tools/pdbgen/script-fu.pl: new file

* tools/pdbgen/Makefile.am: add rule for constant script-fu gen

* tools/pdbgen/enumgen.pl: add enum skip feature

* tools/pdbgen/lib.pl: use nicks for gimpenums.h

* tools/pdbgen/pdb/procedural_db.pdb: ignore PDB_END

-Yosh
1999-09-23 23:42:38 +00:00
Zach Beane 6f022ac3bc Check the prefs for trust_dirty_flag; if we don't trust it, save no
matter what.
1999-09-23 20:34:30 +00:00
Zach Beane 51d6de9b6b Added trust_dirty_flag preference option. 1999-09-23 20:21:15 +00:00
Sven Neumann ba211f07f2 i18n patch from Daniel Egger
--Sven
1999-09-23 11:49:16 +00:00
Asbjørn Pettersen 9e908f7e11 skip CVS warning 1999-09-22 15:47:53 +00:00
Asbjørn Pettersen e4a418edba what to do 1999-09-22 15:47:33 +00:00
Asbjørn Pettersen 94cef2f47c os2 patches 1999-09-22 15:47:19 +00:00
Zach Beane ca29a71c71 Reverted the patch I applied to fix the SOTA-Chrome bug. Yosh says he
will add a new GUINT8ARRAY type to the PDB to fix this the right way.
1999-09-21 18:53:32 +00:00
Asbjørn Pettersen ed8eeb6d36 add plugdir program 1999-09-21 11:04:37 +00:00
Asbjørn Pettersen 18c835892d add gimp_system_rc_file() 1999-09-21 11:03:13 +00:00
Sven Neumann 8c404ed3e6 do the box thing!
--Sven
1999-09-21 09:11:42 +00:00
Sven Neumann 9ee9939102 made the creation of guides undoable
--Sven
1999-09-20 21:08:53 +00:00
EDT 1999 Austin Donnelly bf8db4adc8 Honest, guv, it's not a feature - it's a tightly integrated package of
Mon Sep 20 12:51:30 EDT 1999  Austin Donnelly  <austin@gimp.org>

	Honest, guv, it's not a feature - it's a tightly integrated
	package of undo system cleanups and fixes.

	NEW FILES:
	* app/undo_history.c: window showing recent undo (and redo) steps
	    available.
	* app/undo_types.h: broken out of undo.h to fix circular includes.

	MODIFIED FILES:
	* app/Makefile.am: compile undo_history.c
	* app/channel.h: use enum for channel undo type, not just magic
	    numbers.
	* app/layer.h: same for layer undos.
	* app/commands.c: edit_show_undo_history_cmd_callback() function to
	    pull up undo history window.
	* app/commands.h: prototype for above.
	* app/gdisplay.c: make undo / redo menu items sensitive according
	    to whether they would do anything.  Would be easy to change
	    the text to say what would be undone/redone, but I don't know
	    the GTK.
	* app/gimpimage.c: new signal emitted by gimage:
	    UNDO_EVENT. gimp_image_undo_event() function to emit it.
	* app/gimpimage.h: prototype for above.
	* app/gimpimageP.h: pushing_undo_group member is now an undo_type,
	    not an int.  Keep undo history widget here too (if created).
	* app/menus.c: add "Edit/Undo history..." to image menu.
	* app/undo.c: new types: enums undo_type and undo_state rather than
	    ints and magic numbers.  All undo_pop_* and undo_free_*
	    functions made static.  New static function
	    undo_type_to_name().  Issue undo event signals on various
	    important events (eg undo pushed, undo popped etc).
	    undo_push() now takes a "dirties_image" arg to say whether
	    image should be dirtied.  Layer moves now dirty the image.  A
	    couple of g_return_if_fails () on undo_pop and undo_redo to
	    assert we're not in the middle of an undo group.
	    undo_get_{undo,redo}_name() to peek at names of top items on
	    undo and redo stacks resp.   undo_map_over_{undo,redo}_stack()
	    to run a function for each item or group on stack.  Layer and
	    channel undos use symbolic names rather than 0 or 1.  Array
	    mapping undo types to names.
	* app/undo.h: split out undo types to undo_types.h.  Prototypes
	    for functions described above.  undo_event_t enum.
	    undo_history_new() prototype lives here too.

	Random other fixes:
	* app/gimpdrawable.c
	* app/image_render.c: default labels in switches to keep egcs happy.

	* app/nav_window.c: some fixes to (sort of) cope with image res !=
	    screen res.  Still needs work to handle non-square pixels
	    properly.

	* app/paths_dialog.c: bad idea to call gimp_image_dirty()
	    directly.  Even though it's currently commented out.
1999-09-20 17:15:20 +00:00
Asbjørn Pettersen dae8fd9d6d first unit test programs 1999-09-20 16:33:43 +00:00
Zach Beane cae6615147 Applied patch from _tom_@sf.airnet.ne.jp in bug #2208, this fixes #2208
* app/color_cmds.c: Applied patch from _tom_@sf.airnet.ne.jp in
        bug #2208, this fixes #2208 and #2157.
1999-09-16 16:37:38 +00:00
Manish Singh fa39134a36 use a temp var for xoring pointers
-Yosh
1999-09-15 18:12:14 +00:00
Sven Neumann e56ff58b04 applied a patch from Simon.
--Sven
1999-09-15 10:54: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 d86bcdf9a4 use break; instead of compiler barfing goto and label: } construct
* app/convert.c: use break; instead of compiler barfing goto and
label: } construct

-Yosh
1999-09-14 20:02:23 +00:00
Manish Singh 049877f03f plug-ins/sel2path/global.h plug-ins/sel2path/math.c s/acosd/my_acosd/
* plug-ins/sel2path/global.h
* plug-ins/sel2path/math.c
* plug-ins/sel2path/vector.c: s/acosd/my_acosd/ since some platforms
seem to have this function in the native libm

* plug-ins/script-fu/scripts/xach-effect.scm: remove stale debugging
line

* app/guides_cmds.c
* app/tools_cmds.c: changes from below

-Yosh
1999-09-14 19:44:51 +00:00
Manish Singh c36d8e2b3b -export-symbols only works with -export-dynamic, so add it.
* app/Makefile.am: -export-symbols only works with -export-dynamic, so add it.

* plug-ins/gimpressionist/preview.c: dictch naughty // comment

-Yosh
1999-09-13 22:31:07 +00:00
Sven Neumann 5a8eb56643 bug-fixing...
--Sven
1999-09-13 11:03:37 +00:00
Manish Singh 3ce38aa009 another XachPatch (TM) to fix revert and urls
-Yosh
1999-09-11 23:45:57 +00:00
BST 1999 Andy Thomas d045b9667a app/nav_window.c app/floating_sel.c
Sat Sep 11 22:45:12 BST 1999 Andy Thomas <alt@gimp.org>

	* app/nav_window.c
	* app/floating_sel.c

	Hopefully fix for nav_popup when using tablets.
	Also applied the patch supplied by Garry R. Osgood. Thanks.
1999-09-11 21:51:08 +00:00
Manish Singh 1d68203653 add cursors/badmsk and pixmaps/navbutton.xpm
* Makefile.am: add cursors/badmsk and pixmaps/navbutton.xpm

* app/Makefile.am: add apptypes.h, gimpbrushpipeP.h, and
colormap_dialog.i.c

* libgimp/parasiteio.c: #include <stdlib.h>

* plug-ins/imagemap/Makefile.am: add *.h

-Yosh
1999-09-11 19:33:33 +00:00
Kelly Martin 9cd019f139 Applied a patch offered by Zach Beane to close bug #2145. 1999-09-11 17:26:05 +00:00
BST 1999 Andy Thomas d866698eb3 app/palette.c
Sat Sep 11 17:46:37 BST 1999 Andy Thomas <alt@gimp.org>

	* app/palette.c

	When resizing the dialog it now fills with colours (as expected).
1999-09-11 16:55:40 +00:00
EDT 1999 Adrian Likins 2ed3a56155 Make gradient brushes work again.
Fri Sep 10 00:18:17 EDT 1999 Adrian Likins <adrian@gimp.org>

        * app/paintbrush.c:  Make gradient brushes work again.
1999-09-10 04:21:00 +00:00
Tomas Ogren d8498e3087 Add the path_tool* here, makes gimp compile
1999-09-09  Tomas Ogren  <stric@ing.umu.se>

        * app/Makefile.am: Add the path_tool* here, makes gimp compile
1999-09-09 19:58:41 +00:00
Sven Neumann 831b75e301 Correct scaling of brush pipes and pixmap brushes.
--Sven
1999-09-09 19:11:38 +00:00
Sven Neumann d21d00be23 Yet another new tool...
--Sven
1999-09-09 17:21:06 +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
Sven Neumann 181c66985a Sorry for breaking the freeze, but I had these almost ready for weeks now...
--Sven
1999-09-09 01:47:54 +00:00
Sven Neumann 1f90bbd251 Correct the bug in gimage_mask_border_callback () that was reported on the
list yesterday.


--Sven
1999-09-07 10:58:20 +00:00
Olof S Kylander/GIMP 44d41b19b5 Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00
Olof S Kylander/GIMP f58c6dcc55 Okay I have committed the ugly airbrush now. 1999-09-07 01:24:50 +00:00
Sven Neumann 846d480ca3 igittigittigitt
--Sven
1999-09-07 00:14:49 +00:00
Sven Neumann a07532d955 return FALSE in event_handlers so you use the preview_widget in a button
--Sven
1999-09-07 00:07:05 +00:00
Sven Neumann 6ca8158aeb More nerds and a fairer shuffle algorithm.
--Sven
1999-09-06 18:59:45 +00:00
Olof S Kylander/GIMP 7110c063e1 Fixed a cut&paste error it the radius check code
Fixed a cut&paste error it the radius check code
1999-09-06 01:15:44 +00:00
Tomas Ogren c9c420f1cf app/disp_callbacks.c app/gdisplay_color.c app/image_new.c i18n fixes.
1999-09-06  Tomas Ogren  <stric@ing.umu.se>

* app/disp_callbacks.c app/gdisplay_color.c app/image_new.c
* app/info_dialog.c app/nav_window.c app/qmask.c app/undo.c:
i18n fixes.
1999-09-06 00:07:03 +00:00
Sven Neumann 34b6cabd7a more dnd
--Sven
1999-09-05 12:45:17 +00:00
Sven Neumann 7272a2142c made dnd work for brushes and patterns.
--Sven
1999-09-05 10:45:07 +00:00
BST 1999 Andy Thomas 56f506a780 app/gdisplay.c app/gdisplay.h app/gimprc.h app/gimprc.c app/nav_window.c
Sat Sep  4 23:21:10 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gdisplay.c
	* app/gdisplay.h
	* app/gimprc.h
	* app/gimprc.c
	* app/nav_window.c
	* app/nav_window.h
	* app/preferences_dialog.c

	The nav preview size can now be configured. The size applies
	to both the "popup" and dialog window.
1999-09-04 22:27:20 +00:00
Olof S Kylander/GIMP f09e4fa19d Fix of very stupid mis of ending */
Fix of very stupid mis of ending */
1999-09-04 18:37:42 +00:00
Olof S Kylander/GIMP ce5ae4edf2 fix of ifdef in paint_core.c
fix of ifdef in paint_core.c
1999-09-04 17:56:22 +00:00
Sven Neumann 3c01cfd5c0 more dnd
--Sven
1999-09-04 14:56:50 +00:00
Olof S Kylander/GIMP 0f1da4281d Added support for Gtk+ xinput-wheel if we have applied the patch enabling
Added support for Gtk+ xinput-wheel if we have applied the patch enabling it
in Gtk+.
1999-09-04 14:42:43 +00:00
Manish Singh adfadca186 gle sync
-Yosh
1999-09-04 06:29:10 +00:00
Sven Neumann fb8c1d4db4 color dnd
--Sven
1999-09-04 03:36:54 +00:00
Tomas Ogren be4bec7e04 setlocale (LC_NUMERIC, "C") after gtk_init because gtk_init zaps previous
1999-09-04  Tomas Ogren  <stric@ing.umu.se>

* app/main.c: setlocale (LC_NUMERIC, "C")  after gtk_init because
gtk_init zaps previous settings
1999-09-04 01:43:50 +00:00
BST 1999 Andy Thomas eff3e1b8ce app/curves.c app/curves.h
Fri Sep  3 22:52:26 BST 1999 Andy Thomas <alt@gimp.org>

	* app/curves.c
	* app/curves.h

	Added indicators (x,y of mouse & x for the line) to the curves
	dialog.
1999-09-03 21:58:41 +00:00
Manish Singh c6a9919e39 new vwrapbox stuff
* app/gtkvwrapbox.[ch]: new vwrapbox stuff

* app/Makefile.am: added new files

* app/interface.c: place the indicator areas in a vwrapbox. Still
kinda screwy tho.

-Yosh
1999-09-03 00:15:11 +00:00
Sven Neumann 98d58ec1ef forgot the initialize pixmap_buf when the brush is not scaled
--Sven
1999-09-02 21:00:41 +00:00
Tor Lillqvist 5e0093547e Accept what g_strescape throws at us (specifically, octal sequences that
1999-09-02  Tor Lillqvist  <tml@iki.fi>

* plug-ins/script-fu/interp_sliba.c (lreadstring): Accept what
g_strescape throws at us (specifically, octal sequences that start
with any octal digit, and are at most three octal digits long).

* app/makefile.{cygwin,msc}: Update.
1999-09-02 20:54:07 +00:00
Manish Singh 52b5222052 app/gtkhwrapbox.[ch] sync from gle
* app/gtkhwrapbox.[ch]
* app/gtkwrapbox.[ch]: sync from gle

* app/inteface.c: set allow_shrink on the toolbox window, use
gtk_hwrap_box_new

* app/blend.c: use shift to constrain to 45 deg: XachCode (tm)

-Yosh
1999-09-02 18:56:39 +00:00
Sven Neumann 42b6faccc0 I decided not to try to rewrite the brush_select dialog to make use of
the new preview widgets. This means code_duplication, but I don't want to
spend the whole weekend on this...


--Sven
1999-09-02 17:27:28 +00:00
Sven Neumann c73db058f3 closed the bug Xach reported on the list and made the previews correctly
update itself if brush/gradient changes.


--Sven
1999-09-02 14:46:58 +00:00
jaycox 2b5130f08a free the brush dialog before freeing the brushes.
* app/app_procs.c: free the brush dialog before freeing the brushes.

	* app/blend.c, app/bucket_fill.c: don't include brush_select.h

	* app/brush_select.[ch]: add the ability to delete generated brushes.

	* app/gimpbrushgenerated.c: save the brush parameters on seperate lines.

	* app/gimpbrushlist.c: make sure we don't overwrite other brush
	files when saving newly created brushes.
1999-09-02 09:20:48 +00:00
Manish Singh 9fb081a7e6 add gimpmath.h
* libgimp/Makefile.am: add gimpmath.h

* app/gtkwrapbox.[ch]
* app/gtkhwrapbox.[ch]: wrapbox widget from gle

* app/Makefile.am: added those files

* app/interface.c: use an hwrapbox for the toolbar. Still not perfect
yet, working on it.

* app/gimpdrawable.c
* app/about_dialog.c
* app/airbrush.c
* app/blend.c: some minor code cleanup

-Yosh
1999-09-02 01:41:18 +00:00
Tor Lillqvist 388199215e Make also the non-gui paintbrush (called when stroking a path) handle
1999-09-02  Tor Lillqvist  <tml@iki.fi>

* app/paintbrush.c (paintbrush_non_gui_default,
paintbrush_non_gui): Make also the non-gui paintbrush (called when
stroking a path) handle changing brushes, i.e. pixmap brush pipes.
1999-09-02 00:17:25 +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
BST 1999 Andy Thomas f380edd704 app/gdisplay.c app/gdisplay.h app/interface.c app/nav_window.c
Wed Sep  1 23:18:21 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gdisplay.c
	* app/gdisplay.h
	* app/interface.c
	* app/nav_window.c
	* app/nav_window.h
	* pixmap/navbutton.xpm (new)

	New popup navigation window. press the icon that appears in
	the bottom right-hand corner of the image display. A navigation
	window will appear that will allow you to scroll around the image if
	the area shown is smaller than the overall image size. Thanks to tml
        for the idea.
1999-09-01 22:39:44 +00:00
BST 1999 Adam D. Moss f4f0932dfd app/gradient.c app/color_transfer.c app/free_select.c app/lut_funcs.c
Wed Sep  1 22:28:09 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/gradient.c
	* app/color_transfer.c
	* app/free_select.c
	* app/lut_funcs.c
	* app/blob.c: s/#include <math.h>/#include "libgimp/gimpmath.h"/
1999-09-01 21:31:55 +00:00
Adam D. Moss a437ece36f ed Sep 1 21:27:27 BST 1999 Adam D. Moss <adam@gimp.org>
* app/convert.c app/convert.h:
        Optional low-bleed FS dithering

        * app/fsdither.h: Tables are const

        * app/convert_cmds.c app/internal_procs.c tools/pdbgen/enums.pl
        tools/pdbgen/pdb/convert.pdb:
        Clean up 'convert' PDB interface cruft.
1999-09-01 20:41:10 +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 28449546ae finally found that bug that annoyed me to death at the camp
--Sven
1999-09-01 20:16:18 +00:00
Sven Neumann 1cf2e5c12b tools/pdbgen/pdb/fileops.pdb applied the patch from Wolfgang Hofer that
* tools/pdbgen/pdb/fileops.pdb
        * app/fileops_cmds.c: applied the patch from Wolfgang Hofer that
        should fix the problems saving jpeg with GAP.

        * app/paint_core.[ch]: preview length of brush-stroke in statusbar
        when drawing a line using <Shift>. Do we need the angle here too??


--Sven
1999-09-01 18:46:25 +00:00
Sven Neumann cfc62108b0 added gradient preview to the toolbox.
--Sven
1999-09-01 11:29:39 +00:00
Manish Singh 6320f26fb9 no leading underscore for S_IFOO constants
-Yosh
1999-09-01 06:15:59 +00:00
EDT 1999 Adrian Likins 5e64804c4b app/gimpbrushpip.[ch] app/airbrush.c app/pencil.c fix pencil tool for use
Wed Sep  1 00:56:37 EDT 1999 Adrian Likins <adrian@gimp.org>

        * app/gimpbrushpip.[ch]
        * app/airbrush.c
        * app/pencil.c
        * app/paintbrush.c: fix pencil tool for use with
           pixmaps again
1999-09-01 06:02:08 +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
Sven Neumann 9f84f50d1c merged brush_preview and pattern_preview into one more generic widget
--Sven
1999-09-01 00:12:33 +00:00
BST 1999 Adam D. Moss d6329d9417 app/convert.[ch] app/convert_cmds.c app/internal_procs.c
Tue Aug 31 22:25:38 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/convert.[ch]
	* app/convert_cmds.c
	* app/internal_procs.c
	* tools/pdbgen/enums.pl
	* tools/pdbgen/pdb/convert.pdb: Added convert_indexed2
	procedure to expose new RGB/GREY->Indexed functionality.
1999-08-31 21:26:34 +00:00
Manish Singh 35abfd517f Files I should have commited yesterday
-Yosh
1999-08-31 17:53:26 +00:00
Tor Lillqvist c056ca170a Add gdisplay_color_ui.[ch].
* app/makefile.{cygwin,msc}: Add gdisplay_color_ui.[ch].
1999-08-31 17:03:34 +00:00
Sven Neumann f7e80423af sanity check in popup_open()
--Sven
1999-08-31 09:19:13 +00:00
EDT 1999 Adrian Likins 99f35577ea add a "Use Pressure" check button to the options so that pressure
Tue Aug 31 01:13:13 EDT 1999 Adrian Likins <alikins@redhat.com>

        * app/pencil.c: add a "Use Pressure" check button to the options
        so that pressure sensitivy can be disabled. Suggested by
        Tuomas Kuosmanen  <tigert@gimp.org>.
1999-08-31 06:13:30 +00:00
Manish Singh e3004838f4 unlame
-Yosh
1999-08-31 03:43:02 +00:00
Manish Singh 3e06b10be5 actually add files
-Yosh
1999-08-31 03:41:55 +00:00
Manish Singh 32772963f1 app/apptypes.h removed trailing enum commas
* app/apptypes.h
* app/pathsP.h: removed trailing enum commas

* app/gdisplay_color.[ch]: added a foreach function to iterate
over the display filter names

* app/gdisplay_color_ui.[ch]: display filter ui stuff (doesn't do
much yet ;)

* app/commands.[ch]
* app/menus.c: hooked the above into the menu system

* app/Makefile.am: added new files

* plug-ins/gimpressionist/preview.c: removed bogus // comment

-Yosh
1999-08-31 02:00:34 +00:00
Tor Lillqvist 26b70edddf Add a new method, gboolean want_null_motion(), that tells if the brush
1999-08-30  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrush.h (GimpBrushClass): Add a new method, gboolean
want_null_motion(), that tells if the brush wants to be painted
when we don't know the direction yet. This is needed (so far) by
brush pipes that select the brush based on direction.

* app/gimpbrush.c: Implement above method returning always TRUE.

* app/gimpbrushpipe.c: Here, implement it returning FALSE or TRUE
on whether the brush pipe has any angular (direction) dependent
dimension or not.

* app/paint_core.c (paint_core_button_press): Call the method
if current point == last point.
1999-08-30 21:24:13 +00:00
Tor Lillqvist c2ef7d787a Save the name on a line of its own as it can contain spaces. Print spaces
1999-08-30  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrushgenerated.c (gimp_brush_generated_save): Save the
name on a line of its own as it can contain spaces. Print spaces
between the floating-point values. (gimp_brush_generated_load)
Corrspondingly, read the name from a line of its own.

* app/gimpbrushlist.c (brushes_free): Portability fixes. Use
g_strconcat. Free allocated strings.
1999-08-30 20:42:34 +00:00
MEST 1999 Sven Neumann 04cfec7586 use the new [gimp|pattern]_preview_widgets.
Mon Aug 30 22:15:29 MEST 1999  Sven Neumann <sven@gimp.org>

        * app/devices.c: use the new [gimp|pattern]_preview_widgets.

        * plug-ins/xjt/xjt.c: correct a gccism


--Sven
1999-08-30 20:14:49 +00:00
jaycox 859481e573 Allow the user to change a brush's name.
* app/brush_edit.[ch]: Allow the user to change a brush's name.

	* app/gimpbrushlist.[ch] * app/gimprc.[ch]: ported Calvin
	Williamson's brush saving code from the hollywood branch.

	* app/preferences_dialog.c:  add the brush_vbr_path

	* data/brushes/round1.vbr: removed.  You should remove this file
	from your system if you have installed previous versions.
1999-08-30 10:51:01 +00:00
BST 1999 Adam D. Moss d0127d1809 *->I: Deterministic colour dithering to arbitrary palettes. Ideal for
Sun Aug 29 17:54:58 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/convert.c: *->I: Deterministic colour dithering
	to arbitrary palettes.  Ideal for animations that are
	going to be delta-optimized or simply don't want to look
	'busy' in static areas.  Also a bunch of bugfixes and tweaks.
	No PDB interface to the new features yet, although a
	convert_image2() is ready and waiting.
1999-08-29 16:54:39 +00:00
BST 1999 Adam D. Moss b2ffe7e026 app/convert.h *->I: Deterministic alpha dithering over layers, reduced
Sun Aug 29 00:40:20 BST 1999 Adam D. Moss <adam@gimp.org>

        * app/convert.h
        * app/convert.c: *->I: Deterministic alpha dithering over layers,
        reduced bleeding of transparent values into opaque values, added
        optional stage to remove duplicate or unused colour entries from final
        colourmap.
1999-08-28 23:40:35 +00:00
Manish Singh 895b0e520c added framework for having multiple simultaneous displays
-Yosh
1999-08-28 22:40:37 +00:00
Manish Singh 287fd04b10 don't check name for NULL and fail
-Yosh
1999-08-28 17:55:47 +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
Tor Lillqvist 34f76ba34a In the case of angular selection, offset angle with G_PI/2 to be
1999-08-28  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrushpipe.c (gimp_brush_pixmap_select_brush): In the
case of angular selection, offset angle with G_PI/2 to be
compatible with PSP tubes. Restrict the index of each dimension
separately to the appropriate range.

* plug-ins/common/gpb.c (gih_save_dialog): Must not free the combo
box string list, the strings are not strdup'ed by the combo box.
1999-08-28 11:23:58 +00:00
Manish Singh 7507488243 more work on the gamma correction stuff
-Yosh
1999-08-28 01:17:11 +00:00
Tor Lillqvist 70fca093f3 Implement the selection of brush based on cursor direction, pressure,
1999-08-28  Tor Lillqvist  <tml@iki.fi>

* app/gimpbrushpipe.c: Implement the selection of brush based on
cursor direction, pressure, tilt, or a random value. (Hmm, forgot
velocity, later.) (In addition to just incrementally stepping.)
Read the brush pipe parameters from the gih file's second line.
There is no way to tune the parameters in the GIMP, they must
currently be set when saving the gih file (in the gpb plug-in).

* app/gimpbrushpipe.h
* app/gimpbrushpipeP.h: Move the PipeSelectModes enum to the
"private" header. Add a stride array to GimpBrushPipe to make
indexing easier.

* plug-ins/common/gpb.c: Add selection mode fields to the dialog.
Attach the pipe parameters entered as a parasite, too.

* docs/parasites.txt
* plug-ins/common/psp.c: Use "placement", not "spacing" (which
means another thing).
1999-08-28 01:14:42 +00:00
Manish Singh b3fdade3a4 added a header to the file format
-Yosh
1999-08-27 22:02:18 +00:00
Manish Singh 4a9ae94655 user_install added gimpressionist, levels, and curves dirs
* user_install
* user_install.bat: added gimpressionist, levels, and curves dirs

* app/color_panel.c
* app/color_select.c
* app/colormaps.[ch]
* app/palette.c
* app/selection.c: remove vestigal colormap code; use get_color
directly now

* libgimp/color_display.h
* app/gdisplay_color.c: bugfixes, added state load/save hooks,
redid the interface to work on blocks, removed dummy default
handler, work on gamma correction stuff

* app/gimpbrushpipe.c: #include <stdlib.h>

* app/gximage.c: minor cleanups

* app/levels.c: default to ~/.gimp-1.1/levels for load/save; minor
gui prettification

* app/main.c
* app/menus.c: plug-in menu translation patch from SHIRASAKI Yasuhiro
<yasuhiro@awa.tohoku.ac.jp>

* libgimp/stdplugins-intl.h: add INIT_I18N_UI() for calling
gtk_set_locale()

* plug-ins/Lighting/lightin_main.c: use INIT_I18N_UI()

-Yosh
1999-08-27 21:06:00 +00:00
BST 1999 Andy Thomas df7ad092f4 app/nav_window.c app/nav_window.h app/gimppreviewcache.h app/layer.c
Fri Aug 27 18:57:50 BST 1999 Andy Thomas <alt@gimp.org>

	* app/nav_window.c
	* app/nav_window.h
	* app/gimppreviewcache.h
	* app/layer.c
	* app/channel.c
	* app/commands.c

	Added some controls to the nav window. Yep. I know that the
	buttons are toooo biGGG.

	Preview cache changes. Now prime preview cache with a image
	so that later we have a better chance of a hit. Still
	needs to be more intelligent at doing this (needs to pick largest
	out of the cache & use its size as the size to prime with).
1999-08-27 19:07:21 +00:00
EDT 1999 Adrian Likins 1d7e543d31 paint_line_pixmap_mask, finally composite alpha correctly, or at least
Fri Aug 27 02:16:02 EDT 1999 Adrian Likins <alikins@redhat.com>

        * app/gimpbrushpipe.c: paint_line_pixmap_mask, finally
        composite alpha correctly, or at least closer. Should
        get rid of those annoying artifacts.
1999-08-27 07:15:51 +00:00
Manish Singh 7c4471b764 use AM_CPPFLAGS instead of CPPFLAGS
* libgimp/Makefile.am: use AM_CPPFLAGS instead of CPPFLAGS

* app/levels.c: added some basic load/save functionality to the levels
tool. Still needs some polishing.

-Yosh
1999-08-27 00:19:25 +00:00
Tor Lillqvist 19d47775a3 Add Acquire under the File menu.
1999-08-27  Tor Lillqvist  <tml@iki.fi>

* app/menus.c: Add Acquire under the File menu.

* plug-ins/twain: New (Windows-only) plug-in. Interface to TWAIN
image sources. Written by Craig Setera.

* plug-ins/Makefile.am: Add twain sources to EXTRA_DIST.

* plug-ins/makefile.{cygwin,msc}: Move gimpressionist and twain
around as they are in this directory now.

* plug-ins/common/screenshot.c
* plug-ins/winsnap/winsnap.c
* plug-ins/twain/twain.c: Put them under File/Acquire.
1999-08-26 23:49:39 +00:00
Tomas Ogren 43aa113acc i18n fixes and added a missing \n...
1999-08-27  Tomas Ogren  <stric@ing.umu.se>

* app/convert.c app/paint_funcs.c app/paths_dialog.c:
i18n fixes and added a missing \n...
1999-08-26 23:16:24 +00:00
Tor Lillqvist 387002c04b Add a flags field and corresponding type ToolFlags to PaintCore. The only
1999-08-27  Tor Lillqvist  <tml@iki.fi>

* app/paint_core.h: Add a flags field and corresponding type
ToolFlags to PaintCore. The only flag bit defined so far is
TOOL_CAN_HANDLE_CHANGING_BRUSH, which those tools who don't mind
if the brush changes while painting (as in the case of pixmap pipe
brushes).

* app/paint_core.c: Test above flag before calling the brush's
select_brush method.

* app/airbrush.c
* app/paintbrush.c
* app/pencil.c: Set above flag.

* app/makefile.{cygwin,msc}: Add latest additions.
1999-08-26 21:33:58 +00:00
Manish Singh f70e9a6aab #include gimpbrushpipe.h and gimpbrushpipeP.h instead of gimpbrushpixmap.h
-Yosh
1999-08-26 21:18:57 +00:00
Sven Neumann b62419a60a new widgets for brush and pattern preview
--Sven
1999-08-26 20:11:36 +00:00
CDT 1999 Shawn T. Amundson c6eec63232 Added new files, the UI independant part of new image dialog.
Wed Aug 25 02:40:39 CDT 1999 Shawn T. Amundson <amundson@gimp.org>

        * app/image_new.[ch]: Added new files, the UI independant part of
          new image dialog.

        * app/file_new_dialog.[ch]: uses image_new stuff now.  Alot
          changed.  No UI changed.  Different behavior is a bug, as
          this is only for UI separation.

        * app/gimpimage.[ch]: Added gimp_image_get_width () and
          gimp_image_get_height ().

        * app/global_edit.c: Call a function in image_new instead of
          file_new_dialog for updating the status of the cut buffe.
1999-08-26 04:39:21 +00:00
Tor Lillqvist 6dae68bd8c New file.
* app/gimpbrushpipeP.h: New file.
1999-08-26 01:00:27 +00:00
Tor Lillqvist 1d7590123c Remove these files as I said. 1999-08-26 00:56:12 +00:00
Tor Lillqvist 868bdfff44 Overhaul of pixmap brushes and pipes: No separate pixmap pipe
brush tool any longer. The paintbrush, airbrush and pencil
tools, which already knew how to handle the single-pixmap
brushes now also handle the pipes as well.

* app/pixmapbrush.{h,c}
* app/gimpbrushpixmap.{h,c}: Removed these files.

* app/Makefile.am
* app/makefile.{cygwin,msc}: Remove from here, too.

* app/gimpbrushpipe.{h,c}: Total overhaul.

* app/paint_core.h
* app/apptypes.h: Some more types moved to apptypes.h

* app/context_manager.c
* app/tool_options.c
* app/tools.c
* app/toolsF.h: Remove PIXMAPBRUSH tool.

* app/gimpbrush.h: New method: select_brush. Used to change the
brush in paint_core, for pipe brushes.

* app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
the normal brushes (returns the same brush).

* app/paint_core.c: Call the brush's select_brush method to get a
potential new brush before calling the paint_func.

* app/gimpbrushlist.c: Various changes related to the pixmap and
pipe overhaul.

* app/airbrush.c
* app/pencil.c: Reorder code a bit in the tool motion function to
avoid executing unnecessary code in the case of a pixmap brush.

Other changes in the same commit:

* app/install.c: Make quote_spaces extern.

* app/appenv.h: Declare it.

* libgimp/gimpui.def: Add missing entry points.

* libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
1999-08-26 00:54:30 +00:00
Tomas Ogren 2fcba57836 Put the list above the description instead of to the left in the module
1999-08-26  Tomas Ogren  <stric@ing.umu.se>

* app/module_db.c: Put the list above the description instead of
to the left in the module browser. Fits much better on the screen and
looks better.
1999-08-25 23:33:15 +00:00
Tomas Ogren 8150ec963e i18n fix
1999-08-26  Tomas Ogren  <stric@ing.umu.se>

* app/info_window.c: i18n fix
1999-08-25 22:51:44 +00:00
Manish Singh 93413604a1 more i18n fixes (missed a patch from before)
* app/gdisplay.c: more i18n fixes (missed a patch from before)

* plug-ins/common/plugin-defs.pl
* plug-ins/common/Makefile.am: added gpb

-Yosh
1999-08-25 19:18:41 +00:00
BST 1999 Andy Thomas 74f4666495 app/nav_window.c
Tue Aug 24 22:50:28 BST 1999 Andy Thomas <alt@gimp.org>

	* app/nav_window.c

	Preview now updated when image is modified. Done on a two second +
	idle timer. However the preview cache needs modifying since
	the tiles are transversed twice. Once for small previews then for
	larger ones. Should only be done once.
1999-08-24 21:59:32 +00:00
Manish Singh 3423edf7eb big i18n fix patch from SHIRASAKI Yasuhiro <yasuhiro@awa.tohoku.ac.jp>. Fixes
those pesky menu problems

-Yosh
1999-08-24 19:57:55 +00:00
jaycox 25271d187e fixed bug in scale_region that caused what looks like scan line swapping.
* app/paint_funcs.c: fixed bug in scale_region that caused what
	looks like scan line swapping.
1999-08-24 05:55:01 +00:00
Tor Lillqvist 416aa56f19 Added saving of .gih files.
1999-08-24  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/gpb.c: Added saving of .gih files.

* plug-ins/common/psp.c: Small changes, renamed the parasite.

* docs/parasites.txt: Suggesta a parasite for pixmap brush pipes.

* docs/gih.txt: Add the above parasite on the second line after
the number of brushes. Suggest how to edit brush pipes.

* docs/gpb.txt: Mention the gpb plug-in.

* app/pixmapbrush.c: Small clarification.

Fixes by Hans Breuer:

* libgimp/gimp.def: Add missing entries.

* app/gimpimage.h: Added declaration of	gimp_image_{freeze,thaw}_undo.

* modules/makefile.msc: Drop the .msvc from dll names.

* plug-ins/common/jpeg.c: Guard inclusion of
unistd.h. (save_dialog): Restrict text box height to help people
with small displays.
1999-08-24 05:30:14 +00:00
Michael Natterer 766e1483fa ooops 1999-08-24 02:55:59 +00:00
Michael Natterer ed7da92952 new function color_panel_set_color().
1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/color_panel.[ch]: new function color_panel_set_color().

	* app/color_picker.c: added a color panel to the color picker info
	dialog and a toggle button to the color picker's tool options
	which allows color updates to be effective in the info dialog
	only.

	* app/info_dialog.[ch]: changed the packing parameters of the info
	table. Small fixes.

	* app/palette.c: the name created for dropped colors contained " "
	instead of "0".
1999-08-24 02:52:40 +00:00
Michael Natterer bb0447f165 app/channels_dialog.c app/color_area.c app/color_panel.c
1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/channels_dialog.c
	* app/color_area.c
	* app/color_panel.c
	* app/color_select.c
	* app/disp_callbacks.[ch]
	* app/gimpdnd.[ch]: pass the widget to the color dnd callbacks.

	* app/palette.c: color dnd for the palette dialog. Shift+click
	toggles setting the FG/BG color now.
1999-08-24 00:36:57 +00:00
Michael Natterer 90178ccb3a color dnd for the standard color selection widget (the "GIMP" color
1999-08-24  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/color_select.[ch]: color dnd for the standard color
	selection widget (the "GIMP" color notebook page).
1999-08-23 23:05:46 +00:00
BST 1999 Andy Thomas 487642b0f9 app/menus.c app/nav_window.c
Mon Aug 23 23:25:05 BST 1999 Andy Thomas <alt@gimp.org>

	* app/menus.c
	* app/nav_window.c

	Nav window code now handles boundary conditions correctly (ie
	you can scroll to the edges of the image now).
	It also has some key bindings:-

	1) Arrow keys work as expected
	2) =/- keys perform zoomin/zoomout. Note these keys are hardcoded
	at present until (if) I find away of finding out how to get the
	current accel. keys for these functions.
	3) Space will raise the display window to the top of the window stack.
	It also updates the preview. This will be changed to happen
	automatically RSN.

	Tearoff menus are now popped up and down (like other dialogs) when
	the tab key is pressed in the image window.
1999-08-23 22:47:36 +00:00
Sven Neumann bb59f41a93 fixed display of distance in the info window
--Sven
1999-08-23 17:58:01 +00:00
EDT 1999 Austin Donnelly 0a7dca9110 Dirty flag now correct in all cases. Can be displayed in image window
Mon Aug 23 10:15:32 EDT 1999  Austin Donnelly  <austin@gimp.org>

	Dirty flag now correct in all cases.  Can be displayed in image
	window title too.  See NOTE near gimp_image_dirty() for details.

	* app/fileops.c: gimp_image_clean_all() after reverting an image.
	* app/gdisplay.c: register handlers for gimage dirty and clean
	    signals to update image title.  New image-title-format
	    expansion: %Dx expands to x if the image is dirty.
	* app/gdisplay_ops.c: gimage->dirty flags != 0 is the correct
	    condition to test to see if an image is dirty.
	* app/gimpdrawable.c: gimp_image_dirty() should never be called
	    except from an undo_push_* function.  Call
	    undo_push_cantundo() if you want to dirty the image but can't
	    be bothered writing an undo handler (be ashamed of yourself!).
	* app/gimpimage.c: new gimage signal: clean.  Emitted when an undo
	    operation takes place.  Gimage changes when either dirty or
	    clean is emitted, so if you need to update previews etc, look
	    for both!  Move group_count into gimage structure, since
	    leaving it as a static in undo.c is bad if two undo groups are
	    started on different images at the same time.  More changes
	    of gimp_image_dirty() to undo_push_cantundo()
	    (parasite-related, plus layer moves).  See the NOTE on dirty
	    counter near gimp_image_dirty() for the full story.
	    gimp_image_dirty() and gimp_image_clean() simplified - counter
	    can go negative.
	* app/gimpimageP.h: group_count moved from undo.c
	* app/layers_dialog.c: push undo for layer name change, rather
	    than dirtying the image.
	* app/undo.c: layer rename undo functions
	    added. undo_push_cantundo() convenience functions added.
	    group_count made per-gimage since everything else is.  When
	    blowing away redo stack, make image infinitely dirty if redo
	    info contained file save point.
	* app/undo.h: added undo_push_layer_rename() and
	    undo_push_cantundo().
	* TODO: added idea for undo history window.
1999-08-23 14:34:58 +00:00
Michael Natterer ef4cb06bb7 export bucket_fill_region().
1999-08-23  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/bucket_fill.[ch]: export bucket_fill_region().

	* app/channels_dialog.c: enabled dropping a color to a channel.

	* app/color_area.c
	* app/color_panel.c
	* app/gimpdnd.[ch]: the whole color dnd is now done in a generic
	function in gimpdnd.c (dnd of other types is still hacked in at
	various places but will go to generic functions and callbacks as
	well).

	* app/disp_callbacks.[ch]
	* app/interface.c: drop a color to the display to bucket fill the
	selected region.
1999-08-23 14:19:26 +00:00
jaycox 5f2d497b40 fixed a couple of bugs in the scale_region code.
* app/paint_funcs.c: fixed a couple of bugs in the scale_region code.
1999-08-23 09:23:24 +00:00
EDT 1999 Adrian Likins 5c61305f24 app/gimpbrushhose.c removed. app/gimpbrushpipe.c New files to replace the
Mon Aug 23 00:56:59 EDT 1999 Adrian Likins <alikins@redhat.com>

        * app/gimpbrushhose.c
        * app/gimpbrushhose.h:
                removed.
        * app/gimpbrushpipe.c
        * app/gimpbrushpipe.h:
                New files to replace the above
        * app/gimpbrushlist.c
        * app/paintbrush.c
        * app/pixmapbrush.c
        * app/Makefile.am:
                s/hose/pipe. Seems someone else uses that name,
        so change it to pipe.

        * app/gimpbrush.c
        * app/gimpbrush.h
        * app/gimpbrushpixmap.c
        * app/patterns.c
        * app/patterns.h
        * app/pixmapbrush.c:
                Added functions to do the actual loading of
        brush/pattern data. Use them where approriate instead
        of cut&pasting the same code all over the place.

        * app/pixmapbrush.c: Fix the bug where masks and brush
        data werent aligned. I didnt quite notice that
        paint_core_get_paint_area returns an area with a 1 pixel
        border larger than the brush. Ooops.

        * TODO: just update a few things while I'm at it
        (pixmap/pipe stuff in particular)
1999-08-23 06:06:12 +00:00
Tor Lillqvist 7a56ef950d Use g_message, not gimp_message. g_message calls gimp_message eventually.
1999-08-22  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/psp.c: Use g_message, not gimp_message.
g_message calls gimp_message eventually.

* plug-ins/common/gpb.c: New plug-in for saving Adrian's gpb files
(pixmap brushes) from an RGBA image. Probably just of temporary
value.

* plug-ins/makefile.{cygwin,msc}: Add it.

* plug-ins/common/gbr.c: Use g_message instead of printf.

* app/makefile.{cygwin,msc}: Comment out the gcg stuff here,
too. Remove frac.o.
1999-08-22 19:02:52 +00:00
Michael Natterer 1e08aa1ef7 app/color_area.[ch] app/color_panel.[ch] enabled dnd for colors
1999-08-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/color_area.[ch]
	* app/color_panel.[ch]
	* app/gimpdnd.[ch]: enabled dnd for colors (compatible with the
	standard gtk/gnome color dnd). The color selection is now invoked
	on a real click, not on button_down to avoid confusion with dnd.

	* app/channels_dialog.c
	* app/disp_callbacks.c
	* app/interface.c
	* app/layers_dialog.c: minor dnd updates/fixes.

	* app/channel.[ch]
	* app/channel_pvt.h
	* app/docindex.[ch]
	* app/docindexif.[ch]
	* app/drawable.[ch]
	* app/floating_sel.c
	* app/gimage.[ch]
	* app/gimage_mask.c
	* app/gimpdrawable.[ch]
	* app/gimpdrawableP.h
	* app/gimpimage.[ch]
	* app/gimpimageP.h
	* app/layer.[ch]
	* app/layer_pvt.h
	* app/undo.c
	* app/xcf.c: wanted to do some s/int/gboolean/ in the layer files
	where appropriate and found myself spending the whole night doing
	a big code review for layers/channels/drawables/images:
	s/int/gboolean/, s/<type>/g<type>/, lots of indentation, removed
	some old global variables and deprecated functions, #include
	cleanups, proper prototypes, copyright headers, ...
1999-08-22 11:45:31 +00:00
Tomas Ogren 51f7bf2386 app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/measure.c
1999-08-22  Tomas Ogren  <stric@ing.umu.se>

* app/bucket_fill.c
* app/clone.c
* app/convolve.c
* app/flip_tool.c
* app/measure.c
* app/pixmapbrush.c: i18n fixes
1999-08-22 05:56:27 +00:00
Tomas Ogren cdad1e0164 Remember kids, "Options" is spelled "Options", not "Ootions"
1999-08-22  Tomas Ogren  <stric@ing.umu.se>

* app/tool_options.c: Remember kids, "Options" is spelled "Options",
not "Ootions"
1999-08-22 01:40:36 +00:00
Tor Lillqvist 32879bafe3 Use spinbutton for number of colours.
1999-08-22  Tor Lillqvist  <tml@iki.fi>

* app/convert.c: Use spinbutton for number of colours.

* app/preferences_dialog.h: Export gimp_spin_button_new. Not the
most logical place for it, though.
1999-08-22 00:56:18 +00:00
Manish Singh e0dc5cd9e1 version number bump
* configure.in: version number bump

* autogen.sh
* configure.in
* app/Makefile.am: comment out gcg stuff, nobody seems to be using it

* app/colormap_dialog.*: added generated files

-Yosh
1999-08-22 00:39:51 +00:00
Sven Neumann d5cc2ac5da RGB brush scaling
--Sven
1999-08-21 20:33:13 +00:00
BST 1999 Adam D. Moss 6ac43482aa Eradicated.
Sat Aug 21 20:30:48 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/frac.[ch]: Eradicated.

	* app/xcf.c: In mourning.
1999-08-21 19:42:47 +00:00
Adam D. Moss abad4162a6 Add to the PDB the right way! 1999-08-21 19:27:56 +00:00
Tor Lillqvist 1c19f04c46 Also provide a Clear button.
1999-08-21  Tor Lillqvist  <tml@iki.fi>

* app/errorconsole.c: Also provide a Clear button.

* app/gimprc.c: Add a missing static function declaration.

* app/makefile.{cygwin,msc}: Add new files.

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

* plug-ins/common/jpeg.c: Must include glib.h first. You don't
want to know why.

* plug-ins/common/psp.c: New file. This plug-in Loads Paint Shop
Pro files (.psp and .tub). Doesn't yet save them. Handles only 24-
bit images (with or without alpha) correctly so far.

* plug-ins/makefile.{cygwin,msc}: Build psp. Somebody please add
it to the auto* build system, too. I guess a test for zlib (which it
needs) is needed in configure.in.
1999-08-21 19:00:41 +00:00
BST 1999 Adam D. Moss 2403247334 Preview layers need to be alpha-padded, since they're not on the bottom of
Sat Aug 21 16:53:17 BST 1999  Adam D. Moss  <adam@gimp.org>

	* plug-ins/common/jpeg.c:  Preview layers need to be alpha-padded,
	since they're not on the bottom of the stack.  That's a GIMP rule.

	Plus... use new API functions gimp_image_{freeze,thaw}_undo() to avoid
	the dilemma of either consuming a squillion superfluous tiles or
	clobbering the whole undo stack.

	* app/gimage.h
	* app/gimage_cmds.c
	* app/gimpimage.c
	* libgimp/gimp.h
	* libgimp/gimpimage.c: New API functions
	gimp_image_{freeze,thaw}_undo()	to avoid the above twin	evils.
	Similar to gimp_image_{disable,enable}_undo() but without
	clobbering the undo stack (I would have simply changed the latter,
	but too many plugins seem to rely on that behaviour).  See the PDB
	docs for slightly more information.
1999-08-21 16:15:58 +00:00
Sven Neumann c53c8f4122 I promise to never say 'perfect' again...
--Sven
1999-08-21 13:16:20 +00:00
Sven Neumann b79e8e290e the measure tool is now perfect, IMO
--Sven
1999-08-21 11:30:10 +00:00
jaycox 12246d3a0e removed cubic_interpolation variable. use the interpolation_type variable
* app/gimprc.[ch]: removed cubic_interpolation variable.
	* app/transform_core.c: use the interpolation_type variable
	instead of the old cubic_interpolation variable.
1999-08-21 08:25:18 +00:00
BST 1999 Adam D. Moss 2d65428408 Navigation window shows checkmarked alpha, also previews correctly for
Sat Aug 21 01:06:53 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/nav_window.c: Navigation window shows checkmarked alpha,
	also previews correctly for greyscale images now.
1999-08-21 00:18:58 +00:00
Adam D. Moss 58d866bcde removed stdio.h inc. 1999-08-20 23:26:08 +00:00
BST 1999 Adam D. Moss 517cf3ed98 Improved pointer tracking when dragging navigator rectangle - less lag.
Sat Aug 21 00:07:37 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/nav_window.c: Improved pointer tracking when
	dragging navigator rectangle - less lag.  Enabled hourglass
	when computing first thumbnail.
1999-08-20 23:20:23 +00:00
Michael Natterer 70407d2882 app/Makefile.am new file. Contains a function which creates dnd preview
1999-08-20  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/Makefile.am
	* app/gimpdnd.c: new file. Contains a function which creates dnd
	preview icons for all kinds of drawables.

	* app/gimpdnd.h: added the new dnd types.

	* app/channels_dialog.c: same dnd functions as in the layers
	dialog. Fixed channels_dialog_flush(). Code cleanup.

	* app/layers_dialog.c: enabled dnd for layer masks.

	* app/disp_callbacks.c
	* app/interface.c: dnd code generalization. The toolbox and the
	display accept drop of any kind of drawable now.

	* app/gimage.h
	* app/gimpimage.[ch]: new function gimp_image_position_channel().

	* app/layer.[ch]: new function layer_mask_get_layer().
1999-08-20 19:59:06 +00:00
jaycox 99111b635f added InterpolationType enum. replaced cubic_interpolation flag with
* app/apptypes.h: added InterpolationType enum.
	* app/gimprc.[ch], app/preferences_dialog.c: replaced
	cubic_interpolation flag with interpolation_type variable.

	* app/pixel_region.[ch]: added pixel_region_has_alpha function.

	* app/paint_funcs.c: rewrote scale_region.  It now behaves
	correctly on images with alpha, no longer leaves an artifact on the
	right edge of images when scailing up, and runs signifigantly
	faster.
1999-08-20 10:06:54 +00:00
Asbjørn Pettersen 6322090df3 open tips file with rt 1999-08-20 09:24:56 +00:00
Michael Natterer 311c83b0a4 app/Makefile.am new file containing the dnd data definitions.
1999-08-19  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/Makefile.am
	* app/gimpdnd.h: new file containing the dnd data definitions.

	* app/disp_callbacks.[ch]
	* app/interface.c: drop layers on the toolbox to create a new
	image and on the display to copy it to the image's layer stack.

	* app/layers_dialog.c: drop layer on the "New" button to create an
	empty layer with the dropped layer's properties, to "Duplicate" to
	duplicate it and on the trashcan to delete it.
	Thanks to Andy for the ultra-cool dnd preview pixmap patch.

	* app/layer.[ch]
	* app/undo.c: renamed layer_mask() to layer_get_mask(). Prototyped
	some function headers.

	* app/disp_callbacks.c: Wheelmouse stuff: Shift+wheel scales the
	display.

	* app/airbrush.c
	* app/eraser.c
	* app/paint_options.h
	* app/paintbrush.c
	* app/pencil.c
	* app/tool_options.c: moved the "Incremental" toggle to the
	PaintOptions structure because it is used more often now.
1999-08-19 19:53:30 +00:00
Sven Neumann e7c1e75606 support for adding guides at the handles
--Sven
1999-08-19 16:26:47 +00:00
Manish Singh 8a95c9c242 #include "channel.h" and "layer.h" for GIMP_CHANNEL, GIMP_IS_LAYER, and
* tools/pdbgen/pdb/drawable.pdb: #include "channel.h" and "layer.h"
for GIMP_CHANNEL, GIMP_IS_LAYER, and GIMP_LAYER #defines

The rest of these files are generated from the fresh pdbgen run

-Yosh
1999-08-19 06:46:50 +00:00
Adrian Likins 342374190e data/brushes/vine.gih new files, a sample hose and a sample pixmap brush
* data/brushes/vine.gih
        * data/brushes/pepper.gpb: new files, a sample hose
        and a sample pixmap brush

        * docs/gpb.txt
        * docs/gih.txt: vague description of the current pixmap
        brush and hose formats

        * app/gimpbrushhose.c
        * app/gimpbrushpicmap.c: use the brush spacing info now
1999-08-19 05:22:45 +00:00
Adrian Likins 311953b12c add GradientPaintMode enum move above enum use above enum
Wed Aug 18 22:49:31 1999 Adrian Likins <alikins@redhat.com>

        * app/apptypes.h: add GradientPaintMode enum
        * app/paint_core.h: move above enum
        * app/paintbrush.c: use above enum

        * app/drawable_cmds.c: include "layers.h" so it
        will link again
1999-08-19 03:51:33 +00:00
Tor Lillqvist f6858e21d1 Actually use the enum types GimpImageType, GimpImageBaseType,
* app/*.[ch]: Actually use the enum types GimpImageType,
	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
	of just int or gint. Hopefully I catched most of the places
	where these should be used.

	Add an enum ConvolutionType, suffix the too general constants
	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
	instead of NORMAL in some places (this was what was intended). Fix
	some minor gccisms.

	* app/apptypes.h: New file. This file contains the above
	enumeration types, and some opaque struct typedefs. It was
	necessary to collect these in one header that doesn't include
	other headers, because when we started using the above mentioned
	types in the headers, all hell broke loose because of the
	spaghetti-like cross-inclusion mess between headers.

	(An example: Header A includes header B, which includes header C
	which includes A. B uses a type defined in A. This is not defined,
	because A hasn't defined it yet at the point where it includes B,
	and A included from B of course is skipped as we already are
	reading A.)
1999-08-18 23:41:39 +00:00
Sven Neumann 088a9d7131 almost done with the measure tool ...
--Sven
1999-08-18 18:48:35 +00:00
Tor Lillqvist 4b22d03f10 Fix it. Now the hose itself, interpreted as a pixmap brush (which the hose
* app/gimpbrushhose.c (gimp_brush_hose_load): Fix it. Now the hose
	itself, interpreted as a pixmap brush (which the hose is a
	subclass of), is the first brush in its list. The rest of the
	pixmap brushes in the list are separately allocated ones. Don't
	read the pattern names into dummy buffers, just seek past.

	* app/pixmapbrush.c (pixmapbrush_motion): Now works better, and
	actually steps through the pixmaps in the hose's list. The
	paint_core->brush (which points to a brush hose in the cases we're
	interested in) is temporarily replaced with the current pixmap
	brush to use, and restored after applying the pixmap brush.

	* app/makefile.{cygwin,msc}: Add new files.
1999-08-17 23:32:48 +00:00
Adrian Likins 0c08558ba2 ooops, forgot Makefile.am 1999-08-17 04:23:02 +00:00
Adrian Likins 33a045c12f oops, missed a couple of file 1999-08-17 01:05:59 +00:00
Adrian Likins e87ae53aba app/gimpbrushhose.c new files to implement a GimpBrushHose type. The idea
Mon Aug 16 20:48:33 1999 Adrian Likins <alikins@redhat.com>

        * app/gimpbrushhose.c
        * app/gimpbrushhose.h: new files to implement a GimpBrushHose
        type. The idea being its derived from gimpbrushes, so we can
        make regular tools use it if need be, and fold it into the brushes
        dialog nice and easy.

        * app/gimpbrush.c
        * app/gimpbrushgenerated.c
        * app/gimpbrushpixmap.c:
        * app/gimpbrushpixmap.h: Modified the *_get_type() functions
        to behave more correctly. As suggested by Tim Janik <tim@gtk.org>

        * app/pixmapbrush.c: Since pixmapbrush tool wasnt doing anything
        useful anyway, start using it as a testbed for "image hoses".
        Right now it doesnt really work correctly.

I'll try to upload a sample hose to http://adrian.gimp.org/pixmap-brushes/
shortly, and maybe some docs about the lame format.

-adrian
1999-08-17 00:59:07 +00:00
Tor Lillqvist 97346fb110 Use RINT instead of rint.
* app/transform_core.c: Use RINT instead of rint.

	* plug-ins/common/curve_bend.c
	* plug-ins/sel2path/spline.c: Workarounds for gccisms, thanks to
	Hans Breuer.

	* app/makefile.msc
	* plug-ins/makefile.msc: Misc fixes.
1999-08-16 19:33:35 +00:00
jaycox 2c206a4840 put the gimp_matrix_is_simple optimization back in.
* app/transform_core.c: put the gimp_matrix_is_simple
	optimization back in.
1999-08-16 10:59:14 +00:00
jaycox 60475da041 data access optomizations from David Hodson <hodsond@acm.org>
* app/transform_core.c: data access optomizations from
	David Hodson <hodsond@acm.org>
1999-08-16 08:29:13 +00:00
Tor Lillqvist b5d790e67e Add G_SQRT2.
* app/appenv.h: Add G_SQRT2.

	* app/iscissors.c: Use it.

	* app/makefile.{cygwin,msc}: Add new files.

	* */makefile.{cygwin,msc}: Use libintl extracted from glibc from a
	separate directory, not from gettext, because of licensing issues
	(we want to use the LGPL version in GTk+, so use it here, too).
1999-08-16 04:59:48 +00:00
Manish Singh 1fd1919f4f added a G_PI_2
* app/appenv.h: added a G_PI_2

* app/brush_header.h
* app/pattern_header.h: prefixed each FILE_VERSION with
G{BRUSH,PATTERN} to avoid namespace collision

* app/patterns.c: reflect above change

* app/iscissors.[ch]: merged in Austin's iscissors rewrite.. still
unfinished, but it's not like the old one did anything useful
anyway ;)

-Yosh
1999-08-16 03:43:48 +00:00
Sven Neumann acdd8c0966 A little bit of special-casing here and there to avoid division by zero etc.
Other systems may eventually behave differently when it comes to atan(PI/2),
so please test this on other platforms...


--Sven
1999-08-15 21:10:29 +00:00
Sven Neumann 88cdb2f80d Sorry, shouldn't have checked this in so early. Works reasonably now.
--Sven
1999-08-15 20:12:44 +00:00
Sven Neumann caaf18a24f It's gettin better...
--Sven
1999-08-15 18:44:15 +00:00
Sven Neumann 27c2621399 Added new measure tool.
--Sven
1999-08-15 15:59:06 +00:00
Sven Neumann ed81308375 movements restricted to 45 degrees (Ctrl+Alt) feel more natural now
--Sven
1999-08-14 12:34:08 +00:00
Manish Singh 374e55bced add pixmaps/dropper.xpm to EXTRA_DIST
* Makefile.am: add pixmaps/dropper.xpm to EXTRA_DIST

* app/appenv.h: minor formatting changes

* app/channel.c: #include "gdisplay.h"

* app/color_transfer.c
* app/dodgeburn.c
* app/gdisplay.c
* app/iscissors.c
* app/paint_core.c: remove extra SQR and ROUND definitions

* app/flip_tool.c: hackaround the flip tool options constant problem

* app/flip_tool.[ch]: use InternalOrientationType for flip_tool_flip
prototype

* app/interface.c: use GTK_LABEL case in gtk_label_set_justify

* plug-ins/common/mkgen.pl
* plug-ins/common/plugin-defs.pl: add @extra EXTRA_DIST processing

-Yosh
1999-08-13 22:33:49 +00:00
Adrian Likins 8162b43da6 ooops, forgot to include paint_func.*. Fixed now.
ooops, forgot to include paint_func.*.   Fixed now.
1999-08-13 21:16:02 +00:00
Adrian Likins 29709cb9ee app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c
Fri Aug 13 16:39:25 1999 Adrian Likins <alikins@redhat.com>

        * app/airbrush.c
        * app/paintbrush.c
        * app/pencil.c
        * app/pixmapbrush.c
        * app/pixmapbrush.h

        Added support for pixmap brushes to airbrush, pencil,
        and paintbrush. Merging this into paintbrush makes
        the pixmaptool itself kind of useless at the moment,
        but that will change ;->

        Still a few rough edges here, but its mostly there.
        I still need to make the "incremental" button for
        the tools to accurately reflect that pixmap always
        uses this mode.

        * app/eraser.c
        * app/eraser.h
        * app/tools_cmds.c
        * tools/pdbgen/pdb/tools.pdb

        Applied patch from  Shuji Narazaki <narazaki@gimp.org>
        to implement the anti-eraser. Neat.
1999-08-13 20:50:30 +00:00
Kelly Martin f369da0a95 Color brushes now appear in the brush selector in color. Scaling is
* app/brush_select.c: Color brushes now appear in the brush
selector in color.  Scaling is disabled for color brushes because
I can't figure out how to do it just now.  Still need to fix the
toolbox to do this too.

--klm
1999-08-13 15:20:35 +00:00
Adrian Likins 229f32f33e added a fix from Xach "I dont code." Beane <xach@gimp.org> to fix the
Thu Aug 12 19:16:58 1999 Adrian Likins <alikins@redhat.com>

        * app/pixmapbrush.c: added a fix from Xach "I dont code."
        Beane <xach@gimp.org> to fix the behaviour when painting
        at the top of images.
1999-08-12 23:17:51 +00:00
BST 1999 Andy Thomas 2557c517b1 app/commands.c app/commands.h app/disp_callbacks.c app/gdisplay.c
Thu Aug 12 21:38:53 BST 1999 Andy Thomas <alt@gimp.org>

	* app/commands.c
	* app/commands.h
	* app/disp_callbacks.c
	* app/gdisplay.c
	* app/gdisplay.h
	* app/info_dialog.c
	* app/info_dialog.h
	* app/info_window.c
	* app/info_window.h
	* app/menus.c
	* app/scale.c
	* app/scroll.c
	* app/scroll.h
	* app/nav_window.c (new)
	* app/nav_window.h (new)
	* pixmap/dropper.xpm (new)

	New "navigator" image (accessed via <Image>/Window Nav..). This gives
	an outline of the location of the current view on an image. Eg if your
	image window is only showing part of an image then the Window Navigation	window will outline the area viewed. You can "drag" the outlined
	square around the viewport and the main image will scroll. Additional
	a single click outside the square will center the image at that
	location.

	Also started to add additional information to a new page inside the
	Window information dialog (currently only pixel value is shown).

	Both these features are currently work in progress and unfinished.
	In particular the Navigator does not keep in step with changes
	to the basic image (however it does keep in step with image size changes	and if you modify the size of the image viewing window). It also
	does not display the transparent areas of images very nicely.
1999-08-12 22:21:04 +00:00
Tor Lillqvist cac72d12f8 Add newest files.
* app/makefile.{cygwin,msc} (gimp_OBJECTS): Add newest files.

	* plug-ins/common/winclipboard.c: Speed up by using
	gimp_tile_cache_size().

	* app/gimprc.c
	* plug-ins/script-fu/script-fu-scripts.c: Guard
	use of GLIB_CHECK_VERSION from old GLibs that don't have it.
1999-08-12 22:08:19 +00:00
Sven Neumann 2c1e3f2f7d First set of camp-merges. Adds brush-scaling for the brush previews.
--Sven
1999-08-12 17:53:51 +00:00
Sven Neumann 522f4b345a made the monitor resolution accessible through a PDB function
* tools/pdbgen/pdb/gimprc.pdb: made the monitor resolution
        accessible through a PDB function

        * app/internal_procs.c
        * app/gimprc_cmds.c: changed the autogenerated files

        * plug-ins/common/screenshot.c: set the image resolution to the
        monitor resolution and unset the image name

--Sven
1999-08-12 16:54:53 +00:00
Adrian Likins 01200bfad7 fixed the weirdness with drawing along the left side of the image. Top's
Tue Aug 10 01:15:59 1999 Adrian Likins <alikins@redhat.com>

        * app/pixmapbrush.c: fixed the weirdness with drawing
        along the left side of the image. Top's still weird
1999-08-10 06:14:31 +00:00