Re: [fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Flávio Etrusco
On Fri, Jul 29, 2011 at 7:31 AM, Henry Vermaak wrote: > On 29/07/11 06:39, Jürgen Hestermann wrote: >> >> >> Bernd schrieb: >>  > Occasionally I hear other people mentioning operator overloading as a >>  > must-have feature of any decent language but I wonder what real-world >>  > problems they ar

Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi

2011-07-29 Thread Marcos Douglas
On Fri, Jul 29, 2011 at 5:18 PM, Marco van de Voort wrote: > In our previous episode, Marcos Douglas said: >> > 1) manually delete the .ppu's in packages that have this problem ( I ran >> > del >> > /s *.ppu ?and *.o in packages/) >> > >> > 2) delete all old fpmake.exe ?(del /s fpmake.exe in pack

Re: RE : [fpc-pascal] Timezone information in a dataset datetime field?- updated

2011-07-29 Thread Krzysztof
I notify that synapse have some tools for timezone in synautil unit like: {:Return your timezone bias from UTC time in minutes.} function TimeZoneBias: integer; {:Return your timezone bias from UTC time in string representation like "+0200".} function TimeZone: string; I don't know that they are

Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi

2011-07-29 Thread Marco van de Voort
In our previous episode, Marcos Douglas said: > > 1) manually delete the .ppu's in packages that have this problem ( I ran del > > /s *.ppu ?and *.o in packages/) > > > > 2) delete all old fpmake.exe ?(del /s fpmake.exe in packages/) > > Ok, thanks, worked! > But why this? In some packages in 2.5

Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi

2011-07-29 Thread Marcos Douglas
On Fri, Jul 29, 2011 at 4:31 PM, Marco van de Voort wrote: > In our previous episode, Marcos Douglas said: >> I got an error trying to compile FPC 2.5.1 (trunk at revision: 18036) >> on WinXP-SP3. >> >> Before update, I ran 'make distclean'. > >> Compiling src\base\custfcgi.pp >> PPU Loading >> W

Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi

2011-07-29 Thread Marco van de Voort
In our previous episode, Marcos Douglas said: > I got an error trying to compile FPC 2.5.1 (trunk at revision: 18036) > on WinXP-SP3. > > Before update, I ran 'make distclean'. > Compiling src\base\custfcgi.pp > PPU Loading > W:\md\dev\freepascal\compiler\2.5.1\packages\fastcgi\units\i386-win3 >

[fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi

2011-07-29 Thread Marcos Douglas
Hi, I got an error trying to compile FPC 2.5.1 (trunk at revision: 18036) on WinXP-SP3. Before update, I ran 'make distclean'. Console output: [snip] Start building package fcl-web for target i386-win32. Compiling src\base\custfcgi.pp The installer encountered the following error: External

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > >> highlighting before, it's a nice challenge. > > > > It is rather a nightmare if you ask me... > > Definitely. There are so many things one takes for granted in a > programming editor. A lot more work than I expected. [then again, what > isn't]

Re: [fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Den Jean
On Friday 29 July 2011 13:43:58 Bernd wrote: > With interfaces and their reference counting it can be made to work > but the cost of doing this seems so immense that I don't believe it is > justifiable in many real world applications (at least not in my > application). The performance penalty was t

Re: [fpc-pascal] operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Sven Barth
Am 29.07.2011 12:11, schrieb Mark Morgan Lloyd: Sven Barth wrote: Am 28.07.2011 23:04, schrieb Mark Morgan Lloyd: I wonder if I could ask a silly question here, without displaying too much ignorance. I generally understand the significance of an interface in the Windows context, where COM (or

Re: [fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Bernd
2011/7/29 Jürgen Hestermann : > Bernd schrieb: >> Occasionally I hear other people mentioning operator overloading as a >> must-have feature of any decent language but I wonder what real-world >> problems they are actually solving with it. > > I think operator overloading is a pain. As you said: Wh

RE : [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Ludo Brands
> I just tried under OpenSolaris. There was some compiler > errors. Basically some {IFDEF Linux} I had to change to > {IFDEF unix} when appropriate. It then managed to compile > MSEide, but the linking failed due to the usage of iconv. I > then tried to manually install GNU libiconv but that di

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Marcos Douglas
On Thu, Jul 28, 2011 at 11:06 AM, Graeme Geldenhuys wrote: > Hi, > > After reading a post about another FPC developers trying to get a > development system up and running under Solaris 10, I got curious. I > downloaded OpenSolaris 2010.03 (dev 134). Installation was painless > inside VirtualBox. D

Re: [fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Florian Klämpfl
Am 29.07.2011 12:00, schrieb Bernd: > I have run across another even more severe problem: Although using > reference counted interfaces makes everything work without memory > leaks there is one problem that gives all the nice syntactic sugar a > really bad taste: > > A := B > > I am not allowed t

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Graeme Geldenhuys
On 29 July 2011 10:38, Martin Schreiber wrote: >> the TfpgTextEdit component. I've never written an editor with syntax >> highlighting before, it's a nice challenge. > > It is rather a nightmare if you ask me... Definitely. There are so many things one takes for granted in a programming editor. A

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Graeme Geldenhuys
On 29 July 2011 10:01, Martin Schreiber wrote: >> @Martin Schreiber >> Just curious. Have you tried to compile MSEide on platforms other than >> Linux or Windows? >> > No. I just tried under OpenSolaris. There was some compiler errors. Basically some {IFDEF Linux} I had to change to {IFDEF unix} w

Re: [fpc-pascal] FPC release for Solaris not available on SF

2011-07-29 Thread Graeme Geldenhuys
On 29 July 2011 10:34, Mark Morgan Lloyd wrote: > > Assuming that Graeme is referring to Intel-architecture Solaris here, is Yes, sorry for my incomplete message. I am referring to Solaris x86 platform release. -- Regards,   - Graeme - ___ fpGUI -

Re: [fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Henry Vermaak
On 29/07/11 06:39, Jürgen Hestermann wrote: Bernd schrieb: > Occasionally I hear other people mentioning operator overloading as a > must-have feature of any decent language but I wonder what real-world > problems they are actually solving with it. I think operator overloading is a pain. As

Re: [fpc-pascal] operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 28.07.2011 23:04, schrieb Mark Morgan Lloyd: I wonder if I could ask a silly question here, without displaying too much ignorance. I generally understand the significance of an interface in the Windows context, where COM (or whatever today's name for it) is integrated fairl

[fpc-pascal] Re: operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Bernd
I have run across another even more severe problem: Although using reference counted interfaces makes everything work without memory leaks there is one problem that gives all the nice syntactic sugar a really bad taste: A := B I am not allowed to overload the assignment of equal types. This means

Re: [fpc-pascal] operator overloading and counting references / creating / destoying anonymous instances

2011-07-29 Thread Sven Barth
Am 28.07.2011 23:04, schrieb Mark Morgan Lloyd: I wonder if I could ask a silly question here, without displaying too much ignorance. I generally understand the significance of an interface in the Windows context, where COM (or whatever today's name for it) is integrated fairly deeply into the O

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 07:42, schrieb Graeme Geldenhuys: At the moment I'm using it to help develop the TfpgTextEdit component. I've never written an editor with syntax highlighting before, it's a nice challenge. It is rather a nightmare if you ask me... Martin _

Re: [fpc-pascal] Memds deprecated?

2011-07-29 Thread Reinier Olislagers
On 29-7-2011 11:10, michael.vancann...@wisa.be wrote: > > > On Fri, 29 Jul 2011, Reinier Olislagers wrote: > >> Hi list, >> >> According to Joost van der Sluis - 2010-07-22 12:14 in >> http://bugs.freepascal.org/view.php?id=13967 >> >> "TMemDataset is deprecated and TBufDataset should be used in

Re: [fpc-pascal] Memds deprecated?

2011-07-29 Thread michael . vancanneyt
On Fri, 29 Jul 2011, Reinier Olislagers wrote: Hi list, According to Joost van der Sluis - 2010-07-22 12:14 in http://bugs.freepascal.org/view.php?id=13967 "TMemDataset is deprecated and TBufDataset should be used instead." If this is true, could TMemDataset be marked as deprecated in the c

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread michael . vancanneyt
On Fri, 29 Jul 2011, Felipe Monteiro de Carvalho wrote: On Fri, Jul 29, 2011 at 10:44 AM, wrote: Because depending on a full-fledged spreadsheet technology for exporting data is overkill. The idea of the export routines is to be able to export data without too much dependencies. That's n

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Felipe Monteiro de Carvalho
On Fri, Jul 29, 2011 at 10:44 AM, wrote: > Because depending on a full-fledged spreadsheet technology for exporting > data is > overkill. > > The idea of the export routines is to be able to export data without too > much dependencies. That's not really possible for ODS. You will need to at leas

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Felipe Monteiro de Carvalho
On Fri, Jul 29, 2011 at 10:46 AM, Reinier Olislagers wrote: >> Why not simply implement a importer from Dataset for FPSpreadsheet >> instead of creating a new library to handle ODS? > > Very good idea; I'm not going to do it though - when csv works good > enough [1], that works for me... Actually

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 08:41, schrieb Graeme Geldenhuys: @Martin Schreiber Just curious. Have you tried to compile MSEide on platforms other than Linux or Windows? No. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

[fpc-pascal] Memds deprecated?

2011-07-29 Thread Reinier Olislagers
Hi list, According to Joost van der Sluis - 2010-07-22 12:14 in http://bugs.freepascal.org/view.php?id=13967 "TMemDataset is deprecated and TBufDataset should be used instead." If this is true, could TMemDataset be marked as deprecated in the code and documentation? Reinier

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Reinier Olislagers
On 29-7-2011 10:32, Felipe Monteiro de Carvalho wrote: > On Thu, Jul 28, 2011 at 4:28 PM, Reinier Olislagers > wrote: >> 5. I briefly thought about including OpenOffice Calc (ODT) format >> exporting but that seems a bit overkill as there already is a CSV export >> format. Any thoughts on new form

Re: [fpc-pascal] FPC release for Solaris not available on SF

2011-07-29 Thread Graeme Geldenhuys
On 29 July 2011 09:29, Michael wrote: > > Someone in the core team with access to Sourceforge should probably upload > it. OK, I'll post in the fpc-devel mailing list. -- Regards,   - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit h

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Graeme Geldenhuys
Hi Mark, On 29 July 2011 08:49, Mark Morgan Lloyd wrote: > Well done and thanks for testing. If you have any thoughts please could you > append them to the wiki page I'll take a quick read through that wiki page and see if there is anything I can add. The compiling and running of fpGUI based apps

Re: [fpc-pascal] FPC & fpGUI runs happily under OpenSolaris 2010.03

2011-07-29 Thread Graeme Geldenhuys
On 29 July 2011 06:22, Martin Schreiber wrote: > > It seems there is a first MSEide clone in the works. ;-) What can I say, you have some really good ideas. :-) Reality is that I doubt it will ever become a full blown IDE - I just don't have the time for that. My goal with it at this time is simp

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread michael . vancanneyt
On Fri, 29 Jul 2011, Felipe Monteiro de Carvalho wrote: On Thu, Jul 28, 2011 at 4:28 PM, Reinier Olislagers wrote: 5. I briefly thought about including OpenOffice Calc (ODT) format exporting but that seems a bit overkill as there already is a CSV export format. Any thoughts on new formats -

Re: [fpc-pascal] FPC release for Solaris not available on SF

2011-07-29 Thread Mark Morgan Lloyd
michael.vancann...@wisa.be wrote: On Thu, 28 Jul 2011, Graeme Geldenhuys wrote: Hi, While I was trying out OpenSolaris and FPC, I did notice one small issue. The FPC 2.4.4 release for Solaris is not available for download from SourceForge, but it was from the freepascal.org domain. Was this s

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Felipe Monteiro de Carvalho
On Thu, Jul 28, 2011 at 4:28 PM, Reinier Olislagers wrote: > 5. I briefly thought about including OpenOffice Calc (ODT) format > exporting but that seems a bit overkill as there already is a CSV export > format. Any thoughts on new formats - apart from Atom ;) ? That would be export from Dataset

Re: RE : RE : RE : [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Martin Schreiber
Am 29.07.2011 08:27, schrieb michael.vancann...@wisa.be: Maybe mseide does it too. Correct. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: RE : RE : RE : [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Reinier Olislagers
On 29-7-2011 9:27, michael.vancann...@wisa.be wrote: > > > On Thu, 28 Jul 2011, Ludo Brands wrote: > > Agreed, but you cannot every kind of data type, for that you > will probably need the various databases... and hopefully a > continuous integration server to run the tests... >

Re: [fpc-pascal] FPC release for Solaris not available on SF

2011-07-29 Thread michael . vancanneyt
On Thu, 28 Jul 2011, Graeme Geldenhuys wrote: Hi, While I was trying out OpenSolaris and FPC, I did notice one small issue. The FPC 2.4.4 release for Solaris is not available for download from SourceForge, but it was from the freepascal.org domain. Was this simply a minor oversight? Probab

Re: RE : RE : RE : [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread michael . vancanneyt
On Thu, 28 Jul 2011, Ludo Brands wrote: Agreed, but you cannot every kind of data type, for that you will probably need the various databases... and hopefully a continuous integration server to run the tests... Sqldb converts databases types to the internal ftxxx datatypes. So, yes, you can