diff --git a/ChangeLog b/ChangeLog index d0f806041e..6198177696 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2000-08-02 Tor Lillqvist + + * libgimp/gimp.def: Add handful of missing functions, that + gdyntext now uses. + + * plug-ins/makefile.cygwin: Move gdyntext from unofficial set to + official. + + * plug-ins/gdyntext/font_selection.c: Remove unneeded inclusion of + Xlib.h and gdkx.h. + + * plug-ins/gdyntext/gdyntext.c: Use G_PI. + 2000-08-01 Sven Neumann * app/TODO: removed diff --git a/libgimp/gimp.def b/libgimp/gimp.def index 5b81fe07f3..3a269f8394 100644 --- a/libgimp/gimp.def +++ b/libgimp/gimp.def @@ -23,10 +23,15 @@ EXPORTS _gimp_unit_get_symbol _gimp_unit_new _gimp_unit_set_deletion_flag + 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_copy gimp_channel_delete gimp_channel_get_color @@ -42,10 +47,16 @@ EXPORTS gimp_channel_set_opacity gimp_channel_set_show_masked gimp_channel_set_visible + gimp_clone + gimp_clone_default gimp_color_cube + gimp_color_picker gimp_convert_grayscale gimp_convert_indexed gimp_convert_rgb + gimp_convolve + gimp_convolve_default + gimp_crop gimp_data_directory gimp_default_display gimp_destroy_paramdefs @@ -54,6 +65,8 @@ EXPORTS 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 @@ -86,8 +99,26 @@ EXPORTS 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_process + 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_free_select + gimp_fuzzy_select gimp_gamma gimp_get_monitor_resolution gimp_get_path_by_tattoo @@ -218,6 +249,8 @@ EXPORTS 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 @@ -256,7 +289,9 @@ EXPORTS gimp_patterns_close_popup gimp_patterns_get_pattern_data gimp_patterns_set_popup + gimp_pencil gimp_personal_rc_file + gimp_perspective gimp_pixel_rgn_get_col gimp_pixel_rgn_get_pixel gimp_pixel_rgn_get_rect @@ -283,6 +318,7 @@ EXPORTS gimp_progress_init gimp_progress_update gimp_quit + gimp_rect_select gimp_register_load_handler gimp_register_magic_load_handler gimp_register_save_handler @@ -291,14 +327,23 @@ EXPORTS gimp_rgb_to_hsv4 gimp_rgb_to_hsv_double gimp_rgb_to_l + gimp_rotate gimp_run_procedure gimp_run_procedure2 gimp_run_temp + gimp_scale gimp_selection_bounds gimp_selection_float gimp_selection_is_empty gimp_selection_none + gimp_shear + gimp_smudge + gimp_smudge_default gimp_standard_help_func + 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 @@ -307,6 +352,7 @@ EXPORTS 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 diff --git a/plug-ins/gdyntext/font_selection.c b/plug-ins/gdyntext/font_selection.c index 341a91f9e2..f4eec0c1a5 100644 --- a/plug-ins/gdyntext/font_selection.c +++ b/plug-ins/gdyntext/font_selection.c @@ -25,9 +25,7 @@ #include #include #include -#include #include -#include #include #include "libgimp/stdplugins-intl.h" diff --git a/plug-ins/gdyntext/gdyntext.c b/plug-ins/gdyntext/gdyntext.c index 0fda2ecf1e..4ee1c5a093 100644 --- a/plug-ins/gdyntext/gdyntext.c +++ b/plug-ins/gdyntext/gdyntext.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include @@ -489,7 +488,7 @@ void gdt_render_text_p(GdtVals *data, gboolean show_progress) if (data->rotation != 0 && abs(data->rotation) != 360) { gimp_rotate (data->drawable_id, TRUE, - (gdouble)data->rotation * M_PI / 180.0); + (gdouble)data->rotation * G_PI / 180.0); gimp_layer_set_offsets(data->layer_id, layer_ox, layer_oy); } diff --git a/plug-ins/makefile.cygwin b/plug-ins/makefile.cygwin index 70fc9858c0..daf6a49381 100644 --- a/plug-ins/makefile.cygwin +++ b/plug-ins/makefile.cygwin @@ -38,14 +38,14 @@ COMMON4 = mapcolor max_rgb mblur newsprint nlfilt noisify normalize nova oilify COMMON5 = sample_colorize scatter_hsv semiflatten sharpen shift smooth_palette snoise sobel sparkle spheredesigner spread sunras tga threshold_alpha tiff tile tileit tiler unsharp video vinvert vpropagate warp waves whirlpinch winclipboard wind winprint wmf xbm xwd zealouscrop # These have own subdirectories each -SEPARATE = AlienMap AlienMap2 FractalExplorer Lighting MapObject bmp dbbrowser faxg3 fits flame fp gfig gflare gfli gimpressionist ifscompose imagemap maze mosaic pagecurl rcm sel2path sgi sinus struc twain webbrowser winsnap +SEPARATE = AlienMap AlienMap2 FractalExplorer Lighting MapObject bmp dbbrowser faxg3 fits flame fp gfig gflare gfli gimpressionist gdyntext ifscompose imagemap maze mosaic pagecurl rcm sel2path sgi sinus struc twain webbrowser winsnap # These are unofficial, ie not in the CVS. To build these, you should # get tml's source snapshot and copy this makefile to the # ../unofficial-plug-ins directory, go there, and do "make -f # makefile.cygwin unofficial". -UNOFFICIAL = Anamorphose DigitalSignature RGB_Displace ccanalyze fixer gdyntext gimp_ace guash homogenizer kaleidoscope logconv sel_gauss magiceye mathmap psd_save resynthesizer user_filter +UNOFFICIAL = Anamorphose DigitalSignature RGB_Displace ccanalyze fixer gimp_ace guash homogenizer kaleidoscope logconv sel_gauss magiceye mathmap psd_save resynthesizer user_filter # The main target