Re: Calling a livecode executable -ui from LC server and get back a result.

2017-05-05 Thread Malte Brill via use-livecode
Mark,

thanks a lot for taking the time to explain things here! Very valuable 
information! I will certainly give it a try. Just need to install Vis Studio :-)

While you are here: would you think, that a call to cURL should work on Windows 
server? For the life of me I can not get it to, even for the simplest calls. 
Always comes back with an out of memory error, which I believe is a lie in the 
status code. 
This is actually what started the experiments for me. I will give Alex 
suggestion a try also, as this might be a workaround that might actually work. 
And all that, just because some 3rd party insists on cookie authentication for 
a Webservice where I would need to get the Headers back from a post. *sigh*

Thanks all!

Malte


___
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: Calling a livecode executable -ui from LC server and get back a result.

2017-05-05 Thread Malte Brill via use-livecode
Hi Roger,

indeed, I have considdered that. But I have no experience on how this would 
behave. Actually what I was trying to do is reducing the involved components, 
instead of introducing more and more over the course of building the system. LC 
- Server came natural there, as it would have allowed me to use liveCode inline 
and having the proven stability of Apache, which is needed for other purposes 
in the project also. It is so unfortunate, that LC-server gets me to 95% of 
what I need to do and then you need to revise your decisions, because some 
things that you would expect to work, just won’t. I can most certainly move 
everything that is needed into a liveCode client, but I would not want to do 
that because of apllication design reasons. Pitty. If I were to set up a 
faceless app as a service / daemon, I am not too sure if I would do it in LC, 
given that it would be a single threaded process and I might need concurrency. 
The pretty part of the CGI approach is that it starts an instance per 
connection that then can act individually. Well, back to whiteboard I guess.

Thanks a lot,

Malte



> Have you considered running a faceless Desktop app as a service, having it 
> watch for a socket message, or a file, or even clipboard content to signal it 
> to do something. You could keep an account signed in with an app running 
> -with-or-without a UI. 
> 

___
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: Calling a livecode executable -ui from LC server and get back a result.

2017-05-05 Thread Malte Brill via use-livecode
Hi Charles,

thanks a lot for the information. I am afraid I can not use it in this context, 
as this is for an Open Source project. For other things this might be an option.

Cheers,

Malte

> Hi Malte,
> 
> If you are able to use the commercial version of LC server, the tsNet 
> external is supported which provides equivalent functionality to libUrl.
> 
> Regards,
> 
> 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: Calling a livecode executable -ui from LC server and get back a result.

2017-05-05 Thread Malte Brill via use-livecode
Thanks Dan, but that is not what I am after…

I have a server side liveCode application, which needs to talk to a couple of 
webservices from time to time. While this works nicely on the desktop, it does 
not do so on Server, as Server lacks some libURL functionality. First 
workaround was to shell out to cURL. This works nicely on Mac and Linux 
servers, but forever reason fails under Windows Server, which I need to 
support. So the next thought was to call a liveCode executable -ui when needed, 
but I do not get a result back there. I will not want to have a liveCode 
standalone running 24/7 on a server machine. I guess the easiest way out is to 
simply kill off the idea to treat liveCode server as a replacement for PHP and 
just bite the bullet and build everything in PHP instead. Or start an 
initiative to get libURL ported to server. I already talked to the guys in 
Scottland to see if this would be feasible, but it would cost a bit more than I 
could afford alone. I might just go with having the single command implemented 
I would need for the project (libURLLastRHHeaders), which then would also lift 
the requirements for having to use cURL or any other helper app in my case, but 
I am not quite sure if that makes sense…

Would anybody else like to see libURL feature parity between Desktop and Server 
engines and if so be willing to set up a fundraiser with me for this?

Cheers,

Malte

> You can communicate between server and desktop using sockets. Chatrev is a
> good example of this 
> http://www.bjoernke.com/index.irev?target=chatrev


___
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

Calling a livecode executable -ui from LC server and get back a result.

2017-05-04 Thread Malte Brill via use-livecode
Hi all,

has anybody successfully done this? Especially on Windows? I would like to 
launch a livecode built application from a liveCode server script and get the 
output back (on a Server that I control) Is that possible? If so, how?

I tried a couple of things to no avail:

"
  put the time
  put ""
  put Quote & "thes.exe" & Quote &&"-ui" into tShell
  try
get shell(tShell)
put "Result:" && the result & cr &"It:" && it
put ""
open process tShell for binary read
   read from process tShell until EOF
   put "Result:" && the result & cr &"It:" && it
   put ""
  catch theErr
  put theErr
end try
put cr
put the time
put ""
?>

the helper app: In the stack script:

on startup
  send "boo" to me in 500 millisecs
  — to make sure all libs are loaded
end startup

on boo
  quit
end boo

on shutdown
  write "boo" to stdout
end shutdown

Thanks for all input I can get…

Malte


___
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

LC Server on Win and CURL

2017-04-06 Thread Malte Brill via use-livecode
Hi all,

I wonder if somebody of you can enlighten me here.

I am trying to use curl with liveCode Server. No Probs on a Mac, but Windows is 
behaving strange…

set the shellCommand to "cmd“ — mail client might put in wrong quote mark
put shell("c:/curl/bin/curl " & quote & "http://google.de“ & quote) 

-> curl: (27) Out of memory

But on the commandline I get what I expect using

c:/curl/bin/curl "http://google.de;

Anybody know what is going on here and how to get around it?

Cheers,

Malte
___
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: [Long] Moving a REST request from Desktop to Server

2017-03-08 Thread Malte Brill via use-livecode
Hi Richard,

no, I did not considder using a standalone as a CGI engine. I am in a rather 
difficult environment with the project (government servers that have ridiculous 
tests and approval times for changed solutions). On top of that, I would not 
want to lose the benefit of using liveCode PHP style. For most of what I do 
with LC server I am perfectly happy with the way it works. However, not having 
some stuff that libURL offers available (even though the dictionary states 
otherwise, in the case of libURLLastRHHeaders, Platforms desktop, server). 
Technically it should be possible if the Server script does a POST to a remote 
Server to see the RAW response in some form. In my case this would help a lot. 
I built quite a nice Framework (at least it works quite well for me) around the 
Server engine and it would be quite labor intense to change what I have. The 
only option I would see, would be moving the WEBSERVICE request into my LC 
Desktop client, which is what I’d rather avoid… :-(

Cheers,

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

[Long] Moving a REST request from Desktop to Server

2017-03-07 Thread Malte Brill via use-livecode
Hi all,

I am trying to move a request I do from a desktop app to a liveCode server 
script and am facing the problem that some of the stuff I use (most of it 
libURL stuff) is not available on the server. Now I wonder how I could 
translate it…

Scenario is the following:
Problem is libURLLastRHHeaders() is unavailable on server and can not easiely 
be copied from libURL
Anyone got an idea?

local sCookieHeader

on mouseUp
local tURL,tUser,tPassWord,tCookie,tSubmitId,tsubmit,tJson,tJsonArray
local test
try
set the httpHeaders to empty
put „aUser" into tUser
put „aPassword" into tPassWord
put "264812" into tSubmitID
put "Log+in" into tSubmit
get libURLFormData("userName", tUser,"password", 
tPassword,"submit",tSubmit,"submitID",tSubmitId) — not available on Server, but 
can be copied from libURL
post it to url "http://test.com/login.php;
_storeCookies libURLLastRHHeaders() — needed to authenticate. 
libURLLastRHHeaders unavailable
set the httpHeaders to sCookieHeader
put fld "URL" into tURL
put URL tURL into tJson
catch theErr
put theErr
end try
end mouseUp


## Parse header returned from a server and create a cookie header that
## can be sent back: Cookie: cookie1;cookie2;cookie3;...
private command _StoreCookies pHeader
local theCharNo,theCookieLine,theLineNo,theOffset
put empty into sCookieHeader
put 0 into theOffset
repeat forever
put lineoffset("Set-Cookie:", pHeader, theOffset) into theLineNo
if theLineNo > 0 then
add theOffset to theLineNo
put line theLineNo of pHeader into theCookieLine
delete word 1 of theCookieLine ## Set-Cookie:
put offset(";", theCookieLine) into theCharNo
if theCharNo > 0 then
delete char theCharNo to -1 of theCookieLine
end if
put theCookieLine & ";" after sCookieHeader
put theLineNo into theOffset
else
exit repeat
end if
end repeat
if the last char of sCookieHeader is ";" then
delete the last char of sCookieHeader
end if
if sCookieHeader is not empty then
put "Cookie: " before sCookieHeader
end if
return empty
end _StoreCookies



___
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: Howto read-write-import-export SAP tables

2017-03-02 Thread Malte Brill via use-livecode
Hi Thierry,

it might be easier to send IDOCs to SAP, which could either be FIX Record files 
(if transfered by SAP ALE), or XML (if connector like PO is set up).
Check Transaction WE60 to get an XSD. SAP might need a connector to accept the 
iDOCs (like for Example PO), but with all possible customisations and User 
exits I would not dare to write directly to the SAP DB. :-)

Cheers,

Malte


___
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: Dumb deployment question

2017-01-26 Thread Malte Brill via use-livecode
Hey Trevor,

https://github.com/trevordevore/levure 
this is looking like a potential winner. I would love to see how involved it is 
to move an existing application over to the framework. I have a rather big 
application that uses a couple of substacks which I want to make VCS friendly. 
Up until now it does not use any frameworks at all (besides the stuff that I 
wrote myself) so this shall be interesting.

I am not claiming to understand what you set up as yet, so I guess this 
requires quite a bit of investigation and would not be a quick shot. At first I 
was aiming at something lightweight that would work for my personal usecase, 
however I see the benefits of structuring work using a framework. Very very 
interesting.


Cheers,

Malte


___
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: can't open file on web server

2017-01-26 Thread Malte Brill via use-livecode
Hi Tiemo,

did you try the URL directly without using the binfile keyword?

put URL „http://www.somServer/someImage.jpg 
“ into img „myImage“ ? This works here. If 
you are using either the file or binfile keyword you are indicating file access 
to the engine, which might work with a UNC path, not if the protocoll for 
transmission is http though. 

Hope that helps,

Malte

___
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

Dumb deployment question

2017-01-25 Thread Malte Brill via use-livecode
Folks, please forgive me. I have not yet deployed with one of the current 
engines. Las standalone was built using 7 (gnashing my teeth a little bit).
Now, I would really like to make the first serious standalone using 8.x (final 
might be using 9.x). This is still a bit ahead, but I want to prepare. I would 
really like to work with script only stacks. But what do we need to do to have 
them available as library in a standalone. Right now I am being lazy with my 
project and make regular stacks a substack of my mainstack, which I then start 
using. How would I go about this with a Script only stack, which appears to be 
only a text file, right? Upside until now was quasi single file distribution, 
but I could very well live with breaking that. Any good tips on deployment?

Thanks a heap,

Malte


___
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: What has changed in MacOS 10.12 in handling code pages?

2017-01-17 Thread Malte Brill via use-livecode
Hi Tiemo,

I do not know what changed, but I see the same. Earliest version to fix this is 
6.7.6 as far as I can tell.

Cheers,

Malte


___
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


I'm a stupid GIT

2017-01-07 Thread Malte Brill via use-livecode
I also am a stupid GIT. Way over my head. That said - can’t this be somehow 
automated so that one could download nightly builds? If it could I would be 
willing to throw in a couple of Euros to make that happen (to be honest, not 
before the end of April though and most likely not enough Euros to make it 
happen alone).

Cheers,

Malte

___
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: Any workaround to make a modal stack behave like we were used to?

2016-12-12 Thread Malte Brill
Ok, I have pinned this down. I created a new user and this did indeed not 
expose the problem. I then turned to my other user and disabled everything that 
is launched on startup. (Login items). Once I disabled Spotify in there it 
works as expected. What gives??? This is rather strange, but I blame spotify 
for this, however this should not affect the behaviour of other applications 
(in this case liveCode). Just tested, launching spotify manually also exposes 
the behaviour.


All the best,

Malte



___
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: Any workaround to make a modal stack behave like we were used to?

2016-12-11 Thread Malte Brill
This is very strange. I am on X.10.5

Could that be a system setting? I seriously doubt so… Downloading Sierra now to 
see if that would be different.


www.derbrill.de/modal.mov 


___
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

Any workaround to make a modal stack behave like we were used to?

2016-12-11 Thread Malte Brill
Hi all,

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

To demonstrate what I mean:

one stack, two buttons. 

Button 1

on mouseUp 
  answer "I should be modal, no?“
end mouseUp

button 2

on mouseUp
  put the seconds
end mouseUp

Click button 1 first and while the answer dialogue is open click on button 2.

I would expect that you are not able to invoke the script of button 2 while the 
modal dialogue is open. Obviously I can, using LC 8.1.1 on a Mac. Any 
workaround to get the old behaviour? How does this behave on the other OSses?

Cheers,

Malte



___
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

Which widgets would YOU want to build? [WAS] Type on an angle

2016-11-20 Thread Malte Brill
I do not want to capture the rotation thread…

I went into more details on what is keeping me back from going through the 
headaches of learning builder at the moment in my previous mail. I think it 
would be a good idea to desribe what I would be wanting to build (well actually 
I want to use it, but nothing comes without an effort )

In many of my UIs I need what I would call an intelligent combobox.

Just like the combobox you know, but reacting on the text input and thus 
filtering the otions being displayed in the dropdown, based on whatever you 
have put into the field part of the combo box. The whole thing must be 
skinnable. So it needs to be possible to style the button part with the 
disclosing arrow. I have implemented such a beast as a group. Works somewhat, 
but is very brittle. If you start working on the template you can easiely screw 
things up. Also, changes are not being inherited to existing instances. Able to 
live with that, but wishful thinking for a better solution. One problem that is 
not solvable in a good manner is the layering of the „popup listfield“ that 
shows the options. More often that not it dispalys underneath other elements of 
the UI if you are not careful. Also it is hard to make it behave as one would 
expect it to work. I would have hoped to being able to solve this as a widget 
somehow. Would that be possible now?

What would you want to create?

Cheers,

Malte


___
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: Type on an angle

2016-11-20 Thread Malte Brill
Sorry for hijacking the thread...

TL/DR: Do we have Text input into widgets? How can we get our feet wet easier 
with that stuff?

———

Richard wrote:

> I have maybe two apps across all my computing devices that let me edit 
> rotated text, but I have dozens that display text in a variety of 
> formats (date, phone number, currency, etc.).
> 

Well, if we had a means of textinput inside a widget, this would be easy enough 
to implement I guess, I may just have overlooked it if it exists. 
Is text input into a widget possible right now? If so, where do I find 
documentation on that?  If not is that on the roadmap? 
I would be really interested going there. Frankly, the first widget that peeked 
my interest was the calendar that was posted by Bernd. I follow what Herrmann 
does, but still for what I would need / want to do, I would require a means of 
keyboard input into the widget. 

Of course it is possible to code your way around this using what we have right 
now. A field and making clever use of the message path. This has not gone away 
(yet). However for me widgets appeared as the way forward to creating custom 
objects that appear as ONE object to the engine instead of using groups, which 
are frankly a tad bit brittle as it stands. Oh how often have I screwed up a 
template group I created that then should have been cloned into a dynamically 
created UI. Headaches I would have hoped to save myself from with widgets by 
now. 
I still do not see builder being at the point where it might be usefull for me. 
Still in the interim. Still too early. Still not enough learning material on 
how to get your feet wet with this stuff. Creating a pink circle is good. What 
are the next steps? I miss easy to follow tutorials to find that information! 
What is in the Roadmap and expected to arrive when? Those are the questions 
that keep me from being bothered looking into that stuff yet. I trust myself 
that I could contribute one widget or the other to the community if it was 
easier to find the hows! This is not meant as a rant. I still considder the 
transition to next gen LiveCode to be in progress. That is fine. It looks like 
it is getting somewhere. Still, and I hope you do not mind me saying that, I 
considder everything that followed 6.x being interims versions that needed to 
be released to keep the userbase from tapping their feet too much and keep the 
boat afloat financially. That is ok for me. Some of the new stuff is really 
useful already but it comes for a price. LC is not yet in a state of 
optimization. Pet peeve, benchmarking, but we had that already. Fact is my apps 
got a whole lot slower with 7 and 8 compared to 5.x and 6.x.. Upside is that 
this exposed quite a few places where my scripts were inefficient. Doing my 
part in fixing my stuff. This makes it tolarable in 7 and 8, but the petty is, 
blazingly fast in 5 / 6. I would rather see stuff we have now being optimized 
and in turn live with a slower path of Dev releases, which frankly I do not get 
around testing much anyways these days. Once I find the time to test 8.X 8.Z is 
released already. I then run my benchmarking on the areas I know affect my 
apps, see not much of a change there, shrug it off and go back to daily 
business.This is not yet the next gen livecode I have been kissing in my 
dreams. It might become it once it matures, but for now I think it still needs 
to go out a bit and play on the lawn, before I can ask it on a date. ;-)

Cheers,

Malte


___
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: Could not create movie reference

2016-10-08 Thread Malte Brill
Hi Tiemo,

is the file system set to be case sensitive and the filename of the (a) movie 
in a different spelling (upper / lower case) then your player object refers to?

Cheers,

Malte
___
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: Malte Brill stack

2016-09-21 Thread Malte Brill
Hi Al,

this was way back in 2005. More than a decade ago (omg I am old). It was a 
contest held in chatrev. Make something cool within the starter kit limits (10 
lines of code). I am afraid I lost all copies of it. I remember I spent more 
time in Photoshop to create the font, then I spent in then revolution to code 
it…

http://lists.runrev.com/pipermail/use-livecode/2005-June/060159.html

Cheers,

Malte

> Hi All,
> 
> Many years ago, Malte Brill posted
> a stack (or script) that shows how
> to use images within text fields to
> simulate a game display board.
> 
> In his sample text field, you could
> type a word and automatically, each
> letter was converted to a bitmap image
> of the letter typed.
> 
> Probably, Malte created this stack
> for one of his games, but I have lose
> the reference of the message date and
> stack's name.
> 
> Does anyone keeps a copy of this stack
> or could find the date of publishing,
> among your backups?
> 
> Many Thanks in advance!
> 
> Alejandro
> 


___
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: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-24 Thread Malte Brill
I tried to follow this thread as closely as I can, however there are some 
things still not clear to me regarding TEXT ONLY scripts. This is in regards to 
the fora and this very list. If we are discussing scripts on here, how are we 
to judge if the person replying used a community version and thus making the 
script viral or not. I think we need a clear statement on what happens to 
snippets posted here and over at the fora, otherwise…

THIS WAS WRITTEN IN THE COMMUNITY VERSION!!!


— all your script are belong to us

on mouseUp

end mouseUp

on mouseDown

end mouseDown

on mouseMove

end mouseMove

on touchStart

end touchStart

— pwned???

Cheers,

Malte


___
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 throwing compile errors for a stack which previously worked

2016-06-30 Thread Malte Brill
Hi Francis,

check your preferences on the machine that misbehaves. Look if you have strict 
compile mode set there for the script editor settings.

Cheers,

Malte


___
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: Ho to pay pledge

2016-05-25 Thread Malte Brill
My link worked. First I could not log in. Afterwards I was a little cheesed off 
that the only option to pay was by credit card. Oh well…


Malte
___
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: Downloading thirdparty products

2016-05-18 Thread Malte Brill
Hi,

please remember that you always can find the most current version on github:

https://github.com/derbrill/animationEngine

All the best,

Malte


> I see my
> subscription of AnimationEngine (version 6) but I can not download it.
> 


___
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: Should before [handler name] trigger when using send?

2016-03-30 Thread Malte Brill
Hi Ali,

> Yes, I think it should work. Is the error saying that the actual `on
> resizeControl` handler is not found?
that indeed was the case. But only in the standalone (using the 7.1.3 engine)

@all: thanks for your replies. I am puzzled by Bernds observations though. Need 
to test with 8 DP16 then.

All the best,

Malte

___
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: HTML5 "Features" Library Substacks and "send ### in time"

2016-02-07 Thread Malte Brill
Hi Brahmanathaswami,

I did not have the time to test DP 14 yet, but in DP9 animationEngine worked 
pretty good (in Firefox). 
All I had to do was make animationengine a substack of my mainstack.
As it relies heaviely on send in time, I can confirm that that used to be 
working fine at least in DP 9. Need to check again in DP 14 though.

All the best,

Malte


___
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


Server: post gzipped message and response (loooong post, sorry)

2016-01-18 Thread Malte Brill
Hi all,

I am struggeling with something that used to work with the 5.x Server engine 
(on Mac but I need it X-Plat)

I am trying to POST compressed XML to Server and reply with compressed XML from 
there. With the 7.x engines of server this breaks:

" into sReply
  put crlf & "DATA" 
after sReply
  replace "DATA" with pData in sReply
end libServerBuildReply

command libServerRequestMethodError
  libServerBuildReply "error", "Requested method not supported"
end libServerRequestMethodError

command requestPing
  libServerBuildReply "ping", "" & the milliseconds & "" 
& CRLF & \
 "ok" & CRLF
end requestPing

command requestUnknown pRoot,pRequest
  libServerBuildReply "error", "" & the milliseconds & 
"" & CRLF & \
 "unknown request:"(sPostData)&"" & 
CRLF
end requestUnknown

?>

On The client Side I have:

on sendRequest pRequest,pCompress
   local tXML,tURL
   put "" into tXML
   put "" after tXML
   put fld "theURL" into tURL
   if pCompress then
  post compress(tXML) to URL tURL
   else
  post tXML to URL tURL
   end if
   handleRequest it
end sendRequest

on handleRequest pResponse
   try
  put decompress(pResponse) into fld "output"
   catch theErr
  put theErr & cr & cr & pResponse into fld "output"
   end try
end handleRequest

Now if I do a compressed version of my ping request:

  sendRequest "ping“,true

I get:

 — wrong here… Why the %???
1453143362202
ok


the uncompressed call:


1453143583747
ok


works as expected. Even worse for:

  sendRequest "irgendwas“,true

Which comes back totally garbled most of the time…

Anybody got an idea what changed between 5.x and 7 that breaks compressed 
transfer? Anybody got a solution?

Cheers,

Malte



___
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

$332 to go on Feature Exchange

2015-12-10 Thread Malte Brill
Just pushed it over the line. :-)



___
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: Invalid host address

2015-12-06 Thread Malte Brill
Hey Dan,

just a quick headup that I see the same thing (Win 7  and 10 though). As soon 
as a user is logged in as a domain user, local servernames can not be resolved. 
Connecting to the IP works though. I mentioned this in an earlier thread:

http://lists.runrev.com/pipermail/use-livecode//2015-November/221117.html 


Maybe we shoud take this to bugzilla…

Best,

Malte

___
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

WMVCore.dll?

2015-12-02 Thread Malte Brill
Hi all,

I got a strange report from a customer that a LiveCode application can not 
start due to a missing WMVCore.dll
Quick google search brought up that other applications may have the same issue 
if a Media Pack is not installed. However my app does not even use a player, so 

1) why the dependency?
2) when was this introduced? (7.0.6 did not expose this, but 7.1 did)
3) can this be either documented or be an option in the standalone builder, so 
it is not required if no Media like audio or movies are used?

All the best,

Malte

___
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: WMVCore.dll?

2015-12-02 Thread Malte Brill
Hi Mark,

> We will probably have to try and weak-link that particular dependency. 
> Could you file a bug report, and we'll look into it.
> 

Done. #16531


Cheers,

Malte


___
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: intersection point of two graphic line segments

2015-11-11 Thread Malte Brill
Hi David,

> Has anybody dealt with this before

I have methods to deal with this in animationEngine. :-)

Cheers,

Malte

___
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: intersection point of two graphic line segments

2015-11-11 Thread Malte Brill
Hi David,

http://www.derbrill.de/animationEngine6.zip 


ae is dual licensed (GPL3 / commercial) Stack is unlocked and the zip Contains 
a PDF + some examples. What you will be interested in:

lineSegmentIntersectionPoint(x1,y1,x2,y2,x3,y3,x4,y4)

get lineSegmentIntersectionPoint(100,200,120,210,0,0,140,220)

This function returns the intersectionpoint of 2 line segments or "no 
intersectionPoint" if the line segments do not intersect.



All the best,

Malte 
___
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: A different take on directorywalking

2015-11-11 Thread Malte Brill
Hi Mike,

thanks for the reply!

For the Mac I seem to be able to use:

put "find -d tree“ && tPath &&  "-type f“ into tShellCommand

For Windows of course I forgot to replace the backslashes with slashes.

Not sure if find is available and has the same switches on Linux though…

All the best,

Malte


> I think the issue you are going to run into is going to be the output format. 
>  On both Mac and Linux you are going to be using the "ls -R" command. 
> 
> Do a search on unix ls command and you can see some example outputs in some 
> of the articles. 
> 
> -= Mike 
> 
> 
> 
> On Nov 11, 2015, 7:54 AM, at 7:54 AM, Malte Brill <
> revolution at derbrill.de
> > wrote:
> >
> Hi all,
> 
> >
> >
> as the livecode solutions tend to become rather slow if there is a
> 
> >
> certain amount of nesting involved, I want to come up with a shell
> 
> >
> alternative to directorywalking. something like
> 
> >
> >
> — [snip]
> 
> >set the hideconsoleWindows to true
> >
> switch
> 
> >
>   case „win“ is in the platform
> 
> >
> put "dir " & tPath && "/b /s /A-D" into tShellCommand
> 
> >
> — tPath needs to be a Windows path using backslashes and needs to be
> 
> >
> quoted
> 
> >
>   break
> 
> >
>   case „linux“ is in the platform
> 
> >
> — todo
> 
> >
>   break
> 
> >
>   case „mac“ is in the platform
> 
> >
>   — todo
> 
> >
>   break
> 
> >
> end switch
> 
> >
> return shell(tShellCommand
> 
> >
> —[snap]
> 
> >
> >
> This returns for example:
> 
> >
> C:\Users\Malte
> 
> >
> Brill\Documents\archaeodox\2013-480\dokumentationsschritte\10\2013-480_ds_10_1.JPG
> 
> >
> C:\Users\Malte
> 
> >
> Brill\Documents\archaeodox\2013-480\dokumentationsschritte\10\2013-480_ds_10_2.JPG
> 
> >
> C:\Users\Malte
> 
> >
> Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_1.JPG
> 
> >
> C:\Users\Malte
> 
> >
> Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_2.JPG
> 
> >
> C:\Users\Malte
> 
> >
> Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_3.JPG
> 
> >
> …
> 
> >
> >
> where tpath was:
> 
> >
> "C:\Users\Malte
> 
> >
> Brill\Documents\archaeodox\2013-480\dokumentationsschritte“
> 
> >
> >
> Can anyone help me with the Linux and Mac counterparts. Ideally with
> 
> >
> the same output?
> 
> >
> >
> Best,
> 
> >
> >Malte
> 


___
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: Standalone Internet Access Errors

2015-11-11 Thread Malte Brill
Hi Dan,

is this with the 7 engine?
If the app launches ok, it can not be blocked in general. However, I have seen 
similar problems on windows but did not nail it yet. My problems were on the 
intranet though. The weird thing is, that using the IP address instead of the 
server name usually resolved the problem. So my first suspicion was that the 
DNS entry was resolved too slowly. It might be something different though, 
because I had the chance to see the problem where some machines were able to 
reach the server, while others were not. In that case the users that had 
problems reaching the server were logged in as domain users, while the others 
had a standard user account.

What cured the problem finally and made me not investigate any further was that 
for that project, a replacement for libURL was used.

Not sure if this helps much.

Cheers,

Malte


___
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


A different take on directorywalking

2015-11-11 Thread Malte Brill
Hi all,

as the livecode solutions tend to become rather slow if there is a certain 
amount of nesting involved, I want to come up with a shell alternative to 
directorywalking. something like

— [snip]
set the hideconsoleWindows to true
switch
  case „win“ is in the platform
put "dir " & tPath && "/b /s /A-D" into tShellCommand
  — tPath needs to be a Windows path using backslashes and needs to be quoted
  break
  case „linux“ is in the platform
— todo
  break
  case „mac“ is in the platform
  — todo
  break
end switch
return shell(tShellCommand
—[snap]

This returns for example:
C:\Users\Malte 
Brill\Documents\archaeodox\2013-480\dokumentationsschritte\10\2013-480_ds_10_1.JPG
C:\Users\Malte 
Brill\Documents\archaeodox\2013-480\dokumentationsschritte\10\2013-480_ds_10_2.JPG
C:\Users\Malte 
Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_1.JPG
C:\Users\Malte 
Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_2.JPG
C:\Users\Malte 
Brill\Documents\archaeodox\2013-480\dokumentationsschritte\11\2013-480_ds_11_3.JPG
…

where tpath was:
"C:\Users\Malte Brill\Documents\archaeodox\2013-480\dokumentationsschritte“

Can anyone help me with the Linux and Mac counterparts. Ideally with the same 
output?

Best,

Malte




--
derbrill IT-service Malte Pfaff-Brill
Alsenstr. 15, d-24768 Rendsburg
Tel: +49 4331-337 640 0
eMail: i...@derbrill.de web: http://www.derbrill.de
Steuernummer: 28 015 03865 VAT ID: DE223571286
Bankverbindung: BIC: GENODEF1KIL IBAN: DE87 2109 0007 0088 2849 05 Kieler 
Volksbank e.G.
Kontoinhaber Malte Pfaff-Brill


___
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 8.0.0 DP 8

2015-11-04 Thread Malte Brill
> At the moment, there are no plans for a backport. It's probably not a good 
> idea anyway -- adding new features to a "stable" release series is a frequent 
> cause of regressions and unhappy users.

Is it still an external? If so, we could try at our own risk if it would work 
with 7. As 8 is still a bit down the road this might come in handy…

All the best,

Malte
___
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] animationengine 6

2015-10-13 Thread Malte Brill
@Matthias: I have discussed this internally and we will be sending out upgrade 
vouchers to all existing customers granting 20% off the purchase. So if any of 
the existing users does not receive the voucher within the next 48 hours, 
please feel free to contact me directly.

All the best,

Malte
 
___
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] animationengine 6

2015-10-12 Thread Malte Brill
Hi List,

please excuse this rather lengthy mail, but I am quite excited...

I almost had let this slip, but I just couldn’t. animationEngine turned 10 
years old this months! If there is a good time to do an update, then I guess 
the tenth birthday is an opportunity I can not miss. So without further ado, I 
would like to introduce you to the latest version:

http://www.derbrill.de/animationEngine6.zip

The download comes with a tiny demo stack that demonstrates the new stuff. The 
documentation also has been updated.

For those of you that do not know what animationEngine is:

animationEngine is a dual licensed animation library for liveCode. 

animationEngine 6 has been optimized to work with liveCode version 6.7 and 
higher, including, but without warranty the current developer preview of the 
liveCode 8 engine (which is by the time of this writing version 8 DP 7).

What is new in version 6?

animationEngine 6 adds 4 major features, along with a couple of helper 
functions to its Toolset:

1) aeChangeAngleCircular changes the position of an object on a cirCular path. 
It allows you to use easing effects for the transition.

Example:
aeChangeAngleCircular the long ID of grc "ball",the loc of grc 
"path",80,tNewAngle,2000,"counterclockwise","bounce"
aeChangeAngleCircular the long ID of grc "ball",the loc of grc 
"path",80,270,2000,"clockwise","inout“ 

Parameters:

long ID of the object to move
centerX of path
centerY of path (centerX and centerY can be combined expression) radius from 
center
desired new angle
duration in millisecs
direction (clockwise OR counterClockwise)
easing method (in, out, inOut, overshoot, bounce or empty)

2) aeMorphGraphic transitions a graphic between 2 pointlists. This is also 
known as "tweening".

Example:
aeMorphGraphic the long ID of grc 1,sPoints1,sPoints2,1500, tEffect 

Parameters:

long ID of a graphic object
pointList (start)
pointList (end)
duration in millisecs
easing method (in, out, inOut, overshoot, bounce or empty)

3) aeMorphGradientRamp changes the ramp of a fillgradient of an object. It 
allows you to use easing effects for the transition. Example:
aeMorphGradientRamp the long ID of grc 1,tGradient1,tGradient2,3000,“overshoot"

Parameters:

long ID of the graphic that changes the gradient 
startGradient
endGradient
duration in millisecs
easing method (in, out, inOut, overshoot, bounce or empty)

See stack ae6demo to see it in action.

4) aeRotateGroup rotates all members of the target group around an arbitrary 
point. Example:
aeRotateGroup the long ID of grp "rotateMe", the loc of grc 
"Center",90,1000,"overshoot“ 

Parameters:

long ID of a group
centerX of rotationPoint
centerY of rotationPoint (centerX and centerY can be combined expression) 
desired angle in degrees
duration in millisecs
easing method (in, out, inOut, overshoot, bounce or empty)

See stack ae6demo contained in the download to see it in action.

Licensing terms:

These scripts are licensed to you if you agree to be bound to one of the 
following License types at your choice.

1) GPL 3 You may use animationEngine as FREE Software as outlined in the terms 
of the GPL3 or any higher version of the GPL as found here: 
http://www.gnu.org/licenses/gpl-3.0.html

2) Commercial license: If you do not want to disclose the sources of your 
application you have the option to purchase a commercial license by paying a 
fee. You can buy a commercial license from the liveCode store. This can be done 
following this link: 
https://livecode.com/products/thirdparty/derbrill/animation-engine-6-0-0/ 

AnimationEngine 6 is a major update, so if you want to use it in a commercial 
context, a new license is required for this version. That said, there is no 
distinction between the GPL and the commercial version of the library. If you 
want to use it in a commercial context, we trust you find it worthwhile paying 
for the license. :-)

If you would like to follow this project, you can do so here: 
https://github.com/derbrill/animationEngine

Finally a word of thanks for all the support I have received over the years! 
Without your suggestions, support and contributions, be it buying licenses or 
otherwise all this would not have been possible!

All the best,

Malte



___
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] animationengine 6

2015-10-12 Thread Malte Brill
Alejandro was so kind to compress the contained PDF so it came down from 25 MB 
to a couple of KB. Thanks Al! I updated the download. 

@Scott: Thanks for the kind words!

@Matthias: ae 6.0 was rather involved in development and as much as I am 
supportive of the dual licensing thing it rather cannibalized the funds for the 
project. I hope to be able to re-introduce upgrade discounts with version 7. 
But first there will be a couple of updates to ae 6, which will be free for all 
commercial license holders of a version 6 license. Mainly the plan for v6 and 
beyond is to optimize performance a little more namely by moving all handlers 
into the main timer (the aeGeneral handler), v.6.0 is the start of that, but 
being able to do this for all handlers needs funding. I always have and will 
continue to only charge for major version increments and I will never introduce 
a subscription model for animationEngine. I hope my motivation here is 
understandable.

All the best,

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


IPV6...

2015-09-29 Thread Malte Brill
Well, I just stumbled upon this:

https://developer.apple.com/news/?id=08282015a 


this might get serious even earlier than I thought…

All the best,

Malte
___
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: Was anyone able to successfully make the payment for the plegdge?

2015-09-28 Thread Malte Brill
Hi Matthias,

PAYPAL was a bit slow, but my payment went through…

Cheers,

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

Feature Exchange Process

2015-09-28 Thread Malte Brill
Hey folks,

not to be bragging or something. But I just decided to cough up the last 
pennies missing for the postGreSQL feature. I really need that and I want this 
campaign to fund something. I can not do the same Todd does with Mac 64Bit, but 
I hope this helps a little. Maybe this inspires some of you to put a little 
into the other projects too ( IPV6 anyone??? :-) )

All the best,

Malte
___
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: Feature Exchange Process

2015-09-28 Thread Malte Brill
Hi Dave,

well, my involvement here is nowhere near to what Todd does. :-) And rather 
selfish too, because I really need that feature. I really hope having at least 
one of the features funded encourages the people over in Edinburgh to keep this 
idea alive, because I really think it is the right direction to take things. 
Maybe some refinement is needed (like letting the process run more than a week 
and most importantly let the campaigns crosss the magical date barrier, so that 
salary has time to get into accounts first before the campaign ends). I also 
hope that there will be small and bigger things being put up for funding and 
that those campaigns that need to draw in more cash run a little longer. 

All the best,

Malte


___
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 8.0 DP 5

2015-09-26 Thread Malte Brill
Hi Ali,

> One reason the IDE might take slightly longer to start up in 8 because
> widget docs are dynamically added to the dictionary.

I am not sure if with an added 21 to 30 seconds we can talk about „slightly“… 

Especially if also Standalones are affected.

If you are talking about the added 5 secs between 7.x and 8.x well, yes that 
would make sense.

All the best,

Malte

___
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 8.0 DP 5

2015-09-25 Thread Malte Brill
Hi Ralph,

> FYI:
> IDE Load times Desktop Win XP SP3:
> LC 6.7.7==> 9  seconds
> LC 7.1  ==> 35 seconds
> LC 8.0 dp 5 ==> 40 seconds

do you see the same for standalones on Win? Maybe this bug is related:

http://quality.runrev.com/show_bug.cgi?id=15876 


___
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: Localizing the Menubar on OsX (Help menu)

2015-09-20 Thread Malte Brill
Hi Richmond,

thanks for the reply. I am running on a german language install of Os X. :-)

What is so puzzling is that the button in the menubar only does its magic when 
its LABEL is Help, which IMHO makes no sense at all. It would make more sense, 
if the German.lproj folder contained in the standalone bundle would affect the 
behaviour of the labeling, as it does with About and a couple of other strings, 
but it does not. :-( Looking inside that folder there is a text file containing 
a couple of instructions:

File Localization.strings in app/content/resources/German.lproj

/* Format string such as About %@" */
"appMenu.about" = "Über %@";

/* Format string such as Hide %@ */
"appMenu.hide" = "%@ ausblenden";

/* Hide Others */
"appMenu.hideOthers" = "Andere ausblenden";

/* Preferences */
"appMenu.preferences" = "Einstellungen …";

/* Format string such as Quit %@ */
"appMenu.quit" = "%@ beenden";

/* Services */
"appMenu.services" = "Dienste";

/* Show All */
"appMenu.showAll" = "Alle einblenden";

But nothing for „Help“ in there...


All the best,

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

Localizing the Menubar on OsX (Help menu)

2015-09-20 Thread Malte Brill
Hi friends. I am seriously puzzled. I got a menubar with a Help button. To 
localize this and make it appear as „Hilfe“ on german systems I am setting the 
label of that button. What now puzzles me is that the menu behaves differently 
according to the label of that button (not the name, which I could somewhat 
understand). If the label is „Help“ then I am getting the Os X Yosemite help 
with the search box on top. If however the label of that button changes to 
something else, it acts like not being one of the special menus, no search box 
on top…

What gives???

How am I supposed to correctly localize then? I looked at the German.lproj 
folder, but there are only a few strings in there, not Help….

Can someone enlighten me here?

All the best,

Malte


___
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: Quick Challenge

2015-08-27 Thread Malte Brill
Hi David,

off the top of my head:

function text_is_Caps pText
  set the caseSensitive to true
  return pText = toUpper(pText)
end text_is_Caps

Cheers,

Malte



--
derbrill IT-service Malte Pfaff-Brill
Alsenstr. 15, d-24768 Rendsburg
Tel: +49 4331-337 640 0
eMail: i...@derbrill.de web: http://www.derbrill.de
Steuernummer: 28 015 03865 VAT ID: DE223571286
Bankverbindung: BIC: GENODEF1KIL IBAN: DE87 2109 0007 0088 2849 05 Kieler 
Volksbank e.G.
Kontoinhaber Malte Pfaff-Brill

___
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: Script Editor future (was Re: Open Source Kickstarter Report Card)

2015-08-21 Thread Malte Brill
Ali Lloyd wrote:

 I don't think that the current script editor should be neglected

I think that depends on when 7 will be EOLed. If you plan to have 8 stable by 
the end of the year and you plan to have a new Script editor there, wasting 
resources might be indeed a waste.

Mike Kerner wrote:

 that I often wonder if instead of working on one, effort should instead be 
 spent on a BBEdit/TextWrangler plugin or some method for leveraging someone 
 else's text editor.

+1, just eclipse… ;-). Still the IDE will have to come with a script editor 
that works out of the box.

Richard Gaskin wrote:

 If we can't build a good text editor in LiveCode, what are any of us 
 doing here?

Well, for me it is not so much about the text editor. It wouldn’t be the first 
textEditor I would be scripting. My problem would be the friggin debugger…
On the other hand, there is a very powerful script editor out in the wild, 
namely glx which I believe Mark Wieder is maintaining. It has its glitches, but 
is not too bad. I just recall that it had a problem hiliting the script at the 
place it errored when it errored. That had me give up on that one. (picky, I 
know) Besides that, I think glx is as far as one can go with a scripted editor. 
:-)

Best,

Malte



___
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

IPV6 SUPPORT

2015-08-14 Thread Malte Brill
Hi all.

I have customers that need to support IPV6 connections. Currently it seems not 
to be possible to connect to an IPV6 IP via livecode.

Anyone else running into the problem? 

If so, what is the remedy?

All the best,

Malte


___
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: Business Application Framework

2015-08-14 Thread Malte Brill
 The git IDE integration on the other hand could be a plugin (paid or open 
 source) or part of the IDE that comes out of the box. It’s where the magic 
 happens. Stuff like the toolTip on the script line numbers showing the author 
 and commit message. So I’d rather focus on that stuff.

Monte,

how much would you think we need to raise to make your work on this worthwhile?

I’d surely be willing to put in a couple of €s if we had something that 
installs easiely and is easy to use. (Of course best coming out of the box) I 
would like to have Version Control rather yesterday than tomorrow, but was a 
little bit scared of lcVCS up until now, mainly due to time constraints not 
being able to test out things...

Cheers,

Malte


--
derbrill IT-service Malte Pfaff-Brill
Alsenstr. 15, d-24768 Rendsburg
Tel: +49 4331-337 640 0
eMail: i...@derbrill.de web: http://www.derbrill.de
Steuernummer: 28 015 03865 VAT ID: DE223571286
Bankverbindung: BIC: GENODEF1KIL IBAN: DE87 2109 0007 0088 2849 05 Kieler 
Volksbank e.G.
Kontoinhaber Malte Pfaff-Brill

___
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: [YO EDINBURGH!] Microsoft Open-Sources It's Toolkit For Making iOS Apps Run On Win 10

2015-08-10 Thread Malte Brill
 I think the majority of you have iOS devices
 because it is what you LIKE, not because it represents what the majority or
 even half of the population HAVE.

While I agree that feature (and syntax) parity is not (yet) achieved in 
liveCode (And why on earth do the mobile commands STILL throw errors in the 
IDE?) I disagree that it necessariely makes sense to run after a certain 
platform only because there are more devices sold. A broader market of devices 
to deploy to, not necessariely gives us better ROI. If the users buy the cheap 
devices, they are less likely to open the purse for apps (monetize via ads?) If 
we develop for business users, not end users (who are much more likely to open 
the purse for development / consulting) then we can expend only high end / 
prestige devices. 

While I know that many of you alreay deploy to mobile and some of you surely 
monetize there, I also still find too many hoops to jump through before I 
regard it as a viable platform.I certainly wish for a more optimized engine 
with syntax parity wherever possible. But with the current engine I would not 
bet my income on targeting on building liveCode apps for low end devices.

3 € cents (due to inflation)

All the best,

Malte
___
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: Active Directory...

2015-08-04 Thread Malte Brill
Thanks Matthias! I would have liked not to have to use Poewrshell (and modules 
I need to install for it)
@Trevor: This looks really good! I will have to try that as soon as I have set 
up my own Windows server. (Will try before at the customers place though)

All the best and thanks a lot!


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


Active Directory...

2015-08-01 Thread Malte Brill
Hi folks,

I need some help (again). Has anybody of you written something to read the 
active directory info under Win? I would need info on the user(s) and which 
groups they are in. Request is to have a log in system based on active 
directory entries. I am totally newbie when it comes to AD, so any help would 
be much appreciated.

All the best,

Malte



___
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-ish: Dreamhost and LiveCode?

2015-07-31 Thread Malte Brill
If this is governed via .httaccess it might be a bit tricky, as for one project 
you might not need font support, but for others you might need it. Would be 
better to be able to decide this at startup of the script IMHo. Not automatic 
searching, but maybe setting a property in the startup handler?

Cheers,

Malte


  Add an optional command line flag to turn off graphics initialization,
  including fonts.  I proposed using -g for this, similar to how we
  already have -ui for bypassing GUI initialization in the desktop engine.
 
 I'm for this. As developers, we are likely to know whether we need font 
 support or not. Adding a flag would be easy.

___
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


anyone else having trouble to get to livecode.com?

2015-07-23 Thread Malte Brill
Hi,

when I try to access livecode.com http://livecode.com/ I am getting a „too 
many redirects“ error. Is it just me or is it a general problem?

Best,

malte


___
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

Proxies driving me crazy...

2015-07-14 Thread Malte Brill
Hi all,

I just came back from a client where an app of mine is forced to either 
communicate through a proxy, or not, depending on the URL that is being 
provided.

While this used to work in previous versions of the engine under windows, it no 
longer does:

— quotes are taken over by email client. are always upper quotes
set the httpProxy to empty
get URL http://idonotneedaproxy.com http://idonotneedaproxy.com/“
set the httpProxy to tProxy — defined elsewhere and valid
get URL „http://ineedaproxy.com ttp://ineedaproxy.com“

With a (semi) current engine (6.7.3) this fails. it always tries to communicate 
through the proxy. However if I do something like this:

set the httpProxy to „127.0.0.1:80
get URL http://idonotneedaproxy.com http://idonotneedaproxy.com/“
set the httpProxy to empty
get URL http://idonotneedaproxy.com http://idonotneedaproxy.com/“
set the httpProxy to tProxy — defined elsewhere and valid
get URL „ ttp://ineedaproxy.comhttp://ineedaproxy.com“ 
http://ineedaproxy.com%e2%80%9c/

It works??? The first get with 127.0.0.1:80 as a proxy fails, but then the 
empty one works???

Can somebody please enlighten me why? I know some version of libURL introduced 
automatic picking up from the registry on Win, however that seems to fail, as 
the exceptions defined there are not honoured… This is really causing me a lot 
of lost hair.

Best,

Malte

___
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: Proxies driving me crazy...

2015-07-14 Thread Malte Brill
Hi Mike,

thanks for your reply.

I tried leaving it alone first. Then the engine picks up the proxy from 
somewhere but it does not pick up the exceptions it seems, at least not from 
the registry entry I looked at. Maybe I am looking at the wrong thing. It would 
be helpful if it were documented how it works. Maybe it is and I am unable to 
find that too... Setting to empty has no effect, unless I first do the 
127.0.0.1:80 thing which is rather strange. After that however, setting the 
proxy to empty works just fine, as if there was some magic switch that got 
triggered.

That said, I wonder why empty and an explicit proxy setting is not honoured. 
Clearly the machine does not do what I tell it. :-( Maybe empty confuses the 
automatic picking up, but then maybe we need a new keyword like none, so we can 
switch under scripted control…

The crux is I seldomly get access to the machines the software runs on, as this 
is a governmental institution and appointments shall be made with the almighty 
admin, who always is a little suspicios of the stuff that is executed on the 
machines…

*sigh*

Thanks anyway!

Malte
___
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 and speech to text on mobile devices

2015-06-13 Thread Malte Brill
Hi all,

I am currently pondering with an idea and would like some input. Has anybody of 
you used a livecode created app to dictate text into a field on a mobile 
device? If so, how straightforward was it? Any device / OS recommendations?

Thanks in advance,

Malte


___
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: Drag and Drop Linux, 7.0.5 64 Bit

2015-06-09 Thread Malte Brill
Now entered in quality: http://quality.runrev.com/show_bug.cgi?id=15482 
http://quality.runrev.com/show_bug.cgi?id=15482

Cheers,

Malte


___
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


Drag and Drop Linux, 7.0.5 64 Bit

2015-06-08 Thread Malte Brill
Hi,

did anyone of you get Drag and Drop to work in the 7.0.5 64-Bit Linux engine 
under Ubuntu 14.0.4 (LTS)?

If so I would be very interested in learning how.

Thanks a lot,

Malte



___
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: Drag and Drop Linux, 7.0.5 64 Bit

2015-06-08 Thread Malte Brill
Hi Richard,

 What issues are you seeing?

Not finished analyzing yet, but many.

No Indicator shown on dragStart
DragDrop doesn’t
dragMove not sent to group owning the target / not handable in group containing 
the target
dragEnter not handled properly

All in all either seriously broken, or some magical prerequisite missing??? :-)

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: Unused Methods

2015-06-06 Thread Malte Brill
Richard wrote:
 
 I haven't seen a language with a built-in function for finding orphaned 
 handlers across a code base

I always get jealous when I see the Java collegues work with eclipse…

Best,

Malte
___
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: AW: AW: How do you handle the poor performance of LC 7?

2015-05-30 Thread Malte Brill
 And thankfully, warts and all, none of the issues with LiveCode are 
 preventing Trevor, myself, and many others from shipping products made 
 with it.
Out of interest, how many of those have you moved to use the 7 engine?

I have no interest in lamenting here. I do admire the job that has been done 
since the kickstarter and all the new shiny stuff like widgets looks rather 
good. Still there are areas where 7 is just not ready for prime time. I guess 
we will get there, especially seeing how responsive the folks at RR are at the 
moment. The more importance I see in openly discussing the issues we encounter. 
I think it does not help to point out that the current state works for others. 
It is more helpful to try to help identifying the areas where there are issues 
which I believe aren’t that many anymore (sort, filter and maybe rendering 
speed on high density displays), however for a certain amount of apps being 
built that handful of things are real showstoppers.

Best,

Malte
___
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: AW: How do you handle the poor performance of LC 7?

2015-05-30 Thread Malte Brill
Hey Tiemo,

what does the xSortListe function do? What is rather funny that my real life 
problem childs are also revolving around a live search feature. It might well 
be that your speed issues (as mine) are related to the sorting part (if you do 
a sort). My approach is a little diffrent than yours, as I do have numeric keys 
in the array (and as numeric keys are not in stable order in an array I have 
(had) to sort those on each keystroke). 

To be fair towards 7, I have refactored quite a bit of my own code over the 
past weeks and now have scenarios where the performance impact is far less 
dramatic than it used to be. I just got around to test this yesterday and now 
see a speed loss of the 7 engine of 7 to 15% which is somewhat acceptable (not 
good, but acceptable). I had to jump through quite some hoops to get there 
though. The only upside is that stuff got significantly faster also in 6.7 so 
my users would see a general performance boost regardless the engine. That is 
something I can sell. This is speaking for my own software though. If I am in 
control of the budget all it costs is my time to refactor existing stuff and 
most of the times refactoring is my friend, as generally the code base gets 
better. If I am on the other side of my programming life, namely coding for 
other customers, it gets a lot harder to sell them on refactoring a couple of 
100 stacks, just to get them to the same speed with the newer engine, without 
(many) other benefits. ROI isn’t that appealing / existent for them there.

That said, I guess we need more real life things where the 7 and 8 engine is 
slower to hand over to the team, so many thanks you sent your stacks. As Mark 
said, the „laboratory“ benchmark tests do not appear to help as much as I would 
have thought in the first place. On the other hand it is rather difficult to 
send over complete projects if they require additional requisites (like a 
Database, or even worse a complete server) to demonstrate the issues. I must 
say the team has been most helpful there, so I really hope for the best.

Cheers,

Malte



___
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 do you handle the poor performance of LC 7?

2015-05-29 Thread Malte Brill
I set up a couple of benchmark stacks a while back:

http://forums.livecode.com/viewtopic.php?f=67t=22072 
http://forums.livecode.com/viewtopic.php?f=67t=22072

Bad thing was that the team wanted to see „real live scenarios“ (which most of 
my benchmark stacks are, just boiled down to the core of the problems as I 
found them). I was able to fly over to Edinburgh and discuss many of the 
problematic areas with the team. I guess the more „real live“ scenarios they 
see, the better as it might help find optimisations. Until the speed issues are 
resolved I am stuck with 6.7 for productive work, which is a shame because for 
one project I would urgently need to be able to support arabic RTL input. But I 
guess the old rule applies: First you make it work, then you make it fast. 
Impatiently waiting for the latter. :-)

Best,

Malte
___
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: Accursed backdrop

2015-05-27 Thread Malte Brill
Mark wrote
 You don't need a PC to run Windows or Linux - just Virtual Machines. 

While this is certainly true, if the users are anything like me they’ll tend to 
stay in the VMs host OS as much as possible and only leave the comfort zone to 
switch to a VM whenever it is necessary / unavoidable. I tend to stay in Mac OS 
when using a Mac and only switch to a VM to quickly test things. That is why I 
force myself to use different machines at least one day a week and do work on 
the respective OS. Doing that I see a lot more quirks in my stuff than when I 
only switch to the VM to verify stuff working.

2 cents,

Malte


___
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: Accursed backdrop

2015-05-26 Thread Malte Brill
I guess this is related to bug #13935

Best,

Malte


___
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


What is required nowadays to get through a Proxy

2015-05-26 Thread Malte Brill
Hi all,

I vaguely recall that there have been changes to libURL to handle Proxys. I 
also remember me fighting with those on Windows. As I now need to roll out an 
update to an app. I would like to know what is required to get through a Proxy 
on the different Desktop OSes. (knowing for mobile would not hurt either)

How does one best debug this? Where does one need to look, especially, but not 
limited to Windows (7)

All the best,

Malte



___
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] animationEngine now on gitHub

2015-05-19 Thread Malte Brill
For those who are interested...

https://github.com/derbrill/animationEngine 
https://github.com/derbrill/animationEngine

best,

Malte


___
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


Something like charIndex, but in a variable...

2015-04-30 Thread Malte Brill
Hi all,

I need to find the start and end character of chuncks in a variable. If we are 
in a field we can use charIndex for that. However, in a variable I have no good 
idea on how to do something similar to

get charIndex(token 7 of line 15 of field „myField“)


Any ideas?

All the best,

Malte


___
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

Something like charIndex, but in a variable...

2015-04-30 Thread Malte Brill
Hi all,

thanks for the replies so far.

The problem with both matchChunk and offset are, that they will return the 
first occurance of the literal. So in a text like this:


orange banana tomato
banana tomato orange
tomato banana orange

on mouseUp
   local temp,tChar
   put fld 1 into temp
   put offset(char 1 of word 2 of line 3 of temp,temp) into tChar
   set the backcolor of char tChar of fld 1 to red
end mouseUp

Will hilite the first b instead of the one on line 3.

@Mark: charIndex does not appear to be working on the templateField. And of 
course it is slower in 7… :-(

All the best,

Malte



___
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

Something like charIndex, but in a variable...

2015-04-30 Thread Malte Brill
Thanks for all the suggestions. Need some time to try them out. I really like 
Thierrys RegEx approach and the others look promissing too.

@Walt: In the real live Scenario I try to colorize Structured Data (e.G. XML, 
but others too). I need to walk through the whole dataset token by token and 
really have the token number I am interested in. I need to find the start and 
end position inside of the dataset (e.G. token 79 starts at char 400 and ends 
at 402). 
The datasets can potentially be huge. A field would add quite a bit of overhead 
here, which I am not necessariely keen on. :-)
Also the dataset *might* be that huge and to make it worse actually be on a 
single line, that a field would cut off some of the data, while a variable 
would not. 

Ultimate goal is to have a tiny text editor, that can colorize the data and 
point out where in the data it is potentionally malformed and ideally what the 
error is.

All the best,

Malte


___
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


Colorizing XML

2015-04-22 Thread Malte Brill
Hi,

I have the need to display XML and colorize it like for example Notepad++ does. 
Does anybody happen to have written a script that does this already?

All the best,

Malte


___
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] libDate on gitHub

2015-04-02 Thread Malte Brill
Monte: That is extremly interesting! I was not aware that the engine would load 
plain text files as a stack nowadays. Do you know when that was introduced? Do 
you know where I can find more information on that??

All the best and thanks a lot,

Malte



___
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] libDate on gitHub

2015-04-01 Thread Malte Brill
Hi all,

trying to get my feet wet with gitHub I have now created a repository for 
libDate.

https://github.com/derbrill/libdate

It remains released into the PD. :-)

Hope some of you find this useful.

All the best,

Malte

___
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: extracting the thumbnail from digital photos?

2015-01-30 Thread Malte Brill
Hi Al,

sorry to chime in late. I was on the road without any iNet access. The last 
iteration of the script including numToByte and setting the case sensitive to 
true indeed does work extracting the thumbnail image. And it is incredibly 
fast. :-) I still have troubles to see if there is no thumbnail in the image 
though. Need tto dig into that.

All the best and thanks again!

Malte


___
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: extracting the thumbnail from digital photos?

2015-01-22 Thread Malte Brill
Hi Al!

Thanks so much for taking the time to look into this and sorry for my late 
reply. I was on the road without any access to the interwebs the last 3 days. 

Looking at your script it makes a lot of sense, however, I can not get it to 
work if the images I have here. The resulting jpeg Data is 2 bytes long, so I 
do not get a no thumbnail answer, however, I not get a valid thumbnail either. 
Using an exif viewer I see that a thumbnail is embedded. Migth the SOI EOI 
markers be different depending on camera vendor?? If so, I will have to give up 
this idea. Not sure why it fails otherwise.

All the best and thanks again,

Malte


___
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


extracting the thumbnail from digital photos?

2015-01-18 Thread Malte Brill
Hi,

did anyone of you try to extract a thumbnail image from digital photos and use 
those in a liveCode app? Reason I am asking is that I want to display downsized 
versions of digital photos (many, average filesize 10MB) and sizing those down 
is not pracicable as things stand atm...


Did anybody code something like that already?

Best,

Malte


___
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: Re: extracting the thumbnail from digital photos?

2015-01-18 Thread Malte Brill
Hi Richard,

how exactly does this only extract the thumbnail portion of a huge (10 MB) 
photo from disk and use it in an image object?
(I guess I should have made myself clearer, I am talking about the thumbnail 
image that is stored in the EXIF data of the image). My problem is that it 
takes forever (Over a second) to load the huge file into an image object, 
sizing it down. Also when you have more than 3 or four, the whole application 
becomes unresponsive. So one would need to size the images down, export the 
thumbnail and then use the downsized version after clearing the big ones. Now 
as most modern cameras store a preview in the exif data, I was hoping I could 
just extract that somehow reading the binary (which should be significantly 
faster)...

All the best,

Malte


___
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: set the textstyle is dramatically slower on 7.0.1 than 5.5

2014-12-31 Thread Malte Brill
Hi Bernard,

I am afraid 7.x is quite a bit slower in many places...

see: http://forums.livecode.com/phpBB2/viewtopic.php?f=67t=22072

Most of this has to do with the rewrite of the engine I guess. Add the overhead 
for unicode... Boils down to I can not make the switch to 7.x just yet, before 
the dev team has found ways to optimize performance. If you find other areas 
where it is significantly slower, please do me a favour to set up a small 
benchmark and post it to the forums. The dev team and Richard as community 
manager are aware of that thread and as far as I understood actively looking 
into ways to optimize.

All the best,

Malte
___
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 debug exit on Signal 11 on Linux

2014-12-22 Thread Malte Brill
Hi all,

does somebody know how I can provide a useful log for an exit on Signal 11 
under Linux for a livecode app?

Thanks,

Malte


___
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 6.6.5 vs 6.7

2014-11-18 Thread Malte Brill
Bonjour Renè,

may I interest you in the benchmarking projekt which happens over here:

http://forums.livecode.com/phpBB2/viewtopic.php?f=67t=22072

It seems that tests on the things that slowed down for you might be very useful.

All the best,

Malte

___
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: Dreaming up a benchmarking suite of stacks

2014-11-10 Thread Malte Brill
Hi folks,

sorry I was quiet about this for a while. I really want / need to push the 
benchmarking forward. I made 2 initial stacks available here:

https://www.dropbox.com/sh/uspg0njkwdg7z6x/AABa-ybZ1E_BWIvFf_2O2PfGa?dl=0

If some / any of you want to help / participate I would be really glad. 
@Richard / Mats: Yes, I would be willing to take the lead in this project. A 
forum might be helpful. I also would like the mothership to give some attention 
/ feedback here, as the results of my first tests are rather shocking to me...

The simple datagrid Test on a Mac Core I7:

Time taken to prepare data: 211
Time taken to fill in data: 1749

Testing datagrid performance; engine version 7.0.1-rc-1
Time taken to prepare data: 953
Time taken to fill in data: 2835

The involved script:

on mouseUp
   local tData,tLog,tTest
   put Testing datagrid performance; engine versionthe version into tLog
   lock screen
   put the millisecs into tTest
   repeat with i=1 to 10
  put i  TAB  any word of mee moo maa muh TAB  the millisecs  cr 
after tData
   end repeat
   put cr  Time taken to prepare data:the millisecs - tTest after tLog
   put the millisecs into tTest
   set the dgText of grp datagrid to tData
   put cr  Time taken to fill in data:the millisecs - tTest after tLog
   put tLog into fld log
   unlock screen
end mouseUp

This is really really no good to have such an impact on performance. The real 
problem appears to be that it is an overall phenomenon. It appears the engine 
got slower in each and every aspect. Of course there is a price we have to pay 
for unicode, but also in other areas it got really quite a bit slower. So if 
there are some of you who want to help testing your special field of interest 
with the engine, I would really appreciate setting up a good test suite and 
maybe Richard could present the results to the mothership.

All the best,

Malte


 Hi all,
 
 inspired by a post by Geoff, I started thinking that it would be rather cool 
 to have a suite of stacks that lets us benchmark the performance of the 
 different engine versions. I started with a stack that benchmarks graphics 
 rendering performance using different settings. Unfortunately it crashes LC7 
 (http://quality.runrev.com/show_bug.cgi?id=13833 , already assigned). But I 
 think it would be a good idea to have a set of tests that benchmarks the 
 different aspects of the engine. Would anyone of you be willing to 
 participate in setting up such a testsuite and / or run tests on their 
 machines?
 
 All the best,
 
 Malte
 


___
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


Dreaming up a benchmarking suite of stacks

2014-10-28 Thread Malte Brill
Hi all,

inspired by a post by Geoff, I started thinking that it would be rather cool to 
have a suite of stacks that lets us benchmark the performance of the different 
engine versions. I started with a stack that benchmarks graphics rendering 
performance using different settings. Unfortunately it crashes LC7 
(http://quality.runrev.com/show_bug.cgi?id=13833 , already assigned). But I 
think it would be a good idea to have a set of tests that benchmarks the 
different aspects of the engine. Would anyone of you be willing to participate 
in setting up such a testsuite and / or run tests on their machines?

All the best,

Malte

___
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: User scroll direction preference

2014-09-30 Thread Malte Brill
Hi John,

you don't. The Os switches the rawKeyCodes if the preference is changed.

All the best,

Malte

 How do find out what the user preference is?

___
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: NOT using a proxy with 6.7 on Windows...

2014-09-05 Thread Malte Brill
Hi,

ok, this will be fun to debug :-(
What I found out is that the registry is used to make the machines aware of 
using the proxy. 

HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet 
Settings

This has two keys, one for the proxy and one for the exceptions. In the 
exceptions the entry for not using the proxy is 

ProxyOverride 10.*

Would it be helpful to use wireshark to record what happens?

All the best,

Malte



___
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


NOT using a proxy with 6.7 on Windows...

2014-09-02 Thread Malte Brill
Hey all,

anyone successfully *not* using a proxy with 6.7 DP9?
I have an application that needs to communicate with both LAN and WAN and 
therefor needs to switch between not using a Proxy (for LAN access) and using a 
proxy (for WAN access). It used to work fine up to 6.6.2 but with 6.7 DP9 it 
fails.

I used to set the httpProxy to empty for LAN access and to set it to the 
correct Proxy for WAN access. This no longer works on Windows.

Anyone else seeing something similar? Anyone got a workaround?

All the best,

Malte


___
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: Re: NOT using a proxy with 6.7 on Windows...

2014-09-02 Thread Malte Brill
Hey Trevor,

what exactly would be needed to troubleshoot?
As I do not own the machines this happens on and only can have limited access 
it will be a little tricky to get information. My suspition is that LC picks up 
the PROXY information from the registry (which did not work before my engine 
switch) and does this even if the HTTPProxy is set to empty by script...

All the best,

Malte
___
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] libDate update and help request

2014-08-01 Thread Malte Brill
Hi all,

some of you know that I have been working hard(ly) on a date handling library. 
I have put some more work into it, in order to get rid of the need to use 
convert. The library can now parse different date formats without the need to 
use convert and thus the limitations of the convert command (1970, 2036) can be 
overcome. There are some more extra goodies in there, even though some more 
work is needed. You can download the stack from the forums:

http://forums.livecode.com/viewtopic.php?f=16t=15752

I also posted a little call for help there. If you have set your OS to a 
language different from english, swedish or german, I would like to know the 
following on your machines:

the system dateFormat
the long system dateFormat
the abbrev system dateFormat
the system monthNames
the abbrev system monthNames
the system weekDayNames
the abbrev system weekDayNames

on your machines, along with the language you are using on your system and if 
possible the ISO code for that language? That would be a great help! I am aware 
that this would be too much for the lists, So a private mail, or post to the 
forums would be fine. I hope some of you will find libDate useful. It is 
released into the public domain under DBMIAGW (Don't blame Malte if anything 
goes wrong) license.

All the best,

Malte
___
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: Animation Engine: animating points in a polygon?

2014-05-14 Thread Malte Brill
Hey David,

the easing functions are your friend here. I am currently travelling, however I 
will make sure that I set up a little demo as soon as I am back.

To get you started, looking at aeEaseInOut

put aeEaseInOut(100,200,2000,500,2)

where 100 would be the x coordinate of the point at start of the animation,200 
the desired end coordinate, 2000 the duration of the animation in millisecs, 
500 the elapsed time in millisecs and 2 a parameter the formula needs to 
determine how strong the easing effect is taken into account. the result is a 
single value (112.5 in this case), so that would be where the x coordinate of 
the point would need to be after 500 millisecs have passed. This may sound a 
tad bit confusing now, however as soon as I am back home I will set up a demo 
stack (and maybe add something to AE that handles pointlist transformation over 
time ;-) )


Best,

Malte


___
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: I lost my property inspector

2014-04-30 Thread Malte Brill
Hi Dar,

sounds like the IDE is running into an error and hiding it from you. Have you 
tried

put true into gRevDevelopment

from the messagebox already? That might bring up some hints.

Best,

Malte
___
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: A weird bug/occurrence

2014-04-09 Thread Malte Brill
Hi Geoff,

I happen to see disappearing controls in a standalone from time to time. The 
funny thing is that a white rectangle seems to be drawn in the space where the 
control should be. Did you happen to report this as a bug already?

All the best,

Malte
___
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.6

2014-03-23 Thread Malte Brill
Hi Peter!

no, you are not alone. I have pretty much given up on my Linux endevours until 
the point we see a 64 Bit engine, not only with working with the IDE under 
Linux, but also in claiming to suppor Linux for my products. Too many hoops to 
jump through and with the vanishing of ia32 I have no desire to be the one who 
has to support my customers in the installing.

Best,

Malte

 I cannot be alone in having this issue surely?  Well, maybe

___
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


Linux 64 Bit builds

2014-03-12 Thread Malte Brill
Hi all,

does anybody know what the status of Linux 64 Bit builts is? It is becoming 
more and more difficult to install the 32 Bit compatibility layer. I think 
there has been quite a bit of work done on that, however it seems not yet 
possible to build a 64 Bit version.

Also, can anybody point out the requirements for running liveCode under Linux? 
I have a puzzling situation, where on a vanilla UBUNTU 13.x install text is not 
rendered and the gui is semi transparent. Anyone else seen that? I guess I just 
miss some library on the UBUNTU install, but can not figure out which.

Best,

Malte
___
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: rIDE

2014-02-17 Thread Malte Brill
Hey Colin,

scaleFactor is my fault. rIDE carries animationEngine with it for demo 
purposes. A fixed version of animationEngine will be uploaded tonight.

Cheers,

Malte


___
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] animationEngine 5.1

2014-02-17 Thread Malte Brill
Hi all,

I am pleased to announce the immediate availability of animationEngine 5.1

http://www.derbrill.de/animationEngine/animationEngine5.1.zip

This is a free maintenance release that fixes problems running AE in liveCode 
6.6. On top of that we have the first user contribution by Geoff Canyon in this 
release (thank you very much Geoff). He added commands for 3d point lists.

rotate3DPointList pointList,pXRotation,pYRotation,pZRotation,pFocalLength
and
ae3dConvertListToScreen pointList,pOriginX,pOriginY,pFocalLength


Also a long standing issue with the collision listener has been fixed.

All the best,

Malte


___
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


animationEngine and LC 6.6

2014-02-14 Thread Malte Brill
Hi all,

just a quick head up about animationEngine support for 6.6.

Currently the animationEngine Script will not compile on LC 6.6, due to the use 
of the now reserved keyword scalefactor. This will be fixed in due course.

All the best,

Malte


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