- self._clear_for_send was decremented at wrong location
- added semaphore for use in fill queue processing (max entries 20, fill queue acquires, send queue releases upon send)
- added signal of state for use in fill queue processing, no more sleep-wake-check-loops there
- CommandQueue.peek also was not synchronized
Found a couple of issue to tackle next (see TODOs)
These appear to be the used rx cache sizes:
- Marlin on AT90USB boards (e.g. Printrboard) => 63 bytes
- Marlin anywhere else, using MarlinSerial implementation => 127 bytes
- Repetier by default => 127 bytes
- Repetier if EXTERNALSERIAL is defined in Configuration => 63 bytes
63 bytes should be pretty much safe in any case, user can increase that if falling into the 127 bytes group.
Write blocks on the serial interface are now handled gracefully (also the write timeout has been set to a more sane value, maybe that can be lowered more?).
I'm still observing some weird "stops" when printing the valentine dragon thingy on a Printrbot Simple, still trying to find out what's happening there exactly.
Split command processing into "queued", "sent" and "acknowledged" events, added command acknowledgement tracking via nack_line queue, using that too for resend implementation
Problem: Deadlock when using a real printer after receiving first "ok" response to "N0 M110 S0" right at the beginning of the print.
Added (configurable) queue for buffered G codes (G0, G1, G2, G3, G28, G29-G32), incoming queue and queue clearing upon resend
Needed for testing stuff for #568
- be able to handle slicers which can't report progress
- distinguish between registered and configured slicers (e.g. to allow uploading of profiles via the settings before having saved the path to the executable)
Also allow for definition of access validation and serving as attachment though.
Hopefully also fixes#606, since that was possibly called by our own implementation of content streaming, which now has been removed completely.
So far when logging in from two different browsers, then logging out in one of them the user was logged out across all browsers. This should now be changed in so far as that each individual browser session is tracked and only that session is ended by a logout that belongs to the browser where the logout button was clicked.
Should fix#556