[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

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

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 mich...@freepascal.org 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

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 mich...@freepascal.org 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.

[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 dgasp...@gmail.com wrote: On Wed, Mar 12, 2014 at 12:18 PM, Sergei Gorelkin sergei_gorel...@mail.ru wrote: Here I fully agree

[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:

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 dgasp...@gmail.com 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 - fpc

[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 - fpc-devel@lists.freepascal.org 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

[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 - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

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

2014-03-12 Thread Daniel Gaspary
and 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

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

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

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

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 11:42 AM, Sergei Gorelkin sergei_gorel...@mail.ru 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

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

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 12:18 PM, Sergei Gorelkin sergei_gorel...@mail.ru 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...

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 mich...@freepascal.org 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

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 mich...@freepascal.org 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

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

2014-03-12 Thread Daniel Gaspary
On Wed, Mar 12, 2014 at 3:23 PM, Sergei Gorelkin sergei_gorel...@mail.ru 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

[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 - fpc-devel@lists.freepascal.org

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 happens

RE: [fpc-devel] FPC 2.0.4

2006-10-22 Thread Daniel Hobson
Regards, Daniel Hobson. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database

[fpc-devel] FPC 2.0.4

2006-10-22 Thread Daniel Hobson
know how to do this) and make it work with Lazarus 9.19 beta (Dont 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 this outgoing message

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

2006-07-27 Thread Daniel Franzini
i'm sorry my lack of deeper knowledge...but can't strip solve the problem?!?!?!?On 7/27/06, Peter Vreman [EMAIL PROTECTED] wrote: The best idea I have to solve such thing is to use some sort of instructions for the compiler to tell it what I do need, and the compiler will check dependencies

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 every cpu-os

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.gz. maybe it should

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...and i cant lower my mtu far more...i want some troughput. I don't know what

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

Re: [fpc-devel] Packaging

2005-03-30 Thread Daniel Herzog
I think this should be a nice solution: bootstrap-arch-os-the version i can bootstrap with this.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 arch, not x86, or something. So arch is always a valid ppc* ending.

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 be

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 that you are not

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-and-egg story

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 very long. When

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

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. I don't know what or where the problem

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 -

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
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 (maybe even

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 - fpc-devel@lists.freepascal.org

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 maillist -

[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

[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. ___