1. 10 Jul, 2004 1 commit
    • Michael Natterer's avatar
      Removed any remaining GUI dependency from the PDB wrappers: · 2176afbb
      Michael Natterer authored
      2004-07-10  Michael Natterer  <mitch@gimp.org>
      
      	Removed any remaining GUI dependency from the PDB wrappers:
      
      	* app/core/gimp.[ch]: added vtable entries for the display and
      	help stuff.
      
      	* app/widgets/gimphelp.[ch]: renamed gimp_help() to
      	gimp_help_show().
      
      	* app/gui/gui-vtable.c: implement the new display and help vtable
      	entries.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/help.pdb: use the new functions of the Gimp
      	object instead of using stuff from display/ and widgets/.
      
      	* tools/pdbgen/app.pl: removed bad hacks which enabled including
      	stuff from gui/, display/ and widgets/.
      
      	* app/Makefile.am: link widgets-enums.o, display-enums.o and
      	gimpdisplayoptions.o into the gimp-console binary because they are
      	needed for the config system and don't depend on any GUI stuff.
      
      	* app/pdb/Makefile.am: s/GTK_CFLAGS/GDK_PIXBUF_CFLAGS/
      
      	* app/pdb/display_cmds.c
      	* app/pdb/help_cmds.c: regenerated.
      2176afbb
  2. 28 Aug, 2003 1 commit
    • Michael Natterer's avatar
      Completed the new help infrastructure. Needs some polishing but basically · 1f2c75e5
      Michael Natterer authored
      2003-08-28  Michael Natterer  <mitch@gimp.org>
      
      	Completed the new help infrastructure. Needs some polishing but
      	basically works as proposed:
      
      	* tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
      	to take a "domain_name" (which is the XML namespace) and a
      	"domain_uri" (which is the root of the plug-in's help pages).
      
      	* tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
      	instead of a non-UTF-8 help_path.
      
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
      	and help_uri instead of just help_path. Changed all plug-in APIs
      	to reflect this change.
      
      	* app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
      	whole list of help domains. The actual help request is now made
      	using the browser's temporary procedure.
      
      	* app/core/gimp.h
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/plug-in-menus.[ch]
      	* app/widgets/gimpitemfactory.c: changed accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimphelp_pdb.[ch]
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	Changed the help broser to load the pages according to the
      	new system:
      
      	- moved the browser window stuff to dialog.[ch]
      	- moved help domain handling to domain.[ch]
      	- added gimp-help.xml parsing to domain.c
      	- tons of cleanup
      
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/dialog.[ch]
      	* plug-ins/helpbrowser/domain.[ch]: new files.
      	* plug-ins/helpbrowser/helpbrowser.c: chopped.
      1f2c75e5
  3. 23 Aug, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const · ba70ce9a
      Michael Natterer authored
      2003-08-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
      	- renamed "const gchar *help_data" to "const gchar *help_id".
      	- added "gpointer help_data".
      
      	* libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
      	gimp_help_connect(). Removed all fiddling with html links and
      	treat all help IDs as opaque identifiers.
      
      	* app/core/gimptoolinfo.[ch]: changed "help_data" member to
      	"help_id".
      
      	* app/widgets/gimpitemfactory.[ch]: removed the "help_path"
      	parameter from gimp_item_factory_new() since we don't fiddle with
      	html file paths any more. Simplifies menu item help a lot.
      	Renamed "help_data" member of struct GimpItemFactoryEntry to
      	"help_id".
      
      	* app/gui/plug-in-menus.c: changed accordingly. 3rd party
      	plug-ins' menu item help IDs are now encoded as
      	"help_path:help_id".
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c: when constructing the <Load> and
      	<Save> menus, take the resp. procedures' locale_domain and
      	help_path into account. Fixes translation of 3rd party menu items.
      	Also do the right thing for load/save procs which are implemented
      	as temporary procedures (they are impossible to implement
      	currently but it's nice to do the right thing anyway...).
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.
      
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimp/gimpui.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/gui.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimphelp.[ch]
      	* app/widgets/gimpmenufactory.[ch]
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c: changed accordingly. Removed
      	trailing whitespace all over the place.
      ba70ce9a
  4. 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
  5. 12 Apr, 2002 2 commits
    • Michael Natterer's avatar
      Well, sometimes the most obvious solution is not the first one... · adad0f47
      Michael Natterer authored
      2002-04-12  Michael Natterer  <mitch@gimp.org>
      
      	Well, sometimes the most obvious solution is not the first one...
      
      	* app/gimphelp.[ch]: removed _gimp_standard_help_func().
      
      	* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
      	directly.
      adad0f47
    • Michael Natterer's avatar
      removed usage of "the_gimp" by passing around more "Gimp" pointers. · b46ab216
      Michael Natterer authored
      2002-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
      	more "Gimp" pointers. Renamed gimp_standard_help_func() to
      	_gimp_standard_help_func() and declare it in the header.  Don't
      	include "app_procs.h".
      
      	* app/libgimp_glue.[ch]: added gimp_standard_help_func() here.
      	Call _gimp_standard_help_func (the_gimp, ...) like all other
      	wrappers in this file do. I know this is ugly but better let's
      	have all uglyness in one place (here) :-)
      
      	* app/widgets/gimpitemfactory.[ch]: added a "Gimp" member to the
      	GimpItemFactory struct. Pass it to gimp_help(),
      
      	* app/gui/menus.c: pass a Gimp to gimp_item_factory_new(), removed
      	useless inclusion of "gimphelp.h".
      
      	* tools/pdbgen/pdb/help.pdb: pass a Gimp to gimp_help()
      
      	* app/pdb/help_cmds.c: regenerated.
      
      	* app/gui/tips-dialog.c: removed gtk_quit_add_destroy() here too
      	because the tips dialog is created by a dialog factory which takes
      	care of dialog destruction.
      b46ab216
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 19 Dec, 1999 2 commits
  13. 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
  14. 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
  15. 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
  16. 28 Jul, 1999 1 commit
  17. 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
  18. 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
  19. 13 Apr, 1998 1 commit
  20. 24 Nov, 1997 1 commit