Recent

Author Topic: lzRichEdit: Windows/Linux rich text implementation  (Read 42001 times)

typo

  • Hero Member
  • *****
  • Posts: 3051
lzRichEdit: Windows/Linux rich text implementation
« on: November 11, 2014, 04:25:14 pm »
I have just created the wiki page for lzRichEdit.

http://wiki.freepascal.org/lzRichEdit

This component was created to try to solve or at least alleviate the lack a Rich Text Editor component, this component runs on two platforms Linux (GTK2) / Windows, and has different ways to work on both OSs. The rich text control in Windows is provided by a library (API) and so is much faster than Linux. Linux file reading rich text is made by the FPC RTFPars TRTFParser ie the class, with some changes to support images, this class is just slower to treat rich complex text files, the Linux version only supports formatting text, paragraph and pictures and everything Windows supports what Ole and the APIWindows can offer. The two most important properties are the lzRichEdit Paragraph and SelAttributes, one takes care of the attributes of the paragraph and the other attributes of text.

Thanks.
« Last Edit: November 13, 2014, 03:18:11 am by typo »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #1 on: November 11, 2014, 05:47:49 pm »
I'm confused about the license: Antonio on the mailing list said it's LGPL!?!?
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #2 on: November 11, 2014, 05:51:11 pm »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #3 on: November 11, 2014, 05:55:25 pm »
Yes, I noticed that. That's why I'm confused!??!
lzrichedit.zip does not mention license in readme or in doc folder.
In the .lpk package, it mentions LGPL (so not "modified LGPL")

I wonder where the "modified LPGL" comes from?

Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #4 on: November 11, 2014, 06:02:04 pm »
Maybe it comes from my ignorance about the matter.

See the link again. I have put the whole text present in the pas files.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #5 on: November 11, 2014, 06:07:23 pm »
Thank you.

So apparently the information in the .lpk file and the pas files is conflicting:
lpk file: LGPL
pas file (text on wiki): modified LGPL (=LGPL with linking exception)
I'd suggest updating the files so they all match the actual license...

Edit: if you want to change the license in the .lpk to modified LGPL, this text is used in other packages:
Quote
Modified LGPL as in FCL or RTL
« Last Edit: November 11, 2014, 06:20:05 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #6 on: November 11, 2014, 06:23:39 pm »
Edit: if you want to change the license in the .lpk to modified LGPL, this text is used in other packages:
Quote
Modified LGPL as in FCL or RTL

What exactly the file you refer to?

RichBox.pas has the license text I have just copied to wiki.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #7 on: November 12, 2014, 09:02:21 am »
The file with the ".lpk" extension. I don't have the source zip here any more so cannot give you the exact filename. Probably lzrichedit.lpk or lazrichedit.lpk or something.

That is the file used by Lazarus to display package information such as description, author, copyright/legal info etc.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #8 on: November 12, 2014, 01:57:59 pm »
Well, LPK file is XML and has nothing about license inside it. Maybe you refer to the PAS files which are part of the package. Or to the README file, perhaps.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #9 on: November 12, 2014, 02:16:15 pm »
NO I DO NOT REFER TO ANYTHING ELSE BUT THE LPK FILE
YES IT DOES HAVE LICENSE INFORMATION INSIDE. Just search for LGPL:
lazrichedit.lpk
Code: [Select]
<License Value="LGPL"/>
Agreed?
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #10 on: November 12, 2014, 02:19:34 pm »
Yes.

So license value should be "modified LGPL2" ? The PAS files should have this too?
« Last Edit: November 12, 2014, 02:21:49 pm by typo »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #11 on: November 12, 2014, 02:23:48 pm »
It is up to the authors (all authors!) of the code to change existing licenses. You cannot just change a license

I WAS TALKING ABOUT MAKING SURE THAT:
1. If all licenses in .pas/other files say "modified LGPL"
2. then the lpk file matches those licenses
3. if the author indeed intended to publish under modified LGPL

Once again, I cannot know what license the author intended, but it is not possible to have a package/project with a "modified LGPL" license if any license in any part of the code does not allow "modified LPGL". This is the case for GPL, "normal" LGPL licenses etc.

In short/the easy solution: make sure the authors agree and that the licenses in all parts of the code match.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #12 on: November 12, 2014, 02:28:39 pm »
Of course I will not change the license myself, I am asking the author about this.  I only need to know what  to request from him.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #13 on: November 12, 2014, 02:31:16 pm »
No problem, it's just that it seems you did not understand what I wrote even when I wrote it repeatedly.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: lzRichEdit Windows/Linux rich text implementation
« Reply #14 on: November 12, 2014, 02:34:33 pm »
Don't worry.
« Last Edit: November 19, 2014, 01:16:58 pm by typo »

 

TinyPortal © 2005-2018