1. 31 Jan, 2000 2 commits
  2. 30 Jan, 2000 1 commit
  3. 29 Jan, 2000 1 commit
    • Sven Neumann's avatar
      app/brush_select.c create the dialog at mouse position if not the main · c69e85c8
      Sven Neumann authored
      * app/brush_select.c
      * app/gradient_select.c: create the dialog at mouse position if not
        the main dialog (which is session-managed)
      
      * app/convert.c: small UI changes
      
      * app/gradient.c: don't include session.h
      
      * app/session.c: the gradient_select dialog is not the gradient_editor
      
      
      --Sven
      c69e85c8
  4. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      
      	* plug-ins/*: don't include the two files.
      49230471
  5. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
      884f2235
  6. 02 Dec, 1999 1 commit
    • Michael Natterer's avatar
      Default to "Cancel" in the "Really Quit?" dialog. · c688e055
      Michael Natterer authored
      1999-12-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: Default to "Cancel" in the "Really Quit?" dialog.
      
      	* app/app_procs.c
      	* app/brush_select.c
      	* app/gimpbrushlist.c: Call brush_select_[freeze|thaw]_all() from
      	brushes_init() and brushes_free(), so refreshing the brushes from
      	plugins/scripts is faster.
      
      	* app/brightness_contrast.c
      	* app/color_balance.c
      	* app/curves.c
      	* app/file_new_dialog.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/posterize.c
      	* app/threshold.c:
      	Reorder the action are buttons: [ "OK" "Reset" "Cancel" ]
      
      	* app/menus.c: Some more cleanups in the menu code. Reorder
      	<Image>/Filters/Misc only if ot exists. Generalized
      	menu_translate() in preparation for correctly supporting catalogs
      	which only exist sometimes (like gimp-perl).
      
      	* app/gradient.c
      	* app/gradient_select.c: Save some lines of code by using
      	gtk_clist_new_with_titles() instead of gtk_clist_new().
      
      	* libgimp/gimpunitmenu.c: Code cleanup and made the clist titles
      	of the unit selection un-clickable.
      c688e055
  7. 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
      720518b3
  8. 14 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/apptypes.h app/brushes_cmds.c · 0c922cd3
      Michael Natterer authored
      1999-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.c
      	* app/apptypes.h
      	* app/brushes_cmds.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/gimpbrushpipe.c
      	* app/paint_core.c
      	* app/patterns.h
      	* app/patterns_cmds.c
      	* tools/pdbgen/pdb/patterns.pdb: removed the GimpBrushP and
      	GPatternP types and use ordinary pointers instead.
      
      	The following stuff makes the "no_data" behaviour consistent. As a
      	side-effect it should make the gimp work when there are _really_ no
      	brushes/patterns/gradients.
      
      	* app/brush_select.c
      	* app/pattern_select.c: set the initial brush/pattern name to "No
      	Brushes/Patterns available" instead of "Active".
      
      	* app/devices.c: set the device contexts' brush/pattern/gradient
      	names if we started with no_data, so we find them on refresh.
      
      	* app/gimpbrushlist.c: set the name of the standard_brush to
      	"Standard".
      
      	* app/gimpcontext.c: don't replace the current
      	brush/pattern/gradient's name if the new one to be set is the
      	standard one. Together with the change in devices.c, this ensures
      	that we get what is set in devicerc. Minor fixes.
      
      	* app/gradient.c: changed gradients_init() to work like the other
      	data init functions. Only insert a default gradient in the
      	gradients list when the editor is opened (this means that the
      	gradients now behave like brushes/patterns when we start with
      	"no_data").
      	New function gradient_update() avoids tons of useless redraws of
      	all clist gradient previews whenever the gradient editor wants to
      	update it's large preview.
      
      	* app/gradient_select.c: don't segfault when the user tries to
      	drag from an empty gradient list.
      
      	* app/patterns.c: set the index of the standard_pattern to -1 to
      	indicate that it's not part of the pattern list.
      0c922cd3
  9. 09 Nov, 1999 1 commit
  10. 03 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.[ch] app/gradient.c app/gradient_select.[ch] · 0302ed0a
      Michael Natterer authored
      1999-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.[ch]
      	* app/gradient.c
      	* app/gradient_select.[ch]
      	* app/interface.[ch]
      	* app/palette.c
      	* app/pattern_select.[ch]: allow dragging a brush/pattern/... from
      	the selections with mouse2 without changing the active element in
      	the dialog.
      
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/gimpcontextpreview.[ch]
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]
      	* app/indicator_area.c
      	* app/interface.[ch]
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/ops_buttons.[ch]
      	* app/paths_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.[ch]: wrapped gtk_tooltips_set_tip() with
      	gimp_help_set_help_data() and moved it to gimphelp.[ch].
      
      	This should (hopefully) be the final state of the help system. The
      	New function allows a "private tip" to be set without a visible
      	tooltip. This way the tooltips inspector (shift+F1) can search for
      	help data in the parent containers of the clicked widget. E.g. the
      	ops buttons in the layers dialog have private tips like
      	"#new_layer" which gets composed with the help data of the layers
      	dialog notebook page resulting in a complete help path.
      
      	Allow mouse2 for all dnd operations. Mouse1 still works like before.
      0302ed0a
  11. 29 Oct, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.c app/gradient_select.c call the PDB callback from the · 4a3a57f8
      Michael Natterer authored
      1999-10-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: call the PDB callback from the context
      	callback because it gets called on every change.
      
      	* app/interface.c: the tool buttons had the wrong private tooltips
      	attached.
      
      	* app/gimphelp.c: call the help browser with plug_in_run() instead
      	of procedural_db_execute() to make it really ansynchronous.
      	Added a GtkTipsQuery tooltips inspector which gets invoked by
      	<Shift>+F1. Did some illegal juggling with the tips_query's
      	"parent" pointer which may cause problems, so I made the stuff
      	disable-able with #ifdef's.
      	Is there a proper way to create a tips_query widget without having
      	to show it somewhere??
      4a3a57f8
  12. 28 Oct, 1999 1 commit
  13. 26 Oct, 1999 1 commit
  14. 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
      	  attributes.
      	- 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
      	gimp_context_set_paint_mode().
      
      	* gdisplay.c: no need to reset the active display when deleting it
      	because the context connects to the "destroy" signal of the shell
      	now.
      
      	* 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.
      b74d2569
  15. 03 Oct, 1999 1 commit
    • Michael Natterer's avatar
      The GIMP Help System part II: press "F1" while browsing a menu to show the · a11f3334
      Michael Natterer authored
      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.
      a11f3334
  16. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      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).
      002aa905
  17. 26 Sep, 1999 1 commit
  18. 23 Sep, 1999 1 commit
  19. 14 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      Include config.h, guard inclusion of <unistd.h>. · e422b59e
      Tor Lillqvist authored
      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.
      e422b59e
  20. 13 Sep, 1999 1 commit
  21. 02 Sep, 1999 3 commits
  22. 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.
      868bdfff
  23. 21 Aug, 1999 1 commit
  24. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* 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.)
      f6858e21
  25. 13 Aug, 1999 1 commit
  26. 12 Aug, 1999 1 commit
  27. 29 Jul, 1999 1 commit
    • jaycox's avatar
      replace the cubic functions with a better/faster version supplied by David · 165c69ff
      jaycox authored
      
      
      	* app/paint_funcs.c, app/transform_core.c:  replace the cubic
      	functions with a better/faster version supplied by
      	David Hodson <hodsond@acm.org>
      
      	* app/brush_select.c: double clicking on a brush preview now opens up
      	the brush editor.  Update the text displayed when the active brush
      	changes size.
      
      	* app/paint_funcs.c: slight modification to overlay_pixels.
      165c69ff
  28. 24 Jul, 1999 1 commit
  29. 22 Jul, 1999 1 commit
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      
      	* app/menus.c: reordered <Image>/Select.
      
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/container_border_width/container_set_border_width/g,
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	strlen(x).
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
      a4c1e8a5
  30. 19 Jul, 1999 1 commit
  31. 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.
      1058f41d
  32. 18 May, 1999 1 commit
    • Michael Natterer's avatar
      store resolution values as doubles, not floats. · e494bbd5
      Michael Natterer authored
      1999-05-18  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/app_procs.c (and many of the files below): store resolution
      	values as doubles, not floats.
      
      	* app/brush_select.c
      	* app/pattern_select.c: hide the "refresh" button in client
      	dialogs. Don't know if this is desired but it fixes a SEGV.
      
      	* app/file_new_dialog.c: New ui using code/ideas from Austin,
      	Marco and Nick. The "size" frame is still a bit bloated but I
      	didn't want to reduce it's functionality right now. It's closer to
      	the result of the last discussion but not perfect yet...
      	Added a dialog to confirm image sizes larger than the new
      	max_new_image_size value.
      	The new "reset" button uses the values from gimprc.
      	Removed some #include's, added the copyright header.
      
      	* app/gimprc.[ch]: new rc variable max_new_image_size.
      
      	* app/preferences_dialog.c: added the "max image size"
      	option. Generalized the mem size unit code.
      
      	* app/resize.c: an additional box lets the offset widget always
      	shrink correctly.
      
      	* app/text_tool.c: fixed a minor memory leak.
      
      	* libgimp/Makefile.am: add all widgets to libgimpui.*
      
      	* libgimp/gimpfileselection.c: cosmetic changes.
      
      	* libgimp/gimplimits.h: a maximum image size which should satisfy
      	everybody ;)
      
      	* libgimp/gimpsizeentry.c: allow the creation of sizeentries
      	without fields. This (finally) enables arbitrary layout of the
      	spinbuttons.
      
      	* plug-ins/script-fu/script-fu-scripts.c: use the fileselection
      	widget for script parameter SF_FILENAME.
      e494bbd5
  33. 01 May, 1999 1 commit
    • BST 1999  Austin Donnelly's avatar
      app/brush_select.c app/brush_select.h app/pattern_select.c delay the popup · e789291f
      BST 1999 Austin Donnelly authored
      Sat May  1 22:18:55 BST 1999  Austin Donnelly  <austin@gimp.org>
      
      	* app/brush_select.c
      	* app/brush_select.h
      	* app/pattern_select.c
      	* app/pattern_select.h: delay the popup of pattern and brush
       	    preview window by 150 millisecs.  Allows flicker-free
       	    selection of brushes/patterns, and still have fast pattern
       	    preview like we used to.  Ideally, should really factor out
       	    the common code in these two files into one generic picker
       	    widget.
      
      	* app/free_select.c: cosmetic whitespace change.
      
      	* app/draw_core.c: use GDK_CAP_NOT_LAST, not GDK_CAP_BUTT,
       	    otherwise sequential line segments in XOR mode have
       	    single-pixel gaps between them.  Worse, if the segments are
       	    only one pixel long, you don't get _any_ lines.  XFree86 seems
       	    to ignore GDK_CAP_BUTT, which is why this bug hasn't been seen
       	    before.  NCD X servers comply with the spec a little more
       	    pedantically, so need GDK_CAP_NOT_LAST.  OS/2 and Win32 people
       	    should check that (eg) the lasso tool still provides proper
       	    visual feedback.
      e789291f
  34. 29 Apr, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.[ch] disabled setting the size of the brushes dialog · 02f6c21b
      Michael Natterer authored
      1999-04-29  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brush_select.[ch]
      	* app/pattern_select.[ch]: disabled setting the size of the
      	brushes dialog again because it still caused SIGFPE's in some rare
      	cases. I'm trying to fix that.
      	*Minimal* ui spacing changes. Some changes to make the code look
      	more similar (I'm a make-them-look-the-same fanatic ;)
      02f6c21b
  35. 23 Apr, 1999 3 commits
    • Michael Natterer's avatar
      added a "BG Color Fill" radio button. Toggling FG/BG with <shift> works in · f2546516
      Michael Natterer authored
      1999-04-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/bucket_fill.c: added a "BG Color Fill" radio button.
      	Toggling FG/BG with <shift> works in both color fill modes now.
      
      	* app/brush_select.c: session management sets the size of the
      	dialog again (depending on the current paint options mode because
      	bad things happen if the brush preview's size is reduced beyond
      	it's minimum).
      f2546516
    • Manish Singh's avatar
      gave parasite undo a MISC_UNDO class for now so it compiles · b8c19394
      Manish Singh authored
      * app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
      so it compiles
      
      * app/tools_cmds.c: fix crop invoker to give correct args to
      crop_image
      
      * app/color_cmds.c: s/GRAY/GRAY_LUT/g;
      
      * app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
      brush_select_dialog, s/active_dialogs/brush_active_dialogs/
      
      * app/gimage_cmds.[ch]
      * app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
      function from gimage_cmds to channel_ops, export offset and duplicate
      
      * app/gimpbrushlist.[ch]: removed PDB procs
      
      * app/gradient.[ch]: removed PDB procs,
      
      * app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
      grad_active_dialogs, gradient_select_dialog
      
      * app/gradient_select.c: removed PDB procs,
      s/active_dialogs/grad_active_dialogs/
      
      * app/patterns.[ch]: removed PDB procs
      
      * app/pattern_select.[ch]: removed PDB procs,
      s/active_dialogs/pattern_active_dialogs/
      
      * app/procedural_db.c: removed PDB procs and supporting functions
      
      * app/procedrual_db.h: fiddled with enums
      
      * app/channel_cmds.[ch]
      * app/drawable_cmds.[ch]
      * app/parasite_cmds.[ch]: pdbgenned now, removed header files
      
      * app/gimpparasite.c: minor cleanup
      
      * app/internal_procs.c: use pdbgen stuff
      
      * app/tools_cmds.c
      * app/text_tool_cmds.c: updated from pdbgen
      
      * app/brushes_cmds.c
      * app/brush_select_cmds.c
      * app/gradient_cmds.c
      * app/gradient_select_cmds.c
      * app/patterns_cmds.c
      * app/pattern_select_cmds.c
      * app/procedural_db_cmds.c: new pdbgen files
      
      * app/Makefile.am: file shuffle (see above)
      
      -Yosh
      b8c19394
    • Michael Natterer's avatar
      app/brush_select.[ch] made the previews change their size in sync with · f3c85b01
      Michael Natterer authored
      1999-04-23  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brush_select.[ch]
      	* app/pattern_select.[ch]: made the previews change their size in
      	sync with resizing the dialog. The previews auto-resize with their
      	parent frame now. Connect to the preview's "size_allocate" signal,
      	not to the frame's, don't "signal_connect_after". Get the size of
      	the preview from it's allocation and not from it's requisition.
      	There's no need to remember width, height and the frame in the
      	structures anymore, so I kicked them out. Tweaked the code to look
      	more similar.
      f3c85b01