[fpc-devel] Type+multi helpers overload bug

2022-05-07 Thread Hairy Pixels via fpc-devel
Basically it looks like multi helpers don’t actually work with overloaded methods and simply choses the last helper declared. Should I fix this? Seems unlikely we would not notice this before but maybe we did. {$modeswitch typehelpers} {$modeswitch multihelpers} type TMyHelper1 = type helper

Re: [fpc-devel] TShiftState

2022-05-07 Thread Mattias Gaertner via fpc-devel
On Sat, 7 May 2022 10:21:26 +0200 (CEST) Michael Van Canneyt via fpc-devel wrote: > On Sat, 7 May 2022, Mattias Gaertner via fpc-devel wrote: > > > Hi, > > > > Delphi has some extra TShiftState enums: ssTouch, ssPen, > > ssHorizontal > > > >

Re: [fpc-devel] qoi image file format support

2022-05-07 Thread Michael Van Canneyt via fpc-devel
On Sat, 7 May 2022, Marģers . via fpc-devel wrote: There is this super new, super fast and super what not image format. I have added support for fcl-images. attached zip file contains: 1) read and write support in files qoif/qoicomn.pas qoif/fpwriteqoi.pas qoif/fpreadqoi.pas 2) example of

Re: [fpc-devel] TShiftState

2022-05-07 Thread Michael Van Canneyt via fpc-devel
On Sat, 7 May 2022, Mattias Gaertner via fpc-devel wrote: Hi, Delphi has some extra TShiftState enums: ssTouch, ssPen, ssHorizontal https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TShiftState I propose for fpc to add these three and add an alias constant ssCommand =