[fpc-pascal] XML DOM and HTML

2008-06-07 Thread Johannes Nohl
Dear list, I player around with the units dom and xmlread. I liked them very much. Now I thought I could parse websites with it. But they are slightly different as far as I know. In xml everthing is within a node while in HTML there are more then one value in a node. E.g.: possible XML: asdf1

Re: [fpc-pascal] XML DOM and HTML

2008-06-08 Thread Johannes Nohl
Dear list, dear Michael! > There are multiple problems with HTML parsing: HTML is not a well-formed > XML document, because > - the tags are case insensitive (in XML they are case sensitive) > - Not all tags must be closed. > If the HTML is XHTML, then the DOM unit can be used to parse it. But ho

[fpc-pascal] XPCOM and freepascal

2010-03-23 Thread Johannes Nohl
Dear list, I wonder if it's possible to develop extensions (aka Add-Ons) for Firefox (or in my case Thunderbird). I'm totaly unfamiliar to the stuff right now. But the advantage I could think of is 1) I don't know C++ and 2) it is easy to cross compile code for different platforms. Writing extens

Re: [fpc-pascal] XPCOM and freepascal

2010-03-23 Thread Johannes Nohl
>> I wonder if it's possible to develop extensions (aka Add-Ons) for >> Firefox (or in my case Thunderbird). I'm totaly unfamiliar to the >> stuff right now. But the advantage I could think of is 1) I don't know >> C++ and 2) it is easy to cross compile code for different platforms. >> >> Writing e

[fpc-pascal] COM/OLE with fpc 2.5.1

2010-09-10 Thread Johannes Nohl
Dear list Can someone summarize the status of COM / OLE in Windows using recent versions of freepascal? As far as I got: COM clients are possible since 2.4.0. You can use them for i.e. Office automatisation. It works. But what about COM servers? Is programming i.e. Office possible without using D

[fpc-pascal] Testing recent Lazarus with fpc 2.5.1 on x86_64-linux / create fpc-src.rpm

2011-05-21 Thread Johannes Nohl
Hello, I wanted to test Lazarus (recent snapshot) with fpc 2.5.1 on x86_64-linux. Therefore I need to build fpc-XXX.rpm and fpc-src-XXX.rpm. I figured out how to bild fpc-XXX.rpm the easy way. 1. Download fpcbuild.zip and extract it 2. inside root dir do fpcmake -T x86_64-linux 3. make rpm NODOCS

Re: [fpc-pascal] Testing recent Lazarus with fpc 2.5.1 on x86_64-linux / create fpc-src.rpm

2011-05-21 Thread Johannes Nohl
2011/5/21 Mattias Gaertner : > On Sat, 21 May 2011 15:33:04 +0200 > Johannes Nohl wrote: > >> Hello, >> >> I wanted to test Lazarus (recent snapshot) with fpc 2.5.1 on >> x86_64-linux. Therefore I need to build fpc-XXX.rpm and >> fpc-src-XXX.rpm. I figured o

[fpc-pascal] su (switch user) application

2006-08-07 Thread Johannes Nohl
Does anyone know how to write a program which can change its user privileges on runtime? Like the suexec wrapper of apache? Thanks for help... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-p

Re: [fpc-pascal] su (switch user) application

2006-08-08 Thread Johannes Nohl
Hello! In that case you can use the fpSetUID call. This call can be used only once. Thanks for your help. But I never saw this function. Can you tell me which unit it is in? Johannes ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:/

Re: [fpc-pascal] su (switch user) application

2006-08-09 Thread Johannes Nohl
Baseunix. Great! I found it. Is there a Windows-way, too? Something like basewindows? Thanks... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Is it necessary to protect passed passwords in memory?

2006-11-01 Thread Johannes Nohl
Dear list, I was thinking of writing a daemon in freepascal. When the program is started it will ask for a password. Then keep the pass in a string variable, using it every 10 minutes. It's not for an high security environment but I'm interested in general. How to protect those information in me

Re: [fpc-pascal] Is it necessary to protect passed passwords in memory?

2006-11-01 Thread Johannes Nohl
And where do you think the phrase 'My Secret Password' would be stored other than memory? so you have to override variables after use? like var pwd: array[0..15] of char; xpwd: string; [...] readln(pwd); xpwd := encrypt(pwd); pwd := '123456789012345'; // override [...] ??? _

[fpc-pascal] MSEgui themes

2007-07-14 Thread Johannes Nohl
Dear developers of MSEgui, I downloaded your IDE and liked it. Also I saw some screenshots. Things looked different running win or linux. There was a example project called faces. Are faces a kind of theming? Buttons and all look "narrow", so how can I change it? Is there documentation? There's

[fpc-pascal] Linux: synaptics / cURL with SSL

2005-11-04 Thread Johannes Nohl
With freepascal 1.0.x I was able to compile cURL-Pascal-Bindings (http://curl.haxx.se/libcurl/pascal/). This is not longer possible with freepascal 2.0. Anybody know how to do this? Under Windows I could use synaptics. Works fine but has Problems with SSL-Library under Linux - without showing erro