Commit Graph

2158 Commits

Author SHA1 Message Date
Tomas Ogren 1acec7fb64 Updated
1999-08-27  Tomas Ogren  <stric@ing.umu.se>

* sv.po: Updated
1999-08-26 23:19:09 +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
Manish Singh 9f53a995c0 Added gimpressionist plugin
-Yosh
1999-08-26 22:29:37 +00:00
Manish Singh 12d33d28e3 reautogen run
-Yosh
1999-08-26 22:21:12 +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
Marc Lehmann 2854801744 see plug-ins/perl/Changes 1999-08-26 20:42:43 +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
Manish Singh d418d18a97 removed removed file
-Yosh
1999-08-26 01:07:52 +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
Manish Singh 3cf62e52d4 shut up cvs
-Yosh
1999-08-26 00:50:39 +00:00
Manish Singh c1ca8b13ac Makefile.am configure.in install a gimpinstall script (basically
* Makefile.am
* configure.in
* gimptool.in: install a gimpinstall script (basically install-sh)
for platforms without an install tool

* plug-ins/common/csource.c: correct some gccisms

* plug-ins/unsharp/dialog_f.c
* plug-ins/unsharp/dialog_i.c
* plug-ins/unsharp/unsharp.c: // IS NOT A VALID C COMMENT

-Yosh
1999-08-26 00:31:37 +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
Tomas Ogren 5d952762dc Added some files Updated
1999-08-25  Tomas Ogren  <stric@ing.umu.se>

* POTFILES.in: Added some files
* sv.po: Updated
1999-08-25 21:28:50 +00:00
Marc Lehmann f9aa6f14d6 see plug-ins/perl/Changes 1999-08-25 20:35:48 +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
Raja R Harinath 320c74efdf Comment out gcg stuff.
* tools/Makefile.am: Comment out gcg stuff.
1999-08-24 23:51:35 +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
Marc Lehmann a6adc60383 see plug-ins/perl/Changes 1999-08-24 20:49:01 +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
Manish Singh dbe96e67d2 added measure.c
-Yosh
1999-08-24 19:53:40 +00:00
Sven Neumann 8e93d2d347 use real-life units
--Sven
1999-08-24 18:36:38 +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
Kjartan Maraas 28e7f677b1 Updated translation.
1999-08-23  Kjartan Maraas  <kmaraas@online.no>

		* no.po: Updated translation.
1999-08-23 21:10:54 +00:00
Kjartan Maraas dca540aef5 Updated translation.
1999-08-23  Kjartan Maraas  <kmaraas@online.no>

		* no.po: Updated translation.
1999-08-23 20:39:15 +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 3379feb8ec add docs for %Dx image-title-format string.
Mon Aug 23 10:37:24 EDT 1999  Austin Donnelly  <austin@gimp.org>

	* gimprc.5.in: add docs for %Dx image-title-format string.
1999-08-23 14:39:05 +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
Yukihiro Nakai 3f00c01bd5 ja.po: Update from Shirasaki Yasuhiro
ja.po: Update from Shirasaki Yasuhiro
1999-08-23 02:11:19 +00:00
Manish Singh 394097bc31 vestigal
-Yosh
1999-08-23 01:37:43 +00:00
Manish Singh 4ac47cdd86 add check for zlib for building psp plugin
* configure.in: add check for zlib for building psp plugin

* plug-ins/common/mkgen.pl
* plug-ins/common/plugin-defs.pl
* plug-ins/common/Makefile.am: add psp plugin

* plug-ins/common/mail.c: removed double gimp_destroy_params, fixing
a segfault

-Yosh
1999-08-22 22:51:31 +00:00
Tor Lillqvist 52e705c4dd Set PSP_DEBUG to zero.
Save the settings, too, in gpb.c.
1999-08-22 20:08:15 +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 a27dcf473a Updated
1999-08-22  Tomas Ogren  <stric@ing.umu.se>

* sv.po: Updated
1999-08-22 02:22:02 +00:00
Tor Lillqvist 5d2714b742 Handle the tube block, too. Save tube (image hose) parameters in a
* plug-ins/common/psp.c: Handle the tube block, too. Save tube
(image hose) parameters in a parasite. Yet-to-be-written code
that creates a .gih file (or something better) can get them
from there.

Actually attach the comment parasite.

Must set layer offset after adding it to the image.
1999-08-22 01:54:06 +00:00