Recent

Author Topic: Some units from lazutils into fpcutils ?  (Read 1264 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 2223
    • StrumPract is the musicians best friend
Some units from lazutils into fpcutils ?
« on: March 28, 2021, 05:03:44 pm »
Hello.

Lazarus gives a great component: /components/lazutils.

Some units of this component work also perfectly for no-LCL applications, included console applications.

Could it be possible to consider to transfer this wonderful units into /fpc/packages/fpcutils so people dont need to install Lazarus to use it?

I was thinking mainly for units like easylazfreetype, fileutils and dependencies.

Thanks.

Fre;D
« Last Edit: March 28, 2021, 05:24:31 pm by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

Bart

  • Hero Member
  • *****
  • Posts: 4287
    • Bart en Mariska's Webstek
Re: Some units from lazutils into fpcutils ?
« Reply #1 on: March 28, 2021, 10:05:14 pm »
Since the release cycle of Lazarus is much faster than that of fpc: please no.

Bart

MarkMLl

  • Hero Member
  • *****
  • Posts: 2721
Re: Some units from lazutils into fpcutils ?
« Reply #2 on: May 07, 2021, 12:08:09 pm »
The placement of FileUtils (as discussed in another thread a few days ago) is definitely questionable, but I think the bottom line is whether the Lazarus team would be prepared to donate it to the FPC team.

Frankly, this is as much an FPC documentation error as anything else: the FPC documentation index could usefully have an "honourary packages" section for things like FileUtils.

Considering @Bart's point: Lazarus might be updated more regularly than FPC, but the version of FPC that it uses often lags the FPC project's current/stable release. I think the bottom line is where both projects stand on things like Unicode pathnames.

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9340
  • FPC developer.
Re: Some units from lazutils into fpcutils ?
« Reply #3 on: May 07, 2021, 03:12:12 pm »
Afaik release lazarus is now still 3.0.4 compatible, which doesn't have rtl-generics, a lot of the contents of lazutils is about container types, and some consolidation there seems in order.

Fileutils returns utf8 strings in normal strings, so that is useless for Free Pascal.

A first move would be to start merging small things back. E.g. things like that there now is a uitypes in lazutils, and a system.uitypes in freepascal.

utf8process is also fairly small in 3.2.x+, and basicaly an alias unit.

fileutils seems to have assumptions about utf8 use, and returns utf8 strings in normal string types.

 

TinyPortal © 2005-2018