gimp/libgimp/gimp.def

578 lines
14 KiB
Modula-2
Raw Normal View History

1999-03-07 20:56:03 +08:00
EXPORTS
gimp_airbrush
gimp_airbrush_default
gimp_attach_new_parasite
gimp_brightness_contrast
gimp_brush_application_mode_get_type
gimp_brush_delete
gimp_brush_duplicate
gimp_brush_get_angle
gimp_brush_get_aspect_ratio
gimp_brush_get_hardness
gimp_brush_get_info
gimp_brush_get_pixels
gimp_brush_get_radius
gimp_brush_get_shape
gimp_brush_get_spacing
gimp_brush_get_spikes
gimp_brush_is_editable
gimp_brush_is_generated
gimp_brush_new
gimp_brush_rename
gimp_brush_select_destroy
gimp_brush_select_new
gimp_brush_set_angle
gimp_brush_set_aspect_ratio
gimp_brush_set_hardness
gimp_brush_set_radius
gimp_brush_set_shape
gimp_brush_set_spacing
gimp_brush_set_spikes
gimp_brushes_close_popup
gimp_brushes_get_brush
gimp_brushes_get_brush_data
gimp_brushes_get_list
gimp_brushes_get_opacity
gimp_brushes_get_paint_mode
gimp_brushes_get_spacing
gimp_brushes_popup
gimp_brushes_refresh
gimp_brushes_set_brush
gimp_brushes_set_opacity
gimp_brushes_set_paint_mode
gimp_brushes_set_popup
gimp_brushes_set_spacing
gimp_buffer_delete
gimp_buffer_get_bytes
gimp_buffer_get_height
gimp_buffer_get_image_type
gimp_buffer_ger_width
gimp_buffer_rename
gimp_buffers_get_list
gimp_by_color_select
gimp_channel_combine_masks
1999-03-07 20:56:03 +08:00
gimp_channel_copy
gimp_channel_get_color
gimp_channel_get_opacity
gimp_channel_get_show_masked
gimp_channel_new
gimp_channel_new_from_component
1999-03-07 20:56:03 +08:00
gimp_channel_set_color
gimp_channel_set_opacity
gimp_channel_set_show_masked
gimp_check_size
gimp_check_type
gimp_clone
gimp_clone_default
gimp_color_balance
gimp_colorize
gimp_context_get_background
gimp_context_get_brush
gimp_context_get_font
gimp_context_get_foreground
gimp_context_get_gradient
gimp_context_get_opacity
gimp_context_get_paint_mode
gimp_context_get_palette
gimp_context_get_pattern
gimp_context_pop
gimp_context_push
gimp_context_set_background
gimp_context_set_brush
gimp_context_set_default_colors
gimp_context_set_font
gimp_context_set_foreground
gimp_context_set_gradient
gimp_context_set_opacity
gimp_context_set_paint_mode
gimp_context_set_palette
gimp_context_set_pattern
gimp_context_swap_colors
gimp_convert_dither_type_get_type
gimp_convert_palette_type_get_type
gimp_convolution_type_get_type
gimp_convolve
gimp_convolve_default
gimp_convolve_type_get_type
gimp_curves_explicit
gimp_curves_spline
gimp_default_display
gimp_desaturate
gimp_desaturate_full
1999-03-07 20:56:03 +08:00
gimp_destroy_paramdefs
app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin * app/makefile.cygwin * app/makefile.msc * plug-ins/makefile.cygwin * plug-ins/makefile.msc * modules/makefile.cygwin * modules/makefile.msc * tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL name change. * app/context_manager.c: Include paint_options.h for prototype. * app/gimpimage.c (gimp_image_initialize_projection): Break out of loop as soon as possible. * app/menus.c (menus_last_opened_cmd_callback): Check if referring to entry not in list. * app/module_db.c (valid_module_name): (Win32) Require module DLL names to include name of compiler built with. * app/paths_dialog.c (paths_draw_segment_points): No use to draw lines if we have less that two points. * app/qmask.c: Include stdio.h and floating_sel.h. * libgimp/makefile.cygwin: New file. * libgimp/Makefile.am: Distribute above file. * libgimp/gimp.def: Update. * libgimp/gimpenv.c (gimp_directory): Don't warn about missing home directory on Win32, it is perfectly natural. * plug-ins/sel2path/global.h: Bypass unused declarations, some of which clash with functions in MSVCRT. * plug-ins/sel2path/math.c * modules/colorsel_water.c: Define M_PI if necessary. * plug-ins/sel2path/sel2path.c: Include config.h and glib.h. Define rint() if needed. * plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called _hypot(), sigh). * plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on some compilers than the huge string.
1999-07-15 00:02:32 +08:00
gimp_destroy_params
1999-03-07 20:56:03 +08:00
gimp_display_delete
gimp_display_get_window_handle
gimp_display_name
1999-03-07 20:56:03 +08:00
gimp_display_new
gimp_displays_flush
gimp_displays_reconnect
gimp_dodgeburn
gimp_dodgeburn_default
gimp_drawable_attach_new_parasite
gimp_drawable_bpp
1999-03-07 20:56:03 +08:00
gimp_drawable_delete
gimp_drawable_detach
gimp_drawable_fill
gimp_drawable_flush
gimp_drawable_get
Cleaned up the remaining libgimp API issues: 2004-03-12 Michael Natterer <mitch@gimp.org> Cleaned up the remaining libgimp API issues: * libgimp/gimppixelfetcher.[ch] (enum GimpPixelFetcherEdgeMode): added new enum value GIMP_PIXEL_FETCHER_EDGE_BACKGROUND so we can actually use the bg_color feature of the GimpPixelFetcher. (gimp_pixel_fetcher_new): added "gboolean shadow" parameter because it must not change while the GimpPixelFetcher exists. (gimp_pixel_fetcher_set_shadow): removed. (gimp_pixel_fetcher_set_bg_color): added "GimpRGB *color" parameter and don't call gimp_palette_get_foreground(). (gimp_pixel_fetcher_get_pixel): handle BACKGROUND mode. Cleaned up the function. (gimp_get_bg_guchar) (gimp_get_fg_guchar): removed these functions... * libgimp/gimpdrawable.[ch]: ...and added gimp_drawable_get_color_uchar() instead. * libgimp/gimp.def * plug-ins/common/blinds.c * plug-ins/common/checkerboard.c * plug-ins/common/cubism.c * plug-ins/common/curve_bend.c * plug-ins/common/displace.c * plug-ins/common/edge.c * plug-ins/common/illusion.c * plug-ins/common/mblur.c * plug-ins/common/mosaic.c * plug-ins/common/plasma.c * plug-ins/common/polar.c * plug-ins/common/ripple.c * plug-ins/common/shift.c * plug-ins/common/spread.c * plug-ins/common/tileit.c * plug-ins/common/whirlpinch.c * plug-ins/gflare/gflare.c * plug-ins/libgimpoldpreview/gimpoldpreview.c: changed accordingly. (Didn't test the changed plug-ins because I wanted to get this API change into CVS as soon as possible)
2004-03-13 06:46:25 +08:00
gimp_drawable_get_color_uchar
gimp_drawable_get_image
gimp_drawable_get_linked
gimp_drawable_get_name
gimp_drawable_get_pixel
gimp_drawable_get_sub_thumbnail_data
gimp_drawable_get_tattoo
gimp_drawable_get_thumbnail_data
1999-03-07 20:56:03 +08:00
gimp_drawable_get_tile
gimp_drawable_get_tile2
gimp_drawable_get_visible
1999-03-07 20:56:03 +08:00
gimp_drawable_has_alpha
gimp_drawable_height
gimp_drawable_is_channel
gimp_drawable_is_gray
1999-10-17 08:07:55 +08:00
gimp_drawable_is_indexed
gimp_drawable_is_layer
gimp_drawable_is_layer_mask
gimp_drawable_is_rgb
1999-03-07 20:56:03 +08:00
gimp_drawable_mask_bounds
gimp_drawable_mask_intersect
1999-03-07 20:56:03 +08:00
gimp_drawable_merge_shadow
gimp_drawable_offset
1999-03-07 20:56:03 +08:00
gimp_drawable_offsets
gimp_drawable_parasite_attach
gimp_drawable_parasite_detach
gimp_drawable_parasite_find
gimp_drawable_parasite_list
gimp_drawable_set_image
gimp_drawable_set_linked
1999-03-07 20:56:03 +08:00
gimp_drawable_set_name
gimp_drawable_set_pixel
gimp_drawable_set_tattoo
gimp_drawable_set_visible
gimp_drawable_transform_2d
gimp_drawable_transform_2d_default
gimp_drawable_transform_flip
gimp_drawable_transform_flip_default
gimp_drawable_transform_flip_simple
gimp_drawable_transform_matrix
gimp_drawable_transform_matrix_default
gimp_drawable_transform_perspective
gimp_drawable_transform_perspective_default
gimp_drawable_transform_rotate
gimp_drawable_transform_rotate_default
gimp_drawable_transform_rotate_simple
gimp_drawable_transform_scale
gimp_drawable_transform_scale_default
gimp_drawable_transform_shear
gimp_drawable_transform_shear_default
1999-03-07 20:56:03 +08:00
gimp_drawable_type
gimp_drawable_type_with_alpha
1999-03-07 20:56:03 +08:00
gimp_drawable_update
gimp_drawable_width
gimp_edit_blend
gimp_edit_bucket_fill
gimp_edit_clear
gimp_edit_copy
gimp_edit_copy_visible
gimp_edit_cut
gimp_edit_fill
gimp_edit_named_copy
gimp_edit_named_copy_visible
gimp_edit_named_cut
gimp_edit_named_paste
gimp_edit_named_paste_as_new
gimp_edit_paste
gimp_edit_paste_as_new
gimp_edit_stroke
gimp_ellipse_select
gimp_enums_get_type_names
gimp_enums_init
gimp_equalize
gimp_eraser
gimp_eraser_default
1999-03-07 20:56:03 +08:00
gimp_extension_ack
Changed the semantics of GIMP_EXTENSION and (to some extent) of 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.
2003-06-20 01:12:00 +08:00
gimp_extension_enable
1999-03-07 20:56:03 +08:00
gimp_extension_process
gimp_file_load
gimp_file_save
gimp_fill_type_get_type
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_font_select_destroy
gimp_font_select_new
gimp_fonts_close_popup
gimp_fonts_get_list
gimp_fonts_popup
gimp_fonts_refresh
gimp_fonts_set_popup
gimp_free_select
gimp_fuzzy_select
1999-03-07 20:56:03 +08:00
gimp_gamma
gimp_get_color_configuration
need to link with pangof2 2001-09-22 Hans Breuer <hans@breuer.org> * app/makefile.msc : need to link with pangof2 * app/display/display-funcs.h : new file to provide prototype gdisplays_selection_visibility () * app/core/gimpimage-mask.c : * app/core/gimplayer.c : use it * app/core/makefile.msc : generate gimpmarshal.[hc] * app/gui/makefile.msc : add error-console-dialog.obj, also more trying for building as dll * app/tools/gimpinktool.c(965) : avoid "fatal error C1021: invalid preprocessor command 'warning'", by wrapping it in #ifdef __GNUC__ * app/tools/makefile.msc : add FREETYPE2_CFLAGS * app/widgets/gimpfontselction-dialog.c : use g_strcasecmp () * app/tools/makefile.msc : add FREETYPE2_CFLAGS and gimpfontselction* * libgimp/gimp.def : * libgimpwidgets/gimpwidgets.def : updated externals * libgimpwidgets/makefile.msc : add gimpstock * plug-ins/makefile.msc : gflare doesn't require EXTRA_gflare anymore * plug-ins/common/spheredesigner.c : * plug-ins/helpbrowser/helpbrowser.c : * plug-ins/imagemap/imap_main.c : remove _help_accel from gimp_help_connect () * plug-ins/gap/gap_mov_dialog.c : * plug-ins/gap/gap_navigator_dialog.c : remove references to use_xshm and gimp_color_cube () * plug-ins/gfig/gfig.c : don't access ->klass, but use G_OBJECT_GET_CLASS * plug-ins/gimpressionist/repaint.c : the GtkButton::child field is moved to the parent GtkBin. * plug-ins/ifscompose/ifscompose.c : the GtkStyle::font field isn't public anymore, use accessor gtk_style_get_font () * plug-ins/imagemap/imap_preferences.c : reflect GTK2 API change gtk_notebook_set_current_page ()
2001-09-23 03:47:27 +08:00
gimp_get_default_comment
gimp_get_module_load_inhibit
gimp_get_monitor_resolution
gimp_get_path_by_tattoo
gimp_get_progname
gimp_get_theme_dir
gimp_getpid
gimp_gimprc_query
gimp_gimprc_set
gimp_gradient_delete
gimp_gradient_duplicate
gimp_gradient_get_custom_samples
gimp_gradient_get_uniform_samples
gimp_gradient_is_editable
gimp_gradient_new
gimp_gradient_rename
gimp_gradient_segment_color_get_type
gimp_gradient_segment_get_blending_function
gimp_gradient_segment_get_coloring_type
gimp_gradient_segment_get_left_color
gimp_gradient_segment_get_left_pos
gimp_gradient_segment_get_middle_pos
gimp_gradient_segment_get_right_color
gimp_gradient_segment_get_right_pos
gimp_gradient_segment_range_blend_colors
gimp_gradient_segment_range_blend_opacity
gimp_gradient_segment_range_delete
gimp_gradient_segment_range_flip
gimp_gradient_segment_range_move
gimp_gradient_segment_range_redistribute_handles
gimp_gradient_segment_range_replicate
gimp_gradient_segment_range_set_blending_function
gimp_gradient_segment_range_set_coloring_type
gimp_gradient_segment_range_split_midpoint
gimp_gradient_segment_range_split_uniform
gimp_gradient_segment_set_left_color
gimp_gradient_segment_set_left_pos
gimp_gradient_segment_set_middle_pos
gimp_gradient_segment_set_right_color
gimp_gradient_segment_set_right_pos
gimp_gradient_segment_type_get_type
gimp_gradient_select_destroy
gimp_gradient_select_new
gimp_gradients_close_popup
#define GETTEXT_PACKAGE 2001-03-28 Hans Breuer <hans@breuer.org> * config.h.win32 : #define GETTEXT_PACKAGE * makefile.msc : add theme rule * app/makefile.msc : gimp.exe depends on all the libs and general update * app/base/makefile.msc : updated * app/config/gimpconfig-serialize.c : #include <io.h> for win32 * app/config/gimpconfig-types.c : #include <string.h> * app/core/gimpcontext.c app/core/gimpcontainer.c app/core/gimptoolinfo.c : #include <string.h> * app/core/gimpdocuments.c (gimp_documents_save_func) : need to g_strescape() the filename to not make backslashes vanish during de-serialization * app/core/gimpimagefile.c : #define S_ISREG for G_OS_WIN32 * app/core/makefile.msc : add -DGIMP_COMPILATION required for cpercep.c build * app/display/gimpdisplayshell.c : #include <string.h> * app/display/makefile.msc : -FImsvc_recommended_pragmas.h, G_LOG_DOMAIN definition and object file update * app/file/makefile.msc : -FImsvc_recommended_pragmas.h, G_LOG_DOMAIN definition * app/file/file-open.c (file_open_with_proc_and_display) : use absolute filename for gimp_documents_add() * app/gui/channel-commands.c app/gui/colormap-editor-commands.c app/gui/edit-commands.c app/gui/vectors-commands.c : #include <string.h> * app/gui/makefile.msc : updated * app/gui/menus.c : use g_file_test() instead of access() to avoid inclusion <unistd.h> * app/paint/makefile.msc : updated * app/plug-in/plug-in-params.c : #include <string.h> * app/plug-in/makefile.msc : updated * app/plug-in/plug-in-def.h : #include <time.h> for time_t * app/plug-in/plug-in.c : remove definition of S_IFREG * app/plug-in/gap/gap_arr_dialog.c : include <config.h> before including libgimp/libgimp-intl.h * app/tools/makefile.msc : updated * app/vectors/makefile.msc : new file * app/widgets/makefile.msc : updated * libgimp/gimp.def : updated externals * libgimpwidgets/gimpwidgets.def : updated externals * modules/makefile.msc : updated and disabled colorsel_gtk. * plug-in/makefile.msc : don't define GETTEXT_PACKAGE * themes/Default/images/makefile.msc : moved makefile.msc from .. and adapted pathes to images
2002-03-28 08:10:56 +08:00
gimp_gradients_get_gradient
gimp_gradients_get_gradient_data
1999-03-07 20:56:03 +08:00
gimp_gradients_get_list
gimp_gradients_popup
gimp_gradients_refresh
1999-03-07 20:56:03 +08:00
gimp_gradients_sample_custom
gimp_gradients_sample_uniform
#define GETTEXT_PACKAGE 2001-03-28 Hans Breuer <hans@breuer.org> * config.h.win32 : #define GETTEXT_PACKAGE * makefile.msc : add theme rule * app/makefile.msc : gimp.exe depends on all the libs and general update * app/base/makefile.msc : updated * app/config/gimpconfig-serialize.c : #include <io.h> for win32 * app/config/gimpconfig-types.c : #include <string.h> * app/core/gimpcontext.c app/core/gimpcontainer.c app/core/gimptoolinfo.c : #include <string.h> * app/core/gimpdocuments.c (gimp_documents_save_func) : need to g_strescape() the filename to not make backslashes vanish during de-serialization * app/core/gimpimagefile.c : #define S_ISREG for G_OS_WIN32 * app/core/makefile.msc : add -DGIMP_COMPILATION required for cpercep.c build * app/display/gimpdisplayshell.c : #include <string.h> * app/display/makefile.msc : -FImsvc_recommended_pragmas.h, G_LOG_DOMAIN definition and object file update * app/file/makefile.msc : -FImsvc_recommended_pragmas.h, G_LOG_DOMAIN definition * app/file/file-open.c (file_open_with_proc_and_display) : use absolute filename for gimp_documents_add() * app/gui/channel-commands.c app/gui/colormap-editor-commands.c app/gui/edit-commands.c app/gui/vectors-commands.c : #include <string.h> * app/gui/makefile.msc : updated * app/gui/menus.c : use g_file_test() instead of access() to avoid inclusion <unistd.h> * app/paint/makefile.msc : updated * app/plug-in/plug-in-params.c : #include <string.h> * app/plug-in/makefile.msc : updated * app/plug-in/plug-in-def.h : #include <time.h> for time_t * app/plug-in/plug-in.c : remove definition of S_IFREG * app/plug-in/gap/gap_arr_dialog.c : include <config.h> before including libgimp/libgimp-intl.h * app/tools/makefile.msc : updated * app/vectors/makefile.msc : new file * app/widgets/makefile.msc : updated * libgimp/gimp.def : updated externals * libgimpwidgets/gimpwidgets.def : updated externals * modules/makefile.msc : updated and disabled colorsel_gtk. * plug-in/makefile.msc : don't define GETTEXT_PACKAGE * themes/Default/images/makefile.msc : moved makefile.msc from .. and adapted pathes to images
2002-03-28 08:10:56 +08:00
gimp_gradients_set_gradient
gimp_gradients_set_popup
gimp_help
gimp_histogram
gimp_histogram_channel_get_type
gimp_hue_range_get_type
gimp_hue_saturation
1999-03-07 20:56:03 +08:00
gimp_image_add_channel
gimp_image_add_hguide
gimp_image_add_layer
gimp_image_add_vguide
gimp_image_attach_new_parasite
1999-03-07 20:56:03 +08:00
gimp_image_base_type
gimp_image_clean_all
gimp_image_convert_grayscale
gimp_image_convert_indexed
gimp_image_convert_rgb
gimp_image_crop
1999-03-07 20:56:03 +08:00
gimp_image_delete
gimp_image_delete_guide
gimp_image_duplicate
Win32 portability changes: * config.h.win32, README.win32: Small changes. * tools/pdbgen/pdb/*.pdb: Include <string.h>. * app/*_cmds.c: Autogenerated files reflect above changes. * libgimp/makefile.msc app/makefile.msc: Various updates, including new object files. Gtk+ directory now should be called gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory now should be called just glib. * libgimp/gimp.def: Updates. * libgimp/gimpfeatures.h.win32: Made current with gimpfeatures.h.in. * libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if necessary. * tools/pdbgen/pdb/fileops.pdb: Must have a statement (even an empty one) after a label. * app/fileops_cmds.c: Autogenerated file reflects above changes. * app/crop.c: Include <string.h>. * app/{app_procs,batch,fileops,datafiles,errorconsole,general, plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not _MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C runtime, even if we might be compiling with gcc.) * app/fileops.c: Don't include <process.h> here. * app/fileops.h: Do include <process.h> here. * app/gimpparasite.c: Include config.h, guard inclusion of <unistd.h>. (Is the inclusion of unistd.h in source files all over the place really necessary?) * app/ink.c: MSC doesn't handle conversion from unsigned __int64 to double, so cast to signed. * app/lut_funcs.c: Include config.h, and define rint() if necessary. * app/pixel_processor.c: Include config.h without "..", like in all the other places. Include <string.h> * app/text_tool.c: Guard the "POINTS" identifier that clashes with <windows.h>, sigh.
1999-05-05 05:32:17 +08:00
gimp_image_find_next_guide
1999-03-07 20:56:03 +08:00
gimp_image_flatten
gimp_image_flip
gimp_image_floating_sel_attached_to
gimp_image_free_shadow
1999-03-07 20:56:03 +08:00
gimp_image_get_active_channel
gimp_image_get_active_drawable
1999-03-07 20:56:03 +08:00
gimp_image_get_active_layer
gimp_image_get_channel_by_tattoo
1999-03-07 20:56:03 +08:00
gimp_image_get_channels
gimp_image_get_cmap
gimp_image_get_colormap
1999-03-07 20:56:03 +08:00
gimp_image_get_component_active
gimp_image_get_component_visible
gimp_image_get_filename
gimp_image_get_floating_sel
1999-03-07 20:56:03 +08:00
gimp_image_get_guide_orientation
gimp_image_get_guide_position
gimp_image_get_layer_by_tattoo
1999-03-07 20:56:03 +08:00
gimp_image_get_layers
add appconfig.lib. Statically link libgimptool/gimptool.lib. 2001-05-11 Hans Breuer <hans@breuer.org> * app/makefile.msc : add appconfig.lib. Statically link libgimptool/gimptool.lib. * app/main.c : use gimp_locale_directory() * app/config/gimpconfig-utils.c : <string.h> * app/config/makefile.msc : add gimpscanner * app/core/gimpimagefile.c : some G_OS_WIN32 mess to get mkdir() and chmod() * app/display/gimpdisplayshell.c app/plug-in/plug-in-progrss.c app/tool/gimpcolorpickertool.c app/tool/gimpcroptool.c app/tool/gimpmeasuretool.c app/tool/gimpperspectivetool.c app/tool/gimprotatetool.c app/tool/gimpscaletool.c app/tool/gimpsheartool.c app/tool/gimptransformtool.c app/widgets/gimpcolormapeditor.c app/widgets/gimpcolorpanel.c app/widgets/gimptoolbox-color-area.c add #ifdef __GNUC__ to avoid breaking on non standard pragma #warning * app/tools/makefile.msc : add gimptoolcontrol remove tools-enum * app/tools/tool_manager.c : need to include libgimptool/gimptoolcontrol.h after core includes otherwise we would compile without prototypes or break miserably * app/gui/plug-in-menus.c : replace LOCALEDIR with gimp_locale_directory () * app/gui/preferences-dialog.c (prefs_notebook_append_page) : only try to gdk_pixbuf_new_from_file() with a valid filename. It should simply return NULL otherwise, but fails if the filename is an empty string. * app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h * app/widgets/gimpcolormapeditor.c : the 'row' allocated needs to be 'xn * cellsize * 2' (to avoid accessing unowned memory) not only width, which has become allocation.width by someone commenting out the correct size calculation * app/widgets/gimpdialogfactory.c : varargs to macros are GCCism or at least non standard. #define DEBUG to g_print or nothing - without arguments - does fix it somewhat dirty as the compiler needs to tolerate the '(blah, foo, bar);' statement than * app/widgets/makefile.msc : updated * app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h * etc/gimprc.win32 : use ';' to separate theme-path * libgimpbase/gimpenv.c : #include <stdio.h> for sprintf() * app/widgets/gimpdnd.c (gimp_dnd_set_file_data) : the passed in vals chunk is not always null-terminated (at least not on win32). Use the length parameter too to avoid reading junk filenames. * libgimp/gimp.def : export gimp_image_get_name() * libgimpbase/gimpbase.def : export gimp_locale_directory() * libgimpbase/gimpenv.[ch] : added gimp_locale_directory () * libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR to empty string to let gimp find its files in the common place (win32: relative to the top level gimp dir) * plug-ins/common/pixelize.c : <string.h> * plug-ins/flame/cmap.c : #include <glib.h> for g_random_int() * plug-ins/makefile.msc : -FImsvc_recommended_pragams.h and a little hack to give imagemap the prototypes it desires without changing the lexed source * themes/Default/images/makefile.msc : now added (see below) * themes/Default/images/stock-button-reset.png : made it binary
2002-05-11 07:30:09 +08:00
gimp_image_get_name
1999-03-07 20:56:03 +08:00
gimp_image_get_resolution
app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin * app/makefile.cygwin * app/makefile.msc * plug-ins/makefile.cygwin * plug-ins/makefile.msc * modules/makefile.cygwin * modules/makefile.msc * tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL name change. * app/context_manager.c: Include paint_options.h for prototype. * app/gimpimage.c (gimp_image_initialize_projection): Break out of loop as soon as possible. * app/menus.c (menus_last_opened_cmd_callback): Check if referring to entry not in list. * app/module_db.c (valid_module_name): (Win32) Require module DLL names to include name of compiler built with. * app/paths_dialog.c (paths_draw_segment_points): No use to draw lines if we have less that two points. * app/qmask.c: Include stdio.h and floating_sel.h. * libgimp/makefile.cygwin: New file. * libgimp/Makefile.am: Distribute above file. * libgimp/gimp.def: Update. * libgimp/gimpenv.c (gimp_directory): Don't warn about missing home directory on Win32, it is perfectly natural. * plug-ins/sel2path/global.h: Bypass unused declarations, some of which clash with functions in MSVCRT. * plug-ins/sel2path/math.c * modules/colorsel_water.c: Define M_PI if necessary. * plug-ins/sel2path/sel2path.c: Include config.h and glib.h. Define rint() if needed. * plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called _hypot(), sigh). * plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on some compilers than the huge string.
1999-07-15 00:02:32 +08:00
gimp_image_get_selection
gimp_image_get_tattoo_state
gimp_image_get_thumbnail_data
gimp_image_get_unit
1999-03-07 20:56:03 +08:00
gimp_image_height
gimp_image_is_dirty
gimp_image_list
1999-03-07 20:56:03 +08:00
gimp_image_lower_channel
gimp_image_lower_layer
gimp_image_lower_layer_to_bottom
gimp_image_merge_down
1999-03-07 20:56:03 +08:00
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_color
1999-03-07 20:56:03 +08:00
gimp_image_pick_correlate_layer
gimp_image_raise_channel
gimp_image_raise_layer
gimp_image_raise_layer_to_top
1999-03-07 20:56:03 +08:00
gimp_image_remove_channel
gimp_image_remove_layer
gimp_image_resize
gimp_image_resize_to_layers
gimp_image_rotate
gimp_image_scale
1999-03-07 20:56:03 +08:00
gimp_image_set_active_channel
gimp_image_set_active_layer
gimp_image_set_cmap
gimp_image_set_colormap
1999-03-07 20:56:03 +08:00
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_group_end
gimp_image_undo_group_start
gimp_image_undo_is_enabled
1999-10-17 08:07:55 +08:00
gimp_image_undo_thaw
gimp_image_unset_active_channel
1999-03-07 20:56:03 +08:00
gimp_image_width
gimp_install_cmap
gimp_install_procedure
gimp_install_temp_proc
gimp_invert
1999-03-07 20:56:03 +08:00
gimp_layer_add_alpha
gimp_layer_add_mask
1999-03-07 20:56:03 +08:00
gimp_layer_copy
gimp_layer_create_mask
gimp_layer_from_mask
gimp_layer_get_apply_mask
gimp_layer_get_edit_mask
app/actions/layers-actions.c app/actions/layers-commands.[ch] 2005-07-10 Michael Natterer <mitch@gimp.org> * app/actions/layers-actions.c * app/actions/layers-commands.[ch] * app/core/core-enums.[ch] * app/core/gimpimage-undo-push.[ch] * app/core/gimplayer-floating-sel.c * app/core/gimplayer.[ch] * app/text/gimptextlayer-xcf.c * app/widgets/gimphelp-ids.h * app/widgets/gimplayertreeview.[ch] * app/xcf/xcf-load.c * app/xcf/xcf-private.h * app/xcf/xcf-save.c * tools/pdbgen/pdb/layer.pdb * menus/image-menu.xml.in * libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in preparation for more layer locking flags. * app/pdb/procedural_db.c * libgimp/gimplayer.[ch]: added compat stuff for preserve_trans. * app/pdb/layer_cmds.c * libgimp/gimplayer_pdb.[ch]: regenerated. * plug-ins/common/colortoalpha.c * plug-ins/common/iwarp.c * plug-ins/common/psd.c * plug-ins/common/psd_save.c * plug-ins/common/psp.c * plug-ins/common/rotate.c * plug-ins/common/threshold_alpha.c * plug-ins/common/vpropagate.c * plug-ins/script-fu/scripts/3d-outline.scm * plug-ins/script-fu/scripts/alien-glow-bar.scm * plug-ins/script-fu/scripts/alien-glow-bullet.scm * plug-ins/script-fu/scripts/alien-glow-logo.scm * plug-ins/script-fu/scripts/basic1-logo.scm * plug-ins/script-fu/scripts/basic2-logo.scm * plug-ins/script-fu/scripts/beveled-pattern-button.scm * plug-ins/script-fu/scripts/blend-anim.scm * plug-ins/script-fu/scripts/blended-logo.scm * plug-ins/script-fu/scripts/bovinated-logo.scm * plug-ins/script-fu/scripts/burn-in-anim.scm * plug-ins/script-fu/scripts/carved-logo.scm * plug-ins/script-fu/scripts/chalk.scm * plug-ins/script-fu/scripts/chip-away.scm * plug-ins/script-fu/scripts/comic-logo.scm * plug-ins/script-fu/scripts/coolmetal-logo.scm * plug-ins/script-fu/scripts/crystal-logo.scm * plug-ins/script-fu/scripts/drop-shadow.scm * plug-ins/script-fu/scripts/gimp-headers.scm * plug-ins/script-fu/scripts/gimp-labels.scm * plug-ins/script-fu/scripts/glowing-logo.scm * plug-ins/script-fu/scripts/gradient-bevel-logo.scm * plug-ins/script-fu/scripts/image-structure.scm * plug-ins/script-fu/scripts/neon-logo.scm * plug-ins/script-fu/scripts/perspective-shadow.scm * plug-ins/script-fu/scripts/starburst-logo.scm * plug-ins/script-fu/scripts/starscape-logo.scm * plug-ins/script-fu/scripts/textured-logo.scm * plug-ins/script-fu/scripts/title-header.scm * plug-ins/script-fu/scripts/waves-anim.scm * plug-ins/xjt/xjt.c: changed accordingly.
2005-07-11 05:17:22 +08:00
gimp_layer_get_lock_alpha
gimp_layer_get_mask
1999-03-07 20:56:03 +08:00
gimp_layer_get_mode
gimp_layer_get_opacity
gimp_layer_get_preserve_trans
gimp_layer_get_show_mask
gimp_layer_is_floating_sel
gimp_layer_mode_effects_get_type
1999-03-07 20:56:03 +08:00
gimp_layer_new
gimp_layer_new_from_drawable
gimp_layer_remove_mask
1999-03-07 20:56:03 +08:00
gimp_layer_resize
gimp_layer_resize_to_image_size
1999-03-07 20:56:03 +08:00
gimp_layer_scale
gimp_layer_set_apply_mask
gimp_layer_set_edit_mask
app/actions/layers-actions.c app/actions/layers-commands.[ch] 2005-07-10 Michael Natterer <mitch@gimp.org> * app/actions/layers-actions.c * app/actions/layers-commands.[ch] * app/core/core-enums.[ch] * app/core/gimpimage-undo-push.[ch] * app/core/gimplayer-floating-sel.c * app/core/gimplayer.[ch] * app/text/gimptextlayer-xcf.c * app/widgets/gimphelp-ids.h * app/widgets/gimplayertreeview.[ch] * app/xcf/xcf-load.c * app/xcf/xcf-private.h * app/xcf/xcf-save.c * tools/pdbgen/pdb/layer.pdb * menus/image-menu.xml.in * libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in preparation for more layer locking flags. * app/pdb/procedural_db.c * libgimp/gimplayer.[ch]: added compat stuff for preserve_trans. * app/pdb/layer_cmds.c * libgimp/gimplayer_pdb.[ch]: regenerated. * plug-ins/common/colortoalpha.c * plug-ins/common/iwarp.c * plug-ins/common/psd.c * plug-ins/common/psd_save.c * plug-ins/common/psp.c * plug-ins/common/rotate.c * plug-ins/common/threshold_alpha.c * plug-ins/common/vpropagate.c * plug-ins/script-fu/scripts/3d-outline.scm * plug-ins/script-fu/scripts/alien-glow-bar.scm * plug-ins/script-fu/scripts/alien-glow-bullet.scm * plug-ins/script-fu/scripts/alien-glow-logo.scm * plug-ins/script-fu/scripts/basic1-logo.scm * plug-ins/script-fu/scripts/basic2-logo.scm * plug-ins/script-fu/scripts/beveled-pattern-button.scm * plug-ins/script-fu/scripts/blend-anim.scm * plug-ins/script-fu/scripts/blended-logo.scm * plug-ins/script-fu/scripts/bovinated-logo.scm * plug-ins/script-fu/scripts/burn-in-anim.scm * plug-ins/script-fu/scripts/carved-logo.scm * plug-ins/script-fu/scripts/chalk.scm * plug-ins/script-fu/scripts/chip-away.scm * plug-ins/script-fu/scripts/comic-logo.scm * plug-ins/script-fu/scripts/coolmetal-logo.scm * plug-ins/script-fu/scripts/crystal-logo.scm * plug-ins/script-fu/scripts/drop-shadow.scm * plug-ins/script-fu/scripts/gimp-headers.scm * plug-ins/script-fu/scripts/gimp-labels.scm * plug-ins/script-fu/scripts/glowing-logo.scm * plug-ins/script-fu/scripts/gradient-bevel-logo.scm * plug-ins/script-fu/scripts/image-structure.scm * plug-ins/script-fu/scripts/neon-logo.scm * plug-ins/script-fu/scripts/perspective-shadow.scm * plug-ins/script-fu/scripts/starburst-logo.scm * plug-ins/script-fu/scripts/starscape-logo.scm * plug-ins/script-fu/scripts/textured-logo.scm * plug-ins/script-fu/scripts/title-header.scm * plug-ins/script-fu/scripts/waves-anim.scm * plug-ins/xjt/xjt.c: changed accordingly.
2005-07-11 05:17:22 +08:00
gimp_layer_set_lock_alpha
1999-03-07 20:56:03 +08:00
gimp_layer_set_mode
gimp_layer_set_offsets
gimp_layer_set_opacity
gimp_layer_set_preserve_trans
gimp_layer_set_show_mask
1999-03-07 20:56:03 +08:00
gimp_layer_translate
gimp_levels
gimp_levels_auto
gimp_levels_stretch
1999-03-07 20:56:03 +08:00
gimp_main
gimp_mask_apply_mode_get_type
gimp_merge_type_get_type
1999-03-07 20:56:03 +08:00
gimp_message
gimp_message_get_handler
gimp_message_set_handler
gimp_min_colors
gimp_monitor_number
gimp_offset_type_get_type
gimp_orientation_type_get_type
gimp_paintbrush
gimp_paintbrush_default
gimp_palette_add_entry
gimp_palette_delete
gimp_palette_delete_entry
gimp_palette_duplicate
gimp_palette_entry_get_color
gimp_palette_entry_get_name
gimp_palette_entry_set_color
gimp_palette_entry_set_name
1999-03-07 20:56:03 +08:00
gimp_palette_get_background
gimp_palette_get_columns
1999-03-07 20:56:03 +08:00
gimp_palette_get_foreground
gimp_palette_get_info
gimp_palette_is_editable
gimp_palette_new
gimp_palette_rename
gimp_palette_select_destroy
gimp_palette_select_new
1999-03-07 20:56:03 +08:00
gimp_palette_set_background
gimp_palette_set_columns
gimp_palette_set_default_colors
1999-03-07 20:56:03 +08:00
gimp_palette_set_foreground
gimp_palette_swap_colors
gimp_palettes_close_popup
gimp_palettes_get_list
gimp_palettes_get_palette
gimp_palettes_get_palette_entry
gimp_palettes_popup
gimp_palettes_refresh
gimp_palettes_set_palette
gimp_palettes_set_popup
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_import
gimp_path_import_string
gimp_path_list
gimp_path_set_current
gimp_path_set_locked
gimp_path_set_points
gimp_path_set_tattoo
gimp_path_stroke_current
gimp_path_to_selection
gimp_pattern_get_info
gimp_pattern_get_pixels
gimp_pattern_select_destroy
gimp_pattern_select_new
gimp_patterns_close_popup
gimp_patterns_get_list
gimp_patterns_get_pattern
gimp_patterns_get_pattern_data
gimp_patterns_popup
gimp_patterns_refresh
gimp_patterns_set_pattern
gimp_patterns_set_popup
gimp_pencil
gimp_perspective
gimp_pixel_fetcher_destroy
gimp_pixel_fetcher_get_pixel
gimp_pixel_fetcher_new
gimp_pixel_fetcher_put_pixel
gimp_pixel_fetcher_set_bg_color
gimp_pixel_fetcher_set_edge_mode
1999-03-07 20:56:03 +08:00
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_plugin_icon_register
gimp_plugin_menu_register
Added API to explicitly register dynamic menu items hierarchies. Fixes bug 2005-03-24 Michael Natterer <mitch@gimp.org> Added API to explicitly register dynamic menu items hierarchies. Fixes bug #170623. * app/core/gimp.h: added "GSList *plug_in_menu_branches". * app/plug-in/plug-in-types.h * app/plug-in/plug-ins.[ch]: added API to register plug-in menu branches, just as for locale and help domans. Cleaned up handling of locale and help domains. (plug_ins_exit): free the registered menu branches. * app/actions/plug-in-actions.[ch] (plug_in_actions_add_branch): new function to explicitly add a menu branch action. (plug_in_actions_setup): add the registered menu branches to each new action group. (plug_in_actions_build_path): always strip the untranslated menu path from underlines before using it as hash table key or action name. * app/menus/plug-in-menus.c (plug_in_menus_add_proc): changed accordingly: strip underlines from untranslated menu paths before passing them to plug_in_menus_build_path(). * app/core/gimp-gui.[ch]: added gimp_menus_create_branch() plus vtable entry to access the new stuff from the core. Renamed the functions desling with items from gimp_foo_entry() to gimp_foo_item(). * app/gui/gui-vtable.c: implement create_branch() and add the branch action to all existing "plug-in" action groups. Note that we don't need to create any menus because that happens implicitly when adding menu items. * tools/pdbgen/pdb/plug_in.pdb (plugin_menu_branch_register): new PDB wrapper to access branch registering from plug-ins. * app/pdb/internal_procs.c * app/pdb/plug_in_cmds.c * libgimp/gimpplugin_pdb.[ch]: regenerated. * libgimp/gimp.def: changed accordingly. * plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts): register the menu branches for all included scripts.
2005-03-25 00:08:04 +08:00
gimp_plugin_menu_branch_register
gimp_posterize
gimp_procedural_db_dump
gimp_procedural_db_get_data
gimp_procedural_db_get_data_size
gimp_procedural_db_proc_arg
gimp_procedural_db_proc_info
gimp_procedural_db_proc_val
gimp_procedural_db_query
gimp_procedural_db_set_data
gimp_procedural_db_temp_name
gimp_progress_cancel
1999-03-07 20:56:03 +08:00
gimp_progress_init
gimp_progress_install
Added parent window API to the GimpProgress interface and to the libgimp 2005-09-09 Michael Natterer <mitch@gimp.org> Added parent window API to the GimpProgress interface and to the libgimp progress stuff. Might look strange, but does the right thing in almost all cases (image window, file dialog, script-fu dialog etc). Fixes bug #62988. * app/core/gimpprogress.[ch]: added GimpProgress::get_window() which should return a toplevel window ID if the progress is in a window that wants to be the transient parent of plug-in dialogs. * app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new function which returns the window handle of a GtkWindow's GdkWindow. * app/widgets/gimpfiledialog.c: implement ::get_window(). * app/display/gimpdisplay.[ch]: ditto. Removed window handle API. * app/gui/gui-vtable.c: changed accordingly. * libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand): added GIMP_PROGRESS_COMMAND_GET_WINDOW. * app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window): new function. Also renamed some functions to match the GimpProgress interface, and not the legacy PDB procedure names. * tools/pdbgen/pdb/progress.pdb * app/core/gimppdbprogress.c: implement get_window() on both sides of the wire, keeping backward compatibility (hopefully). * libgimp/gimpprogress.[ch]: deprecated gimp_progress_install() and added gimp_progress_install_vtable() which takes a vtable with padding to be extensible. Added get_window() vtable entry and dispatch it accordingly. Also added pulse() which was implemented in a hackish way before. Everything is of course backward compatible. * libgimp/gimpprogressbar.c: inmplement the get_window() stuff so a plug-in dialog containing a progress can be the transient parent of another dialog in another plug-in. * libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function which returns a foreign GdkWindow of this plug-ins progress window. Renamed gimp_window_set_transient_for_default_display() to gimp_window_set_transient() and make it use the progress' window handle instead of the display's (which is the right thing to do in almost all cases). * libgimp/gimp.def * libgimp/gimpui.def: add the new functions. * tools/pdbgen/enums.pl * app/pdb/internal_procs.c * app/pdb/progress_cmds.c * libgimp/gimpprogress_pdb.[ch]: regenerated. * libgimp/gimpexport.c * plug-ins/*/*.c: follow API change.
2005-09-10 02:07:31 +08:00
gimp_progress_install_vtable
gimp_progress_pulse
gimp_progress_set_text
Added parent window API to the GimpProgress interface and to the libgimp 2005-09-09 Michael Natterer <mitch@gimp.org> Added parent window API to the GimpProgress interface and to the libgimp progress stuff. Might look strange, but does the right thing in almost all cases (image window, file dialog, script-fu dialog etc). Fixes bug #62988. * app/core/gimpprogress.[ch]: added GimpProgress::get_window() which should return a toplevel window ID if the progress is in a window that wants to be the transient parent of plug-in dialogs. * app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new function which returns the window handle of a GtkWindow's GdkWindow. * app/widgets/gimpfiledialog.c: implement ::get_window(). * app/display/gimpdisplay.[ch]: ditto. Removed window handle API. * app/gui/gui-vtable.c: changed accordingly. * libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand): added GIMP_PROGRESS_COMMAND_GET_WINDOW. * app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window): new function. Also renamed some functions to match the GimpProgress interface, and not the legacy PDB procedure names. * tools/pdbgen/pdb/progress.pdb * app/core/gimppdbprogress.c: implement get_window() on both sides of the wire, keeping backward compatibility (hopefully). * libgimp/gimpprogress.[ch]: deprecated gimp_progress_install() and added gimp_progress_install_vtable() which takes a vtable with padding to be extensible. Added get_window() vtable entry and dispatch it accordingly. Also added pulse() which was implemented in a hackish way before. Everything is of course backward compatible. * libgimp/gimpprogressbar.c: inmplement the get_window() stuff so a plug-in dialog containing a progress can be the transient parent of another dialog in another plug-in. * libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function which returns a foreign GdkWindow of this plug-ins progress window. Renamed gimp_window_set_transient_for_default_display() to gimp_window_set_transient() and make it use the progress' window handle instead of the display's (which is the right thing to do in almost all cases). * libgimp/gimp.def * libgimp/gimpui.def: add the new functions. * tools/pdbgen/enums.pl * app/pdb/internal_procs.c * app/pdb/progress_cmds.c * libgimp/gimpprogress_pdb.[ch]: regenerated. * libgimp/gimpexport.c * plug-ins/*/*.c: follow API change.
2005-09-10 02:07:31 +08:00
gimp_progress_get_window_handle
gimp_progress_uninstall
1999-03-07 20:56:03 +08:00
gimp_progress_update
gimp_quit
gimp_read_expect_msg
gimp_rect_select
gimp_register_file_handler_mime
1999-03-07 20:56:03 +08:00
gimp_register_load_handler
gimp_register_magic_load_handler
gimp_register_save_handler
gimp_register_thumbnail_loader
gimp_rgn_iterate1
gimp_rgn_iterate2
gimp_rgn_iterator_dest
gimp_rgn_iterator_free
gimp_rgn_iterator_new
gimp_rgn_iterator_src
gimp_rgn_iterator_src_dest
gimp_rotate
gimp_rotation_type_get_type
gimp_run_mode_get_type
1999-03-07 20:56:03 +08:00
gimp_run_procedure
gimp_run_procedure2
gimp_scale
gimp_selection_all
gimp_selection_border
gimp_selection_bounds
gimp_selection_clear
gimp_selection_combine
gimp_selection_feather
gimp_selection_float
gimp_selection_grow
gimp_selection_invert
gimp_selection_is_empty
gimp_selection_layer_alpha
gimp_selection_load
gimp_selection_none
gimp_selection_save
gimp_selection_sharpen
gimp_selection_shrink
gimp_selection_translate
gimp_selection_value
gimp_shear
gimp_shm_ID
gimp_shm_addr
gimp_show_help_button
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_threshold
1999-03-07 20:56:03 +08:00
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
1999-03-07 20:56:03 +08:00
gimp_uninstall_temp_proc
gimp_version
gimp_wm_class