Re: [Lazarus] Which HTML render component better?
Chromium embedded would be the best HTML rendering option as of today. http://wiki.freepascal.org/fpCEF3 It would actually put a heavy toll on a size of any project, but it takes care of it all (html, js... whatever). -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Which HTML render component better?
I also seen error on compile THtmlPort, and fixed it, posted fix to github, then Lazarus demo crashes in loading 35K HTML file. and doesn't show simpler html file. Not ok code AlexeyT -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Which HTML render component better?
So, THtmlPort has more html features (and css too). Thanks. will try on test project too. AlexeyT. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Which HTML render component better?
Am 05.07.2017 um 14:08 schrieb Alexey via Lazarus: Which of these two: THtmlPort, TurboPower, is better rendering complex HTML files, with CSS included, etc? Seems THtmlPort wiki page is big, so it is better/bigger maybe? TurboPower is not ok at rendeding my homepage w/o JS (cannot test 2nd yet). In my Delphi times I had a few projects which used the original THtmlPort component (THtmlViewer), and this worked great. Later, I tried the Lazarus version in ccr, but it did not even compile, and it still does not today. There is a newer version on BerndGabriel's gitbub (https://github.com/BerndGabriel/HtmlViewer), it contains a Lazarus package, but it does not compile either (I did not investigate how difficult it is to fix this). The old Delphi version ignored JavaScript, I don't know whether this has changed in Bernd Garbriel's version, but I don't think so. Then I switched to the TurboPower Ipro HTMLPanel. It was very buggy then, I could improved it to some degree, but it still has lots of issues (look at our LHelp viewer). It has some css support, but I would not expect too much. Certainly no support of JavaScript. It is good for small pages, such as for some more interesting renderuing of the acknowledgements on the About page of an application. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Android & iOS
On Wed, Jul 5, 2017 at 9:30 AM, Alfred via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > I you limit yourself to Android: with LAMW you can make perfect Android > apps ! > > https://github.com/jmpessoa/lazandroidmodulewizard > > http://forum.lazarus.freepascal.org/index.php/topic,21919.0.html > I saw this project. Looks good... but my client needs Android and iOS so... :( Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Android & iOS
I you limit yourself to Android: with LAMW you can make perfect Android apps ! https://github.com/jmpessoa/lazandroidmodulewizard http://forum.lazarus.freepascal.org/index.php/topic,21919.0.html-- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Android & iOS
On Wed, Jul 5, 2017 at 8:57 AM, Mark Morgan Lloyd via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Might also be worth bering https://blog.jetbrains.com/kot > lin/2017/05/kotlin-on-android-now-official/ in mind. Not Pascal, but at > least was designed with Pascal in mind. > I didn't know Kotlin compiles to iOS. They are using LLVM — but FPC has a branch for that too, right? — but "...Kotlin/Native is far from complete, so this Technology Preview has a number of limitations that will be eliminated at later stages" see https://blog.jetbrains.com/kotlin/2017/04/kotlinnative-tech-preview-kotlin-without-a-vm/ So, I believe Ionic and JavaScript is winning until now. Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Android & iOS
On Wed, Jul 5, 2017 at 7:05 AM, Michael Schnell via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > This of course is bad news, but we do hope for improvement when time > comes > > See -> http://www.remobjects.com/ . > They claim to allow for writing multi-target pascal applications: > "NEW: Elements 9.1, Oxygene, C# & Swift, for iOS, Android, Mac, .NET & > more." > > (Of course not free / Open Source) > I've read something about RemObjects but I prefer stay in FPC that is Open Source. But thanks, anyway. Best regards, Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] Which HTML render component better?
Which of these two: THtmlPort, TurboPower, is better rendering complex HTML files, with CSS included, etc? Seems THtmlPort wiki page is big, so it is better/bigger maybe? TurboPower is not ok at rendeding my homepage w/o JS (cannot test 2nd yet). -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Android & iOS
On 05/07/17 10:30, Michael Schnell via Lazarus wrote: They claim Delphi VCL compatibility and hence it should be compatible to LCL, as well. -> http://www.elementscompiler.com/elements/whatsnew.aspx (I did not test any of their products.) Might also be worth bering https://blog.jetbrains.com/kotlin/2017/05/kotlin-on-android-now-official/ in mind. Not Pascal, but at least was designed with Pascal in mind. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Android & iOS
They claim Delphi VCL compatibility and hence it should be compatible to LCL, as well. -> http://www.elementscompiler.com/elements/whatsnew.aspx (I did not test any of their products.) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Android & iOS
On 04.07.2017 08:04, Michael Van Canneyt via Lazarus wrote: So at the moment the developer experience would not be very good, I think you're better off using a HTML5 based Ionic app. This of course is bad news, but we do hope for improvement when time comes See -> http://www.remobjects.com/ . They claim to allow for writing multi-target pascal applications: "NEW: Elements 9.1, Oxygene, C# & Swift, for iOS, Android, Mac, .NET & more." (Of course not free / Open Source) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 3 of 1.8.0
On Wed, 5 Jul 2017, Juha Manninen via Lazarus wrote: On Wed, Jul 5, 2017 at 12:49 AM, brian via Lazarus wrote: I think "annoying" is a bit of an understatement, myself. If the final release of 1.8 still shows the problem *for me*, then I'm certainly going to be staying with 1.6.4. It is not so serious because there are workarounds. The problem happens only in some Linux distro / desktop combinations and even there not always. Users were able to configure their systems to get rid of the problem. For example I have used various distros with XFCE and KDE but never seen the problem. One option is to dive into LCL-GTK2 code and fix the problem. That should be done by somebody who actually experiences it. [OutOfTopic] I can recommend Manjaro Linux + KDE. It always has the latest released versions of everything and KDE5 has matured beautifully. { "OutOfTopic" : ["If by mature you mean 'bloated', then yes.", "KDE has become so bloated, it has driven me away.", "To linux mint and cinnamon." ] } ;) Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Lazarus Release Candidate 3 of 1.8.0
On Wed, Jul 5, 2017 at 12:49 AM, brian via Lazarus wrote: > I think "annoying" is a bit of an understatement, myself. If the final > release of 1.8 still shows the problem *for me*, then I'm certainly > going to be staying with 1.6.4. It is not so serious because there are workarounds. The problem happens only in some Linux distro / desktop combinations and even there not always. Users were able to configure their systems to get rid of the problem. For example I have used various distros with XFCE and KDE but never seen the problem. One option is to dive into LCL-GTK2 code and fix the problem. That should be done by somebody who actually experiences it. [OutOfTopic] I can recommend Manjaro Linux + KDE. It always has the latest released versions of everything and KDE5 has matured beautifully. I always screwed up my Ubuntu derivatives when I tried to install new stuff without using their package repos. Ubuntu was the state or art > 10 years ago but not any more. Things have advanced since then. [/OutOfTopic] -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus