Re: [revIgniter] revIgniter and LC8

2016-05-05 Thread Ralf Bitter
Sorry for coming late. The superfluous "then" keyword in
system/libraries/Input.lc -> _rigValid_ipv4() was overlooked
because server engine versions prior to 8 were forgiving and
didn't complain.
The bug is fixed since version 1.7.2. So, all of you who use
older versions need to fix this in case you intend to upgrade
the server engine to version 8.
Anyhow I recommend to update revIgniter to the latest version.


Warm regards

Ralf

___
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: LC Server: Getting a file list when filenames use UTF8

2016-10-17 Thread Ralf Bitter
Seems that I can confirm your findings.
Did a test on diesel using server version 8.1.1-rc-2.
If there is a file "こんにちは.txt" the file list retrieved
is empty. To get a file list I have to remove the
Japanese file.


Ralf


> On 17.10.2016, at 10:21, Tim Selander  wrote:
> 
> Hi,
> 
> Using LC server as installed in my on-rev account.
> 
> This script
>  set the defaultfolder to "/home/server-name/public_html/selander/201610"
> put the files
> ?>
> 
> Only returns files with English filenames to the resulting web page. Japanese 
> (utf8) filenames are ignored. If I change one of the Japanese filenames to 
> English, then it appears. If I change it back to Japanese, it reverts to not 
> appearing.
> 
> Any hints?
> 
> Thank you.
> 
> Tim Selander
> Tokyo, Japan


___
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

tsNetInit and LiveCode server

2016-10-17 Thread Ralf Bitter

Is the tsNet external working with LiveCode server?

Did tests using server version 8.1.1 rc2 on Mac OS X 10.11.6.
Seems that initialization (tsNetInit) doesn't work.
The result of tsNetGetSync is "tsneterr: Not initialised" although
tsNetInit is called prior to calling any other tsNet handlers as
described in the docs.


Ralf

___
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: tsNetInit and LiveCode server

2016-10-18 Thread Ralf Bitter
Thanks very much Charles for the response.


Ralf


> On 18.10.2016, at 02:59, Charles Warwick  
> wrote:
> 
> Hi Ralf,
> 
> In the current versions of tsNet, tsNetInit can potentially return before it 
> is completely initialised (the initialisation completes on another thread).
> 
> You can work around this by waiting for a short period of time after 
> tsNetInit is called before calling any other tsNet functions.
> 
> The next version of tsNet will ensure that the external is always fully 
> initialised before any calls to tsNetInit return.
> 
> On another note, there is currently a bug affecting the use of tsNet in 
> LiveCode server on OS X (it works fine on Linux).  The next version of tsNet 
> will also address that issue.
> 
> Cheers,
> 
> Charles


___
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: Livecode Server on Dreamhost fails in Ubuntu upgrade

2014-11-10 Thread Ralf Bitter
The do command does not work outside of a handler context.
This applies currently to version 7.0 only.


Ralf



> On 10.11.2014, at 20:30, Phil Davis  wrote:
> 
> Hi Richard, Stephen, all,
> 
> I upgraded my DH/LC server to 7.0 and am finding I can't use "do" in my 
> scripts. Is that your experience? For me it causes a SIGIOT error in the HTTP 
> error log and no further output to the browser (or your client of choice).
> 
> Maybe this is noted in the release docs - dunno.
> Phil Davis


___
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: Livecode Server on Dreamhost fails in Ubuntu upgrade

2014-11-10 Thread Ralf Bitter

> On 11.11.2014, at 00:14, Richard Gaskin  wrote:
> 
> Is that a bug or a feature?
> 
> One of the reasons I almost never use "do" is we have to be very careful in 
> server environment to insulate it from inputs, lest it become a nasty 
> injection exposure.


In view of this I would say this is a fixed bug
or a feature missing in prior server versions.


Ralf


___
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: JSON output from a Livecode server

2015-01-11 Thread Ralf Bitter

How about mergJSON?

http://mergext.com

or

https://github.com/montegoulding/mergJSON


Ralf


> On 11.01.2015, at 17:23, ethanl...@gmail.com wrote:
> 
> 
> I'm looking to produce JSON output from a Livecode server.
> 
> Is revigniter generated JSON output the best alternative?
> http://revigniter.com/userGuide/plugins/querytojson_plugin.html
> 
> Are there other JSON output tools one can easily use as a add-on to a 
> Livecode server?
> 
> E
> 


___
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


How to show the Windows 8 on screen keyboard in LiveCode?

2015-01-14 Thread Ralf Bitter

Shouldn't the on screen keyboard of Windows 8 tablets pop up automatically
on touching a text input control?
A client who installed a standalone built with LiveCode 6.7.1 on a Toshiba 
tablet
reports that the soft keyboard doesn't show up tapping a text input field.

Thought that, as a workaround, one possibly could start the keyboard exe
using launch or shell() like:

launch "C:/Program Files/Common Files/microsoft shared/ink/TabTip.exe"
yields "not opened"

or

get shell("start C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe")
yields "The file "C:/Program" could not be found."

or

get shell("start tabtip.exe")
yields "The file "tabtip.exe" could not be found."


Double checked the paths but all this fails, though start tabtip.exe definitely 
works from
the Windows command shell in contrast to
start C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe.

So, how do others show the on screen keyboard on Windows 8 tablets from
LiveCode standalones? Any insights appreciated.


Ralf
___
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: How to show the Windows 8 on screen keyboard in LiveCode?

2015-01-16 Thread Ralf Bitter
Hi Ralf,

the following code lets the Windows on screen keyboard appear (needed
for applications used in desktop mode:

--
set the hideConsoleWindows to true

# USE WINDOWS POWERSHELL
set the itemDel to "\"
put item 1 to -2 of $PSModulePath & "\powershell.exe" into tPowerShellPath
set the shellCommand to tPowerShellPath

get shell("start '" & $CommonProgramW6432 & "\microsoft shared\ink\TabTip.exe'")
--

Note the use of single and double quotes!


Sorry for soliloquizing but I thought this could be useful for others too.


Ralf


> On 14.01.2015, at 17:47, Ralf Bitter  wrote:
> 
> Shouldn't the on screen keyboard of Windows 8 tablets pop up automatically
> on touching a text input control?
> A client who installed a standalone built with LiveCode 6.7.1 on a Toshiba 
> tablet
> reports that the soft keyboard doesn't show up tapping a text input field.
> 
> Thought that, as a workaround, one possibly could start the keyboard exe
> using launch or shell() like:
> 
> launch "C:/Program Files/Common Files/microsoft shared/ink/TabTip.exe"
> yields "not opened"
> 
> or
> 
> get shell("start C:\Program Files\Common Files\microsoft 
> shared\ink\TabTip.exe")
> yields "The file "C:/Program" could not be found."
> 
> or
> 
> get shell("start tabtip.exe")
> yields "The file "tabtip.exe" could not be found."
> 
> 
> Double checked the paths but all this fails, though start tabtip.exe 
> definitely works from
> the Windows command shell in contrast to
> start C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe.
> 
> So, how do others show the on screen keyboard on Windows 8 tablets from
> LiveCode standalones? Any insights appreciated.
> 
> 
> Ralf


___
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter

> On 01.09.2015, at 05:44, Kay C Lan  wrote:
> 
> 6) Boilerplates. If you type 'if' or 'repeat' you are offered up an
> autocomplete. For some reason 'switch' is not included but then again in my
> TE I had to manually add the if and repeat boilerplates, Atom comes with
> these pre-installed. So all I have to do is add a couple of switch
> 'snippets' - the term Atom uses for boilerplates.


Hi Kay,

actually there is a snippet for "switch", so
typing "s", "sw", "swi" etc. followed by a tab
should work, really. Then a placeholder for the
switch expression is selected. Subsequent
tabs select the first case value, the related
line of code and the placeholder for the
"default" code .


Ralf

___
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter

You are right, I use custom packages, mainly to keep
revIgniter stuff separat from LiveCode server syntax.
But I disabled my packages, enabled the one provided
by Peter Brett, restarted Atom and the snippet was there.

So, assuming you use the latest version (0.5.1) I am at a loss.

Ralf


> On 01.09.2015, at 15:18, Kay C Lan  wrote:
> 
>> 
>> 
>> actually there is a snippet for "switch", so
>> typing "s", "sw", "swi" etc. followed by a tab
>> should work, really.
>> 
> 
> Sorry Ralf, not seeing it. I thought maybe it was a bit slow, but 'if' and
> 'repeat' come up quite quickly. I know how they work and I get nothing.
> Maybe you manually entered yours and have forgotten about it. If you go to
> your snippet pane and 'switch' is there then it means you've manually
> entered it - if and repeat are not there because they must be part of the
> language package.


___
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter

> On 01.09.2015, at 15:44, Roger Eller  wrote:
> 
> I just typed swi (tab) and it gave me:
>switch switchExpression
>  case caseValue
># code...
>  break
>  default
>  # code...
>end switch
> 
> Colorization is not working though.


Did you install and enable the revIgniter theme?

Ralf

___
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter

> On 01.09.2015, at 16:08, Roger Eller  wrote:
> 
> On Tue, Sep 1, 2015 at 9:58 AM, Roger Eller 
> wrote:
> 
>> On Tue, Sep 1, 2015 at 9:51 AM, Ralf Bitter  wrote:
>> 
>>> 
>>>> On 01.09.2015, at 15:44, Roger Eller 
>>> wrote:
>>>> 
>>>> Colorization is not working though.
>>> 
>>> 
>>> Did you install and enable the revIgniter theme?
>>> 
>>> Ralf
>>> 
>> 
>> 
>> No.  Where do I get it?
>> 
> 
> I have downloaded the zip of v0.1.2, but it's not obvious to me how to
> install a theme.


Hi Roger

no separate download needed. You can install themes (and packages)
within Atom in the "Install" section of the preferences.


Ralf

___
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-01 Thread Ralf Bitter

> On 01.09.2015, at 19:02, Roger Eller  wrote:
> 
> On Tue, Sep 1, 2015 at 10:24 AM, Ralf Bitter  wrote:
> 
>> 
>>>>> Did you install and enable the revIgniter theme?
>>>>> 
>>>>> Ralf
>>>>> 
>>>> 
>>>> No.  Where do I get it?
>>>> 
>>> 
>>> I have downloaded the zip of v0.1.2, but it's not obvious to me how to
>>> install a theme.
>> 
>> 
>> Hi Roger
>> 
>> no separate download needed. You can install themes (and packages)
>> within Atom in the "Install" section of the preferences.
>> 
>> 
>> Ralf
>> 
>> 
> Well that was easy!  But it still isn't colorizing.


Assuming you did choose the revIgniter theme from
the "Syntax Theme" dropdown in the "Themes" section
of the preferences I have no clue what's going on.

Ralf

___
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-03 Thread Ralf Bitter

> On 03.09.2015, at 02:06, Kay C Lan  wrote:
> 
> Ralf,
> 
> you say you restarted Atom and the snippet was there: Where? There are two
> locations for snippets in Atom as far as I'm aware:
> 
> 1) Atom menu -> Open Your Snippets
>This is empty for me because I haven't added any snippets... yet.
> 
> 2) Packages menu -> Snippets -> Available
>Of the ones listed I have:
> 
>legal
>lorem
>module
>library
>widget
>if
>ife
>repeat
>handler
> 
> The inclusion of the 'handler' snippet suggests it's very much LiveCode
> orientated and I'm assuming part of the Language-Livecode/revigniter-syntax
> combination. But again, no 'switch' to be found.


Kay, if you see legal, lorem, module etc. this means that you
have chosen the "LiveCode Builder" syntax. In this case you
are right, there is no "switch" snippet.
In case you would like to write code for LiveCode server
you should choose "iRev". Then there is "switch" and lots of
other snippets.

Warm regards

Ralf

___
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: Cool stuff with Atom

2015-09-17 Thread Ralf Bitter
Superb, thanks Monte!

Ralf


___
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


CEF browser of LiveCode 6.7 dp4 and video playback

2014-07-07 Thread Ralf Bitter

Just to make sure that it is not my fault: Can anybody
confirm that videos embedded using HTML5 syntax
do not play in the new CEF browser?

Tested a really simple HTML5 page including just
one video emebedded using the  tag. This
video plays fine in Chrome but not in the CEF browser
of LiveCode 6.7 dp4, neither on Mac nor on Windows.

Ralf

___
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: CEF browser of LiveCode 6.7 dp4 and video playback

2014-07-08 Thread Ralf Bitter

Hey Ralf,

just use the right codec. Although Chrome plays
H264, the CEF browser does not.
Use ogg or webm instead.


Ralf

PS: Did I already mention that the performance of the
CEF browser of LiveCode 6.7 dp4 on Mac seems to
be pretty poor?


On 07.07.2014, at 19:41, Ralf Bitter  wrote:

> Just to make sure that it is not my fault: Can anybody
> confirm that videos embedded using HTML5 syntax
> do not play in the new CEF browser?
> 
> Tested a really simple HTML5 page including just
> one video emebedded using the  tag. This
> video plays fine in Chrome but not in the CEF browser
> of LiveCode 6.7 dp4, neither on Mac nor on Windows.
> 
> Ralf


___
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


CEF browser - how to allow cross origin requests using the file:// protocol?

2014-07-11 Thread Ralf Bitter

As you might know the new CEF browser doesn't support
access to local files (file://) using XMLHttpRequest.
Of course, JSONP would be a solution but not in my
special case.

I need to display local Keynote presentations (exported to HTML).
Keynote uses JSONP in case the protocol is file://. So, this
works with CEF. But there is one problem:
There is an annoying flicker on slide transitions. Same problem
with Chrome, this is nothing special with CEF in LiveCode and this
does not depend on the kind of transition.

Now, if you use a server and http://, Keynote uses Ajax and transitions
work fine. This means I need to remove the JSONP option and
tell the CEF browser somehow to allow cross origin requests
using the file:// protocol. With Chrome this can be achieved by using
a -–allow-file-access-from-files command line switch.

Does anybody know how to set this flag for the CEF browser
in LiveCode?


Ralf 
___
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: CEF browser - how to allow cross origin requests using the file:// protocol?

2014-07-11 Thread Ralf Bitter

Hi Mark,

many thanks for your reply. The need to change the engine was
what I was afraid of. This would mean, that I am at a loss as
I hate to launch another application to display the presentations.


Ralf


On 11.07.2014, at 14:59, Mark Wilcox  wrote:

> I had a very quick look at the code and I don't think it can be done
> without a change to the engine. One way to do it would be to implement:
> CefApp::OnBeforeCommandLineProcessing()
> 
> In revbrowser/src/cefbrowser.cpp
> 
> It could be a fixed command line argument that is added if no-one is
> concerned about the security implications, otherwise some new command in
> LiveCode that lets you add to this argument list before you create a new
> browser object. The second option would obviously be much more flexible.
> 
> -- 
>  Mark Wilcox
>  m...@sorcery-ltd.co.uk


___
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: Is someone using Coda 2 with syntax highlighting for livecode server scripts?

2014-09-11 Thread Ralf Bitter

Peter,

code colorization (as well as code completion) is implemented solely for
server related parts of the language because the bundle is meant to be used
for working with LiveCode server files.
So, if you add " wrote:

> I created a simple text file with a .rev extension, then cut and pasted a
> script into it from LC.  Saved the file, then opened it with TextMate.
> 
> I can tell it's recognized as an LC script because things like com-tab,
> func-tab,repeat-tab do what they're supposed to do.  Also the
> collapse/expansion of code blocks works fine.  But still no colorization.
> 
> Maybe there's more work involved to get it working with the desktop.
> 
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 


___
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: on-rev Client

2014-10-14 Thread Ralf Bitter
Same here.

Ralf


On 14.10.2014, at 06:49, Paul Hibbert  wrote:

>> http://newsletters.livecode.com/august/issue177/newsletter2.html
> 
> It was reported in the newsletter 177 that the On-Rev Client was working 
> again, I tested it at the time and managed to log on successfully, but now I 
> can't, has anybody else had similar problems?
> 
> I can logon to the cPanel OK, so I know my username and password are correct, 
> but the On-Rev Client tells me they are wrong.
> 
> I know there's a lot of opposition to this software and it has been a 
> frustrating experience using it then not being able to for so long. I did 
> find it useful at times so I was pleased to see it back again, but has it 
> crapped out again so soon?
> 
> I'll file a bug report if it's not just me that's having problems.
> 
> Paul


___
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: [ANN] mergExt Updates for iOS 8.1 and mergNotify 2

2014-10-23 Thread Ralf Bitter
That was quick. Thanks very much Monte!

Ralf


> On 23.10.2014, at 09:12, Monte Goulding  wrote:
> 
> Hi LiveCoders
> 
> Today I am releasing updates for all the mergExt externals to add iOS 8.1 
> support. This will bean you can build with LiveCode 6.6.5 against Xcode 6.1. 
> 
> I am also realising a major update to mergNotify to support OS X. The 
> external not supports posting NSNotifications (note these are not the 
> user/push notifications supported in the engine). The main reason we would 
> want to do this is on OS X where we can post and observe notifications using 
> the distributed notification center. This means you can have multiple apps on 
> the one machine and post notifications that the others might observe. A 
> notification is just a named event that you might be interested to know about.
> 
> Please note that there is currently a known bug in LiveCode 6.7 that impacts 
> the performance of the external on OS X on Yosemite.
> 
> 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


[ANN] revIgniter v1.3.18b

2011-05-08 Thread Ralf Bitter

revIgniter v1.3.18b has been released.

Since the announcement of version 1.3.10b in September 2010
I kept silent to avoid augmented noise on this list.
Now I thought it may be time again and appropriate to remind
those interested in revIgniter that the framework is still alive and
continually improved.

So, here are the news:

revIgniter version 1.3.18b includes modifications of the Captcha
library, the Formvalidation library and the sitelinks plugin.
This means that the Captcha library now provides two flavors
of captchas, the rigRequiredR form validation rule accounts
for prefilled form fields, there are three new form validation
rules and the sitelinks plugin now additionally enables you to
use images instead of text for your navigation links.
Furthermore there are two bug fixes. Model file names are
no longer restricted to lowercase letters. Email message IDs
are now generated correctly.

Info and download as always at: http://www.revigniter.com/


Ralf

___
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


[ANN] revIgniter v1.3.21b

2011-05-15 Thread Ralf Bitter

revIgniter v1.3.21b has been released.

This version includes a minor modification of the Output library.

If you ever asked yourself what the Hooks feature of revIgniter
could be used for, you might be interested in an addition to the
Hooks section of the User Guide which describes how to use
this feature to make revIgniter automatically minify output just
before it is displayed.

As the Quartam PDF Library recently went opensource I thought this
is a good opportunity to add an example to the Creating Libraries
section of the User Guide which describes how to integrate a custom
library, in this case the Quartam PDF Library, into revIgniter.


Ralf

___
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: [ANN] AndreGarzia.Com new web page.

2011-07-10 Thread Ralf Bitter

Andre,

… nice design, great content.

Ralf



On 10.07.2011, at 06:05, Andre Garzia wrote:

> Hello Folks,
> 
> It is full of joy and pride that I announce my website redesign here. Those
> that accessed my home page recently knew that it was not being updated
> often, actually, it was not being updated at all. I always wanted to
> recreate everything with LiveCode and now I've did it. I started yesterday,
> Friday and after a little more than 24h I've got a brand new website. This
> is a testimonial of how easy it is to build web stuff with the new LiveCode
> Server.
> 
> This new page will serve as a hub for all my new developments and I plan to
> release many many many things during the next days and weeks. I welcome
> feedback and comments.
> 
> http://andregarzia.com
> 
> =)
> 
> 
> For those that want to know, this homepage is driven with LiveCode Server.
> It uses RevIgniter Framework. It uses no database at all, the pages are all
> text files with HTML and special syntax in it. Keeping it simple allowed me
> to deliver a full website in less than 24h. The site is easy to extend and
> change. Since I am the developer and the user, I don't need an
> administration interface, I can create pages by simply dropping plain text
> files in the correct place and tweek things by editing special files.
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.


___
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


[ANN] revIgniter v1.4b

2011-07-19 Thread Ralf Bitter

revIgniter v1.4b has been released.

This is the first version which respects the latest
engine changes (LiveCode server version 4.6.3).
Lots of adjustments were made and the whole
Encrypt library is revised.

Keep in mind that this version is not compatible with
revServer (engine versions before LiveCode server 4.6.3).

Info and download at: http://www.revigniter.com/



Ralf


___
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: [ANN] revIgniter v1.4b

2011-07-19 Thread Ralf Bitter

Agreed . . .


On 19.07.2011, at 17:11, Andre Garzia wrote:

> Ralf,
> 
> For now I think its better to have two links, one for 1.4 and one for
> 1.3.latest because people on On-Rev will not transition to the new engine
> for a while and there are a lot of guys out there using RevServer. I think
> it is better to offer both branches while the engine is in pre-release.
> 
> :-)
> 
> Cheers
> andre
> 


___
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: [ANN] revIgniter v1.4b

2011-07-19 Thread Ralf Bitter

Pierre, thanks very much for the kind words.


On 19.07.2011, at 23:58, Pierre Sahores wrote:

> Thank you for your outstanding and major contribution to the LC-server 
> frameworks main tools, Ralf ! 
> 
> All the best,
> 





___
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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Ralf Bitter
Hi Keith,

every addon domain needs it's own revIgniter installation.
So, the revIgniter files go into public_html/yourAddonDomain.

Hope this helps.

Ralf



On 14.08.2011, at 16:01, Keith Clarke wrote:

> Hi folks,
> When using revIgniter for on-rev, across multiple addon domains, where should 
> the revIgniter files be installed? The revIgniter installation instructions 
> state, at lines:
> 
> '2. Upload the revIgniter folders and files to your server. Normally the 
> index.irev file will be at your root.'
> 
> '3. Open the application/config/config.irev file with a text editor and set 
> your base URL.
> 
> The latter seems to imply a per-site implementation, so it seems that the 
> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. So, 
> do the revIgniter files go into the addon domain's docroot or webroot 
> (public_html/)?
> Best,
> Keith.. 
> ___
> 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: Using revIgniter with on-rev and multiple sites/domains

2011-08-14 Thread Ralf Bitter
Keith,

to use the latest version (1.4b) of revIgniter with the
latest version of the server engine on On-Rev you
currently need to change the extensions of all files to .lc
(sorry for the inconvenience).
Note: This applies to revIgniter installations on On-Rev only.

The next revIgniter version will include the .lc extension.


Ralf



On 14.08.2011, at 21:52, Keith Clarke wrote:

> ...great, thanks Ralf - for the clarification and for creating and sharing 
> the fantastic revIgniter resource.
> 
> BTW are there any additional setup steps needed for work with LiveCode Server 
> and .lc files rather revServer .irev environment - for example, does 
> index.irev change to index.lc?
> Best,
> Keith..
> 
> On 14 Aug 2011, at 20:12, Ralf Bitter wrote:
> 
>> Hi Keith,
>> 
>> every addon domain needs it's own revIgniter installation.
>> So, the revIgniter files go into public_html/yourAddonDomain.
>> 
>> Hope this helps.
>> 
>> Ralf
>> 
>> 
>> 
>> On 14.08.2011, at 16:01, Keith Clarke wrote:
>> 
>>> Hi folks,
>>> When using revIgniter for on-rev, across multiple addon domains, where 
>>> should the revIgniter files be installed? The revIgniter installation 
>>> instructions state, at lines:
>>> 
>>> '2. Upload the revIgniter folders and files to your server. Normally the 
>>> index.irev file will be at your root.'
>>> 
>>> '3. Open the application/config/config.irev file with a text editor and set 
>>> your base URL.
>>> 
>>> The latter seems to imply a per-site implementation, so it seems that the 
>>> 'root' cited in line 2 does not mean the docroot of mydom...@on-rev.com. 
>>> So, do the revIgniter files go into the addon domain's docroot or webroot 
>>> (public_html/)?
>>> Best,
>>> Keith.. 
>>> 


___
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


[livecodeServer] new header error

2011-08-15 Thread Ralf Bitter

Hello,

please, could anybody confirm that "put new header"
is broken with the latest version of the server engine?

I get a "can't find handler (header)" error. 

"put header" still works, though.


Ralf

___
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: [livecodeServer] new header error

2011-08-17 Thread Ralf Bitter

Anyone . . . ?


Ralf


On 15.08.2011, at 13:35, Ralf Bitter wrote:

> 
> Hello,
> 
> please, could anybody confirm that "put new header"
> is broken with the latest version of the server engine?
> 
> I get a "can't find handler (header)" error. 
> 
> "put header" still works, though.
> 
> 
> Ralf


___
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: [livecodeServer] new header error

2011-08-17 Thread Ralf Bitter

Pierre,

thank you, I really should learn to read change histories
from bottom up.


Ralf



On 17.08.2011, at 12:27, Pierre Sahores wrote:

> 
> Le 17 août 2011 à 12:17, Ralf Bitter a écrit :
> 
>> 
>> Anyone . . . ?
> 
> From the 4_6_4_dp_2-Server release Notes: 
> http://www.runrev.com/downloads/livecode/4_6_4/LiveCodeNotes-4_6_4_dp_2-Server.pdf
>  (page 15) :
> 
> 4.6.4-dp-2 (2011-08-16) MM Fixed bug with put new header.
> 
> Should it works now ?
>> 
>> 
>> Ralf
>> 
>> 
>> On 15.08.2011, at 13:35, Ralf Bitter wrote:
>> 
>>> 
>>> Hello,
>>> 
>>> please, could anybody confirm that "put new header"
>>> is broken with the latest version of the server engine?
>>> 
>>> I get a "can't find handler (header)" error. 
>>> 
>>> "put header" still works, though.
>>> 
>>> 
>>> Ralf
>> 
>> 
>> ___
>> 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
> 
> --
> Pierre Sahores
> mobile : 06 03 95 77 70
> www.sahores-conseil.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


LiveCode server: incorrect path environment variables on Lion

2011-10-26 Thread Ralf Bitter

Hi all,

can anybody confirm that LiveCode server 4.6.3 up to 5.0 has
incorrect path environment variables?

I did tests and compared server version 4.6.3, 4.6.4 and 5.0
with reserver (LiveCode server prior version 4.6.3).

The results using files at
http://192.168.178.38/~rabit/servervars.lc/test/ and
http://192.168.178.38/~rabit/servervars.irev/test/ respectively are:

LiveCode server (incorrect)
PATH_TRANSLATED: /Users/rabit/Sites/servervars.lc/test/
PATH_INFO: /~rabit/servervars.lc/test/

revserver (correct)
PATH_TRANSLATED: /Users/rabit/Sites/servervars.irev
PATH_INFO: /test/



Thanks for any info in advance

Ralf

___
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: LiveCode server: incorrect path environment variables on Lion

2011-10-26 Thread Ralf Bitter
Thanks Stephen but, as stated in the subject, I am solely
interested in what is going on on Mac OS Lion. I should have
mentioned that in the mail body too, sorry for the confusion.

So, has anybody installed LiveCode server on Lion and checked
$_SERVER["PATH_TRANSLATED"] and $_SERVER["PATH_INFO"]?

Thanks

Ralf

On 26.10.2011, at 19:42, stephen barncard wrote:

> These vars work on my linux version Livecode server 5.0 installed at
> Dreamhost.
> 
> On 26 October 2011 09:03, Ralf Bitter  wrote:
> 
>> 
>> Hi all,
>> 
>> can anybody confirm that LiveCode server 4.6.3 up to 5.0 has
>> incorrect path environment variables?
>> 
>> I did tests and compared server version 4.6.3, 4.6.4 and 5.0
>> with reserver (LiveCode server prior version 4.6.3).
>> 
>> The results using files at
>> http://192.168.178.38/~rabit/servervars.lc/test/ and
>> http://192.168.178.38/~rabit/servervars.irev/test/ respectively are:
>> 
>> LiveCode server (incorrect)
>> PATH_TRANSLATED: /Users/rabit/Sites/servervars.lc/test/
>> PATH_INFO: /~rabit/servervars.lc/test/
>> 
>> revserver (correct)
>> PATH_TRANSLATED: /Users/rabit/Sites/servervars.irev
>> PATH_INFO: /test/
>> 
>> 
>> 
>> Thanks for any info in advance
>> 
>> Ralf
>> 
>> ___
>> 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
>> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  <http://www.google.com/profiles/sbarncar>
> ___
> 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: Linode + Livecode + Virtualmin

2012-02-08 Thread Ralf Bitter
Andre,

thanks for taking the time.
Your explanations are very interesting and helpful. 

Ralf

___
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: New browser

2014-04-03 Thread Ralf Bitter

Hi Jacqueline,

in case you mean the ability to call a LiveCode
handler from within the browser using the new
"revBrowserAddJavaScriptHandler" command and
not the other way round (like using "revBrowserExecuteScript")
my finding is that this works as expected.

As an aside I noticed that on Mac the performance
of JavaScript animations, which are pretty smooth
using the current revBrowser external, is extremely bad.
Hope this will change.

Apart from that I am really happy with
the move to a modern browser component.

Ralf



On 02.04.2014, at 04:43, J. Landman Gay  wrote:

> Has anyone tried the JavaScript interaction with the new browser yet? Someone 
> has asked me if it works.
> 
> -- 
> 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


Re: DataGrids with no UI

2012-09-28 Thread Ralf Bitter

Hi Robert,

this sounds quite interesting. May i volunteer to
test your stack in a revIgniter environment?


Ralf


On 28.09.2012, at 03:24, Robert Mann  wrote:

> Hi all! I take the occasion to inform the list that I shall make available a
> new data structure that i called dbStack. It is a stack that uses arrays in
> custom properties, on cards, to store any kind of data. But it keeps the
> analogy of stack/cards/fields. The basic idea I followed was that fields are
> "doubled" by arrays in custom props, so that "physical" fields can be turned
> off or on. There is a simple API to add, modify delete output data and
> produce various kinds of arrays to work with datas.
> 
> The main target is to use on revserver as data stacks for the many sites
> that do not need a full dbase and that need more a hierarchical database
> than a full relational one. On of the advantage is you can edit the stack
> off line and dump it online. So it's a good companion for simple dynamic
> websites where it is handy to have just a bit more than files but not to
> bother about an sql dbase. it's also handy to be able to store & retrieve
> directly arrays.
> 
> My main use if for a simple hierarchical database with navigation data
> (fathers, sons.; etc..), to store original datas and pre-complied html pages
> of websites and find a good balance between dynamic and static html. So it
> is coupled with a special home made ftp html editor.
> 
> I found out it is also a very handy data storage for programming when it is
> used as a dbase substack.
> 
> I do not know yet if I will give it to the community of add it to the list
> of commercial plugins, it'll depend on how much time it takes to polish
> document etc... But i'll welcome any encouragement! is anybody interested???
> Robert
> 


___
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


Performance issues with animations in iOS standalones built with version 5.5.2

2012-09-28 Thread Ralf Bitter

I am experiencing choppy animation using AnimationEngine 5
in iOS standalones built with version 5.5.2. If I build using
LiveCode version 5.5.1 and exactly the same stack, animations
are smooth.

So there must have something changed affecting object animation.
Could this be related to the reworked internal structure of the
engine? Did anybody notice similar behavior?


Ralf

___
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


iOS: Setting defaultFolder seems to be broken - missing project folders in app package

2012-12-03 Thread Ralf Bitter

Whenever I build an iOS standalone with LiveCode 5.5.3 (Build 1497) all project
folders are missing in the app package, so for example referenced images are not
included. Furthermore I noticed that setting the defaultFolder strangely 
doesn't work
anymore with iOS builds. This applies to simulator tests too.

It only happens if I start a project from scratch. If I use older LiveCode files
created with previous versions of LiveCode all works as expected.

Anyone encountered similar behavior and has a recipe?


Ralf
___
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: iOS: Setting defaultFolder seems to be broken - missing project folders in app package

2012-12-04 Thread Ralf Bitter


Just to clarify:

setting the defaultFolder seemingly not working relates
to the fact that folders are not copied to the app package.
Of course, setting the defaultFolder to a nonexistent folder
does nothing.

So, the question is what could be the reason for missing
folders in iOS standalones?

Ralf



On 04.12.2012, at 01:39, Ralf Bitter  wrote:

> 
> Whenever I build an iOS standalone with LiveCode 5.5.3 (Build 1497) all 
> project
> folders are missing in the app package, so for example referenced images are 
> not
> included. Furthermore I noticed that setting the defaultFolder strangely 
> doesn't work
> anymore with iOS builds. This applies to simulator tests too.
> 
> It only happens if I start a project from scratch. If I use older LiveCode 
> files
> created with previous versions of LiveCode all works as expected.
> 
> Anyone encountered similar behavior and has a recipe?
> 
> 
> Ralf
> 


___
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: [CODE] cool elapsed function

2012-12-18 Thread Ralf Bitter

Hi Jacqueline,

may I invite you to check out the rigTimespan() function
in the date helper of revIgniter?
You would have to comment out the line "get rigLangLoadLang("date")"
and to replace all calls to rigLangLangLine() with whatever time labeling
you need.

Ralf



On 18.12.2012, at 03:55, J. Landman Gay  wrote:

> On 12/17/12 10:46 AM, Andre Garzia wrote:
> 
>> the function is called elapsed and you can use it to figure out if a
>> certain amount of time passed between two timestamps.
> 
> I'd like a function that returns years, months, and days elapsed. I wrote a 
> quick one that gets the number of days and divides by 30 to get months and 
> days but it isn't very accurate. Since it's just for me I haven't gone back 
> to fix it. Anyone have one already written?
> 
> 


___
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: revIgniter - how to instal

2013-01-31 Thread Ralf Bitter

Hi Paolo,

it seems that you are using MacOS server. If this is the case
I am sorry. There is a bug (9869) in LiveCode Server confirmed by RunRev.
LiveCode server versions 4.6.3 up to 5.0.2 have two incorrect path environment
variables on Lion and Mountain Lion. These variables are:

$_SERVER["PATH_TRANSLATED"] and $_SERVER["PATH_INFO"].

As revIgniter is heavily dependent on path variables this means that
there is no way to run revIgniter using the said OS / server versions.

I reported this bug in November 2011. In September 27, 2012 I got the
following response from the RunRev QCC:

"your bug report has been addressed and the issue you raised is fixed.
We fixed this bug in release: 5.5.3-rc-1."

Unfortunately the fixed version is still waiting to be released.


Ralf



On 31.01.2013, at 15:16, paolo mazza  wrote:

> Hi all,
> I just installed revIgniter Version 1.5.19b .
> I installed revIgniter on the root of our web server, I set up the
> config.lc file accordingly,  and I was able to open the file index.lc
> 
> Following documentation, I created a file ...
> 
> http://myserver.local/system/application/controllers/blog.lc
> 
> but when I tried to open the URL
> 
> http://myserver.local/index.lc/blog/
> 
> I got this answer:
> 
> file "/Library/WebServer/Documents/index.lc"
>  row 123, col 1: include: could not find file
> (/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog)
> 
> 
> Any idea what is wrong with my installation? All the best.
> 
> Paolo
> 


___
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


Recipe to play WMV on Win 7 with QuickTime installed

2013-03-22 Thread Ralf Bitter

Does anyone have a recipe on how to play WMV videos on Windows
systems with QuickTime installed?

For the live of me I don't get decent playback performance
using HD 720p H.264 QuickTime mov files on Windows (Win 7 in this
case). The stuttering is just unacceptable. MP4 AVC files play
even worse. All my test movies play fine in the QuickTime player
for Windows but not in a stack. Setting the player's "alwaysBuffer"
to false makes no difference.

So, I tried the same test video (same resolution, approximately the
same frame rate) as WMV2 and voilà, the performance is much better,
but there is another problem:
If QuickTime is installed the card's player object stays empty and
start player "myVideo" does nothing, at least in the IDE, even if
the stack includes nothing more than the player. And yes, "dontUseQT"
is set to true before any player or movie related action.

The only way I managed to make the video appear at all means was,
strange enough, to drag any object from the tools palette onto the
card containing the player while the property inspector was visible.
Of course this is no solution but it tells me that there must be a
way to force the player to show the source and therefore to start
playing a WMV in an environment I described above.
By the way, to do without QuickTime is no option as in my case I
need QuickTime to be installed. On the other hand, as I explained,
it seems that I am forced to choose .wmv over .mov.

Any suggestions? Anyone?


Ralf
___
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: how to play WMV videos on Windows

2013-03-23 Thread Ralf Bitter

Hi Claude,

thanks for the feedback. Tried what you suggested. Using revBrowser
and a Flash player HD 720p H.264 QuickTime mov files play fine even
the MP4 AVC ones. So, this means that I don't anymore need to find
out how to to play WMV on Windows systems with QuickTime installed.
Nonetheless it seemingly turns out that the player object is pretty
useless on Windows with QuickTime installed when it comes to playing
video, at least when there is a demand for decent quality.
Hopefully this will change in the near future.

Thanks again

Ralf


On 23.03.2013, at 11:16, Claude Lemmel  wrote:

> Le 22/03/2013 18:00, use-livecode-requ...@lists.runrev.com a écrit :
>> Does anyone have a recipe on how to play WMV videos on Windows
>> systems with QuickTime installed?
> 
> After a lot of struggle, i just play video on Windows in the revBrowser !
> 
> I create on fly a html file with a flash player.
> 
> It can seems crazy to load both a html browser and flash to play a video, but 
> it works very well...
> 
> Claude
> 


___
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: how to play WMV videos on Windows

2013-03-23 Thread Ralf Bitter

Thanks Colin. Actually I asked for a recipe on how to play WMV videos
on Windows systems with QuickTime installed because of bad playback
performance of HD quality QuickTime movies. So, if WMV would have worked
using WMV would have been sort of a compromise. Claude's suggestion is
a solution, so I can happily set WMV aside as all my footage is MP4 AVC
anyway. Should have asked for a recipe on how to play high quality video
on windows with QuickTime installed.

Anyhow, I find the player object pretty frustrating and one should not
have to use Flash and revBrowser for a simple thing like playing video.


Thanks

Ralf


On 23.03.2013, at 13:53, Colin Holgate  wrote:

> Flash can play FLV and any kind of H.264 file, but it doesn't play WMV. I'm 
> assuming the question was more about how to play WMV, and not how to play 
> video in general.
> 
> Also, you would be more likely to use Flash as the solution for systems that 
> don't have QuickTime, and here the question was about systems that do have 
> QuickTime.
> 
> Ironically, on Mac there wouldn't be a problem, you would use Flip4Mac to 
> allow WMV to play using QuickTime, but that seems to not be possible with 
> Windows.
> 
> Still, using revBrowser might still solve the basic need, assuming that it's 
> possible to play WMV in a browser.
> 
> I tried this page:
> 
> http://archive.org/details/Windows7WildlifeSampleVideo
> 
> and the WMV file you can try does a download and play in the Video 
> application, and doesn't play in IE on Windows. So maybe it's not possible?
> 
> 
> 
> On Mar 23, 2013, at 6:16 AM, Claude Lemmel  wrote:
> 
>>> After a lot of struggle, i just play video on Windows in the revBrowser !
>> 
>>> I create on fly a html file with a flash player.
>> 
>>> It can seems crazy to load both a html browser and flash to play a video, 
>>> but it works very well...
> 


___
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: how to play WMV videos on Windows

2013-03-23 Thread Ralf Bitter

Thanks, Klaus. Indeed, it doesn't help, but good to know anyway.

In the end, as a precaution, I will refuse any job in case video
is involved (iOS excluded).


Ralf



On 23.03.2013, at 17:14, Klaus on-rev  wrote:

> Hi Ralf,
> 
> Am 23.03.2013 um 16:46 schrieb Ralf Bitter :
> 
>> 
>> Thanks Colin. Actually I asked for a recipe on how to play WMV videos
>> on Windows systems with QuickTime installed because of bad playback
>> performance of HD quality QuickTime movies. So, if WMV would have worked
>> using WMV would have been sort of a compromise. Claude's suggestion is
>> a solution, so I can happily set WMV aside as all my footage is MP4 AVC
>> anyway. Should have asked for a recipe on how to play high quality video
>> on windows with QuickTime installed.
>> 
>> Anyhow, I find the player object pretty frustrating and one should not
>> have to use Flash and revBrowser for a simple thing like playing video.
> 
> this won't help, but even on a Mac the QuickTime player object is rather 
> disappointing!
> 
> Play a 640*360pixel video fullscreen (on a 24" monitor at 1920*1200) with 
> QuickTime Player and you get very smooth playback, do same in Livecode
> and you get choppy playback, no fun!
> 
>> Thanks
>> 
>> Ralf
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.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


Re: how to play WMV videos on Windows

2013-03-23 Thread Ralf Bitter

Hi Jacqueline,

the problem is that I have some interactive QuickTime movies which need
dontUseQT set to false but as soon as dontUseQT is set to false there seems
to be no way to play WMV files even if you set dontUseQT to true (of course
before any player or movie related action).


Ralf


On 23.03.2013, at 19:09, J. Landman Gay  wrote:

> On 3/23/13 10:46 AM, Ralf Bitter wrote:
> 
>> Anyhow, I find the player object pretty frustrating and one should not
>> have to use Flash and revBrowser for a simple thing like playing video.
> 
> I thought LiveCode would use the native Windows API if dontUseQT was set to 
> true. I think you have to do that on startup, because otherwise the app will 
> load QT early in the startup process. I haven't ever had to do that but it is 
> worth a try.
> 
> In the IDE you can turn off "Load QuickTime on startup" in the General pane 
> in preferences while you're testing.
> 
> -- 
> 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


Re: RevIgniter & current on-rev LiveCode server version

2013-05-18 Thread Ralf Bitter

Hi Keith,

the bug mentioned in the user guide applies only to
installations on Lion and Mountain Lion. It is
fixed in LiveCode Server release: 6.0.0-rc-1 though.

This means, revIgniter should work on on-rev.com without
flaws. I would try to start with a clean root folder
without any Apache directives in .htaccess. Then all
you have to do (really) is to copy the files and folders
included to server root. Check your installation using
an URL like "yourSite.on-rev.com/index.lc".

Best

Ralf


On 18.05.2013, at 11:07, Keith Clarke  
wrote:

> Hi folks,
> Can any revIgniter expert please advise whether the current version of 
> LiveCode Server installed on pancake.on-rev.com is compatible with 
> revIgniter? 
> 
> I've installed but getting 404 errors on the index.lc page under revIgniter 
> and the user guide's troubleshooting section mentions a bug in some LiveCode 
> Server versions. 
> 
> I don't see any LiveCode server info in CPanel and can't find any 
> documentation on how to check the server version from a .lc file. 
> 
> Is there a statement similar to that used to check PHP parameters -  like 
> 'put server version' ?
> Best,
> Keith.. 


___
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: RevIgniter & current on-rev LiveCode server version

2013-05-19 Thread Ralf Bitter

Hi Keith,

seems that yesterday my response didn't go through,
so here it is again:

The bug mentioned in the user guide applies only to
installations on Lion and Mountain Lion. It is
fixed in LiveCode Server release: 6.0.0-rc-1.

This means, revIgniter should work on on-rev.com without
flaws. I would try to start with a clean root folder
without any Apache directives in .htaccess. Then all
you have to do (really) is to copy the files and folders
included to server root. Check your installation using
an URL like "yourSite.on-rev.com/index.lc".

Best

Ralf



On 18.05.2013, at 11:07, Keith Clarke  
wrote:

> Hi folks,
> Can any revIgniter expert please advise whether the current version of 
> LiveCode Server installed on pancake.on-rev.com is compatible with 
> revIgniter? 
> 
> I've installed but getting 404 errors on the index.lc page under revIgniter 
> and the user guide's troubleshooting section mentions a bug in some LiveCode 
> Server versions. 
> 
> I don't see any LiveCode server info in CPanel and can't find any 
> documentation on how to check the server version from a .lc file. 
> 
> Is there a statement similar to that used to check PHP parameters -  like 
> 'put server version' ?
> Best,
> Keith.. 


___
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: RevIgniter & current on-rev LiveCode server version

2013-05-19 Thread Ralf Bitter

On 19.05.2013, at 16:51, Keith Clarke  
wrote:

> Thanks for resending, Ralf - though I did see your original yesterday(?!?) 
> 
> Following your advice, I've been able to access revIgniter from 
> myName.on-rev.com/index.lc by installing the contents of the zip file into my 
> docroot myname.on-rev.com.
> 
> For this, I had to edit index.lc as follow:
> system = /home/myName/revIgniter/system
> application - /home/myName/revIgniter/system/application



If you don't move or rename any of these folders there is
no need to modify index.lc. The location of these folders
are relative to the directory where your index.lc is located
independent of how deep your revIgniter folder is nested.



> 
> This is great but I want to use revIgniter from a sub-folder of one of my 
> add-on domains and I'm getting 404 errors at URL URL 
> http://myDomain.com/myFolder/index.lc which resolves to folder 
> /home/myName.on-rev.com/public_html/myDomain/myFolder 
> 
> I'm not sure if this is a problem with path definitions in the index.lc file 
> in the sub-domain folder (currently the same as above) and/or access 
> permissions. 
> 
> Maybe I need a .htaccess file or something on my subdomain to be able to 
> access revIgniter folders / files 'above' the add-on domain's web root 'up' 
> to my account's docroot.
> 
> Any ideas gratefully received.
> Best,
> Keith..




In this case all you have to do (really) is to define the "Base Site URL"
in your configuration file like:

put "http://myDomain.com/myFolder/"; into gConfig["baseUrl"]

It is at the top of the configuration file in 
system/application/config/config.lc

Check your installation using an URL like:

http://myDomain.com/myFolder/index.lc


The next thing to do is to get rid of the need to include "index.lc" in your 
URIs.
This is explained in detail in the user guide.


Best

Ralf





> 
> On 19 May 2013, at 15:34, Ralf Bitter  wrote:
> 
>> 
>> Hi Keith,
>> 
>> seems that yesterday my response didn't go through,
>> so here it is again:
>> 
>> The bug mentioned in the user guide applies only to
>> installations on Lion and Mountain Lion. It is
>> fixed in LiveCode Server release: 6.0.0-rc-1.
>> 
>> This means, revIgniter should work on on-rev.com without
>> flaws. I would try to start with a clean root folder
>> without any Apache directives in .htaccess. Then all
>> you have to do (really) is to copy the files and folders
>> included to server root. Check your installation using
>> an URL like "yourSite.on-rev.com/index.lc".
>> 
>> Best
>> 
>> Ralf
>> 
>> 
>> 
>> On 18.05.2013, at 11:07, Keith Clarke  
>> wrote:
>> 
>>> Hi folks,
>>> Can any revIgniter expert please advise whether the current version of 
>>> LiveCode Server installed on pancake.on-rev.com is compatible with 
>>> revIgniter? 
>>> 
>>> I've installed but getting 404 errors on the index.lc page under revIgniter 
>>> and the user guide's troubleshooting section mentions a bug in some 
>>> LiveCode Server versions. 
>>> 
>>> I don't see any LiveCode server info in CPanel and can't find any 
>>> documentation on how to check the server version from a .lc file. 
>>> 
>>> Is there a statement similar to that used to check PHP parameters -  like 
>>> 'put server version' ?
>>> Best,
>>> Keith.. 
>> 
>> 


___
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: Odin down ?

2013-05-27 Thread Ralf Bitter

According to Pingdom the last outage was
on May 18 with a downtime of about 14 hours.


Ralf


On 27.05.2013, at 11:23, Robert Mann  wrote:

> Again! monday 27th... trouble to get via Interachy
> cannot identify my on-rev server on odin, no ip found.
> It did work all right last week ! is it me or?
> 


___
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: RELEASE: LiveCode 6.0.2

2013-06-05 Thread Ralf Bitter

On 04.06.2013, at 22:49, Matthias Rebbe  
wrote:

> Hi Ben,
> 
> when will LC Server 6.02 commercial be released?
> 
> Regards,
> 
> Matthias
> 


This is definitely a reasonable question because:

The community version of LiveCode server prevents
using protected stacks.

The current commercial version is 5.0.2.
So, I, too, would like to know when the latest (6.0.2)
version of the server engine will be available
for those who have a commercial license.


Ralf


___
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: RELEASE: LiveCode 6.0.2

2013-06-05 Thread Ralf Bitter

5.0.2 is the current commercial version of the server engine.
At least this is what I get at the store having an active
commercial license.


Ralf

On 05.06.2013, at 15:18, Richmond  wrote:

>> This is definitely a reasonable question because:
>> 
>> The community version of LiveCode server prevents
>> using protected stacks.
>> 
>> The current commercial version is 5.0.2.
> 
> That's odd, I thought it was 5.5.5?
> 
> Or maybe that is only for the non-Server version.


___
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: LC Community - Script Limits

2013-06-11 Thread Ralf Bitter

Checked the community edition of LiveCode server (6.0.2)
and can not confirm that there are no script limits. The
limits are still 10,10,50,10.
Given the statement of Mark Wieder I am confused.


Ralf



On 11.06.2013, at 01:56, Kay C Lan  wrote:

> To Richard Gaskin,
> 
> I'm posting in this public domain as there are clearly far more new LC
> users visitng the List and so I felt it appropriate to hilight your
> excellent article on the Message Path:
> 
> http://www.fourthworld.com/embassy/articles/revolution_message_path.html
> 
> Considering Mark Weider's recent revelation that script limits are gone, I
> was wondering if you would be updating the article to reflect the current
> state of affairs.
> 
> Thanks
> 
> On Thu, May 2, 2013 at 8:17 AM, Mark Wieder  wrote:
> 
>> 
>> No. There are no script limits and the limits on the number of frontscripts
>> etc have also been removed.




___
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


Database connection fails using community server 6.0.2

2013-06-13 Thread Ralf Bitter

Has anyone been able to connect successfully
to a MySQL / PostgreSQL database using the
community edition of LiveCode server 6.0.2?

Replaced version 6.0.0-rc-1 with the community
version. Since then I am unable to establish a
database connection. (Permissions are correct)


Ralf

___
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: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2

2013-06-27 Thread Ralf Bitter
May be I am missing something but I think Rick asked
how to get the commercial server version 6.1.0 and
this is what I would like to know too.

(There is no entry for server  at http://downloads.livecode.com/livecode/6_1_0/)


Ralf


On 28.06.2013, at 00:04, J. Landman Gay  wrote:

> On 6/27/13 4:11 PM, Rick Harrison wrote:
>> Hi again,
>> 
>> That is the community edition link.
>> I need the commercial one!
>> 
>> So how do I get it?
> 
> Remove the "server" portion of the URL:
> 
> http://downloads.livecode.com/livecode/6_1_0/


___
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: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2

2013-06-27 Thread Ralf Bitter

Does this mean that the ability to use protected stacks covers 0.01% of server 
use cases?


Ralf

On 28.06.2013, at 00:51, Monte Goulding  wrote:

> 
> On 28/06/2013, at 8:36 AM, Ralf Bitter wrote:
> 
>> May be I am missing something but I think Rick asked
>> how to get the commercial server version 6.1.0 and
>> this is what I would like to know too.
>> 
>> (There is no entry for server  at 
>> http://downloads.livecode.com/livecode/6_1_0/)
> 
> It could be that commercial server is not yet integrated into the automated 
> build process... could be a lower priority because 99.99% of server use cases 
> will be covered by community...
> 


___
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: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2

2013-06-28 Thread Ralf Bitter

Didn't you at the least forget sockets?

Ralf


On 28.06.2013, at 01:07, stephen barncard  
wrote:

> There isn't much more functionality the server needs except some of the image
> manipulation commands 


___
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: File uploading to on-rev.com account with revIgniter

2013-07-18 Thread Ralf Bitter

Hi Dave,

did a test on "odin" and the upload worked as expected.
On which server is your revIgniter installation?
Can you tell which version of ImageMagick is installed?

By the way, I just found a typo in the User Guide:

put 1024 into tConfig["MaxWidht"]

But the sample script should work anyway.


Ralf


On 18.07.2013, at 09:12, Dave Kilroy  wrote:

> Hello all, I'm hoping someone can help out with file uploading... 
> 
> I'm trying to use the File Uploading Library in revIgniter and have gone 
> through the sample exercise in Ralf's userguide 
> (http://revigniter.com/userGuide/libraries/file_uploading.html). 
> 
> If I look on the server I can see that a file actually does get uploaded but 
> the form chokes part-way and never reaches the "uploadSuccessView" view. 
> 
> rigUploadData() never gives a value for image height and gives an error 
> message for image width (see below). Actually, when calling the "Upload" 
> library I can't use any value except zero (unlimited) for image max width and 
> max height. 
> 
> ImageSizeStr: height="" width="identify: error while loading shared 
> libraries: libc.so.6: failed to map segment from shared object: Cannot 
> allocate memory " 
> 
> It's version 1.6.3 of revIgniter, I'm using textMate and Trasmit on a MBP 
> running Lion, testing with Firefox & Safari 
> 
> Anyone got idea what is going on? 
> 
> Dave


___
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: File uploading to on-rev.com account with revIgniter

2013-07-18 Thread Ralf Bitter

On 18.07.2013, at 15:47, Dave Kilroy  wrote:

> But how do you install it? I've had a good poke around www.imagemagick.org 
> and used Google a lot - and it looks like to install with cPanel I'll need to 
> use shell (if I understand correctly) which I don't have access to - so I'm 
> wondering if I have to ask someone from RunRev to install it on my account?


I would recommend to send a request to support.

> 
> And once it's installed how do I load and call it from within revIgniter? Or 
> will it 'just work' in the background without needing specific 
> loading/calling?
> 


Using the upload library you don't have to deal with imageMagick at all.
The library does all relevant shell calls regarding imageMagick.


Ralf
___
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


mergExt Kickstarter Reward to give away for free

2013-07-30 Thread Ralf Bitter

The subject says it. I would like to pass my
mergExt Kickstarter Reward on to someone else
for free.

So, those who are seriously interested in mergExt,
an indispensable tool if you develop for iOS,
may let me know by sending me a private email
to rbprivate (at) mac.com.

Ralf

___
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: mergExt Kickstarter Reward to give away for free

2013-07-30 Thread Ralf Bitter

Sorry, the game is over. The mergExt license has a new owner.

Best

Ralf


On 30.07.2013, at 16:06, Ralf Bitter  wrote:

> 
> The subject says it. I would like to pass my
> mergExt Kickstarter Reward on to someone else
> for free.
> 
> So, those who are seriously interested in mergExt,
> an indispensable tool if you develop for iOS,
> may let me know by sending me a private email
> to rbprivate (at) mac.com.
> 
> Ralf
> 
> ___
> 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


Another Animation Engine license to give away for free

2013-07-30 Thread Ralf Bitter

Those who are interested may let me know by sending me
a private email to rbprivate (at) mac.com.


Ralf

___
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: Another Animation Engine license to give away for free

2013-07-30 Thread Ralf Bitter
Donated.

Ralf


On 30.07.2013, at 16:49, Ralf Bitter  wrote:

> 
> Those who are interested may let me know by sending me
> a private email to rbprivate (at) mac.com.
> 
> 
> Ralf
> 


___
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


mergDocCanOpen opens iOS sharing menu

2020-05-12 Thread Ralf Bitter via use-livecode
Seems there is an issue with mergDocCanOpen(). Whenever this function
is called the iOS sharing menu shows up for a short moment at the top
of the screen. I am running LC 9.6.0 (rc1) and iOS SDK 13.2. The particular
script including this function worked fine in earlier versions.

Does anybody have a recipe to avoid this undesirable behavior?

Ralf

___
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: mergDocCanOpen opens iOS sharing menu

2020-05-13 Thread Ralf Bitter via use-livecode
Hi Monte,

thanks very much for taking the time to respond.


Ralf



> On 13. May 2020, at 00:42, Monte Goulding via use-livecode 
>  wrote:
> 
> Hi Ralf
> 
> It might be that `mergDocCanOpen` needs to be deprecated as it relied on a 
> hack and Apple must have changed the behavior. Checking the result after 
> `mergDocShow*` commands will still report if the document interaction 
> controller was able to be shown for the document.
> 
> Cheers
> 
> Monte
> 
>> On 13 May 2020, at 4:07 am, Ralf Bitter via use-livecode 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> 
>> Seems there is an issue with mergDocCanOpen(). Whenever this function
>> is called the iOS sharing menu shows up for a short moment at the top
>> of the screen. I am running LC 9.6.0 (rc1) and iOS SDK 13.2. The particular
>> script including this function worked fine in earlier versions.
>> 
>> Does anybody have a recipe to avoid this undesirable behavior?
>> 
>> Ralf


___
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: Trying to use the Segmented Control

2020-12-02 Thread Ralf Bitter via use-livecode

Hi Roland,

I have a LCB widget I used as a replacement
for the segmented control. My "segmented control"
actually consists of a group of button widgets,
but it seems it comes close to what you are looking for.

See: https://github.com/revig/universal-button-widget


Ralf


On 30.11.20 12:05, R.H. via use-livecode wrote:

Basically, I think, it is a nice widget.

--- But sometimes, I would like to show text with icons together, or each
icon in a different color. Possible?

--- Then I would like to import whatever icon or image and individually set
its size, and margins individually. I like to have access to the details of
each segment and it's look and feel. Even each segment's rect and other
details should be modifiable. I would like to be able to define the size
and the color of each object's border and dividing lines. The only way
around is scripting lines or whatever to be used as an overlay -- which is
a kludge. But is it possible using LCB to address individual parts and
define a more detail-grained API?

--- Messages: I do not understand why not standard mouse messages would
work here and are not supported.  Other messages than just "hilitedChange"
should be detected. But it would be important, in my opinion, to allow each
and every graphical widget to detect mouseWithin, mouseMove, mouseDown,
mouseUp, mouseEnter, mouseLeave, etc.

Is there anybody working on such widgets and updating them to newer
versions? Is there a version history for each widget?

The documentary of the widget (widgets) in the Dictionary could be enhanced
with a first date of appearance and dates of new versions as well as
enhancement requests or planned enhancements? I assume the author is
LiveCode Ltd.?

Roland
___
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: Trying to use the Segmented Control

2020-12-03 Thread Ralf Bitter via use-livecode

Hi Roland,

I added a custom property "multipleHighlights" to the
widgets group (segmented control) of the demo stack
and modified the behavior script, so that the functionality
is on par with the segmented control widget.

See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1

Ralf


On 03.12.20 18:35, R.H. via use-livecode wrote:

@ Ralf

Hi Ralf

Your link and what I can see looks very promising. I will certainly try
this out.

Thanks a lot. At first glance, it looks very professional. I guess it is
... )))

Roland


___
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: Trying to use the Segmented Control

2020-12-04 Thread Ralf Bitter via use-livecode

Bernd thanks, at some point I just wanted to do away with
the shortcomings of the segmented control. Though modifying
the segmented control might have been a better approach.

Ralf


On 04.12.20 10:32, Niggemann, Bernd via use-livecode wrote:

Ralf Bitter wrote
See:https://github.com/revig/universal-button-widget/releases/tag/1.0.1


Thank you Ralf for this brilliant widget.

Kind regards
Bernd


___
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: Trying to use the Segmented Control

2020-12-11 Thread Ralf Bitter via use-livecode



Roland thanks, did what you proposed,
means I added two check boxes to toggle
the properties of the button group.

And please don't forget to send me your
button bar.

Ralf


On 10.12.20 23:30, R.H. via use-livecode wrote:

@ Ralf Bitter

Dear Ralf, I downloaded your segmented control from:
https://github.com/revig/universal-button-widget/releases/tag/1.0.1

and I installed the widget using the Extension Manager in the IDE.

It looks very nice. Exactly what allows control and even change the
behavior. First time users should know that the custom properties (as
described by you) are custom properties of the group "menuBtnGrp". For a
first time, two visible switches would probably allow users to just test
without having to look under the hood.

Since I must build such button groups dynamically (users can add or remove
modules which then appear put on the navigation bar that is constiung of
such "buttons") I will just need to script this a bit in more detail.

I also wrote my own bar using a table field where I mimic the hiliting and
hover (mouseover) effect when moving the mouse over lines or using arrow
keys (up and down. It looks like a button bar when using an image source
for a first character. But it does not work for SVG as far as I know. And
it only works for vertical "bars". On the other hand, it is very easy to
dynamically create and remove lines. Actually, I track the mousemove and
detect the line number and then place a transparent graphic over the
selected line. This gives more control than using the built-in hilited
property.  If someone is interested, I can send...

So, thanks a lot to you for providing this, and I am sure I will have fun
using it...

Roland


___
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: Checking a received header for LC Server or revIgniter>

2020-12-17 Thread Ralf Bitter via use-livecode


Hi David,

if you go the revIgniter route use rigGetHTTPheader("myCustomHeader"),
otherwise you can use $_SERVER["HTTP_myCustomHeader"].


Ralf


On 17.12.20 00:35, David Bovill via use-livecode wrote:

I’m looking to check for received custom headers on a Livecode + revIgniter 
based server. I know how to set headers, and on the desktop Id use 
libURLLastRHHeaders - but what is the best way to do this on the server?


___
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: Checking a received header for LC Server or revIgniter>

2020-12-18 Thread Ralf Bitter via use-livecode

Accidentally I sent the following message to David directly, maybe
it is helpful for others too:

If you go the revIgniter route use rigGetHTTPheader("myCustomHeader"),
otherwise you can use $_SERVER["HTTP_myCustomHeader"].


Ralf


On 17.12.20 00:35, David Bovill via use-livecode wrote:

I’m looking to check for received custom headers on a Livecode + revIgniter 
based server. I know how to set headers, and on the desktop Id use 
libURLLastRHHeaders - but what is the best way to do this on the server?


___
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: Trying to use the Segmented Control

2021-01-21 Thread Ralf Bitter via use-livecode

Thank you, I'm glad to see that
there is someone who finds use
for the widget.


Ralf


On 20.01.21 22:33, J. Landman Gay via use-livecode wrote:

On 12/4/20 3:32 AM, Niggemann, Bernd via use-livecode wrote:

Ralf Bitter wrote



See: https://github.com/revig/universal-button-widget/releases/tag/1.0.1



Thank you Ralf for this brilliant widget.

Kind regards
Bernd


I finally had a chance to look at this widget. Thank you Ralf for your 
generous contribution, this is very useful!


___
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: Call lc from php?

2021-01-24 Thread Ralf Bitter via use-livecode

Hi Richard,

I agree to your comments, especially to
the first paragraph ;)

Joking aside, regarding CMS, CRS, LMS etc.,
I was thinking about developing a CMS based on
revIgniter for quite some time, just for the sake
of increasing the diversity, but stayed away from
doing it because, if done right, it is such a huge
task and because it would not pay my bills.

Todd Fabacher once started to develop a revIgniter
based CMS but I have no idea if it was ever released.


Ralf

On 23.01.21 21:02, Richard Gaskin via use-livecode wrote:
revIgniter* is a wonderful framework, and one of most well-managed open 
source projects in our community.  Ralf has delivered a faithful 
re-envisioning of the popular WebIgniter framework for PHP, with some 
very savvy twists that make it a joy for LiveCode scripters.


But WebIgniter is far from PHP's only server framework, and I'd guess 
Ralf would agree that as valuable as revIgniter is, it isn't the only 
possible solution for every conceivable type of web site, app, or service.


Reproducing many well-established PHP packages in LC is more possible 
with frameworks like revIgniter than without.


But if the PHP package is sophisticated enough it'll be a lot of work.

And in many cases we're asked to extend systems we have no control over.

There are many good reasons to pursue integration with existing services 
rather than replacing the entire service from scratch.



With my interest in Nextcloud as a backend, for example, I could save a 
lot of time using revIgniter to build out self-signup. user permissions 
groups, password reset, WebDAV support, OAuth in both directions, 
headless REST, even federation, and an admin UI to manage it all. But 
with Nextcloud I get all that with one Snap command, so I can jump right 
into the client-side functionality which is my main interest on this 
project.


Similarly, some of my work these days has me integrating LC apps with 
popular CRMs - the good CRMs are very expensive to produce and not 
easily replicated, even with a great framework like revIgniter.



Like anything else in development, it's just another case of choosing 
the best tool for the task at hand.


For a wide range of projects, revIgniter is a perfect choice.

And when you need to integrate LC with an existing PHP system, we can do 
that too.




* For those of you who haven't seen Ralf's recent work on the revIgniter 
site, in addition to offering truly exemplary documentation I also 
appreciate the little touches he puts in, like the SVG intro animation 
for the top banner:

https://revigniter.com/

--
  Richard Gaskin
  Fourth World Systems


___
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


[ANN] New version of the "universal button" widget

2021-08-19 Thread Ralf Bitter via use-livecode

There is a new version of the "universal button" widget
which can be used as a replacement for the
segmented control widget.

There was an issue with round corners and wide borders
which was fixed by Bernd Niggemann, thanks Bernd.

Furthermore spacing between icon, text and border
has been optimized.

This release can be downloaded here:
https://github.com/revig/universal-button-widget/releases


Ralf

___
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: Server directory of a running script

2021-11-12 Thread Ralf Bitter via use-livecode

You might try $_SERVER["PATH_TRANSLATED"]


Ralf



On 12.11.21 10:59, jbv via use-livecode wrote:

Hi list,
Is there a way to get the full path of the server directory/subdirectory 
in which an LC script is running, from within the script itself while it 
is running ?

I have a Livecode Hosting account and I need to get something like :
"/home/myAccount/public_html/myDirectory/mySubDirectory/"

Thank you in advance.
jbv



___
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: Would anyone miss convertOctals?

2022-06-09 Thread Ralf Bitter via use-livecode



On 09.06.22 14:44, Mark Waddingham via use-livecode wrote:
So I'm currently sitting here about to embark on fixing 
 (which is the final 
thing to sort out before being able to merge my constant expression 
patch) and I was reminded of 'convertOctals'.


Now, generally, I am somewhat averse to actually removing any language 
feature (even those we have deprecated, unless we absolutely have to!) - 
however, I would really like to make convertOctals have no effect at all 
in 10.0+ as it adds a disproportionate amount of complexity compared to 
(what I think, at least) its utility is (particularly in the context of 
things 'coming next' like the script compiler).


So three questions:

   1) Do you know what convertOctals is, and what it does?


Yes




   2) If you do, have you ever actually used it in any scripts which are 
actually still in use?


Yes, revIgniter uses "convertOctals" and "umask" dealing with access 
permissions of files and folders.




   3) If you do use it in any scripts which are still in use, would you 
be willing to change them to not use it?


Sure, I would exchange them with carrots.



   4) If you do use/have used it, had you ever noticed that it has been 
slightly broken for years?


I have to admit, no.



Now, its always better to offer a carrot when there is a stick (or in 
this case, an axe) being wielded and the carrot in this case would be to 
expand the numeric literal syntax to add both explicit octal and binary 
number literals alongside hexadecimal:


     0xabcdef - hex literal
     0o777 - octal literal
     0b101110101

The key difference between 0o777 and using 0777 (with convertOctals 
true) is that the former is not ambiguous at parse time, it doesn't 
require a runtime property set to true in order for the engine to 
convert the string to a number correctly.


Please let me know your thoughts :)

Warmest Regards,

Mark.

P.S. In the scheme of 'breaking changes' - we've already made a number 
of them for 10 already, and my gut tells me removing convertOctals is 
likely to cause less consternation than those we already have - but I 
could be wrong!




Ralf


___
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


[ANN] Universal Button version 1.1.0

2022-06-15 Thread Ralf Bitter via use-livecode

There is a new version of the "universal button" widget
which can be used as a replacement for the
segmented control widget.

The widget icon can now be placed independently of the
label and the size of the icon can be customized.

This release can be downloaded here:
https://github.com/revig/universal-button-widget/releases


Ralf

___
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


[ANN] Universal Button version 1.1.1

2022-06-16 Thread Ralf Bitter via use-livecode

There is a new version of the "universal button" widget.

Fixed the compatibility loss with buttons created with
previous widget versions. Sorry if this caused problems.


This release can be downloaded here:
https://github.com/revig/universal-button-widget/releases


Ralf

___
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


[ANN] Universal Button 1.2.0

2022-06-17 Thread Ralf Bitter via use-livecode



At the risk of getting on your nerves, but there is another
new version of the "universal button" widget.

Added text alignment controls and a horizontal margin
ratio slider in the "Text" section.
You have now better control over text and icon placement
in case icon gravity is set to "left" or "right".


This release can be downloaded here:
https://github.com/revig/universal-button-widget/releases


Ralf

___
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: [ANN] Universal Button 1.2.0

2022-06-19 Thread Ralf Bitter via use-livecode

Thank you, Mike.


On 19.06.22 15:17, Mike Kerner via use-livecode wrote:

I, for one, appreciate these sorts of messages.

On Fri, Jun 17, 2022 at 8:43 AM Ralf Bitter via use-livecode <
use-livecode@lists.runrev.com> wrote:



At the risk of getting on your nerves, but there is another
new version of the "universal button" widget.

Added text alignment controls and a horizontal margin
ratio slider in the "Text" section.
You have now better control over text and icon placement
in case icon gravity is set to "left" or "right".


This release can be downloaded here:
https://github.com/revig/universal-button-widget/releases


Ralf



___
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: arrayencode

2022-06-23 Thread Ralf Bitter via use-livecode

Hi Alex,

the JSONtoArray() function is part of the mergJSON external.
The README of this external describes how to use this function
and it's counterpart JSONtoArray as follows:


This external has been implemented to encode/decode UTF8 JSON to a LiveCode 
array as quickly as possible. Currently externals can not work with 
multi-dimensional LiveCode arrays so the intention is it is used with two 
functions like this:

-- pArray - array to be encoded
-- pForceRootType - can force the root to be an object if it looks like 
an array
-- pPretty - include whitespace
function ArrayToJSON pArray,pForceRootType,pPretty
   repeat for each key tKey in pArray
  if pArray[tKey] is an array then
 put "}"&ArrayToJSON(pArray[tKey]) into pArray[tKey]
  end if
   end repeat
   return(mergJSONEncode("pArray",pForceRootType,pPretty))
end ArrayToJSON

function JSONToArray pJSON
   local tArray,tKeys
   repeat for each line tKey in mergJSONDecode(pJSON,"tArray")
  put JSONToArray(tArray[tKey]) into tArray[tKey]
   end repeat
   return tArray
end JSONToArray

For most cases the above is all the documentaion you will need. There are 
however some quirks to the external you might need to know about.



Another option would be to load the JSON extension and to use
the JsonImport() function.


Ralf



On 23.06.22 01:31, Alex Tweedly via use-livecode wrote:


On 22/06/2022 17:02, Richard Gaskin via use-livecode wrote:

[ ... about using JSON ... ]
But if you don't need interoperability, you wouldn't need to write a 
parser, since LC includes a good one built into the engine.


What did I miss?


The fact that Livecode's support for JSON is, hmmm, mediocre at best ??

The parser "built-in" seems to work fine in the IDE, but not on the 
server :




fails with -

file "/home/alextwee/public_html/rampuk/tJSON.lc"
   row 7, col 5: Function: error in function handler (JSONtoarray)
   row 7, col 5: put: error in expression

(there's no mention of any platform restricitons in the dictionary).

I tried copying in the sample ode for wrapping JSONToArray around 
mergJSONDecode,

which then fails with "error in function handler mergJSONDecode.


(I must admit I encountered this a while ago, figured it was probably a 
temporary issue
so I replaced JSON by LSON, and forgot all about it.) This discussion 
prompted me to re-try it.


I can't believe this problem isn't causing widespread problems, so it's 
probably
something specific about me, or my on-rev account. If anyone has 
suggestions, I'll

try them; if not, I'll put it as a bug report into QCC see what happens.

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: arrayencode

2022-06-23 Thread Ralf Bitter via use-livecode



On 23.06.22 14:23, Alex Tweedly via use-livecode wrote:


On 23/06/2022 10:31, Ralf Bitter via use-livecode wrote:

Hi Alex,

the JSONtoArray() function is part of the mergJSON external.
The README of this external describes how to use this function
and it's counterpart JSONtoArray as follows:

Thanks Ralf. I did see that code in the dictionary - but it also says 
that those functions are provided in 
thews.goulding.script-library.mergjson library, so (I think) I shouldn't 
need to put them in myself.


In fact, I did try it anyway - but that simply changes the error to 
"handler not found: mergJSONDecode"



Hi Alex, have you added the mergJSON External to your server 
installation? I have just tested this again, actually it should work.

My LC Server version is 9.6.6.





Another option would be to load the JSON extension and to use
the JsonImport() function.

Didn't know about jsonImport; it's not mentioned in the dictionary, but 
I now see it shows up in a few lessons, etc.


However,I think the real problem for me is "... to load the JSON 
extension ...". I wasn't aware I had to load those extensions which are 
already part of the standard package (maybe I did that years ago and 
have had time to forget :-).


I can't find anything about loading extensions other than what to do in 
the IDE.


How do you load extensions to LC Server ?  On a shared web provider ? 
(on-rev)


You guessed it, use "load extension", example (tested on on-rev):

load extension from file 
"/home/rabit/public_html/ritest/application/extensions/com.livecode.library.json/module.lcm"



Ralf




Thanks,
Alex



Ralf



On 23.06.22 01:31, Alex Tweedly via use-livecode wrote:


On 22/06/2022 17:02, Richard Gaskin via use-livecode wrote:

[ ... about using JSON ... ]
But if you don't need interoperability, you wouldn't need to write a 
parser, since LC includes a good one built into the engine.


What did I miss?


The fact that Livecode's support for JSON is, hmmm, mediocre at best ??

The parser "built-in" seems to work fine in the IDE, but not on the 
server :




fails with -

file "/home/alextwee/public_html/rampuk/tJSON.lc"
   row 7, col 5: Function: error in function handler (JSONtoarray)
   row 7, col 5: put: error in expression

(there's no mention of any platform restricitons in the dictionary).

I tried copying in the sample ode for wrapping JSONToArray around 
mergJSONDecode,

which then fails with "error in function handler mergJSONDecode.


(I must admit I encountered this a while ago, figured it was probably 
a temporary issue
so I replaced JSON by LSON, and forgot all about it.) This discussion 
prompted me to re-try it.


I can't believe this problem isn't causing widespread problems, so 
it's probably
something specific about me, or my on-rev account. If anyone has 
suggestions, I'll

try them; if not, I'll put it as a bug report into QCC see what happens.

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


Crash on launching LC server version > 9.6.7 using terminal

2022-12-07 Thread Ralf Bitter via use-livecode

Hi all,

have any of you ever experienced that a version of LC Server
newer than 9.6.7 crashes on launching using hashbangs?
This is the case for me on a MacBook Pro M1 running
macOS Monterey 12.6.

I suspect this is related to incorrect code signing, as the
crash report shows that the kernel sends the exception
"Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))".

Unsigned LC versions (LC server version < 9.6.8) are not affected.

It would be nice if someone had a recipe to solve the issue.


Ralf

___
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: Crash on launching LC server version > 9.6.7 using terminal

2022-12-08 Thread Ralf Bitter via use-livecode

Hi Mark,

thanks very much for taking the time. I made a note
of your comment at the time but did not catch stam's
subsequent comments (regarding the codesignature of
server dylib files).

Your instructions helped partially, as launching
LC server from the terminal did not crash the executable,
but using hashbangs still killed LC server. I will apply
the cp/rm/mv dance to all included dylib files and will
report if that solves the problem.


Ralf


On 08.12.2022 17:59, Mark Waddingham via use-livecode wrote:

Hi Ralf,


have any of you ever experienced that a version of LC Server
newer than 9.6.7 crashes on launching using hashbangs?
This is the case for me on a MacBook Pro M1 running
macOS Monterey 12.6.


Oh! I thought it was something that had changed in recent macOS Monterey 
versions, rather than something we had changed on our end... Intriguing...



I suspect this is related to incorrect code signing, as the
crash report shows that the kernel sends the exception
"Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))".

Unsigned LC versions (LC server version < 9.6.8) are not affected.

It would be nice if someone had a recipe to solve the issue.


See this forum post for details of how to resolve:

https://forums.livecode.com/viewtopic.php?f=9&t=37437

Warmest Regards,

Mark.




___
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: Crash on launching LC server version > 9.6.7 using terminal

2022-12-09 Thread Ralf Bitter via use-livecode

Hi all,

Applying Mark's advice to all included dylib files,
in addition to the server executable, solved the problem.


Ralf


On 08.12.2022 17:59, Mark Waddingham via use-livecode wrote:

Hi Ralf,


have any of you ever experienced that a version of LC Server
newer than 9.6.7 crashes on launching using hashbangs?
This is the case for me on a MacBook Pro M1 running
macOS Monterey 12.6.


Oh! I thought it was something that had changed in recent macOS Monterey 
versions, rather than something we had changed on our end... Intriguing...



I suspect this is related to incorrect code signing, as the
crash report shows that the kernel sends the exception
"Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))".

Unsigned LC versions (LC server version < 9.6.8) are not affected.

It would be nice if someone had a recipe to solve the issue.


See this forum post for details of how to resolve:

https://forums.livecode.com/viewtopic.php?f=9&t=37437

Warmest Regards,

Mark.



___
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: Sad news about Brahmanathaswami

2022-12-25 Thread Ralf Bitter via use-livecode

I am very sorry to read this. We had worked together
on and off for almost 10 years.
I never met him in person, but I think I can say that
we got along well.

Brahmanathaswami, wherever you are, I will keep you
in my memory.


Ralf


On 25.12.2022 18:00, Andre Garzia via use-livecode wrote:

Dear LiveCoders,

Many of you here remember Sannyasin Brahmanathaswami (some of you met him as 
Sannyasin Sivakatirswami many years ago). Swami has always been a champion for 
LiveCode and together with other other monks in Kaua’i Hindu Monastery built 
what is probably the largest LiveCode-backed website available on the net. He’s 
been a constant fixture here on the list for many years and many here been at 
some time or another worked with him on various projects. I’m sad to say that 
Brahmanathaswami passed away this week on Hawaii. His life has been full of joy 
among his beloved monks in a paradise Island full of love and sunshine.

I’ve worked with him there on and off for the best part of maybe 18 years 
(we’re not exactly sure when I started), he’s been a great friend and together 
we built many wondrous things with LiveCode. I’ll forever cherish those years, 
and I hope you all remember him fondly today as well.

Kind regards
Andre



___
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: Training the AI to write better LiveCode

2023-01-21 Thread Ralf Bitter via use-livecode



Richard, thanks very much, you certainly hit the nail.


Ralf



On 20.01.2023 20:22, Richard Gaskin via use-livecode wrote:

If ChatGPT can write script, it can write machine code.

If it can write machine code, scripting is unnecessary.

If scripting goes, so goes scripting tools.

So before we donate much time to providing index fodder for the owners 
of ChatGPT, we might ask whether this is an investment we want to make, 
or perhaps at least ask for compensation for having provided the data 
that makes ChatGPT valuable for its owners.




___
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: LC Server and forcing page refreshes

2023-05-30 Thread Ralf Bitter via use-livecode

Hi Tim,

how about adding a query string in the form of a timestamp to the 
member’s URL like:


?foo=1685433742125


Ralf


On 30.05.2023 02:32, Tim Selander via use-livecode wrote:

Once again find myself over my head in just a simple programming project.

I made a little club members directory website, using LC server on 
on-rev's hosting site.


Members can edit their info. I use a form, with the action going to an 
LC script. This script gets all the post data, shuffles it off to the 
database, and then goes back to the member's page using a re-direct:


  

where vlink has the member's URL.

My Problem: If folk update their photos, their browser cache still shows 
the old picture -- logically leading them to think the update failed.


The photos are simply stored on the server, the database only stores the 
path of the file. The photo file shown on the member's page with an 
image tag.


Can any of the gurus here tell me how to get the page to ignore the 
cache so the browser shows the new photo?


Many thanks.

Tim Selander
Tokyo, Japan




___
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: Encoding in LC server - the final piece of the puzzle

2023-09-16 Thread Ralf Bitter via use-livecode

Neville, did you try:

put header "Content-Type: text/html; charset=" & quote & "UTF-8" & quote

before sending the output to the client?


Ralf


On 16.09.2023 03:11, Neville Smythe via use-livecode wrote:

With the help of forum readers  I have textEncode/Decode working in LC Server 
so that I can handle file names with ute-8 encoding and talking to mysql in 
tongues.

But now I want to produce html documents including Chinese characters encoded with utf-8, 
using LC Server to output an .lc file to publish on the web. I had naively thought that 
putting in the “” header at the top would do it, but no, LC 
Server apparently serves up html with charset=ISO-8859-1 (the native encoding) declared by 
default, and that overrides the header in the .lc file. The encoding declared was checked 
using "Rex Swains HTTP Viewer”. I am reasonably confident the actual content of the 
file is correct utf-8, since the Chinese glyphs are rendered as garbage ISO-Latin 
characters not as 

The next step was adding a line such as

AddCharset UTF-8 .lc

to .htaccess. No help. I note that other web pages on the server are created by 
WordPress, and they have the charset=utf-8 declared.

I presume I am ignorant of some environment setting which controls what 
HTTPHeader is declared in the output from LCServer? The obvious choice “the 
HTTPHeaders” but that is not the answer it seems.

[I know I can get individual unicode characters to render using html escapes such 
as &x2304; even when the  page is declared with a non-unicode encoding, but 
that is not a viable solution here.]

Neville Smythe


___
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: Encoding in LC server - the final piece of the puzzle

2023-09-17 Thread Ralf Bitter via use-livecode

Neville, you need to send the header
before outputting anything else.
So, this means your LC server script
should send the header and then the HTML data.


Ralf



On 17.09.2023 01:56, Neville Smythe via use-livecode wrote:


Ralf wrote

did you try:

put header "Content-Type: text/html; charset=" & quote & "UTF-8" & quote

before sending the output to the client?



That sounds exactly like the incantation I needed.

But I can’t get it to work.

The first 3 lines of my webPage.lc  file are





(Not sure that 3rd line is necessary with HTML5, but presumably it couldn’t 
hurt)

The header suggested just seems to be ignored when LC Server sends the output 
to Apache.  (Tried it with “put new header…” too after I found some 
documentation for the magic spell.)

The default setting for Apache on Dreamhost is naturally the native encoding 
ISO-8859-1.(Is there any way to override that with htaccess, since all my 
WordPress pages are served as utf-8 already?)

Neville Smythe




___
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: Universal buttons: bugs or feature

2023-10-15 Thread Ralf Bitter via use-livecode

Neither, it is quite simply sloppiness. Sorry for that,
will look into it.


Ralf


On 15.10.2023 21:23, Mark Smith via use-livecode wrote:

Are these differences in the Universal button deliberate features or bugs? If 
features, why so?



___
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: Universal buttons: bugs or feature

2023-10-18 Thread Ralf Bitter via use-livecode

These issues are fixed in the latest release version 1.4.0.


Ralf



On 15.10.2023 21:23, Mark Smith via use-livecode wrote:

Hello all,

Recently I decided to try out a number of different button styles to see which ones 
I liked best, and I ran across some odd behaviour with “Universal” buttons. First, 
there does not appear to be any style difference between an enabled universal button 
and a disabled one. With all other button styles there is a noticeable difference 
between the enabled and disabled versions. More importantly (perhaps) with all other 
button types if you depress the mouse over the button then move the mouse off the 
button and release it it does not fire the button. With universal buttons if you 
move a depressed mouse off the button and then release it the button fires. And this 
behaviour does not appear to conform to Apple’s user interface guidelines "The 
mousedown event is fired at an Element when a pointing device button is pressed 
while the pointer is inside the element.”

Are these differences in the Universal button deliberate features or bugs? If 
features, why so?

Thanks
Mark



___
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: LiveCode server as OAuth2 client for APIs?

2023-12-06 Thread Ralf Bitter via use-livecode

Hi Keith,

using revIgniter you can always hard code the opening
form tag, this way you can use any URL as an action
attribute.

However, your message has prompted me to change the
rigFormOpen() function so that you can override the
current URL with the value of an optional action
attribute included in the second parameter.
So, if you like, you can download the modified
version of the form helper at:

https://github.com/revig/revigniter/blob/develop/system/helpers/formHelper.livecodescript


Ralf



On 06.12.2023 11:00, Keith Clarke via use-livecode wrote:

Hi folks,
Does anyone have experience of using OAuth2 with LiveCode server, to log into 
third-party data sources for API access?
  
I am experimenting with a web based utility app that runs on LiveCode server & RevIgniter and I need to be able to log into a Salesforce.com  account to pull data into the app via APIs. I’m following the Salesforce Oauth 2.0 Web Server Flow for Web App Integration https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_web_server_flow.htm&type=5 and


I’ve configured the LiveCode app as a connected app in a Salesforce developer 
instance, to create a consumer id, with which I can request an authorisation 
code. This requires a POST to a Salesforce endpoint, which, if successful 
redirects to a page on the Salesforce authorisation server to provide login 
credentials. This is where I’m stuck...

The LiveCode OAuth2 library seems to be desktop centric (expecting any 
redirects via the loopback IP address of 127.0.0.1, rather than a URL); the 
RevIgniter forms library seems to support posts to URLs within the LiveCode app 
but not third party URLs; and if I create a LiveCode file to ‘post data to URL 
tSalesforceAuthURL’ from within RevIgniter, I can’t see any option to follow 
redirects and so, unsurprisingly, the page URL doesn’t change.

Any advice greatly appreciated.
Best,
Keith
___


___
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: LiveCode server as OAuth2 client for APIs?

2023-12-08 Thread Ralf Bitter via use-livecode

Hi Keith,

to avoid creating too much noise here, let's continue
the conversation on the revIgniter mailing list. You'll find my
answer there.


Ralf



On 07.12.2023 18:01, Keith Clarke via use-livecode wrote:

Hi Ralf,
Thanks for the guidance and updated formHelper script - and apologies to folks 
not using LiveCode Server or RevIgniter - I now realise this should have been 
posted on the use RevIgniter list.

I’ve now got a basic button that submits a form data post to the Salesforce 
authorisation server. However, there are a couple of issues, which are probably 
due to me misreading the user guide (again!) and/or getting confused over what 
markup goes into controller and view files for RevIgniter.

I’m using a controller file to prepare and add to the gData[] array both the 
form contents and submit button, which are then accessed in the view file, 
using the following...



In the controller file, I first used the recipe for ‘Adding Hidden Input 
Fields’ to create an array for the third ‘hidden’ parameter of the 
rigFormOpen() function. This worked as a POST but all the hidden fields are 
visible in the view file’s html. This is rather insecure for authentication, 
revealing consumer_id (and in future, client_secret, which I’ll need to add to 
increase security once basic access is proven).

So, I’m hoping the rigFormHidden(tData) recipe can keep the hidden content 
‘LiveCode-side' until post submission and out of the HTML. So far the hidden 
values don’t seem to be getting into the POST, as I’m getting an unsupported 
request type (so the ‘response_type=code’ is not being received).

I’m sure I am taking the wrong approach, as well as incorrect syntax in my 
controller handler - as if I understand things correctly, the way I’ve got 
parameter three of the rigFormOpen() call pointing at gData[‘hidden’] would, if 
successful, render the hidden contents visible in the view file’s html...

   # Prepare Salesforce login form
   
 # Load form helper library

 rigLoadHelper "form"
   
   # Prepare hidden parameter data array

 put “XXsomeClientIdXX" into aHidden["client_id"]
 put URLencode(“XXsomeRedirectURLXX") into aHidden["redirect_uri"]
 put "code" into aHidden["response_type"]
 put rigFormHidden(aHidden) into gData["hidden"]
 
 # Prepare form

 put rigFormOpen(“XXauthoirisationServerURLXX", “", gData["hidden"]) into 
gData["formOpen"]
 
 # Prepare submit button

 put "sfLoginBtn" into aData["name"]
 put "sfLoginBtn" into aData["id"]
 put "btn btn-primary" into aData["class"]
 put "submit" into aData["type"]
 put "Salesforce Login" into aData["value"]
 
 put rigSubmitButton(aData) into gData["submit"]
   
   # put "Topic1,Topic2,Topic3" into gData["ListItems"]


   get rigLoadView("homeMainView")

I’m probably making multiple newbie errors, but I’ve been unable to find any 
worked examples of RevIgniter controller and view file markup for form posting. 
So, I’d be obliged for any hints and tips.
Best,
Keith


On 6 Dec 2023, at 17:53, Ralf Bitter via use-livecode 
 wrote:

Hi Keith,

using revIgniter you can always hard code the opening
form tag, this way you can use any URL as an action
attribute.

However, your message has prompted me to change the
rigFormOpen() function so that you can override the
current URL with the value of an optional action
attribute included in the second parameter.
So, if you like, you can download the modified
version of the form helper at:

https://github.com/revig/revigniter/blob/develop/system/helpers/formHelper.livecodescript


Ralf



On 06.12.2023 11:00, Keith Clarke via use-livecode wrote:

Hi folks,
Does anyone have experience of using OAuth2 with LiveCode server, to log into 
third-party data sources for API access?
  I am experimenting with a web based utility app that runs on LiveCode server & 
RevIgniter and I need to be able to log into a Salesforce.com <http://salesforce.com/> 
account to pull data into the app via APIs. I’m following the Salesforce Oauth 2.0 Web Server 
Flow for Web App Integration 
https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_web_server_flow.htm&type=5
 and
I’ve configured the LiveCode app as a connected app in a Salesforce developer 
instance, to create a consumer id, with which I can request an authorisation 
code. This requires a POST to a Salesforce endpoint, which, if successful 
redirects to a page on the Salesforce authorisation server to provide login 
credentials. This is where I’m stuck...
The LiveCode OAuth2 library seems to be desktop centric (expecting any 
redirects via the loopback IP address of 127.0.0.1, rather than a URL); the 
RevIgniter forms library seems to su

Re: Is anyone using tsNet external with LCserver?

2018-05-28 Thread Ralf Bitter via use-livecode
Be aware of these issues
- Using tsNetGet() on LC server to request a files list
from a FTP server returns nothing, so tsNetRetrData() is empty.

http://quality.livecode.com/show_bug.cgi?id=18961

related, but didn't write a separate report:
- Using tsNetSendCmd() on LC server to send an asynchronous
command to a FTP server returns empty without executing
the command.

And don't expect to get access to the extended feature set
of tsNet Business on LC server. Seems there is no way to activate
a business license for tsNet on server, don’t think this has changed.
For what it’s worth, this and the issues mentioned above are
the reasons why my half-finished revIgniter FTP library is waiting
on the shelf since about one year.


Ralf


> On 28. May 2018, at 01:06, Matthias Rebbe via use-livecode 
>  wrote:
> 
> Hi,
> is anyone already using tsNet external with Livecode server? If so, is there 
> something i should take care of when trying to “install” / copy the external 
> to my custom installation?
> 
> Unfortunately the commercial LC server builds still do not contain the 
> external.
> 
> Regards,
> 
> Matthias Rebbe


___
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: Is anyone using tsNet external with LCserver?

2018-05-28 Thread Ralf Bitter via use-livecode
Hi Panos,

I know that tsNetVersion() yielding an error is fixed.

But does this really mean that all  tsNet Business
features are enabled on LC server (business)?

Just did tests (got my files from the shelf) using
as an example asynchronous requests, which failed.
Synchronous flavours worked as expected.


Ralf


> On 28. May 2018, at 11:28, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hi all,
> 
> 
> 
> *And don't expect to get access to the extended feature setof tsNet
> Business on LC server. Seems there is no way to activatea business license
> for tsNet on server, don’t think this has changed.*
> 
> This is no longer the case, this bug has been fixed since LC 8.1.8 RC-1:
> 
> https://quality.livecode.com/show_bug.cgi?id=19793 
> 
> 
> Best,
> Panos


___
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

mergDoc - no preview, no sharing

2018-05-29 Thread Ralf Bitter via use-livecode
Is there anybody who can confirm that the iOS external
mergDoc plays nicely in an iOS 11.2 or iOS 11.3.1 environment?

I am particularly interested to know if handler mergDocShowPreview
and “Copy to …” share extensions using mergDocShowOpenInMenu
or the share button work.

My tests using the mergDoc.livecode demo in LC 9.0 as well as in LC 8.1.10
produced the following results so far:

Files tested: .docx, ppsx, .txt, .pages, .pdf, .png

Device: iOS 11.2 on iPad Pro 10.5 inch

mergDocShowPreview worked for .png files only
“Copy to …” share extensions using mergDocShowOpenInMenu
or the share button fails although mergDocCanOpen() returns true,
the modal just shows the file name and “Office Open XML show” for
.ppsx files as an example

Simulator: iOS 11.2 on iPad Pro 10.5 inch

mergDocShowPreview works for all files
“Copy to …” share extensions using mergDocShowOpenInMenu
or the share button can not be tested


Device: iOS 11.3.1 on iPad Air

mergDocShowPreview works for all files
“Copy to …” share extensions using mergDocShowOpenInMenu
or the share button fails although mergDocCanOpen() returns true,
the modal just shows the file name and “Office Open XML show” for
.ppsx files as an example

Simulator: iOS 11.2 on iPad Air

mergDocShowPreview works for all files
“Copy to …” share extensions using mergDocShowOpenInMenu
or the share button: can not be tested


Ralf
___
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

  1   2   >