1. 25 Nov, 1999 1 commit
    • Michael Natterer's avatar
      Removed the definitions of the tearoff menu items and build them on the · 720518b3
      Michael Natterer authored
      1999-11-25  Michael Natterer  <mitch@gimp.org>
      	* app/menus.c: Removed the definitions of the tearoff menu items
      	and build them on the fly. Added N_()-marked submenus instead so
      	they get properly translated. Removed N_() from all separators.
      	Hacked menu_translate(): Don't try to translate separators,
      	tearoffs and the /File/MRUxx entries. Avoid multiple lookups in
      	the "gimp-std-plugins" domain. Translating plug-in menu entries is
      	still broken.
      	Defined all filter categories for proper translation and a first
      	try to order them and to add separators (please comment...).
      	New Category /Filters/Web.
      	(Did 'make update-po' in the po* directories and updated the
      	german translations.)
      	* app/about_dialog.c
      	* app/brush_select.c
      	* app/drawable.c
      	* app/errors.c
      	* app/free_select.c
      	* app/gradient.c
      	* app/info_dialog.c
      	* app/plug_in.c
      	* app/tool_options.c: minor i18n updates like removing _() from
      	some error messages.
      	* app/context_manager.c: a private context for the Xinput Airbrush.
      	* plug-ins/common/video.c: Register under /Filters/Distorts
      	* plug-ins/imagemap/imap_main.c: Register under /Filters/Web
      	(Marc, what about putting "prepare for gif" and "webify" there?)
      	* plug-ins/perl/po/de.po: s/Xtn/Xtns/g
  2. 23 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/app_procs.c app/channels_dialog.c app/fileops.c app/gdisplay.c · b6a3dd5a
      Michael Natterer authored
      1999-11-23  Michael Natterer  <mitch@gimp.org>
      	* app/app_procs.c
      	* app/channels_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/layers_dialog.c
      	* app/menus.[ch]
      	* app/paths_dialog.c
      	* app/plug_in.c: removed
      	menus_set_[sensitive|state]_glue(). Removed the N_()'s from all
      	menu paths which are not eventually passed to
      	* app/tool_options.c: minor updates.
      	* app/file_new_dialog.c: reordered the action_area buttons.
  3. 13 Nov, 1999 1 commit
    • Sven Neumann's avatar
      app/airbrush.c app/convolve.c app/dodgeburn.c app/paint_options.h · d70a75c4
      Sven Neumann authored
              * app/airbrush.c
              * app/convolve.c
              * app/dodgeburn.c
              * app/paint_options.h
              * app/paintbrush.c
              * app/pencil.c
              * app/smudge.c
              * app/tool_options.c: cleaned up pressure sensitivity for paint
              tools. I had to rename Pressure to Rate in a few tools to avoid
              confusion with the Pressure option that applies to the brush.
              * app/gimplut.c: indentation, no changes
  4. 26 Oct, 1999 1 commit
  5. 19 Oct, 1999 1 commit
    • Michael Natterer's avatar
      changed the "parent context" implementation: · b74d2569
      Michael Natterer authored
      1999-10-19  Michael Natterer  <mitch@gimp.org>
      	* gimpcontext.[ch]: changed the "parent context" implementation:
      	- Automatically connect/disconnect the "*_changed" signals when
      	  changing the parent and when setting the "defined" flag of the
      	- Store the former *_defined booleans in a single guint32.
      	- Added generic functions to set the "defined" flags of the
      	  attributes and to copy attributes between contexts.
      	The contexts now correctly handle disappearing images and
      	displays, so we don't have to explicitly reset them any more.
      	* context_manager.[ch]: adopted to the changed context
      	implementation, connect to the user context's "tool_changed"
      	signal to switch the per-tool contexts, don't connect to the
      	"removed" signal of the image context.
      	* brush_select.c
      	* tool_options.c: use LayerModeEffects instead of int when calling
      	* gdisplay.c: no need to reset the active display when deleting it
      	because the context connects to the "destroy" signal of the shell
      	* menus.c: a shortcut for the navigation window. Moved
      	<Image>/Image/Colors/Desaturate before the separator.
      	* tools.c: tools_select(): set the active tool of the user context
      	instead of calling a special context manager function.
  6. 05 Oct, 1999 1 commit
    • EDT 1999  Austin Donnelly's avatar
      all-singing, all-dancing iscissors. Now scan converts so you can actually · a273905c
      EDT 1999 Austin Donnelly authored
      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.
  7. 04 Oct, 1999 1 commit
  8. 03 Oct, 1999 1 commit
  9. 25 Sep, 1999 2 commits
  10. 09 Sep, 1999 1 commit
  11. 07 Sep, 1999 1 commit
  12. 26 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Overhaul of pixmap brushes and pipes: No separate pixmap pipe · 868bdfff
      Tor Lillqvist authored
      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.
  13. 22 Aug, 1999 1 commit
  14. 19 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file containing the dnd data definitions. · 311c83b0
      Michael Natterer authored
      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
      	* 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.
  15. 09 Aug, 1999 1 commit
    • Adrian Likins's avatar
      app/pixmapbrush.c app/pixmapbrush.h app/gimpbrushpixmap.c New files, · 204d4123
      Adrian Likins authored
      Mon Aug  9 01:20:24 1999 Adrian Likins <alikins@redhat.com>
              * app/pixmapbrush.c
              * app/pixmapbrush.h
              * app/gimpbrushpixmap.c
              * app/gimpbrushpixmap.h: New files, implement the GimpBrushPixmap
                object, and the pixmap brush tool.
              * app/context_manager.c
              * app/tool_options.c
              * app/tools.c
              * app/toolsF.h: add the pixmap brush tool in
              * app/gimpbrushlist.c: allow for loading of pixmap brushes and
              displaying them in the brush dialog. Currently it only shows the
              grey scale mask.
              *app/Makefile.am: add the pixmap tool stuff to the build process
              These Changes implement a pixmap brush tool. Sort of a "image stamp".
              Some examples can be seen at http://adrian.gimp.org/pixmap-brush/.
              Some examples of pixmap brushes can be found there too (.gpb
              extension), but these are easy enough to make (for now, make
              a pattern and a brush the same size and `cat foo.gbr foo.pat >
              foo.gpb` ;->
              Theres still a few rough edges that need some tweaking, but
              the framework is there. Figured I'd sneak it in before the
  16. 06 Jul, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/blend.c app/bucket_fill.c app/clone.c app/convolve.c · 1058f41d
      Michael Natterer authored
      1999-07-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
              * app/airbrush.c
              * app/blend.c
              * app/bucket_fill.c
              * app/clone.c
              * app/convolve.c
              * app/dodgeburn.c
              * app/eraser.c
              * app/ink.c
              * app/paintbrush.c
              * app/pencil.c
              * app/smudge.c: get opacity/paint mode from the current context
              (currently always the user context).
              * app/gimage_mask.c: the "stroke" command uses the paintbrush's
              settings if the current context is the user context and we are in
              per-tool paint options mode.
              * app/context_manager.[ch]
              * app/paint_options.h
              * app/preferences_dialog.c
              * app/tool_options.c
              * app/tools.c: moved the global/per-tool paint options switching
              to the context manager. The tool options themselves only contain
              the widgets for them now. This should fix the segfaults happening
              in per-tool mode.
      	Removed the disclaimer from the prefs. dlg. as it seems to work
      	now. The impl. in the context manager however is still a hack.
              * app/brush_select.c
              * app/brushes_cmds.c
              * tools/pdbgen/pdb/brushes.pdb: same as above.
              * app/lc_dialog.c: minimal code reduction. No functionality changed.
  17. 01 Jul, 1999 1 commit
  18. 06 Jun, 1999 1 commit
    • Tomas Ogren's avatar
      Misc l10n fixes · 79be4895
      Tomas Ogren authored
      1999-06-06  Tomas Ogren  <stric@ing.umu.se>
      * app/{color_notebook.c,color_select.c,lc_dialog.c,temp_buf.c,tool_options.c,tools.c}:
        Misc l10n fixes
  19. 28 Apr, 1999 1 commit
  20. 27 Apr, 1999 2 commits
  21. 22 Apr, 1999 1 commit
    • Michael Natterer's avatar
      First version of per-tool paint options. No PDB interface yet. The tool · ca2cbd32
      Michael Natterer authored
      1999-04-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	First version of per-tool paint options. No PDB interface yet.
      	The tool options dialog got rather big when in per-tool mode, so
      	it will probably have to become a notebook.
      	It's not yet 100% consistent. If switched off, everything should
      	behave exactly like before.
      	* app/Makefile.am
      	* app/paint_options.h: new file
      	* app/tool_options.c: PaintOptions gui. Maintain a list of all
      	paint tools' ToolOptions to enable switching between global and
      	per-tool paint options.
      	* app/brush_select.[ch]: changed packing boxes, tables, ...
      	The paint options in the brush selection can be hidden now.
      	Moved create_paint_mode_menu() to paint_options.h and
      	tool_options.c and renamed it to paint_mode_menu_new().
      	* app/gimage_mask.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/paint_core.c: moved gimp_brush_[set|get]_spacing() from
      	gimpbrushlist.[ch] to gimpbrush.[ch].
      	Moved gimp_brush_[get|set]_[opacity|paint_mode]() to
      	paint_options.h and tool_options.c and renamed them to
      	paint_options_*_*().  They are "global paint options" now.
      	* app/airbrush.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/convolve.c
      	* app/eraser.c
      	* app/ink.c
      	* app/paintbrush.c
      	* app/pencil.c: all paint tools' options are derived from
      	"PaintOptions" now. Opacity and paint mode are obtained through
      	macros which take into account the current paint options mode.
      	* app/buildmenu.h: #include <gtk/gtk.h>
      	* app/color_picker.c
      	* app/text_tool.c: changed spacings.
      	* app/gimprc.[ch]: new gimprc option "global-paint-options"
      	* app/preferences_dialog.c: Added a "Tool Options" page. Code
      	cleanup. Some work on the convenience constructors test site.
      	* app/tools.c: fixed "unused variable" warning.
  22. 18 Apr, 1999 1 commit
    • Michael Natterer's avatar
      fixed a sensitive setting bug I introduced with the last change. · 9e1879d9
      Michael Natterer authored
      1999-04-18  Michael Natterer  <mitschel@cs.tu-berlin.de>
              * app/paintbrush.c: fixed a sensitive setting bug I introduced
              with the last change.
              * app/text_tool.c: added a toggle button which enables calling
              * app/tool_options.c: the toggle callback does some more sensitive
  23. 12 Apr, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c · 8dbd5f9b
      Michael Natterer authored
      1999-04-12  Michael Natterer  <mitschel@cs.tu-berlin.de>
              * app/airbrush.c
              * app/bezier_select.c
              * app/blend.c
              * app/brightness_contrast.c
              * app/bucket_fill.c
              * app/by_color_select.c
              * app/clone.c
              * app/color_balance.c
              * app/color_picker.c
              * app/convolve.c
              * app/crop.c
              * app/curves.c
              * app/ellipse_select.c
              * app/eraser.c
              * app/flip_tool.c
              * app/free_select.c
              * app/fuzzy_select.c
              * app/histogram_tool.c
              * app/hue_saturation.c
              * app/ink.c
              * app/iscissors.c
              * app/levels.c
              * app/magnify.c
              * app/move.c
              * app/paintbrush.c
              * app/pencil.c
              * app/posterize.c
              * app/rect_select.[ch]
              * app/text_tool.c
              * app/threshold.c
              * app/transform_tool.c
              * app/tools.[ch]
              * app/toolsF.h: again: all tools :(
              * app/Makefile.am
              * app/tool_options.[ch]
              * app/selection_options.h
              * app/tool_options_ui.h: new files.
              Ok, this time it's general enough for future extensions:
              - The tool options structures are organized like the gtk object
                system to allow derived tool options.
              - Renamed all create and reset functions to *_options_new() and
                *_options_reset() to reflect this.
              - Changed tools_register() again. Now it takes just a pointer to a
                ToolOptions structure.
              - Moved almost the entire tool options gui code to tool_options.c.
              - Visually separated the common selection options from the
                tool-specific ones. I'd like to do the same with opacity/paint
                mode in all paint tool options but I think this needs some more
              * app/histogram_tool.c: changed packing boxes, label alignments.
              * app/paintbrush.c: some more sensitive settings. The gradient
              feature can now be toggled with a button. Hopefully didn't break