Re: [Gnoga-list] Package and Build

2015-07-09 Thread Rabbi David Botton
Yes in deps/simple_components Dmitry added an http client On Thu, Jul 9, 2015 at 4:16 PM Jeffrey R. Carter jrcar...@acm.org wrote: On 07/09/2015 12:38 PM, Rabbi David Botton wrote: getzip URL Downloads from URL a zip, then (or as a stream) unzips it in to the current directory

Re: [Gnoga-list] Package and Build

2015-07-09 Thread Rabbi David Botton
Look at his tests there are examples. David Botton On Thu, Jul 9, 2015 at 6:59 PM Jeffrey R. Carter jrcar...@acm.org wrote: On 07/09/2015 03:35 PM, Rabbi David Botton wrote: If I recall he allows for receiving the http data as a steam, so it should be possible to just hand it off to unzip

Re: [Gnoga-list] components

2015-08-28 Thread Rabbi David Botton
simple enough, unzip new version in the dep dir, didn't realize we weren't running the latest, usually we are a version ahead. I'll update it today. On Fri, Aug 28, 2015 at 5:09 AM tony gair tonytheg...@gmail.com wrote: Hi David, I want to use gnoga and the new components 4.9 Dmitry has

Re: [Gnoga-list] Test Posting

2015-09-02 Thread Rabbi David Botton
Could be. Usually though I get a message to approve bad messages. On Wed, Sep 2, 2015 at 3:02 PM Jeffrey R. Carter <jrcar...@acm.org> wrote: > On 09/02/2015 11:58 AM, Rabbi David Botton wrote: > > > > Just resend then. > > > > > I've done that, and it hasn'

Re: [Gnoga-list] Charting from inside Gnoga

2015-09-16 Thread Rabbi David Botton
I was scoping out some existing js charting solutions to add in the future but haven't gotten to it yet. Any will work. On Tue, Sep 15, 2015 at 5:46 PM tony gair wrote: > > Do we have any chart functions inside gnoga for things like line or bar > charts. I ask because I

Re: [Gnoga-list] Reload page On_Resize

2015-09-20 Thread Rabbi David Botton
You should be able to do Gnoga.Gui.Location.Reload. So Main_Window.Location.Reload David Botton On Fri, Sep 18, 2015 at 4:58 PM Olivier Henley wrote: > Hey! > > How would I go about reloading the whole page when On_Resize is called? > > Thx! > > > > >

Re: [Gnoga-list] Rapid Application Development (RAD) for the Web.

2015-09-20 Thread Rabbi David Botton
Certainly simple enough to combine with Gnoga. My long term goal though is a browser based RAD dev environment (so cross platform) including the Gnoga/Ada code developed and compiled in it. After my holidays and sons wedding (Oct 19) I'll be back on things. David Botton On Sun, Sep 20, 2015 at

Re: [Gnoga-list] components

2015-08-28 Thread Rabbi David Botton
Ok, updated GIT to Simple Components 4.9 David Botton On Fri, Aug 28, 2015 at 8:25 AM tony gair tonytheg...@gmail.com wrote: I'll do that ! thanks On Fri, Aug 28, 2015 at 1:15 PM, Rabbi David Botton da...@botton.com wrote: simple enough, unzip new version in the dep dir, didn't realize

Re: [Gnoga-list] Weird stuff is going on ... ;)

2015-11-29 Thread Rabbi David Botton
Yes, there are major changes in the underlying representations from what I understand between GNAT GPL 2014 and GNAT GPL 2015 for 32 bit compilers. The flags in the Gnoga make file are to use an alternate layout in simple components (which was the default in older versions) that works with GPL

Re: [Gnoga-list] multi-platform GUI app

2015-12-06 Thread Rabbi David Botton
See getadanow.com for how to simply add gprbuild to all windows distros. It should be possible to do the same exact thing on Linux. Just grab the same files in the same folders like I did for the gprtools.zip I put there on getadanow.com. As long as you have those files it doesn't matter if the

Re: [Gnoga-list] multi-platform GUI app

2015-12-05 Thread Rabbi David Botton
> > I see that AdaCore > (http://blog.adacore.com/modernizing-adacores-open-source) put some > repos on Github, so wonder if Gnoga's initiative has something to do > with it? > While they will not admit it, I am sure that my community efforts have made them rethink their licensing strategies. >

Re: [Gnoga-list] Problem with concurrent On_Click_Handler (div overlapping)

2015-12-01 Thread Rabbi David Botton
quot;); > > Thx. > > > On Mon, Nov 30, 2015 at 11:16 PM, Rabbi David Botton <da...@botton.com> > wrote: > >> It is caused by javascript event bubbling, try the following in the event >> handler and let me know if this solves your issue: >&g

Re: [Gnoga-list] Obtaining the current Window

2015-12-14 Thread Rabbi David Botton
ng about other events > (like button clicks) where I get the connection data and access it. > > On Sun, Dec 13, 2015 at 3:06 PM, Rabbi David Botton <da...@botton.com> > wrote: > >> Since you can have multiple connections you need to store an access to >> the Windows obje

Re: [Gnoga-list] Obtaining the current Window

2015-12-13 Thread Rabbi David Botton
Since you can have multiple connections you need to store an access to the Windows object in the On_Connect. It would not be possible to have that in a global object. So that is not kludgy, but the best way to do it. David Botton On Sun, Dec 13, 2015 at 1:41 PM Jeremiah Breeden

Re: [Gnoga-list] CAE development, plotting etc.

2016-01-02 Thread Rabbi David Botton
The simple answer is if there exists a JavaScript library in the universe that meets your needs it can easily be bound and added. There are a number I believe. David Botton On Sat, Jan 2, 2016, 9:52 PM Sundelin Henri wrote: > Hello folks! > > I’ve been slowly making a

[Gnoga-list] Initial Electron Support for Desktop Apps in Gnoga

2015-12-31 Thread Rabbi David Botton
I've added the start of Electron (http://electron.atom.io/) support in Gnoga's git HEAD Make sure you have node.js installed and npm on your path Run in gnoga's root 'make electron' and this will install deps/electron-quick-start and copy in electron.html -> index.html and electron_boot.js to

Re: [Gnoga-list] Adverts on gnoga developed pages

2015-12-22 Thread Rabbi David Botton
gnoga/test/bootjs.adb On Tue, Dec 22, 2015 at 6:37 AM tony gair <tonytheg...@gmail.com> wrote: > David , Have you an example of this? > > On Fri, Dec 18, 2015 at 3:59 PM, Rabbi David Botton <da...@botton.com> > wrote: > >> A few ways, just stick the clip code

Re: [Gnoga-list] Connection_Error exception from Connection.Hold in "On_Connect"

2015-12-19 Thread Rabbi David Botton
I'll try and take a look, but I would recommend strongly checking out from git head. We are always working towards more stability and often issues clear up just by using the latest and greatest. David Botton On Sat, Dec 19, 2015 at 12:49 PM wrote: > Hello, > > I have

[Gnoga-list] How to use gprtools with FSF Gnat on Windows 64 and 32bits

2015-11-26 Thread Rabbi David Botton
(BTW, I have modified the makefile for Gnoga in git to add the --target=) How to use that GNAT GPL 2015 gpr tools (which are GPL tools that do not affect/virus the license of the resulting executables) with Win32 or Win64 builds. 1. Install a non-licensed virused version of FSF GNAT for Win32 or

Re: [Gnoga-list] How to use gprtools with FSF Gnat on Windows 64 and 32bits

2015-11-26 Thread Rabbi David Botton
I've mirrored the files in to the Gnoga sourceforge site at https://sourceforge.net/projects/gnoga/files/Windows_Tools/ > PS - There is some network issues today on thanksgiving and files are > being interrupted from my server. If that happens try tomorrow sorry :( >

Re: [Gnoga-list] Weird stuff is going on ... ;)

2015-11-25 Thread Rabbi David Botton
have the same results: Pre July > builds work, July up to current (Tested today's) do not work. > > Any other info I am forgetting to provide? I can take some logs of the > compilation if you need those. > > > > On Tue, Nov 24, 2015 at 7:59 AM, Rabbi David Botton <da..

Re: [Gnoga-list] Error in Gnoga compilation.

2015-11-28 Thread Rabbi David Botton
There are Issues on El Capitan if you upgraded. You win need to get Simon's 5.2 compiler. I don’t know about gnat gpl but could be same issue. David Botton -- ___ Gnoga-list

Re: [Gnoga-list] Problem with concurrent On_Click_Handler (div overlapping)

2015-11-30 Thread Rabbi David Botton
It is caused by javascript event bubbling, try the following in the event handler and let me know if this solves your issue: Gnoga.Server.Connection.Execute_Script (ID => Object.Connection_ID, Script => "e.stopPropagation()"); David Botton On Sun, Nov 29, 2015 at 4:58 PM

Re: [Gnoga-list] Weird stuff is going on ... ;)

2015-11-21 Thread Rabbi David Botton
You could file a bug on sourceforge. For some reason the virtual machine hosting gnoga (and many other sites) has been crashing since I updated the host Mac OS X to El Capitan. I did so only after a month of testing so I am surprised. If keeps happening I'll move to a different host on my network.

Re: [Gnoga-list] Any way to stop backspace characters being passed to the browser?

2015-11-23 Thread Rabbi David Botton
Set the focus to a control, even a fake one that is hidden like this: -- Prevent backspace from causing browser to go to previous page Stop_B := new Common.DIV_Type; Stop_B.Create (Main_Window); Stop_B.Hidden; Stop_B.Editable; Stop_B.Focus; David Botton On

Re: [Gnoga-list] Weird stuff is going on ... ;)

2015-11-24 Thread Rabbi David Botton
Does this happen with the latest Gnoga in git or just 1.1a? The only difference between 1.1 and 1.1a is in the version of Simple Components. There has been some changes in the underlying representations in GNAT versions that required Dimitry to alter the configuration of Simple Components. I'm

Re: [Gnoga-list] Radio Buttons

2016-01-08 Thread Rabbi David Botton
> > I presume one has to iterate over the buttons in a group, testing Checked, > to > find the currently checked button. > > You could also set a value on each and use a single event handler that updates a variable. David Botton

Re: [Gnoga-list] Radio Buttons

2016-01-08 Thread Rabbi David Botton
t;, Value => i'Img); Radio_Group (i).On_Change_Handler (Radio_Select'Unrestricted_Access); F.Put ("Radio Group #" & i'Img); F.New_Line; end loop; On Fri, Jan 8, 2016 at 8:21 AM Rabbi David Botton <da...@botton.com> wrote: > I presume one has to

Re: [Gnoga-list] Refresh button disconnects

2016-05-31 Thread Rabbi David Botton
Refresh implies a lost connection and new session on web browsers, i.e. that is expected functionality. You could use local storage on the browser side (there is a test case showing its use) to store session information or any other data on the client side and use that data after a refresh or even

Re: [Gnoga-list] Gnoga internationalization support with Zanyblue.

2016-01-16 Thread Rabbi David Botton
Pascal can you announce your change on CLA and Google+ also? Always good PR nice if come from others also :) Great work! David Botton On Fri, Jan 15, 2016 at 3:49 PM Pascal wrote: > Hello, > > Gnoga now supports internationalization with the help of Zanyblue. >

[Gnoga-list] New Plotting Library Added to Gnoga

2016-02-09 Thread Rabbi David Botton
I've added Jeff's plotting library to Gnoga and is now in head. (Thanks!!) Take a look at test/plot_test.adb for an example. David Botton -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM +

Re: [Gnoga-list] LinXtris with Gnoga.

2016-02-08 Thread Rabbi David Botton
Not compiling for me on GNAT 5.2.0 on Mac OS X or GNAT 5.2.0 on Windows 64bits dbmacbook:gnoga dbotton$ make linxtris cd demo/linxtris && gprbuild --target=x86_64-apple-darwin15.3.0 -Plinxtris.gpr -XPRJ_TARGET=OSX gcc -c -gnaty3abcdefhiklmnOprsStu -gnat2012 -gnatW8 -g -gnata -gnatq -gnatQ

[Gnoga-list] PragmARC

2016-02-08 Thread Rabbi David Botton
Gnoga will now pull in using git Jeff's PragmARC components into deps with make pragmarc http://pragmada.x10hosting.com/pragmarc.htm I plan on using it in some future developments with Gnoga and is used in some demos being added. PragmARC, and Simple Components, which we already include are two

Re: [Gnoga-list] Gnoga.com's First Impressions

2016-02-03 Thread Rabbi David Botton
Good point. There are many things about the site that were done intentionally for me to test interactions with search engines, browsers, etc. most importantly robustness and load. At this point there is not much point to having a site that is not more ideal for general purpose consumption. I'll

Re: [Gnoga-list] fix for zannyblue build issue

2016-01-24 Thread Rabbi David Botton
.gpr > Use -f if you really want to add them. > > So I force Git with the original file. > > I make also an improvement of the use of Zanyblue in Connect Four to > address several sessions with different locales. > > Regards, Pascal. > http://blady.pagesperso-orange.fr &g

Re: [Gnoga-list] Question about endless connection swapping

2016-03-14 Thread Rabbi David Botton
Did you close and restart a gnoga server in a small space of time? On Mon, Mar 14, 2016 at 10:51 AM Olivier Henley wrote: > Hi to all, > > I was wondering if its normal that I have endless websocket connection > swapping? There is only one client connected to my

Re: [Gnoga-list] gnoga build fails on OSX 10.11.3

2016-04-11 Thread Rabbi David Botton
He mentioned GNAT GPL which is broken for Mac. Get the latest FSF GNAT. http://getadanow.com On Mon, Apr 11, 2016 at 7:13 AM Jeremiah Breeden wrote: > Are you using GNAT 5.2.0 or newer? Previous MAC versions were not working > correctly. > > See: >

Re: [Gnoga-list] Parent_Object and Finalize

2016-04-06 Thread Rabbi David Botton
<< Finalizing the object does not clear the old Parent_Object reference, so I modified Finalize in gnoga-gui-base.adb as follows: -- ADDED: Remove reference to Parent_Object Object.Parent_Object := null; This makes my application work correctly, but I wonder if I am misunderstanding something?

Re: [Gnoga-list] Zany Blue and Gnoga_Tools requirement?

2016-04-13 Thread Rabbi David Botton
No, is important that anything requiring them not be part of regular builds or even examples. I'm ok if part of test builds for development if outside of the main gnoga code. David Botton On Wed, Apr 13, 2016 at 9:26 PM Jeremiah Breeden wrote: > Thank you! > > A

Re: [Gnoga-list] Gnoga.Gui.Window.Launch

2016-05-16 Thread Rabbi David Botton
Today almost every browser has issues with popups, if you need a pop up today, much better to just create a View and position over the page, can use the dialogs from JQueryUI to make easy (Gnoga.Gui.Plugin.JQueryUI). David Botton On Mon, May 16, 2016 at 8:47 AM Wayne Bullaughey <

Re: [Gnoga-list] Unable to use the MySQL interface

2016-04-20 Thread Rabbi David Botton
I haven't tested it since early days of gnoga the bindings were originally from my Ada on rails that was never made public but used in production and for some AdaCore projects. I would try the MySQL example it test since that was my test case for the current bindings. I can see about setting up

<    1   2   3