<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Alexander, hi porters,</div><div><br></div><div>First thanks for your work and for the explanation below.</div><div><br></div><div>One small notes to porters: Alexander also added hasTextInClipboard() and getTextFromClipboard() methods in OSystem, and this is used to allow pasting the code in the connection wizard. Alexander added an implementation in the SDL backend when using SDL2. For non-SDL backends or if you need to use SDL 1.2, you may want to reimplement this feature as well in your backend (as I did for the OS X backend as I need to use SDL 1.2 to support old systems).</div><div><br></div><div>Alexander,</div><div>I am running into issues with SDL_net. The issue is that configure now detects by default SDL2 (I have both SDL 1.2.15 and SDL 2.0.4) but only detects SDL_net 1.2 (I also have both). So using configure with the default arguments result in a config that does not compile as it is trying to use SDL2 (with /usr/local/include/SDL2/ in the include path) and SDL_net 1.2 (but SDL_net.h from /usr/local/include/SDL/ ends up picking up the includes from SDL2). The two seem to be incompatible.</div><div><br></div><div>I can make it work if I either disable SDL_net or if I force using SDL 1.2. I have also started looking at modifying configure and the code to use either SDL_net 1.2 or 2 depending on which version of SDL is used. I am planning to look further at that this weekend. But could you confirm that I didn't miss something obvious and that compiling with SDL_net is indeed currently broken when using SDL2 backend?</div><div><br></div><div>Thierry</div><br><div><div>On 01 Sep 2016, at 17:58, Alexander Tkachev <<a href="mailto:alexander@tkachov.ru">alexander@tkachov.ru</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div>Hi everyone,</div><div> </div><div>Eugene asked me to write a short note for porters. We've merged my PR recently, which adds two features in ScummVM: Cloud support and local webserver.</div><div> </div><div>The first one needs libcurl, which is detected using curl-config in configure. If it is found, <span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">USE_LIBCURL</span></span> is defined and backends/cloud files are used.</div><div> </div><div>The second one needs SDL_net and <span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">USE_SDL_NET</span></span> is defined if it's found. Local webserver could be found within backends/networking/sdl_net.</div><div> </div><div>There are some interactive tests in testbed, mostly for Cloud.</div><div> </div><div>There are also some minor additional features, which make user experience a bit better. Those are URL opening and Connection::isLimited() function. Cloud works fine without these, but you can implement these if you want and it's available for the platform. There is an interactive test for urlOpen() in testbed too.</div><div> </div><div>Finally, I've updated OSD to show Cloud sync icon. But I didn't update it in some backends, and thus buildbot fails to build these. I might have time to fix these soon, but I won't be able to test whether it works as it should.</div><div> </div><div>Also, as we haven't set up official ScummVM Cloud apps yet, you'd have to register your own test apps in order to test how Cloud API works. App's KEY/SECRET should be added to the [cloud] section of your scummvm.ini file:</div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">DROPBOX_KEY=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">DROPBOX_SECRET=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">ONEDRIVE_KEY=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">ONEDRIVE_SECRET=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">GOOGLE_DRIVE_KEY=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">GOOGLE_DRIVE_SECRET=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">BOX_KEY=...</span></span></div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">BOX_SECRET=...</span></span></div><div> </div><div>As Cloud feature works with these providers similarly, you don't have to register all four apps. I'd recommend Dropbox, as it's really simple to create an app there. Short links to <a href="http://scummvm.org">scummvm.org</a> are redirecting to my app, so instead of typing those you'd have to make a link on your own. For example, this link template could be used for Dropbox app:</div><div><span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;"><a href="https://www.dropbox.com/1/oauth2/authorize?response_type=code&redirect_uri=https://www.scummvm.org/c/code&client_id=<DROPBOX_KEY>">https://www.dropbox.com/1/oauth2/authorize?response_type=code&redirect_uri=https://www.scummvm.org/c/code&client_id=<DROPBOX_KEY></a></span></span></div><div> </div><div>That link redirects to <span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;"><a href="https://www.scummvm.org/c/code">https://www.scummvm.org/c/code</a></span></span>. If you want to test auth using local webserver, you should put <span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;"><a href="http://localhost:12345/">http://localhost:12345/</a></span></span> in <span style="font-family:courier new,monospace;"><span style="background-color:#d3d3d3;">redirect_uri</span></span> instead.</div><div> </div><div>These redirect_uris should be allowed in application settings on developer's page.</div></div><div> </div><div><span>— Alexander</span></div><div> </div>_______________________________________________<br>Scummvm-devel mailing list<br><a href="mailto:Scummvm-devel@lists.scummvm.org">Scummvm-devel@lists.scummvm.org</a><br>http://lists.scummvm.org/listinfo/scummvm-devel<br></blockquote></div><br></body></html>