Re: [fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-05 Thread Dmitry Boyarintsev via fpc-pascal
On Wed, Jan 5, 2022 at 5:05 AM Michael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> I have made some changes, hopefully all is fixed..
>
The redirect has been added.

Can the search form also be changed to use "https://; instead of "http://;
as its action?

Currently it is:
http://forum.lazarus.freepascal.org/index.php?action=search;
method="get">
   
   

   
  

thanks,
Dmtry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-05 Thread Dmitry Boyarintsev via fpc-pascal
On Wed, Jan 5, 2022 at 2:49 AM Dimitrios Chr. Ioannidis via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> the certificate issued for www.freepascal.org and not for freepascal.org .
>
> It seems that the let's encrypt script was run with -d freepascal.org
> instead of -d *.freepascal.org .
>

I don't know how it works for Open Source world, but for the commercial
world wild-card certificates (*.freepascal.org) are more expensive, than a
single name certificate (www.freepascal.org)

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-04 Thread Dmitry Boyarintsev via fpc-pascal
You probably want to give a bit more context here.

1. The error seems to be visible only in Safari (iOS or macOS).
I did test Chrome, it fails to open "https://freepascal.org; and
automagically reopens "www.freepascal.org". Thus the certificate error is
not observed.
Chrome also suggested that request to "https://freepascal.org; fai
(The similar behavior is seen on Edge, which is Chrome anyway)

2. I'd think it would be proper for the server of "freepascal.org" to
response with a redirect to "www.freeepascal.org"

3. Even "www.freepascal.org" has a problem. The browser doesn't seem to
like that the "search" form action is leading to insecure "
http://forum.lazarus.freepascal.org/index.php?action=search; and thus a
warning sign is shown
[image: image.png]

thanks,
Dmitry

On Tue, Jan 4, 2022 at 7:00 PM Rainer Stratmann via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> https://freepascal.org/
>
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] Explicit Interface implementation and inheritance

2021-08-14 Thread Dmitry Boyarintsev via fpc-pascal
Hello,

Why is interface implementation not inherited, if explicit implementation
is used.

Example.

Here are interfaces:
  IAAA = interface
procedure MethodA;
  end;
  IBBB = interface(IAAA)
procedure MethodB;
  end;

Interface IBBB inherits from IAAA

Here's an implicit interface implementation:

  TObjA = class(TInterfacedObject, IAAA)
procedure MethodA;
  end;

  TObjB = class(TObjA, IBBB)
procedure MethodB;
  end;

Class TObjB inherits from TObjA. Where TObjA implements IAAA.
And so TObjB only needs to implement MethodB, and MethodA is implicitly
mapped for the interface method.

Here's an explicit interface implementation:

  TImpA = class(TInterfacedObject, IAAA)
  public
procedure CallOfA; virtual;
procedure IAAA.MethodA = CAllOfA;
  end;

  // compiler error. No matching implementation for interface method
"MethodA"; found
  TImpB = class(TImpA, IBBB)
  public
procedure CallOfB;
procedure IBBB.MethodB = CallOfB;
  end;

Why is it happening? TImpB inherites from TImpA. In TImpA the MethodA is
implemented by "CallOfA".

Is it a requirement to map all the methods of implemented interfaces? (no
matter if they were implemented in parent classes).

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-12 Thread Dmitry Boyarintsev via fpc-pascal
On Thu, Aug 12, 2021 at 2:00 AM Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

>
> What could I replace these svn co (or svn export) calls with?
>
the current:
svn co https://svn.freepascal.org/svn/fpc/tags/$FPCTAG/ $FPCVER
turns into:
svn co https://github.com/fpc/FPCSource/tags/$FPCTAG/$FPCVER

If you open https://github.com/fpc/ you can find all the mirrors are there.
And this is the official Github mirror, so all the latest changes should be
reflected there pretty quickly.

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-12 Thread Dmitry Boyarintsev via fpc-pascal
On Thu, Aug 12, 2021 at 1:34 AM LacaK via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> I have related question: in SVN was possible to checkout specific
> sub-directory (for example if I am interested in fcl-db package only I
> checkedout only this sub-directory).
> Is it possible with gitlab? Or I must clone whole
> https://gitlab.com/freepascal.org/fpc/source ?
>

No. This is not possible with Git.
You either have to deal with the entire project structure or you could use
an SVN mirror (i.e. github based)

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Dmitry Boyarintsev via fpc-pascal
On Thu, Aug 12, 2021 at 12:27 AM Michael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> It's like switching car brands from a VW to an Audi or so.
> Some buttons are in different places, your key will maybe look different,
> but that's it. It's a car, it brings you from a to b.
>
It's not switching brands, it's switching the type of the car.
from a passenger i.e. to a bus.
It's still a car, but the concept is a little different.


> A file version system manages versions of files.
> The actual commands differ a little, but that's it.
>

The human psychology. There were no particular problems for anyone to use
SVN.
It worked fine. So for the people it doesn't seem like an obvious reason
for the change.
The change is not recognized by the brain as a needed change, as a cure of
some sort.
Instead it's recognized as an unnecessary burden.
(unlike switching from CVS to SVN)

The same is happening with kids at school. They don't recognize the new
knowledge as something useful.
Instead they still treat the school as a burden.
---
In the software we for some reason prefer to stick to "backwards
compatibility"
No matter how much it affects a project. (it's considered that retaining
backwards compatibility is a positive effect).
However the same concept doesn't apply to the infrastructure for some
reason.

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Dmitry Boyarintsev via fpc-pascal
On Wed, Aug 11, 2021 at 5:37 PM Michael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> > why not to use Github mirror?
> Why not encourage people to go with the times ?
>
it might depend on the use of the version control.
Maybe there's a certain automation involved behind the scenes.
If it used to be configured for SVN then the only allowed kind of change is
the URL address.


> As a programmer, switching version systems should be a no-brainer.
>
amen

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Dmitry Boyarintsev via fpc-pascal
why not to use Github mirror?

svn co https://github.com/fpc/FPCSource/trunk
or
svn co https://github.com/fpc/FPCSource/tags/$FPCTAG/



thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Windows Defender considers fp.exe a malicious program

2021-02-12 Thread Dmitry Boyarintsev via fpc-pascal
Are signed executables subject to anti-virus inspection?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] bug tracker (bugs.freepascal.org) APPLICATION ERROR #400 (db connection failed)

2020-08-30 Thread Dmitry Boyarintsev via fpc-pascal
The site opens up with:

APPLICATION ERROR #400

Database connection failed. Error received from database was #-1: Database
connection failed.

Please use the "Back" button in your web browser to return to the previous
page. There you can correct whatever problems were identified in this error
or select another action. You can also click an option from the menu bar to
go directly to a new section.

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Add API to official documentation search

2019-11-17 Thread Dmitry Boyarintsev via fpc-pascal
On Sunday, November 17, 2019, Graeme Geldenhuys <
mailingli...@geldenhuys.co.uk> wrote:
>
> Either way, that's a pie in the face for Embarcadero. :-)
>

They probably asked Embarcadero the same question for Delphi language
reference

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal