- 12 Mar, 2002 1 commit
-
-
Michael Natterer authored
2002-03-12 Michael Natterer <mitch@gimp.org> * app/config/gimpguiconfig.[ch]: removed "global_paint_options".
-
- 28 Feb, 2002 1 commit
-
-
Michael Natterer authored
2002-02-28 Michael Natterer <mitch@gimp.org> * app/gimprc.[ch] * app/config/gimpguiconfig.[ch] * app/gui/toolbox.c: removed the "show_indicators" gimprc option. The toolbox layout will change and thus obsolete it anyway. * app/gui/Makefile.am * app/gui/input-dialog.[ch]: removed. * app/gui/dialogs-constructors.[ch] * app/gui/dialogs.c * app/gui/menus.c: changed accordingly. * app/gui/preferences-dialog.c: Added an "Input Devices" page and embed the input_dialog stuff there. Put "Display" and "Monitor" under "Interface". Removed the "Session" page. Lots of cleanup and reordering of options. Please comment... * themes/Default/images/preferences/Makefile.am * themes/Default/images/preferences/input-devices.png: new icon. * themes/Default/images/preferences/session.png: removed.
-
- 17 Feb, 2002 1 commit
-
-
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
-
- 12 Feb, 2002 2 commits
-
-
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.
-
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.
-
- 11 Feb, 2002 1 commit
-
-
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.
-
- 08 Feb, 2002 3 commits
-
-
Sven Neumann authored
2002-02-08 Sven Neumann <sven@gimp.org> * app/config/gimprc.[ch]: added gimp_rc_duplicate() and started to add inline documentation. * app/config/test-config.c: test the new functionality.
-
Sven Neumann authored
2002-02-08 Sven Neumann <sven@gimp.org> * app/config/gimpbaseconfig.c * app/config/gimpcoreconfig.c * app/config/gimpdisplayconfig.c * app/config/gimpguiconfig.c: added missing finalizers.
-
Nate Summers authored
* app/gimprc.c * app/config/gimpcoreconfig.[ch] * app/core/gimpcoreconfig.[ch] * app/gui/preferences-dialog.[ch] * etc/gimprc.in: add a preferences option for tool plug-ins. Tool plug-ins should be in a separate directory so that the plug-in code can distinguish them.
-
- 28 Dec, 2001 2 commits
-
-
Sven Neumann authored
2001-12-28 Sven Neumann <sven@gimp.org> * app/config/gimprc.c: write comment to top of gimprc. * app/core/gimpscanconvert.c: removed redundant CLAMP statements. * app/plug-in/plug-in-rc.[ch] * app/plug-in/plug-in.c: rewrote pluginrc scanner and moved the code that writes the pluginrc into plug-in-rc.c.
-
Sven Neumann authored
2001-12-28 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig.h * app/config/gimprc.[ch]: added new function to only write changes to the personal gimprc. * app/config/test-config.c: test the new functionality. * tools/pdbgen/pdb/procedural_db.pdb: the change I did yesterday wasn't overly clever; here's a better one. * app/pdb/procedural_db_cmds.c: regenerated.
-
- 18 Dec, 2001 4 commits
-
-
Sven Neumann authored
2001-12-18 Sven Neumann <sven@gimp.org> * docs/gimptool-1.3.1.in * gimptool-1.3.in: applied patch from Roger Leigh <rl117@york.ac.uk> that makes gimptool respect the DESTDIR environment variable. * app/config/Makefile.am: declare test-config as TESTS so it is build and executed when running 'make check'. * app/config/gimpbaseconfig.c: don't register a GimpConfig interface. * app/config/gimpcoreconfig.c * app/config/gimpdisplayconfig.c * app/config/gimpguiconfig.c: no need to include "gimpconfig.h". * app/config/gimpconfig.[ch]: removed store_unknown parameter from deserialize method. The default implementation will bail out on unknown tokens. * app/config/gimprc.c: override deserialize method so it stores unknown tokens.
-
Sven Neumann authored
2001-12-18 Sven Neumann <sven@gimp.org> * app/config/Makefile.am: don't build test-config by default. * app/config/gimprc.[ch]: new files for the GimpRc implementation. * app/config/gimpcoreconfig.h * app/config/gimpdisplayconfig.h * app/config/gimpguiconfig.h: include the necessary enum headers here and prefix local includes with config so the files can be safely included from almost everywhere. * app/config/test-config.c: instantiate and test GimpRc.
-
Sven Neumann authored
2001-12-18 Sven Neumann <sven@gimp.org> * app/display/Makefile.am * app/display/display-enums.h: new file with GimpCursorMode enum. * app/display/display-types.h: removed CursorMode enum here, include display-enums.h. * app/gimprc.c * app/display/gimpdisplayshell.c * app/gui/preferences-dialog.c: changed accordingly. * app/config/Makefile.am * app/config/gimpbaseconfig.[ch] * app/config/gimpcoreconfig.[ch] * app/config/gimpdisplayconfig.[ch] * app/config/gimpguiconfig.[ch]: implemented the remaining properties.
-
Sven Neumann authored
2001-12-18 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-utils.[ch]: new files with utility functions. * app/config/gimpdisplayconfig.[ch]: new class with display config properties so GimpGuiConfig doesn't get too large. * app/config/gimpbaseconfig.c * app/config/gimpcoreconfig.[ch] * app/config/gimpguiconfig.[ch]: install path properties with useable defaults (substituted gimpdir and friends). Moved properties around. * app/gui/session.c: removed outdated comment.
-
- 17 Dec, 2001 1 commit
-
-
Sven Neumann authored
2001-12-17 Sven Neumann <sven@gimp.org> * gimpconfig.[ch]: don't serialize unknown tokens; leave that to the gimprc implementation. Create file with correct permissions. * test-config.c: changed accordingly. * gimpguiconfig.[ch]: added more properties.
-
- 16 Dec, 2001 3 commits
-
-
Sven Neumann authored
2001-12-16 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpguiconfig.[ch] * app/config/test-config.c: started to implement GimpGuiConfig. * app/config/gimpcoreconfig.c: set default for image-comment.
-
Sven Neumann authored
2001-12-16 Sven Neumann <sven@gimp.org> * app/core/gimpcoreconfig.[ch]: changed thumbnail_mode to boolean write_thumbnails. thumbnail_mode used to have only two defined values; if we need more later, we can change that easily when the new GimpConfig system is in place. * app/gimprc.c * app/file/file-save.c * app/gui/file-open-dialog.c * app/gui/preferences-dialog.c: changed accordingly. * app/config/gimpcoreconfig.[ch]: finished GimpCoreConfig class.
-
Sven Neumann authored
2001-12-16 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-params.[ch] * app/config/gimpconfig-types.[ch]: added support for GimpUnit type. * app/config/gimpbaseconfig.[ch] * app/config/gimpcoreconfig.[ch] * app/config/test-config.c: cleaned up includes. Added more properties to GimpCoreConfig. * app/libgimp_glue.h * libgimpbase/gimpunit.h: declared gimp_unit_get_number_of_built_in_units() G_GNUC_CONST. * app/core/gimpunit.[ch]: internal GimpUnit functions return const strings. * app/xcf/xcf-save.c: changed accordingly.
-
- 13 Dec, 2001 2 commits
-
-
Sven Neumann authored
2001-12-13 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.h * app/config/gimpconfig-serialize.c: fixed typos. * app/core/core-enums.h * app/core/core-types.h: converted ChannelType enum to GimpChannelType and moved it to core-enums.h. * app/core/gimpimage.[ch] * app/widgets/gimpchannellistview.c * app/widgets/gimpcomponentlistitem.[ch] * tools/pdbgen/pdb/image.pdb: changed accordingly. * app/pdb/image_cmds.c * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated.
-
Sven Neumann authored
2001-12-13 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c * app/config/gimpconfig-params.h * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig-substitute.c * app/config/gimpconfig-types.c * app/config/gimpconfig.[ch] * app/config/test-config.c: code cleanup, I18N * app/config/gimpcoreconfig.[ch]: some more properties.
-
- 11 Dec, 2001 2 commits
-
-
Sven Neumann authored
2001-12-12 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c * app/config/gimpconfig-serialize.c * app/config/gimpconfig-substitute.c: plugged a memleak and applied some optimizations.
-
Sven Neumann authored
2001-12-11 Sven Neumann <sven@gimp.org> * app/core/core-types.h: removed GimpImageBaseType enum ... * app/core/core-enums.h: and added it here with proper namespace (enum values prefixed with GIMP_). * app/gimprc.c * app/core/gimpcoreconfig.c * app/core/gimpdrawable-bucket-fill.c * app/core/gimpdrawable-preview.c * app/core/gimpdrawable.c * app/core/gimpedit.c * app/core/gimpimage-convert.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-mask.c * app/core/gimpimage-merge.c * app/core/gimpimage-new.c * app/core/gimpimage-projection.c * app/core/gimpimage.c * app/core/gimplayer.c * app/core/gimppalette-import.c * app/display/gimpdisplay-handlers.c * app/display/gimpdisplayshell-dnd.c * app/display/gimpdisplayshell.c * app/file/file-utils.c * app/gui/colormap-dialog.c * app/gui/convert-dialog.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/palette-import-dialog.c * app/gui/preferences-dialog.c * app/gui/toolbox.c * app/tools/gimpclonetool.c * app/tools/gimppainttool.c * app/widgets/gimpchannellistview.c * tools/pdbgen/Makefile.am * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/image.pdb: changed accordingly. * tools/pdbgen/enums.pl * app/pdb/convert_cmds.c * app/pdb/image_cmds.c * libgimp/gimpconvert_pdb.c * libgimp/gimpimage_pdb.c: regenerated. * app/config/Makefile.am * app/config/gimpconfig-params.h * app/config/gimpconfig-serialize.c * app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
-
- 10 Dec, 2001 4 commits
-
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * libgimpbase/Makefile.am * libgimpbase/gimpenv.[ch]: added new function gimp_plug_in_directory() to retrieve the compile_time defined plug_in directory. Declared some functions G_GNUC_CONST and simplified code by introducing a helper function. * app/config/Makefile.am * app/config/gimpcoreconfig.[ch]: started to implement GimpCoreConfig derived from GimpBaseConfig. * app/config/gimpbaseconfig.[ch]: misc small changes. * app/config/gimpconfig-deserialize.c (gimp_config_deserialize_properties): return quietly if there are no properties. * app/config/gimpconfig-substitute.c: more special cases. * app/config/test-config.c: test GimpCoreConfig.
-
Sven Neumann authored
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-substitute.[ch]: new files with code to do substitution magic on path strings. Similar to the code in gimprc.c but UTF8 safe. * app/config/gimpconfig-params.h * app/config/gimpbaseconfig.c: added a bunch of convenience macros to register config properties and use them for GimpBaseConfig. * app/config/gimpconfig-types.h: added missing GIMP_VALUE_HOLDS_FOO() macros. * app/config/gimpconfig-deserialize.c: UTF8-validate all strings. * app/config/gimpconfig-serialize.c: some code reorganisation.
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c * app/config/gimpconfig.c: stricter parsing. * app/config/test-config.c: more output.
-
- 09 Dec, 2001 3 commits
-
-
Sven Neumann authored
-
Sven Neumann authored
2001-12-09 Sven Neumann <sven@gimp.org> * autogen.sh: check for pkg.m4. * configure.in: removed logic to extract GLIB CFLAGS and LDFLAGS from the GTK CFLAGS and LDFLAGS. Use AM_PATH_GLIB_2_0() instead. This change will break things on awfully misconfigured systems. Simplified the checks and moved version numbers to the top to ease maintainance. Check if gtk-doc is suffiently new. * app/main.c: removed the GimpConfig test code. * app/config/Makefile.am * app/config/test-config.c: added a (yet very small) standalone test suite for GimpConfig. * app/config/gimpconfig.[ch] * app/config/gimpconfig-deserialize.[ch]: allow to specify if unknown tokens should be stored or should cause a parser error. Changed code to store unknown tokens to use a list since a hash table seems to be overkill here.
-
Sven Neumann authored
2001-12-09 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-params.[ch] * app/config/gimpconfig-types.[ch]: added new param_spec GIMP_PARAM_PATH with value_type GIMP_PATH_TYPE. * app/config/gimpconfig.[ch]: added code to store and lookup unknown tokens. * app/config/gimpconfig-deserialize.c: improved logic, prepared for special handling of GIMP_PATH_TYPE; still work in progress... * app/config/gimpbaseconfig.c: register temp-path and swap-path as GIMP_PARAM_PATH properties.
-
- 08 Dec, 2001 2 commits
-
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c: improved code readability by splitting deserialize_property into smaller functions. * app/config/gimpconfig.[ch]: added gimp_config_debug_notify_callback() for debugging purposes. * app/main.c: use gimp_config_debug_notify_callback().
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-params.[ch] * app/config/gimpconfig-types.[ch]: new files implementing special GParamSpecs and GValueTypes needed for GimpConfig. * app/config/gimpbaseconfig.c: register tile-cache-size property with GimpParamSpecMemsize. * app/config/gimpconfig-deserialize.[ch] * app/config/gimpconfig-serialize.[ch]: enable serialization and deserialization of non-fundamental types.
-
- 07 Dec, 2001 1 commit
-
-
Sven Neumann authored
2001-12-07 Sven Neumann <sven@gimp.org> * app/core/gimpmarshal.[ch]: removed from CVS, they are generated. * app/base/Makefile.am * app/base/base-enums.h: new file defining enums that are to be registered. Used to build app/base/base-enums.c. * app/base/base-types.h: include base-enums.h. * tools/pdbgen/Makefile.am * tools/pdbgen/enumcode.pl * tools/pdbgen/enums.pl: parse the new base-enums.h file and modified the perl voodoo so it doesn't prefix enums with GIMP_ that are already properly namespaced. * app/core/core-types.h: don't need to chop GIMP from enum. * app/pdb/color_cmds.c * app/pdb/tools_cmds.c * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c: regenerated. * app/config/gimpconfig-deserialize.[ch] * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig.[ch]: made GimpConfig an interface including a reasonable default implementation that works on object properties. * app/config/Makefile.am * app/config/gimpbaseconfig.[ch]: new GimpBaseConfig using the GimpConfig interface. Yet only used for testing from app/main.c. * app/main.c: test the new GimpBaseConfig object. * app/gimprc.c * app/base/base-config.h * app/base/*.c * app/core/gimpdatafiles.c * app/core/gimpdrawable-transform.c * app/core/gimppreviewcache.c * app/gui/preferences-dialog.c * app/paint-funcs/paint-funcs.c * app/xcf/xcf-seek.c: need to include glib-object.h since base-config contains registered enums now. Follow name change of InterpolationType to GimpInterpolationType.
-
- 29 Nov, 2001 1 commit
-
-
Sven Neumann authored
2001-11-29 Sven Neumann <sven@gimp.org> * app/config/gimpconfig.c (gimp_config_serialize): ooops.
-
- 27 Nov, 2001 1 commit
-
-
Sven Neumann authored
2001-11-27 Sven Neumann <sven@gimp.org> * configure.in * app/Makefile.am * app/config/gimpconfig.[ch] * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig-deserialize.[ch]: added new base class GimpConfig that knows how to serialize and deserialize it's properties in sexp format. Contains two example properties that will go into derived classes once this is really used. * app/main.c: deserialize and serialize the test GimpConfig object to ~/.gimp-1.3/foorc (only for debugging). * app/widgets/widgets-types.h * app/core/core-types.h: moved GimpPreviewSize enum to core-types. * app/core/core-types.h: don't include gdk-pixbuf.h. * app/core/gimptoolinfo.h * app/core/gimpimagefile.c: include gdk-pixbuf.h. * app/core/gimpimage.[ch]: made construct_flag a gboolean. * app/core/gimpdrawable-invert.c * app/core/gimpunit.c * tools/pdbgen/pdb/plug_in.pdb * app/pdb/plug_in_cmds.c: removed unused variables. * app/display/Makefile.am: removed .PHONY and files cruft * app/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am * libgimpcolor/Makefile.am * libgimpmath/Makefile.am * libgimpwidgets/Makefile.am * plug-ins/Makefile.am: removed commented out makefile.mingw rules. If we ever need them again, they can easily be resurrected from CVS.
-