Re: [ANN] Release 9.0.0 DP-8

2017-07-20 Thread Bob Sneidar via use-livecode
Monkey Patching. I like that. Is that a reference to the Scopes Monkey trial? 

Just as an aside, I heard a brilliant professor once provide the most excellent 
challenge to the Monkeys on Typewriters illustration I have yet heard. He said 
that the illustration was not true to nature because the magical typewriters 
were not capable of REMOVING the randomly typed letters from the paper. By that 
he meant that in an aqueous solution, while it is certainly possible that amino 
acids can often form simple, and perhaps rarely, complex proteins, the 
equilibrium actually far more favors the BREAKDOWN of proteins into their amino 
acid components. 

So now how long would it take to randomly produce the famed literary piece? Or 
a protein so complex and optically pure it could begin to reproduce itself, and 
repair itself, and protect itself from the environment? Once equilibrium is 
accounted for, and the balance favors the breakdown of proteins, even infinity 
cannot produce the results one might want. In fact it fairly guarantees it's 
failure. 

Bob S


> On Jul 18, 2017, at 10:58 , Mark Wieder via use-livecode 
>  wrote:
> 
> but if the script editor hasn't already been loaded into memory I don't think 
> you can do this without monkeypatching the SE startup script.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com


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


Re: [ANN] Release 9.0.0 DP-8

2017-07-18 Thread Mark Wieder via use-livecode

On 07/18/2017 06:46 AM, Bob Hall via use-livecode wrote:

I’ve had the completion capability on my local dev environment for a couple of 
years via a plugin that I wrote. I wrestled with these same problems years ago. 
I actually find that it is benefitial to have BOTH completion and no 
completion. Having a setting to change this is combersome. It is an on-the-fly 
desire.


Here's my take on that... with a simple addition you can bracket 
existing text as well as inserting a pair in one place.


on rawKeyDown pKey
   local tBookmarks
   local tChunk

   if optionkey() = "down" then
  switch pKey
 case 34 # ok
put quote into tBookmarks
break
 case 39 # ok
put "''" into tBookmarks
break
 case 57 #?
 case 40
put "()" into tBookmarks
break
 case 91 # ok
put "[]" into tBookmarks
break
 case 123 # ok
put "{}" into tBookmarks
break
 default
  end switch
   end if

   # see if we want to insert a pairing
   if tBookmarks is not empty then
  # this allows bracketing existing text
  put the selectedChunk into tChunk
  put char 2 of tBookmarks after the selectedChunk
  select tChunk
  put char 1 of tBookmarks before the selectedChunk
   else
  pass rawKeyDown
   end if
end rawKeyDown


Also, if the script editor is already in memory you don't need to insert 
a frontscript - just


set the behavior of stack "revSEEditorBehavior" to the long id of 



but if the script editor hasn't already been loaded into memory I don't 
think you can do this without monkeypatching the SE startup script.


--
 Mark Wieder
 ahsoftw...@gmail.com


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

Re: [ANN] Release 9.0.0 DP-8

2017-07-18 Thread Bob Hall via use-livecode
I’ve had the completion capability on my local dev environment for a couple of 
years via a plugin that I wrote. I wrestled with these same problems years ago. 
I actually find that it is benefitial to have BOTH completion and no 
completion. Having a setting to change this is combersome. It is an on-the-fly 
desire.

So here’s how I solved the problem in my IDE startup script…

Hold down the option key and you get completion. no option key, no completion.

If you’d like to try this on your own, put this into a plugin that loads this 
into the frontscript. Don’t use LC 9dp8 though as you won’t get the non-option 
key effect of the pairings...

Bob
/*

* auto complete common pairings with 

*/

on rawKeyDown pKey

local tChar


if optionkey() = "down" then

switch pKey

case 34

insertText quote

exit rawKeyDown

break

case 39

insertText "''"

exit rawKeyDown

break

case 57

insertText "()"

exit rawKeyDown

break

case 91

insertText "[]"

exit rawKeyDown

break

case 123

insertText "{}"

exit rawKeyDown

break

end switch

end if


pass rawKeyDown

end rawKeyDown



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

2017-07-18 Thread Monte Goulding via use-livecode

> On 18 Jul 2017, at 5:59 pm, Mark Waddingham via use-livecode 
>  wrote:
> 
> I think it is worth having a preference for both highlighting and completion 
> - it serves people's individual tastes, and as long as the preference is 
> discoverable then it won't add any complexity.

OK, I’ll open a report about those
> 
> Ideally highlighting would be context aware - so outside of a string, it 
> highlights other brackets outside of strings; but when in a string it 
> highlights brackets in strings:
> 
>  put (1 "a(2" & tVar ")2" )1 after tFoo
> 
> (Numbers used to indicate matching pairs)

I think it doesn’t currently do what you are suggesting but in the case above 
it does what you want anyway ;-)
> 
> I was thinking in terms of syntactically - missing the point of in-string 
> highlighting (as HH and Mark Wieder pointed out).
> 
> Indeed, the current approach is an approximation to the ideal and adding { 
> and } to highlighting wouldn't do any harm; and would serve the use-case of 
> JSON and similar generation.
> 
> In terms of ' then, for much the same reason that would probably be useful - 
> although that might require a bit more work on the highlighting code as it 
> isn't a matched pair (@montegoulding?).

Should be the same as quote so not a big issue if it’s helpful.

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: [ANN] Release 9.0.0 DP-8

2017-07-18 Thread Mark Waddingham via use-livecode

On 2017-07-17 23:25, Monte Goulding via use-livecode wrote:

Actually it’s quite helpful within strings. Consider a string to be
used with the merge function or just the likelihood of wanting a pair
of brackets in a string rather than a single one. As for quotes as
they are not valid within a string if you are typing one it’s highly
likely you want two and to concatenate something between. For example:

put “foo baz”
— come along later and edit to
put “foo” && tBar && “baz”

There is already an autocomplete preference which the bracket
completion and control structure completion checks but it’s currently
not exposed in the IDE UI. Do we want fine grained control over which
parts of autocompletion we want active? That could be confusing.

Bracket highlighting does need a color pref… I guess if this is empty
it could turn it off entirely if people want that.


I think it is worth having a preference for both highlighting and 
completion - it serves people's individual tastes, and as long as the 
preference is discoverable then it won't add any complexity.


Ideally highlighting would be context aware - so outside of a string, it 
highlights other brackets outside of strings; but when in a string it 
highlights brackets in strings:


  put (1 "a(2" & tVar ")2" )1 after tFoo

(Numbers used to indicate matching pairs)

I was thinking in terms of syntactically - missing the point of 
in-string highlighting (as HH and Mark Wieder pointed out).


Indeed, the current approach is an approximation to the ideal and adding 
{ and } to highlighting wouldn't do any harm; and would serve the 
use-case of JSON and similar generation.


In terms of ' then, for much the same reason that would probably be 
useful - although that might require a bit more work on the highlighting 
code as it isn't a matched pair (@montegoulding?).


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 9.0.0 DP-8

2017-07-17 Thread Monte Goulding via use-livecode

> On 17 Jul 2017, at 11:36 pm, Mark Waddingham via use-livecode 
>  wrote:
> 
> Okay, so having just read the form thread as well...
> 
> There are two things here:
> 
>  1) Bracket highlighting
> 
>  2) Bracket completion
> 
> They should both be preferences.
> 
> Secondly, both should really only function on 'real' tokens which are part of 
> script (hence why '{' isn't appropriate at this time for it to function on). 
> If you are typing a string or a comment then it shouldn't trigger completion 
> nor highlighting. This is actually quite hard to get right efficiently 
> (indeed, a lot of editors don't get this right, so I end up turning such 
> features off).


Actually it’s quite helpful within strings. Consider a string to be used with 
the merge function or just the likelihood of wanting a pair of brackets in a 
string rather than a single one. As for quotes as they are not valid within a 
string if you are typing one it’s highly likely you want two and to concatenate 
something between. For example:

put “foo baz”
— come along later and edit to
put “foo” && tBar && “baz”

There is already an autocomplete preference which the bracket completion and 
control structure completion checks but it’s currently not exposed in the IDE 
UI. Do we want fine grained control over which parts of autocompletion we want 
active? That could be confusing.

Bracket highlighting does need a color pref… I guess if this is empty it could 
turn it off entirely if people want that.

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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode

On 07/17/2017 05:33 AM, hh via use-livecode wrote:


The following compiles ;-)

on shouldn'tYouNotAppear?
answer "Just for fun: No."
end shouldn'tYouNotAppear?


I *do* use "?" trailers in the ruby sense for functions that return 
boolean values.

But double negatives? Eek!

--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode

On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear 
outside of strings.


I would find "{}" completion *inside* strings very useful in generating 
json key:value pairs.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode

On 2017-07-17 18:39, Mark Wieder via use-livecode wrote:

On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

Indeed, bracket completion has to ignore content of strings otherwise 
you can't write stuff like:


   put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.


...and with good reason. I can't think why I would *ever* write that.
If I had to do something that daft I'd write it as

put ")''" into tVar

but I would hope the occasion would never arise.


Indeed - it is a bit of tortuous example...

However cases of double quotes, single-quotes, un-balanced brackets, 
braces and parentheses all occur in various domains - most notably 
anything which processes or generates source-code.


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 9.0.0 DP-8

2017-07-17 Thread Mark Wieder via use-livecode

On 07/17/2017 03:41 AM, Mark Waddingham via use-livecode wrote:

Indeed, bracket completion has to ignore content of strings otherwise 
you can't write stuff like:


   put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.


...and with good reason. I can't think why I would *ever* write that.
If I had to do something that daft I'd write it as

put ")''" into tVar

but I would hope the occasion would never arise.

--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Mark Waddingham via use-livecode

On 2017-07-17 14:33, hh via use-livecode wrote:

Isn't this more a thing of editing only than of debugging/compiling?
The current completions occur also while I am typing inside of a 
string..


Okay, so having just read the form thread as well...

There are two things here:

  1) Bracket highlighting

  2) Bracket completion

They should both be preferences.

Secondly, both should really only function on 'real' tokens which are 
part of script (hence why '{' isn't appropriate at this time for it to 
function on). If you are typing a string or a comment then it shouldn't 
trigger completion nor highlighting. This is actually quite hard to get 
right efficiently (indeed, a lot of editors don't get this right, so I 
end up turning such features off).



on shouldn'tYouNotAppear?
   answer "Just for fun: No."
end shouldn'tYouNotAppear?


Heh - well ' was a bad example - its something we'd prefer wasn't 
allowed in identifiers as it means the token cannot be used for anything 
else (e.g. this stack's textColor). Similarly, the fact that '.' is also 
allowed in identifiers means that it could never be an operator (e.g. 
tRect.x).


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 9.0.0 DP-8

2017-07-17 Thread hh via use-livecode
> Mark Waddingham wrote:
> On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote:
> > @Hermann
> > I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
> > However, if you want to add them, you have to:
> 
> On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear 
> outside of strings.
> Similarly, single-quote isn't a valid LCS token - so it shouldn't appear 
> outside of strings.
> Indeed, bracket completion has to ignore content of strings otherwise 
> you can't write stuff like:
>put ( ")" & "'" ) & ( "'" ) into tVar
> Without funky things happening.

Accepted that it's not there, of course.
But honestly, what I don't understand in your argumentation is:

Code completion doesn't force "{" or "'" to be outside of a string!?

Isn't this more a thing of editing only than of debugging/compiling?
The current completions occur also while I am typing inside of a string...

> single-quote isn't a valid LCS token - so it shouldn't appear outside
> of strings

The following compiles ;-)

on shouldn'tYouNotAppear?
   answer "Just for fun: No."
end shouldn'tYouNotAppear?


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

2017-07-17 Thread Mark Waddingham via use-livecode

On 2017-07-17 11:05, panagiotis merakos via use-livecode wrote:

@Hermann

I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
However, if you want to add them, you have to:


On Purpose. '{' is not a valid LCS bracket - so it shouldn't be appear 
outside of strings.


Similarly, single-quote isn't a valid LCS token - so it shouldn't appear 
outside of strings.


Indeed, bracket completion has to ignore content of strings otherwise 
you can't write stuff like:


  put ( ")" & "'" ) & ( "'" ) into tVar

Without funky things happening.

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 9.0.0 DP-8

2017-07-17 Thread panagiotis merakos via use-livecode
@Hermann

I am not sure if "{}" were left out on purpose or not, I'll ask Monte.
However, if you want to add them, you have to:

0. Open the script of an object (needed for loading the SE behaviors
1. Type in the msg box:

edit the script of stack "com.livecode.scripteditor.behavior.editorcommon"
at 2968

2. Add the lines

case "{"
   put "}" into tCompletionChar

3. Click Apply

Note: If you want the changes to be saved permanently you either have to
change the permissions of the LC .app bundle (currently they are
read-only), OR open this file (Toolset/palettes/script
editor/behaviors/revsecommoneditorbehavior.livecodescript
)
with an external Text editor as admin and save those changes.

@Richmond
>Mayhap it could be made an option adjustable in the Script Editor
section of the Preferences?

Yes, this will make everyone happy, although I personally find this feature
*really* useful.

Best, Panos
--




On Mon, Jul 17, 2017 at 8:59 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Panos M. wrote:
> > Script Editor: Support for auto completion of square bracket `[`,
> > parenthesis `(` or double quote `"` is now added.
>
> After writing a long script I really like this feature and miss it
> already in LC 8.1.6.
>
> I wonder what's the reason to leave out braces "{}" (may be needed for
> connecting to LCB) and single quotes (good for writing an already quoted
> javascript string)?
>
> ___
> 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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread Richmond Mathewson via use-livecode

Not universally popular:

http://forums.livecode.com/viewtopic.php?f=8=29505

Mayhap it could be made an option adjustable in the Script Editor 
section of the Preferences?


Richmond.


On 7/17/17 10:59 am, hh via use-livecode wrote:

Panos M. wrote:
Script Editor: Support for auto completion of square bracket `[`,
parenthesis `(` or double quote `"` is now added.

After writing a long script I really like this feature and miss it
already in LC 8.1.6.

I wonder what's the reason to leave out braces "{}" (may be needed for
connecting to LCB) and single quotes (good for writing an already quoted
javascript string)?

___
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: [ANN] Release 9.0.0 DP-8

2017-07-17 Thread hh via use-livecode
> Panos M. wrote:
> Script Editor: Support for auto completion of square bracket `[`,
> parenthesis `(` or double quote `"` is now added.

After writing a long script I really like this feature and miss it
already in LC 8.1.6.

I wonder what's the reason to leave out braces "{}" (may be needed for
connecting to LCB) and single quotes (good for writing an already quoted
javascript string)?

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

2017-07-13 Thread Monte Goulding via use-livecode

> On 14 Jul 2017, at 7:53 am, Richard Gaskin via use-livecode 
>  wrote:
> 
> panagiotis wrote:
> 
> > We are pleased to announce the release of LiveCode 9.0.0 DP-8.
> ...
> > - A new HTTPd script library has been added. The HTTP Server
> > library can be used to receive and respond to HTTP requests
> > in your application.
> 
> A very valuable addition.  I'm curious about what prompted that development 
> effort, and does it support HTTPS connections, or CGI?

One of my recent projects has been to create a test runner for HTML5. So all 
our tests that we run on the CI server are bundled up into a HTML5 app and run. 
In order to get the results back into LiveCode I made the simple HTTP server to 
handle callbacks that the HTML5 engine sends when it is served from localhost. 
I separated it into a script library so I could reuse it down the track in 
FileMaker for web views. I expect others will like to use it for serving 
browser widget content etc too. It is a rather simplified server script but 
it’s open source so if you need more than it offers feel free to send a PR. It 
doesn’t have a normal CGI interface. As the request comes in a callback is 
delivered to the object that started the server so your response can be 
dynamically generated.
> 
> > New experimental features:
> >
> > - [Experimental] A new "Mac Native Button" widget is added to
> > LiveCode's widget collection.
> 
> The Dictionary for this new version doesn't load on Linux this time (hangs 
> the process actually, one of the known issues), so forgive this question 
> probably answered there:
> 
> Does the syntax for that button style use "button" or "widget”?

widget
> 
> What does this do differently from the "Standard" button style?

It’s the actual native view rather than us getting details of how to draw a 
button from the OS and drawing it ourselves. It’s mainly an example but it 
would be useful for layering a button over another native view.
> 
> Does it have the same properties and message handling options we're used to 
> with buttons?

Not yet. I believe it only has mouseUp.

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: [ANN] Release 9.0.0 DP-8

2017-07-13 Thread Richard Gaskin via use-livecode

panagiotis wrote:

> We are pleased to announce the release of LiveCode 9.0.0 DP-8.
...
> - A new HTTPd script library has been added. The HTTP Server
> library can be used to receive and respond to HTTP requests
> in your application.

A very valuable addition.  I'm curious about what prompted that 
development effort, and does it support HTTPS connections, or CGI?


> New experimental features:
>
> - [Experimental] A new "Mac Native Button" widget is added to
> LiveCode's widget collection.

The Dictionary for this new version doesn't load on Linux this time 
(hangs the process actually, one of the known issues), so forgive this 
question probably answered there:


Does the syntax for that button style use "button" or "widget"?

What does this do differently from the "Standard" button style?

Does it have the same properties and message handling options we're used 
to with buttons?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


[ANN] Release 9.0.0 DP-8

2017-07-13 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.0.0 DP-8.


Developer Preview Release
=
Warning: this is not a stable release.  Please ensure that you back up your
stacks before testing them.

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

Release Contents

LiveCode 9.0.0 DP-8 comes with 25 bugfixes. Moreover, more than 40 bugfixes
that were fixed in LiveCode 8.1.x, are now merged into LiveCode 9.0.0 DP-8.

In addition, LiveCode 9.0.0 DP-8 includes a lot of amazing new features:

- Widgets now work correctly in HTML5 standalones (apart from Browser
Widget)
- Script Editor: Support for auto completion of square bracket `[`,
parenthesis `(` or double quote `"` is now added
- A new "Edit Behavior Script" option is now added to the contextual menu
- Support for accepting socket connections on a port in the ephemeral port
range is now added
- Foreign handlers can now use 'objc' as the language, and in that case can
bind to both instance and class methods of Objective-C objects (Mac-only)

And of course, the ability to choose from a list of default handlers to add
to the object script in the script editor, originally implemented in
LiveCode 8.1.6 RC-1 has been included in LiveCode 9.0 DP-8, too.


New script libraries:

- A new QR Code Generation script library has been added. The public domain
licensed QR Code Generator Library (sQuiRt) by John Craig has been added to
the community repository for ease of maintenance and use.
- A new HTTPd script library has been added. The HTTP Server library can be
used to receive and respond to HTTP requests in your application.

New experimental features:

- [Experimental] A new "Mac Native Button" widget is added to LiveCode's
widget collection. This was the result of the implementation of Objective-C
FFI (Foreign Function Interface) in LCB.
- [Experimental] A new "Android Native Field" widget is added to LiveCode's
widget collection. [[ See known issues ]]

As stated before, Objective-C FFI is Mac-only in this DP release. It might
work on iOS too, as long as you do not do anything that requires thread
jumping.

In this context, "experimental" means that these features will continue to
be developed and supported. However, how they are used in script may change
during the development cycle of 9, before it gets to final release.


Known issues

- The Browser widget can cause hang in the IDE in some Linux distros - see
http://quality.livecode.com/show_bug.cgi?id=19658
- The Android Native Button widget uses "labelColor", not
"foregound"/"textColor" to set the text color
- The Android Native Button widget "enabled" (and "disabled") property does
not work if you set it by script.
- The HTTPd script library does not load on startup, so you have to issue
the following command from the message box to load it manually:  start
using stack "httpd"
- Unfortunately we tried to get the android native field widget into DP 8
at the last minute, but discovered that it crashes when it becomes focused.
We will of course try to fix this issue as soon as possible.


The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_8.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