Author Topic: TlsLib4Pascal  (Read 2658 times)

Tomxe

  • Full Member
  • ***
  • Posts: 163
Re: TlsLib4Pascal
« Reply #15 on: August 18, 2026, 09:49:53 am »
Perhaps you could add this to OPM package manager? opm@lazarus-ide.org

My FTP client which uses TlsLib4Pascal to handle FTPS connections:
https://xelitan.com/app/ftp-client
Thanks to the library it only needs a single DLL (to handle SFTP connections).
« Last Edit: August 18, 2026, 12:05:09 pm by Tomxe »

Thaddy

  • Hero Member
  • *****
  • Posts: 19805
  • Glad to be alive.
Re: TlsLib4Pascal
« Reply #16 on: August 18, 2026, 12:52:32 pm »
Actually, all the dependencies should be added to the default distribution, in that case.
Suppose the "man with the unpronounceable name" (which I call him in private conversations) disappears? (I hope not!).
But I am all for it!
Any "programmer" that knows only one programming language is not a programmer

Tomxe

  • Full Member
  • ***
  • Posts: 163
Re: TlsLib4Pascal
« Reply #17 on: August 18, 2026, 01:00:19 pm »
Seems the dependencies are already in OPM just not updated to the newest versions.

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #18 on: August 18, 2026, 01:02:32 pm »
TlsLib4Pascal will be added to OPM in the next few days. I just have a bit of polishing left to do, along with updating its dependencies, such as CryptoLib4Pascal, in OPM.

Thaddy

  • Hero Member
  • *****
  • Posts: 19805
  • Glad to be alive.
Re: TlsLib4Pascal
« Reply #19 on: August 18, 2026, 06:18:26 pm »
@Xor-El
Don't forget the minor dependencies in the development tree, like the adapters, but I trust you take care of that.
Any "programmer" that knows only one programming language is not a programmer

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #20 on: August 18, 2026, 07:07:31 pm »
@Xor-El
Don't forget the minor dependencies in the development tree, like the adapters, but I trust you take care of that.

sure thing @Thaddy

dseligo

  • Hero Member
  • *****
  • Posts: 1704
Re: TlsLib4Pascal
« Reply #21 on: August 18, 2026, 09:43:26 pm »
TlsLib4Pascal will be added to OPM in the next few days.

Nice, thank you

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #22 on: September 02, 2026, 09:41:39 am »
TlsLib4Pascal is now available on OPM! 🎉

Sorry it took this long 😅, but it’s finally there.

Thaddy

  • Hero Member
  • *****
  • Posts: 19805
  • Glad to be alive.
Re: TlsLib4Pascal
« Reply #23 on: September 02, 2026, 11:04:21 am »
Doesn't matter if it took long, I already changed almost all my non-commercially linked code to yours! preparing to run it on thaddy.com (not live again, yet, but pingable)
The idea is I will be running a complete server fully written in FreePascal, without dependencies.
(thaddy.com has been mine since 2000, but I had some issues with my previous hoster Flexweb, which was bought by a company that decided not to play nice for hobbyists.
Luckily I kept my domain name, otherwise they would have poached that from me too. They did try that....Only offset is now it is a virtual server, but with  root access, as opposed to full hardware. Doesn't matter much, not much traffic anyway)
« Last Edit: September 02, 2026, 11:28:08 am by Thaddy »
Any "programmer" that knows only one programming language is not a programmer

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #24 on: September 02, 2026, 12:06:33 pm »
Doesn't matter if it took long, I already changed almost all my non-commercially linked code to yours! preparing to run it on thaddy.com (not live again, yet, but pingable)
The idea is I will be running a complete server fully written in FreePascal, without dependencies.

That's great to hear! And the idea of a web server written entirely in FreePascal, without any external DLL dependencies, is music to my ears. 😄
« Last Edit: September 02, 2026, 12:19:11 pm by Xor-el »

Thaddy

  • Hero Member
  • *****
  • Posts: 19805
  • Glad to be alive.
Re: TlsLib4Pascal
« Reply #25 on: September 03, 2026, 08:29:23 am »
When installed through OPM there is a slight issue with debug mode:
Code: Pascal  [Select][+][-]
  1.   {$IFDEF DEBUG}
  2.   TBinPolyMulBase.DebugAssertReducePreconditions(LN, Att);
  3.   {$ENDIF}
Two times in unit ClpBinPolyMulBaseBinomialReduce.

Work around, but not a fix: {$UNDEF DEBUG}
« Last Edit: September 03, 2026, 09:58:11 am by Thaddy »
Any "programmer" that knows only one programming language is not a programmer

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #26 on: September 03, 2026, 10:30:19 am »
When installed through OPM there is a slight issue with debug mode:
Code: Pascal  [Select][+][-]
  1.   {$IFDEF DEBUG}
  2.   TBinPolyMulBase.DebugAssertReducePreconditions(LN, Att);
  3.   {$ENDIF}
Two times in unit ClpBinPolyMulBaseBinomialReduce.

Work around, but not a fix: {$UNDEF DEBUG}

Thanks for reporting this, Thaddy. It was an oversight on my part while cleaning up some unused imports.

The issue has been fixed on master, and I’ve also sent an email to OPM requesting that the package be updated. It should hopefully be updated by the end of the day.

Thanks again for taking the time to report it!

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #27 on: September 03, 2026, 12:41:19 pm »
When installed through OPM there is a slight issue with debug mode:
Code: Pascal  [Select][+][-]
  1.   {$IFDEF DEBUG}
  2.   TBinPolyMulBase.DebugAssertReducePreconditions(LN, Att);
  3.   {$ENDIF}
Two times in unit ClpBinPolyMulBaseBinomialReduce.

Work around, but not a fix: {$UNDEF DEBUG}

Thanks for reporting this, Thaddy. It was an oversight on my part while cleaning up some unused imports.

The issue has been fixed on master, and I’ve also sent an email to OPM requesting that the package be updated. It should hopefully be updated by the end of the day.

Thanks again for taking the time to report it!

This has been updated on OPM.

Thaddy

  • Hero Member
  • *****
  • Posts: 19805
  • Glad to be alive.
Re: TlsLib4Pascal
« Reply #28 on: September 03, 2026, 12:43:17 pm »
Thank you both ;)
Any "programmer" that knows only one programming language is not a programmer

Xor-el

  • Sr. Member
  • ****
  • Posts: 428
Re: TlsLib4Pascal
« Reply #29 on: September 03, 2026, 02:06:22 pm »
Thank you both ;)

You’re welcome, Thaddy! ;)
« Last Edit: September 03, 2026, 04:06:59 pm by Xor-el »

 

TinyPortal © 2005-2018