Re: Why is libcef included in standalone?

2017-07-20 Thread Bob Sneidar via use-livecode
Remember the days when a web server and browser was a means to efficiently and 
reliably communicate basic information across the internet universally? What 
the hell happened??

Bob S


> On Jul 18, 2017, at 10:59 , Mark Waddingham via use-livecode 
>  wrote:
> 
> On 2017-07-18 19:25, Dan Friedman via use-livecode wrote:
>> Mark,
>> Thanks for the very helpful info and the quick reply!  In my case, I
>> am displaying a very simple webpage as a type of preview.  So, the
>> latest html compatibility isn’t an issue.  For this project, I’ll
>> manually remove the libcef.dll and move forward.
> 
> You're welcome.
> 
> We've periodically discussed internally using Edge on Windows for the browser 
> widget (as an option) for the cases where you just need a browser for 
> specific things (e.g. OAuth).
> 
> However, as it stands, CEF is giving us enough trouble just now so sorting 
> that out sits wy further up in priorities.
> 
> Warmest Regards,
> 
> Mark.

___
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: Why is libcef included in standalone?

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

On 2017-07-18 19:25, Dan Friedman via use-livecode wrote:

Mark,

Thanks for the very helpful info and the quick reply!  In my case, I
am displaying a very simple webpage as a type of preview.  So, the
latest html compatibility isn’t an issue.  For this project, I’ll
manually remove the libcef.dll and move forward.


You're welcome.

We've periodically discussed internally using Edge on Windows for the 
browser widget (as an option) for the cases where you just need a 
browser for specific things (e.g. OAuth).


However, as it stands, CEF is giving us enough trouble just now so 
sorting that out sits wy further up in priorities.


Warmest Regards,

Mark.

P.S. We've also discussed 'bringing back' CEF on Mac - as then you have 
an option for 100% cross-desktop platform consistent option for an 
embedded browser. However that is contingent on whether they've sorted 
out a rather critical issue with its memory management (related to 
autorelease pools) which breaks things when CEF is used as the slave (it 
is okay when CEF was the host - which is one of the biggest use cases of 
that project - e.g. Spotify and Steam use it for their Desktop UIs on 
all platforms).


--
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: Why is libcef included in standalone?

2017-07-18 Thread Dan Friedman via use-livecode
Mark,

Thanks for the very helpful info and the quick reply!  In my case, I am 
displaying a very simple webpage as a type of preview.  So, the latest html 
compatibility isn’t an issue.  For this project, I’ll manually remove the 
libcef.dll and move forward.

Thanks!
-Dan

___
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: Why is libcef included in standalone?

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

On 2017-07-18 18:07, Dan Friedman via use-livecode wrote:

Using LC 8.1.5, I have unchecked “Browser (CEF)” option in the
“Inclusions” section of the “Standalone Application Settings”.
However, libcef.dll is still included in the standalone build on
Windows.  It is not included in the build for OSX.  Am I right that
this dll is solely for the use of the Browser Widget?  If so, can I
simply delete it from the build?  Are there associated files I should
also remove?


libcef.dll is used by both revBrowser and the browser widget - so if you 
have either checked it will be included.


If you aren't using the browser widget nor revBrowserOpenCEF then you 
should be able to remove it without harm.



In my opinion, why add this ridiculously large dll (46.4MB!) when you
can simply use revBrowserOpen and get the same results?  Am I missing
something here?


If you use revBrowserOpen on Windows then you get (embedded) Internet 
Explorer - which is fine if the stuff you are doing works in Internet 
Explorer.


CEF is a WebKit based browser, which is what you get on Android, iOS and 
Mac. This means that using CEF on Windows (its the only option on Linux) 
gives you something much more consistent across platforms.


Admittedly Edge is a lot better than IE was at standards-compliance. 
However, it is still *not* quite the same environment as any of the 
WebKit based ones.


So, if you are doing web-based things in your app and don't want to have 
to do (what can be a lot of) of work to ensure that everything works 
across all platforms; the 46.4Mb is a small price to pay IMHO.


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

Why is libcef included in standalone?

2017-07-18 Thread Dan Friedman via use-livecode
Using LC 8.1.5, I have unchecked “Browser (CEF)” option in the “Inclusions” 
section of the “Standalone Application Settings”.  However, libcef.dll is still 
included in the standalone build on Windows.  It is not included in the build 
for OSX.  Am I right that this dll is solely for the use of the Browser Widget? 
 If so, can I simply delete it from the build?  Are there associated files I 
should also remove?

In my opinion, why add this ridiculously large dll (46.4MB!) when you can 
simply use revBrowserOpen and get the same results?  Am I missing something 
here?


Thanks in advace,
-Dan
___
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