Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-05

[ANN] fpCEF3

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi list,

finally I managed to get it in shape - and it's here now: -- Chromium Embedded Framework 3 for Free Pascal / Lazarus --

I hope this will help to finally get a cross-platform and full-featured HTML viewer for Lazarus.

https://github.com/dliw/fpCEF3

You will find all relevant information in the Readme.

Some more notes:

1. There are still crashes / exceptions
Most of them go away if you disable fpc's runtime checks
- I would really like to know, what the reason is - but some (heavier) websites like Youtube still can crash the library.

I don't know the exact reason, it might be something plugin / java script related or - more likely - something string related, which isn't easy to solve as CEF has it's very own way to handle strings...

The main problem (for me) is debugging CEF systematically, libcef.so (in the debug version) is about 1.3 GB in size and gdb takes about 1 min. to load - just to see why a certain webpage crashes the library few seconds afterwards... :(

2. Only Linux is (currently) supported
The simple reason is, that I don't have a Windows ready for development...

3. I use(d) this for a small project of mine, where I need(ed) to show big static htmls (no plugins / no js) and no existing solutions worked for me

I'm (currently) very busy in 'real life', so don't expect much / very frequent input from my side...

thus I would greatly appreciate any patches - of course I am willing to acknowledge any involvement...

Still - I hope I will get - at least - Windows working soon - if time permits.

Regards,
d.l.i.w

Reply by email

Unknown author
to Unknown author

A 'small' addition:

Windows is supported now.

Overall it seems to be much more stable than the Linux version, up to now I had no crashes.
[ Win XP (VirtualBox) and Wine on Linux]

Currently it needs to be compiled without -WG (so you have this ugly cmd window) - this will change as soon as I don't need debug info output any more.

The only thing that needs improvement is the string handling (allocation / conversion to TCefString),
currently I assume strings contain ASCII only - there are problems with non- ASCII chars - but I wasn't able to get UnicodeString working on Linux and debugging was horribly time consuming.
So I'll first try to switch to Widestrings on Windows.

Anyway - I' would be happy to get some feedback...

Regards,
d.l.i.w

Reply by email