- 31 Aug, 2003 2 commits
-
-
Sven Neumann authored
-
Manish Singh authored
2003-08-31 Manish Singh <yosh@gimp.org> * configure.in: added a prominent comment for translators to make sure they have all 4 po files before adding to ALL_LINGUAS. * app/gui/plug-in-menus.c: remove redudant #include of gimpenv.h * tools/pdbgen/pdb/plug_in.pdb: gimp_strip_uline menu_path before passing it up. * app/pdb/plug_in_cmds.c: regenerated. * plug-ins/common/mng.c * plug-ins/common/psd_save.c * plug-ins/common/psp.c: use G_N_ELEMENTS * plug-ins/common/screenshot.c: use GDK_WINDOWING_* for #includes too. GDK cursor enums are ok to pass to XCreateFontCursor. * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups, also use gtk_cell_renderer_text_set_fixed_height_from_font as an optimization. * plug-ins/libgck/gck/gckcolor.c: #undef GDK_DISABLE_DEPRECATED and add warning. * plug-ins/pygimp/gimpfu.py: remove some redundant import gtk's
-
- 28 Aug, 2003 2 commits
-
-
Manish Singh authored
2003-08-28 Manish Singh <yosh@gimp.org> * plug-ins/common/screenshot.c: cleanups. sizeof() isn't valid in preprocessor land. Use GDK_WINDOWING_* instead of G_OS_WIN32. XFreeCursor when we're done with it.
-
Henrik Brix Andersen authored
2003-08-28 Henrik Brix Andersen <brix@gimp.org> * plug-ins/common/screenshot.c: rewrote a large part of the screenshot plug-in. The plug-in now no longer depends on the xwd utility, but uses Xlib/GDK functionality to obtain the screen shot. The window to shoot is now selected prior to the time out. This fixes bug #103852. The ability to obtain a screen shot of a window without decorations has had to go since this can not be done using plain Xlib/GDK (one would have to depend on libXmu to do this). The source is prepared for G_OS_WIN32 but the win32 specific code is yet to be written. * tools/pdbgen/pdb/plug_in.pdb (gimp_progress_update): improved the inline documentation * app/pdb/plug_in_cmds.c * libgimp/gimpplugin_pdb.c: regenerated
-
- 17 Jul, 2003 1 commit
-
-
Jakub Steiner authored
2003-07-17 Jakub Steiner <jimmac@ximian.com> * plug-ins/common/*.c: added mnemonics for plugins
-
- 02 Jul, 2003 1 commit
-
-
Sven Neumann authored
2003-07-02 Sven Neumann <sven@gimp.org> * plug-ins: last bunch of plug-ins adapted to libgimp changes.
-
- 19 Jun, 2003 1 commit
-
-
Michael Natterer authored
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.
-
- 13 Jun, 2003 1 commit
-
-
Michael Natterer authored
2003-06-13 Michael Natterer <mitch@gimp.org> Cleaned up and improved the message system: * app/core/gimp.[ch]: added "const gchar *domain" to GimpMessageFunc (a NULL domain means the message is from the GIMP core, everything else is a plug-in). * app/errors.c: pass "domain == NULL" to gimp_message(). * tools/pdbgen/pdb/message.pdb: derive the message domain from the current plug-in's menu_path (evil hack but works reasonably well). * app/pdb/message_cmds.c: regenerated. * app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a header showing the message domain and changed the dialog layout to follow the HIG more closely. * app/gui/error-console-dialog.[ch]: removed. * app/widgets/gimperrorconsole.[ch] * app/gui/error-console-commands.[ch] * app/gui/error-console-menu.[ch]: new files containing a re-implementation of the error console dialog. * app/gui/Makefile.am * app/gui/dialogs-constructors.c * app/gui/gui.c * app/gui/menus.c * app/widgets/Makefile.am * app/widgets/widgets-types.h: changed accordingly. * app/display/gimpprogress.c: added more spacing and removed the separator (more HIG compliant). * plug-ins/[most plug-ins].c: Changed lots of messages and progress strings: - Removed plug-in names from messages since that's automatically covered by "domain" now. - Put all filenames in ''. - Changed "Loading" to "Opening". - Added "..." to all progress messages. - Cleaned up all file open/save error messages to look the same and include g_strerror(errno). - Removed special casing for progress bars and *always* show them, not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect all plug-ins to do this correctly but need to hack the core to sort out unwanted progress bars). Unrelated: - Cleaned up indentation, spacing, #includes, coding style and other stuff while I was at all these files.
-
- 14 May, 2003 1 commit
-
-
Dave Neary authored
2003-05-14 Dave Neary <bolsh@gimp.org> * plug-ins/common/screenshot.c: Attach default comment to image made by screenshot. Fixes bug #51164
-
- 25 Mar, 2003 1 commit
-
-
Sven Neumann authored
2003-03-25 Sven Neumann <sven@gimp.org> * Makefile.am * gimpintl.h: removed this header file. * gimpmiscui.c: include libgimp-intl.h. * gimp.c (gimp_main): call setlocale() and bind to the libgimp textdomain so that plug-ins don't need to do that explicitely. * libgimp/stdplugins-intl.h: added the functionality that used to live in gimpintl.h and removed the libgimp related stuff. Got rid of the INIT_I18N_UI() macro. * plug-ins/*/*.c: removed all occurances of INIT_I18N_UI(). Plug-ins simply call INIT_I18N() once in their run() function. * plug-ins/script-fu/script-fu-intl.h: added the functionality that used to live in gimpintl.h and removed the libgimp related stuff. * app/Makefile.am * app/gimp-intl.h: new file that defines the gettext macros for the GIMP core. * app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h. * plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
-
- 31 Jan, 2003 1 commit
-
-
Manish Singh authored
2003-01-30 Manish Singh <yosh@gimp.org> * app/undo_history.c * libgimp/gimpmenu.c * plug-ins/Lighting/lighting_preview.c * plug-ins/common/animationplay.c * plug-ins/common/jpeg.c * plug-ins/common/screenshot.c * plug-ins/gap/gap_navigator_dialog.c * plug-ins/gflare/gflare.c * plug-ins/ifscompose/ifscompose.c * plug-ins/imagemap/imap_main.c * plug-ins/imagemap/imap_polygon.c: changed gtk_{timeout,idle} stuff to their glib equivalents. Minor cleanups also with support code. * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): use gtk_entry_set_activates_default()
-
- 19 Jan, 2003 1 commit
-
-
Maurits Rijk authored
-
- 07 Jan, 2003 1 commit
-
-
Manish Singh authored
2003-01-06 Manish Singh <yosh@gimp.org> * lots of files in plug-ins: cleanup, removed unecessary G_OBJECT() casts.
-
- 29 Jan, 2002 1 commit
-
-
Sven Neumann authored
2002-01-29 Sven Neumann <sven@gimp.org> * plug-ins/common/screenshot.c: added a call to gtk_widget_show() that got lost during porting. Now you can shoot the whole screen again.
-
- 31 Dec, 2001 1 commit
-
-
Michael Natterer authored
2001-12-31 Michael Natterer <mitch@gimp.org> * plug-ins/common/nlfilt.c * plug-ins/common/noisify.c * plug-ins/common/nova.c * plug-ins/common/oilify.c * plug-ins/common/papertile.c * plug-ins/common/pat.c * plug-ins/common/pixelize.c * plug-ins/common/plasma.c * plug-ins/common/plugindetails.c * plug-ins/common/png.c * plug-ins/common/pnm.c * plug-ins/common/polar.c * plug-ins/common/ps.c * plug-ins/common/psp.c * plug-ins/common/randomize.c * plug-ins/common/ripple.c * plug-ins/common/sample_colorize.c * plug-ins/common/scatter_hsv.c * plug-ins/common/screenshot.c * plug-ins/common/sel_gauss.c * plug-ins/common/sharpen.c * plug-ins/common/shift.c: compile with GTK_DISABLE_DEPRECATED.
-
- 19 Dec, 2001 1 commit
-
-
Sven Neumann authored
2001-12-19 Sven Neumann <sven@gimp.org> * app/plug-in/Makefile.am * app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split plug-in.c into smaller pieces. * app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and renamed it to GimpRunMode. * app/plug-in/plug-in.[ch] * app/gimphelp.c * app/file/file-open.[ch] * app/file/file-save.[ch] * app/file/file-utils.c * app/gui/file-commands.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/paths-dialog.c * app/xcf/xcf.c * tools/pdbgen/pdb/fileops.pdb: changed accordingly. * app/pdb/fileops_cmds.c * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * libgimp/gimpfileops_pdb.[ch] * tools/pdbgen/enums.pl: regenerated. * libgimp/Makefile.am * libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to document plug-in API changes. * plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
-
- 10 Dec, 2001 1 commit
-
-
Michael Natterer authored
2001-12-10 Michael Natterer <mitch@gimp.org> * plug-ins/common/screenshot.c: removed deprecated use of "user_data" together with libgimpwidgets standard callbacks. Reported by Carambide on #gimp.
-
- 06 Dec, 2001 1 commit
-
-
David Odin authored
removing a bunch of unuseful static variables. Changed some g_malloc to g_new while I was on it.11
-
- 29 Nov, 2001 1 commit
-
-
Sven Neumann authored
2001-11-29 Sven Neumann <sven@gimp.org> * m4macros/gimp-1.4.m4: use gimptool-1.3. * app/display/gimpdisplayshell.c * app/gui/gui.c: cosmetic changes from Guillermo S. Romero. * plug-ins/common/*.c * plug-ins/script-fu/script-fu-scripts.c: applied patches from Guillermo S. Romero that change the button ordering. I had to redo some of the changes by hand since the patches didn't apply cleanly. Hopefully got it all right...
-
- 03 Aug, 2001 1 commit
-
-
Michael Natterer authored
-
- 29 Jul, 2001 1 commit
-
-
Sven Neumann authored
2001-07-29 Sven Neumann <sven@gimp.org> * plug-ins/common/AlienMap.c * plug-ins/common/AlienMap2.c * plug-ins/common/CML_explorer.c * plug-ins/common/align_layers.c * plug-ins/common/blinds.c * plug-ins/common/borderaverage.c * plug-ins/common/bumpmap.c * plug-ins/common/curve_bend.c * plug-ins/common/deinterlace.c * plug-ins/common/emboss.c * plug-ins/common/film.c * plug-ins/common/fractaltrace.c * plug-ins/common/gif.c * plug-ins/common/gih.c * plug-ins/common/hot.c * plug-ins/common/iwarp.c * plug-ins/common/jigsaw.c * plug-ins/common/jpeg.c * plug-ins/common/lic.c * plug-ins/common/mail.c * plug-ins/common/max_rgb.c * plug-ins/common/mblur.c * plug-ins/common/newsprint.c * plug-ins/common/nlfilt.c * plug-ins/common/papertile.c * plug-ins/common/pnm.c * plug-ins/common/ps.c * plug-ins/common/psp.c * plug-ins/common/ripple.c * plug-ins/common/sample_colorize.c * plug-ins/common/screenshot.c * plug-ins/common/shift.c * plug-ins/common/sinus.c * plug-ins/common/sparkle.c * plug-ins/common/struc.c * plug-ins/common/sunras.c * plug-ins/common/tiff.c * plug-ins/common/waves.c * plug-ins/common/wind.c * plug-ins/common/xbm.c: got rid of lots of compiler warnings by adding G_CALLBACK() casts and some const declarations.
-
- 15 Mar, 2001 1 commit
-
-
Sven Neumann authored
2001-03-15 Sven Neumann <sven@gimp.org> * plug-ins/common/screenshot.c: applied patch from Tom Holroyd <tomh@po.crl.go.jp> which fixes wrong array size.
-
- 08 Nov, 2000 1 commit
-
-
Michael Natterer authored
2000-11-08 Michael Natterer <mitch@gimp.org> * plug-ins/common/bz2.c * plug-ins/common/gz.c * plug-ins/common/mail.c * plug-ins/common/screenshot.c * plug-ins/common/url.c: applied a (modified) version of gimp-quinet-20001108-1.patch which adds proper checking of the return value of waitpid(). Removed the lines adding gimp_signal_private() because of the fix below. * libgimp/gimp.c: Don't install a SIGCHLD signal handler but simply call gimp_signal_private(SIGCHLD, SIG_DFL, SA_RESTART) instead. This is IMHO the right thing to do because the reason for the introducion of the signal handler was the SA_RESTART feature and not the handler itself.
-
- 07 Nov, 2000 1 commit
-
-
Sven Neumann authored
2000-11-07 Sven Neumann <sven@gimp.org> * plug-ins/common/screenshot.c: applied a patch from Raphael Quinet which adds a check for the return value of waitpid().
-
- 29 Oct, 2000 1 commit
-
-
Sven Neumann authored
2000-10-29 Sven Neumann <sven@gimp.org> * plug-ins/common/screenshot.c: tuned the dialog layout and cleaned up the code. No real changes.
-
- 25 Aug, 2000 1 commit
-
-
Sven Neumann authored
2000-08-25 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/selection.pdb: added a few more PDB wrappers * tools/pdbgen/pdb/image.pdb: tweaked the help and blurb strings * app/image_cmds.c * libgimp/gimpfileops_pdb.[ch] * libgimp/gimpimage_pdb.c * libgimp/gimpselection_pdb.[ch]: regenerated * plug-ins/common/bz2.c * plug-ins/common/gz.c * plug-ins/common/mail.c * plug-ins/common/screenshot.c * plug-ins/common/url.c * plug-ins/gdyntext/gdyntext.c * plug-ins/gfig/gfig.c: use new PDB wrappers. For GDynText this change fixes a bug since it used to use the wrong number of arguments for gimp_selection_load(). * plug-ins/flame/rect.[ch]: removed compiler warning
-
- 22 Aug, 2000 1 commit
-
-
Sven Neumann authored
2000-08-22 Sven Neumann <sven@gimp.org> * plug-ins/common/*.c: removed COMPAT_CRUFT.
-
- 01 Aug, 2000 1 commit
-
-
Sven Neumann authored
2000-08-01 Sven Neumann <sven@gimp.org> * libgimp/gimputils.[ch]: added g_strcompress from glib-1.3 * plug-ins/gdyntext/gdyntextutil.[ch]: removed since it duplicated gimp_strescape and the newly added gimp_strcompress. * plug-ins/gdyntext/Makefile.am * plug-ins/gdyntext/gdyntext.[ch] * plug-ins/gdyntext/gdyntext_ui.c * plug-ins/gdyntext/gdyntextcompat.c: use the new functions and got rid of some gimp_run_procedure calls since we now have proper wrappers in libgimp. * plug-ins/common/autocrop.c * plug-ins/common/gif.c * plug-ins/common/gifload.c * plug-ins/common/guillotine.c * plug-ins/common/mail.c * plug-ins/common/screenshot.c * plug-ins/common/tile.c * plug-ins/common/zealouscrop.c * plug-ins/gflare/gflare.c * plug-ins/gimpressionist/gimpressionist.c * plug-ins/pagecurl/pagecurl.c * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/script-fu.c: replaced gimp_run_procedure calls with functions from libgimp that wrap the PDB calls. Sorry, all this is untested but I will leave tomorrow and hope to get some hacking done at Mitch's place. So I wanted that stuff to be in CVS. There are good chances that it works...
-
- 22 May, 2000 1 commit
-
-
Michael Natterer authored
2000-05-22 Michael Natterer <mitch@gimp.org> * plug-ins/*: s/gimp_plugin_help_func/gimp_standard_help_func/ Coincidentially, my script also removed empty lines from the end of _all_ *.c file (not only from those which contained gimp_plugin_help_func).
-
- 01 May, 2000 1 commit
-
-
Michael Natterer authored
2000-05-01 Michael Natterer <mitch@gimp.org> * plug-ins/common/[r-z]*.c: use gimp_ui_init(). Minor cleanups like below: includes, indentation, prototypes...
-
- 08 Mar, 2000 1 commit
-
-
Sven Neumann authored
--Sven
-
- 09 Jan, 2000 1 commit
-
-
Sven Neumann authored
--Sven
-
- 08 Jan, 2000 1 commit
-
-
Michael Natterer authored
2000-01-08 Michael Natterer <mitch@gimp.org> * plug-ins/common/Makefile.am * plug-ins/common/hrz.c * plug-ins/common/papertile.c * plug-ins/common/pat.c * plug-ins/common/pixelize.c * plug-ins/common/plasma.c * plug-ins/common/plugindetails.c * plug-ins/common/png.c * plug-ins/common/pnm.c * plug-ins/common/polar.c * plug-ins/common/ps.c * plug-ins/common/psp.c * plug-ins/common/randomize.c * plug-ins/common/ripple.c * plug-ins/common/sample_colorize.c * plug-ins/common/scatter_hsv.c * plug-ins/common/screenshot.c * plug-ins/common/sel_gauss.c * plug-ins/common/sharpen.c * plug-ins/common/shift.c * plug-ins/common/smooth_palette.c * plug-ins/common/snoise.c * plug-ins/common/sobel.c * plug-ins/common/sparkle.c * plug-ins/common/spheredesigner.c * plug-ins/common/spread.c * plug-ins/common/sunras.c: more plugins which use the dialog constructor. Hacked many UIs to look like the app's dialogs.
-
- 27 Dec, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 14 Dec, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 23 Nov, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 22 Nov, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 27 Oct, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 01 Sep, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 26 Aug, 1999 1 commit
-
-
Tor Lillqvist authored
1999-08-27 Tor Lillqvist <tml@iki.fi> * app/menus.c: Add Acquire under the File menu. * plug-ins/twain: New (Windows-only) plug-in. Interface to TWAIN image sources. Written by Craig Setera. * plug-ins/Makefile.am: Add twain sources to EXTRA_DIST. * plug-ins/makefile.{cygwin,msc}: Move gimpressionist and twain around as they are in this directory now. * plug-ins/common/screenshot.c * plug-ins/winsnap/winsnap.c * plug-ins/twain/twain.c: Put them under File/Acquire.
-