Re: [fpc-pascal] Watching for file change

2014-04-11 Thread Krzysztof
Thanks to all for tips. They are very helpfull. I'll test it, wait for feedback :) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Watching for file change

2014-04-11 Thread Henry Vermaak
On 11 Apr 2014 21:39, "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk> wrote: > > waldo kitty wrote: >> >> On 4/11/2014 3:06 PM, Krzysztof wrote: >>> >>> Hi, >>> >>> Does FPC have some file watching solution? I need this only for linux. >>> I need notifications: >>> - File/folder changed /

Re: [fpc-pascal] Watching for file change

2014-04-11 Thread silvioprog
2014-04-11 17:40 GMT-03:00 silvioprog : > See: http://www.freepascal.org/~michael/articles/dirwatch/dirwatch.pdf > With sources and demos: http://www.freepascal.org/~michael/articles/ -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc

Re: [fpc-pascal] Watching for file change

2014-04-11 Thread silvioprog
See: http://www.freepascal.org/~michael/articles/dirwatch/dirwatch.pdf -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pasca

Re: [fpc-pascal] Watching for file change

2014-04-11 Thread Mark Morgan Lloyd
waldo kitty wrote: On 4/11/2014 3:06 PM, Krzysztof wrote: Hi, Does FPC have some file watching solution? I need this only for linux. I need notifications: - File/folder changed / removed / added in watched directory. I have idea how to do this in thread loop but maybe FPC has OS solution i'm

Re: [fpc-pascal] Watching for file change

2014-04-11 Thread Henry Vermaak
On 11 Apr 2014 20:07, "Krzysztof" wrote: > > Hi, > > Does FPC have some file watching solution? I need this only for linux. > I need notifications: > - File/folder changed / removed / added in watched directory. I have > idea how to do this in thread loop but maybe FPC has OS solution You can use

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Mark Morgan Lloyd
waldo kitty wrote: On 4/11/2014 5:03 AM, Michael Van Canneyt wrote: The main point is that in FPC you can install a memory manager that wipes out any memory when getting or releasing it, if you want to make your software more secure that way. how would one go about doing this? i learned in m

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread silvioprog
Michael Van Canneyt<http://www.mail-archive.com/search?l=fpc-pascal@lists.freepascal.org&q=from:%22Michael+Van+Canneyt%22> Fri, 11 Apr 2014 06:01:08 -0700<http://www.mail-archive.com/search?l=fpc-pascal@lists.freepascal.org&q=date:20140411> > > > Hello, > >

Re: [fpc-pascal] Watching for file change

2014-04-11 Thread waldo kitty
On 4/11/2014 3:06 PM, Krzysztof wrote: Hi, Does FPC have some file watching solution? I need this only for linux. I need notifications: - File/folder changed / removed / added in watched directory. I have idea how to do this in thread loop but maybe FPC has OS solution i'm interested in this,

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Dimitrios Chr. Ioannidis
Hi, Στις 11/4/2014 4:00 μμ, ο/η Michael Van Canneyt έγραψε: I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. I would like to invite people to test and report if they find problems or missing features. the "Writeln(pchar(@buffer)

[fpc-pascal] Watching for file change

2014-04-11 Thread Krzysztof
Hi, Does FPC have some file watching solution? I need this only for linux. I need notifications: - File/folder changed / removed / added in watched directory. I have idea how to do this in thread loop but maybe FPC has OS solution Regards ___ fpc-pascal

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread waldo kitty
On 4/11/2014 4:10 AM, Mark Morgan Lloyd wrote: Using a memory manager would reliably wipe strings etc. when reallocated (i.e rather than when an assignment didn't trigger reallocation). On the other hand it would have the overhead of also overwriting blocks that the user knew were being freed and

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread waldo kitty
On 4/11/2014 5:03 AM, Michael Van Canneyt wrote: The main point is that in FPC you can install a memory manager that wipes out any memory when getting or releasing it, if you want to make your software more secure that way. how would one go about doing this? i learned in my TP3/6 days to use fi

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Reinier Olislagers wrote: On 11/04/2014 15:00, Michael Van Canneyt wrote: One consequence of this is that the fphttpclient unit now has support for the https:// protocol. I have tested on windows and unix, the support for client-side SSL support works. I would like to

Re: [fpc-pascal] https support; call for testers

2014-04-11 Thread Reinier Olislagers
On 11/04/2014 15:00, Michael Van Canneyt wrote: > One consequence of this is that the fphttpclient unit now has support > for the https:// protocol. > I have tested on windows and unix, the support for client-side SSL > support works. > > I would like to invite people to test and report if they f

[fpc-pascal] https support; call for testers

2014-04-11 Thread Michael Van Canneyt
Hello, I've just committed support for SSL in the ssockets unit of FPC. I also made the OpenSSL unit more thread-safe. One consequence of this is that the fphttpclient unit now has support for the https:// protocol. I have tested on windows and unix, the support for client-side SSL support wo

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Jonas Maebe wrote: On 11 Apr 2014, at 10:26, Michael Van Canneyt wrote: OTOH, I think people are hugely exaggerating the problem, considering it was introduced relatively recently and that I got my security update before it hit the newspapers. That is of course not

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Jonas Maebe
On 11 Apr 2014, at 10:26, Michael Van Canneyt wrote: > OTOH, I think people are hugely exaggerating the problem, considering it was > introduced relatively recently and that I got my security update before it > hit the newspapers. The exploit code was also on github before news about the bug h

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Fri, 11 Apr 2014, Mark Morgan Lloyd wrote: Is my understanding correct that when a string or a dynamic array is extended it might result in its existing content being released to the heap? If so, is it possible t

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Jonas Maebe
On 11 Apr 2014, at 10:10, Mark Morgan Lloyd wrote: > Jonas Maebe wrote: >> On 11 Apr 2014, at 09:36, Mark Morgan Lloyd wrote: >>> Is my understanding correct that when a string or a dynamic array is >>> extended it might result in its existing content being released to the heap? >>> >>> If so,

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 11 Apr 2014, Mark Morgan Lloyd wrote: Is my understanding correct that when a string or a dynamic array is extended it might result in its existing content being released to the heap? If so, is it possible to ensure that this is zeroed or randomised first,

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 11 Apr 2014, at 09:36, Mark Morgan Lloyd wrote: Is my understanding correct that when a string or a dynamic array is extended it might result in its existing content being released to the heap? If so, is it possible to ensure that this is zeroed or randomised first, wit

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Jonas Maebe
On 11 Apr 2014, at 09:36, Mark Morgan Lloyd wrote: > Is my understanding correct that when a string or a dynamic array is extended > it might result in its existing content being released to the heap? > > If so, is it possible to ensure that this is zeroed or randomised first, > without having

Re: [fpc-pascal] Processing passwords etc.

2014-04-11 Thread Michael Van Canneyt
On Fri, 11 Apr 2014, Mark Morgan Lloyd wrote: Is my understanding correct that when a string or a dynamic array is extended it might result in its existing content being released to the heap? If so, is it possible to ensure that this is zeroed or randomised first, without having to do it ma

[fpc-pascal] Processing passwords etc.

2014-04-11 Thread Mark Morgan Lloyd
Is my understanding correct that when a string or a dynamic array is extended it might result in its existing content being released to the heap? If so, is it possible to ensure that this is zeroed or randomised first, without having to do it manually? -- Mark Morgan Lloyd markMLl .AT. teleme