Re: [fpc-pascal] Indexing files

2012-12-16 Thread Graeme Geldenhuys
On 15/12/2012 21:55, Michael Van Canneyt wrote: There is a similar mechanism on windows, but I haven't had time to look at it yet: I wanted to make a unified architecture for this kind of things. I created a truly single source cross-platform system for this. Register your interest (file, dire

Re: [fpc-pascal] Brook 1.0 - A new framework for web was born

2012-12-16 Thread Graeme Geldenhuys
On 15/12/2012 21:22, Sven Barth wrote: Maybe because the authors prefered inline comments instead of fpdoc's XML files... A shame, because the more detailed the documentation, the more it obfuscates the code. eg: Documentation Insight, a popular Delphi IDE plugin for documenting frameworks

Re: [fpc-pascal] Websocket client

2012-12-16 Thread Ralf A. Quint
At 01:14 PM 12/16/2012, Krzysztof wrote: Yes, I saw it in google result. What I remember that ICS was only for windows. Something changed in this case? No, not that I am aware of, it is AFAIK still Windows only. But then you did not mention that you're looking for something cross-platform eith

Re: [fpc-pascal] Websocket client

2012-12-16 Thread Krzysztof
Yes, I saw it in google result. What I remember that ICS was only for windows. Something changed in this case? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Websocket client

2012-12-16 Thread Ralf A. Quint
At 12:32 PM 12/16/2012, Krzysztof wrote: Hi, Anyone know good and free websocket client which work on linux and windows? Have you looked at what is included into Francois Piette's ICS? (http://www.overbyte.be/frame_index.html?redirTo=/products/ics.html) Ralf __

[fpc-pascal] Websocket client

2012-12-16 Thread Krzysztof
Hi, Anyone know good and free websocket client which work on linux and windows? What I found: 1. http://code.google.com/p/bauglir-websocket - looks nice, based on synapse. But demo can't connect to ws://echo.websocket.org on port 8080. Seems that thread listener don't have exception handlers. I w

Re: [fpc-pascal] Brook 1.0 - A new framework for web was born

2012-12-16 Thread silvioprog
2012/12/16 Sven Barth > On 15.12.2012 04:24, silvioprog wrote: > >> More than 15,000 lines of source code, more than 90 test cases, more >> than one year of work. Today, a new framework for web development was >> born. It's name is Brook and its nice features are available for you. >> I thank the

Re: [fpc-pascal] Indexing files

2012-12-16 Thread Krzysztof
And which database you prefer? I don't need complicated functionality. The most important is insert speed and it must be embedded. I'm thinking of SQLight, DBF or Firebird Embedded ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.f

Re: [fpc-pascal] Indexing files

2012-12-16 Thread Michael Van Canneyt
On Sun, 16 Dec 2012, Marco van de Voort wrote: In our previous episode, Tomas Hajny said: I think Ales was at some point working on having a common kevent +inotify support unit. (Kevent is the OSX/BSD variant) Really ? Maybe it could be added to the fcl-base ? If so, make sure to make it

Re: [fpc-pascal] Indexing files

2012-12-16 Thread Marco van de Voort
In our previous episode, Tomas Hajny said: > > > I think Ales was at some point working on having a common kevent +inotify > > > support unit. (Kevent is the OSX/BSD variant) > > > > Really ? Maybe it could be added to the fcl-base ? > > If so, make sure to make it a separate unit and enable thi

Re: [fpc-pascal] Indexing files

2012-12-16 Thread Tomas Hajny
On 16 Dec 12, at 18:34, Michael Van Canneyt wrote: > On Sun, 16 Dec 2012, Marco van de Voort wrote: > > > In our previous episode, Michael Van Canneyt said: > >> The inotify calls are available on Linux. It tells you when a file/folder > >> changes: > >> > >> function inotify_init: cint; > >> fun

Re: [fpc-pascal] Indexing files

2012-12-16 Thread Michael Van Canneyt
On Sun, 16 Dec 2012, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: The inotify calls are available on Linux. It tells you when a file/folder changes: function inotify_init: cint; function inotify_init1(flags:cint):cint; function inotify_add_watch(fd:cint; name

Re: [fpc-pascal] Indexing files

2012-12-16 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > The inotify calls are available on Linux. It tells you when a file/folder > changes: > > function inotify_init: cint; > function inotify_init1(flags:cint):cint; > function inotify_add_watch(fd:cint; name:Pchar; mask:cuint32):cint; > > These ca

Re: [fpc-pascal] Re: Feature announcement: Generic type constraints

2012-12-16 Thread Sven Barth
On 16.12.2012 18:00, leledumbo wrote: Wonderful, Sven! Now we could have an even better generics feature than Delphi or C++ (forget Java and .NET) Ehm... you know that AFAIK all those languages have constraints as well? :) Though if your comment is regarding the possible future developments: o

[fpc-pascal] Re: Feature announcement: Generic type constraints

2012-12-16 Thread leledumbo
Wonderful, Sven! Now we could have an even better generics feature than Delphi or C++ (forget Java and .NET) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Feature-announcement-Generic-type-constraints-tp5712290p5712295.html Sent from the Free Pascal - General

Re: [fpc-pascal] Brook 1.0 - A new framework for web was born

2012-12-16 Thread Sven Barth
On 15.12.2012 04:24, silvioprog wrote: More than 15,000 lines of source code, more than 90 test cases, more than one year of work. Today, a new framework for web development was born. It's name is Brook and its nice features are available for you. I thank the FPWeb, the Freespider, the Powtils, t

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Reinier Olislagers
On 16-12-2012 14:55, Michael Van Canneyt wrote: > > > On Sun, 16 Dec 2012, Reinier Olislagers wrote: > >> On 16-12-2012 2:27, John wrote: >>> @Reinier: > Analysis: > As far as I can work out, a call to GetTableNames calls GetDBInfo, > with > parameters >ASchemaType : TSch

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Reinier Olislagers
On 16-12-2012 14:55, Michael Van Canneyt wrote: > > > On Sun, 16 Dec 2012, Reinier Olislagers wrote: > >> On 16-12-2012 2:27, John wrote: >>> @Reinier: > Analysis: > As far as I can work out, a call to GetTableNames calls GetDBInfo, > with > parameters >ASchemaType : TSch

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Michael Van Canneyt
On Sun, 16 Dec 2012, Reinier Olislagers wrote: On 16-12-2012 2:27, John wrote: @Reinier: Analysis: As far as I can work out, a call to GetTableNames calls GetDBInfo, with parameters ASchemaType : TSchemaType - This specifies what info we want - user tables, sys tables, procedures, columns

[fpc-pascal] Feature announcement: Generic type constraints

2012-12-16 Thread Sven Barth
Hello Free Pascal community! I'm pleased to announce the addition of generic type constraints to Free Pascal (beginning from revision 23158). Overview: Generic type constraints allow to restrict the set of possible types that can be used to specialize a given generic. So for example one can

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread John
On 12/16/2012 07:08 PM, Reinier Olislagers wrote: I've incorporated some of Lacak's proposal into http://wiki.lazarus.freepascal.org/Database_metadata#Proposal_for_extension.2Funiformization ... and will update that page going through that thread. If anybody gets to it earlier, please feel free

Re: [fpc-pascal] How do FreePascal implement hardware exceptions handling?

2012-12-16 Thread Sven Barth
On 15.12.2012 18:40, Andrzej Borucki wrote: I analyze FreePascal exceptions handling. Instead use of try-excpt-finally statement I rather use fpc_LongJmp,fpc_PushExceptAddr etc. It works fine for software exceptions (fpc_RaiseException) but not handle hardware exceptions. FPC relies on the hard

[fpc-pascal] How do FreePascal implement hardware exceptions handling?

2012-12-16 Thread Andrzej Borucki
I analyze FreePascal exceptions handling. Instead use of try-excpt-finally statement I rather use fpc_LongJmp,fpc_PushExceptAddr etc. It works fine for software exceptions (fpc_RaiseException) but not handle hardware exceptions. I use install_exception_handlers at start program. This call SetUnhand

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-16 Thread Reinier Olislagers
On 16-12-2012 2:27, John wrote: > @Reinier: >>> Analysis: >>> As far as I can work out, a call to GetTableNames calls GetDBInfo, with >>> parameters >>>ASchemaType : TSchemaType - This specifies what info we want - user >>> tables, sys tables, procedures, columns etc >>>ASchemaObjectName -