Re: write data to an XML file

2016-09-05 Thread Matthias Rebbe
Thanks Colin.

I needed to process the xml with livecode server and tried that function 
already, but only the values were shown in the browser and not the structured 
xml file.
I forgot that the browser “renders” (or how is that called)  the xml tags.
Writing it to a file gives me the complete xml structure.


Matthias Rebbe
Bramkampsieke 13
32312 Lübbecke
Tel +49 5741 31
+49 160 5504462
Fax: +49 5741 310002
eMail: matth...@m-r-d.de 

BR5 Konverter - BR5 -> MP3 
> Am 05.09.2016 um 23:31 schrieb Colin Holgate :
> 
> See if revXMLText in the dictionary will do what you need.
> 
> 
>> On Sep 5, 2016, at 1:59 PM, Matthias Rebbe 
>>  wrote:
>> 
>> Hi,
>> 
>> am i missing something or is there really no command to write XML data 
>> created/edited using revXML library back to an XML file?
>> 
>> I need to read in an xml file, modifiy some values and write it then back to 
>> disk. Reading the file into memory and accessing and editing the nodes is no 
>> problem. But how do i write the changed file back to disk as structured xml?
>> 
>> Regards,
>> Matthias
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

Re: OS an HTML5 application in running in?

2016-09-05 Thread hh
> Peter Bogd. wrote:
> > I’m planning an HTML5 application that will use audio files ...

AFAIK audio is not (yet) implemented in the HTML5 standalone builder.
___
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: write data to an XML file

2016-09-05 Thread Colin Holgate
See if revXMLText in the dictionary will do what you need.


> On Sep 5, 2016, at 1:59 PM, Matthias Rebbe 
>  wrote:
> 
> Hi,
> 
> am i missing something or is there really no command to write XML data 
> created/edited using revXML library back to an XML file?
> 
> I need to read in an xml file, modifiy some values and write it then back to 
> disk. Reading the file into memory and accessing and editing the nodes is no 
> problem. But how do i write the changed file back to disk as structured xml?
> 
> Regards,
> Matthias
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


write data to an XML file

2016-09-05 Thread Matthias Rebbe
Hi,

am i missing something or is there really no command to write XML data 
created/edited using revXML library back to an XML file?

I need to read in an xml file, modifiy some values and write it then back to 
disk. Reading the file into memory and accessing and editing the nodes is no 
problem. But how do i write the changed file back to disk as structured xml?

Regards,
Matthias

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

2016-09-05 Thread Alejandro Tejada
Hi All,

Years ago, Scott Rossi published this stack:
http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev.zip

Does Scott Rossi still sells a Palette to
work with gradients?

By the way, there a few different ways to paste
a gradient in another graphic.

For example:
1) paste a gradient of exact size
on the location of a new graphic.

2) paste a gradient of exact size
at a new angle on the location
of a new graphic.

3) paste a gradient proportionally
on the rectangle of a new graphic.

4) paste a gradient proportionally
at a new angle on the rectangle
of a new graphic.

Creating these handlers just require
basic math and the most scarce resource
of all: Time, quality time to devote to
this task. :)

Have a nice week!

Alejandro


Randy Hengst wrote,
On Thursday, Sep 1 2016:

> To make this work via script, I’ve done two things…
> the easiest is to set the grc that I want to change
> to the size and position of the a grc master with
> the fill gradient I want to match… in this example,
> the script is in the grc to be changed:

on mouseDown
   local tStartLoc
   put the loc of target into tStartLoc
   set the loc of target to the loc of grc "Blue MasterChip"
   set the fillGradient of target to the fillGradient of grc "Blue MasterChip"
   set the loc of target to tStartLoc
end mouseDown

___
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

OS an HTML5 application in running in?

2016-09-05 Thread Peter Bogdanoff
I’m planning an HTML5 application that will use audio files. I will have 
already prepared for Macs  .mov, for Windows .avi. How would I determine which 
type to use in any particular browser?

The LCS dictionary says:

The platform returns "HTML5" when running in a web browser.
On HTML5 the systemVersion is empty.

Is there something else that would tell me which file type to use?

I will need to use callbacks, which AVI and MOV can handle.

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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote:
> I wasn't sure it would work on the others (not tested) but
> cool that it does. I've been wondering how things are shoved
> together in the builder... If there just happens to be a
> match in someones properties, fields, labels.. whatever..
> Is there a chance that the wrong data would be returned?
> (guess it depends on order of appearance)

Perhaps one should do a "find all"?
I found also in my (newer) examples, that it's always a few
chars only after a "textual" listing of the tools
(browse ... text).


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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
I wasn't sure it would work on the others (not tested) but cool that it
does.  I've been wondering how things are shoved together in the builder...
If there just happens to be a match in someones properties, fields,
labels.. whatever.. Is there a chance that the wrong data would be
returned?  (guess it depends on order of appearance)

On Mon, Sep 5, 2016 at 11:48 AM, hh  wrote:

> Correction (forgot "+" after "]"):
>
> > Mike B. wrote (summarised):
> > put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring
> > get matchtext url ("binfile:" & \
> >"path/to/standalone.exe",tstring,tMatch)
> > put tMatch
>
> My first example "6.7.11" was pure fun because your 'old'
> script finds of course the substring "6.7.1".
> But know we are even ready for "8.111.0"!
>
> Thanks again for this useful detail about the version of the
> building engine of standalones. This works for all available
> platforms, not only for Windows.
>
> In case of a HTML5 standalone we have to use
> "path/to/generated/*.html.mem"
> instead of "path/to/standalone.exe".
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
Correction (forgot "+" after "]"):

> Mike B. wrote (summarised):
> put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring
> get matchtext url ("binfile:" & \
>"path/to/standalone.exe",tstring,tMatch)
> put tMatch

My first example "6.7.11" was pure fun because your 'old'
script finds of course the substring "6.7.1".
But know we are even ready for "8.111.0"!

Thanks again for this useful detail about the version of the
building engine of standalones. This works for all available
platforms, not only for Windows.

In case of a HTML5 standalone we have to use
"path/to/generated/*.html.mem"
instead of "path/to/standalone.exe".


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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote (summarized):
> put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
> get matchtext url ("binfile:" & \
> "path/to/standalone.exe",tstring,tMatch)
> put tMatch

My first example "6.7.11" was pure fun because your 'old'
script finds of course the substring "6.7.1".
But know we are even ready for "8.111.0"!

Thanks again for this useful detail about the version of the
building engine of standalones. This works for all available
platforms, not only for Windows.

In case of a HTML5 standalone we have to use
"path/to/generated/*.html.mem"
instead of "path/to/standalone.exe".


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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Ben Rubinstein

Thanks Mike - it's already answered my question!

Ben

On 05/09/2016 18:07, Mike Bonner wrote:

Change it to this..put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring

for double digit version coverage

On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein  wrote:


Blimey Mike, that works!  Thank you.

Ben

On 05/09/2016 16:30, Mike Bonner wrote:


Correction, change it to:get matchtext(url ("binfile:" &
"path/to/standalone.exe"),tstring,tMatch)
I accidentally dropped a paren.

On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner  wrote:

Try this.. (should work in a message box)


 put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
   get matchtext(url ("binfile:" & "path/to/standalone.exe",
tstring,tMatch)
   put tMatch

Not sure it'll work every time, but it's worked on everything I've tried
from 4.6.1 to 8.0.1

On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein 
wrote:

On 04/09/2016 23:19, Colin Holgate wrote:


Open with a hex editor, and search for Win32€€€. One of the two matches

has the LiveCode version following it.



Hi Colin,

Thanks for this - looks like an excellent method but AFAICT this only
works for more recent versions (i.e. works for LC8, doesn't work for
LC6,
I'm looking at something like LC3-LC5!

Anyone know a way that works with older versions?

(Also thanks Andy and Phil; as well as adding the logo, I updated the
logger to include the engine version as well as my build number - some
of
my other apps have done this for years, alas this one didn't...)

Many thanks,


Ben





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


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




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

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
Change it to this..put ".*([0-9]+\.[0-9]+\.[0-9]+).*" into tstring

for double digit version coverage

On Mon, Sep 5, 2016 at 11:01 AM, Ben Rubinstein  wrote:

> Blimey Mike, that works!  Thank you.
>
> Ben
>
> On 05/09/2016 16:30, Mike Bonner wrote:
>
>> Correction, change it to:get matchtext(url ("binfile:" &
>> "path/to/standalone.exe"),tstring,tMatch)
>> I accidentally dropped a paren.
>>
>> On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner  wrote:
>>
>> Try this.. (should work in a message box)
>>>
>>>  put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
>>>get matchtext(url ("binfile:" & "path/to/standalone.exe",
>>> tstring,tMatch)
>>>put tMatch
>>>
>>> Not sure it'll work every time, but it's worked on everything I've tried
>>> from 4.6.1 to 8.0.1
>>>
>>> On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein 
>>> wrote:
>>>
>>> On 04/09/2016 23:19, Colin Holgate wrote:

 Open with a hex editor, and search for Win32€€€. One of the two matches
> has the LiveCode version following it.
>
>
 Hi Colin,

 Thanks for this - looks like an excellent method but AFAICT this only
 works for more recent versions (i.e. works for LC8, doesn't work for
 LC6,
 I'm looking at something like LC3-LC5!

 Anyone know a way that works with older versions?

 (Also thanks Andy and Phil; as well as adding the logo, I updated the
 logger to include the engine version as well as my build number - some
 of
 my other apps have done this for years, alas this one didn't...)

 Many thanks,


 Ben



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

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Ben Rubinstein

Blimey Mike, that works!  Thank you.

Ben

On 05/09/2016 16:30, Mike Bonner wrote:

Correction, change it to:get matchtext(url ("binfile:" &
"path/to/standalone.exe"),tstring,tMatch)
I accidentally dropped a paren.

On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner  wrote:


Try this.. (should work in a message box)

 put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
   get matchtext(url ("binfile:" & "path/to/standalone.exe",
tstring,tMatch)
   put tMatch

Not sure it'll work every time, but it's worked on everything I've tried
from 4.6.1 to 8.0.1

On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein  wrote:


On 04/09/2016 23:19, Colin Holgate wrote:


Open with a hex editor, and search for Win32€€€. One of the two matches
has the LiveCode version following it.



Hi Colin,

Thanks for this - looks like an excellent method but AFAICT this only
works for more recent versions (i.e. works for LC8, doesn't work for LC6,
I'm looking at something like LC3-LC5!

Anyone know a way that works with older versions?

(Also thanks Andy and Phil; as well as adding the logo, I updated the
logger to include the engine version as well as my build number - some of
my other apps have done this for years, alas this one didn't...)

Many thanks,


Ben





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

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
oops. :) My regex fu is weak.

On Mon, Sep 5, 2016 at 10:49 AM, hh  wrote:

> > Mike B. wrote:
> > put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
> > get matchtext url ("binfile:" & \
> >  "path/to/standalone.exe",tstring,tMatch)
> > put tMatch
>
> This is admirable insight.
> But why don't you like 6.7.11? ;-)
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread hh
> Mike B. wrote:
> put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
> get matchtext url ("binfile:" & \
>  "path/to/standalone.exe",tstring,tMatch)
> put tMatch

This is admirable insight.
But why don't you like 6.7.11? ;-)

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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
Correction, change it to:get matchtext(url ("binfile:" &
"path/to/standalone.exe"),tstring,tMatch)
I accidentally dropped a paren.

On Mon, Sep 5, 2016 at 9:30 AM, Mike Bonner  wrote:

> Try this.. (should work in a message box)
>
>  put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
>get matchtext(url ("binfile:" & "path/to/standalone.exe",
> tstring,tMatch)
>put tMatch
>
> Not sure it'll work every time, but it's worked on everything I've tried
> from 4.6.1 to 8.0.1
>
> On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein  wrote:
>
>> On 04/09/2016 23:19, Colin Holgate wrote:
>>
>>> Open with a hex editor, and search for Win32€€€. One of the two matches
>>> has the LiveCode version following it.
>>>
>>
>> Hi Colin,
>>
>> Thanks for this - looks like an excellent method but AFAICT this only
>> works for more recent versions (i.e. works for LC8, doesn't work for LC6,
>> I'm looking at something like LC3-LC5!
>>
>> Anyone know a way that works with older versions?
>>
>> (Also thanks Andy and Phil; as well as adding the logo, I updated the
>> logger to include the engine version as well as my build number - some of
>> my other apps have done this for years, alas this one didn't...)
>>
>> Many thanks,
>>
>>
>> Ben
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Mike Bonner
Try this.. (should work in a message box)

 put ".*([0-9]\.[0-9]\.[0-9]).*" into tstring
   get matchtext(url ("binfile:" & "path/to/standalone.exe",tstring,tMatch)
   put tMatch

Not sure it'll work every time, but it's worked on everything I've tried
from 4.6.1 to 8.0.1

On Mon, Sep 5, 2016 at 4:09 AM, Ben Rubinstein  wrote:

> On 04/09/2016 23:19, Colin Holgate wrote:
>
>> Open with a hex editor, and search for Win32€€€. One of the two matches
>> has the LiveCode version following it.
>>
>
> Hi Colin,
>
> Thanks for this - looks like an excellent method but AFAICT this only
> works for more recent versions (i.e. works for LC8, doesn't work for LC6,
> I'm looking at something like LC3-LC5!
>
> Anyone know a way that works with older versions?
>
> (Also thanks Andy and Phil; as well as adding the logo, I updated the
> logger to include the engine version as well as my build number - some of
> my other apps have done this for years, alas this one didn't...)
>
> Many thanks,
>
>
> Ben
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Garbage collection (crashing on Windows)

2016-09-05 Thread Mark Waddingham

On 2016-08-22 14:47, Ben Rubinstein wrote:

https://blogs.technet.microsoft.com/askperf/2007/03/23/memory-management-demystifying-3gb/

This looks like a great tip - before I go into the ring with the
client's IT dept (always a tricky exercise) can I just check that
LiveCode does have the IMAGE_FILE_LARGE_ADDRESS_AWARE flag set in the
image header as described in that article? And do you know from which
version that is true?


That is a good question... It probably isn't (looking at the linker 
flags) - however you can set it on your standalone exe yourself:


http://stackoverflow.com/questions/1346480/how-to-make-a-net-application-large-address-aware

I'm pretty sure the LC codebase will be fine for use under this mode 
although it hasn't been explicitly tested.



But does 'freed' literally release the memory, or just mark the object
as available? Surely you still need to do some kind of garbage
collection in order to collapse what may be isolated fragments of
'free' memory?


When a value is no longer referenced, the area(s) of memory occupied by 
it are returned to the heap for future allocation. Note that LiveCode 
relies on the standard memory management functions (malloc / free) on 
the various OSes - they handle any coalescing of free regions (and 
handing unused pages back to the OS - some OSes are better at this than 
others).



How can we do this? As noted hasMemory is defunct; heapSpace is Mac
only; is there a method I can use to profile the memory usage?


On Mac there is - yes. The 'heap' command line tool lets you poke 
another process for its current memory usage (what is and isn't 
allocated in the C heap). On Windows, I think ProcExplorer can do a 
similar thing - 
https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx 
(if not I'm almost 100% certain there is a sysinternals tool which 
*does* give the usage information of any C heaps - win apps can have 
more than one - allocated by a process).


Hope this helps,

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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 size be extended to variables?

2016-09-05 Thread Mark Waddingham

On 2016-08-20 23:11, Richard Gaskin wrote:

In all cases, the data is read and written in binary mode.

If neither "number of bytes of" or "number of chars" will help, how
can I know the true byte length of a chunk of data?


The true byte length of a chunk of data is 'the number of bytes of' so 
I'm not entirely clear on what you are asking for.


If you are existing data from a file, and finding where it is then 
surely you know:


  1) its offset

  2) its length (in bytes)

If you didn't know either you wouldn't be able to load it and use it 
(after decoding it).


A value only gets a 'byte length' when it is actually encoded as binary 
data. For example, the length of a string encoded as UTF8 can be 
determined by using:


  the number of bytes in textEncode(tString, "utf8")

However, an encoding of a string on disk might include a prefix 
describing the size of the string, and might or might not include a 
trailing NUL byte.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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 ]] Release 8.1.0 RC-2

2016-09-05 Thread Mike Kerner
WOOHOO!  8.1!  8.1!

On Mon, Sep 5, 2016 at 8:58 AM, panagiotis merakos <
panos.mera...@livecode.com> wrote:

> Dear list members,
>
> We are pleased to announce the release of LiveCode 8.1.0 RC-2.
>
>
> Getting the Release
> ===
> You can get the release at https://downloads.livecode.com/livecode/ or via
> the automatic updater.
>
>
> Release Contents
> 
> LiveCode 8.1.0 RC-2 contains 9 bug fixes for regressions introduced in
> LiveCode 8.1.0 RC-1.
>
>
> The full release notes are available from:
> http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_rc_2.pdf
>
>
> Feedback
> 
> Please report any bugs encountered on our BugZilla at
> http://quality.livecode.com/
>
> We have a forum available for discussing LiveCode Builder at
> http://forums.livecode.com/viewforum.php?f=93
>
>
> Have fun!
>
> The LiveCode Team
> --
> ___
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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 ]] Release 8.1.0 RC-2

2016-09-05 Thread panagiotis merakos
Dear list members,

We are pleased to announce the release of LiveCode 8.1.0 RC-2.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 8.1.0 RC-2 contains 9 bug fixes for regressions introduced in
LiveCode 8.1.0 RC-1.


The full release notes are available from:
http://downloads.livecode.com/livecode/8_1_0/LiveCodeNotes-8_1_0_rc_2.pdf


Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!

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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Ben Rubinstein

On 04/09/2016 23:19, Colin Holgate wrote:

Open with a hex editor, and search for Win32€€€. One of the two matches has the 
LiveCode version following it.


Hi Colin,

Thanks for this - looks like an excellent method but AFAICT this only works 
for more recent versions (i.e. works for LC8, doesn't work for LC6, I'm 
looking at something like LC3-LC5!


Anyone know a way that works with older versions?

(Also thanks Andy and Phil; as well as adding the logo, I updated the logger 
to include the engine version as well as my build number - some of my other 
apps have done this for years, alas this one didn't...)


Many thanks,

Ben




___
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] This week in LiveCode 49

2016-09-05 Thread Monte Goulding
Hi LiveCoders

Read about new developments in LiveCode open source and the open source 
community in today's edition of the "This Week in LiveCode" newsletter!

 Read issue #49 here: http://goo.gl/izsyCN

This is a weekly newsletter about LiveCode, focussing on what's been going on 
in and around the open source project. New issues will be released weekly on 
Mondays.  We have a dedicated mailing list that will deliver each issue 
directly to you e-mail, so you don't miss any!

Are you doing something interesting with LiveCode Community Edition? Please get 
in touch and get it featured in "This Week in LiveCode”!

Cheers

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

Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Phil Davis
It would help if I carefully read your question. Sorry for the 
non-answer. (wiping egg off face)


Phil


On 9/4/16 11:40 PM, Phil Davis wrote:

Hi Ben,

I recently simplified my approach to this (hat tip to Richard Gaskin) 
and am very pleased with the outcome.


In the card script of my 1-card app mainstack I have this code:

on saveStackRequest
set the uStandaloneVersion of the owner of me to the 
cRevStandaloneSettings["OSX,longVersion"] of the owner of me

pass saveStackRequest
end saveStackRequest


Then in the stack script of the same stack I have this:

function appLongVersion
return the uStandaloneVersion of me
end appLongVersion


So any code anywhere in the app (like in the "about" window) can "put 
appLongVersion() into x" and it'll work.


Of course you can change which 'cRevStandaloneSettings' you use to 
suit your needs.


Thanks -
Phil Davis


On 9/4/16 12:09 PM, Ben Rubinstein wrote:
I've been trying to make a very minor mod (replacing a logo!) to an 
app I built some years ago; but the client has a problem with it that 
I can't reproduce.


The easiest thing would be if the problem was caused by a subtle 
difference in the version of LC used to compiled the standalone - I 
made a quess for which version that would have been, it doesn't seem 
to help.


Does anyone know of a good way to analyse a compiled Windows 
standalone to discover which version it relates to?  (It would be 
easier on Mac because we can open the package...).


TIA,

Ben

___
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





--
Phil Davis


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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread Phil Davis

Hi Ben,

I recently simplified my approach to this (hat tip to Richard Gaskin) 
and am very pleased with the outcome.


In the card script of my 1-card app mainstack I have this code:

on saveStackRequest
set the uStandaloneVersion of the owner of me to the 
cRevStandaloneSettings["OSX,longVersion"] of the owner of me

pass saveStackRequest
end saveStackRequest


Then in the stack script of the same stack I have this:

function appLongVersion
return the uStandaloneVersion of me
end appLongVersion


So any code anywhere in the app (like in the "about" window) can "put 
appLongVersion() into x" and it'll work.


Of course you can change which 'cRevStandaloneSettings' you use to suit 
your needs.


Thanks -
Phil Davis


On 9/4/16 12:09 PM, Ben Rubinstein wrote:
I've been trying to make a very minor mod (replacing a logo!) to an 
app I built some years ago; but the client has a problem with it that 
I can't reproduce.


The easiest thing would be if the problem was caused by a subtle 
difference in the version of LC used to compiled the standalone - I 
made a quess for which version that would have been, it doesn't seem 
to help.


Does anyone know of a good way to analyse a compiled Windows 
standalone to discover which version it relates to?  (It would be 
easier on Mac because we can open the package...).


TIA,

Ben

___
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



--
Phil Davis


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


Re: How to tell the engine version of a Windows standalone?

2016-09-05 Thread AndyP
Something you may want to consider for the future is a secret keyboard
combination that pops up an info panel..just for this type of situation.
I've done this in a couple of apps and it has really helped to tie down some
of the parameters I've used in previous builds.

You can add things such as:

LC Version
Build Date
OS Version used for build
etc...



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-tell-the-engine-version-of-a-Windows-standalone-tp4708058p4708060.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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