[fpc-devel] Bug at SHA1File function..

2021-04-04 Thread Daniel Gaspary via fpc-devel
Hi. I reported a bug at Sha1File function: https://bugs.freepascal.org/view.php?id=38700 The FPC version I use is 3.0.4, because is the version available at Ubuntu 20.04 LTS.. In the issue I received a reply warning that the problem is present at FPC trunk. So... how to proceed, create a new is

Re: [fpc-devel] Are LazUtils - XML units still necessary ?

2016-03-09 Thread Daniel Gaspary
On Wed, Mar 9, 2016 at 9:04 PM, Mattias Gaertner wrote: > The main difference is they use UTF-8 strings instead of UTF-16 > strings. This saves memory and avoid conversions when using UTF-8 > strings in your application. > They also have some flags like xrfPreserveWhiteSpace, which preserves > ind

[fpc-devel] Are LazUtils - XML units still necessary ?

2016-03-09 Thread Daniel Gaspary
Since FPC 3.00 has a new Unicode support I was wondering about that. AFAIK, support to Unicode(Or only UTF8?) was the main reason to the existence of the units Laz2_Dom, Laz2_XmlRead/Write, etc. Thanks. ___ fpc-devel maillist - [email protected]

Re: [fpc-devel] Pascal to Javascript - Still being Updated ? / General Conversion

2015-08-02 Thread Daniel Gaspary
On Sun, Aug 2, 2015 at 4:41 AM, Michael Van Canneyt wrote: > Like I said, all that is in common then is fcl-passrc. This proposed class > will just contain some loops, I'm not sure if that is worth it ? Yes, it would be a kind of Pascal Reader, just walking the source tree. The conversion itself

Re: [fpc-devel] Pascal to Javascript - Still being Updated ? / General Conversion

2015-08-02 Thread Daniel Gaspary
On Sun, Aug 2, 2015 at 4:18 AM, Michael Van Canneyt wrote: >> How about change to an Abstract Converter Class(interface?) ?? > > What do you mean by this ? > >> I am thinking about using the same structure to convert to some text >> format. > > All you will have in common is the fcl-passrc ?

[fpc-devel] Pascal to Javascript - Still being Updated ? / General Conversion

2015-08-01 Thread Daniel Gaspary
make the Convert Functions Return Type independent? Current format: Function ConvertStatement(El: TPasImplStatement; AContext: TConvertContext ): TJSElement;virtual; Thank you, Daniel [1] http://lists.freepascal.org/pipermail/fpc-devel/2014-April/033689.html

[fpc-devel] XMLWriter / XMLTextWriter

2015-01-23 Thread Daniel Gaspary
Hi, Last year, at March, I sent an email[1] about some changes in XML units. One of my doubts remains: On Wed, Mar 12, 2014 at 2:20 PM, Daniel Gaspary wrote: > On Wed, Mar 12, 2014 at 12:18 PM, Sergei Gorelkin > wrote: >> Here I fully agree, and in the meantime I've

Re: [fpc-devel] Object Pascal on list of "languages Marked for death"

2014-10-09 Thread Daniel Gaspary
On Thu, Oct 9, 2014 at 4:11 PM, Daniel Gaspary wrote: > I don't agree with most of what is said in article, and even the author says: My intention was to send the message to fpc-pascal, not here. Sorry. ___ fpc-devel maillist - f

[fpc-devel] Object Pascal on list of "languages Marked for death"

2014-10-09 Thread Daniel Gaspary
I don't agree with most of what is said in article, and even the author says: "It’s hard to say just why, since the platform was really quite good." (talking about Delphi and Object Pascal). But well, I think it would worth to mention here, so here it is: http://news.dice.com/2014/10/09/5-progr

[fpc-devel] binutils for avr 8 bit

2014-05-23 Thread Daniel Sapundjiev
;url=http%3A%2F%2Fwinavr.sourcefor ge.net%2F But there is not much information about how to use the as.exe Thank you and regards, Daniel ___ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo

[fpc-devel] XPath Scanner

2014-03-16 Thread Daniel Gaspary
Hi, How was discussed last week[1], I uploaded a Patch[2] where I split the Scanner and Parser code of XPath. The scanner code was put at a new unit, XPath_Scanner. Regards, Daniel [1] http://lists.freepascal.org/fpc-devel/2014-March/033584.html [2] http

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 3:23 PM, Sergei Gorelkin wrote: > A certain subset of expressions (forward iteration only) can be handled that > way, yes. > But in general, XPath requires a source with non-sequential access. Beyond this use case, could be useful to other implementations of XML, tree base

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 2:36 PM, Michael Van Canneyt wrote: > What can be achieved at the most seems to be the parsing of the expression > and the resulting parse tree. Is exactly what I'm trying to say(my lack of English grammar skills doesn't help). :) > I seriously doubt this is doable, since

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 2:23 PM, Michael Van Canneyt wrote: > Curious: How can XPath become dom independent ? > I thought the result of XPath was a series of DOM nodes ? Yes, it is. But I'm thinking about using the XPath expressions in other classes. Maybe a TXmlTextReader descendent with suppor

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 12:18 PM, Sergei Gorelkin wrote: > Here I fully agree, and in the meantime I've already committed some initial > changes to TXMLWriter to make it function like .net XMLTextWriter. Are these changes at trunk? Fcl or LazUtils? About DOM independence... something against XPa

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 11:42 AM, Sergei Gorelkin wrote: > Why would you want to use S[t]AX approach in the first place? No special reason at the moment. I didn't examine TXmlTextReader so much yet. > The interface of .net-based XML[Text]Reader and XMLWriter is IMHO > much more straightforward a

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 11:04 AM, Daniel Gaspary wrote: > On other topic, a new StaX[1] class, using TXMLTextReader, I mean, *classes*. Creating the writer part too. ___ fpc-devel maillist - [email protected] http://lists.freepascal.

Re: [fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
nd leave it alone. Seems to be the best alternative. On other topic, a new StaX[1] class, using TXMLTextReader, seems need not too many work to accomplish. Am I sub estimating It ? Daniel [1] http://www.vogella.com/tutorials/JavaXML/article.html#javastax __

[fpc-devel] XML / SAX - Removing redundancies

2014-03-12 Thread Daniel Gaspary
, TSaxReader, needs much more changing and could affect users of the class. Thank you, Daniel [1] http://bugs.freepascal.org/view.php?id=25854 ___ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman

[fpc-devel] Registry Allocator documentation

2013-12-16 Thread Daniel Sapundjiev
Hi, I wrote some documentation about the FPC Registry Allocator. Can I post it somewhere. Or to send it to someone for review. Also, is there some documentation for the FPC Registry Allocator? Regards, Daniel ___ fpc-devel maillist - fpc-devel

[fpc-devel] for loop unroll optimization

2013-12-15 Thread Daniel Sapundjiev
Hi, Can someone explain the main idea behind the code In optloop.pas function unroll_loop(node : tnode) : tnode; What is the unroll about? Thanks in advance Daniel Sapoundjiev ___ fpc-devel maillist - [email protected]

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Daniel
AFAIR the ATTO tool measures read and write bursts of single "files" X in size. An interesting exercise is to transfer 1000 files to a USB memory stick in 2 situations: - Compacted in a single file, transfers at or near full USB speed. - Spread out normally on a folder takes forever. This happen

[fpc-devel] FPC 2.0.4

2006-10-22 Thread Daniel Hobson
2.1.1 development code (I know how to do this) and make it work with Lazarus 9.19 beta (Don’t know how to do) on Linux? If so, can anybody guide me on how this can be done?   Any feedback to this mail would be greatly appreciated.   Kindest Regards,   Daniel Hobson -- No virus found in

RE: [fpc-devel] FPC 2.0.4

2006-10-22 Thread Daniel Hobson
hope this is more helpful Regards, Daniel Hobson. ___ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408

Re: [fpc-devel] A small wish for FPC

2006-07-27 Thread Daniel Franzini
at the moment ?)You can't. It is only supports the Windows targets.___ fpc-devel maillist  -  [email protected]://lists.freepascal.org/mailman/listinfo/fpc-devel -- Daniel"Let us change our traditional attitude to the construction of pro

[fpc-devel] Test, please ignore

2005-08-31 Thread daniel
Mailinglists are being migrated. Daniël Mantione___ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] Packaging

2005-04-03 Thread Daniel Herzog
I'm leaving the list. Please contact me either in IRC or via mail for results of the discussion on -core ___ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
Michael Van Canneyt schrieb: > > On Wed, 30 Mar 2005, Johannes Berg wrote: > > >>On Wed, 2005-03-30 at 21:45 +0200, Marco van de Voort wrote: >> >> >>>Same here, and I can ping www.freepascal.org till 8184. >> >>The size at which you can ping www.freepascal.org isn't relevant, that >>just means

Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
>From the ping tests that have just been sent in, it's clear that it works for high MTUs also. But it doesnt neccessarily show that any "Fragmentation needed" packages can reach the server - which is the thing we need to proof or disproof, I'd say... And i'm sorry - i have no idea how this could b

Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
I think this should be a nice solution: bootstrap---.tar.gz This results in: bootstrap-386-linux-1.9.8.tar.gz containing a 1.0.10 version binary, for example. Please note i used "386" for , not x86, or something. So is always a valid ppc* ending. This eases up scripting. ___

Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
Michael Van Canneyt schrieb: > > On Wed, 30 Mar 2005, Daniel Herzog wrote: > > >>Peter Vreman schrieb: >> >>>>Jonas Maebe schrieb: >>>> >>>> >>>>>On 29 mrt 2005, at 16:40, Daniel Herzog wrote: >>>>>

Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
Michael Van Canneyt schrieb: > > On Wed, 30 Mar 2005, Micha Nelissen wrote: > > >>On Wed, 30 Mar 2005 19:24:13 +0200 >>Daniel Herzog <[EMAIL PROTECTED]> wrote: >> >> >>>Quite a few now said it might be the case that it's firewall blocks al

Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
> Does the darwin ppcppc binary actually work on linux-ppc? No. - i just tought ppcppc was linux on ppcwell then, replace it with the correct one :-) $ ./ppcppc bash: ./ppcppc: cannot execute binary file $ file ppcppc ppcppc: Mach-O executable ppc $ file ppc386 ppc386: ELF 32-bit LSB execu

Re: [fpc-devel] webserver

2005-03-30 Thread Daniel Herzog
Peter Vreman schrieb: >>Jonas Maebe schrieb: >> >>>On 29 mrt 2005, at 16:40, Daniel Herzog wrote: >>> >>> >>>>Here it doesnt. I even tried to change the mtu of all relevant systems >>>>to 1400 instead of 1500, which didnt help also...a

Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
> I had exactly the same situation with fpc for fink and solved it exactly > as suggested by Daniel Herzog. I would go for Individual bootstrap tar > balls for each arch, because this saves a lot of bandwidth. I called the > one for macosx/darwin: fpc-1.9.8.darwin.bootstrap.tar.

Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
>>Even better: >>One single archive containing all ppc* starting compilers - this way i >>could also package it quite easily for all arches, and it would easy to >>script it using "ppc${ARCH}" everywhere...you see? > > > I don't see it. Because that package will be huge since you need a ppc for >

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
> A sample configuration, or the great (i really like it) samplecfg tool, > are needed, to avoid possibly broken/outdated/... /etc/fpc.cfg files > > please add this somehow too. > I'm sorry. Forget about it - OPT="-n" solves it... ___ fpc-devel maillis

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
A sample configuration, or the great (i really like it) samplecfg tool, are needed, to avoid possibly broken/outdated/... /etc/fpc.cfg files please add this somehow too. ___ fpc-devel maillist - [email protected] http://lists.freepascal.o

Re: [fpc-devel] webserver

2005-03-29 Thread Daniel Herzog
>> ISP and consequently DNS has changed. Check the IP address. >> It should be 62.166.198.202 >> >> But you're the only one to report problems, which suggests the problem is >> somewhere on your side. Maybe a proxy ? > > > Well I'm having problems with www.freepascal.org for around a month now >

Re: [fpc-devel] OT: pmtu/tcp window clamping

2005-03-29 Thread Daniel Herzog
>>No matter what i change all those mtu's to - 1460 byte will be the >>bigges package that works. > > > Are you clamping the tcp window size correctly on 0.1? If you can't do > it there maybe try on 0.2. > > johannes Explain please. (All but 0.1 are Linux, 0.1 is a D-Link device)

Re: [fpc-devel] webserver

2005-03-29 Thread Daniel Herzog
Here it doesnt. I even tried to change the mtu of all relevant systems to 1400 instead of 1500, which didnt help also...and i cant lower my mtu far more...i want some troughput. >>> >>> >>>I don't know what or where the problem is, but you're the first person I >>>hear of who can't reac

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Even better: One single archive containing all ppc* starting compilers - this way i could also package it quite easily for all arches, and it would easy to script it using "ppc${ARCH}" everywhere...you see? ___ fpc-devel maillist - [email protected]

Re: [fpc-devel] webserver

2005-03-29 Thread Daniel Herzog
Jonas Maebe schrieb: > > On 29 mrt 2005, at 16:40, Daniel Herzog wrote: > >> Here it doesnt. I even tried to change the mtu of all relevant systems >> to 1400 instead of 1500, which didnt help also...and i cant lower my mtu >> far more...i want some troughput. > &

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Thanks. I'll, for now, work around it using the binary.tar. In practise, the only "problem" is the bigger download, and getting the ppc386 out of it... > This was clear from the beginning :) > But thank you for taking the trouble yo elaborate. > > We're discussing on the core list how we can acc

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
>>Okay. I'll totally rephrase this now: >> >>Gentoo builds (almost) everything from source. >>This is done via ebuilds. >>There is grap this file: >>ftp://ftp.freepascal.org/pub/fpc/beta/source-1.9.8/fpc-1.9.8.source.tar.gz >>And compile and install it. > > > Don't expect this directory to exists

Re: [fpc-devel] webserver

2005-03-29 Thread Daniel Herzog
>>i cannot access http://www.freepascal.org/ for days. >> >>I can ping it, and wget establishes a connection ("200 OK" )but cant >>download any data. ftp and www.jp.freepascal.org work fine. >> >>please fix this, it worked nice here until the last week or so. > > > One of the sites of freepascal.

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
Okay. I'll totally rephrase this now: Gentoo builds (almost) everything from source. This is done via ebuilds. There is grap this file: ftp://ftp.freepascal.org/pub/fpc/beta/source-1.9.8/fpc-1.9.8.source.tar.gz And compile and install it. To do this, i need a starting compiler, nothing more. It

Re: [fpc-devel] Packaging

2005-03-29 Thread Daniel Herzog
/beta/source-1.9.8/ Comments? Questions? Best wishes - Daniel Herzog (Shamelessly snaffled, defaced, abandond from here: http://www.nl.freepascal.org/lists/fpc-devel/2005-March/004784.html) :-) > Sources shouldn't contain binaries. Bootstrapping compilers is always a > chicken-an

[fpc-devel] webserver

2005-03-28 Thread Daniel Herzog
i cannot access http://www.freepascal.org/ for days. I can ping it, and wget establishes a connection ("200 OK" )but cant download any data. ftp and www.jp.freepascal.org work fine. please fix this, it worked nice here until the last week or so. ___ fp

[fpc-devel] Packaging

2005-03-28 Thread Daniel Herzog
Hi guys. It would be nice if you could add a starting compiler to your source packages, this eases up packaging with gentoo alot. this is especially important for the 1.9.x series, which is changed. (the stable release looks kinda freezed until 2.0.0 is released) daniel