1. 28 Sep, 2009 1 commit
  2. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  3. 09 Nov, 2008 1 commit
    • Michael Natterer's avatar
      move GimpCursorView typedef from here... · 069bbbd1
      Michael Natterer authored
      2008-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: move GimpCursorView typedef from
      	here...
      
      	* app/display/display-types.h: ...to here.
      
      
      svn path=/trunk/; revision=27585
      069bbbd1
  4. 09 Dec, 2006 1 commit
  5. 25 Aug, 2004 1 commit
    • David Odin's avatar
      app/display/gimpnavigationview.c renamed these files to... · f168881c
      David Odin authored
      * app/display/gimpnavigationview.c
      * app/display/gimpnavigationview.h: renamed these files to...
      
      * app/display/gimpnavigationeditor.c
      * app/display/gimpnavigationeditor.h: ... these files, and of course
        changed GimpNavigationView to GimpNavigationEditor since it is really
        inherited from GimpEditor anyway.
      
      This will leave the gimp_navigation_view namespace for the renaming
      from gimp_navigation_preview.
      
      * app/display/Makefile.am
      * app/display/display-types.h
      * app/display/gimpdisplayshell-callbacks.c
      * app/gui/dialogs-constructors.c: Changed accordlingly.
      f168881c
  6. 19 Jul, 2004 1 commit
    • Michael Natterer's avatar
      removed GimpConfigInterface typedef, added comments to typedefs which · 9357713a
      Michael Natterer authored
      2004-07-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/config-types.h: removed GimpConfigInterface typedef,
      	added comments to typedefs which don't belong here.
      
      	* app/config/gimpconfig.h: added GimpConfigInterface typedef.
      
      	* app/core/core-types.h
      	* app/display/display-types.h: added commented out typedefs for
      	types that live in config-types.h for obscure reasons.
      
      	* app/core/core-types.h: reordered stuff to match the order in the
      	API docs (makes keeping stuff in sync much easier).
      9357713a
  7. 10 May, 2004 1 commit
    • Sven Neumann's avatar
      added a stock icon for "view-zoom-1-1". · a08d648a
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
      
      	* app/widgets/gimpunitcombobox.[ch]: added functions to get and
      	set the active unit.
      
      	* app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
      	need to special case GIMP_UNIT_PIXEL.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpscalecombobox.[ch]: new widget to be used in the
      	display's statusbar.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: always display the
      	cursor position, not only if the cursor is inside the image. Added
      	new function gimp_display_shell_clear_cursor() to clear the cursor
      	label.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpstatusbar.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c: do not explicitely resize
      	the statusbar cursor label, connect to GimpDisplayShell::scaled
      	instead. Added a GimpScaleComboBox to the status bar.
      a08d648a
  8. 09 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am app/display/display-types.h added GimpCanvas, · 621c5832
      Sven Neumann authored
      2003-11-10  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpcanvas.[ch]: added GimpCanvas, derived from
      	GtkDrawingArea.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.[ch]
      621c5832
  9. 07 Sep, 2003 1 commit
    • Michael Natterer's avatar
      app/display/display-types.h app/tools/tools-types.h · 47ba171a
      Michael Natterer authored
      2003-09-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/display-types.h
      	* app/tools/tools-types.h
      	* app/vectors/vectors-types.h
      	* app/widgets/widgets-types.h: removed some forgotten cruft.
      
      	* app/vectors/gimpbezierstroke.h
      	* app/vectors/gimpstroke.h
      	* app/vectors/gimpvectors.h: added class struct typedefs here.
      47ba171a
  10. 15 Apr, 2003 1 commit
    • Sven Neumann's avatar
      Removed support for pluggable tools: · 0c399e5c
      Sven Neumann authored
      2003-04-15  Sven Neumann  <sven@gimp.org>
      
      	Removed support for pluggable tools:
      
      	* configure.in: bumped version number to 1.3.15.
      
      	* Makefile.am
      	* libgimpproxy
      	* libgimptool
      	* plug-ins/Makefile.am
      	* plug-ins/plugin-helper
      	* plug-ins/tools: removed libgimpproxy, libgimptool and plug-ins
      	that used it.
      
      	* tools/Makefile.am
      	* tools/gimp-mkproxy: removed tool that used to generate
      	libgimpproxy.
      
      	* app/core/core-enums.h
      	* app/core/gimpchannel.h
      	* app/display/display-types.h
      	* app/widgets/widgets-enums.h: removed proxy-skip/resume stuff.
      
      	* app/core/gimpobject.c: use gimp marshallers.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptool.h
      	* app/tools/tools-enums.[ch]: moved these files back from
      	libgimptool.
      
      	* app/tools/gimptool.c
      	* app/tools/gimptoolcontrol.h: merged back functionality from
      	libgimptool.
      
      	* app/Makefile.am
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbucketfilltool.h
      	* app/tools/gimpdrawtool.h
      	* app/tools/gimpimagemaptool.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimptoolmodule.c
      	* app/tools/tool_manager.c
      	* app/tools/tools-types.h
      	* app/tools/tools.c
      	* tools/pdbgen/Makefile.am: changed accordingly.
      0c399e5c
  11. 07 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · b6c56ff9
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/nav_window.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpnavigationview.[ch]: new widget partially based
      	on the removed nav_window.
      
      	* libgimpproxy/gimpproxytypes.h: regnenerated.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_nav_preview_resized(). The new config system will allow
      	us to get notified of changes.
      
      	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
      	signals.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
      	"scrolled" appropriately. Removed nav_window stuff.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: made the navigation dialog dockable.
      
      	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.
      
      	* app/gui/preferences-dialog.c
      	* app/gimprc.[ch]
      	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
      	as it's now a dockable and it's state is saved in sessionrc.
      
      	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
      	mouse cursors.
      
      	* app/widgets/gimpimagedock.c: made it capable of holding
      	display-related dialogs (like GimpNavigationView) by connecting
      	to the context's "display_changed" signal.
      
      	* app/widgets/widgets-types.h: removed inclusion of
      	"display/display-types.h".
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimpvectorslistview.c: warn about inclusion of
      	"display/display-types.h".
      b6c56ff9
  12. 05 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · c86ca2da
      Michael Natterer authored
      2002-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp.[ch]: ...and added here.
      
      	* app/widgets/widgets-enums.[ch]: added GimpHelpBrowserType here
      	as registered enum. Added an evil hack with GimpCursorType so
      	app/config/gimpguiconfig.h can include this file.
      
      	* app/widgets/gimpcursor.c: added an assertion because of the
      	changed GimpCursorType.
      
      	* app/config/gimpguiconfig.[ch]: added a property for the help
      	browser type.
      
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/gui/preferences-dialog.c
      	* tools/pdbgen/pdb/help.pdb
      
      	* app/pdb/help_cmds.c: regenerated.
      
      	Some nav_window cleanup before chopping:
      
      	* app/nav_window.[ch]: removed the old preview code and use
      	GimpNavigationPreviews only. Namespaceified all functions. Speak
      	in terms of GimpDisplayShell, not GimpDisplay. Lots of internal
      	cleanup.
      
      	* app/gui/gui-types.h: removed NadiagtionDialog here...
      
      	* app/display/display-types.h: ...and added it here.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the navigation button and call nav_window_show_popup() from there.
      
      	* app/display/gimpdisplayshell.c: free shell->nav_dialog
      	unconditionally, connect to the new callback.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/view-commands.c: changed accordingly.
      
      	* app/widgets/gimppreview.c (gimp_preview_set_viewable): the
      	assertion introduced recently was too tight, breaking
      	GimpNavigationPreview. Changed it to do an "is a" check, not exact
      	preview type matching.
      
      	* app/widgets/gimpimagepreview.c: added quick-hack support for
      	xres != yres.
      
      	* app/widgets/gimpnavigationpreview.[ch]: made
      	gimp_navigation_preview_grab_pointer() public so the nav_window
      	can call it.
      
      	Unrelated:
      
      	* app/display/gimpdisplay.c: removed the gui/ dependency from this
      	file by removing info_window stuff.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_flush): update
      	the info_window here.
      
      	* app/gui/dialogs-constructors.c (dialogs_indexed_palette_new): call
      	gimp_dockable_set_context() like all other constructors.
      
      	* app/undo.c
      	* app/paint/gimppaintcore.h: some more include cleanup.
      c86ca2da
  13. 29 Mar, 2002 1 commit
  14. 03 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/display-types.h new widget derived · 0440bbbf
      Michael Natterer authored
      2002-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpstatusbar.[ch]: new widget derived from
      	GtkStatusbar.  Contains the coordinates display, a progress bar
      	which is also used for status message display and a cancel button.
      	Added a simplified API for pushing/popping messages which takes a
      	string as context_id and does the conversion to guint internally
      	on each call.
      
      	* app/display/gimpdisplayshell.[ch]: removed the status bar code.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/view-commands.c
      	* app/gimpprogress.c: changed accordingly.
      
      	Removed knowledge about GimpDisplayShell from tools:
      
      	* app/tools/gimptool.[ch]: added gimp_tool_push_status() and
      	gimp_tool_pop_status() so tools don't need to fiddle with
      	display details.
      
      	* app/tools/gimpdrawtool.[ch]: pass a GimpDisplay instead of
      	a GdkWindow to gimp_draw_tool_start() (the window passed was
      	always gdisp->shell->canvas->window).
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.[ch]
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.[ch]
      	* app/tools/gimptransformtool.c: changed accordingly:
      
      	- pass GimpDisplay to gimp_draw_tool_start().
      	- use GimpTool's new status push/pop functions.
      	- removed the statusbar context_id from all tool structs.
      
      	* app/gui/dialogs-constructors.[ch]: a bit cleanup in preparation
      	of dockable editor dialogs.
      0440bbbf
  15. 18 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am new file with GimpCursorMode enum. · 39ab860e
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-enums.h: new file with GimpCursorMode enum.
      
      	* app/display/display-types.h: removed CursorMode enum here, include
      	display-enums.h.
      
      	* app/gimprc.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]: implemented the remaining properties.
      39ab860e
  16. 09 Dec, 2001 1 commit
    • Sven Neumann's avatar
      introduced new trigraph keyword /*< pdb-skip >*/ used to skip enums for · 002ac38a
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/enumgen.pl: introduced new trigraph keyword
      	/*< pdb-skip >*/ used to skip enums for inclusion in libgimp when
      	parsing headers. The keyword /*< skip >*/ is still used to skip
      	enum values. This change is necessary since glib-mkenums also uses
      	/*< skip >*/.
      
      	* app/base/base-types.h * app/base/base-enums.h: moved
      	GimpCheckType and GimpCheckSize to base-enums.h so they get
      	registered with the type system, marked them as /*< pdb-skip >*/.
      
      	* app/core/core-types.h * app/display/display-types.h *
      	app/paint-funcs/paint-funcs-types.h * app/tools/gimppainttool.h *
      	app/tools/tools-types.h: changed /*< skip >*/ to /*< pdb-skip >*/.
      002ac38a
  17. 28 Nov, 2001 1 commit
    • Michael Natterer's avatar
      include the new "paint-funcs/paint-funcs-types.h". · 6cf34005
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: include the new
      	"paint-funcs/paint-funcs-types.h".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs-types.h: new file. Includes
      	"base/base-types.h".
      
      	* app/paint-funcs/paint-funcs.[ch]: removed the enums here,
      	include "paint-funcs-types.h".
      
      	* app/widgets/widgets-types.h: include "display/display-types.h"
      
      	* app/display/display-types.h: include "widgets/widgets-types.h".
      
      	* app/tools/tools-types.h: include "display/display-types.h"
      
      	* app/gui/gui-types.h: include "tools/tools-types.h".
      
      	The order of namespaces/dependencies should be (but is not):
      
      	(base, paint-funcs) -> (core, file, xcf, pdb) ->
      	(widgets, display) -> tools -> gui
      
      	* app/path.c: include "tools/tools-types.h".
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-guides.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-scale.[ch]: new files.
      
      	* app/core/gimpimage.[ch]: removed the stuff which is in the new
      	files. Reordered all functions in both the .h and .c files,
      	commented the groups of functions.
      
      	* app/core/gimpcontainer.c: create the handler_id using a counter,
      	not the address of a pointer, because the address *may* be the
      	same twice, added debugging output.
      
      	* app/core/gimpviewable.[ch]: added primitive support for getting
      	a preview GdkPixbuf.
      
      	* app/nav_window.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.[ch]
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/xcf/xcf-load.c: changed accordingly, some cleanup.
      
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, reordered functions.
      
      	* app/plug_in.c: set the labels of the "Repeat" and "Re-Show" menu
      	items to the name of the last plug-in (Fixes #50986).
      
      	* app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and
      	"Redo" to the resp. undo names. Much simplified the WM icon stuff
      	by removing most code and using gimp_viewable_get_new_preview_pixbuf().
      
      	* app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark
      	returned by gimp_container_add_handler().
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      6cf34005
  18. 29 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Cleanup weekend... · 05e15eb1
      Michael Natterer authored
      2001-10-29  Michael Natterer  <mitch@gimp.org>
      
      	Cleanup weekend...
      
      	* app/app_procs.c: pass "no_interface" to gimp_new().
      
      	* app/core/gimp.[ch]: added "gboolean no_interface" and the
      	load_procs and save_procs GSLists.
      
      	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
      	GimpToolInfo object so more functions find their context without
      	accessing the global "the_gimp" variable.
      
      	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
      	typedef.
      
      	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
      	pass around lots of "Gimp" pointers. Removed the global load_procs
      	and save_procs variables here. Use access() to find out whether a
      	file is readable/writable, removed the manual voodoo and it's
      	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
      	parameter to file_save(), removed file_save_with_proc().
      
      	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
      	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
      	This reduces the usage of the global "the_gimp" hack to zero
      	in app/gui/... yeah.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/select-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: use the passed "Gimp" pointer.
      
      	* app/gui/color-area.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/tool-options-dialog.[ch]
      	* app/gui/toolbox.c: pass around lots more "Gimp" and
      	"GimpContext" pointers and don't use "the_gimp" any more.
      
      	* app/tools/gimptool.h: added a pointer to the corresponding
      	GimpToolInfo object (which in turn has a pointer to a Gimp).
      
      	* app/tools/tool_manager.[ch]: set the pointer after creating the
      	tool object. Removed tool_manager_get_info_by_tool() as there is a
      	tool->tool_info pointer now.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/path_tool.c
      	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
      	Use tool->tool_info and tool_info->gimp in some places to get
      	rid of using "the_gimp".
      
      	Removing the remaining ones involves changing the tool options
      	system and is scheduled next...
      
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
      	file_open_*() functions.
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]
      	* app/image_map.[ch]
      	* app/nav_window.[ch]
      	* app/path.c
      	* app/path_bezier.c
      	* app/path_transform.h
      	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g
      
      	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
      	members of the "Gimp" object now.
      
      	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      05e15eb1
  19. 25 Sep, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] · f235eabb
      Michael Natterer authored
      2001-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/disp_callbacks.[ch]
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/gximage.[ch]
      	* app/image_render.[ch]
      	* app/interface.[ch]
      	* app/marching_ants.h
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/selection.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-ops.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gximage.[ch]: added here.
      
      	* app/[many files]
      	* app/gui/[many files]
      	* app/tools/*
      	* app/widgets/[many files]: changed accordingly. Still very
      	incomplete separation of the display stuff but it at least
      	compiles.
      
      	* tools/pdbgen/pdb.pl:
      	* tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
      	s/"gdisplay.h"/"display/gimpdisplay.h"/.
      
      	* app/pdb/display_cmds.c: regenerated.
      f235eabb
    • Michael Natterer's avatar
      renamed it to GimpDisplay and made it a GimpObject subclass. · b2215a1f
      Michael Natterer authored
      2001-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.[ch]: renamed it to GimpDisplay and made it a
      	GimpObject subclass.
      
      	* app/disp_callbacks.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/display/display-types.h: changed accordingly.
      
      	* app/core/gimpimage.[ch]: new signal "selection_control".
      
      	* app/core/core-types.h: moved the SelectionControl enum and all
      	other core enums here.
      
      	* app/gui/gui.c: connect to the images' "selection_control" signal
      	and call gdisplays_selection_visibility().
      
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-offset.h
      	* app/core/gimpimage-convert.h
      	* app/core/gimpimage-mask.c
      	* app/core/gimplayer.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: changed accordingly.
      
      	* app/gui/colormap-dialog.[ch]: GObject porting.
      
      	* tools/pdbgen/Makefile.am: removed headers which no longer
      	contain enums.
      
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb: include files which are no longer
      	included automatically by the enum voodoo.
      
      	* app/pdb/convert_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      b2215a1f
  20. 17 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added app/display/ and app/plug-in/. Empty for now except for the types · 01b780d6
      Michael Natterer authored
      2001-08-17  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added app/display/ and app/plug-in/. Empty for
      	now except for the types files.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h: new files for typedefs.
      
      	* app/appenv.h: added MessageHandlerType and StackTraceMode here.
      
      	* app/undo_types.h: moved undo struct typedefs here.
      
      	* app/tools/tools-types.h
      	* app/core/core-types.h: added some enums and Tattoo here
      	(renamed to GimpTattoo).
      
      	* app/gdisplay.h: temp_hack: #include "display/display-types.h"
      
      	* app/gimphelp.c: s/gtk_idle_add/g_idle_add/
      
      	* app/gimprc.c: don't use "gimprc" in token handlers but the
      	passed "val1p" and "val2p".
      
      	* app/image_map.[ch]: cleanup in preparation of making a GObject
      	out of it.
      
      	* app/base/pixel-region.[ch]: no need to pass the
      	PixelRegionIterator around as void pointer.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpcontext.[ch]
      	* app/core/gimptoolinfo.[ch]
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp
      	object.
      
      	* app/batch.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/interface.c
      	* app/main.c
      	* app/path.[ch]
      	* app/pathP.h
      	* app/plug_in.h
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/error-console-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/indicator-area.c
      	* app/gui/info-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/view-commands.c
      	* app/tools/gimpinktool-blob.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include
      	the new types files, include <glib-object.h> instead of >gtk/gtk.h>.
      	Bad hacks to get rid of SELECTION_OFF and friends in core/ (will
      	be replaced ba a signal soon).
      
      	* tools/pdbgen/Makefile.am: changed list of headers scanned for
      	enums accordingly.
      
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added
      	hacks to ensure that all foo-types.h files are included before all
      	other gimp internal includes, include "pdb-types.h" unconditionally.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/*_cmds.c: regenerated.
      01b780d6
  21. 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
  22. 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
  23. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  24. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  25. 11 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/gimphelp.h libgimp/gimp.h declare the gimp_standard_help_func in · d5e99ee9
      Michael Natterer authored
      2000-01-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.h
      	* libgimp/gimp.h
      	* libgimp/gimphelpui.[ch]: declare the gimp_standard_help_func in
      	gimphelpui.h because libgimp widgets must not include libgimp/gimp.h.
      
      	* libgimp/gimpdialog.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpunitmenu.c: use the dialog constructor for the
      	export dialog and the unit selection.
      
      	* plug-ins/gpc/gpc.[ch]
      	* plug-ins/megawidget/megawidget.[ch]: removed unused functions
      	(dialog creation and some other stuff). The rest of these libs is
      	scheduled for removal, too...
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap/Makefile.am
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/AlienMap2/Makefile.am
      	* plug-ins/borderaverage/Makefile.am
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/fp/Makefile.am
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/rcm/rcm_callback.[ch]
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/sinus/sinus.c: standard ui (spacings etc.) for some
      	more plugins. Did some indentation, prototyping and I18N fixes.
      d5e99ee9
  26. 05 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed most functions. Show the help page in an idle function to avoid · ee6ad0e2
      Michael Natterer authored
      2000-01-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.[ch]: removed most functions. Show the help page in
      	an idle function to avoid confusion with calling the temporary
      	help browser procedure in the middle of the "gimp_help" PDB call.
      	(I beleive this should work, so this is maybe a workaround for
      	some other bug).
      
      	* app/gimpui.[ch]: removed the dialog functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimphelpui.[ch]: new files. Moved most of the help
      	functions and the dialog constructors to libgimp and libgimpui.
      
      	* libgimp/gimp.h: declaration of the "gimp_help*" functions.
      
      	* libgimp/gimpui.h: include "gimpdialog.h" and "gimphelpui.h".
      
      	* plug-ins/common/grid.c: use the dialog constructor. It's now
      	possible to show the plugin's help with "F1".
      ee6ad0e2
  27. 19 Dec, 1999 2 commits
  28. 20 Nov, 1999 1 commit
    • Michael Natterer's avatar
      Reorganized the core menu items (everything except <Image>/Filters). · e46eaf86
      Michael Natterer authored
      1999-11-20  Michael Natterer  <mitch@gimp.org>
      
      	Reorganized the core menu items (everything except
      	<Image>/Filters). Everything is of course trivial to change again,
      	so please comment on the new "menu feeling" ;-)
      
      	* app/menus.[ch]:
      
      	- Applied the suggestions collected by Olof.
      	- Added "..." to all items which open a dialog.
      	- Introduced some additional separators (e.g. in "Dialogs").
      	- Reorder some plugins and the color correct tools after
      	  initialisation.
      	- A menu entry to invoke the tooltips inspector.
      	- A debugging menu entry which dumps the menu paths and their help
      	  pages (will of course go away when the help sys is consistent).
      
      	There are currently two identical "Help" menus because
      	<Toolbox>/Help trashes the menu bar if the toolbox is too narrow
      	(gtk doesn't seem to support multi-line menubars, any idea?)
      
      	* app/app_procs.c: call menus_reorder_plugins() after loading the
      	plugins to beautify the "Xtns" menu.
      
      	* app/commands.[ch]: reordered some functions to match the new
      	menu structure (for easier source navigation) and renamed some to
      	be consistent (e.g. all help functions are now called help_*).
      
      	Show/Hide the rulers with ordinary gtk_widget_[show|hide]()
      	commands. I've tested it several times and it looks exactly the
      	same as the old code which used internal gtk knowledge.
      
      	* app/gdisplay.c: applied the menu changes to
      	gdisplay_set_menu_sensitivity().
      
      	* app/gimphelp.[ch]: new public function gimp_context_help() which
      	invokes the tooltips inspector. Code cleanup.
      
      	* app/resize.c: changed the dialogs' titles to match the menu entries.
      
      	* app/session.c: renamed the gradient selection cmd callback to be
      	consistent with brushes/patterns.
      
      	* app/tools.c: added "..." to the menu paths of the tools which
      	have dialogs.
      
      	* app/fileops.c
      	* app/channels_dialog.c
      	* app/layers_dialog.c
      	* app/paths_dialog.c: added some "...".
      
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/normalize.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/fp/fp.c
      	* plug-ins/print/print.c
      	* plug-ins/rcm/rcm.c: changed the menu paths and added "...".
      e46eaf86
  29. 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
  30. 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
  31. 28 Jul, 1999 1 commit
  32. 18 Apr, 1999 1 commit
    • Manish Singh's avatar
      new file, containes the PDB stuff for most of the tools · ccac10a4
      Manish Singh authored
      * app/tools_cmds.c: new file, containes the PDB stuff for most
      of the tools
      
      * app/gimprc_cmds.c: new file, PDB interface stuff for gimprc
      access
      
      * app/Makefile.am: added tools_cmds.c and gimprc_cmds.c
      
      * app/airbrush.[ch]
      * app/blend.[ch]
      * app/bucket_fill.[ch]
      * app/by_color_select.[ch]
      * app/clone.[ch]
      * app/color_picker.[ch]
      * app/convolve.[ch]
      * app/crop.[ch]
      * app/ellipse_select.[ch]
      * app/eraser.[ch]
      * app/flip_tool.[ch]
      * app/free_select.[ch]
      * app/fuzzy_select.[ch]
      * app/gimprc.[ch]
      * app/paintbrush.[ch]
      * app/pencil.[ch]
      * app/perspective_tool.[ch]
      * app/rect_select.c app/rect_select.h
      * app/rotate_tool.[ch]
      * app/scale_tool.[ch]
      * app/shear_tool.[ch]: bye bye PDB stuff (exported necessary enums
      functions, vars, etc.)
      
      * app/internal_procs.c: use register_foo functions
      
      * app/blend.[ch]: GradientType enum case changed
      
      * app/bucket_fill.[ch]: s/FillMode/BucketFillMode/, made the enum
      more consistent
      
      * app/clone.[ch]: capitalized the CloneType enum
      
      * app/color_picker.[ch]: changed get_color to pick_color so we don't
      conflict with colormaps.c get_color
      
      * app/convolve.[ch]: capitalized the ConvolveType enum
      
      * app/paint_core.h: made a GradientPaintMode enum
      
      * app/transform_core.h: BoundingBox enum
      
      * app/scale_tool.c: use the generic bounding box enum for X1, Y1, etc.
      
      * app/shear_tool.[ch]: turned HORZ and VERT into a ShearType enum
      
      -Yosh
      ccac10a4
  33. 10 Apr, 1999 1 commit
    • Manish Singh's avatar
      new file (from pdbgen) · d6116b8d
      Manish Singh authored
      * text_tool_cmds.c: new file (from pdbgen)
      
      * Makefile.am: add new file, use AM_CPPFLAGS instead of CPPFLAGS
      
      * internal_procs.c: register pdbgened text_tool procs
      
      * text_tool.c: remove PDB stuff, export text_render and
      text_get_extents and SizeType and SUPERSAMPLE symbols
      
      * text_tool.c: remove PDB stuff
      
      * blend.[ch]
      * bucket_fill.[ch]
      * clone.[ch]
      * convolve.[ch]: export some enums
      
      * channel.h
      * paint_core.h: #define->enum
      
      * channel.c
      * gimpparasite.c
      * parasitelist.c
      * pixel_processor.c: warning cleanup
      
      * convert_cmds.c
      * paths_cmds.c: slight pdbgen changes
      
      -Yosh
      d6116b8d
  34. 13 Apr, 1998 1 commit
  35. 24 Nov, 1997 1 commit