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] 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] Indexing files

2012-12-15 Thread Michael Van Canneyt
On Sat, 15 Dec 2012, Krzysztof wrote: Hi, I need similar functionality like mp3 players have (e.g rhythmbox, banshee, clementine). I have some experience with databases (I worked in company which make ERP systems), but don't know how to connect it with file handling. My general questions ar

[fpc-pascal] Indexing files

2012-12-15 Thread Krzysztof
Hi, I need similar functionality like mp3 players have (e.g rhythmbox, banshee, clementine). I have some experience with databases (I worked in company which make ERP systems), but don't know how to connect it with file handling. My general questions are: 1. I have big collection of music. First