Re: [lazarus] lazxml #text nodes

2007-08-18 Thread Marco van de Voort
On Fri, Aug 10, 2007 at 09:15:30PM +0200, Mattias Gaertner wrote:
   For example GetValue('connectivity/answer_timeout/tag',2) will
   return 1000 instead of 2.
  
  Only if there is a nodevalue. But yes, that could be a problem. 
 
 It is, because there is no function to change this value in TXMLConfig.
 The main purpose of TXMLConfig is to get and set some config values,
 not to parse an XML document.

The question was more (since I'm not to deep into XML), if there was a true
notation to linearise this. IOW if some character is used to signal
nodevalue, or simply #text or so.

  I'm no XML wizard, which is why I actually reused code instead of
  writing my own ( :-)) 
  
  So what would be (a) more normal rule to distinguish child values from
  attributes?
 
 The Document property gives full access to the internal XML.
 I made the FindNode method public, so you can find the node easier.

I can't do much with this, since laz_xmlcfg (and the value=path) assumption
is a bit too deep into my framework at work, and this is only an exception.

But that is not a problem, I keep my hacky way, and don't merge it back.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] lazxml #text nodes

2007-08-18 Thread Sergei Gorelkin

Marco van de Voort wrote:



The question was more (since I'm not to deep into XML), if there was a true
notation to linearise this. IOW if some character is used to signal
nodevalue, or simply #text or so.


You might want to use XPath mechanism, it probably supports the 
notations to distinguish between attributes and textnodes (although - 
sorry - I don't know the details). XMLCfg is too simple; it was not 
designed to deal with text nodes at all.



Sergei

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Vincent Snijders

Hi,

Since today Ubuntu users can install the latest Lazarus release from a 
Unbuntu repository. 0.9.22 is only for i386, the upcoming 0.9.24 will be 
available for x86_64 too.


For instructions see:
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Jury Azovtzev
Hallo!
I'm ubuntu user who is maintaning 14 PCs with Lazarus in local academy (14
PC with ubuntu). And every time i install lazarus i have to recompile it
with GTK2 interface. It's time consuming activity.

Is it possable add to repository Lazarus-gtk2 version?

P.s.
I'm russian language user and there is only one way to make lazarus show
messages and write in editor with russian letters - recompile it with GTK2.

On 8/18/07, Vincent Snijders [EMAIL PROTECTED] wrote:

 Hi,

 Since today Ubuntu users can install the latest Lazarus release from a
 Unbuntu repository. 0.9.22 is only for i386, the upcoming 0.9.24 will be
 available for x86_64 too.

 For instructions see:

 http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

 Vincent

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Marco Ciampa
On Sat, Aug 18, 2007 at 07:42:46PM +0200, Vincent Snijders wrote:
 Hi,

 Since today Ubuntu users can install the latest Lazarus release from a 
 Unbuntu repository. 0.9.22 is only for i386, the upcoming 0.9.24 will be 
 available for x86_64 too.

 For instructions see:
 http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository
Why not ubuntu/PPC?

You are all the same: skype, flash, java ... [EMAIL PROTECTED]

;-S

-- 

Marco Ciampa (almost happy with a Linux on ibook)

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Vincent Snijders

Marco Ciampa schreef:

On Sat, Aug 18, 2007 at 07:42:46PM +0200, Vincent Snijders wrote:

Hi,

Since today Ubuntu users can install the latest Lazarus release from a 
Unbuntu repository. 0.9.22 is only for i386, the upcoming 0.9.24 will be 
available for x86_64 too.


For instructions see:
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

Why not ubuntu/PPC?



No problem, as long as you either build the debs or give me access to an 
ubuntu / PPC with sufficent rights to build them my self.


The hardware is a bit rare.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread ik
Hi Vincent,

When I'm trying to get the repository, apt is unable to have it:
Get:5 http://www.hu.freepascal.org lazarus-stable Release.gpg [191B]
Ign http://www.hu.freepascal.org lazarus-stable/universe Translation-he

Are there any rules for locales on your http server ?
Anyway my locales (if needed) are:
locale
LANG=he_IL.UTF-8
LC_CTYPE=he_IL.UTF-8
LC_NUMERIC=he_IL.UTF-8
LC_TIME=he_IL.UTF-8
LC_COLLATE=he_IL.UTF-8
LC_MONETARY=he_IL.UTF-8
LC_MESSAGES=he_IL.UTF-8
LC_PAPER=he_IL.UTF-8
LC_NAME=he_IL.UTF-8
LC_ADDRESS=he_IL.UTF-8
LC_TELEPHONE=he_IL.UTF-8
LC_MEASUREMENT=he_IL.UTF-8
LC_IDENTIFICATION=he_IL.UTF-8
LC_ALL=


Ido

On 8/18/07, Vincent Snijders [EMAIL PROTECTED] wrote:
 Hi,

 Since today Ubuntu users can install the latest Lazarus release from a
 Unbuntu repository. 0.9.22 is only for i386, the upcoming 0.9.24 will be
 available for x86_64 too.

 For instructions see:
 http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository

 Vincent

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives



-- 
http://ik.homelinux.org/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Vincent Snijders

Jury Azovtzev schreef:

Hallo!
I'm ubuntu user who is maintaning 14 PCs with Lazarus in local academy 
(14 PC with ubuntu). And every time i install lazarus i have to 
recompile it with GTK2 interface. It's time consuming activity.


Is it possable add to repository Lazarus-gtk2 version?

P.s.
I'm russian language user and there is only one way to make lazarus show 
messages and write in editor with russian letters - recompile it with GTK2.


In your case, it might be better to set up your own repository. See 
http://wiki.lazarus.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubuntu_repository


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Vincent Snijders

ik schreef:

Hi Vincent,

When I'm trying to get the repository, apt is unable to have it:
Get:5 http://www.hu.freepascal.org lazarus-stable Release.gpg [191B]


I have this file:
http://www.hu.freepascal.org/lazarus/dists/lazarus-stable/Release.gpg


Ign http://www.hu.freepascal.org lazarus-stable/universe Translation-he


There are no Translation files.



Are there any rules for locales on your http server ?


I have no idea.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread ik
I'm guessing, but it might be because I'm using amd64 and there is
only a directory for i386, that it can't find and just ignore the
repository or something ...

Ido

On 8/18/07, Vincent Snijders [EMAIL PROTECTED] wrote:
 ik schreef:
  Hi Vincent,
 
  When I'm trying to get the repository, apt is unable to have it:
  Get:5 http://www.hu.freepascal.org lazarus-stable Release.gpg [191B]

 I have this file:
 http://www.hu.freepascal.org/lazarus/dists/lazarus-stable/Release.gpg

  Ign http://www.hu.freepascal.org lazarus-stable/universe Translation-he

 There are no Translation files.

 
  Are there any rules for locales on your http server ?

 I have no idea.

 Vincent

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives



-- 
http://ik.homelinux.org/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Jury Azovtzev
Thenx, Vincent!
I think, i'll follow you advice. Will you take the packages back to your
repo? :)

On 8/18/07, Vincent Snijders [EMAIL PROTECTED] wrote:

 Jury Azovtzev schreef:
  Hallo!
  I'm ubuntu user who is maintaning 14 PCs with Lazarus in local academy
  (14 PC with ubuntu). And every time i install lazarus i have to
  recompile it with GTK2 interface. It's time consuming activity.
 
  Is it possable add to repository Lazarus-gtk2 version?
 
  P.s.
  I'm russian language user and there is only one way to make lazarus show
  messages and write in editor with russian letters - recompile it with
 GTK2.

 In your case, it might be better to set up your own repository. See

 http://wiki.lazarus.freepascal.org/How_to_setup_a_FPC_and_Lazarus_Ubuntu_repository

 Vincent

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
With best regards.
Azovtzev Jury

ForceTeam NNLUG
www.forceteam.nnov.ru


Re: [lazarus] Web Service Toolkit??? release 0.5

2007-08-18 Thread Marco van de Voort
On Thu, Aug 16, 2007 at 09:10:46AM +0200, Mattias Gaertner wrote:
 On Thu, 16 Aug 2007 09:46:46 +1000
 David Lyon [EMAIL PROTECTED] wrote:
 
  Hi Darius,
  
  Darius Blaszijk wrote:
 [...]
   2) Lazarus only supports static packages. So installing a package 
   would always require to recompile Lazarus. I have no idea what the 
   progress on this topic is. Perhaps the wiki has something on it, or 
   someone from core can comment.
 
 See
 http://wiki.lazarus.freepascal.org/Lazarus/FPC_Libraries
 
 When the ToDos are solved the IDE can be extended.

I added a few links to FPC wiki sites there.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] report writer 4 Lazarus?

2007-08-18 Thread Heine Ferreira
Hi

Does Lazarus have a report writer?
If not, is there any free or low cost report writer out there that would
work with Lazarus?
I have tried to post this in the forum, but there was no response.
I only know of three report writers that are free.
LogiXML - for web based reports.
Jasper Reports - for Java.
Report Manager - I used it with VB6 and it works with Delphi 5 and upwards.
It also works with dot net.
I tried it on a couple of reports and found it rather clumsy and buggy.
Does anyone know of anything else out there?
I am looking for a report writer that would work well on Windows.
May be I'm too fussy, but I am used to good report writing tools like
Crystal and SQL Server reporting services.
Crystal is rather expensive or you must buy Visual Studio and the free
version of SQL Server is too limited
and too hungry for memory.

Thanks

Heine Ferreira


Re: [lazarus] Ubuntu repository with Lazarus and FPC debs

2007-08-18 Thread Marco Ciampa
On Sat, Aug 18, 2007 at 08:42:44PM +0200, Vincent Snijders wrote:
 Marco Ciampa schreef:
 On Sat, Aug 18, 2007 at 07:42:46PM +0200, Vincent Snijders wrote:
 Hi,

 Since today Ubuntu users can install the latest Lazarus release from a 
 Unbuntu repository. 0.9.22 is only for i386, the upcoming 0.9.24 will be 
 available for x86_64 too.

 For instructions see:
 http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_from_our_Ubuntu_repository
 Why not ubuntu/PPC?

 No problem, as long as you either build the debs or give me access to an 
 ubuntu / PPC with sufficent rights to build them my self.

 The hardware is a bit rare.

Tell me what to do and I'll do it and will send to you the compiled binaries.

I've a (k)ubuntu feisty on a G4 (ibook) powerpc (that works like a sharm!).

Is it simple as 

dpkg -b lazarus-xyz.deb

?

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Web Service Toolkit??? release 0.5

2007-08-18 Thread David Lyon

Marco van de Voort wrote:

Darius Blaszijk wrote:
[...]
  
2) Lazarus only supports static packages. So installing a package 
would always require to recompile Lazarus. I have no idea what the 
progress on this topic is. Perhaps the wiki has something on it, or 
someone from core can comment.


See
http://wiki.lazarus.freepascal.org/Lazarus/FPC_Libraries

When the ToDos are solved the IDE can be extended.



I added a few links to FPC wiki sites there.

Well, I have had a think about this library issue a bit further.

What I think we should devise or adapt is something a bit similar to the 
python/perl library model.


This is what imho we should provide. The ideas are not so new I know:

- provide the ability to package up a directory containing all the
  necessary files, source, docs, tests, examples data etc (ie akin to
  the .deb or .rpm or .zip

- use/extend the existing fpc tools to load the package. They get
  installed into a predefined directory like the /perl/site/lib directory
  in perl.

- within fpc/lazarus, keep either an xml file or a database
  holding names of all the installed packages.

- the tricky bit, is that within the package registration information
  , there is a platform string and a version number somewhere.

- the package name, version and platform, go into the database.

- the compilable source files get compiled at package load time
  and integrated into the system for use in the uses clause.

- it doesn't matter if the platform is different. The packages
  can be compiled and installed on any platform. (Providing
  they are marked as platform independant in their config
  file)

- at run time, the libraries are kept within a specific directory
  (/site/lib ?) as .dll or .so whatever files. All together with
  all the other libraries. But away from the source files.

- fpc/lazarus uses these library files just as it would
  internal functions...

Summary...

Maybe we already have some of the parts of this already.

It would be good to have something that works as simply as this.

Yes, I might be able to help with making it work if people want to go 
this way.


David








Re: [lazarus] report writer 4 Lazarus?

2007-08-18 Thread Lee Jenkins

Heine Ferreira wrote:

Hi

Does Lazarus have a report writer?
If not, is there any free or low cost report writer out there that would 
work with Lazarus?

I have tried to post this in the forum, but there was no response.
I only know of three report writers that are free.
LogiXML - for web based reports.
Jasper Reports - for Java.
Report Manager - I used it with VB6 and it works with Delphi 5 and upwards.
It also works with dot net.
I tried it on a couple of reports and found it rather clumsy and buggy.
Does anyone know of anything else out there?
I am looking for a report writer that would work well on Windows.
May be I'm too fussy, but I am used to good report writing tools like 
Crystal and SQL Server reporting services.
Crystal is rather expensive or you must buy Visual Studio and the free 
version of SQL Server is too limited

and too hungry for memory.

Thanks

Heine Ferreira



LazReport is based on freereport, I think.

http://lazreport.sourceforge.net/

I believe Freereport was the ancestor of FastReport.  Someone can 
correct me if I'm wrong.


--
Warm Regards,

Lee


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives