RSYNC still uses MD5 and...

2017-02-28 Thread Alejandro Tejada via use-livecode
RSYNC would be a nice and useful addition to LiveCode engine. https://en.wikipedia.org/wiki/Rsync Could RSYNC be implemented fast enough using only LiveCode scripts? Al ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Dragging widgets

2017-02-28 Thread Sannyasin Brahmanathaswami via use-livecode
@ Bob: Right: not meant to criticize, but hopefully constructive observation about a specific issue… that's how we evolve, right? "just sayin" that to the eyes of the user (as Quentin said) a widget is a visual object/control on screen, like any other, the expectation that they can enter

Re: Is it just the IDE that crashes, or are standalone at risk?

2017-02-28 Thread Dr. Hawkins via use-livecode
On Tue, Feb 28, 2017 at 2:33 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > My IDE was "crashing" but I traced it to an obscure infinite loop I > inadvertently created, by creating a handler, which triggered something in > a datagrid behavior which automatically called

Re: Dragging widgets

2017-02-28 Thread Bob Sneidar via use-livecode
As to that, everything you do on a computer, INCLUDING typing code, is an illusion. A DOS prompt is an illusion in it's own right. So is a light bulb on a panel that was turned on by some signal from a computing device. All a computer can really do is move numbers from one register to another

Re: Image Manipulation by javascript/HTML5 using a widget

2017-02-28 Thread Jonathan Lynch via use-livecode
Hi hh, Thank you. There's a whole ton of javascript libraries out there that allow some great effects. I have not yet learned webgl, but I know we could do some very cool warps with it. I don't have much knowledge in that area, but I look forward to all the stuff that you and others with a

Re: Is it just the IDE that crashes, or are standalone at risk?

2017-02-28 Thread Richmond Mathewson via use-livecode
I don't know which platform you are deploying either the IDE or standalones on; but I currently use: 6.1.something and standalones on Mac OS 10.5.8 PPC 7.1.4, 8.1.3, 9.0.0 DP-4 andstandalones on Mac OS 10.7.5, 8.1.3 standalones on ReactOS 5 pre-release (!), 7.1.4, 8.1.3, 9.0.0 DP-5

Re: Is it just the IDE that crashes, or are standalone at risk?

2017-02-28 Thread Bob Sneidar via use-livecode
My IDE was "crashing" but I traced it to an obscure infinite loop I inadvertently created, by creating a handler, which triggered something in a datagrid behavior which automatically called the original handler. It was a beatch to find. I believe that LC may detect these infinite loops (by the

Re: Dragging widgets

2017-02-28 Thread Richmond Mathewson via use-livecode
Indeed: On 2/28/17 11:27 pm, Quentin Long via use-livecode wrote: On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode wrote: an image is an image is an image, whether it is png, bitmap, jpg or svg, the fact that is is a "widget" is secondary

Is it just the IDE that crashes, or are standalone at risk?

2017-02-28 Thread Dr. Hawkins via use-livecode
As I'm about to send this out to people, I've had a horrible thought: Is it just the IDE that crashes on a regular basis, or do standalones crash just as often? *shudder* -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list

Re: Image Manipulation by javascript/HTML5 using a widget

2017-02-28 Thread hh via use-livecode
Roger E. wrote: > Sounds very cool! Where is the download link? Use "Sample Stacks" in the LC toolbar (Sort descending by date) or (slower) http://livecodeshare.runrev.com/ (at top if sorted by 'Newest') ___ use-livecode mailing list

Re: Image Manipulation by javascript/HTML5 using a widget

2017-02-28 Thread Roger Eller via use-livecode
Sounds very cool! Where is the download link? On Tue, Feb 28, 2017 at 4:53 PM, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > > There is a new sample stack by Jonathan Lynch called > "Browser Widget Image Manipulator". > This name could lead to underestimate a bit this

Image Manipulation by javascript/HTML5 using a widget

2017-02-28 Thread hh via use-livecode
Hi all. There is a new sample stack by Jonathan Lynch called "Browser Widget Image Manipulator". This name could lead to underestimate a bit this stack. That's why I would like to point to it. This is a real clever solution, short and practicable. It uses the image manipulation possibilities of

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Bob Sneidar via use-livecode
NVM I'm a moron. It's there but I overlooked it. Bob S > On Feb 28, 2017, at 12:27 , Richard Gaskin via use-livecode > wrote: > > I had written "shaONEdigest" only to draw attention to the "1" ("ONE"), just > in case you'd tried "l" ("L") instead. > > It's

Re: The selectedText for controls without focus

2017-02-28 Thread Bob Sneidar via use-livecode
Richard that script snippet actually helped me solve a different problem. I remember now why I was using traversalOn instead of lockText. I have certain fields I do not want users to edit, so I set the lockText to true. I then have a handler called enableForm that enables every field and button

Re: Dragging widgets

2017-02-28 Thread Quentin Long via use-livecode
> > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode > > wrote: > > an image is an image is an image, whether it is png, bitmap, jpg or svg, > > the fact that is is a "widget" is secondary to the use case. > > sez Bob Sneidar

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: >> On Feb 28, 2017, at 09:33 , Richard Gaskin wrote: >> Bob Sneidar wrote: >> >> > I cannot find a function called sha1digest in the LC library. >> >> It's sha-ONE-digest, and it's been around for a while so it should >> be there. >> > > I search for SHA in the dictionary,

Re: Dragging widgets

2017-02-28 Thread Richmond Mathewson via use-livecode
Thank you for all the suggestions. I wnent for grouping the widget and the dragging the group. I have used this in the most recent version of my Turtle Graphics stack that I uploaded about 30 minutes ago: http://forums.livecode.com/viewtopic.php?f=8=28898 However, the inconsistency between

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Phil Davis via use-livecode
One thing I discovered just now: the items listed in the API tab of the Dictionary are not necessarily in alphabetic order by default. I discovered it by typing 'sh' into the Filter box and looking at the list, top to bottom. Things weren't where I expected them to be! After I clicked the

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Phil Davis via use-livecode
However, this works: put sha1Digest("dfgdfgdghgdhfgh") So we know it's there. FWIW - Phil Davis On 2/28/17 11:05 AM, Bob Sneidar via use-livecode wrote: I search for SHA in the dictionary, nada. I type sha1digest in to a script, right click it, nada. I type shaONEdigest in a script,

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Mark Wieder via use-livecode
On 02/28/2017 11:05 AM, Bob Sneidar via use-livecode wrote: I search for SHA in the dictionary, nada. It's in the dictionary. Maybe you have a filter enabled that's masking it? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: Dragging widgets

2017-02-28 Thread hh via use-livecode
> Richmond wrote: > So . . . can any one tell me how to effect a "grab" (which is the same > whether with a PNG image, a button or a graphic object) with a widget? There is one way that is acting similar to a "grab": Put the following into your card's script. Works for widgets and any 'usual'

Re: Calendar widget does not work in LC 9 dp5

2017-02-28 Thread Klaus major-k via use-livecode
Hi Bob, > Am 28.02.2017 um 20:14 schrieb Bob Sneidar via use-livecode > : > > I remember a post about widgets compiled in one version not being compatible > with another version. There is a procedure for correcting this, but I do not > recall off the top of my

Re: Calendar widget does not work in LC 9 dp5

2017-02-28 Thread Bob Sneidar via use-livecode
I remember a post about widgets compiled in one version not being compatible with another version. There is a procedure for correcting this, but I do not recall off the top of my head. I think it involves removing the widget, finding the widget file, opening and resaving it in the newer version

Re: Dragging widgets

2017-02-28 Thread Randy Hengst via use-livecode
I’ve not messed with widgets at all… but, with graphics in this situation I would either put on mouseDown grab me end mouseDown in the group script… OR put on mouseDown grab the owner of me end mouseDown in the script of each object within the group. be well, randy > On Feb 28,

Re: The selectedText for controls without focus

2017-02-28 Thread Bob Sneidar via use-livecode
Oh right you are! The thing that was throwing me is double-clicking does not work, but I can triple click and it selects the whole chalupa and I can copy it. I can also drag select. This will work. Bob S > On Feb 28, 2017, at 10:52 , J. Landman Gay via use-livecode >

Calendar widget does not work in LC 9 dp5

2017-02-28 Thread Klaus major-k via use-livecode
Hi friends, yesterday I opened the "Widget store" in LC and installed the "Calendar widget" without any errors in LC 9 dp5. But when I drag a calendar onto my card, there i only an empty rectangle where the calendar is supposed to be. Any hints why this does not work? Or SHOULD it work? If

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Bob Sneidar via use-livecode
I search for SHA in the dictionary, nada. I type sha1digest in to a script, right click it, nada. I type shaONEdigest in a script, right click it, nada. Bob S > On Feb 28, 2017, at 09:33 , Richard Gaskin via use-livecode > wrote: > > Bob Sneidar wrote: > > >

Re: Dragging widgets

2017-02-28 Thread Richmond Mathewson via use-livecode
I tried grouping my SVG widget, and that allows me to drag the group: on mouseDown grab me end mouseDown HOWEVER, when I wish to move the SVG widget itself it vanishs as it moves outwith the boundaries of the group. NOW: whether I can group my "Turtle" SVG widget and then have my Turtle

Re: The selectedText for controls without focus

2017-02-28 Thread J. Landman Gay via use-livecode
On 2/28/17 9:58 AM, Bob Sneidar via use-livecode wrote: I just think that LC should work like virtually every other forms based app I've ever used, where being editable is not a prerequisite for copying text. Did you try the field settings I suggested? It does work, it's already built-in:

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I cannot find a function called sha1digest in the LC library. It's sha-ONE-digest, and it's been around for a while so it should be there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

the screenpixelscale on Microsoft SurfaceBook?

2017-02-28 Thread Trevor DeVore via use-livecode
Does anyone have access to a Microsoft SurfaceBook with an Intel HD 520 card at 3000x2000 running the latest version of Windows 10? If so can you tell me what LiveCode 8 reports for the screenPixelScale property if the display scaling is set to 200% or 150%? I had a bug report today that makes me

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
It seems it´s not a problem with non-ascii in general. If i first put the content of the file, which i want to upload and which contains non-ascii chars in its filename, into a variable and urlencode the filename of the target file, then i am able to upload the file using "liburlftpupload

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread J. Landman Gay via use-livecode
Maybe textDecode(filename) would work. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 28, 2017 10:01:47 AM Matthias Rebbe via use-livecode wrote: Am 28.02.2017

Re: Dragging widgets

2017-02-28 Thread Mike Bonner via use-livecode
Sounds like the widget needs to be tweaked to allow for dragging. Its over my head, if someone with a clue could do the modification and explain it, I'd really appreciate the lesson. On Mon, Feb 27, 2017 at 5:36 AM, Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > I have a

Re: Dragging widgets

2017-02-28 Thread Paul Hibbert via use-livecode
I would really love to see LC’s image handling improved, not just for SVG, although that would be a huge bonus, but for raster images too. I would happily put money into crowdfunding for this, provided the promises were kept of course. Anyway, this is probably not the answer you are looking

Re: The selectedText for controls without focus

2017-02-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > On Feb 24, 2017, at 22:09 , Richard Gaskin wrote: >> >> on rawkeydown k >> if k = 99 then >> if the commandKey is "down" then copy >> end if >> end rawkeydown > > For that matter I could just check the status of the "state" property > (view | new | edit) to

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
> Am 28.02.2017 um 16:36 schrieb Bob Sneidar via use-livecode > >: > > Is the need because the files already exist, or is it because you cannot > control the source of the files? If possible, the files should probably be >

Re: The selectedText for controls without focus

2017-02-28 Thread Bob Sneidar via use-livecode
For that matter I could just check the status of the "state" property (view | new | edit) to allow/disallow editing. Not saying there are not workarounds. I just think that LC should work like virtually every other forms based app I've ever used, where being editable is not a prerequisite for

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Bob Sneidar via use-livecode
err... This does not work. I cannot find a function called sha1digest in the LC library. Bob S > On Feb 27, 2017, at 02:49 , Peter TB Brett via use-livecode > wrote: > > Or, in LiveCode: > >function HmacSha1(pKey, pData) >return sha1digest(pKey &

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Bob Sneidar via use-livecode
Thanks for that Peter! I've been thinking about a way to encrypt data for storage in database systems for things like passwords and server credentials. Now to figure out how to decrypt it... Bob S > On Feb 27, 2017, at 02:49 , Peter TB Brett via use-livecode >

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-28 Thread Bob Sneidar via use-livecode
Only in hushed whispers. Bob S > On Feb 27, 2017, at 01:40 , Simon Knight via use-livecode > wrote: > > Thanks for the decode - I did wonder why the forerunner of the CIA was being > talked about ;-) > > OSS - Office of Strategic Services > > Simon > >

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-28 Thread Bob Sneidar via use-livecode
Well in this context, Sardines is definitely out. Bob S > On Feb 26, 2017, at 05:24 , Simon Knight via use-livecode > wrote: > > I try and follow these threads but please take care with the use of > abbreviations / acronyms. Some I’ve worked out others I’ve

Re: Dragging widgets

2017-02-28 Thread Bob Sneidar via use-livecode
oh contraire. Not all images are the same. Support for each kind of image has to be implemented. If the industry developed a new kind of image, LC would be faced with incorporating that format. Bob S > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode >

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Bob Sneidar via use-livecode
Is the need because the files already exist, or is it because you cannot control the source of the files? If possible, the files should probably be renamed on the other end to make them "compatible" with all file systems. If not, then maybe urlEncode/urlDecode or the ISO functions may work for

Re: Dragging widgets

2017-02-28 Thread Sannyasin Brahmanathaswami via use-livecode
You are not wrong. SVG *is* an image and ideally, should behave like any graphic object. Also, for the sake of LC future: These are the kind of things that make newbies "run away" from the product.. because they expect things to work, but they don't, the frustration level can be severe an

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Dr. Hawkins via use-livecode
On Tue, Feb 28, 2017 at 4:07 AM, Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > Because i do not like spaces in URLs. I know, that i could replace it with > %20, but i prefer “_” instead. > I live by the adage that *any* punctuation in a filename other than space or

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-28 Thread Sannyasin Brahmanathaswami via use-livecode
Atom is nice, true, but I had a license for ST2 from 2014 and it worked! plus "multiple cursors" and related multi-line handling is awesome, I not seeing that in Atom (maybe there is a package for that…) but, keep us posted on a syntax package updates. On 2/28/17, 4:18 AM, "use-livecode

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-28 Thread Mike Kerner via use-livecode
ST3 is "annoy ware" - it will bug you to register and pay, but you don't have to. I've been working on the indent rules, and have discovered that Atom is almost like a prettier version of ST3. After I have this working in ST3, I'm going to go back to Atom and fix them over there. Even the python

Re: Dragging widgets

2017-02-28 Thread Richmond Mathewson via use-livecode
I have mentioned several times how I would like SVG import to be as simple as PNG import, and all handling subsequently as simple as other image formats. I suspect the price of being able to rotate SVG images (set the angle) in a way which means they don't go "all fuzzy" is that they cannot be

Re: Dragging widgets

2017-02-28 Thread Graham Samuel via use-livecode
I think that some people (like me and very possible Richmond) want to use SVG graphics as effortlessly-resized images. In this context, we don’t really care to think of them as widgets at all (I hope Richmond agrees!). What we want is a class of images which are implemented as SVGs but which

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
Thanks Simon, but this does not fix the problem. > Am 28.02.2017 um 10:59 schrieb Simon Knight via use-livecode > >: > > Hi > > First I am not sure why your code replaces spaces with underscores in tFile. > Because i do not

Re: Where did the cErrorsList go?

2017-02-28 Thread Mike Bonner via use-livecode
I found it by digging through the scripts of ide stacks. (I first looked for stacks with "error" in the name, but ended up finding it in the revidelibrary stack. There is a function "revIDELookupError()" that had the needed code.) On Tue, Feb 28, 2017 at 4:20 AM, panagiotis merakos via

Re: Where did the cErrorsList go?

2017-02-28 Thread panagiotis merakos via use-livecode
Thanks for you comment Ben. BTW there is a dictionary entry for the "scriptExecutionErrors" in LC 9 DP-5. We probably have to backport it into LC 8.1.x. On Tue, Feb 28, 2017 at 11:08 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks for pointing that out Panos,

Re: Where did the cErrorsList go?

2017-02-28 Thread Ben Rubinstein via use-livecode
Thanks for pointing that out Panos, I've added the additional issues in the dictionary to that report. Ben On 28/02/2017 11:02, panagiotis merakos via use-livecode wrote: Hi all, There is a bug report about this issue: http://quality.livecode.com/show_bug.cgi?id=19171 Best, Panos -- On

Re: Where did the cErrorsList go?

2017-02-28 Thread panagiotis merakos via use-livecode
Hi all, There is a bug report about this issue: http://quality.livecode.com/show_bug.cgi?id=19171 Best, Panos -- On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Thierry and Mike! That's it. And better than the old approach. >

Re: Where did the cErrorsList go?

2017-02-28 Thread Ben Rubinstein via use-livecode
Thanks Thierry and Mike! That's it. And better than the old approach. How do you know about this? AFAICT it isn't listed in the dictionary anywhere (whereas the old approach is still recommended). I'll report a docs snag. thanks, Ben On 27/02/2017 17:36, Mike Bonner via use-livecode wrote:

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Simon Knight via use-livecode
Hi First I am not sure why your code replaces spaces with underscores in tFile. Next I have an application that displays lists of filenames in a folder. The user clicks on a filename and it is displayed in a browser object on the card. In order to get this to work I had to convert the

FTP file upload with non-ascii characters in filename

2017-02-28 Thread Matthias Rebbe via use-livecode
Hi, i need to upload files with non-ascii characters in the filename and this has to work on Win and Mac OS X. My script works fine when uploading files with ascii filenames, but as soon as i select a file with non-ascii characters in its filename i get an error What do i have to do with the