Re: httpd library

2021-07-26 Thread Tom Glod via use-livecode
I just got a haircut, was hoping someone would call me a young man .
but it didn't happen.  Next goes the beard. lolz

On Mon, Jul 26, 2021 at 3:58 PM doc hawk via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Andre added,
>
>
> > I love when you folks call me a young man :-) I’ve been 41 for a while
> now and no one asks for my ID when I buy a beer anymore.
>
> That’s why I hang around the knights of columbus—it’s the only place I get
> called “young man” any more . . .
>
> :)
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-26 Thread doc hawk via use-livecode

Andre added,


> I love when you folks call me a young man :-) I’ve been 41 for a while now 
> and no one asks for my ID when I buy a beer anymore.

That’s why I hang around the knights of columbus—it’s the only place I get 
called “young man” any more . . .

:)

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-26 Thread Bob Sneidar via use-livecode
Just hang out at American airports. I'm 65 and they ask ME for ID. :-)

Bob S


> On Jul 25, 2021, at 14:30 , Andre Garzia via use-livecode 
>  wrote:
> 
> I love when you folks call me a young man :-) I’ve been 41 for a while now 
> and no one asks for my ID when I buy a beer anymore.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: httpd library

2021-07-26 Thread Erik Beugelaar via use-livecode
Happy to see there are more talented programmers who are not greedy...
Thumbs up to you.

Erik

-Original Message-
From: use-livecode  On Behalf Of Andre 
Garzia via use-livecode
Sent: maandag 26 juli 2021 12:59
To: How to use LiveCode 
Cc: Andre Garzia 
Subject: Re: httpd library

Bernard,

Thanks for the kind words my friend. :-) I can barely believe it has been 15 
years already, it feels like yesterday.

Don’t worry about the database library, I’m just going to relicense it as MIT 
which will make it free to use for all use cases.  I’m no longer providing 
support or selling software, I want to focus on books. So, if you’d like to 
support me, you can grab a book at:

https://andregarzia.com/books.html <https://andregarzia.com/books.html> 

If you don’t want a book, but want to send some money anyway, you can “buy me a 
coffee” at:

https://ko-fi.com/andregarzia <https://ko-fi.com/andregarzia>

Warm regards
Andre

> On 26 Jul 2021, at 00:08, Bernard Devlin via use-livecode 
>  wrote:
> 
> Hi Andre
> 
> It was probably 15 years ago when you said "I want to build a http 
> daemon in Revolution".
> 
> You were a young man :)
> 
> BTW I've started using your dblibrary recently. If I pay for a 
> license, will you get the money?  Can you provide a link for where to 
> make the payment?
> 
> Regards, Bernard
> 
> 
>> 
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-26 Thread Andre Garzia via use-livecode
Bernard,

Thanks for the kind words my friend. :-) I can barely believe it has been 15 
years already, it feels like yesterday.

Don’t worry about the database library, I’m just going to relicense it as MIT 
which will make it free to use for all use cases.  I’m no longer providing 
support or selling software, I want to focus on books. So, if you’d like to 
support me, you can grab a book at:

https://andregarzia.com/books.html  

If you don’t want a book, but want to send some money anyway, you can “buy me a 
coffee” at:

https://ko-fi.com/andregarzia 

Warm regards
Andre

> On 26 Jul 2021, at 00:08, Bernard Devlin via use-livecode 
>  wrote:
> 
> Hi Andre
> 
> It was probably 15 years ago when you said "I want to build a http daemon
> in Revolution".
> 
> You were a young man :)
> 
> BTW I've started using your dblibrary recently. If I pay for a license,
> will you get the money?  Can you provide a link for where to make the
> payment?
> 
> Regards, Bernard
> 
> 
>> 
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Bernard Devlin via use-livecode
Hi Andre

It was probably 15 years ago when you said "I want to build a http daemon
in Revolution".

You were a young man :)

BTW I've started using your dblibrary recently. If I pay for a license,
will you get the money?  Can you provide a link for where to make the
payment?

Regards, Bernard


>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Andre Garzia via use-livecode
Oh, I see… I thought the problem was getting it to work. Let me post there 
instead.

> On 25 Jul 2021, at 23:26, matthias rebbe via use-livecode 
>  wrote:
> 
> Andre,
> 
> the original poster in the forum
> https://forums.livecode.com/viewtopic.php?f=11=207421=20e6800951126812dc379fe4ebe7b7cd#p207421
>  
> 
> 
> wants to allow to upload a csv file from a client computer to the web server 
> on the mobile app using a html form.
> And that is not working.
> 
> Regards,
> Matthias
> 
> 
> 
> 
>> Am 26.07.2021 um 00:18 schrieb Andre Garzia via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Just an update, the httpd library works on mobile. The httpd library I’m 
>> mentioning here is the one bundled with LiveCode. I think Malte built it, it 
>> is very similar to the one I built in the past but I am sure it is a bit 
>> smarter.
>> 
>> I’ve created a demo stack at: 
>> https://andregarzia.com/files/mobile-web-server-test.livecode.gz 
>>  
>> > > that I 
>> tested on Android (on a real device) and on the iPhone Simulator on my 
>> macOS, both worked.
>> 
>> Apparently there is a bug in the 9.6.3-rc-2. If you set “allow http 
>> connections” on Android, it fails to build the app. I had to go to the 
>> custom properties editor to delete that prop manually because I couldn’t 
>> edit it on the standalone application settings after first trying to use it.
>> 
>> Hope this helps Bernard.
>> 
>>> On 25 Jul 2021, at 22:30, Andre Garzia  wrote:
>>> 
>>> I love when you folks call me a young man :-) I’ve been 41 for a while now 
>>> and no one asks for my ID when I buy a beer anymore.
>>> 
>>> Well, back on topic, is there something wrong with the HTTPD library that 
>>> LiveCode ships right now? It should serve for the purposes your friend 
>>> wants.
>>> 
>>> I’m going to test it here to see if works (because I’m curious) and get 
>>> back to this list with results.
>>> 
>>> Best
>>> A
>>> 
 On 25 Jul 2021, at 18:50, Bernard Devlin via use-livecode 
  wrote:
 
 Hi Rick
 
 Normally I'd agree with you (ever since Andre piped-up as a young man
 saying he was building a webserver in Livecode, I've thought "just use one
 of the many available webservers..")
 
 However this user wants this running on a mobile device.  So he either
 gives up that idea or he starts going down the path of httpd.mc or Andre's
 webserver.
 
 I was just trying to save him all the work that other's have done before.
 
 Regards, Bernard
 
 On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> Hi Bernard,
> 
> The user should set up an LC Web Server with a database connected to it.
> 
> The LC Apps should all then send information to the LC Server, and the
> Server
> will send information back to the LC Apps.
> 
> I think any other way is going to be a huge waste of time and energy.
> 
> Good luck,
> 
> Rick
> 
> 
> 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com 
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode 
>> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread matthias rebbe via use-livecode
Andre,

the original poster in the forum
https://forums.livecode.com/viewtopic.php?f=11=207421=20e6800951126812dc379fe4ebe7b7cd#p207421

wants to allow to upload a csv file from a client computer to the web server on 
the mobile app using a html form.
And that is not working.

Regards,
Matthias




> Am 26.07.2021 um 00:18 schrieb Andre Garzia via use-livecode 
> :
> 
> Just an update, the httpd library works on mobile. The httpd library I’m 
> mentioning here is the one bundled with LiveCode. I think Malte built it, it 
> is very similar to the one I built in the past but I am sure it is a bit 
> smarter.
> 
> I’ve created a demo stack at: 
> https://andregarzia.com/files/mobile-web-server-test.livecode.gz 
>  that I 
> tested on Android (on a real device) and on the iPhone Simulator on my macOS, 
> both worked.
> 
> Apparently there is a bug in the 9.6.3-rc-2. If you set “allow http 
> connections” on Android, it fails to build the app. I had to go to the custom 
> properties editor to delete that prop manually because I couldn’t edit it on 
> the standalone application settings after first trying to use it.
> 
> Hope this helps Bernard.
> 
>> On 25 Jul 2021, at 22:30, Andre Garzia  wrote:
>> 
>> I love when you folks call me a young man :-) I’ve been 41 for a while now 
>> and no one asks for my ID when I buy a beer anymore.
>> 
>> Well, back on topic, is there something wrong with the HTTPD library that 
>> LiveCode ships right now? It should serve for the purposes your friend wants.
>> 
>> I’m going to test it here to see if works (because I’m curious) and get back 
>> to this list with results.
>> 
>> Best
>> A
>> 
>>> On 25 Jul 2021, at 18:50, Bernard Devlin via use-livecode 
>>>  wrote:
>>> 
>>> Hi Rick
>>> 
>>> Normally I'd agree with you (ever since Andre piped-up as a young man
>>> saying he was building a webserver in Livecode, I've thought "just use one
>>> of the many available webservers..")
>>> 
>>> However this user wants this running on a mobile device.  So he either
>>> gives up that idea or he starts going down the path of httpd.mc or Andre's
>>> webserver.
>>> 
>>> I was just trying to save him all the work that other's have done before.
>>> 
>>> Regards, Bernard
>>> 
>>> On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Hi Bernard,
 
 The user should set up an LC Web Server with a database connected to it.
 
 The LC Apps should all then send information to the LC Server, and the
 Server
 will send information back to the LC Apps.
 
 I think any other way is going to be a huge waste of time and energy.
 
 Good luck,
 
 Rick
 
 
 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Andre Garzia via use-livecode
Just an update, the httpd library works on mobile. The httpd library I’m 
mentioning here is the one bundled with LiveCode. I think Malte built it, it is 
very similar to the one I built in the past but I am sure it is a bit smarter.

I’ve created a demo stack at: 
https://andregarzia.com/files/mobile-web-server-test.livecode.gz 
 that I 
tested on Android (on a real device) and on the iPhone Simulator on my macOS, 
both worked.

Apparently there is a bug in the 9.6.3-rc-2. If you set “allow http 
connections” on Android, it fails to build the app. I had to go to the custom 
properties editor to delete that prop manually because I couldn’t edit it on 
the standalone application settings after first trying to use it.

Hope this helps Bernard.

> On 25 Jul 2021, at 22:30, Andre Garzia  wrote:
> 
> I love when you folks call me a young man :-) I’ve been 41 for a while now 
> and no one asks for my ID when I buy a beer anymore.
> 
> Well, back on topic, is there something wrong with the HTTPD library that 
> LiveCode ships right now? It should serve for the purposes your friend wants.
> 
> I’m going to test it here to see if works (because I’m curious) and get back 
> to this list with results.
> 
> Best
> A
> 
>> On 25 Jul 2021, at 18:50, Bernard Devlin via use-livecode 
>>  wrote:
>> 
>> Hi Rick
>> 
>> Normally I'd agree with you (ever since Andre piped-up as a young man
>> saying he was building a webserver in Livecode, I've thought "just use one
>> of the many available webservers..")
>> 
>> However this user wants this running on a mobile device.  So he either
>> gives up that idea or he starts going down the path of httpd.mc or Andre's
>> webserver.
>> 
>> I was just trying to save him all the work that other's have done before.
>> 
>> Regards, Bernard
>> 
>> On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Hi Bernard,
>>> 
>>> The user should set up an LC Web Server with a database connected to it.
>>> 
>>> The LC Apps should all then send information to the LC Server, and the
>>> Server
>>> will send information back to the LC Apps.
>>> 
>>> I think any other way is going to be a huge waste of time and energy.
>>> 
>>> Good luck,
>>> 
>>> Rick
>>> 
>>> 
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Andre Garzia via use-livecode
I love when you folks call me a young man :-) I’ve been 41 for a while now and 
no one asks for my ID when I buy a beer anymore.

Well, back on topic, is there something wrong with the HTTPD library that 
LiveCode ships right now? It should serve for the purposes your friend wants.

I’m going to test it here to see if works (because I’m curious) and get back to 
this list with results.

Best
A

> On 25 Jul 2021, at 18:50, Bernard Devlin via use-livecode 
>  wrote:
> 
> Hi Rick
> 
> Normally I'd agree with you (ever since Andre piped-up as a young man
> saying he was building a webserver in Livecode, I've thought "just use one
> of the many available webservers..")
> 
> However this user wants this running on a mobile device.  So he either
> gives up that idea or he starts going down the path of httpd.mc or Andre's
> webserver.
> 
> I was just trying to save him all the work that other's have done before.
> 
> Regards, Bernard
> 
> On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Bernard,
>> 
>> The user should set up an LC Web Server with a database connected to it.
>> 
>> The LC Apps should all then send information to the LC Server, and the
>> Server
>> will send information back to the LC Apps.
>> 
>> I think any other way is going to be a huge waste of time and energy.
>> 
>> Good luck,
>> 
>> Rick
>> 
>> 
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Kee Nethery via use-livecode
I’ve got a copy of that stack if you still need it.

Kee Nethery

> On Jul 25, 2021, at 10:51 AM, Bernard Devlin via use-livecode 
>  wrote:
> 
> Hi Rick
> 
> Normally I'd agree with you (ever since Andre piped-up as a young man
> saying he was building a webserver in Livecode, I've thought "just use one
> of the many available webservers..")
> 
> However this user wants this running on a mobile device.  So he either
> gives up that idea or he starts going down the path of httpd.mc or Andre's
> webserver.
> 
> I was just trying to save him all the work that other's have done before.
> 
> Regards, Bernard
> 
>> On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Hi Bernard,
>> 
>> The user should set up an LC Web Server with a database connected to it.
>> 
>> The LC Apps should all then send information to the LC Server, and the
>> Server
>> will send information back to the LC Apps.
>> 
>> I think any other way is going to be a huge waste of time and energy.
>> 
>> Good luck,
>> 
>> Rick
>> 
>> 
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread matthias rebbe via use-livecode
Maybe the user wants to allow connections rom desktop computers to the mobile 
App to upload data to the mobile app. 
The idea itself to do the data exchange with a webserver running on the mobile 
app is not bad.

Another solution would be mergFTPD, but that external is only available for iOS.



> Am 25.07.2021 um 17:41 schrieb Rick Harrison via use-livecode 
> :
> 
> Hi Bernard,
> 
> The user should set up an LC Web Server with a database connected to it.
> 
> The LC Apps should all then send information to the LC Server, and the Server 
> will send information back to the LC Apps.
> 
> I think any other way is going to be a huge waste of time and energy.
> 
> Good luck,
> 
> Rick
> 
> 
> 
> 
>> On Jul 25, 2021, at 3:35 AM, Bernard Devlin via use-livecode 
>>  wrote:
>> 
>> Hi all
>> 
>> Over on the forum someone has run into what appear to be limitations of
>> LC's included httpd library.
>> 
>> I remember over the years seeing that various people implemented something
>> like this (Andre comes to mind).  The forum user wants to be able to run a
>> LC app on a mobile device within a LAN and have others POST binary data to
>> the LC app via HTTP.
>> 
>> Rather then tell him "you can build your own" I thought I'd ask if anyone
>> knew the whereabouts of any of the other httpd implementations.
>> 
>> Regards
>> 
>> Bernard
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Bernard Devlin via use-livecode
Hi Rick

Normally I'd agree with you (ever since Andre piped-up as a young man
saying he was building a webserver in Livecode, I've thought "just use one
of the many available webservers..")

However this user wants this running on a mobile device.  So he either
gives up that idea or he starts going down the path of httpd.mc or Andre's
webserver.

I was just trying to save him all the work that other's have done before.

Regards, Bernard

On Sun, Jul 25, 2021 at 4:42 PM Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Bernard,
>
> The user should set up an LC Web Server with a database connected to it.
>
> The LC Apps should all then send information to the LC Server, and the
> Server
> will send information back to the LC Apps.
>
> I think any other way is going to be a huge waste of time and energy.
>
> Good luck,
>
> Rick
>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library

2021-07-25 Thread Rick Harrison via use-livecode
Hi Bernard,

The user should set up an LC Web Server with a database connected to it.

The LC Apps should all then send information to the LC Server, and the Server 
will send information back to the LC Apps.

I think any other way is going to be a huge waste of time and energy.

Good luck,

Rick




> On Jul 25, 2021, at 3:35 AM, Bernard Devlin via use-livecode 
>  wrote:
> 
> Hi all
> 
> Over on the forum someone has run into what appear to be limitations of
> LC's included httpd library.
> 
> I remember over the years seeing that various people implemented something
> like this (Andre comes to mind).  The forum user wants to be able to run a
> LC app on a mobile device within a LAN and have others POST binary data to
> the LC app via HTTP.
> 
> Rather then tell him "you can build your own" I thought I'd ask if anyone
> knew the whereabouts of any of the other httpd implementations.
> 
> Regards
> 
> Bernard

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library and missed opportunity.

2017-08-01 Thread Alex Tweedly via use-livecode

On 02/08/2017 01:42, Monte Goulding via use-livecode wrote:

On 2 Aug 2017, at 10:36 am, Alex Tweedly via use-livecode 
 wrote:

The 'test' button is handy - but it's not the only way.
In fact, I rarely use it - I build my standalones, then try it out on 2 or 3 
platforms (OK, this may be very untypical, because I am just starting to play 
with mobile and html5 ... but I suspect it will continue to be a viable 
work-flow - if only because of frequent interruptions, etc.) So I would hope to 
be able to run the server,  and then make multiple tests with a single 
standalone.

Hmm… Well click the Test button and then from your other platform enter the IP 
of the machine with the IDE. Should work fine.
I was a bit unclear, sorry.  I make some edits, then build for multiple 
platforms (Mac, Android and HTML). Then I want to test each of those 
platforms out, perhaps multiple times. Maybe all it needs is a "Retest" 
button (or "cmd+Test") to re-use the most-recently-built for the 
selected test target.

You said "[HTTPd library] ...  now that we have one included in the IDE we 
...". So is it the intention that this library is only available in the IDE, and 
won't be available for inclusion in a standalone, or for use from LCServer ?  (I can't 
see it in the list of inclusions in the SB, unlike diff, getopt, etc. - though that list 
is getting long enough that scrolling through it to see if something is there or not is 
becoming  inexact).

It should be in the list in dp-9.

I don't see it (or don't recognize it). (dp8 Indy, OSX)

Alex.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: httpd library and missed opportunity.

2017-08-01 Thread Monte Goulding via use-livecode

> On 2 Aug 2017, at 10:36 am, Alex Tweedly via use-livecode 
>  wrote:
> 
> The 'test' button is handy - but it's not the only way.
> In fact, I rarely use it - I build my standalones, then try it out on 2 or 3 
> platforms (OK, this may be very untypical, because I am just starting to play 
> with mobile and html5 ... but I suspect it will continue to be a viable 
> work-flow - if only because of frequent interruptions, etc.) So I would hope 
> to be able to run the server,  and then make multiple tests with a single 
> standalone.

Hmm… Well click the Test button and then from your other platform enter the IP 
of the machine with the IDE. Should work fine.

> You said "[HTTPd library] ...  now that we have one included in the IDE we 
> ...". So is it the intention that this library is only available in the IDE, 
> and won't be available for inclusion in a standalone, or for use from 
> LCServer ?  (I can't see it in the list of inclusions in the SB, unlike diff, 
> getopt, etc. - though that list is getting long enough that scrolling through 
> it to see if something is there or not is becoming  inexact).

It should be in the list in dp-9.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: httpd library and missed opportunity.

2017-08-01 Thread Alex Tweedly via use-livecode

The 'test' button is handy - but it's not the only way.
In fact, I rarely use it - I build my standalones, then try it out on 2 
or 3 platforms (OK, this may be very untypical, because I am just 
starting to play with mobile and html5 ... but I suspect it will 
continue to be a viable work-flow - if only because of frequent 
interruptions, etc.) So I would hope to be able to run the server,  and 
then make multiple tests with a single standalone.


You said "[HTTPd library] ...  now that we have one included in the IDE 
we ...". So is it the intention that this library is only available in 
the IDE, and won't be available for inclusion in a standalone, or for 
use from LCServer ?  (I can't see it in the list of inclusions in the 
SB, unlike diff, getopt, etc. - though that list is getting long enough 
that scrolling through it to see if something is there or not is 
becoming  inexact).


Alex.

On 02/08/2017 01:13, Monte Goulding via use-livecode wrote:

On 2 Aug 2017, at 7:16 am, Alex Tweedly via use-livecode 
 wrote:


python -m SimpleHTTPServer 8080
This will let you access your standalone by opening your web browser and visiting 
http://localhost:8080 .


What ?  IMO, this is just plain "wrong".

I think there’s a couple of things here. The scope of the original HTML5 
implementation did not include writing a HTTP server in LCS. It was before my 
time at the company but I believe a significant proportion of the project was 
Peter’s first thing he did in LC and he probably wasn’t aware of the fact 
there’s a few HTTPd implementations around the community. Anyway, now that we 
have one included in the IDE we definitely want to implement a deploy library 
so that you just need to click the Test button and it will pop up in your 
browser. Bonus points for being able to add extra browsers so you can choose a 
target.

I create a report about this a while back 
http://quality.livecode.com/show_bug.cgi?id=19909 


Anyway, this could either be contributed by someone in the community or done in 
house when we get a chance.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: httpd library and missed opportunity.

2017-08-01 Thread Monte Goulding via use-livecode

> On 2 Aug 2017, at 7:16 am, Alex Tweedly via use-livecode 
>  wrote:
> 
>> python -m SimpleHTTPServer 8080
>> This will let you access your standalone by opening your web browser and 
>> visiting http://localhost:8080 .
>> 
> What ?  IMO, this is just plain "wrong".

I think there’s a couple of things here. The scope of the original HTML5 
implementation did not include writing a HTTP server in LCS. It was before my 
time at the company but I believe a significant proportion of the project was 
Peter’s first thing he did in LC and he probably wasn’t aware of the fact 
there’s a few HTTPd implementations around the community. Anyway, now that we 
have one included in the IDE we definitely want to implement a deploy library 
so that you just need to click the Test button and it will pop up in your 
browser. Bonus points for being able to add extra browsers so you can choose a 
target.

I create a report about this a while back 
http://quality.livecode.com/show_bug.cgi?id=19909 


Anyway, this could either be contributed by someone in the community or done in 
house when we get a chance.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: httpd library and missed opportunity.

2017-08-01 Thread Brian Milby via use-livecode
I'd like to think that by the time LC 9 leaves DP status that this will be
possible.  There is already a library included in DP 8 to handle httpd
requests.

On Tue, Aug 1, 2017 at 5:18 PM, Andre Garzia via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Alex,
>
> Python is kinda tricky to bundle. If you're looking into writing an
> extension, then these might be useful:
>
> * Libmicrohttpd - from GNU project, embedable httpd in C:
> https://www.gnu.org/software/libmicrohttpd/
>
> Implementing httpd is not hard, it could be done quite easily.
>
> On Tue, Aug 1, 2017 at 6:16 PM, Alex Tweedly via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > [ started a new thread, so I can't rant without tainting the other
> thread ]
> >
> > I started out on the 'find a rev/livecode solution for a simple HTTP
> > server" for one small reason :
> >
> >the LC 9.0 Dictionary Guide, under "HTML5 Deployment" says
> >
> > Testing your HTML5 app with a local web server
> >> Some browsers, such as Google Chrome, do not permit pages to download
> >> resources from file:// URLs. You won't be able to test your application
> in
> >> these browsers unless you run a local HTTP server.
> >>
> >> A quick and easy way to run a simple local HTTP server is to use Python.
> >> Open a terminal window, change directory to your standalone's directory,
> >> and run:
> >>
> >> python -m SimpleHTTPServer 8080
> >> This will let you access your standalone by opening your web browser and
> >> visiting http://localhost:8080.
> >>
> >> What ?  IMO, this is just plain "wrong".
> >
> > This is like going into the BMW dealership and being told "Yeah, you'll
> > love the way the new Z4 drives. Just get into this Mercedes sports car
> here
> > and we'll take you over to the racetrack to watch someone else drive
> one."
> >
> > Why are we suggesting that users use another (OK, a "competing")
> scripting
> > language to test HTML5 deployment ?
> >
> > Livecode is perfectly able to run a simple HTTP server. It is perfectly
> > possible and not too hard to write a basic one. In fact, we now even have
> > an included library that makes it trivial to write that very basic
> server.
> >
> > Why didn't we (i.e. Livecode - a careful use of the word  "we") just
> > package up that simple server, and then include that, with suitable
> > instructions.
> >
> > That would have avoided any implication that LC is any less capable than
> > other scripting languages, and avoided reminding anyone that LC doesn't
> > (yet) come packaged with all the libraries and therefore utilities that
> you
> > could hope for.
> >
> >
> > So - I'm hoping to write a basic version (including my "get around the
> > same-domain limitation") and get it, or something like it, included in
> the
> > LC distribution, so that the documentation has no need to recommend
> another
> > language.
> >
> > 
> >
> > Alex.
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
>
> --
> http://www.andregarzia.com -- All We Do Is Code.
> http://fon.nu -- minimalist url shortening service.
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library and missed opportunity.

2017-08-01 Thread Andre Garzia via use-livecode
Alex,

Python is kinda tricky to bundle. If you're looking into writing an
extension, then these might be useful:

* Libmicrohttpd - from GNU project, embedable httpd in C:
https://www.gnu.org/software/libmicrohttpd/

Implementing httpd is not hard, it could be done quite easily.

On Tue, Aug 1, 2017 at 6:16 PM, Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:

> [ started a new thread, so I can't rant without tainting the other thread ]
>
> I started out on the 'find a rev/livecode solution for a simple HTTP
> server" for one small reason :
>
>the LC 9.0 Dictionary Guide, under "HTML5 Deployment" says
>
> Testing your HTML5 app with a local web server
>> Some browsers, such as Google Chrome, do not permit pages to download
>> resources from file:// URLs. You won't be able to test your application in
>> these browsers unless you run a local HTTP server.
>>
>> A quick and easy way to run a simple local HTTP server is to use Python.
>> Open a terminal window, change directory to your standalone's directory,
>> and run:
>>
>> python -m SimpleHTTPServer 8080
>> This will let you access your standalone by opening your web browser and
>> visiting http://localhost:8080.
>>
>> What ?  IMO, this is just plain "wrong".
>
> This is like going into the BMW dealership and being told "Yeah, you'll
> love the way the new Z4 drives. Just get into this Mercedes sports car here
> and we'll take you over to the racetrack to watch someone else drive one."
>
> Why are we suggesting that users use another (OK, a "competing") scripting
> language to test HTML5 deployment ?
>
> Livecode is perfectly able to run a simple HTTP server. It is perfectly
> possible and not too hard to write a basic one. In fact, we now even have
> an included library that makes it trivial to write that very basic server.
>
> Why didn't we (i.e. Livecode - a careful use of the word  "we") just
> package up that simple server, and then include that, with suitable
> instructions.
>
> That would have avoided any implication that LC is any less capable than
> other scripting languages, and avoided reminding anyone that LC doesn't
> (yet) come packaged with all the libraries and therefore utilities that you
> could hope for.
>
>
> So - I'm hoping to write a basic version (including my "get around the
> same-domain limitation") and get it, or something like it, included in the
> LC distribution, so that the documentation has no need to recommend another
> language.
>
> 
>
> Alex.
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: httpd library and missed opportunity.

2017-08-01 Thread J. Landman Gay via use-livecode

My first reaction was: I bet LC didn't have enough spare time and people.

My second reaction was: Well, it's open source, after all.

My third reaction was: Good for you, Alex! Bravo!


On 8/1/17 4:16 PM, Alex Tweedly via use-livecode wrote:

[ started a new thread, so I can't rant without tainting the other thread ]

I started out on the 'find a rev/livecode solution for a simple HTTP 
server" for one small reason :


the LC 9.0 Dictionary Guide, under "HTML5 Deployment" says


Testing your HTML5 app with a local web server
Some browsers, such as Google Chrome, do not permit pages to download 
resources from file:// URLs. You won't be able to test your 
application in these browsers unless you run a local HTTP server.


A quick and easy way to run a simple local HTTP server is to use 
Python. Open a terminal window, change directory to your standalone's 
directory, and run:


python -m SimpleHTTPServer 8080
This will let you access your standalone by opening your web browser 
and visiting http://localhost:8080.



What ?  IMO, this is just plain "wrong".

This is like going into the BMW dealership and being told "Yeah, you'll 
love the way the new Z4 drives. Just get into this Mercedes sports car 
here and we'll take you over to the racetrack to watch someone else 
drive one."


Why are we suggesting that users use another (OK, a "competing") 
scripting language to test HTML5 deployment ?


Livecode is perfectly able to run a simple HTTP server. It is perfectly 
possible and not too hard to write a basic one. In fact, we now even 
have an included library that makes it trivial to write that very basic 
server.


Why didn't we (i.e. Livecode - a careful use of the word  "we") just 
package up that simple server, and then include that, with suitable 
instructions.


That would have avoided any implication that LC is any less capable than 
other scripting languages, and avoided reminding anyone that LC doesn't 
(yet) come packaged with all the libraries and therefore utilities that 
you could hope for.



So - I'm hoping to write a basic version (including my "get around the 
same-domain limitation") and get it, or something like it, included in 
the LC distribution, so that the documentation has no need to recommend 
another language.




Alex.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode