Re: [fpc-pascal] How to get path to current theme icons on linux?

2012-01-19 Thread cobines
2012/1/18 Krzysztof : > Another problem. I know path to current icons, but icons are named > like "office-spreadsheet" not by extension and can be in svg format :/ Read this: http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html There is a file "globs" that "co

Re: [fpc-pascal] detect the version of fpc that a feature added to it

2012-01-19 Thread Marco van de Voort
In our previous episode, ik said: > I was looking to understand in what version of FPC ($IF defined ... } was > added, and realized that it is not very simple to detect such information. True. SVN logs of documentation and compiler is the easiest. But that can be exhausting. But $if is old. Woul

Re: [fpc-pascal] detect the version of fpc that a feature added to it

2012-01-19 Thread Daniel Gaspary
On Thu, Jan 19, 2012 at 17:17, ik wrote: > Another question, should I open a bug for documentation, to add when a > specific feature like so was added in the documentation itself ? Do This issue cover this topic? http://bugs.freepascal.org/view.php?id=15492 __

[fpc-pascal] detect the version of fpc that a feature added to it

2012-01-19 Thread ik
Hello, I was looking to understand in what version of FPC ($IF defined ... } was added, and realized that it is not very simple to detect such information. So beside this question of when was it added ? What is the best way to find such information ? Another question, should I open a bug for docu

Re: [fpc-pascal] IPTables log parser?

2012-01-19 Thread Reinier Olislagers
On 19-1-2012 11:10, Mark Morgan Lloyd wrote: > Reinier Olislagers wrote: >> Hi list, >> >> I noticed ik has started a project to manipulate Linux iptables firewall >> rules... which got me thinking. >> >> Is there any FreePascal/Delphi code lying around to parse IPtables log >> output (e.g. in the

Re: [fpc-pascal] IPTables log parser?

2012-01-19 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: Hi list, I noticed ik has started a project to manipulate Linux iptables firewall rules... which got me thinking. Is there any FreePascal/Delphi code lying around to parse IPtables log output (e.g. in the /var/log/messages syslog file), e.g. into CSV format? Not when

Re: [fpc-pascal] Best practice for getting heap usage summary

2012-01-19 Thread Jonas Maebe
On 19 Jan 2012, at 10:38, Mark Morgan Lloyd wrote: Mattias Gaertner wrote: Maybe you mean GetFPCHeapStatus http://lazarus-ccr.sourceforge.net/docs/rtl/system/getfpcheapstatus.html There is also the Delphi compatible GetHeapStatus, but only for 32bit. Yes, I was assuming that was necessary

Re: [fpc-pascal] IPTables log parser?

2012-01-19 Thread ik
On Thu, Jan 19, 2012 at 11:37, Reinier Olislagers < reinierolislag...@gmail.com> wrote: > Hi list, > > I noticed ik has started a project to manipulate Linux iptables firewall > rules... which got me thinking. > > Is there any FreePascal/Delphi code lying around to parse IPtables log > output (e.g

Re: [fpc-pascal] Best practice for getting heap usage summary

2012-01-19 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Thu, 19 Jan 2012 09:06:46 + Mark Morgan Lloyd wrote: What is considered "best practice" for getting a summary of heap usage, in a single-threaded program which doesn't need to be Delphi-compatible? In Delphi programs that have had to run for an extended period

[fpc-pascal] IPTables log parser?

2012-01-19 Thread Reinier Olislagers
Hi list, I noticed ik has started a project to manipulate Linux iptables firewall rules... which got me thinking. Is there any FreePascal/Delphi code lying around to parse IPtables log output (e.g. in the /var/log/messages syslog file), e.g. into CSV format? If not, I'll probably write my own...

Re: [fpc-pascal] Best practice for getting heap usage summary

2012-01-19 Thread Mattias Gaertner
On Thu, 19 Jan 2012 09:06:46 + Mark Morgan Lloyd wrote: > What is considered "best practice" for getting a summary of heap usage, > in a single-threaded program which doesn't need to be Delphi-compatible? > > In Delphi programs that have had to run for an extended period I've used > Allo

[fpc-pascal] Best practice for getting heap usage summary

2012-01-19 Thread Mark Morgan Lloyd
What is considered "best practice" for getting a summary of heap usage, in a single-threaded program which doesn't need to be Delphi-compatible? In Delphi programs that have had to run for an extended period I've used AllocMemCOunt() and AllocMemSize(). What's the best way of getting somethin