
2003-06-19 Michael Natterer <mitch@gimp.org> Changed the semantics of GIMP_EXTENSION and (to some extent) of GIMP_PLUGIN: The old meaning of EXTENSION was "I live in the toolbox" and PLUGIN meant "I take RUN-MODE,IMAGE,DRAWABLE args (but only if I am invoked interactively)". This is completely useless, since living in the toolbox means having "<Toolbox>" in the menu_path and taking RUN-MODE,IMAGE,DRAWABLE means just that, regardless of what type of procedure we are. The new meaning of GIMP_PLUGIN is just "I am an ordinary procedure, I am invoked, do my job and finish", while GIMP_EXTENSION means "I will install temporary procedures and I will keep running to keep them available". (A GIMP_EXTENSION *must* call gimp_extension_ack() now to tell the core that it's ready to run, or the core will block waiting for the message !!!). * configure.in: bumped version number to 1.3.16. * libgimpbase/gimpprotocol.h: increased protocol version number so old extensions will refuse to load. * app/gui/plug-in-commands.c (plug_in_run_cmd_callback): don't blindly pass RUN-MODE,IMAGE,DRAWABLE to GIMP_PLUGIN procedures but look at their parameters and pass them either RUN-MODE, or RUN-MODE,IMAGE, or RUN-MODE,IMAGE,DRAWABLE. * app/pdb/procedural_db.c: cleaned up, better error reporting, replaced an impossible error message by g_return_if_fail() * app/plug-in/plug-in-message.c (plug_in_handle_proc_install): better error messages. * app/plug-in/plug-in-params.c: allocate parameter arrays using g_new0() so we don't have to worry about uninitialized stuff later. * app/plug-in/plug-in-run.c (plug_in_run): wait for gimp_extension_ack() installation confirmation for ALL extensions, not just for automatically started ones. * app/plug-in/plug-ins.c: cleanup. * libgimp/gimp.[ch]: cleaned up and API-documented massively. Made all magic values given in the GPConfig message static and added accessor functions for them. Added gimp_tile_width()/height(). Added new function gimp_extension_enable() which turns on asynchronous processing of temp_proc run requests without having to enter an endless gimp_extension_process() loop. Moved all private functions to the end of the file. Added tons of g_return_if_fail() all over the place. Call gimp_run_procedure2() from gimp_run_procedure() instead of duplicating the code. Indentation, spacing, stuff... * libgimp/gimptile.[ch]: removed gimp_tile_width()/height(). * libgimp/gimpdrawable.c * libgimp/gimppixelrgn.c * libgimp/gimptile.c: use the gimp_tile_width()/height() accessor functions. * libgimp/gimp.def: added gimp_extension_enable. * libgimp/gimpmenu.c: removed evil code which connected to _readchannel manually and use gimp_extension_enable() for watching temp_procs. * plug-ins/helpbrowser/helpbrowser.c: removed the same evil code here and call gimp_extension_enable(). Call gimp_extension_ack() to let the core know that the temp_proc is installed. * plug-ins/script-fu/script-fu.c: made all procedures except the permanently running "extension_script_fu" ordinary GIMP_PLUGIN procedures. * plug-ins/common/curve_bend.c * plug-ins/common/plugindetails.c * plug-ins/common/screenshot.c * plug-ins/common/uniteditor.c * plug-ins/common/winclipboard.c * plug-ins/dbbrowser/dbbrowser.c * plug-ins/gfli/gfli.c * plug-ins/twain/twain.c * plug-ins/webbrowser/webbrowser.c * plug-ins/winsnap/winsnap.c: made them all ordinary GIMP_PLUGIN procedures and renamed them from "extension_*" to "plug_in_*". Random cleanups. * app/widgets/gimphelp.c * plug-ins/maze/maze_face.c: call "plug_in_web_browser" now.
359 lines
8.1 KiB
Modula-2
359 lines
8.1 KiB
Modula-2
EXPORTS
|
|
_readchannel
|
|
gimp_airbrush
|
|
gimp_airbrush_default
|
|
gimp_attach_new_parasite
|
|
gimp_blend
|
|
gimp_brushes_close_popup
|
|
gimp_brushes_get_brush_data
|
|
gimp_brushes_set_popup
|
|
gimp_bucket_fill
|
|
gimp_by_color_select
|
|
gimp_channel_combine_masks
|
|
gimp_channel_copy
|
|
gimp_channel_delete
|
|
gimp_channel_get_color
|
|
gimp_channel_get_name
|
|
gimp_channel_get_opacity
|
|
gimp_channel_get_show_masked
|
|
gimp_channel_get_tattoo
|
|
gimp_channel_get_visible
|
|
gimp_channel_new
|
|
gimp_channel_new
|
|
gimp_channel_set_color
|
|
gimp_channel_set_name
|
|
gimp_channel_set_opacity
|
|
gimp_channel_set_show_masked
|
|
gimp_channel_set_tattoo
|
|
gimp_channel_set_visible
|
|
gimp_clone
|
|
gimp_clone_default
|
|
gimp_color_picker
|
|
gimp_convert_grayscale
|
|
gimp_convert_indexed
|
|
gimp_convert_rgb
|
|
gimp_convolve
|
|
gimp_convolve_default
|
|
gimp_default_display
|
|
gimp_destroy_paramdefs
|
|
gimp_destroy_params
|
|
gimp_display_delete
|
|
gimp_display_new
|
|
gimp_displays_flush
|
|
gimp_dodgeburn
|
|
gimp_dodgeburn_default
|
|
gimp_drawable_attach_new_parasite
|
|
gimp_drawable_bytes
|
|
gimp_drawable_delete
|
|
gimp_drawable_detach
|
|
gimp_drawable_fill
|
|
gimp_drawable_flush
|
|
gimp_drawable_get
|
|
gimp_drawable_get_thumbnail_data
|
|
gimp_drawable_get_tile
|
|
gimp_drawable_get_tile2
|
|
gimp_drawable_has_alpha
|
|
gimp_drawable_height
|
|
gimp_drawable_image
|
|
gimp_drawable_is_channel
|
|
gimp_drawable_is_gray
|
|
gimp_drawable_is_indexed
|
|
gimp_drawable_is_layer
|
|
gimp_drawable_is_layer_mask
|
|
gimp_drawable_is_rgb
|
|
gimp_drawable_mask_bounds
|
|
gimp_drawable_merge_shadow
|
|
gimp_drawable_name
|
|
gimp_drawable_offset
|
|
gimp_drawable_offsets
|
|
gimp_drawable_parasite_attach
|
|
gimp_drawable_parasite_detach
|
|
gimp_drawable_parasite_find
|
|
gimp_drawable_parasite_list
|
|
gimp_drawable_set_name
|
|
gimp_drawable_set_visible
|
|
gimp_drawable_type
|
|
gimp_drawable_type_with_alpha
|
|
gimp_drawable_update
|
|
gimp_drawable_visible
|
|
gimp_drawable_width
|
|
gimp_edit_clear
|
|
gimp_edit_copy
|
|
gimp_edit_cut
|
|
gimp_edit_fill
|
|
gimp_edit_paste
|
|
gimp_edit_stroke
|
|
gimp_ellipse_select
|
|
gimp_eraser
|
|
gimp_eraser_default
|
|
gimp_extension_ack
|
|
gimp_extension_enable
|
|
gimp_extension_process
|
|
gimp_file_load
|
|
gimp_file_save
|
|
gimp_flip
|
|
gimp_floating_sel_anchor
|
|
gimp_floating_sel_attach
|
|
gimp_floating_sel_relax
|
|
gimp_floating_sel_remove
|
|
gimp_floating_sel_rigor
|
|
gimp_floating_sel_to_layer
|
|
gimp_fonts_close_popup
|
|
gimp_fonts_popup
|
|
gimp_fonts_set_popup
|
|
gimp_free_select
|
|
gimp_fuzzy_select
|
|
gimp_gamma
|
|
gimp_get_bg_guchar
|
|
gimp_get_default_comment
|
|
gimp_get_monitor_resolution
|
|
gimp_get_path_by_tattoo
|
|
gimp_get_progname
|
|
gimp_gimprc_query
|
|
gimp_gimprc_set
|
|
gimp_gradients_close_popup
|
|
gimp_gradients_get_gradient
|
|
gimp_gradients_get_gradient_data
|
|
gimp_gradients_get_gradient_data
|
|
gimp_gradients_get_list
|
|
gimp_gradients_sample_custom
|
|
gimp_gradients_sample_uniform
|
|
gimp_gradients_set_gradient
|
|
gimp_gradients_set_popup
|
|
gimp_help
|
|
gimp_image_active_drawable
|
|
gimp_image_add_channel
|
|
gimp_image_add_hguide
|
|
gimp_image_add_layer
|
|
gimp_image_add_layer_mask
|
|
gimp_image_add_vguide
|
|
gimp_image_attach_new_parasite
|
|
gimp_image_base_type
|
|
gimp_image_clean_all
|
|
gimp_image_crop
|
|
gimp_image_delete
|
|
gimp_image_delete_guide
|
|
gimp_image_duplicate
|
|
gimp_image_find_next_guide
|
|
gimp_image_flatten
|
|
gimp_image_floating_sel_attached_to
|
|
gimp_image_floating_selection
|
|
gimp_image_free_shadow
|
|
gimp_image_get_active_channel
|
|
gimp_image_get_active_layer
|
|
gimp_image_get_channel_by_tattoo
|
|
gimp_image_get_channels
|
|
gimp_image_get_cmap
|
|
gimp_image_get_cmap
|
|
gimp_image_get_component_active
|
|
gimp_image_get_component_visible
|
|
gimp_image_get_filename
|
|
gimp_image_get_guide_orientation
|
|
gimp_image_get_guide_position
|
|
gimp_image_get_layer_by_tattoo
|
|
gimp_image_get_layers
|
|
gimp_image_get_name
|
|
gimp_image_get_resolution
|
|
gimp_image_get_selection
|
|
gimp_image_get_tattoo_state
|
|
gimp_image_get_thumbnail_data
|
|
gimp_image_get_unit
|
|
gimp_image_height
|
|
gimp_image_list
|
|
gimp_image_lower_channel
|
|
gimp_image_lower_layer
|
|
gimp_image_lower_layer_to_bottom
|
|
gimp_image_merge_down
|
|
gimp_image_merge_visible_layers
|
|
gimp_image_new
|
|
gimp_image_parasite_attach
|
|
gimp_image_parasite_detach
|
|
gimp_image_parasite_find
|
|
gimp_image_parasite_list
|
|
gimp_image_pick_correlate_layer
|
|
gimp_image_raise_channel
|
|
gimp_image_raise_layer
|
|
gimp_image_raise_layer_to_top
|
|
gimp_image_remove_channel
|
|
gimp_image_remove_layer
|
|
gimp_image_remove_layer_mask
|
|
gimp_image_resize
|
|
gimp_image_scale
|
|
gimp_image_set_active_channel
|
|
gimp_image_set_active_layer
|
|
gimp_image_set_cmap
|
|
gimp_image_set_cmap
|
|
gimp_image_set_component_active
|
|
gimp_image_set_component_visible
|
|
gimp_image_set_filename
|
|
gimp_image_set_resolution
|
|
gimp_image_set_tattoo_state
|
|
gimp_image_set_unit
|
|
gimp_image_undo_disable
|
|
gimp_image_undo_enable
|
|
gimp_image_undo_freeze
|
|
gimp_image_undo_is_enabled
|
|
gimp_image_undo_thaw
|
|
gimp_image_unset_active_channel
|
|
gimp_image_width
|
|
gimp_install_cmap
|
|
gimp_install_procedure
|
|
gimp_install_temp_proc
|
|
gimp_invert
|
|
gimp_layer_add_alpha
|
|
gimp_layer_copy
|
|
gimp_layer_copy
|
|
gimp_layer_create_mask
|
|
gimp_layer_delete
|
|
gimp_layer_get_apply_mask
|
|
gimp_layer_get_edit_mask
|
|
gimp_layer_get_linked
|
|
gimp_layer_get_mode
|
|
gimp_layer_get_name
|
|
gimp_layer_get_opacity
|
|
gimp_layer_get_preserve_trans
|
|
gimp_layer_get_show_mask
|
|
gimp_layer_get_tattoo
|
|
gimp_layer_get_visible
|
|
gimp_layer_is_floating_sel
|
|
gimp_layer_mask
|
|
gimp_layer_new
|
|
gimp_layer_new
|
|
gimp_layer_resize
|
|
gimp_layer_scale
|
|
gimp_layer_set_apply_mask
|
|
gimp_layer_set_edit_mask
|
|
gimp_layer_set_linked
|
|
gimp_layer_set_mode
|
|
gimp_layer_set_name
|
|
gimp_layer_set_offsets
|
|
gimp_layer_set_opacity
|
|
gimp_layer_set_preserve_trans
|
|
gimp_layer_set_show_mask
|
|
gimp_layer_set_tattoo
|
|
gimp_layer_set_visible
|
|
gimp_layer_translate
|
|
gimp_main
|
|
gimp_major_version
|
|
gimp_message
|
|
gimp_micro_version
|
|
gimp_min_colors
|
|
gimp_minor_version
|
|
gimp_paintbrush
|
|
gimp_paintbrush_default
|
|
gimp_palette_get_background
|
|
gimp_palette_get_foreground
|
|
gimp_palette_set_background
|
|
gimp_palette_set_foreground
|
|
gimp_parasite_attach
|
|
gimp_parasite_detach
|
|
gimp_parasite_find
|
|
gimp_parasite_list
|
|
gimp_path_delete
|
|
gimp_path_get_current
|
|
gimp_path_get_locked
|
|
gimp_path_get_point_at_dist
|
|
gimp_path_get_points
|
|
gimp_path_get_tattoo
|
|
gimp_path_list
|
|
gimp_path_set_current
|
|
gimp_path_set_locked
|
|
gimp_path_set_points
|
|
gimp_path_set_tattoo
|
|
gimp_path_stroke_current
|
|
gimp_patterns_close_popup
|
|
gimp_patterns_get_pattern_data
|
|
gimp_patterns_set_popup
|
|
gimp_pencil
|
|
gimp_perspective
|
|
gimp_pixel_fetcher_destroy
|
|
gimp_pixel_fetcher_get_pixel
|
|
gimp_pixel_fetcher_get_pixel2
|
|
gimp_pixel_fetcher_new
|
|
gimp_pixel_fetcher_put_pixel
|
|
gimp_pixel_fetcher_set_bg_color
|
|
gimp_pixel_fetcher_set_shadow
|
|
gimp_pixel_rgn_get_col
|
|
gimp_pixel_rgn_get_pixel
|
|
gimp_pixel_rgn_get_rect
|
|
gimp_pixel_rgn_get_row
|
|
gimp_pixel_rgn_init
|
|
gimp_pixel_rgn_resize
|
|
gimp_pixel_rgn_set_col
|
|
gimp_pixel_rgn_set_pixel
|
|
gimp_pixel_rgn_set_rect
|
|
gimp_pixel_rgn_set_row
|
|
gimp_pixel_rgns_process
|
|
gimp_pixel_rgns_register
|
|
gimp_pixel_rgns_register2
|
|
gimp_plugin_domain_register
|
|
gimp_plugin_help_register
|
|
gimp_procedural_db_get_data
|
|
gimp_procedural_db_get_data
|
|
gimp_procedural_db_get_data_size
|
|
gimp_procedural_db_proc_info
|
|
gimp_procedural_db_proc_info
|
|
gimp_procedural_db_query
|
|
gimp_procedural_db_set_data
|
|
gimp_procedural_db_set_data
|
|
gimp_progress_init
|
|
gimp_progress_update
|
|
gimp_quit
|
|
gimp_rect_select
|
|
gimp_register_load_handler
|
|
gimp_register_magic_load_handler
|
|
gimp_register_save_handler
|
|
gimp_rgn_iterate1
|
|
gimp_rgn_iterate2
|
|
gimp_rotate
|
|
gimp_run_procedure
|
|
gimp_run_procedure2
|
|
gimp_run_temp
|
|
gimp_scale
|
|
gimp_selection_bounds
|
|
gimp_selection_clear
|
|
gimp_selection_float
|
|
gimp_selection_float
|
|
gimp_selection_is_empty
|
|
gimp_selection_load
|
|
gimp_selection_none
|
|
gimp_selection_save
|
|
gimp_shear
|
|
gimp_show_tool_tips
|
|
gimp_smudge
|
|
gimp_smudge_default
|
|
gimp_temp_name
|
|
gimp_text
|
|
gimp_text_fontname
|
|
gimp_text_get_extents
|
|
gimp_text_get_extents_fontname
|
|
gimp_tile_cache_ntiles
|
|
gimp_tile_cache_size
|
|
gimp_tile_flush
|
|
gimp_tile_height
|
|
gimp_tile_ref
|
|
gimp_tile_ref_zero
|
|
gimp_tile_unref
|
|
gimp_tile_width
|
|
gimp_transform_2d
|
|
gimp_undo_push_group_end
|
|
gimp_undo_push_group_start
|
|
gimp_uninstall_temp_proc
|
|
gimp_unit_get_abbreviation
|
|
gimp_unit_get_deletion_flag
|
|
gimp_unit_get_digits
|
|
gimp_unit_get_factor
|
|
gimp_unit_get_factor
|
|
gimp_unit_get_identifier
|
|
gimp_unit_get_number_of_built_in_units
|
|
gimp_unit_get_number_of_units
|
|
gimp_unit_get_plural
|
|
gimp_unit_get_singular
|
|
gimp_unit_get_symbol
|
|
gimp_unit_new
|
|
gimp_unit_set_deletion_flag
|
|
gimp_version
|
|
|
|
|
|
|