1. 17 Jul, 2018 1 commit
    • Ell's avatar
      app, pdb: add gimp-register-file-handler-priority procedure · b4ac9568
      Ell authored
      Add a gimp-register-file-handler-priority procedure, which can be
      used to set the priority of a file-handler procedure.  When more
      than one file-handler procedure matches a file, the procedure with
      the lowest priority is used; if more than one procedure has the
      lowest priority, it is unspecified which one of them is used.  The
      default priority of file-handler procedures is 0.
      
      Add the necessary plumbing (plus some fixes) to the plug-in manager
      to handle file-handler priorities.  In particular, use two
      different lists for each type of file-handler procedures: one meant
      for searching, and is sorted according to priority, and one meant
      for display, and is sorted alphabetically.
      b4ac9568
  2. 11 Jul, 2018 1 commit
  3. 04 May, 2017 2 commits
  4. 06 Jan, 2016 1 commit
  5. 03 Jan, 2016 1 commit
    • Michael Natterer's avatar
      app: move some stuff out of app/file/ · 5455b8bf
      Michael Natterer authored
      file-procedure.[ch] is gone and its functions moved to
      GimpPlugInManager where they belong (the manager keeps around the
      lists of load, save and export procedures).
      
      Utility functions from file-utils.[ch] that have nothing to do with
      image files moved to core/gimp-utils.[ch].
      5455b8bf
  6. 07 Jul, 2014 1 commit
  7. 17 Nov, 2012 1 commit
  8. 21 Aug, 2009 1 commit
  9. 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
  10. 09 Dec, 2006 1 commit
  11. 28 Apr, 2006 1 commit
    • Michael Natterer's avatar
      app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps · f1c3e79a
      Michael Natterer authored
      2006-04-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/gimppluginmanager.[ch]: new object which keeps all
      	plug-in related stuff that was kept in the Gimp instance. Has
      	"menu-branch-added" and "last-plug-in-changed" signals.
      
      	* app/plug-in/plug-ins.[ch]: removed, all its functions are in
      	GimpPlugInManager now.
      
      	* app/core/gimpmarshal.list: new marshaller for the new object.
      
      	* app/core/gimp.[ch]: removed all plug-in related stuff and keep a
      	GimpPlugInManager around.
      
      	* app/plug-in/plug-in-data.[ch]
      	* app/plug-in/plug-in-file.[ch]
      	* app/plug-in/plug-in-help-domain.[ch]
      	* app/plug-in/plug-in-locale-domain.[ch]
      	* app/plug-in/plug-in-menu-branch.[ch]
      	* app/plug-in/plug-ins-query.[ch]: removed...
      
      	* app/plug-in/gimppluginmanager-data.[ch]
      	* app/plug-in/gimppluginmanager-file.[ch]
      	* app/plug-in/gimppluginmanager-help-domain.[ch]
      	* app/plug-in/gimppluginmanager-locale-domain.[ch]
      	* app/plug-in/gimppluginmanager-menu-branch.[ch]
      	* app/plug-in/gimppluginmanager-query.[ch]: ...and added as
      	methods of GimpPlugInManager.
      
      	* app/plug-in/plug-in-debug.[ch]
      	* app/plug-in/plug-in-shm.[ch]: removed...
      
      	* app/plug-in/gimpplugindebug.[ch]
      	* app/plug-in/gimppluginshm.[ch]: ...and added as properly
      	namespeced structs with constructors and destructors.
      
      	* app/core/Makefile.am
      	* app/core/gimpenvirontable.[ch]
      	* app/core/gimpinterpreterdb.[ch]: removed...
      
      	* app/plug-in/gimpenvirontable.[ch]
      	* app/plug-in/gimpinterpreterdb.[ch]: ...and added here unchanged.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: remove gimp_menus_create_branch() and all
      	related stuff.
      
      	* app/actions/plug-in-actions.[ch]: connect to the
      	plug-in-manager's "menu-path-added" signal and create menu branch
      	actions accordingly.
      
      	* app/plug-in/plug-in-context.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-run.[ch]
      	* app/plug-in/plug-in.[ch]
      	* app/app_procs.c
      	* app/actions/file-commands.c
      	* app/actions/plug-in-commands.c
      	* app/core/gimpimage.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/dialogs/file-save-dialog.c
      	* app/file/file-open.c
      	* app/gui/gui.c
      	* app/menus/plug-in-menus.c
      	* app/pdb/gimppluginprocedure.c
      	* app/pdb/gimptemporaryprocedure.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/undo.pdb: follow above refactoring.
      
      	* app/pdb/context_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/progress_cmds.c
      	* app/pdb/undo_cmds.c: regenerated.
      f1c3e79a
  12. 10 Apr, 2006 1 commit
    • Michael Natterer's avatar
      some cleanup. · 755ac43a
      Michael Natterer authored
      2006-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-file.c: some cleanup.
      
      	(plug_in_file_register_load_handler)
      	(plug_in_file_register_save_handler): first check if we have the
      	procedure, then check its arguments, not the other way around
      	(using an additional lookup). Old weird code was needed because
      	these functions were split between app/plug-in and app/pdb.
      
      	* app/plug-in/plug-in-file.h: whitespace.
      755ac43a
  13. 09 Apr, 2006 1 commit
    • Michael Natterer's avatar
      removed the plug_ins_file_foo() functions. · 03eebd53
      Michael Natterer authored
      2006-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.[ch]: removed the plug_ins_file_foo()
      	functions.
      
      	* tools/pdbgen/pdb/fileops.pdb: removed lots of load and save
      	handler register code.
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-file.[ch]: added everything in these new
      	files. Load and save handlers are installed with
      	plug_in_file_register_load_handler() and _save_handler() which
      	also check the passed file procedure's parameters.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      03eebd53