Re: [lazarus] Component

2008-01-25 Thread Graeme Geldenhuys
On 26/01/2008, micahel schneider <[EMAIL PROTECTED]> wrote:
> Am Freitag 25 Januar 2008 schrieb [EMAIL PROTECTED]:
> > A small demo would be helpful.
> >
> 2 Videos demonstrating component install under Linux
>
> http://rapidshare.de/files/38408096/installcomp.ogv.html
>
> http://rapidshare.de/files/38225046/reportinstallieren.ogv.html


Those links take me to some Hosting site and then to the Love
Connection site.  ;-)


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] Where is FpGUI and Lazarus-ccr subversion repository?

2008-01-25 Thread Graeme Geldenhuys
Just thought I would let everybody know, the SF.net SubVersion servers
seem to be back up again.  It was some or other hardware failure.

Graeme.


On 25/01/2008, Osvaldo TC Filho <[EMAIL PROTECTED]> wrote:
> Now, 25/01/2008 11:18 ( -3:00 )
>
> [EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ svn cleanup
> [EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ svn up
> svn: Requisição PROPFIND falhou em '/svnroot/lazarus-ccr'
> svn: PROPFIND de '/svnroot/lazarus-ccr': não foi possível conectar-se ao

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


Re: synedit patch from ales

2008-01-25 Thread Marc Weustink

Ales Katona wrote:

Felipe Monteiro de Carvalho  wrote / napísal(a):

On Jan 25, 2008 6:23 PM, Ales Katona <[EMAIL PROTECTED]> wrote:
  That's not enougth. It already works for ascii characters today.
Please test with both unicode and non-unicode IDE on strings with
accented characters.
  
ASCII doesn't have accented chars. If you mean "non-utf local non-latin1 
encoding" then pre-patch doesn't work on those, anything out of 
['A'-'z'] is considered block before my patch.


With my patch, anything NOT listed in TSynWordBlockChars + 
TSynWhiteChars (if there's no highlighter), or 
Highlighter.WordBlockChars + TSynWhiteChars is considered a valid 
word-character (which MIGHT include some nonsense chars, but at least it 
doesn't block known word-chars, + it can be runtime adjusted (in a way 
to also support utf-8), unlike the current situation (where you simply 
cannot support utf-8 because "allowed chars" is a set of 8bit char).


I agree on Ales here. this afternoon Ales and I spoke while he was 
inmplementing this. The curretn handling of Synedit now is imo plain 
stupid and never will work when the carset is growing bigger than 255 
chars. Defining a set of nonword + whithespace chars is imo better.
If someone enters a nonsence char and it is considered a part of a word 
is imo a lot better than acception only lower ascii.


Marc

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


Re: [lazarus] Component

2008-01-25 Thread micahel schneider
Am Freitag 25 Januar 2008 schrieb [EMAIL PROTECTED]:
> A small demo would be helpful.
>
2 Videos demonstrating component install under Linux

http://rapidshare.de/files/38408096/installcomp.ogv.html

http://rapidshare.de/files/38225046/reportinstallieren.ogv.html


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


Re: [lazarus] Component

2008-01-25 Thread Mattias Gaertner
On Fri, 25 Jan 2008 22:22:13 +0100
[EMAIL PROTECTED] wrote:

> A small demo would be helpful.

See here:

http://wiki.lazarus.freepascal.org/Lazarus_Packages#Quick_Start


Mattias



> 
> 
> Mattias Gaertner wrote:
> > On Fri, 25 Jan 2008 21:41:04 +0100
> > [EMAIL PROTECTED] wrote:
> >
> >   
> >> Is there an installation guide describing component installation
> >> within Lazarus IDE?
> >> 
> >
> > Did you see
> >
> > http://wiki.lazarus.freepascal.org/Install_Packages
> >
> > ?
> >
> > Mattias
> >
> > _
> >  To unsubscribe: mail [EMAIL PROTECTED] with
> > "unsubscribe" as the Subject
> >archives at http://www.lazarus.freepascal.org/mailarchives
> >
> >
> >   
> 

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


Re: [lazarus] Component

2008-01-25 Thread user1

I did this, but can't see an icon in the component palette.

Mattias Gaertner wrote:

On Fri, 25 Jan 2008 21:41:04 +0100
[EMAIL PROTECTED] wrote:

  

Is there an installation guide describing component installation
within Lazarus IDE?



Did you see

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

?

Mattias

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


  




Re: [lazarus] Component

2008-01-25 Thread user1

A small demo would be helpful.


Mattias Gaertner wrote:

On Fri, 25 Jan 2008 21:41:04 +0100
[EMAIL PROTECTED] wrote:

  

Is there an installation guide describing component installation
within Lazarus IDE?



Did you see

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

?

Mattias

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


  




Re: [lazarus] Component

2008-01-25 Thread Mattias Gaertner
On Fri, 25 Jan 2008 21:41:04 +0100
[EMAIL PROTECTED] wrote:

> Is there an installation guide describing component installation
> within Lazarus IDE?

Did you see

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

?

Mattias

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


[lazarus] Component

2008-01-25 Thread user1
Is there an installation guide describing component installation within 
Lazarus IDE?


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


Re: synedit patch from ales

2008-01-25 Thread Felipe Monteiro de Carvalho
On Jan 25, 2008 6:48 PM, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> I think this is pretty slow and needs too much memory.
> For example:
> It increases the Dest array in steps of one while allocating one mem
> block for each character.
> Can you explain, what are you trying to achieve? Then we can find a
> better solution.

I am trying to make the method SetWordBlock work for utf-8 (would then
do some check to alternate between current code and new code to work
on ansi too.

If you know any other way to make this work, please suggest. I thougth
a lot about this, but I didn't find any other solution.

My first idea was to generate the position of characters on the fly.
Then it was so slow one could notice synedit calculating it. I even
tryed to buffer to generate positions, which was also too slow.

-- 
Felipe Monteiro de Carvalho

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


Re: synedit patch from ales

2008-01-25 Thread Ales Katona

Felipe Monteiro de Carvalho  wrote / napísal(a):

On Jan 25, 2008 6:23 PM, Ales Katona <[EMAIL PROTECTED]> wrote:
  
That's not enougth. It already works for ascii characters today.

Please test with both unicode and non-unicode IDE on strings with
accented characters.
  
ASCII doesn't have accented chars. If you mean "non-utf local non-latin1 
encoding" then pre-patch doesn't work on those, anything out of 
['A'-'z'] is considered block before my patch.


With my patch, anything NOT listed in TSynWordBlockChars + 
TSynWhiteChars (if there's no highlighter), or 
Highlighter.WordBlockChars + TSynWhiteChars is considered a valid 
word-character (which MIGHT include some nonsense chars, but at least it 
doesn't block known word-chars, + it can be runtime adjusted (in a way 
to also support utf-8), unlike the current situation (where you simply 
cannot support utf-8 because "allowed chars" is a set of 8bit char).

I am also working on that and it ain't that easy, I can tell for sure.
  
My solution isn't final, but you'd have to rewrite much more to get a 
full utf-8 synedit. As I said, I'm not trying to do that.

You mean like that:

http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lclproc.pas?root=lazarus&r1=13868&r2=13867&pathrev=13868

?

  
No, that's no efficient. We'll need stuff "on the fly" eg, things which 
will report boundaries etc.



Ales

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


Re: synedit patch from ales

2008-01-25 Thread Mattias Gaertner
On Fri, 25 Jan 2008 18:30:11 +0100
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:

> On Jan 25, 2008 6:23 PM, Ales Katona <[EMAIL PROTECTED]> wrote:
> > Yes, and I'm not 100% sure of what everything that would constitute
> > (eg: I don't think there's a valid blockchar in multibyte range),
> > but for 99% of usages the current blockchars (+ whitechars) which
> > are < 127 seem to be working fine.
> 
> That's not enougth. It already works for ascii characters today.
> Please test with both unicode and non-unicode IDE on strings with
> accented characters.
> 
> I am also working on that and it ain't that easy, I can tell for sure.
> 
> > P.S: I think synedit will need a lot more work to be 100% "utf-8
> > ready" on all fronts. All the "set of char" things will have to go
> > and we'd have to implement utf-8 "utf8string[x]"
> > operations/functions (afaik fpc doesn't have them yet?)
> 
> You mean like that:
> 
> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lclproc.pas?root=lazarus&r1=13868&r2=13867&pathrev=13868

I think this is pretty slow and needs too much memory.
For example:
It increases the Dest array in steps of one while allocating one mem
block for each character.
Can you explain, what are you trying to achieve? Then we can find a
better solution.

Mattias

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


Re: synedit patch from ales

2008-01-25 Thread Felipe Monteiro de Carvalho
Hi,

Please define what exactly does this patch fixes.

> The IDE will eventually
> only pass UTF-8 to synedit. Then we need an UTF-8 word boundary test.

I commited a partial implementation for that around ifdef:

http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=13868

thanks,
-- 
Felipe Monteiro de Carvalho

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


Re: synedit patch from ales

2008-01-25 Thread Ales Katona

Mattias Gaertner  wrote / napísal(a):

On Fri, 25 Jan 2008 17:25:07 +0100
Ales Katona <[EMAIL PROTECTED]> wrote:

  

Mattias Gärtner  wrote / napísal(a):


The character sets in synedit are 'set of char', which means only
8bit. So, I guess the patch tries to fix an ANSI codepage accented
chars problem, right?
The fix is probably useless on other codepages including UTF-8,
right? 
  

Not as such. The problem is two fold.

1. If we ignore encoding (eg: just work in ansi space), then the old 
style was simply plain wrong. It only allowed alpha (not num) chars,

and worked on the principle of "what's not alpha, isn't a word".



True. But at least it is reliable.
I disagree here, the functions were a bit incosistent (eg: usage of info 
from highlighter) before.
 
For what codepages do the patch work and for what codepages does it

not work?
  
Right now it depends on wether you have a highlighter assigned. If yes 
then the highlighters' WordBlockChars set is used, otherwise the 
TSynWordBlockChars constant is used (which currently is also assigned to 
all highlighters anyhow afaik).


The constant currently contains only utf-8 "blocks" so it's more or less 
futureproof on this front.

Maybe the set/check should be configurable. The IDE will eventually
only pass UTF-8 to synedit. Then we need an UTF-8 word boundary test.


  
Yes, and I'm not 100% sure of what everything that would constitute (eg: 
I don't think there's a valid blockchar in multibyte range), but for 99% 
of usages the current blockchars (+ whitechars) which are < 127 seem to 
be working fine.
2. If we also consider UTF-8 encoded content, then getting words by 
boundaries (eg: not-allowed chars) and not by allowed-chars means

that as long as given boundaries and whitespaces are < 127 (which the
default ones are), UTF-8 words will be parsed right, even if they
contain special multibyte chars.

I'm not sure if #2 applies also to some other encoding.



UTF-8 uses #128..#255. #0..#127 is plain ASCII like most other
8-bit codepages.
  
Yes, that's exactly why using blocks instead of allowed chars is better 
IMHO (since block chars are 127-, parsing by them allows utf-8 words to 
work now in synedit, whereas before the patch, any accented char would 
end up being taken as a block).


The patch isn't trying to fix synedit to be utf-8 valid, but at least it 
enables word-parsing (boundaries, nextwordpos etc.) on utf-8 text now, 
charset set to UNICODE (I tested with slovak which contains 2byte stuff 
only tho). And lazarus didn't stop working either :D


Mattias
  

Ales

P.S: I think synedit will need a lot more work to be 100% "utf-8 ready" 
on all fronts. All the "set of char" things will have to go and we'd 
have to implement utf-8 "utf8string[x]" operations/functions (afaik fpc 
doesn't have them yet?)

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

  


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


Re: synedit patch from ales

2008-01-25 Thread Felipe Monteiro de Carvalho
On Jan 25, 2008 6:23 PM, Ales Katona <[EMAIL PROTECTED]> wrote:
> Yes, and I'm not 100% sure of what everything that would constitute (eg:
> I don't think there's a valid blockchar in multibyte range), but for 99%
> of usages the current blockchars (+ whitechars) which are < 127 seem to
> be working fine.

That's not enougth. It already works for ascii characters today.
Please test with both unicode and non-unicode IDE on strings with
accented characters.

I am also working on that and it ain't that easy, I can tell for sure.

> P.S: I think synedit will need a lot more work to be 100% "utf-8 ready"
> on all fronts. All the "set of char" things will have to go and we'd
> have to implement utf-8 "utf8string[x]" operations/functions (afaik fpc
> doesn't have them yet?)

You mean like that:

http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/lclproc.pas?root=lazarus&r1=13868&r2=13867&pathrev=13868

?

-- 
Felipe Monteiro de Carvalho

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


Re: synedit patch from ales

2008-01-25 Thread Mattias Gaertner
On Fri, 25 Jan 2008 17:25:07 +0100
Ales Katona <[EMAIL PROTECTED]> wrote:

> Mattias Gärtner  wrote / napísal(a):
> >
> > The character sets in synedit are 'set of char', which means only
> > 8bit. So, I guess the patch tries to fix an ANSI codepage accented
> > chars problem, right?
> > The fix is probably useless on other codepages including UTF-8,
> > right? 
> 
> Not as such. The problem is two fold.
> 
> 1. If we ignore encoding (eg: just work in ansi space), then the old 
> style was simply plain wrong. It only allowed alpha (not num) chars,
> and worked on the principle of "what's not alpha, isn't a word".

True. But at least it is reliable. 
For what codepages do the patch work and for what codepages does it
not work?
Maybe the set/check should be configurable. The IDE will eventually
only pass UTF-8 to synedit. Then we need an UTF-8 word boundary test.


> 2. If we also consider UTF-8 encoded content, then getting words by 
> boundaries (eg: not-allowed chars) and not by allowed-chars means
> that as long as given boundaries and whitespaces are < 127 (which the
> default ones are), UTF-8 words will be parsed right, even if they
> contain special multibyte chars.
> 
> I'm not sure if #2 applies also to some other encoding.

UTF-8 uses #128..#255. #0..#127 is plain ASCII like most other
8-bit codepages.


Mattias

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


Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-25 Thread Chris Kirkpatrick

The list of possible nodes is found, of course, in the FPDoc manual.
Some examples of fairly densely populated descriptions are in StdCtrls, 
DBCtrls, Dialogs, and also in Controls, Graphics, and Forms. In general 
the TCustom components are the most fully described. StdCtrls, 
DBCtrls, Menus  have got large Topic sections with extensive seealso 
references. (A Topic is not, of course, seen by LazDoc, nor is there a 
mechanism for creating one - there is such a mechanism in LazDE).


I have submitted a new bug report.

Regards - Chris

Mattias Gärtner wrote:

For examples see the first few entries in the public/published section
for TComboBox and TCustomComboBox in stdctrls.



Thanks. I was searching for some good examples.
Where can I find a list of all possible nodes that lazde/ladoc creates? Or can
you give me some examples, where I can see all flavors?


  


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


 

  


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


Re: synedit patch from ales

2008-01-25 Thread Ales Katona

Mattias Gärtner  wrote / napísal(a):


The character sets in synedit are 'set of char', which means only 8bit.
So, I guess the patch tries to fix an ANSI codepage accented chars problem,
right?
The fix is probably useless on other codepages including UTF-8, right?
  


Not as such. The problem is two fold.

1. If we ignore encoding (eg: just work in ansi space), then the old 
style was simply plain wrong. It only allowed alpha (not num) chars, and 
worked on the principle of "what's not alpha, isn't a word".


2. If we also consider UTF-8 encoded content, then getting words by 
boundaries (eg: not-allowed chars) and not by allowed-chars means that 
as long as given boundaries and whitespaces are < 127 (which the default 
ones are), UTF-8 words will be parsed right, even if they contain 
special multibyte chars.


I'm not sure if #2 applies also to some other encoding.

Ales


Mattias

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

  


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


Re: synedit patch from ales

2008-01-25 Thread Mattias Gärtner
Zitat von Henry Vermaak <[EMAIL PROTECTED]>:

> On 25/01/2008, Henry Vermaak <[EMAIL PROTECTED]> wrote:
> > http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1618
> >
>
> from #lazarus-ide:
>
>  say it fixes word-parsing in synedit specially for accented
> chars etc.

The character sets in synedit are 'set of char', which means only 8bit.
So, I guess the patch tries to fix an ANSI codepage accented chars problem,
right?
The fix is probably useless on other codepages including UTF-8, right?


Mattias

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


Re: [lazarus] FPDoc tooltip

2008-01-25 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:

> On 25/01/2008, Mattias Gärtner <[EMAIL PROTECTED]> wrote:
> > The default viewer is a simple TLabel.
> > When you install the package TurboPowerIProDsgn you get a HTML control.
> > The hint not only shows comment, but fpdoc help too and fpdoc help can
> contain
> > HTML.
>
> Does the HTML control in tooltips work already, or is it still a wish
> list item? If it already works, do I simply need to install the
> TurboPowerIProDsgn package into Lazarus?

You can install it.
I already tested it to load sub files like images and css files. So the turbo
power ipro part is complete.
The missing piece is that the IDE must correctly extract the html from the fpdoc
xml nodes. This should be easy once I found out, how lazde stores the html in
the xml files. So, at the moment it only passes some text to the viewer.

Then a nice css file must be added.

And then I have to find out, what is needed to get links/seealso tags working.


Mattias

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


Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-25 Thread Mattias Gärtner
Zitat von Chris Kirkpatrick <[EMAIL PROTECTED]>:

> Hi Mattias -
>
> I note from the bug report 0010686 that you have fixed the immediate
> problem, and on re-building Lazarus from SVN this morning I find that I
> can now save  descriptions from LazDoc in the IDE, and also
> things that I type in other boxes such as .

:)
bug #1 fixed

> However the LazDoc  panel does not show text that
> pre-exists in the XML file, and we run the risk of overtyping anything
> that may already be there by using LazDoc, as entries made using LazDoc
> do get saved; similarly, it fails to display the existing contents of
>  fields in the XML file.

bug #2


> As noted before, LazDoc doesn't display formatted text (such as
> underline, italic or bold, marked by word),

bug #3

> and I find that if I
> try to copy inherited  titles I don't copy the italic etc words.

Probably bug #4


> For examples see the first few entries in the public/published section
> for TComboBox and TCustomComboBox in stdctrls.

Thanks. I was searching for some good examples.
Where can I find a list of all possible nodes that lazde/ladoc creates? Or can
you give me some examples, where I can see all flavors?


> Should I raise a new Bug report, or add this to the existing one?

Please create a new one (or more if you like).


Mattias

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


Re: [lazarus] Where is FpGUI and Lazarus-ccr subversion repository?

2008-01-25 Thread Graeme Geldenhuys
On 25/01/2008, Osvaldo TC Filho <[EMAIL PROTECTED]> wrote:
> Now, 25/01/2008 11:18 ( -3:00 )
>
> [EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ svn up
> svn: Requisição PROPFIND falhou em '/svnroot/lazarus-ccr'
> svn: PROPFIND de '/svnroot/lazarus-ccr': não foi possível conectar-se ao
> servidor (https://lazarus-ccr.svn.sourceforge.net)


The SourceForce.net SubVersion servers have been down for the past 24
hours. A lot of people are complaining (including me!).

The problem has been reported, but still no action that we know of
from SourceForge.

http://sourceforge.net/tracker/?group_id=1&atid=21


Regards,
  - Graeme -

___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: [lazarus] C++ libraries

2008-01-25 Thread Luca Olivetti

En/na Felipe Monteiro de Carvalho ha escrit:

You have to build a C wrapper around C++. Look at the Qt 4 Pascal bindings.


I cannot find the link now, but I read of someone wrapping C++ classes 
directly into fpc classes, working both under windows and linux.


Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007

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


Re: [lazarus] Where is FpGUI and Lazarus-ccr subversion repository?

2008-01-25 Thread Vincent Snijders

Graeme Geldenhuys schreef:



The SourceForce.net SubVersion servers have been down for the past 24
hours. A lot of people are complaining (including me!).

The problem has been reported, but still no action that we know of
from SourceForge.

http://sourceforge.net/tracker/?group_id=1&atid=21



LOL: tens of reports about svn.

At least the status page is updated:
"Project Subversion (SVN) Service:   	Partial Outage In-Progress [1]  	Last 
updated: 2008-01-25 Pacific"

http://sourceforge.net/docs/A04/

Vincent

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


Re: [lazarus] Where is FpGUI and Lazarus-ccr subversion repository?

2008-01-25 Thread Florian Klaempfl
Graeme Geldenhuys schrieb:
> On 25/01/2008, Osvaldo TC Filho <[EMAIL PROTECTED]> wrote:
>> Now, 25/01/2008 11:18 ( -3:00 )
>>
>> [EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ svn up
>> svn: Requisição PROPFIND falhou em '/svnroot/lazarus-ccr'
>> svn: PROPFIND de '/svnroot/lazarus-ccr': não foi possível conectar-se ao
>> servidor (https://lazarus-ccr.svn.sourceforge.net)
> 
> 
> The SourceForce.net SubVersion servers have been down for the past 24
> hours. A lot of people are complaining (including me!).
> 
> The problem has been reported, but still no action that we know of
> from SourceForge.
> 
> http://sourceforge.net/tracker/?group_id=1&atid=21

As soon as it is back, we can create a read only mirror on the fpc svn
mirror.

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


[lazarus] Testing

2008-01-25 Thread Ales Katona

I just re-subscribed with the proper e-mail, so I'm testing this...

Ales

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


[lazarus] Where is FpGUI and Lazarus-ccr subversion repository?

2008-01-25 Thread Osvaldo TC Filho
Now, 25/01/2008 11:18 ( -3:00 )

[EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ svn cleanup
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ svn up
svn: Requisição PROPFIND falhou em '/svnroot/lazarus-ccr'
svn: PROPFIND de '/svnroot/lazarus-ccr': não foi possível conectar-se ao
servidor (https://lazarus-ccr.svn.sourceforge.net)
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion/lazarus-ccr$ cd ..
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$
https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk
bash: https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk: Arquivo ou
diretório inexistente
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$ svn checkout
https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk
svn: Requisição PROPFIND falhou em '/svnroot/fpgui/trunk'
svn: PROPFIND de '/svnroot/fpgui/trunk': não foi possível conectar-se ao
servidor (https://fpgui.svn.sourceforge.net)
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$ svn checkout
https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$ svn co
https://fpgui.svn.sourceforge.net/svnroot/fpgui/trunk fpgui
svn: Requisição PROPFIND falhou em '/svnroot/fpgui/trunk'
svn: PROPFIND de '/svnroot/fpgui/trunk': não foi possível conectar-se ao
servidor (https://fpgui.svn.sourceforge.net)
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$ svn co
svn://opensoft.homeip.net/fpgui/trunk fpGUI
Área de autenticação:  OpenSoft
Senha para 'osvaldo': 
Área de autenticação:  OpenSoft
Usuário: anonymous
Senha para 'anonymous': 
Área de autenticação:  OpenSoft
Usuário: svn: Sinal pego
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$  svn co
https://fpgui.svn.sourceforge.net/svnroot/fpgui fpgui
svn: Requisição PROPFIND falhou em '/svnroot/fpgui'
svn: PROPFIND de '/svnroot/fpgui': não foi possível conectar-se ao
servidor (https://fpgui.svn.sourceforge.net)
[EMAIL PROTECTED]:~/deskx/pascal-src/subversion$ 


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


[lazarus] htmlhelp1 example patch

2008-01-25 Thread Andrea Mauri

Checking the htmlhelp1.lpi example I found an error, I don't know how to
apply a patch so I tried to create one.
I attached it.
Once applied the patch also the oncreate event should be removed by the
form.
Without this patch the example does not work, applying it the example
works both on windows and linux.
let me know if the patch is correct or if there are other ways to apply
and create patches.
andrea

***
*** 65,71 
  Edit2: TEdit;
  HTMLBrowserHelpViewer1: THTMLBrowserHelpViewer;
  HTMLHelpDatabase1: THTMLHelpDatabase;
- procedure FormCreate(Sender: TObject);
  procedure HelpButtonClick(Sender: TObject);
private
  { private declarations }
--- 65,70 
***
*** 86,94 
ShowHelpOrErrorForKeyword('','HTML/index.html');
  end;
  
- procedure TForm1.FormCreate(Sender: TObject);
- begin
-   HTMLHelpDatabase1.BaseURL:='/usr';
  end;
  
  initialization
--- 85,88 



Re: [lazarus] FPDoc tooltip

2008-01-25 Thread Graeme Geldenhuys
On 25/01/2008, Mattias Gärtner <[EMAIL PROTECTED]> wrote:
> The default viewer is a simple TLabel.
> When you install the package TurboPowerIProDsgn you get a HTML control.
> The hint not only shows comment, but fpdoc help too and fpdoc help can contain
> HTML.

Does the HTML control in tooltips work already, or is it still a wish
list item? If it already works, do I simply need to install the
TurboPowerIProDsgn package into Lazarus?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

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


Re: synedit patch from ales

2008-01-25 Thread Henry Vermaak
On 25/01/2008, Henry Vermaak <[EMAIL PROTECTED]> wrote:
> http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1618
>

from #lazarus-ide:

 say it fixes word-parsing in synedit specially for accented
chars etc.

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


Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2008-01-25 Thread Chris Kirkpatrick

Hi Mattias -

I note from the bug report 0010686 that you have fixed the immediate 
problem, and on re-building Lazarus from SVN this morning I find that I 
can now save  descriptions from LazDoc in the IDE, and also 
things that I type in other boxes such as .


However the LazDoc  panel does not show text that 
pre-exists in the XML file, and we run the risk of overtyping anything 
that may already be there by using LazDoc, as entries made using LazDoc 
do get saved; similarly, it fails to display the existing contents of 
 fields in the XML file.


As noted before, LazDoc doesn't display formatted text (such as 
underline, italic or bold, marked by word), and I find that if I 
try to copy inherited  titles I don't copy the italic etc words.


For examples see the first few entries in the public/published section 
for TComboBox and TCustomComboBox in stdctrls.


Should I raise a new Bug report, or add this to the existing one?

Regards - Chris


Mattias Gaertner wrote:

On Wed, 23 Jan 2008 16:33:23 +
Chris Kirkpatrick <[EMAIL PROTECTED]> wrote:

  

Hi Mattias -

I have looked at LazDoc in the IDE. It is very nice in principle, and 
allows us to copy inherited properties, for example. However, I

cannot save any changes that I make with LazDoc in the IDE. If I make
a change and press SAVE, then go to another property, when I come
back to the property I just changed, there is nothing left! If I exit
from the project, saving changes, none of my changes made with PazDoc
are saved.

I can still edit the XML file using LazDe as a separate application,
and the changes are saved OK.

I have submitted a bug report for the IDE LazDoc.



Thanks. I will take a look.

Mattias

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

  


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


Re: [lazarus] FPDoc tooltip

2008-01-25 Thread Mattias Gärtner
Zitat von ik <[EMAIL PROTECTED]>:

> Hi,
>
> I noticed that I can view comments that where added above a function
> on lazarus as FPDoc, however, it ignores line breaks inside the
> comment, and does not wrap text.

It is a new feature and not yet complete.
I will fix the line breaks.


> So I wonder if there is a way to configure this, and/or if there is
> (like in Eclipse) a tab/window that can display it properly inside ?

The default viewer is a simple TLabel.
When you install the package TurboPowerIProDsgn you get a HTML control.
The hint not only shows comment, but fpdoc help too and fpdoc help can contain
HTML.
I'm not sure about how to handle wordwrap. With working line breaks it may not
be needed.

Mattias

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


[lazarus] synedit patch from ales

2008-01-25 Thread Henry Vermaak
http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1618

can someone look into why his mails don't reach the list, please?

thanks

henry

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


[lazarus] TShape with Height = 1

2008-01-25 Thread Damien Gerard


I have a TShape with a Height = 1 in order to make a clean separation.
Under GTK2(Nux,Win) it works well, but with the win32 widgetset the  
height must be equals to 2 to be visible and seem to be 1.


It is a "bug" of the widgetset win32 or I am wrong with the behavior ?


--
Damien Gerard
[EMAIL PROTECTED]

Le temps n'a pas d'importance. Seul le code est important
   -- (f00ty)




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


[lazarus] FPDoc tooltip

2008-01-25 Thread ik
Hi,

I noticed that I can view comments that where added above a function
on lazarus as FPDoc, however, it ignores line breaks inside the
comment, and does not wrap text.

So I wonder if there is a way to configure this, and/or if there is
(like in Eclipse) a tab/window that can display it properly inside ?


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

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