mirror of https://github.com/GNOME/gimp.git
applied gimp-quinet-980414-0; adds new tips applied gimp-quinet-980414-1;
* gimp_tips.txt: applied gimp-quinet-980414-0; adds new tips * plug-ins/pagecurl/pagecurl.c: applied gimp-quinet-980414-1; defines M_PI * app/app_procs.c: applied gimp-quinet-980414-2; adds more information to the startup screen * app/gradient.c: applied gradient-041398-seth; fixes the behavior that the gradient editor would become insensitive forever if the color selection dialog were close * app/regex.c * plugins/script-fu/regex.c: partially applied gimp-jbuhler-980412-0; adds braces to nested if/else --Sven
This commit is contained in:
parent
588f7cdfe6
commit
cadc2734f4
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
Tue Apr 14 20:36:26 MEST 1998 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gimp_tips.txt: applied gimp-quinet-980414-0; adds new tips
|
||||
* plug-ins/pagecurl/pagecurl.c: applied gimp-quinet-980414-1;
|
||||
defines M_PI
|
||||
* app/app_procs.c: applied gimp-quinet-980414-2; adds more
|
||||
information to the startup screen
|
||||
* app/gradient.c: applied gradient-041398-seth; fixes the
|
||||
behavior that the gradient editor would become insensitive
|
||||
forever if the color selection dialog were close
|
||||
* app/regex.c
|
||||
* plugins/script-fu/regex.c: partially applied
|
||||
gimp-jbuhler-980412-0; adds braces to nested if/else
|
||||
|
||||
Tue Apr 14 10:11:04 MEST 1998 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/global_edit.c: Named cut and copy are now performed after
|
||||
|
|
|
@ -476,17 +476,16 @@ app_init ()
|
|||
RESET_BAR();
|
||||
xcf_init (); /* initialize the xcf file format routines */
|
||||
|
||||
RESET_BAR();
|
||||
app_init_update_status ("Looking for data files", "Brushes", 0.00);
|
||||
brushes_init (no_data); /* initialize the list of gimp brushes */
|
||||
RESET_BAR();
|
||||
app_init_update_status (NULL, "Patterns", 0.25);
|
||||
patterns_init (no_data); /* initialize the list of gimp patterns */
|
||||
RESET_BAR();
|
||||
app_init_update_status (NULL, "Palettes", 0.50);
|
||||
palettes_init (no_data); /* initialize the list of gimp palettes */
|
||||
RESET_BAR();
|
||||
app_init_update_status (NULL, "Gradients", 0.75);
|
||||
gradients_init (no_data); /* initialize the list of gimp gradients */
|
||||
|
||||
app_init_update_status (NULL, NULL, 1.00);
|
||||
|
||||
RESET_BAR();
|
||||
plug_in_init (); /* initialize the plug in structures */
|
||||
RESET_BAR();
|
||||
file_ops_post_init (); /* post-initialize the file types */
|
||||
|
|
|
@ -4040,6 +4040,9 @@ cpopup_create_color_dialog(char *title, double r, double g, double b, double a,
|
|||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(csd), "destroy",
|
||||
cancel_callback, window);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(cs), "color_changed",
|
||||
color_changed_callback, window);
|
||||
|
||||
|
|
|
@ -4040,6 +4040,9 @@ cpopup_create_color_dialog(char *title, double r, double g, double b, double a,
|
|||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(csd), "destroy",
|
||||
cancel_callback, window);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(cs), "color_changed",
|
||||
color_changed_callback, window);
|
||||
|
||||
|
|
|
@ -4040,6 +4040,9 @@ cpopup_create_color_dialog(char *title, double r, double g, double b, double a,
|
|||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(csd), "destroy",
|
||||
cancel_callback, window);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(cs), "color_changed",
|
||||
color_changed_callback, window);
|
||||
|
||||
|
|
24
app/regex.c
24
app/regex.c
|
@ -2378,11 +2378,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
if (syntax & RE_NO_BK_PARENS) goto normal_backslash;
|
||||
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
handle_close:
|
||||
if (fixup_alt_jump)
|
||||
{ /* Push a dummy failure point at the end of the
|
||||
|
@ -2398,11 +2400,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
|
||||
/* See similar code for backslashed left paren above. */
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
/* Since we just checked for an empty stack above, this
|
||||
``can't happen''. */
|
||||
assert (compile_stack.avail != 0);
|
||||
|
|
|
@ -2378,11 +2378,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
if (syntax & RE_NO_BK_PARENS) goto normal_backslash;
|
||||
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
handle_close:
|
||||
if (fixup_alt_jump)
|
||||
{ /* Push a dummy failure point at the end of the
|
||||
|
@ -2398,11 +2400,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
|
||||
/* See similar code for backslashed left paren above. */
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
/* Since we just checked for an empty stack above, this
|
||||
``can't happen''. */
|
||||
assert (compile_stack.avail != 0);
|
||||
|
|
|
@ -4040,6 +4040,9 @@ cpopup_create_color_dialog(char *title, double r, double g, double b, double a,
|
|||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
cpopup_set_color_selection_color(cs, r, g, b, a);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(csd), "destroy",
|
||||
cancel_callback, window);
|
||||
|
||||
gtk_signal_connect(GTK_OBJECT(cs), "color_changed",
|
||||
color_changed_callback, window);
|
||||
|
||||
|
|
|
@ -89,7 +89,15 @@ guides by dragging them off the image with the Move tool.
|
|||
|
||||
GIMP supports gzip compression on the fly. Just add .gz (or .bz2,
|
||||
if you habe bzip2 installed) to the filename and your image will be
|
||||
saved compressed. Of course loading compressed images works too.
|
||||
saved compressed. Of course loading compressed images works too.
|
||||
|
||||
Pressing and holding the Shift key before making a selection allows
|
||||
you to add to the current selection instead of replacing it. Using
|
||||
Ctrl before making a selection substracts from the current one.
|
||||
|
||||
You can press or release the Shift and Ctrl keys while you are
|
||||
making a selection in order to constrain it to a perfect square
|
||||
or circle, or to have it centered on its starting point.
|
||||
|
||||
# Tips for advanced users start here
|
||||
#
|
||||
|
@ -117,21 +125,26 @@ will constrain the rotation to 15 degree angles.
|
|||
|
||||
You can adjust and re-place a selection by using Alt-drag.
|
||||
|
||||
Selections can be constrained using the Control and Shift keys.
|
||||
|
||||
If your fonts turn out blocky, that's because they're not scalable
|
||||
fonts. Most X servers support scalable Type 1 Postscript fonts.
|
||||
Download and install them.
|
||||
|
||||
# FIXME: The next tip should disappear once we have solved the
|
||||
# problems of stale pluginrc files and plug-in directories.
|
||||
# All other files in ~/.gimp can be kept after an upgrade.
|
||||
# In particular, we should try to preserve gimprc. --Raphael
|
||||
|
||||
When installing a new version, be sure to
|
||||
delete your ~/.gimp directory first.
|
||||
|
||||
To create a perfect circle, hold shift while doing an ellipse select. To
|
||||
Using Edit->Stroke allows you to draw simple squares or circles by
|
||||
painting the edge of your current selection with the active brush.
|
||||
More complex shapes can be drawn with Filters->Render->Gfig.
|
||||
|
||||
To create a perfect circle, hold Shift while doing an ellipse select. To
|
||||
place a circle precisely, drag horizontal and vertical guides tangent to
|
||||
the circle you want to select, place your cursor at the interesection
|
||||
of the guides, and the resulting selection will just touch the guides.
|
||||
|
||||
|
||||
|
||||
|
||||
# (end of tips)
|
||||
|
||||
|
|
|
@ -51,6 +51,10 @@
|
|||
#include "curl7.xpm"
|
||||
#include <libgimp/gimp.h>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif /* M_PI */
|
||||
|
||||
#define PLUG_IN_NAME "plug_in_pagecurl"
|
||||
#define PLUG_IN_VERSION "Mar 1998, 0.8"
|
||||
|
||||
|
|
|
@ -2378,11 +2378,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
if (syntax & RE_NO_BK_PARENS) goto normal_backslash;
|
||||
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
handle_close:
|
||||
if (fixup_alt_jump)
|
||||
{ /* Push a dummy failure point at the end of the
|
||||
|
@ -2398,11 +2400,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
|
||||
/* See similar code for backslashed left paren above. */
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
/* Since we just checked for an empty stack above, this
|
||||
``can't happen''. */
|
||||
assert (compile_stack.avail != 0);
|
||||
|
|
|
@ -2378,11 +2378,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
if (syntax & RE_NO_BK_PARENS) goto normal_backslash;
|
||||
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_backslash;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
handle_close:
|
||||
if (fixup_alt_jump)
|
||||
{ /* Push a dummy failure point at the end of the
|
||||
|
@ -2398,11 +2400,13 @@ regex_compile (pattern, size, syntax, bufp)
|
|||
|
||||
/* See similar code for backslashed left paren above. */
|
||||
if (COMPILE_STACK_EMPTY)
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
|
||||
{
|
||||
if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD)
|
||||
goto normal_char;
|
||||
else
|
||||
FREE_STACK_RETURN (REG_ERPAREN);
|
||||
}
|
||||
|
||||
/* Since we just checked for an empty stack above, this
|
||||
``can't happen''. */
|
||||
assert (compile_stack.avail != 0);
|
||||
|
|
Loading…
Reference in New Issue