Commit 4c1c236e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/config/Makefile.am removed ...

2002-12-20  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am
	* app/config/gimpconfig-blurbs.h: removed ...

	* app/config/gimprc-blurbs.h: ... and readded under this
	name. Should have never been named with a gimpconfig prefix since
	it's not part of the generic GimpConfig system.

	* app/config/config-types.h
	* app/config/gimpbaseconfig.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c: changed accordingly.
parent 12ad7194
2002-12-20 Sven Neumann <sven@gimp.org>
* app/config/Makefile.am
* app/config/gimpconfig-blurbs.h: removed ...
* app/config/gimprc-blurbs.h: ... and readded under this
name. Should have never been named with a gimpconfig prefix since
it's not part of the generic GimpConfig system.
* app/config/config-types.h
* app/config/gimpbaseconfig.c
* app/config/gimpconfig-dump.c
* app/config/gimpcoreconfig.c
* app/config/gimpdisplayconfig.c
* app/config/gimpguiconfig.c: changed accordingly.
2002-12-20 Michael Natterer <mitch@gimp.org>
 
* app/xcf/xcf.c: use G_N_ELEMENTS().
......
......@@ -6,7 +6,6 @@ libappconfig_a_SOURCES = \
config-types.h \
gimpconfig.c \
gimpconfig.h \
gimpconfig-blurbs.h \
gimpconfig-deserialize.c \
gimpconfig-deserialize.h \
gimpconfig-params.c \
......@@ -30,6 +29,7 @@ libappconfig_a_SOURCES = \
gimpguiconfig.h \
gimprc.c \
gimprc.h \
gimprc-blurbs.h \
gimpscanner.c \
gimpscanner.h
......
......@@ -22,11 +22,12 @@
#ifndef __CONFIG_TYPES_H__
#define __CONFIG_TYPES_H__
typedef struct _GimpBaseConfig GimpBaseConfig;
typedef struct _GimpCoreConfig GimpCoreConfig;
typedef struct _GimpDisplayConfig GimpDisplayConfig;
typedef struct _GimpGuiConfig GimpGuiConfig;
typedef struct _GimpRc GimpRc;
typedef struct _GimpDisplayConfig GimpDisplayConfig;
typedef struct _GimpGuiConfig GimpGuiConfig;
typedef struct _GimpRc GimpRc;
#endif /* __CONFIG_TYPES_H__ */
......@@ -27,10 +27,10 @@
#include "config-types.h"
#include "gimpconfig-blurbs.h"
#include "gimpconfig-params.h"
#include "gimpconfig-types.h"
#include "gimprc-blurbs.h"
#include "gimpbaseconfig.h"
......
......@@ -122,10 +122,12 @@ dump_system_gimprc (void)
"# will affect all users of this system, provided that they are not\n"
"# overriding the default values in their personal gimprc file.\n"
"#\n"
"# Lines that start with a '#' are comments.\n"
"# Blank lines are ignored.\n"
"# Lines that start with a '#' are comments. Blank lines are ignored.\n"
"#\n"
"# By default everything in this file is commented out. The file then\n"
"# documents the default values and shows what changes are possible\n."
"\n"
"# The variable gimp_dir is set to either the interned value\n"
"# The variable gimp_dir is set to either the internal value\n"
"# @gimpdir@ or the environment variable GIMP_DIRECTORY. If\n"
"# the path in GIMP_DIRECTORY is relative, it is considered\n"
"# relative to your home directory.\n"
......
......@@ -27,11 +27,11 @@
#include "config-types.h"
#include "gimpconfig-blurbs.h"
#include "gimpconfig-params.h"
#include "gimpconfig-types.h"
#include "gimpconfig-utils.h"
#include "gimprc-blurbs.h"
#include "gimpcoreconfig.h"
......
......@@ -28,11 +28,11 @@
#include "config-types.h"
#include "gimpconfig-blurbs.h"
#include "gimpconfig-params.h"
#include "gimpconfig-types.h"
#include "gimpconfig-utils.h"
#include "gimprc-blurbs.h"
#include "gimpdisplayconfig.h"
......
......@@ -27,11 +27,11 @@
#include "config-types.h"
#include "gimpconfig-blurbs.h"
#include "gimpconfig-params.h"
#include "gimpconfig-types.h"
#include "gimpconfig-utils.h"
#include "gimprc-blurbs.h"
#include "gimpguiconfig.h"
......
#ifndef __GIMP_CONFIG_BLURBS_H__
#define __GIMP_CONFIG_BLURBS_H__
/* gimprc-blurbs.h -- descriptions for gimprc properties */
#ifndef __GIMP_RC_BLURBS_H__
#define __GIMP_RC_BLURBS_H__
#define TEMP_PATH_BLURB \
"Set the temporary storage directory. Files will appear here " \
"during the course of running the gimp. Most files will disappear " \
"when the gimp exits, but some files are likely to remain, " \
"such as working palette files, so it is best if this directory " \
"not be one that is shared by other users or is cleared on machine " \
"reboot such as /tmp."
#define SWAP_PATH_BLURB \
"Set the swap file location. The gimp uses a tile based memory " \
"allocation scheme. The swap file is used to quickly and easily " \
"swap tiles out to disk and back in. Be aware that the swap file " \
"can easily get very large if the gimp is used with large images. " \
"Also, things can get horribly slow if the swap file is created on " \
"a directory that is mounted over NFS. For these reasons, it may " \
"be desirable to put your swap file in \"/tmp\"."
#define ALWAYS_RESTORE_SESSION_BLURB \
"Let GIMP try to restore your last saved session."
#define BRUSH_PATH_BLURB \
"Set the brush search path."
#define PATTERN_PATH_BLURB \
"Set the pattern search path."
#define PLUG_IN_PATH_BLURB \
"Set the plug-in search path."
#define PALETTE_PATH_BLURB \
"Set the palette search path."
#define COLORMAP_CYCLING_BLURB \
"Specify that marching ants for selected regions will be drawn with " \
"colormap cycling as oposed to redrawing with different stipple masks. " \
"This color cycling option works only with 8-bit displays."
#define GRADIENT_PATH_BLURB \
"Set the gradient search path."
#define CONFIRM_ON_CLOSE_BLURB \
"Ask for confirmation before closing an image without saving."
#define MODULE_PATH_BLURB \
"Set the module search path."
#define CURSOR_UPDATING_BLURB \
"Context-dependent cursors are cool. They are enabled by default. " \
"However, they require overhead that you may want to do without."
#define DEFAULT_BRUSH_BLURB \
"Specify a default brush. The brush is searched for in the " \
......@@ -45,6 +30,15 @@
"Specify a default gradient. The gradient is searched for in the " \
"specified gradient path."
#define DEFAULT_IMAGE_WIDTH_BLURB \
"Set the default image width in the File/New dialog."
#define DEFAULT_IMAGE_HEIGHT_BLURB \
"Set the default image height in the File/New dialog."
#define DEFAULT_IMAGE_TYPE_BLURB \
"Set the default image type in the File/New dialog."
#define DEFAULT_PATTERN_BLURB \
"Specify a default pattern. The pattern is searched for in the " \
"specified pattern path."
......@@ -53,40 +47,109 @@
"Specify a default palette. The palette is searched for in the " \
"specified palette path."
#define DEFAULT_RESOLUTION_UNIT_BLURB \
"Set the units for the display of the default resolution in the " \
"File/New dialog."
#define DEFAULT_THRESHOLD_BLURB \
"Tools such as fuzzy-select and bucket fill find regions based on a " \
"seed-fill algorithm. The seed fill starts at the intially selected " \
"pixel and progresses in all directions until the difference of pixel " \
"intensity from the original is greater than a specified threshold. " \
"This value represents the default threshold."
#define DEFAULT_UNIT_BLURB \
"Set the default unit for new images and for the File/New dialog. " \
"This units will be used for coordinate display when not in dot-for-dot " \
"mode."
#define DEFAULT_XRESOLUTION_BLURB \
"Set the default horizontal resolution for new images and for the " \
"File/New dialog. This value is always in dpi (dots per inch)."
#define DEFAULT_YRESOLUTION_BLURB \
"Set the default vertical resolution for new images and for the " \
"File/New dialog. This value is always in dpi (dots per inch)."
#define GAMMA_CORRECTION_BLURB \
"This setting is ignored."
#if 0
"Set the gamma correction value for the display. 1.0 corresponds to no " \
"gamma correction. For most displays, gamma correction should be set " \
"to between 2.0 and 2.6. One important thing to keep in mind: Many images "\
"that you might get from outside sources will in all likelihood already "\
"be gamma-corrected. In these cases, the image will look washed-out if "\
"the gimp has gamma-correction turned on. If you are going to work with "\
"to between 2.0 and 2.6. One important thing to keep in mind: Many images " \
"that you might get from outside sources will in all likelihood already " \
"be gamma-corrected. In these cases, the image will look washed-out if " \
"the gimp has gamma-correction turned on. If you are going to work with " \
"images of this sort, turn gamma correction off by setting the value to 1.0."
#endif
#define GRADIENT_PATH_BLURB \
"Set the gradient search path."
#define IMAGE_STATUS_FORMAT_BLURB \
"Set the text to appear in image window status bars. See image-title-format " \
"for the list of possible % sequences."
#define IMAGE_TITLE_FORMAT_BLURB \
"Set the text to appear in image window titles. Certain % character " \
"sequences are recognised and expanded as follows:\n" \
"\n" \
"%% literal percent sign\n" \
"%f bare filename, or \"Untitled\"\n" \
"%F full path to file, or \"Untitled\"\n" \
"%p PDB image id\n" \
"%i view instance number\n" \
"%t image type (RGB, grayscale, indexed)\n" \
"%z zoom factor as a percentage\n" \
"%s source scale factor\n" \
"%d destination scale factor\n" \
"%Dx expands to x if the image is dirty, the empty string otherwise\n" \
"%Cx expands to x if the image is clean, the empty string otherwise\n" \
"%m memory used by the image\n" \
"%l the number of layers\n" \
"%L the name of the active layer/channel\n" \
"%w image width in pixels\n" \
"%W image width in real-world units\n" \
"%h image height in pixels\n" \
"%H image height in real-world units\n" \
"%u unit symbol\n" \
"%U unit abbreviation\n\n"
#define INSTALL_COLORMAP_BLURB \
"Install a private colormap; might be useful on pseudocolor visuals."
#define TILE_CACHE_SIZE_BLURB \
"The tile cache is used to make sure the gimp doesn't thrash " \
"tiles between memory and disk. Setting this value higher will " \
"cause the gimp to use less swap space, but will also cause " \
"the gimp to use more memory. Conversely, a smaller cache size " \
"causes the gimp to use more swap space and less memory."
#define INTERPOLATION_TYPE_BLURB \
"Set the level of interpolation used for scaling and other transformations."
#define LAST_OPENED_SIZE_BLURB \
"How many recently opened image filenames to keep on the File menu."
#define MARCHING_ANTS_SPEED_BLURB \
"Speed of marching ants in the selection outline. This value is in " \
"milliseconds (less time indicates faster marching)."
#define LAST_OPENED_SIZE_BLURB \
"How many recently opened image filenames to keep on the File menu."
#define MODULE_PATH_BLURB \
"Set the module search path."
#define UNDO_LEVELS_BLURB \
"Set the number of operations kept on the undo stack."
#define MONITOR_XRESOLUTION_BLURB \
"Set the monitor's horizontal resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information."
#define TRANSPARENCY_TYPE_BLURB \
"Set the manner in which transparency is displayed in images."
#define MONITOR_YRESOLUTION_BLURB \
"Set the monitor's vertical resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information."
#define TRANSPARENCY_SIZE_BLURB \
"Sets the size of the checkerboard used to display transparency."
#define NUM_PROCESSORS_BLURB \
"On multiprocessor machines, if GIMP has been compiled with --enable-mp " \
"this sets how many processors GIMP should use simultaneously."
#define PALETTE_PATH_BLURB \
"Set the palette search path."
#define PATTERN_PATH_BLURB \
"Set the pattern search path."
#define PERFECT_MOUSE_BLURB \
"If set to true, the X server is queried for the mouse's current " \
......@@ -95,37 +158,28 @@
"but it may be slower. Perversely, on some X servers turning on this " \
"option results in faster painting."
#define COLORMAP_CYCLING_BLURB \
"Specify that marching ants for selected regions will be drawn with " \
"colormap cycling as oposed to redrawing with different stipple masks. " \
"This color cycling option works only with 8-bit displays."
#define PLUG_IN_PATH_BLURB \
"Set the plug-in search path."
#define DEFAULT_THRESHOLD_BLURB \
"Tools such as fuzzy-select and bucket fill find regions based on a " \
"seed-fill algorithm. The seed fill starts at the intially selected " \
"pixel and progresses in all directions until the difference of pixel " \
"intensity from the original is greater than a specified threshold. " \
"This value represents the default threshold."
#define PREVIEW_SIZE_BLURB \
"Set the default preview size."
#define STINGY_MEMORY_USE_BLURB \
"There is always a tradeoff between memory usage and speed. In most " \
"cases, the GIMP opts for speed over memory. However, if memory is a " \
"big issue, set stingy-memory-use."
#define RESIZE_WINDOWS_ON_RESIZE_BLURB \
"When the physical image size changes, this option enables the automatic " \
"resizing of windows."
#define RESIZE_WINDOWS_ON_ZOOM_BLURB \
"When zooming into and out of images, this option enables the automatic " \
"resizing of windows. " \
#define RESIZE_WINDOWS_ON_RESIZE_BLURB \
"When the physical image size changes, this option enables the automatic " \
"resizing of windows."
#define CURSOR_UPDATING_BLURB \
"Context-dependent cursors are cool. They are enabled by default. " \
"However, they require overhead that you may want to do without."
#define SAVE_DEVICE_STATUS_BLURB \
"Remember the current tool, pattern, color, and brush across GIMP " \
"sessions."
#define PREVIEW_SIZE_BLURB \
"Set the default preview size."
#define SAVE_SESSION_INFO_BLURB \
"Remember the positions and sizes of the main dialogs and asks your " \
"window-manager to place them there again the next time you use the " \
"GIMP."
#define SHOW_MENUBAR_BLURB \
"Set the menubar visibility. This can also be toggled with the "\
......@@ -139,99 +193,52 @@
"Controlling statusbar visibility. This can also be toggled with "\
"the View->Toggle Statusbar command."
#define INTERPOLATION_TYPE_BLURB \
"Set the level of interpolation used for scaling and other transformations."
#define CONFIRM_ON_CLOSE_BLURB \
"Ask for confirmation before closing an image without saving."
#define SAVE_SESSION_INFO_BLURB \
"Remember the positions and sizes of the main dialogs and asks your " \
"window-manager to place them there again the next time you use the " \
"GIMP."
#define SAVE_DEVICE_STATUS_BLURB \
"Remember the current tool, pattern, color, and brush across GIMP " \
"sessions."
#define ALWAYS_RESTORE_SESSION_BLURB \
"Let GIMP try to restore your last saved session."
#define SHOW_TIPS_BLURB \
"Set to display a handy GIMP tip on startup."
#define SHOW_TOOL_TIPS_BLURB \
"Set to display tooltips."
#define DEFAULT_IMAGE_WIDTH_BLURB \
"Set the default image width in the File/New dialog."
#define DEFAULT_IMAGE_HEIGHT_BLURB \
"Set the default image height in the File/New dialog."
#define DEFAULT_IMAGE_TYPE_BLURB \
"Set the default image type in the File/New dialog."
#define DEFAULT_UNIT_BLURB \
"Set the default unit for new images and for the File/New dialog. " \
"This units will be used for coordinate display when not in dot-for-dot " \
"mode."
#define DEFAULT_XRESOLUTION_BLURB \
"Set the default horizontal resolution for new images and for the " \
"File/New dialog. This value is always in dpi (dots per inch)."
#define STINGY_MEMORY_USE_BLURB \
"There is always a tradeoff between memory usage and speed. In most " \
"cases, the GIMP opts for speed over memory. However, if memory is a " \
"big issue, set stingy-memory-use."
#define DEFAULT_YRESOLUTION_BLURB \
"Set the default vertical resolution for new images and for the " \
"File/New dialog. This value is always in dpi (dots per inch)."
#define SWAP_PATH_BLURB \
"Set the swap file location. The gimp uses a tile based memory " \
"allocation scheme. The swap file is used to quickly and easily " \
"swap tiles out to disk and back in. Be aware that the swap file " \
"can easily get very large if the gimp is used with large images. " \
"Also, things can get horribly slow if the swap file is created on " \
"a directory that is mounted over NFS. For these reasons, it may " \
"be desirable to put your swap file in \"/tmp\"."
#define DEFAULT_RESOLUTION_UNIT_BLURB \
"Set the units for the display of the default resolution in the " \
"File/New dialog."
#define TEMP_PATH_BLURB \
"Set the temporary storage directory. Files will appear here " \
"during the course of running the gimp. Most files will disappear " \
"when the gimp exits, but some files are likely to remain, " \
"such as working palette files, so it is best if this directory " \
"not be one that is shared by other users or is cleared on machine " \
"reboot such as /tmp."
#define MONITOR_XRESOLUTION_BLURB \
"Set the monitor's horizontal resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information."
#define TILE_CACHE_SIZE_BLURB \
"The tile cache is used to make sure the gimp doesn't thrash " \
"tiles between memory and disk. Setting this value higher will " \
"cause the gimp to use less swap space, but will also cause " \
"the gimp to use more memory. Conversely, a smaller cache size " \
"causes the gimp to use more swap space and less memory."
#define MONITOR_YRESOLUTION_BLURB \
"Set the monitor's vertical resolution, in dots per inch. If set to " \
"0, forces the X server to be queried for both horizontal and vertical " \
"resolution information."
#define TRANSPARENCY_TYPE_BLURB \
"Set the manner in which transparency is displayed in images."
#define NUM_PROCESSORS_BLURB \
"On multiprocessor machines, if GIMP has been compiled with --enable-mp " \
"this sets how many processors GIMP should use simultaneously."
#define TRANSPARENCY_SIZE_BLURB \
"Sets the size of the checkerboard used to display transparency."
#define IMAGE_TITLE_FORMAT_BLURB \
"Set the text to appear in image window titles. Certain % character " \
"sequences are recognised and expanded as follows:\n" \
"\n" \
"%% literal percent sign\n" \
"%f bare filename, or \"Untitled\"\n" \
"%F full path to file, or \"Untitled\"\n" \
"%p PDB image id\n" \
"%i view instance number\n" \
"%t image type (RGB, grayscale, indexed)\n" \
"%z zoom factor as a percentage\n" \
"%s source scale factor\n" \
"%d destination scale factor\n" \
"%Dx expands to x if the image is dirty, the empty string otherwise\n" \
"%Cx expands to x if the image is clean, the empty string otherwise\n" \
"%m memory used by the image\n" \
"%l the number of layers\n" \
"%L the name of the active layer/channel\n" \
"%w image width in pixels\n" \
"%W image width in real-world units\n" \
"%h image height in pixels\n" \
"%H image height in real-world units\n" \
"%u unit symbol\n" \
"%U unit abbreviation\n\n"
#define UNDO_LEVELS_BLURB \
"Set the number of operations kept on the undo stack."
#define IMAGE_STATUS_FORMAT_BLURB \
"Set the text to appear in image window status bars. See image-title-format " \
"for the list of possible % sequences."
/* FIXME: the following blurbs are missing */
#define TOOL_PLUG_IN_PATH_BLURB NULL
#define ENVIRON_PATH_BLURB NULL
......@@ -257,4 +264,4 @@
#define MAX_NEW_IMAGE_SIZE_BLURB NULL
#endif /* __GIMP_CONFIG_BLURBS_H__ */
#endif /* __GIMP_RC_BLURBS_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment