- 18 Feb, 2002 2 commits
-
-
Sven Neumann authored
2002-02-18 Sven Neumann <sven@gimp.org> * configure.in: require latest glib and gtk+ releases (1.3.14). Bumped our version number to 1.3.4.
-
Sven Neumann authored
2002-02-18 Sven Neumann <sven@gimp.org> * app/core/gimpimagefile.c: implemented thumbnail loading according to the latest version of the Thumbnail Managing standard. * app/widgets/gimpimagefilepreview.[ch]: draw a GTK_DIALOG_QUESTION pixbuf when no preview is available. The implementation is a bit ugly but we can improve this later when GimpPreview has been generalized to accept pixbufs also. * themes/Default/gtkrc: register the icons for GtkWidget instead of GtkImage so they can be used from other widgets too. * plug-ins/common/zealouscrop.c: merged fix for bug #71795 from stable branch.
-
- 17 Feb, 2002 7 commits
-
-
Sven Neumann authored
2002-02-17 Sven Neumann <sven@gimp.org> * plug-ins/common/aa.c: code cleanup based on a patch from Maurits Rijk <lpeek.mrijk@consunet.nl>.
-
Manish Singh authored
2001-02-17 Manish Singh <yosh@gimp.org> * app/core/Makefile.am: add a -DGIMP_COMPILATION so cpercep can optionally include glib.h. This needs to be done in the makefile.msc too, but I'm unsure on the right way to do that. * app/core/cpercep.c: guard #include <glib.h> in GIMP_COMPILATION. cbrt() is a GNU extension, so define in terms of pow if we aren't on glibc. Guard CLAMP against redefinition. * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * plug-ins/gimpressionist/gimpressionist.c: make them build again
-
Hans Breuer authored
-
Hans Breuer authored
2001-02-17 Hans Breuer <hans@breuer.org> * */*/makefile.msc */makefile.msc : from now on use make.msc from $(TOP)/glib/build/win32; all occurences of DIRENT removed and general update * app/config/makefile.msc app/paint/makefile.msc app/plug-in/makefile.msc themes/Default/makefile.msc : new files * app/base/base.c : ported to GDir usage * app/config/gimpconfig-serialize.c : app/config/gimpconfig-deserialize.c : HAVE_UNISTD_H * app/config/gimpconfig.c : app/config/gimprc.c : HAVE_UNISTD_H, use <io.h> for open() prototype and merged pmode parameter (_S_IREAD | _S_IWRITE) * app/core/cpercep.c : msvc doesn't have cbrt(), provide it via pow(). Also include <glib.h> for painless 'inline' definition. * app/core/gimpdatafiles.c : ported to GDir usage * app/core/gimpimage-convert.c : work around a msvc compiler limitation (can't convert from uint64 to double) * app/file/file-open.c app/file/file-save.c : access() -> _access() for G_OS_WIN32 * app/plug-in/plug-in.c : HAVE_UNISTD_H and <io.h> * libgimpbase/gimpbase.def : updated externals * libgimpbase/gimpenv.c : define WIN32_LEAN_AND_MEAN to avoid clashes with incompatible DATADIR definitions * libgimpcolor/gimpcolor.def : updated externals * lingimpmath/gimpmath.def : updated externals * libgimpwidgets/gimpwidgets.def : updated externals * libgimpwidgets/libgimp-glue.c : adapt to const changes of some prototypes * plug-ins/makefile.msc : disabled gdyntext * plug-ins/gap/iter_ALT/*/*.inc : GimpRunModeType -> GimpRunMode * plug-ins/FractalExplorer/FractalExplorer.c : * plug-ins/gap/gap_lib.c : * plug-ins/gfig/gfig.c : * plug-ins/gflare/gflare.c : * plug-ins/gimpressionist/gimpressionist.c : replaced DIRENT usage with GDir * plug-ins/script-fu/script-fu-scripts.c : #include <windows.h> to get the Sleep() prototype
-
Michael Natterer authored
2002-02-17 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell.[ch]: made gimp_display_shell_update_icon() public, removed the update_icon signal handler and idle function. * app/display/gimpdisplayshell-handlers.c: added the update_icon stuff here so it get's properly dis- and reconnected.
-
Michael Natterer authored
2002-02-17 Michael Natterer <mitch@gimp.org> Fixed #34633 (wheel mouse zooming leaves straigth-line helpline on image) and maybe some other stuff caused by the misbehaviour described below: * app/tools/tools-types.h * app/tools/tool_manager.c (tool_manager_control_active): Removed the "PAUSED" ToolState. The possible state transitions were INACTIVE <-> ACTIVE <-> PAUSED, where the ACTIVE <-> PAUSED transition was done only in the tool_manager, causing the tools's control() never to be called when the tool was INACTIVE. The GimpPaintTool however wants to draw on the display when it's INACTIVE, and of course wants to be suspended/resumed correctly while fiddling with display repainting/scaling/... The PAUSED state was also redundant information, since (tool->paused_count > 0) is the same information (only more correct and independent of tool activity). * app/display/gimpdisplayshell-scale.[ch]: suspend/resume the active tool around _all_ changes to the display's "scale" and "offset" fields. Added new function gimp_display_shell_scale_by_values() which does that and is called from all places which need to change these values. * app/tools/gimpmagnifytool.c: changed accordingly. Unrelated stuff: * app/paint/gimpairbrush.c: added a #warning FIXME. * app/tools/gimpdrawtool.c: made a warning more verbose. * app/tools/gimppainttool.c: put one more drawable offset calculation in { .. }, will make a utility function out of it...
-
Manish Singh authored
2002-02-16 Manish Singh <yosh@gimp.org> * app/gui/file-open-dialog.c: use new GtkFileSelection multiselect API.
-
- 15 Feb, 2002 1 commit
-
-
Michael Natterer authored
2002-02-15 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-handlers.c: added back the handler which invalidates the display_title on dirty/clean. Removing it was simply wrong. * app/display/gimpdisplayshell-scale.c: don't call gimp_display_shell_update_title() directly but set shell->title_dirty to TRUE before calling gdisplays_flush(). * app/paint/gimppaintcore.[ch]: added gimp_paint_core_constrain() which does the "snap to 15 degrees" stuff formerly done in GimpPaintTool. Call gimp_brush_select_brush() in gimp_paint_core_paint() if paint_state == MOTION, not in several other places. Reordered functions, added some comments and documentation. * app/paint/gimpairbrush.c * app/paint/gimpclone.c * app/paint/gimpconvolve.c * app/paint/gimpdodgeburn.c * app/paint/gimperaser.c * app/paint/gimppaintbrush.c * app/paint/gimppencil.c * app/paint/gimpsmudge.c: s/CORE_CAN_HANDLE_CHANGING_BRUSH/CORE_HANDLES_CHANGING_BRUSH/g, minor cleanup. * app/pdb/pdb-types.h: include "paint/paint-types.h" * app/tools/gimppainttool.[ch]: use gimp_paint_core_constrain(), removed paint_tool->state because it's not needed any more, lots of cleanup. * tools/pdbgen/app.pl: another eeky special case for "paint/". * tools/pdbgen/pdb/paint_tools.pdb: include stuff from "paint/", not "tools/". * app/pdb/paint_tools_cmds.c: regenerated.
-
- 14 Feb, 2002 2 commits
-
-
Manish Singh authored
-
Michael Natterer authored
2002-02-14 Michael Natterer <mitch@gimp.org> Core/UI separation for the paint tools: * configure.in * app/Makefile.am * app/paint/.cvsignore * app/paint/Makefile.am: added new directory for the paint methods without GUI and tools around them. * app/paint/paint-types.h: typedefs for this module. * app/paint/gimppaintcore-kernels.h * app/paint/gimppaintcore.[ch]: the general paint logic taken from GimpPaintTool. * app/paint/gimpairbrush.[ch] * app/paint/gimpclone.[ch] * app/paint/gimpconvolve.[ch] * app/paint/gimpdodgeburn.[ch] * app/paint/gimperaser.[ch] * app/paint/gimppaintbrush.[ch] * app/paint/gimppencil.[ch] * app/paint/gimpsmudge.[ch]: subclasses of GimpPaintCore, implementing their own paint() methods. Needs more hacking to get the GtkWidget pointers out of the options structs. * app/tools/gimppainttool_kernels.h: removed. * app/tools/tools-types.h: removed the paint tool enums. * app/tools/gimpairbrushtool.[ch] * app/tools/gimpclonetool.[ch] * app/tools/gimpconvolvetool.[ch] * app/tools/gimpdodgeburntool.[ch] * app/tools/gimperasertool.[ch] * app/tools/gimppaintbrushtool.[ch] * app/tools/gimppainttool.[ch] * app/tools/gimppenciltool.[ch] * app/tools/gimpsmudgetool.[ch]: all paint tools are pure GUI things now. PaintOptions and friends still need to be chopped up though... * app/undo.c: changed PaintUndo to GimpPaintCoreUndo, some minor cleanup. * tools/kernelgen.c: changed accordingly. * tools/pdbgen/Makefile.am: scan paint/paint-types.h for enums. * tools/pdbgen/pdb/paint_tools.pdb: hardcode "success = FALSE" for all paint PDB wrappers. The non-gui stuff is completely broken. More commits to come... * app/pdb/paint_tools_cmds.c * tools/pdbgen/enums.pl: regenerated.
-
- 13 Feb, 2002 4 commits
-
-
Michael Natterer authored
2002-02-13 Michael Natterer <mitch@gimp.org> * app/tools/gimppainttool.[ch]: moved all global variables into the GimpPaintTool structure so they have a proper lifecycle and it's easier to move them to the upcoming GimpPaintCore (??) object. * app/tools/gimppainttool_kernels.h * tools/kernelgen.c: s/SUBSAMPLE/KERNEL_SUBSAMPLE/
-
Michael Natterer authored
2002-02-13 Michael Natterer <mitch@gimp.org> * app/gui/menus.c: moved "Merge Layers" and "Flatten Image" from "Layer/" to "Image/", removed them from the "<Layers>" menu entirely, moved "Merge Down" after "Anchor Layer" in both menus. * app/gui/image-commands.[ch]: moved callbacks from here... * app/gui/layers-commands.[ch]: ...to here. * app/gui/layers-commands.[ch] * app/display/gimpdisplayshell.c: changed menu_update functions accordingly.
-
Nate Summers authored
-
Nate Summers authored
* plug-ins/tools/.cvsignore * plug-ins/tools/Makefile.am: new directory for tool plug-ins * plug-ins/tools/common/.cvsignore * plug-ins/tools/common/Makefile.am: unified directory for single-file tool plug-ins, just like the "common" subdirectory for plug-ins * plug-ins/tools/common/gimpbrushselecttool.[ch]: start of a tool plug-in that uses the current brush to select from the image. * configure.in * plug-ins/Makefile.am: changed accordingly
-
- 12 Feb, 2002 13 commits
-
-
Michael Natterer authored
2002-02-12 Michael Natterer <mitch@gimp.org> * app/gui/edit-commands.c: merged partial fix for #62592 from stable branch.
-
Michael Natterer authored
2002-02-12 Michael Natterer <mitch@gimp.org> * app/gui/resize-dialog.c: merged fix for #63741 from stable branch, minor cleanup.
-
Sven Neumann authored
2002-02-12 Sven Neumann <sven@gimp.org> * app/gui/preferences-dialog.c * app/gui/resize-dialog.c: changed "Nearest Neighbor" interpolation to "None".
-
Nate Summers authored
-
Michael Natterer authored
2002-02-12 Michael Natterer <mitch@gimp.org> * app/paint-funcs/paint-funcs.[ch]: scale_region_no_resample() no longer needs to be public, as we can call scale_region(src, dest, GIMP_INTERPOLATION_NONE).
-
Nate Summers authored
-
Nate Summers authored
-
Nate Summers authored
* app/plug-in/plug-in-rc.c: implement a new pluginrc flag, "has-init", so that only plug-ins with init functions are initialized. * app/plug-in/plug-in.ch * libgimp/gimp.c * libgimpbase/gimpprotocol.ch: send a new gimpwire message, GP_HAS_INIT during the query stage if the plug-in needs to be initialized. Only invoke the plug-in in init mode if the plug-in has an init function.
-
Sven Neumann authored
2002-02-12 Sven Neumann <sven@gimp.org> * app/base/base-enums.h: renamed GimpInterpolationType values to something sane and unexported it from the PDB since it was never used in any PDB calls. * app/gimprc.c * app/config/gimpcoreconfig.c * app/core/gimpcoreconfig.c * app/core/gimpdrawable-transform.c * app/core/gimplayer.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.c * app/paint-funcs/paint-funcs.c * app/pdb/transform_tools_cmds.c * app/tools/transform_options.c * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly. * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated.
-
Nate Summers authored
-
Nate Summers authored
* app/plug-in/plug-in.[ch] * libgimp/gimp.c: added support for the init function in plug-ins.
-
Michael Natterer authored
2002-02-12 Michael Natterer <mitch@gimp.org> Made the interpolation type configurable in the scale and transform options dialogs (#69251): * app/base/base-config.[ch] * app/config/gimpbaseconfig.[ch]: removed interpolation_type here... * app/core/gimpcoreconfig.[ch] * app/config/gimpcoreconfig.[ch]: ...and added it here. * app/gimprc.c * app/gui/preferences-dialog.c: changed accordingly. * app/paint-funcs/paint-funcs.[ch]: scale_region: take an interpolation_type parameter. * app/core/gimpchannel.[ch] * app/core/gimpdrawable-transform.[ch] * app/core/gimpimage-scale.[ch] * app/core/gimplayer.[ch]: pass interpolation_type parameters to all scale and transform functions. * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/transform_tools.pdb: changed accordingly. * app/gui/resize-dialog.[ch] * app/tools/transform_options.[ch]: added an interpolation_type menu. * app/gui/image-commands.c * app/gui/layers-commands.c * app/tools/gimptransformtool.c: changed accordingly. * app/pdb/image_cmds.c * app/pdb/layer_cmds.c * app/pdb/transform_tools_cmds.c: regenerated.
-
Sven Neumann authored
2002-02-12 Sven Neumann <sven@gimp.org> * plug-ins/MapObject/mapobject_preview.c: s/gdk_image_get/gdk_drawable_get_image/ * plug-ins/MapObject/mapobject_ui.c: fixed wrong refcounting of GtkImage.
-
- 11 Feb, 2002 10 commits
-
-
Sven Neumann authored
-
Sven Neumann authored
2002-02-11 Sven Neumann <sven@gimp.org> * libgimpmath/Makefile.am * libgimpmath/gimpmath.h * libgimpmath/gimpmd5.[ch] * libgimpmath/test-md5.c: added MD5 digest algorithm (based on code taken from evolution). We will need this to implement the thumbnail standard (http://triq.net/~pearl/thumb-spec.php).
-
Michael Natterer authored
2002-02-11 Michael Natterer <mitch@gimp.org> * app/gimprc.[ch] * app/config/gimpdisplayconfig.[ch] * app/gui/preferences-dialog.c: made the string which appears in the display's statusbar configurable separately from the title string. They still both have the same default value. * app/display/gimpdisplayshell.c: changed accordingly. Also added lots of new % expansions which implement all stuff mentioned in #5843. Didn't apply the original patch because it is overly complicated (the same can be acheived using %D and %C). Instead, applied a changed version of gimp-quinet-000618-0.patch. Added %Cx, which expands to 'x' if the image is clean. * docs/gimprc-1.3.5.in * etc/gimprc.in * etc/gimprc.win32: added documentation for the new stuff.
-
Nate Summers authored
-
Nate Summers authored
* gui/preferences-dialog.c: s/directory/folder/ and other bex-approved proofreads
-
Sven Neumann authored
2002-02-11 Sven Neumann <sven@gimp.org> * plug-ins/common/jpeg.c: merged fix for bug #69127 from stable branch.
-
Michael Natterer authored
2002-02-11 Michael Natterer <mitch@gimp.org> * app/tools/gimpbucketfilltool.c * app/tools/selection_options.c: added missing tooltips, enabled "reset" for the new select/fill transparent toggles.
-
Michael Natterer authored
2002-02-11 Michael Natterer <mitch@gimp.org> * etc/gimprc.in * etc/gimprc.win32: document the new %m image-title-format expansion.
-
Michael Natterer authored
2002-02-11 Michael Natterer <mitch@gimp.org> * app/plug-in/plug-in.c: small hack that strips the ellipses from the "Repeat" and "Re-Show" menu entries. * plug-ins/mosaic/mosaic.c: register under "Filters/Distorts", not "Filters/Render" because this plug-in changes the image and doesn't render something from scratch.
-
Sven Neumann authored
2002-02-11 Sven Neumann <sven@gimp.org> * TODO.xml: updated.
-
- 10 Feb, 2002 1 commit
-
-
Sven Neumann authored
-