From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, WEIRD_QUOTING autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.143.143 with SMTP id l15mr1149405yhj.57.1413217355863; Mon, 13 Oct 2014 09:22:35 -0700 (PDT) X-Received: by 10.140.29.230 with SMTP id b93mr380536qgb.4.1413217355838; Mon, 13 Oct 2014 09:22:35 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!s7no2459554qap.0!news-out.google.com!i10ni84qaf.0!nntp.google.com!dc16no2577980qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 13 Oct 2014 09:22:35 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.44.225.195; posting-account=vk6_JwoAAABkMyHO1YfdP69Hm3CpbdGR NNTP-Posting-Host: 108.44.225.195 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <13fb4505-4abd-4d5b-b18d-d05aa0a4dcb9@googlegroups.com> Subject: Re: Gnoga Latest Updates From: jeremiah.breeden@gmail.com Injection-Date: Mon, 13 Oct 2014 16:22:35 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3752 X-Received-Body-CRC: 1041852700 Xref: news.eternal-september.org comp.lang.ada:22424 Date: 2014-10-13T09:22:35-07:00 List-Id: On Saturday, October 11, 2014 11:49:29 PM UTC-4, David Botton wrote: > Added an additional "plugin" jQuery >=20 >=20 >=20 > You can now easily create jQuery queries and execute methods on the query= using Gnoga.Gui.Plugin.jQuery >=20 >=20 >=20 > This allows for things like, turn every DIV on a page azure blue: >=20 >=20 >=20 > Query.jQuery (Main_Window.Connection_ID, """div"""); >=20 > Query.Execute ("css('background-color','azure')"); >=20 >=20 >=20 >=20 >=20 >=20 >=20 > A Note about directory structure in Gnoga: >=20 >=20 >=20 > Gnoga.Gui - All client side gui related code >=20 > Gnoga.Gui.Plugin - Bindings to client side 3rd party JavaScript libraries= (jQuery, Ace Editor) >=20 > Gnoga.Gui.Module - Future space for non-core or 3rd part Gnoga Gui code >=20 >=20 >=20 > Gnoga.Types - Types >=20 >=20 >=20 > Gnoga.Server - All server side Gnoga code (like database access, connecti= vity, etc.) >=20 > Gnoga.Client - All client side Gnoga code (browser persistent data, etc.= ) >=20 >=20 >=20 > Gnoga.Application - Code for creating various types of Gnoga applications= (Singleton, Multiconnect) Question: Is there currently or will there be a way to tell when the user = closes the browser window or navigates to a different URL? =20 I am using Tutorial 2 as base example for this, but when a user does the fo= llowing: Starts Tutorial 2 Opens localhost:8080 closes the browser Reopens localhost:8080 they get the error message: Only one connection permitted. I was hoping to catch the event for leaving the current browsing session, s= o I could terminate the current singleton, and then just start a new one so= a fresh browsing session can be used mostly seamlessly. Or alternately, j= ust close out the program completely. The reason for this is I am going to setup an applicationfor my users by au= tomating the process of both starting the application and opening the brows= er (using the method you provide in the application package). They aren't = programmer types so they aren't going to want to have to control-C out of t= he application in a command shell each time they forget to click my "exit" = button and instead close the browser. I tried the On_Abort event, but it doesn't seem to call when the browser cl= oses or you navigate to a different URL. Is there something I can do. I w= ant this to be as seamless for my users as possible. As a note, I know that Gnoga isn't officially released yet. I am just in t= he planning stages, but wanted to bring this up early.