Project

General

Profile

Statistics
| Branch: | Revision:

library / src / main @ 9ef86c9f

Name Size
  java
  res
AndroidManifest.xml 177 Bytes

Latest revisions

# Date Author Comment
9ef86c9f 09/15/2021 10:37 AM Leszek Koltunski

On second thought, come back to Vector. The problem: before we had the potentially blocking function 'effectFinished' inside our synchronized block.

2f40484b 09/15/2021 10:33 AM Leszek Koltunski

Improve EffectMessageSender: ArrayList with explicit locking in place of a Vector.

c337dd1c 09/14/2021 11:55 PM Leszek Koltunski

1) add missing call to BlockController.onPause() / onResume() to the Tutorial activity
2) rearrange BlockController's error reporting to make the case where the MessageSender thread has died separate
3) in such case, resurrect the thread
4) simplify and harden the EffectMessageSender

7d151b69 09/14/2021 05:31 PM Leszek Koltunski

More debugs to the EffectMessageSender.

43eecb4c 09/14/2021 04:17 PM Leszek Koltunski

Firebase shows that we have a problem when an app is rapidly restarted, i.e. when is it paused and resumes within tens of milliseconds. Then sometimes the EffectMessageSender thread dies.

Attempt to limit this by synchronizing the whole 'start' and 'stop' methods, although I suspect this will still happen because the very methods are probably in such case called in the wrong order.

188b3dc0 09/09/2021 11:56 PM Leszek Koltunski

Some more debugs for the case when the UI is blocked.

b36227cd 09/07/2021 12:39 PM Leszek Koltunski

Minor.

0b732630 08/17/2021 05:30 PM Leszek Koltunski

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

bff329fb 07/13/2021 02:03 PM Leszek Koltunski

Copy constructors for the Statics.

c0e4d5cf 06/01/2021 03:04 PM Leszek Koltunski

Dynamics: minor.

View revisions

Also available in: Atom