Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 17:24, Brian Winfrey het geskryf: > Which address should I be using? release_2_4_2 is simply the "tagged" release of the future FPC 2.4.2 release - currently in beta testing. The fixes_2_4 is already at version 2.4.3 and contains everything from 2.4.2 and more... As Martin said, yo

Re: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Graeme Geldenhuys
Hi, I don't know the PDF file format at all, but I would guess if you look at the many pdf-to-text conversion tools, you will see what they have done. In all likelihood, those conversion tools will be written in C, which you will have to translate to Object Pascal - but that is normally not a diff

[fpc-pascal] Re: Re: TPLY

2010-11-01 Thread Paul Nicholls
"leledumbo" wrote in message news:1288343826290-3241740.p...@n5.nabble.com... > >> I would start with this site to learn how to create recursive descent >> parsers using Pascal :) > > Definitely, but it doesn't build AST, which is required if you need to > write > a parser for a language that ca

Re[2]: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread José Mejuto
Hello FPC-Pascal, Monday, November 1, 2010, 8:40:45 PM, you wrote: MD> On Mon, Nov 1, 2010 at 4:27 PM, Alberto Narduzzi MD> wrote: >> Sorry, >> >>> I agree. But as I search for text within PDF files? >> >> I assumed true the following statement of yours... >> >> [Somebody can help me please? >>

Re: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 4:27 PM, Alberto Narduzzi wrote: > Sorry, > >> I agree. But as I search for text within PDF files? > > I assumed true the following statement of yours... > > [Somebody can help me please? > I need to search strings in Text files using just FPC.] Yes, I changed my first mail

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 4:02 PM, Tomas Hajny wrote: > On Mon, November 1, 2010 19:34, Marcos Douglas wrote: >> On Mon, Nov 1, 2010 at 3:31 PM, Tomas Hajny wrote: >>> On Mon, November 1, 2010 19:10, Marco van de Voort wrote: In our previous episode, Marcos Douglas said: > wrote: > >>

Re: [fpc-pascal] Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Alberto Narduzzi
Sorry, I agree. But as I search for text within PDF files? I assumed true the following statement of yours... [Somebody can help me please? I need to search strings in Text files using just FPC.] so I suggested the fast-enough (in my opinion) use of the Pos function. If _now_ you want to sea

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:34, Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 3:31 PM, Tomas Hajny wrote: >> On Mon, November 1, 2010 19:10, Marco van de Voort wrote: >>> In our previous episode, Marcos Douglas said: wrote: >> Somebody can help me please? >> I need to search strin

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:50 PM, Tomas Hajny wrote: > On Mon, November 1, 2010 19:42, Marcos Douglas wrote: >> On Mon, Nov 1, 2010 at 3:36 PM, Tomas Hajny wrote: >>> On Mon, November 1, 2010 19:20, Marcos Douglas wrote: On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort wrote: > In

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:42, Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 3:36 PM, Tomas Hajny wrote: >> On Mon, November 1, 2010 19:20, Marcos Douglas wrote: >>> On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort >>> wrote: In our previous episode, Marcos Douglas said: > wrote: >>

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:36 PM, Tomas Hajny wrote: > On Mon, November 1, 2010 19:20, Marcos Douglas wrote: >> On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort >> wrote: >>> In our previous episode, Marcos Douglas said: wrote: >> Somebody can help me please? >> I need to search s

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:20, Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort > wrote: >> In our previous episode, Marcos Douglas said: >>> wrote: >>> >> Somebody can help me please? >>> >> I need to search strings in Text files using just FPC. >>> > >>> > how about r

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:31 PM, Tomas Hajny wrote: > On Mon, November 1, 2010 19:10, Marco van de Voort wrote: >> In our previous episode, Marcos Douglas said: >>> wrote: >>> >> Somebody can help me please? >>> >> I need to search strings in Text files using just FPC. >>> > >>> > how about readin

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Tomas Hajny
On Mon, November 1, 2010 19:10, Marco van de Voort wrote: > In our previous episode, Marcos Douglas said: >> wrote: >> >> Somebody can help me please? >> >> I need to search strings in Text files using just FPC. >> > >> > how about reading every line and then using Pos() to see if some >> string i

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 3:10 PM, Marco van de Voort wrote: > In our previous episode, Marcos Douglas said: >> wrote: >> >> Somebody can help me please? >> >> I need to search strings in Text files using just FPC. >> > >> > how about reading every line and then using Pos() to see if some string is

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marco van de Voort
In our previous episode, Marcos Douglas said: > wrote: > >> Somebody can help me please? > >> I need to search strings in Text files using just FPC. > > > > how about reading every line and then using Pos() to see if some string is > > there? > > > > I don't think this way is the fast way :( >

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 1:21 PM, Martin Schreiber wrote: > On Monday, 1. November 2010 13.34:45 Marcos Douglas wrote: >> On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi >> >> wrote: >> >> Somebody can help me please? >> >> I need to search strings in Text files using just FPC. >> > >> > how about

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 13.34:45 Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi > > wrote: > >> Somebody can help me please? > >> I need to search strings in Text files using just FPC. > > > > how about reading every line and then using Pos() to see if some string > >

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Artur Stuczynski
I only know of a unixodbc driver called FreeTDS. I successfully connected to a MSSQL Server 2008 from my FPC application on Linux, using unixodbc, freetds and sqldb :) I can confirm this setup (FreeTDS+unixodbc) only I accessed SQL Server from Linux via Zeos instead of sqldb. Artur

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 16.24:30 Brian Winfrey wrote: > Which address should I be using? It looks like the UUID and revision > are the same while Last changed revision and path are different. > [...] For MSEide+MSEgui you can use both. It is your choice if you wan't to use a tagged release o

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Brian Winfrey
Which address should I be using? It looks like the UUID and revision are the same while Last changed revision and path are different. svn info http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 Path: release_2_4_2 URL: http://svn.freepascal.org/svn/fpc/tags/release_2_4_2 Repository Root: http:/

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 15.33:34 Marcos Douglas wrote: > On Mon, Nov 1, 2010 at 11:14 AM, Graeme Geldenhuys > > wrote: > > Op 2010-11-01 15:48, Marcos Douglas het geskryf: > >> If you use the FPC from > >> http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 then the version > >> is 2.4.3, rig

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 16:33, Marcos Douglas het geskryf: > > The 2.4.3 version is the version of do you use? This is the version > oficial to production, from SVN? I use that version (fixes_2_4 branch) for my day-to-day programming at work and home. It's normally the most stable development platform to

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 11:14 AM, Graeme Geldenhuys wrote: > Op 2010-11-01 15:48, Marcos Douglas het geskryf: >> If you use the FPC from >> http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 then the version >> is 2.4.3, right? > > Yes, and that works with MSEide too. The 2.4.3 version is the ve

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 15:48, Marcos Douglas het geskryf: > If you use the FPC from > http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 then the version > is 2.4.3, right? Yes, and that works with MSEide too. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal ht

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 7:13 AM, Martin Schreiber wrote: > Hi, > MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: > https://developer.berlios.de/project/showfiles.php?group_id=11520 > > Questions and bug reports please to mailing list: > https://lists.berlios.de/mailman/listinfo/mseide-ms

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 14:34, Bo Berglund het geskryf: > > Just tacking on the other MS database MSSQLServer: > Is it possible to also work with MS SQLServer databases via ODBC on I would imagine the only obstacle in that would be to find a ODBC MS-SQL Server driver for Linux. EasySoft has one listed, but

Re: [fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Andreas Schneider
On Mon, 01 Nov 2010 13:34:00 +0100, Bo Berglund wrote: > Just tacking on the other MS database MSSQLServer: > Is it possible to also work with MS SQLServer databases via ODBC on > FPC from Linux? Obviously the SQLServer must be running on Windows so > this is about network access to the database

[fpc-pascal] Re: Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Bo Berglund
On Mon, 1 Nov 2010 13:00:23 +0100 (CET), Michael Van Canneyt wrote: > > >On Mon, 1 Nov 2010, Graeme Geldenhuys wrote: > >> Hi, >> >> I need to write a data conversion app. Has anybody read MDB data under >> Linux yet, using SqlDB? I saw there was a ODBC database component, and >> searched by Ubun

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Mon, Nov 1, 2010 at 9:34 AM, Alberto Narduzzi wrote: >> Somebody can help me please? >> I need to search strings in Text files using just FPC. > > how about reading every line and then using Pos() to see if some string is > there? > I don't think this way is the fast way :( I have many PDF f

Re: [fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Alberto Narduzzi
Somebody can help me please? I need to search strings in Text files using just FPC. how about reading every line and then using Pos() to see if some string is there? HTH ;-) Cheers, A. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org h

[fpc-pascal] Re: Text scan in text files - (was: Full text scan - PDF files)

2010-11-01 Thread Marcos Douglas
On Sun, Oct 31, 2010 at 8:14 AM, Marcos Douglas wrote: >> I need to do a full text scan in PDF files i.e. convert PDF in plain >> text, parser and save the informations. >> I saw the XPDF[1] lib but I would like a lib coded in Pascal... if is >> possible. >> >> What do you recommends to do that?

Re: [fpc-pascal] Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Michael Van Canneyt
On Mon, 1 Nov 2010, Graeme Geldenhuys wrote: Hi, I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and searched by Ubuntu repository. I installed 'iodbc', 'libiodbc2' and 'libiodbc2-dev'. The 'iodbc' pac

Re: [fpc-pascal] Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Jim
On 1-11-2010 12:18, Graeme Geldenhuys wrote: > Hi, > > I need to write a data conversion app. Has anybody read MDB data under > Linux yet, using SqlDB? I saw there was a ODBC database component, and > searched by Ubuntu repository. I installed 'iodbc', 'libiodbc2' and > 'libiodbc2-dev'. The 'iod

[fpc-pascal] Reading MDB (MS-Access) data under Linux

2010-11-01 Thread Graeme Geldenhuys
Hi, I need to write a data conversion app. Has anybody read MDB data under Linux yet, using SqlDB? I saw there was a ODBC database component, and searched by Ubuntu repository. I installed 'iodbc', 'libiodbc2' and 'libiodbc2-dev'. The 'iodbc' package came with a GTK ODBC Admin app, but I have no

[fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-01 Thread Martin Schreiber
Hi, MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing list: https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk NNTP gateway: nntp://news.gmane.org/gmane.comp.ide.mseide.

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Graeme Geldenhuys
Op 2010-11-01 11:06, Sven Barth het geskryf: > > The code is still run in the thread's context, no matter whether the > code is in your TThread class or e.g. a global procedure. So you should > use Synchronize to trigger the event. Thank you very much Sven and Martin. What you said then confir

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Martin Schreiber
On Monday, 1. November 2010 09.57:21 Graeme Geldenhuys wrote: > Is this safe to do? > No. An onxx event is a tmethod. "Triggering" the event means calling the method -> it runs in context of the calling thread. Martin ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] TThread descendant with public events

2010-11-01 Thread Sven Barth
On 01.11.2010 09:57, Graeme Geldenhuys wrote: Hi, What is the rules regarding a TThread descendants and public events. I created a thread that has OnXXX events. These events are triggered in the Execute method of that event. Now my main event (which manages the application GUI) hooked into thes

[fpc-pascal] TThread descendant with public events

2010-11-01 Thread Graeme Geldenhuys
Hi, What is the rules regarding a TThread descendants and public events. I created a thread that has OnXXX events. These events are triggered in the Execute method of that event. Now my main event (which manages the application GUI) hooked into these event by implementing event handlers. Those ev

[fpc-pascal] Re: Changes in fcl-web

2010-11-01 Thread leledumbo
After installing all components, I try to open one of the examples (from 03-12 version of webdesign package) and I got: ERROR: There are more GeckoComponentsShutdown then GeckoComponentsStartup. And how do I use the components actually? The examples have lfm consisting of THtml containing THead e