Re: [Gimp-developer] regex+
David, I think the point is probably to do a trawl through legacy code and see how much of it can be flushed, if any. I wish! Sometime later. Although regex is available with *nix, it isn't part of Windows. My choice is to remove it or fix the broken regex implemenation included in Film Gimp. That regex code is full of difficult to debug macros. Now that Robin knows that the regex code is useful, at least to some people, he's not planning on touching it. I'm not? Cheers, Robin --- www.FilmGimp.org www.LinuxMovies.org www.OpenSourceProgrammers.org ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] regex
tor 2002-11-28 klockan 00.32 skrev David Weeks: Robin, I called you right the first time. David, please keep childish name-calling rants like this for yourself. Thanks. Kind regards, Christian ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] regex
Sven, The regex code is used by gimp-plug-ins-query (and a similar function in script-fu). Yes, I can follow that from the code. I understand what regex does generally, just not why gimp-plug-ins-query needs it. My confusion relates to script-fu and gimp plug-ins with respect to regex. Why query a plug-in as a regular expression? What's the point? Thanks! Robin --- www.FilmGimp.org www.LinuxMovies.org www.OpenSourceProgrammers.org ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] regex+
Robin Rowe ([EMAIL PROTECTED]) wrote: The regex code is used by gimp-plug-ins-query (and a similar function in script-fu). Yes, I can follow that from the code. I understand what regex does generally, just not why gimp-plug-ins-query needs it. My confusion relates to script-fu and gimp plug-ins with respect to regex. Why query a plug-in as a regular expression? What's the point? To have a nice way to specify a search pattern. For thinks like a PDB-Browser for example. Bye, Simon -- [EMAIL PROTECTED] http://www.home.unix-ag.org/simon/ ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] regex+
Simon, My confusion relates to script-fu and gimp plug-ins with respect to regex. Why query a plug-in as a regular expression? What's the point? To have a nice way to specify a search pattern. For thinks like a PDB-Browser for example. Ok, I guess I'm just not making my question clear. I understand that regex enables doing a wildcard search in the plug-ins database. What I have trouble imagining is the scenario where regex search in Gimp is necessary or useful. Few users even know how to phrase a regex search. Is this just feature-itis? Do I correctly surmise that regex could be removed without being missed? Thanks, Robin --- www.FilmGimp.org www.LinuxMovies.org www.OpenSourceProgrammers.org ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] regex+
Robin Rowe ([EMAIL PROTECTED]) wrote: What I have trouble imagining is the scenario where regex search in Gimp is necessary or useful. Few users even know how to phrase a regex search. Is this just feature-itis? Do I correctly surmise that regex could be removed without being missed? Well, maybe it is a little used feature, but I do not understand why we should remove it? It enables powerful searches over the various help texts plugins provide via their Registration. I surely do not understand why having this feature might be considered a bad thing. Bye, Simon -- [EMAIL PROTECTED] http://www.home.unix-ag.org/simon/ ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] regex
Hi, Robin Rowe [EMAIL PROTECTED] writes: Hi. GIMP has its own regex.c that the procedural database uses. That seems to look up plug-ins using regexec. I'm having a little difficulty understanding the logic of the code. Can anybody explain how regex is used by GIMP? Why is it necessary? GIMP doesn't use it's own regex implementation any longer. We only provide one as a fallback for the case that libc doesn't have the regex functionality we need. This is the code in the regexrepl directory that you'll find in the toplevel source directory. The regex code is used by gimp-plug-ins-query (and a similar function in script-fu). I don't understand how you can not understand this code since it seems pretty straight-forward. Could you elaborate on your problems? Salut, Sven ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
[Gimp-developer] regex
Hi. GIMP has its own regex.c that the procedural database uses. That seems to look up plug-ins using regexec. I'm having a little difficulty understanding the logic of the code. Can anybody explain how regex is used by GIMP? Why is it necessary? Thanks! Robin --- www.FilmGimp.org www.LinuxMovies.org www.OpenSourceProgrammers.org ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer