<feed xmlns='http://www.w3.org/2005/Atom'>
<title>raidgrep/src, branch v1.0.2</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>fix BossFilter::filter_early</title>
<updated>2020-04-29T14:18:02+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-29T14:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=f956baf7e6b77e48e3f845459560f1f8fb77eb7c'/>
<id>f956baf7e6b77e48e3f845459560f1f8fb77eb7c</id>
<content type='text'>
If the boss is unknown, we exclude the log - that is how
BossFilter::filter operates, and it is probably what the user wants if
they specify a -boss filter. However, in filter_early, the default for
unknown bosses was to return Inclusion::Include, which is not consistent
with filter. That lead to some logs being included, parsed and then
thrown away again.

This change makes the behaviour for unknown bosses between filter_early
and filter consistent, and therefore speeds up the search if -boss is
used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the boss is unknown, we exclude the log - that is how
BossFilter::filter operates, and it is probably what the user wants if
they specify a -boss filter. However, in filter_early, the default for
unknown bosses was to return Inclusion::Include, which is not consistent
with filter. That lead to some logs being included, parsed and then
thrown away again.

This change makes the behaviour for unknown bosses between filter_early
and filter consistent, and therefore speeds up the search if -boss is
used.
</pre>
</div>
</content>
</entry>
<entry>
<title>add more help text about the boss names</title>
<updated>2020-04-29T14:05:04+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-29T14:05:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=5e38bdfa8662ed5bdc100004f206e467cff9e6b5'/>
<id>5e38bdfa8662ed5bdc100004f206e467cff9e6b5</id>
<content type='text'>
Everybody calls bosses by different names (Soulless Horror vs Desmina,
Super Kodan Brothers, ...), so it might be good to have a list ready in
the help message.

Other names can still be used, but those are the end-user documented
ones now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Everybody calls bosses by different names (Soulless Horror vs Desmina,
Super Kodan Brothers, ...), so it might be good to have a list ready in
the help message.

Other names can still be used, but those are the end-user documented
ones now.
</pre>
</div>
</content>
</entry>
<entry>
<title>allow quoted strings as boss names</title>
<updated>2020-04-29T13:54:45+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-29T13:54:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=d564421e9fb71da21ef02d8b711af0e8471bb602'/>
<id>d564421e9fb71da21ef02d8b711af0e8471bb602</id>
<content type='text'>
With evtclib 0.2, every boss has at least one name without space, so
every boss can be used. Still, for completeness's and consistency's
sake, we want to allow users to also specify boss names with spaces in
them. For example, if we print "Qadim the Peerless" as the name of the
boss, we might expect
    raidgrep -- -boss "Qadim the Peerless"
to work (instead of -boss qadimp). Therefore, we now allow boss names to
be quoted, so that we can properly persist the whitespace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With evtclib 0.2, every boss has at least one name without space, so
every boss can be used. Still, for completeness's and consistency's
sake, we want to allow users to also specify boss names with spaces in
them. For example, if we print "Qadim the Peerless" as the name of the
boss, we might expect
    raidgrep -- -boss "Qadim the Peerless"
to work (instead of -boss qadimp). Therefore, we now allow boss names to
be quoted, so that we can properly persist the whitespace.
</pre>
</div>
</content>
</entry>
<entry>
<title>update evtclib to 0.2.0</title>
<updated>2020-04-29T13:49:24+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-04-29T13:49:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=16019515dffe4dd790adc72ed8a8ece8fc54c260'/>
<id>16019515dffe4dd790adc72ed8a8ece8fc54c260</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>
</feed>
