<feed xmlns='http://www.w3.org/2005/Atom'>
<title>raidgrep/src, branch v1.0.1</title>
<subtitle>Guild Wars 2/arcdps evtc log searching tool</subtitle>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/'/>
<entry>
<title>add -include and -exclude</title>
<updated>2020-04-25T11:22:00+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-25T11:22:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9'/>
<id>9bbd5db2a6caae10f0ab2cf2625fbc34485a4ce9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use free functions instead of Filter::new</title>
<updated>2020-04-25T11:19:42+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-25T11:14:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=5dbea93266c3a30dac5ec6f5a7915d73a440f573'/>
<id>5dbea93266c3a30dac5ec6f5a7915d73a440f573</id>
<content type='text'>
Having a ::new on each of the filter types was a bit weird, especially
because we returned Box&lt;dyn ...&gt; instead of Self (and clippy rightfully
complained). With this patch, we now have a bunch of normal functions,
and we don't show to the outside how a filter is actually implemented
(or what struct is behind it).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Having a ::new on each of the filter types was a bit weird, especially
because we returned Box&lt;dyn ...&gt; instead of Self (and clippy rightfully
complained). With this patch, we now have a bunch of normal functions,
and we don't show to the outside how a filter is actually implemented
(or what struct is behind it).
</pre>
</div>
</content>
</entry>
<entry>
<title>only try regex if word doesn't start with -</title>
<updated>2020-04-25T10:56:47+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-25T10:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=509e5817e6e035e762840c00fb95b18253b1d269'/>
<id>509e5817e6e035e762840c00fb95b18253b1d269</id>
<content type='text'>
Since our predicates start with -, this sounds like a good heuristic to
prevent something like "raidgrep -- -player" from silently succeeding
but not doing what the user had intended. In this case, we want the
parse error to show and not treat "-player" as a regex.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since our predicates start with -, this sounds like a good heuristic to
prevent something like "raidgrep -- -player" from silently succeeding
but not doing what the user had intended. In this case, we want the
parse error to show and not treat "-player" as a regex.
</pre>
</div>
</content>
</entry>
<entry>
<title>cosmetic fixes</title>
<updated>2020-04-25T10:53:54+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-25T10:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=d124265bee159193090f085343b8523bc6387620'/>
<id>d124265bee159193090f085343b8523bc6387620</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>better CLI args/parser integration</title>
<updated>2020-04-25T10:49:27+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-25T10:49:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=675d0aadf1495a7ac752789c125e124db5152b43'/>
<id>675d0aadf1495a7ac752789c125e124db5152b43</id>
<content type='text'>
First, this commit adds a shortcut if only a single argument is given
that can be parsed as a regex. This is to retain the old behaviour of
"raidgrep NAME" just working, without needing to specify -player or
anything.

Secondly, this also re-wraps arguments with spaces (unless there's only
one argument in total). This means that the following should work:
    raidgrep -- -player "Godric Gobbledygook"
instead of either
    raidgrep -- '-player "Godric Gobbledygook"'
    raidgrep -- -player '"Godric Gobbledygook"'
(notice the extra quotes).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First, this commit adds a shortcut if only a single argument is given
that can be parsed as a regex. This is to retain the old behaviour of
"raidgrep NAME" just working, without needing to specify -player or
anything.

Secondly, this also re-wraps arguments with spaces (unless there's only
one argument in total). This means that the following should work:
    raidgrep -- -player "Godric Gobbledygook"
instead of either
    raidgrep -- '-player "Godric Gobbledygook"'
    raidgrep -- -player '"Godric Gobbledygook"'
(notice the extra quotes).
</pre>
</div>
</content>
</entry>
<entry>
<title>remove unused imports</title>
<updated>2020-04-21T13:07:41+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-21T13:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=fe88f503676091c53d31db99ca4af36fe08dcdc8'/>
<id>fe88f503676091c53d31db99ca4af36fe08dcdc8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add predicate documentation to the help text</title>
<updated>2020-04-21T13:04:53+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-21T13:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=efbc3fb2131b8c69a88e0622ad4b120c2c48ed85'/>
<id>efbc3fb2131b8c69a88e0622ad4b120c2c48ed85</id>
<content type='text'>
Sadly, structopt always displays this, despite the documentation stating
that it should be hidden when the user uses -h (instead of --help). It
seems like this is a bug in clap, which might get fixed with clap 3.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sadly, structopt always displays this, despite the documentation stating
that it should be hidden when the user uses -h (instead of --help). It
seems like this is a bug in clap, which might get fixed with clap 3.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>use readline/rustyline instead of stdin.read_line</title>
<updated>2020-04-21T12:34:08+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-21T12:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=ab909d2f3a0a59ae1b9a169ec79d4e9ffeddd1e1'/>
<id>ab909d2f3a0a59ae1b9a169ec79d4e9ffeddd1e1</id>
<content type='text'>
This gives us a history, nicer editing capabilities and the possibility
to add completion in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This gives us a history, nicer editing capabilities and the possibility
to add completion in the future.
</pre>
</div>
</content>
</entry>
<entry>
<title>add a small repl</title>
<updated>2020-04-21T12:23:50+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-21T12:23:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=0a27adbc0bf3bbbf87fea9e55c00c38f61d55058'/>
<id>0a27adbc0bf3bbbf87fea9e55c00c38f61d55058</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>grammar: fix precendence rules</title>
<updated>2020-04-21T12:06:15+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-21T12:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=0ad7a333dc2b45f0ba658ea455284d086294a088'/>
<id>0ad7a333dc2b45f0ba658ea455284d086294a088</id>
<content type='text'>
If we don't allow the higher-tier on the left side, we cannot chain
multiple or/and on the same level. Since or is associative, we shouldn't
expect the user to write (... or (... or ...)) and instead provide the
flattened version as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we don't allow the higher-tier on the left side, we cannot chain
multiple or/and on the same level. Since or is associative, we shouldn't
expect the user to write (... or (... or ...)) and instead provide the
flattened version as well.
</pre>
</div>
</content>
</entry>
</feed>
