07-26-2017, 06:00 PM
(This post was last modified: 07-26-2017, 06:00 PM by Dean Roddey.)
Version 5.0.901 is posted. This is just tweaks to the WebRIVA stuff in response to testing and feedback on the first drop.
5.1.901
5.1.901
- Change the tarPort parameter on the WebRIVA client to all lower case, tarport, to be consistent with the other options.
- Add an option for the WebRIVA client to log debug info to the CQC log. This will make it a lot easier to deal with mobile clients. It won't help with any pre-connection issues, but for everything else it'll work.
- Add a manifest.json file to the WebRIVA client. If you install it on the home screen and invoke it from there, this should allow it to come up full screen (on platforms that allow that), and have an appropriate title. Apparently not supported on Safari yet, but for the others it should work.
- Have the WebRIVA client default to using the same port that was used to make the original HTTP connection to make the WebSocket connection. That way you only have to use it in special circumstances that most folks would not likely ever see.
- When going full screen I was doing the DIV that surrounds the canvas. But that was not really appropriate. It would cause the menu screen to not track when the fullscreen mode was changed. So I changed it to use the correct HTML element.
- The initially set 'no cache' flag doesn't get to the server until it's too late for the initial loading of the main template content. So move the setting of all of those initial flags to the message that we use to send the client's image map. The server waits for that before doing the initial load, so that lets us get it there in time.
- Get the pixel ratio and use that to scale the view-port any time anything changes, so that we can keep it correctly displaying the content at its actual size. (This does not work on the Android phone browser when it full screen. It will always scale it to 2x, making full screen useless.) But it comes up with the minimal UI. Just reduce the height a bit to fit in that.
Dean Roddey
Explorans limites defectum
Explorans limites defectum