Re: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread Graeme Geldenhuys
José Mejuto het geskryf: > architectures. Much better would be "move > (array1[0],array2[0],elements*sizeof(element))" but even in this case > the result is undefined, but it is a bit more exact as the programmer Now this is a perfect example, of why I love Java (at least what I have seen of it -

Re: [fpc-pascal] What project management tool does FPC developers use?

2010-05-04 Thread Zaher Dirkey
On Tue, Apr 27, 2010 at 6:05 PM, Frank Church wrote: > What project management tool does FPC and Lazarus developers use? I > mean besides mantis for bug tracking? > I am thinking along the lines of JIRA, Redmine, Fogbugz etc. > > Add "Trac" to the list http://trac.edgewall.org/ Best Regards -- Z

Re: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread Jürgen Hestermann
So why is it a problem, that one is a pointer, and the other not? Because it is easier, or more often overlooked. The problem is not that one is a pointer (to an array) and the other one is the array itself. That would be fine if it is told to the programmer that way and if it would be consist

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread José Mejuto
Hello FPC-Pascal, Tuesday, May 4, 2010, 9:41:27 PM, you wrote: M> I have never found anything that says, that an array (not a M> static-array, just an array), always and under any circumstances must M> ensure that the identifier of the whole array is equal to the first M> data-element in the arra

Re: [fpc-pascal] XML Iteration

2010-05-04 Thread Luiz Americo Pereira Camara
Lee Jenkins escreveu: Frank Church wrote: I am having some problems with XPath. EvaluateXPathExpression raises exceptions with some search strings and I am not sure if it is my limited knowledge of XPath, or a buggy XPath implementation. The attached demo uses the example from http://www.w

Re: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread Martin
On 04/05/2010 20:11, "Vinzent Höfler" wrote: I fear you've simply no clue about the usage, internals and purpose of dyn. arrays so I stop this discussion. As you always do once someone does not share your point of view, even after you tried so hard to convince him. :P Well, never mind. S

Re: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread Doug Chamberlin
On 5/4/2010 3:11 PM, "Vinzent Höfler" wrote: The dynamic array simply fails the principle of least surprise. No more, no less. OK. You are correct. Now can we move on? Doug C. - A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A:

Re: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread Florian Klaempfl
Vinzent Höfler schrieb: >> I fear you've simply no clue about the usage, >> internals and purpose of dyn. arrays so I stop this discussion. > > As you always do once someone does not share your point of view, Indeed, because I don't want to waste too much of my "fpc time" with writing useless ema

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Luiz Americo Pereira Camara
Lukas Gradl escreveu: Thanks. BTW: are you using the latest DCPCrypt? Recently I applied a lot of 64-bit fixes for DCPCrypt - extensively tested under 64-bit Linux. Once I get a 64-bit Windows FPC going, I'll test on that platform too. Latest DCPCrypt is in Lazarus-CCR git repository at SourceF

Re: [fpc-pascal] dynamic array contents and system.move

2010-05-04 Thread Vinzent Höfler
> I fear you've simply no clue about the usage, > internals and purpose of dyn. arrays so I stop this discussion. As you always do once someone does not share your point of view, even after you tried so hard to convince him. :P Well, never mind. Still, dynamic arrays are a bitch, because they on

Re: [fpc-pascal] renaming XML element

2010-05-04 Thread Marc Santhoff
Sorry, I messed up the structure of the example ... Am Dienstag, den 04.05.2010, 19:30 +0200 schrieb Marc Santhoff: > Example > --- > Now: > > > whatever or nothing > > ...  > <nextsibling> > ... > > > Afterwards: > >  > whatever or nothing > > ... 

[fpc-pascal] renaming XML element

2010-05-04 Thread Marc Santhoff
Hi, since I'm only rarely using XML and the DOM unit I have to ask: I need to rename an element inside an XML tree. I've learned that elements are immutable in the DOM implementation, so renaming has to be done by - makeing a new element with the new name - copying over the complete subtree (chi

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Graeme Geldenhuys
On 4 May 2010 17:50, Lukas Gradl wrote: > > Could'nt find a version number in my copy - but there is some Mr. Geldenhuys > in the Changelog, so I think I've one of your versions. I'm not in-front of my work computer, but I think I updated the *.lpk file's version number. I'll double check tomorro

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Lukas Gradl
Thanks. BTW: are you using the latest DCPCrypt? Recently I applied a lot of 64-bit fixes for DCPCrypt - extensively tested under 64-bit Linux. Once I get a 64-bit Windows FPC going, I'll test on that platform too. Latest DCPCrypt is in Lazarus-CCR git repository at SourceForge. Or released version

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Graeme Geldenhuys
Lukas Gradl het geskryf: > > I use FPC to compile Win64 DLLs. No Problems with the compiler so far, > only had some problems with UIB and DCPCrypt, Thanks. BTW: are you using the latest DCPCrypt? Recently I applied a lot of 64-bit fixes for DCPCrypt - extensively tested under 64-bit Linux. Once

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-04 Thread Marcos Douglas
Lee Jenkins wrote: > I don't think so because the framework itself doesn't incorporate any > communication protocols.  Using your favorite existing Server platform (like > fpWeb/LazWeb) you write a small method for when a request comes in like the > one below to handle the request/response: > (...

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Lukas Gradl
Graeme Geldenhuys schrieb: Hi, I often hear of developers using FPC on 64-bit Linux. My development machine is the same. But I can't say I have ever heard of anybody using 64-bit Windows with FPC. Does FPC support 64-bit Windows? If so, is it stable (like 64-bit Linux) or still experimental?

Re: [fpc-pascal] Clipboard on WindowsCE

2010-05-04 Thread Felipe Monteiro de Carvalho
Hello, I have previously fixed a Clipboard problem: http://bugs.freepascal.org/view.php?id=13486 Please try to upgrade to 0.9.29 (you can use a snapshot) and try again. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepa

[fpc-pascal] Clipboard on WindowsCE

2010-05-04 Thread Technical
Does anyone know how to activate the clipboard when programming for Windows CE? I can do it OK when programming for Win32 etc, but not for WinCE. The message when the program is run is "IndexOfCached FormatID Internal Error: Invalid FormatID 0 for clipboard". Sure enough, there are no valid form