<feed xmlns='http://www.w3.org/2005/Atom'>
<title>raidgrep/src/fexpr/grammar.lalrpop, branch v1.2.0</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>clean up SearchField related code</title>
<updated>2020-05-13T10:52:13+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-13T10:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=331d6b1762d1d9431b210fc98a495d56ad7a1cd1'/>
<id>331d6b1762d1d9431b210fc98a495d56ad7a1cd1</id>
<content type='text'>
With the addition of our own parser, we no longer need the FromStr
implementation for SearchField. Furthermore, it is now only used in
player::NameFilter, so the definition has been moved there. The import
in the grammar was unused as well, so it has been removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the addition of our own parser, we no longer need the FromStr
implementation for SearchField. Furthermore, it is now only used in
player::NameFilter, so the definition has been moved there. The import
in the grammar was unused as well, so it has been removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>make regular expressions case-insensitive</title>
<updated>2020-05-12T12:19:18+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-12T12:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=b2e87338ff60851db8326abf50555bf65b311810'/>
<id>b2e87338ff60851db8326abf50555bf65b311810</id>
<content type='text'>
Most users probably don't need the capitalization, and character names
always have a predefined capitalization anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most users probably don't need the capitalization, and character names
always have a predefined capitalization anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>add a -cm filter</title>
<updated>2020-05-12T11:51:09+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-12T11:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=371186e872df3518bb5a2894f487ec02a42c771a'/>
<id>371186e872df3518bb5a2894f487ec02a42c771a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add -class player filter</title>
<updated>2020-05-04T13:25:33+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-04T13:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=74dc6574650a157ab57779dc633e140d020b792a'/>
<id>74dc6574650a157ab57779dc633e140d020b792a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>exclude : from words again</title>
<updated>2020-05-04T13:17:43+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-04T13:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=6afe5879579ad39397024fbdbe75ad3207ff50a1'/>
<id>6afe5879579ad39397024fbdbe75ad3207ff50a1</id>
<content type='text'>
This causes issues with the player: prefix used in any() and all()
constructs, as player: will now be parsed as a word instead of the
proper token. For now, : is disallowed in words again until there is a
better solution.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This causes issues with the player: prefix used in any() and all()
constructs, as player: will now be parsed as a word instead of the
proper token. For now, : is disallowed in words again until there is a
better solution.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a -log-before &amp; -log-after predicate</title>
<updated>2020-05-04T10:24:24+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-04T10:24:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=17e27776ea152509e1095bbf80f5af65bc7a7997'/>
<id>17e27776ea152509e1095bbf80f5af65bc7a7997</id>
<content type='text'>
With the file name heuristic for -before and -after in place, we might
want a way for the user to disable it. For now, we simply do this by
providing a new set of predicates without the filter.

In the future, we might have a --disable-heuristics switch to disable
the heuristics, in case we ever add more.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the file name heuristic for -before and -after in place, we might
want a way for the user to disable it. For now, we simply do this by
providing a new set of predicates without the filter.

In the future, we might have a --disable-heuristics switch to disable
the heuristics, in case we ever add more.
</pre>
</div>
</content>
</entry>
<entry>
<title>improve requoting heuristic</title>
<updated>2020-05-01T12:38:52+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-01T12:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=ed835ae90ea9f62dca0ac45adb7c4b0e0454da23'/>
<id>ed835ae90ea9f62dca0ac45adb7c4b0e0454da23</id>
<content type='text'>
First of all, this allows : to be part of a word. This has been added
because the account names start with a colon, so -player :Dunje should
work.

Furthermore, the re-quoting now also quotes strings that contain a .+*,
as those are characters usually used in regular expressions. A command
line like
    raidgrep -- -player "G.dric"
should work, so we either have to re-quote words with a dot, or allow
the dot to be part of a (lexical) word as well. For now, we're
re-quoting it, but if it turns out to be too troublesome, we might
change that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First of all, this allows : to be part of a word. This has been added
because the account names start with a colon, so -player :Dunje should
work.

Furthermore, the re-quoting now also quotes strings that contain a .+*,
as those are characters usually used in regular expressions. A command
line like
    raidgrep -- -player "G.dric"
should work, so we either have to re-quote words with a dot, or allow
the dot to be part of a (lexical) word as well. For now, we're
re-quoting it, but if it turns out to be too troublesome, we might
change that.
</pre>
</div>
</content>
</entry>
<entry>
<title>change LogFilter to take EarlyLogResult</title>
<updated>2020-05-01T11:29:38+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-01T11:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=5f765b749f793b2866262546d28ff138a5654dfc'/>
<id>5f765b749f793b2866262546d28ff138a5654dfc</id>
<content type='text'>
This allows us to attach some additional metadata that is not found in
the PartialEvtc otherwise, such as the file name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to attach some additional metadata that is not found in
the PartialEvtc otherwise, such as the file name.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix timestamp handling</title>
<updated>2020-05-01T10:51:06+00:00</updated>
<author>
<name>Daniel</name>
<email>kingdread@gmx.de</email>
</author>
<published>2020-05-01T10:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.kingdread.de/cgit.cgi/raidgrep/commit/?id=cb757209d438afe23b5bdbfa5f62d00b195ad367'/>
<id>cb757209d438afe23b5bdbfa5f62d00b195ad367</id>
<content type='text'>
As it turns out, the "local timestamp" as advertised by arcdps is a bit
misleading, because the timestamp is still in UTC. The "local" refers to
the fact that it can lag behind the server timestamp a bit (but usually
they seem to be within +-1 of each other), not that the timestamp is in
the local timezone.

This makes date handling a bit harder for raidgrep, but thanks to
chrono, not by much. The idea is that we simply deal with Utc pretty
much everywhere, except at the user boundary. This means that

1. Input timestamps for -before and -after are converted to Utc right
   after input
2. When outputting, we convert to a local timestamp first

This makes the output consistent with the filenames now (and the "wall
time" that the player saw).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As it turns out, the "local timestamp" as advertised by arcdps is a bit
misleading, because the timestamp is still in UTC. The "local" refers to
the fact that it can lag behind the server timestamp a bit (but usually
they seem to be within +-1 of each other), not that the timestamp is in
the local timezone.

This makes date handling a bit harder for raidgrep, but thanks to
chrono, not by much. The idea is that we simply deal with Utc pretty
much everywhere, except at the user boundary. This means that

1. Input timestamps for -before and -after are converted to Utc right
   after input
2. When outputting, we convert to a local timestamp first

This makes the output consistent with the filenames now (and the "wall
time" that the player saw).
</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>
</feed>
