Commit c5dd1849 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

reverted previous change, it was bogus.

2005-07-06  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-ins-query.c (match_strings): reverted previous
	change, it was bogus.

	* app/pdb/procedural-db-query.c: case-insensitive search for
	procedures.
parent 08de0b4b
2005-07-06 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-ins-query.c (match_strings): reverted previous
change, it was bogus.
2005-07-06 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-ins-query.c (match_strings): match
case-insensitive.
* libgimpwidgets/gimpbrowser.c: unset "focus-on-click" on the
filter combo-box.
* plug-ins/dbbrowser/plugin-browser.c: moved "Insertation Date"
column all the way to the right and renamed to "Installation Date".
* plug-ins/common/gauss.c: tweaked dialog packing.
2005-07-05 Manish Singh <yosh@gimp.org>
* INSTALL
......
......@@ -36,6 +36,8 @@ libappbase_a_SOURCES = \
pixel-region.h \
pixel-surround.c \
pixel-surround.h \
segmentator.c \
segmentator.h \
temp-buf.c \
temp-buf.h \
threshold.c \
......
......@@ -42,7 +42,9 @@
#include "gimp-intl.h"
#define COMPAT_BLURB "This procedure is deprecated! Use '%s' instead."
#define PDB_REGCOMP_FLAGS REG_ICASE
#define COMPAT_BLURB "This procedure is deprecated! Use '%s' instead."
typedef struct _PDBQuery PDBQuery;
......@@ -144,19 +146,19 @@ procedural_db_query (Gimp *gimp,
*num_procs = 0;
*procs = NULL;
if (regcomp (&pdb_query.name_regex, name, 0))
if (regcomp (&pdb_query.name_regex, name, PDB_REGCOMP_FLAGS))
goto free_name;
if (regcomp (&pdb_query.blurb_regex, blurb, 0))
if (regcomp (&pdb_query.blurb_regex, blurb, PDB_REGCOMP_FLAGS))
goto free_blurb;
if (regcomp (&pdb_query.help_regex, help, 0))
if (regcomp (&pdb_query.help_regex, help, PDB_REGCOMP_FLAGS))
goto free_help;
if (regcomp (&pdb_query.author_regex, author, 0))
if (regcomp (&pdb_query.author_regex, author, PDB_REGCOMP_FLAGS))
goto free_author;
if (regcomp (&pdb_query.copyright_regex, copyright, 0))
if (regcomp (&pdb_query.copyright_regex, copyright, PDB_REGCOMP_FLAGS))
goto free_copyright;
if (regcomp (&pdb_query.date_regex, date, 0))
if (regcomp (&pdb_query.date_regex, date, PDB_REGCOMP_FLAGS))
goto free_date;
if (regcomp (&pdb_query.proc_type_regex, proc_type, 0))
if (regcomp (&pdb_query.proc_type_regex, proc_type, PDB_REGCOMP_FLAGS))
goto free_proc_type;
success = TRUE;
......
......@@ -42,7 +42,9 @@
#include "gimp-intl.h"
#define COMPAT_BLURB "This procedure is deprecated! Use '%s' instead."
#define PDB_REGCOMP_FLAGS REG_ICASE
#define COMPAT_BLURB "This procedure is deprecated! Use '%s' instead."
typedef struct _PDBQuery PDBQuery;
......@@ -144,19 +146,19 @@ procedural_db_query (Gimp *gimp,
*num_procs = 0;
*procs = NULL;
if (regcomp (&pdb_query.name_regex, name, 0))
if (regcomp (&pdb_query.name_regex, name, PDB_REGCOMP_FLAGS))
goto free_name;
if (regcomp (&pdb_query.blurb_regex, blurb, 0))
if (regcomp (&pdb_query.blurb_regex, blurb, PDB_REGCOMP_FLAGS))
goto free_blurb;
if (regcomp (&pdb_query.help_regex, help, 0))
if (regcomp (&pdb_query.help_regex, help, PDB_REGCOMP_FLAGS))
goto free_help;
if (regcomp (&pdb_query.author_regex, author, 0))
if (regcomp (&pdb_query.author_regex, author, PDB_REGCOMP_FLAGS))
goto free_author;
if (regcomp (&pdb_query.copyright_regex, copyright, 0))
if (regcomp (&pdb_query.copyright_regex, copyright, PDB_REGCOMP_FLAGS))
goto free_copyright;
if (regcomp (&pdb_query.date_regex, date, 0))
if (regcomp (&pdb_query.date_regex, date, PDB_REGCOMP_FLAGS))
goto free_date;
if (regcomp (&pdb_query.proc_type_regex, proc_type, 0))
if (regcomp (&pdb_query.proc_type_regex, proc_type, PDB_REGCOMP_FLAGS))
goto free_proc_type;
success = TRUE;
......
......@@ -42,7 +42,9 @@
#include "gimp-intl.h"
#define COMPAT_BLURB "This procedure is deprecated! Use '%s' instead."
#define PDB_REGCOMP_FLAGS REG_ICASE
#define COMPAT_BLURB "This procedure is deprecated! Use '%s' instead."
typedef struct _PDBQuery PDBQuery;
......@@ -144,19 +146,19 @@ procedural_db_query (Gimp *gimp,
*num_procs = 0;
*procs = NULL;
if (regcomp (&pdb_query.name_regex, name, 0))
if (regcomp (&pdb_query.name_regex, name, PDB_REGCOMP_FLAGS))
goto free_name;
if (regcomp (&pdb_query.blurb_regex, blurb, 0))
if (regcomp (&pdb_query.blurb_regex, blurb, PDB_REGCOMP_FLAGS))
goto free_blurb;
if (regcomp (&pdb_query.help_regex, help, 0))
if (regcomp (&pdb_query.help_regex, help, PDB_REGCOMP_FLAGS))
goto free_help;
if (regcomp (&pdb_query.author_regex, author, 0))
if (regcomp (&pdb_query.author_regex, author, PDB_REGCOMP_FLAGS))
goto free_author;
if (regcomp (&pdb_query.copyright_regex, copyright, 0))
if (regcomp (&pdb_query.copyright_regex, copyright, PDB_REGCOMP_FLAGS))
goto free_copyright;
if (regcomp (&pdb_query.date_regex, date, 0))
if (regcomp (&pdb_query.date_regex, date, PDB_REGCOMP_FLAGS))
goto free_date;
if (regcomp (&pdb_query.proc_type_regex, proc_type, 0))
if (regcomp (&pdb_query.proc_type_regex, proc_type, PDB_REGCOMP_FLAGS))
goto free_proc_type;
success = TRUE;
......
......@@ -45,7 +45,7 @@ static int
match_strings (regex_t *preg,
gchar *a)
{
return regexec (preg, a, 0, NULL, REG_ICASE);
return regexec (preg, a, 0, NULL, 0);
}
gint
......
......@@ -45,7 +45,7 @@ static int
match_strings (regex_t *preg,
gchar *a)
{
return regexec (preg, a, 0, NULL, REG_ICASE);
return regexec (preg, a, 0, NULL, 0);
}
gint
......
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