On Mon, 3 Jul 2023 11:58:33 +0700
Hairy Pixels via fpc-pascal wrote:
> > On Jul 3, 2023, at 11:43 AM, Mattias Gaertner via fpc-pascal
> > wrote:
> >
> > There is a header byte.
> >
> > It depends, if you want to check for invalid UTF-8 sequences.
>
On Mon, 3 Jul 2023 14:12:03 +0700
Hairy Pixels via fpc-pascal wrote:
> > On Jul 3, 2023, at 2:04 PM, Tomas Hajny via fpc-pascal
> > wrote:
> >
> > No - in this case, the "header" is the highest bit of that byte
> > being 0.
>
> Oh it's the header BIT. Admittedly I don't understand how this
>
On Mon, 3 Jul 2023 12:01:11 +0700
Hairy Pixels via fpc-pascal wrote:
> > On Jul 3, 2023, at 11:36 AM, Mattias Gaertner via fpc-pascal
> > wrote:
> >
> > Useless array of.
> > And it does not return the bytecount.
>
> it's an open array so what's
On Mon, 3 Jul 2023 15:27:10 +0700
Hairy Pixels via fpc-pascal wrote:
>[...]
> I was just curious how ChatGPTs implementation compared to other
> programmer.
Apparently the quality is often terrible. But it can be useful.
> What I'm really trying to do is improve a parser so it can read UTF-8
The Lazarus team is glad to announce the first release candidate of
Lazarus 3.0.
This release was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
Here
On Mon, 3 Jul 2023 17:18:56 +0700
Hairy Pixels via fpc-pascal wrote:
>[...]
> > First of all: Is it valid UTF-8 or do you have to check for broken
> > or malicious sequences?
>
> If they give the parser broken files that's their problem they need
> to fix? the user has control over the file so
The Lazarus team is glad to announce the second release candidate of
Lazarus 3.0.
This release was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
Hi,
How to load a custom font from a stream instead of from a file?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 02.11.23 13:38, Alexey Torgashin via fpc-pascal wrote:
How to load a custom font from a stream instead of from a file?
Currently no way to my knowledge,
But fpparsettf.pp has this:
TTFFileInfo = class(TObject)
...
public
// Load a TTF file from file or stream.
Proce
On 02.11.23 14:00, Michael Van Canneyt via fpc-pascal wrote:
On Thu, 2 Nov 2023, Alexey Torgashin via fpc-pascal wrote:
How to load a custom font from a stream instead of from a file?
Currently no way to my knowledge,
But fpparsettf.pp has this:
TTFFileInfo = class(TObject)
...
pu
On 02.11.23 16:58, Michael Van Canneyt via fpc-pascal wrote:
[...]
Yes, absolutely.
But we may need a ref. counting mechanism then. Or at least we need to
decide who 'owns' the streams; At first sight it seems to me the
gTTFontCache should own all font streams.
Yes.
On second thought, mayb
On 02.11.23 16:42, Mattias Gaertner via fpc-pascal wrote:
On 02.11.23 14:00, Michael Van Canneyt via fpc-pascal wrote:
On Thu, 2 Nov 2023, Alexey Torgashin via fpc-pascal wrote:
How to load a custom font from a stream instead of from a file?
Currently no way to my knowledge,
But
On 15.12.23 16:00, Martin Frb via fpc-pascal wrote:
[...]
However, a method can be reintroduced, and be virtual/abstract.
type
TFoo = class
procedure Bar; virtual; abstract;
end;
TFoo2 = class(TFoo)
procedure Bar; reintroduce; virtual; abstract;
end;
Can that make sen
The Lazarus team is glad to announce the release of Lazarus 3.0.
This release was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
Here is the list of
The Lazarus team is glad to announce the release of Lazarus 3.2.
This is a bugfix release and was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
Her
On 29.02.24 19:21, Jos Wegman via fpc-pascal wrote:
The packages for the Lazarus mac OS x86-64 Lazarus 3.2 on sourceforge are
not correct. There is no compiler package. Instead there are two fpc src
packages. Just a heads-up.
Thanks for the hint. I uploaded the package.
Mattias
Op do
Hi,
When an exception is raised in a class constructor the application
aborts without any error.
How can I get an error?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pa
On 23.04.24 09:32, Andrey Zubarev via fpc-pascal wrote:
Hi,
Set ExceptProc to your handler in unit initialization section in unit
usesed before the problematic one?
It is set by lcl TApplication.
Just found out: It works with other exceptions, but not with EAbort.
And that indeed creates a
Hi,
On
https://www.freepascal.org/down/x86_64/linux-hungary.html
are links without "https://";, causing the browser to bark:
"File not downloaded: Potential security risk".
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://
The Lazarus team is glad to announce the release of Lazarus 3.4.
This is a bugfix release and was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
Her
On 11/29/24 22:58, James Richters via fpc-pascal wrote:
[...]
Next I thought I would try FPCUPDELUXE, so I used it to install a fresh copy
of 3.2.2 and then went to modules to install FPGUI it seems like it's going
to work, but then it gets an error:
Exception: EInOutError. File not open
May
Hi,
Are anonymous (aka local) pointer types allowed in procedure arguments
in any mode?
procedure Run(p: ^word);
begin
end;
I found that the fcl-passrc parser has a test to allow it and I'm
wondering if this is by design or a bug.
Mattias
___
fpc
The Lazarus team is glad to announce the release of Lazarus 3.8.
This is a bugfix release and was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_3.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
Her
The Lazarus team is glad to announce the second release candidate of
Lazarus 4.0.
This release was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
H
On 2/8/25 11:45, Guillermo Martínez Jiménez via fpc-pascal wrote:
Seeing the error line (FItems: ^TArray;) I think it's fpdoc's
fault. Seems that it doesn't recognize it as a specialization and gets
confused by finding a '<' character out of place (from it's point of
view).
Please create an
The Lazarus team is glad to announce the third release candidate of
Lazarus 4.0.
This release was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.2.2
He
On 2/21/25 12:04, Anthony Walter via fpc-pascal wrote:
[...]
Javascript:
let data = { name: "James", age: 25 };
function update(name) {
data.name = name;
}
function verify(note) {
console.log("received note " + note);
console.log("data name is " + data.name);
hello(data, " messa
On 3/25/25 15:02, Martin Guy via fpc-pascal wrote:
On 25/03/25 13:55, Mattias Gaertner via fpc-pascal wrote:
The Lazarus team is glad to announce the third release candidate of
Lazarus 4.0.
What is Lazarus? I have been unable to find anything on its web sites
that say what it is or what it
Hi,
What is the state of the bug 15128, that is the infamous checksum
changed bug:
https://gitlab.com/freepascal.org/lazarus/ccr/-/issues/15218
In the issue Jonas wrote that the only case is a forward function that
implements as "external". But I have never found such a function.
Is there
The Lazarus team is glad to announce the release of Lazarus 4.2.
This is a bugfix release and was built with FPC 3.2.2.
Here is the list of changes for Lazarus and Free Pascal:
https://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes
https://wiki.lazarus.freepascal.org/User_Changes_3.2.2
H
Thank You! Works.
On 8/1/25 15:52, Michael Van Canneyt via fpc-pascal wrote:
Hi,
I applied a patch that should fix the issue.
Michael.
On Fri, 1 Aug 2025, Mattias Gaertner via fpc-pascal wrote:
Hi,
Compiling fpc 3.3.1 with fpc 3.2.2 as starting compiler on macos 15.5
aarch64 stops on
Hi,
Compiling fpc 3.3.1 with fpc 3.2.2 as starting compiler on macos 15.5
aarch64 stops on linking fppkg:
Target OS: Darwin for AArch64
Compiling fppkg/fppkg.pp
Assembling fppkg
Linking fppkg/bin/aarch64-darwin/fppkg
Error: Error while linking
Fatal: There were 1 errors compiling module, stopp
201 - 232 of 232 matches
Mail list logo