1. 27 Feb, 2001 1 commit
  2. 21 Feb, 2001 1 commit
    • Michael Natterer's avatar
      Made the tool system work again and integrated it back with the · 99c52018
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the tool system work again and integrated it back with the
      	GimpContext. It's a hack between old, new and freshly hacked
      	stuff. There are still lots of warnings but at least we can switch
      	tools again.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptoolinfo.[ch]: resurrected as real object.
      	The GimpToolInfo objects are derived from GimpData, which gives
      	us the tool icon stuff for free. Also, we need a list of _objects_
      	which is allocated all the time. All tools are required to have
      	a "register" function which registers themselves with the list
      	of GimpToolInfo objects which is maintained by the tool manager.
      
      	* app/tools/tool.[ch]: made a real GtkObject with properly named
      	functions out of it. The former "active_tool_control" is of
      	course not the default implementation of the tool's "control"
      	method but a hack _around_ it, so it went to the tool manager.
      
      	* app/tools/color_picker.[ch]
      	* app/tools/measure.[ch]: ditto. Added "register" functions and
      	"destroy" implementations so the tools go away after use.
      
      	* app/tools/tool_manager.[ch]: badly hacked at the moment to keep
      	both the list of class structures _and_ the tool info list.
      
      	* app/tools/tools.c: call the tools' register functions.
      
      	* app/gimpcontext.[ch]: store a pointer to a GimpToolInfo object
      	as "active_tool" in the context, so we're independent of tools
      	being allocated or not. It's treated just like a brush or pattern
      	now.
      
      	* app/gimpdnd.[ch]: made tool DND work like all other DND types.
      
      	* app/devices.[ch]: also here: the tool is just a normal data object
      	now, resulting in removal of lots of code.
      
      	* app/commands.c
      	* app/context_manager.c: updated the tool select and context stuff
      	to work again.
      
      	* app/toolbox.c: removed the old pixmap buttons and put GimpPreviews
      	inside the tool buttons. Still needs an own preview type to
      	look nice.
      
      	* app/disp_callbacks.c
      	* app/about_dialog.c
      	* app/app_procs.c
      	* app/appenums.h
      	* app/apptypes.h
      	* app/gimage.c
      	* app/gimppalette.c
      	* app/gimppreview.c
      	* app/gimprc.c
      	* app/info_window.c
      	* app/menus.c
      	* app/palette_select.h
      	* app/scale.c
      	* app/scroll.c: lots of changes to make it work again.
      99c52018
  3. 14 Feb, 2001 1 commit
    • Nate Summers's avatar
      prototype for an extension that allows gmodules as plugins. Known bug: · 35ac032f
      Nate Summers authored
              * plug-ins/plugin-helper/*: prototype for an extension that allows
              gmodules as plugins.  Known bug: crashes on gmodules with a static "query" function
      
              * app/tools/tool.c
              * app/tools/tool.h: created new GimpTool object.  Did away with ToolInfo.
              Most tools still need to be ported over to the new api.
              * plug-ins/script-fu/script-fu-scripts.c: fixed typo in comment.  Pathetic, huh?
      35ac032f
  4. 04 Feb, 2001 1 commit
    • Michael Natterer's avatar
      renamed gimp_container_lookup() back to gimp_container_have(). Virtualized · 1994facc
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontainer.[ch]: renamed gimp_container_lookup() back
      	to gimp_container_have(). Virtualized the "add", "remove",
      	"have" and "foreach" methods and removed the "children" list.
      
      	* app/gimplist.[ch]: derived from GimpContainer now.
      
      	* app/Makefile.am
      	* app/gimpdatalist.[ch]: new object: an alphabetically sorted
      	GimpList with unique names.
      
      	* app/gimpbrushlist.[ch]: removed. It's job is done by the
      	GimpDataList now.
      
      	* app/brushes.[ch]: new files. Contain the "brushes_()" functions
      	for the global brush list.
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/brush_select.[ch]
      	* app/colormap_dialog.[ch]
      	* app/context_manager.c
      	* app/devices.c
      	* app/gimpbrush.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/tools/by_color_select.c
      	* app/tools/paintbrush.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* po/POTFILES.in: changed accordingly.
      1994facc
  5. 03 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · c46bdc37
      Michael Natterer authored
      2001-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpset.[ch]: removed.
      
      	* app/gimpcontainer.[ch]: some minor fixes, cleanup.
      
      	* app/context_manager.[ch]: made the "image_context" a GimpContainer
      	and moved it here...
      
      	* app/appenv.h
      	* app/main.c: ...from here.
      
      	* app/app_procs.c
      	* app/colormap_dialog.[ch]
      	* app/commands.c
      	* app/gimage.c
      	* app/gimpcontext.c
      	* app/gimpimage.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/lut_funcs.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pixel_region.c
      	* app/scale.c
      	* app/scroll.c
      	* app/selection.c
      	* app/temp_buf.c
      	* app/undo.c
      	* app/pdb/procedural_db.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/color_balance.c
      	* app/tools/color_picker.c
      	* app/tools/convolve.c
      	* app/tools/crop.c
      	* app/tools/curves.c
      	* app/tools/paint_core.c
      	* app/tools/transform_core.c: s/GimpSet/GimpContainer/g, removed
      	many useless #include "appenv.h".
      
      	* app/gimpdrawablepreview.c
      	* app/gdisplay.c: found two badly crashing bugs i have introduced
      	with my last changes here.
      c46bdc37
  6. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      
      	* po-libgimp/POTFILES.in: changed file locations.
      7a4260da
  7. 22 Jan, 2001 2 commits
    • Sven Neumann's avatar
      app/gdisplay.c app/gdisplay_ops.c app/info_window.c app/layer.c · 5591b7cd
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/info_window.c
      	* app/layer.c
      	* app/menus.c
      	* app/nav_window.c
      	* app/path.c
      	* app/scroll.[ch]: removed inclusion of superfluous headers and
      	cleaned up the source a little.
      5591b7cd
    • Sven Neumann's avatar
      configure.in app/Makefile.am moved all tool sources to app/tools · fafae590
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/tools/Makefile.am: moved all tool sources to app/tools
      
              * app/app_procs.c
              * app/brush_select.c
              * app/commands.c
              * app/context_manager.c
              * app/convert.c
              * app/cursorutil.c
              * app/devices.c
              * app/disp_callbacks.c
              * app/edit_selection.c
              * app/gdisplay.c
              * app/gimage.c
              * app/gimage_mask.c
              * app/gimpbrush.c
              * app/gimpbrushgenerated.c
              * app/gimpbrushpipe.c
              * app/gimpdnd.c
              * app/gimprc.c
              * app/global_edit.c
              * app/info_window.c
              * app/interface.c
              * app/menus.c
              * app/path.c
              * app/paths_dialog.c
              * app/paths_dialogP.h
              * app/scale.c
              * app/scroll.c
              * app/undo.c
              * app/pdb/color_cmds.c
              * app/pdb/text_tool_cmds.c
              * app/pdb/tools_cmds.c
              * po/POTFILES.in
              * tools/kernelgen.c
              * tools/pdbgen/Makefile.am
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/color.pdb
              * tools/pdbgen/pdb/text_tool.pdb
              * tools/pdbgen/pdb/tools.pdb: changed accordingly
      fafae590
  8. 21 Jan, 2001 1 commit
    • Sven Neumann's avatar
      changed destdir for app-side PDB wrappers to app/pdb · 6a31b131
      Sven Neumann authored
      2001-01-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: changed destdir for app-side PDB wrappers to
      	app/pdb
      
      	* app/Makefile.am: don't create libgimpim.a in app.
      
      	* configure.in
      	* app/pdb/Makefile.am
      	* app/pdb/internal_procs.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/*_cmds.c: moved PDB functions into their own subdirectory.
      
      	* app/internal_procs.[ch]
      	* app/procedural_db.[ch]
      	* app/*_cmds.c: removed here
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/bezier_select.c
      	* app/brush_select.c
      	* app/bucket_fill.c
      	* app/colormap_dialog.c
      	* app/fileops.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphelp.c
      	* app/gradient_select.c
      	* app/info_window.c
      	* app/invert.c
      	* app/lc_dialog.c
      	* app/menus.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/plug_in.h
      	* app/text_tool.c
      	* app/xcf.c
      	* po/POTFILES.in: changed accordingly
      6a31b131
  9. 14 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/apptypes.h app/brush_edit.c app/brush_select.c app/brushes_cmds.c · cac3f7cb
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/brushes_cmds.c
      	* app/channel.h
      	* app/colormap_dialog.c
      	* app/datafiles.[ch]
      	* app/devices.c
      	* app/docindex.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpcontextpreview.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplist.h
      	* app/gimpobject.h
      	* app/gimpset.[ch]
      	* app/gradient.c
      	* app/info_window.c
      	* app/layer.[ch]
      	* app/module_db.c
      	* app/palette.[ch]
      	* app/patterns.[ch]
      	* app/plug_in.[ch]
      	* app/undo_history.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/brushes.pdb
      
      	- Removed the "name" argument from all objects and use
      	  GimpObject's name.
      	- Use the same code in all "uniquefy name" functions (this
      	  functionality will be a method of the "GimpContainer" class).
      	- Renamed the parent instances of all objects to "parent instance".
      	- Added missing instance and class cast macros.
      	- Changed some "gchar *" to "const gchar *" parameters.
      cac3f7cb
  10. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  11. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  12. 13 Dec, 2000 1 commit
    • Sven Neumann's avatar
      app/color_picker.c app/convert.c app/curves.c app/gimpdrawable.c · 2458bfcb
      Sven Neumann authored
      2000-12-13  Sven Neumann  <sven@gimp.org>
      
              * app/color_picker.c
              * app/convert.c
              * app/curves.c
              * app/gimpdrawable.c
              * app/gimpimage.c
              * app/gimpimage.h
              * app/image_map.c
              * app/info_window.c
              * app/layer.c
              * app/undo.c: couldn't resist: renamed TYPE_HAS_ALPHA() to
              GIMP_IMAGE_TYPE_HAS_ALPHA()
      
              * plug-ins/common/sunras.c
              * plug-ins/common/xwd.c: small cleanups
      2458bfcb
  13. 27 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/color_select.c app/colormaps.[ch] removed unused global variables · c73b233f
      Michael Natterer authored
      2000-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_select.c
      	* app/colormaps.[ch]
      	* app/context_manager.c: removed unused global variables
      	[foreground|background]_pixel and [old|new]_color_pixel.
      
      	Initialize the colormap and visual stuff with GdkRGB instead of
      	GtkPreview functions (which are deprecated).
      
      	* app/[62 files]: removed #include's (started with colormaps.h and
      	couldn't stop). Also ordered them consistently and did some small
      	unrelated cleanups.
      	Removed variuos <stdlib.h> et.al. but checked the files carefully
      	before doing so. If I was too radical and you get warnings on your
      	platform, please flame me or just put them back :)
      c73b233f
  14. 20 Feb, 2000 1 commit
  15. 12 Feb, 2000 2 commits
  16. 11 Feb, 2000 1 commit
  17. 08 Feb, 2000 1 commit
  18. 07 Feb, 2000 1 commit
  19. 14 Jan, 2000 1 commit
    • Michael Natterer's avatar
      s/gtk_container_border_width/gtk_container_set_border_width/ · e88e3e44
      Michael Natterer authored
      2000-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/info_window.c:
      	s/gtk_container_border_width/gtk_container_set_border_width/
      
      	* plug-ins/common/engrave.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/oilify.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/ifscompose/Makefile.am
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/Makefile.am
      	* plug-ins/maze/maze_face.c
      	* plug-ins/pagecurl/Makefile.am
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/struc/Makefile.am
      	* plug-ins/struc/struc.c: more spinbuttons instead of entries,
      	dialog layout, stuff...
      e88e3e44
  20. 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
  21. 14 Dec, 1999 1 commit
  22. 30 Nov, 1999 2 commits
    • GMT 1999 Andy Thomas's avatar
      app/info_window.c · 30cb5a97
      GMT 1999 Andy Thomas authored
      Tue Nov 30 21:23:39 GMT 1999 Andy Thomas <alt@gimp.org>
      
      	* app/info_window.c
      
      	Fix crash where display closed & info dialog had not been used.
      	Yasuhiro SHIRASAKI pointed this problem out. Thanks.
      30cb5a97
    • GMT 1999 Andy Thomas's avatar
      app/commands.c app/disp_callbacks.c app/gdisplay.c app/gimprc.c · 7dfc54b9
      GMT 1999 Andy Thomas authored
      Mon Nov 29 23:51:26 GMT 1999 Andy Thomas <alt@gimp.org>
      
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/gimprc.h
      	* app/info_window.c
      	* app/info_window.h
      	* app/preferences_dialog.c
      	* app/undo_history.c
      
      	Info dialog now has option to follow the mouse movements or
      	the old behaviour of one dialog per display.
      	This dialog still needs some work.
      
      	Undo dialog now obeys the "tab" key in the display.
      7dfc54b9
  23. 30 Oct, 1999 1 commit
    • Michael Natterer's avatar
      app/gimpdnd.c remove the remaining defines of GRAD_CHECK_SIZE and include · 56d10ac4
      Michael Natterer authored
      1999-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.c
      	* app/undo_history.c: remove the remaining defines of
      	GRAD_CHECK_SIZE and include libgimp/gimplimits.h instead.
      
      	* app/undo_history.c: connect to the image's "rename" signal to
      	update the window title.
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/info_window.[ch]: did the same for the info dialog.
      	The info window has to remember the gdisplay to disconnect from
      	the image's "rename" signal, so I removed the gdisplay parameter
      	from the update functions.
      56d10ac4
  24. 27 Oct, 1999 1 commit
  25. 26 Oct, 1999 1 commit
  26. 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
  27. 25 Aug, 1999 1 commit
    • Tomas Ogren's avatar
      i18n fix · 8150ec96
      Tomas Ogren authored
      1999-08-26  Tomas Ogren  <stric@ing.umu.se>
      
      * app/info_window.c: i18n fix
      8150ec96
  28. 12 Aug, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/commands.c app/commands.h app/disp_callbacks.c app/gdisplay.c · 2557c517
      BST 1999 Andy Thomas authored
      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.
      2557c517
  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. 22 May, 1999 1 commit
    • Michael Natterer's avatar
      app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c · dcfb450b
      Michael Natterer authored
      1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all files with resolution info]
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/pgn/png.c
      	* plug-ins/tiff/tiff.c: double instead of float for all resolution
      	and unit-factor variables.
      
      	* app/commands.c
      	* app/crop.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/move_tool.c
      	* app/resize.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
      	to all functions which create sizeentries. Never create a
      	sizeentry with UNIT_PIXEL but with the image's unit and set it's
      	unit to UNIT_PIXEL after creation if dot_for_dot is on.
      	This way the image's unit can always be picked from the menu
      	without selecting "More...".
      
      	* app/interface.c: made the query_*_box() functions use the
      	ActionArea.
      
      	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
      	selection dialog.
      dcfb450b
  31. 02 Apr, 1999 1 commit
    • Michael Natterer's avatar
      made function headers ansi compliant. · f70fc7d3
      Michael Natterer authored
      1999-04-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/gimage_mask.[ch]: made function headers ansi compliant.
      
      	* app/file_new_dialog.c
      	* app/preferences_dialog.c: minor GUI and signal handling
      	changes. Added a WM hint pixmap to the prefs dialog but commented
      	it out because it looked ugly. If someone has a nice pixmap,
      	please try it and tell me ;)
      
      	* app/color_picker.c
      	* app/crop.c
      	* app/info_window.c
      	* app/perspective_tool.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/info_dialog.[ch]: the info_dialog allows scales, spinbuttons
      	and sizeentries now. Made some dialogs use these widgets and
      	added unit support. Sprinkled some g_snprintf's, removed
      	#include's, ansi issues, ...
      
      	* app/session.c: don't call a NULL callback.
      
      	* libgimp/gimpsizeentry.[ch]: new function
      	gimp_size_entry_add_field() which allows a more flexible GUI
      	layout. More intelligent signal handling.
      f70fc7d3
  32. 07 Feb, 1999 1 commit
    • Manish Singh's avatar
      fix setting of $localedir, and use $CONFIG_SHELL to run config.status · dea84972
      Manish Singh authored
      * configure.in: fix setting of $localedir, and use $CONFIG_SHELL
      to run config.status (variation upon gimp-joke-990122-1)
      
      * plug-ins/fp/fp_gtk.c: make label code consistent so we
      don't get confused (gimp-ruth-990131-0)
      
      * app/app_procs.c: toast stale swap files on startup
      
      * app/general.[ch]: removed prune_filename
      
      * app/by_color_select.c
      * app/colormap_dialog.i.c
      * app/fileops.c
      * app/gdisplay.c
      * app/gdisplay_ops.c
      * app/gimpbrush.c
      * app/gradient.c
      * app/info_window.c
      * app/menus.c
      * app/palette.c
      * app/patterns.c: s/prune_filename/g_basename/
      
      -Yosh
      dea84972
  33. 25 Dec, 1998 1 commit
  34. 05 Dec, 1998 1 commit
    • GMT 1998  Austin Donnelly's avatar
      app/commands.[ch] app/edit_selection.c app/gdisplay.[ch] · ccfeb254
      GMT 1998 Austin Donnelly authored
      Sat Dec  5 21:31:57 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
      
      	* app/commands.[ch]
      	* app/edit_selection.c
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/image_render.c
      	* app/info_window.c
      	* app/magnify.c
      	* app/menus.c
      	* app/scale.c: image rendering now happens with float scale
      	factors, independent in X and Y axes.  Turning on dot-for-dot in view
      	menu does what gimp always used to do (ie one image pixel becomes
      	one monitor pixel).  Dot-for-dot is on by default so people
      	shouldn't notice any difference unless they load an image that's
      	not at 72 dpi and also turn off dot-for-dot.
      
      	* app/app_procs.c
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: new gimprc options
      	(monitor-xresolution <float>) and corresponding
       	(monitor-yresolution <float>).  Uglyness in preferences dialog to
      	add a "Monitor" page to the notebook, allowing user to set their
      	monitor's resolution or take it from the X server instead.  This
      	badly needs cleaned up :(
      
      	* plug-ins/newsprint/newsprint.c: oops - this hasn't been working
      	for grayscale images since my last checkin.  Now fixed.
      ccfeb254
  35. 23 Nov, 1998 1 commit
  36. 14 Nov, 1998 1 commit
    • GMT 1998  Austin Donnelly's avatar
      app/gimpimage.h app/gimpimageP.h app/gimpimage.c app/gimage_cmds.c · 9dd1c38b
      GMT 1998 Austin Donnelly authored
      Sat Nov 14 23:16:55 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
      
      	* app/gimpimage.h
      	* app/gimpimageP.h
      	* app/gimpimage.c
      	* app/gimage_cmds.c
      	* app/file_new_dialog.c
      	* app/info_window.c
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/tiff/tiff.c: gimp_image_{get,set}_resolution() calls
      	now get and set both X and Y resolutions.  Gimp image struct now
      	has two resolution fields, one for each direction.  I've updated
      	the two plugins which used the info (TIFF and newsprint).
      9dd1c38b
  37. 05 Oct, 1998 1 commit
    • Manish Singh's avatar
      applied gimp-bjj-980922-0, makes get_token's EOF report "sticky" · 65ab53a8
      Manish Singh authored
      * app/general.c: applied gimp-bjj-980922-0, makes get_token's
      EOF report "sticky"
      
      * app/devices.c: applied gimp-bjj-980922-1, sanity check our
      saved device info for NULL pointers
      
      * app/file_new_dialog.c
      * app/gimage_cmds.[ch]
      * app/gimpimage.[ch]
      * app/info_window.c
      * app/internal_procs.c
      * libgimp/gimp.h
      * libgimp/gimpimage.c
      * plug-ins/tiff/tiff.c: applied gimp-austin-980916-0, adds resolution
      info to GimpImage, with accessors, and support in the tiff plug-in
      
      -Yosh
      65ab53a8