<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/llcommon/lleventfilter.cpp, branch cef_147</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://www.megapahit.org/viewer.git/atom?h=cef_147</id>
<link rel='self' href='https://www.megapahit.org/viewer.git/atom?h=cef_147'/>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/'/>
<updated>2024-04-29T04:56:09Z</updated>
<entry>
<title>#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed</title>
<updated>2024-04-29T04:56:09Z</updated>
<author>
<name>Andrey Lihatskiy</name>
<email>alihatskiy@productengine.com</email>
</author>
<published>2024-04-29T04:43:28Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=1b68f71348ecf3983b76b40d7940da8377f049b7'/>
<id>urn:sha1:1b68f71348ecf3983b76b40d7940da8377f049b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-476: Defer #include "lleventtimer.h" until lleventfilter.cpp.</title>
<updated>2020-03-25T23:00:10Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2019-10-22T20:16:45Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=5ec81cf0f79a9627478f5f06e036299d101a2256'/>
<id>urn:sha1:5ec81cf0f79a9627478f5f06e036299d101a2256</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-476: Add LLEventTimer::run_every(), run_at(), run_after().</title>
<updated>2020-03-25T22:59:10Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2019-10-21T17:10:58Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=2f866c9d9842a48e4f24b8bfb31de1aadcc6c00e'/>
<id>urn:sha1:2f866c9d9842a48e4f24b8bfb31de1aadcc6c00e</id>
<content type='text'>
Also add corresponding LLEventTimeout::post_every(), post_at(), post_after()
methods.
</content>
</entry>
<entry>
<title>DRTVWR-476: Add LLEventLogProxy, LLEventLogProxyFor&lt;T&gt;.</title>
<updated>2020-03-25T22:58:16Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2019-10-16T13:15:47Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=53aeea4d82801f5d624a4f6a62090195d3a24f2f'/>
<id>urn:sha1:53aeea4d82801f5d624a4f6a62090195d3a24f2f</id>
<content type='text'>
LLEventLogProxy can be introduced to serve as a logging proxy for an existing
LLEventPump subclass instance. Access through the LLEventLogProxy will be
logged; access directly to the underlying LLEventPump will not.

LLEventLogProxyFor&lt;LLEventPumpSubclass&gt; functions as a drop-in replacement for
the original LLEventPumpSubclass instance. It internally instantiates
LLEventPumpSubclass and serves as a proxy for that instance.

Add unit tests for LLEventMailDrop and LLEventLogProxyFor&lt;LLEventMailDrop&gt;,
both "plain" (events only) and via lleventcoro.h synchronization.
</content>
</entry>
<entry>
<title>Add size limit to LLEventBatchThrottle like LLEventBatch.</title>
<updated>2017-05-10T21:37:06Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-05-10T21:37:06Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=4d87ded8862f032682a66704b9c68ef5626779ea'/>
<id>urn:sha1:4d87ded8862f032682a66704b9c68ef5626779ea</id>
<content type='text'>
The new behavior is that it will flush when either the pending batch has grown
to the specified size, or the time interval has expired.
</content>
</entry>
<entry>
<title>Add LLEventThrottle tests; actually *all* lleventfilter.cpp tests.</title>
<updated>2017-05-10T19:04:18Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-05-10T19:04:18Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=9c66072cacae0b3b86a277780e3a19e94accd6bc'/>
<id>urn:sha1:9c66072cacae0b3b86a277780e3a19e94accd6bc</id>
<content type='text'>
For some reason there wasn't an entry in indra/llcommon/CMakeLists.txt to run
the tests in indra/llcommon/tests/lleventfilter_test.cpp. It seems likely that
at some point it existed, since all previous tests built and ran successfully.
In any case, (re-)add lleventfilter_test.cpp to the set of llcommon tests.
Also alphabetize them to make it easier to find a particular test invocation.

Also add new tests for LLEventThrottle.

To support this, refactor the concrete LLEventThrottle class into
LLEventThrottleBase containing all the tricky logic, with pure virtual
methods for access to LLTimer and LLEventTimeout, and an LLEventThrottle
subclass containing the LLTimer and LLEventTimeout instances and corresponding
implementations of the new pure virtual methods.

That permits us to introduce TestEventThrottle, an alternate subclass with
dummy implementations of the methods related to LLTimer and LLEventTimeout. In
particular, we can explicitly advance simulated realtime to simulate
particular LLTimer and LLEventTimeout behaviors.

Finally, introduce Concat, a test LLEventPump listener class whose function is
to concatenate received string event data into a composite string so we can
readily test for particular sequences of events.
</content>
</entry>
<entry>
<title>MAINT-6789: Add LLEventThrottle::getInterval(), setInterval()</title>
<updated>2017-03-24T22:25:16Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-03-24T22:25:16Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=2fe4f6b9187d9153e335bf54ea43fc89a7987459'/>
<id>urn:sha1:2fe4f6b9187d9153e335bf54ea43fc89a7987459</id>
<content type='text'>
plus LLEventBatch::getSize(), setSize()
plus LLEventThrottle::getPostCount() and getDelay().

The interesting thing about LLEventThrottle::setInterval() and
LLEventBatch::setSize() is that either might cause an immediate flush().
</content>
</entry>
<entry>
<title>MAINT-6789: Add LLEventBatch, LLEventThrottle, LLEventBatchThrottle.</title>
<updated>2017-03-24T02:39:31Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-03-24T02:39:31Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=7af4a49835880fc92461882d5354c0ff12a9672a'/>
<id>urn:sha1:7af4a49835880fc92461882d5354c0ff12a9672a</id>
<content type='text'>
These classes are as yet untested: they are straw people for API review, based
on email conversations with Caladbolg and Rider.
</content>
</entry>
<entry>
<title>merge 4.0.4-release and MAINT-5974</title>
<updated>2016-05-06T14:28:42Z</updated>
<author>
<name>Oz Linden</name>
<email>oz@lindenlab.com</email>
</author>
<published>2016-05-06T14:28:42Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=950c41d184b340a7a3370c2cbda5d1eed9a17b0b'/>
<id>urn:sha1:950c41d184b340a7a3370c2cbda5d1eed9a17b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MAINT-6336: Centralize waiting on event pump with a timeout. Shorten the lifespan of a timeout event pump lifespan to be no longer than necessary. Change all references to the LLEventTimer to instead uses the centralized version.</title>
<updated>2016-04-22T19:07:27Z</updated>
<author>
<name>Rider Linden</name>
<email>rider@lindenlab.com</email>
</author>
<published>2016-04-22T19:07:27Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=899489ae0a4bc4eb187e7813e338b937384a1866'/>
<id>urn:sha1:899489ae0a4bc4eb187e7813e338b937384a1866</id>
<content type='text'>
</content>
</entry>
</feed>
