CVSROOT: /cvs/gnome Module name: bugzilla-newer Changes by: newren 05/11/27 23:49:54
Modified files: . : ChangeLog reports : QueryParse.yp Log message: 2005-11-27 Elijah Newren <[EMAIL PROTECTED]> I haven't been doing ChangeLog entries for all my boogle fixups, but this time the patch is bigger than the file itself due to a huge rework to the framework (to simplify and add a new capability). * reports/QueryParse.yp: Instead of just allowing searches of the form <search-type>:<valuelist> (where I use the shortand <valuelist> for <value>,<value>,...) also allow searches of the form <search-type><op><valuelist> where op can be any of : = != < <= >= > and ':' is treated as an alias for '='. Note that the last four operators, the range comparison ones, are special. The value list needs to contain exactly one value if a range comparison operator is used (or an error is returned to the user) and some search types don't make sense with such an operator (again resulting in an error being returned). Note that this isn't perfect yet as only bug-number and comment-count are both stored as numeric fields in the database and make sense to think of as such, so the other fields which make sense to think of as numeric (priority, severity, version, gnome-target, etc.) will need to be fixed up manually. Remove the ugly negated hack stuff. Don't use 'global' data (i.e. $parser->YYData) so much but rather rely on return values more; makes it more consistent, easier to follow and easier to understand anyway. Update the documentation URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=bugzilla-newer&who=newren&date=explicit&mindate=2005-11-27%2023:48&maxdate=2005-11-27%2023:50 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list