Re: Animation Engine: speed tips

2020-06-28 Thread Malte Pfaff-Brill via use-livecode
Hi, off it. might be worth digging into AEs source and change the handlers from using cProps to local variables. Also, there might be unnecessary instances. of locking / unlocking screen that. should be refactored in AE. If anyone is going to take that up I’d be happy iff you shared your patc

Re: Animation Engine: speed tips

2020-06-29 Thread Malte Pfaff-Brill via use-livecode
Hey Alex, Public Domain it is. I’ve set it free couple. of years back, as I am essentially no longer writing code. :-) Still following LiveCodes progress with interest though. :-) Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev

export a stack and recreate it it by script

2021-09-15 Thread Malte Pfaff-Brill via use-livecode
Hi, I have been lurking for a while and do not really write code anymore. However, I am in a situation, where I need to maintain a very old project, that consists of a large(ish) collection of stacks that is crashing frequently with newer engine versions.My suspicion is that it is due to eith

Re: Has Anyone Got A Directory \"Walker\" Available

2018-05-06 Thread Malte Pfaff-Brill via use-livecode
I wonder if shelling out to DIR on Windows and LS on Linux/Mac wouldn’t be the fastest option… Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pre

Creating a PSD from Livecode Script?

2018-06-03 Thread Malte Pfaff-Brill via use-livecode
Hi All! I would like to be able to create a Photoshop (layered, preferably also with Layer groups) .psd file from LiveCode Script, using image data in a stack. Has anybody of you tried that before or might know how to get started? Any pointers much appreciated. Cheers, Malte

Re: Creating a PSD from Livecode Script?

2018-06-03 Thread Malte Pfaff-Brill via use-livecode
Hi Tom, > could a command line call to another program like image magic save you a > bunch of work? I guess so. Never did that either though. :-) Any experts in that area? Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Data in Custom properties

2018-06-21 Thread Malte Pfaff-Brill via use-livecode
Hi all, I am a little bit puzzled. a stack I started way back in engine 4.x always had a custom property set with multiple UTF8 encoded strings. Those were transferred just fine from Mc to PC and the UTF8 strings remained intact. Somewhere down the road something seems to have changed. When

Writing to SMB Share?

2018-08-10 Thread Malte Pfaff-Brill via use-livecode
Hi folks, Is it possible to write to an SMB share which requires User authentication from within liveCode (Domain/User/password)? If so, I am glad for any pointers! Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: Surprise...

2018-08-20 Thread Malte Pfaff-Brill via use-livecode
Hi jbv, Same boat… And it is not the repeat variant has increased, but array access slowed down (a lot) a while back I was doing benchmarks on this. Thread should still be buried somewhere here. As not many jumped on the problems I faced with array access, I somewhat gave up, which is a bumme

Up to date installation guide for LiveCode community server?

2018-09-02 Thread Malte Pfaff-Brill via use-livecode
Hi all, I am currently searching for an up to date installation guide for live code community server. For at least Linux 64 Bit and Windows Servers. What I was able to dig up on the liveCode sites is rather outdated. :-( Also, is it allowed to add the jSon externals to a community server? Techn

Up to date installation guide for LiveCode community server?

2018-09-02 Thread Malte Pfaff-Brill via use-livecode
@Mark: Thanks, will do. @Richard: I am not facing any trouble, but have to provide an installation guide for 3rd parties that would like to run an open source project I steward. The problem with the current documentation I dug up is that it appears to be written for apache <2.2. And that the act

[ANN] animationEngine is free now

2018-09-28 Thread Malte Pfaff-Brill via use-livecode
Hi List, Just a quick announcement. I put animationEngine into the public domain today. No code changes, just a change of license. It is now free as in beer as well as free as in OSS terms. No more GPL3 restrictions, actually no restrictions at all. It is still listed as paid Software in the

Re: [ANN] animationEngine is free now

2018-10-02 Thread Malte Pfaff-Brill via use-livecode
Hey all! Thanks for the kind words! And please excuse I did not reply earlier. Rather busy setting up the Promo stuff at the moment. I’ll surely keep lurking on the lists. :-) There still will be an OSS project I am stewarding using liveCode, so I'll be in the boat for a while. I just feel tha

[OT] My Kickstarter is live

2018-10-05 Thread Malte Pfaff-Brill via use-livecode
Hi list! As some of you have asked, here is the link to my Kickstarter campaign. https://www.kickstarter.com/projects/1283741654/puppet-prototyper If you go looking, you can see the fat man making a fool out of himself in the

Re: Widget imageWidget_v110

2018-10-20 Thread Malte Pfaff-Brill via use-livecode
Hey HH! 1) This is amazingly fast! 2) Where do I put the money for the help fund? 3) How does LCB compare to JS speed wise? 4) Thanks so much for all your contributions!!! Cheers! Malte! ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

.PID file in C:\Users\*\AppData\Local\._LiveCode_\

2018-11-12 Thread Malte Pfaff-Brill via use-livecode
Hi, Does anybody know what causes files to be created in C:\Users\*\AppData\Local\._LiveCode_\ for a standalone under Windows 7? Does this have something to do with the creation of UUIDs? Can the creation of those files be avoided? Cheers! Malte __

Re: Re: .PID file in C:\Users\*\AppData\Local\._LiveCode_\

2018-11-12 Thread Malte Pfaff-Brill via use-livecode
Thanks Andre! I guess I will have to wait for someone from the mothership to join in then. :-/ I am currently trying to get the OSS project I am stewarding approved by a governmental agency and those files might be a showstopper, as I am not supposed to leave traces in the system, besides certai

Refactoring is your friend / moving from 6.x to 9.x

2018-12-30 Thread Malte Pfaff-Brill via use-livecode
Hi list, I finally found the time to test / move one of my old projects from the 6.x (started in 3.x) to the 9.x engine. At first I was very very disappointed about performance. The stack was somewhat between acceptable and snappy in the 6.x engine series, rather unusable on 8 and on 9. This ba

Re: Refactoring is your friend / moving from 6.x to 9.x

2018-12-30 Thread Malte Pfaff-Brill via use-livecode
Hi Kaveh, Thanks for the kind words. :-) Regarding lock screen, here is one simple example: on mouseUp lock screen subhandler unlock screen answer the lockscreen end mouseUp on subhandler lock screen — other stuff may follow, but do not unlock en

Re: Refactoring is your friend / moving from 6.x to 9.x

2018-12-30 Thread Malte Pfaff-Brill via use-livecode
Hey Mark, At least it is behaviour that changed between engine releases. :-) Thinking of a counter here is a good way to describe the behaviour, however, it is not what is written in the dictionary. "unlock screen Sets the lockScreen property to false, updating the screen and displaying any c

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-03 Thread Malte Pfaff-Brill via use-livecode
It might be that I stand corrected for the behaviour of lock / unlock screen. But then I also stand puzzled on the effect it has between engines. Same code which redrew the screen within 2.5 seconds on the 5.x series took 11 secs in 8/9. After debugging libraries. Being used to make sure that loc

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-04 Thread Malte Pfaff-Brill via use-livecode
> Of course, the latter is making the assumption that > Malte has a Retina mac... Indeed he has (now and did not back in the days where the app was written) Actually I did not expect this thread to turn into philosophical discussions. What I was searching for was input on gotchas you guys and

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Malte Pfaff-Brill via use-livecode
Hi Richard, >I didn't see Malte's mention of PDF in the post that began this thread, While that is true, but I am actually (as stated) keen to learn about everything that could be a gotcha when transitioning from the old engine to the latest, so this is welcome input. Also Marks mention of TAB

Re: Refactoring is your friend / moving from 6.x to 9.x

2019-01-06 Thread Malte Pfaff-Brill via use-livecode
And of course, please also be vocal on the positives!!! Old engine Mac: Hi res images were a problem to render (for whatever reason, I had to use video player instead of image object to display those images). Limitations here have been lifted which for me is a very pleasant change! Cheers, Mal

Re: Checking xml string

2019-01-09 Thread Malte Pfaff-Brill via use-livecode
Hi JBV, actually is valid in XML and is the short form of Do you get parsing errors? Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences

Re: Checking xml string

2019-01-09 Thread Malte Pfaff-Brill via use-livecode
Sorry, Was thinking Going into submarine mode again… Nothing to see here. ___ 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/ma

Re: common code patterns

2017-08-10 Thread Malte Pfaff-Brill via use-livecode
Hi Monte, What I do way too often is combining all parameters of a function in a string and then split them up again as needed e.g.: repeat with i=1 to paramcount() if ihttp://lists.runrev.com/mailman/listinfo/use-livecode

Re: common code patterns

2017-08-11 Thread Malte Pfaff-Brill via use-livecode
HI Alex, > put param(1) into isLeft > put param(2) into isTop > etc. > > This always has fewer lines (i.e. the same number of lines as the > "recombine" part), and removes the loop completely. > But would change the way the functions are intended to be able to called. myFunction(the loc of con

Foreign Handlers - Builder?

2017-08-14 Thread Malte Pfaff-Brill via use-livecode
Hi all, I am in a situation where a LC desktop application needs to talk to an external USB device (a sophisticated card reader). Drivers for Win, Mac and Linux exists and are delivered without much of documentation with the device… Is it already possible to elevate the drivers methods to a live

How to debug a hard crash of a windows standalone nowadays?

2017-09-18 Thread Malte Pfaff-Brill via use-livecode
Hi Folks, I have a windows standalone that has been moved from 6 to 8 crashing reliably (only the standalone). How do we debug situations like this nowadays? I vaguely recall there was a crash report external back in the day, but I do not remember. Any pointers? Cheers, Malte

Re: Atkinson dither algorithm

2017-10-07 Thread Malte Pfaff-Brill via use-livecode
Hi Al, I already posted on the forums, but for completeness also here: a lot can be done by replacing repeat with with repeat for each where you can. --repeat with i = 1 to the number of words of fldhexa3 -- put 00 & word i of fldhexa3 & word i of fldhexa3 & word i of fldhexa3 aft

Re: libURLLast/xx/headers on mobile?

2017-10-13 Thread Malte Pfaff-Brill via use-livecode
> Unfortunately it seems that libURLLastHTTPHeaders() and libURLLastRHHeaders() > aren't available on mobile. Same goes for the server engine, I could also use it in the server engine, but did not get around to make this a project to let be implemented by the mothership (of course paying for the

Put URL into variable and textEncoding

2018-02-11 Thread Malte Pfaff-Brill via use-livecode
Hi, I am a little bit puzzled at the moment. When I am using Put URL „http://www.some/service/endpoint “ into tVariable and the content is UTF-8 encoded I vaguely recall I had to textDecode it to display it correctly in a field afterwards. Did this change? I

Re: LiveCode Widget Factory

2018-02-22 Thread Malte Pfaff-Brill via use-livecode
TL;DR will we be able to use those commercial widgets in an open source context? If so, which license would fit? Hey Todd, Hoping not to waste your time here. This might be a long mail and I am unsure if I am to hit the send button at all. Having had one too many this evening I finally find so

Re: Server Installation

2017-06-17 Thread Malte Pfaff-Brill via use-livecode
Richard wrote: > If someone has time to write a bash script that would be cool, though > perhaps distro- and maybe even version-specific. With bash you could > download the latest LC Server, unzip it, enable CGI on Apache, alter the > relevant Apache config to use LC Server for ".lc" files, an

Re: I need a "slider" in a circle

2017-07-04 Thread Malte Pfaff-Brill via use-livecode
Hi Todd, I found my slides to the 2013 liveCode conference, where I did circle sliders using animation engine. If that is of interest, let me know. Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: modal window = block handler?

2017-07-09 Thread Malte Pfaff-Brill via use-livecode
Out of curiosity: Is this on a Mac? Do you have Spotify open? http://quality.livecode.com/show_bug.cgi?id=14275 Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: use-livecode Digest, Vol 167, Issue 7

2017-08-02 Thread Malte Pfaff-Brill via use-livecode
Mark wrote: I strongly suspect Malte's animationEngine does this 'correctly' for this case as it was designed with this kind of use case in mind. Good thing: Due to the Dual license nature anyone who might want to have a peek ___ use-livecode mailing l

Re: Points of Graphic Oval

2017-08-02 Thread Malte Pfaff-Brill via use-livecode
Haha… Fun of having one of those touch bars on top of the keyboard and sausage-fingers… ->Not a good combo... Mark wrote: I strongly suspect Malte's animationEngine does this 'correctly' for this case as it was designed with this kind of use case in mind. Good thing: Due to the Dual license na