Re: [lazarus] External Tools and Messages window

2007-09-21 Thread Tiziano_mk

Mattias Gaertner wrote:

On Tue, 11 Sep 2007 12:12:29 +0200
Tiziano_mk [EMAIL PROTECTED] wrote:



(reposted after problems with my subscription)


It seems to me that if I check the Scan output for Free Pascal
Compiler messages checkbox this should happen.

Am I missing something important?


All messages are filtered and only the hints/warnings/errors are shown.


mmmh, I tryed with this sequence:

writeln('Hint: a Hint');
writeln('Warning: a Warning');
writeln('Note: a Note');
writeln('Hint: a Hint');
writeln('Error: an Error');
writeln('Note: this was after the error');

but the Messages window displays only:

Note: a Note
Error: an Error



Maybe a checkbox is needed to show all messages.


Yes, looking at exttooledtdlg it seems that it is simply missing, since
the fOptions.ShowAllOutput was already defined.

The homework was simple and here is the patch.
(In next message if this is correctly sent to the mailing list)

One other question:
How about converting this unit into a form unit?
I am going to make it as a personal exercise, but I'd like to know if 
this can then submitted as a patch for the IDE.


tiziano

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


[lazarus] When does the main form show?

2007-09-21 Thread Jeff Steinkamp
I have come across a unique problem I do not quite understand.  The 
point at which the main form shows on the screen does not seem to be the 
same between a project built under GTK1 in Linux, and the same exact 
code built and compiled for windows.


In GTK1 as well and my Delphi6 (where the project originally started), 
the main from is displayed at the beginning of the FormActivate Event. 
When compiled for windows, the main form does not appear to be showing 
until the completion of the FormShow event.


This has become a nightmare as I am processing a number of routines in 
the FormActivate event and displaying status messages in the status bar 
of the main form.  This could take a few minutes to complete, and as 
such, with windows it appears the program has stalled.


Is this the normal behavior for Windows and if so, any idea how to get 
around it?


Thanks

Jeff Steinkamp - N7YG
Tucson, AZ
SCUD Missile Coordinates
N32-13-55.01 W110-50-51.91
http://n7yg.net
http://home.earthlink.net/~jksteinkamp
Linux User #420428
Skype : jeff_steinkamp
___

'I'm not the one that misplaced the Deltivid asteroid belt!' - Q


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


[lazarus] Lazarus Codetools XML vs FPC XML

2007-09-21 Thread Tom Gregorovic

Hi,
what is the difference between XML units from Lazarus Codetools 
(Laz_xmlread, Laz_dom, etc.) and FPC counterparts (XMLRead, DOM, etc.)

and which one would prefer to use?

Tom

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


[lazarus] TCheckListBox.PopupMenu

2007-09-21 Thread Roland Turcan
Hello [EMAIL PROTECTED]

Could somebody explain me, why is not published property %subj%, but
its ancestor TCustomListBox it has.

Thanks.

-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

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


[lazarus] TTrayIcon was moved to lcl

2007-09-21 Thread Felipe Monteiro de Carvalho
Hello,

The TTrayIcon component was moved to lcl. In the process of moving
some things had to be changed, so everything needs to be retested.

It would be nice if everyone using TTrayIcon could test if their
programs work with the latest subversion Lazarus, and if problems are
found, please submit them to the bug tracker.

Some known things about this:

- To use the LCL trayicon use ExtCtrls unit instead of the TrayIcon
unit. Make sure you have the latest subversion
- On the gtk2 widgetset TTrayIcon won't work unless you are using fpc
2.2 or superior
- Showing more then 1 icon at the same time (i.e. having many
TTrayIcon components on the same application) isn't supported (it
could, however, be supported if someone is interrested enougth to
implement it).
- ShowHint property was removed, this is now defined by Hind  ''
- The new LCL TTrayIcon is partially compatible with the Delphi
implementation. The Delphi implementation has some features TTrayIcon
hasn't and vice-versa. It's possible to use a subset of features
suported by both.

thanks,
-- 
Felipe Monteiro de Carvalho

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


Re: [lazarus] Lazarus Codetools XML vs FPC XML

2007-09-21 Thread Mattias Gaertner
On Fri, 21 Sep 2007 10:16:09 +0200
Tom Gregorovic [EMAIL PROTECTED] wrote:

 Hi,
 what is the difference between XML units from Lazarus Codetools 
 (Laz_xmlread, Laz_dom, etc.) and FPC counterparts (XMLRead, DOM, etc.)
 and which one would prefer to use?

The laz_dom unit uses strings, the FPC dom unit uses widestrings.
The laz_dom unit is much faster while the FPC dom unit handles i18n
characters better and supports all xml features.

The Lazarus IDE uses it for its config files (TXMLConfig), where
laz_xmlcfg is sufficient and much faster.

Mattias

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


Re: [lazarus] UTF-8 input handling

2007-09-21 Thread zaher dirkey
I wonder how could Right-To-Left work on the code editor.
You mean Right-To-Left in SynEdit, Especially in strings and comments.
I think mixing LTR and RTL in same text will be complex to read it.


Re: [lazarus] When does the main form show?

2007-09-21 Thread Tobias Giesen
 I am processing a number of routines in the FormActivate event

I think it would be much better if you put a TTimer component on your
form and put only Timer1.Enabled:=true into your FormActivate or
FormShow event. Don't do lengthy processing in those events.

Inside the timer execute event (such as Timer1Timer), you would do
Timer1.Enabled:=false and then you would process your routines which
may take minutes while the form is already shown. You should also
disable any dialog elements in the form while your routines are 
running and call Application.ProcessMessages as often as you can so
that the form can be moved across the screen, minimized and so forth.

Kind Regards,
Tobias Giesen

---
www.superflexible.com




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


Re: [lazarus] Lazarus Development blog

2007-09-21 Thread Павел Ишенин

Henry Vermaak wrote:

On 21/09/2007, Vincent Snijders [EMAIL PROTECTED] wrote:
  

Hi,

Paul and me started a blog about Lazarus Development at
http://lazarus-dev.blogspot.com/.

It provides some backgrounds not suitable for an official news item and personal
opinions.


Vincent




would it make sense to add a blogs link in the main menu on the
website?  (maybe under info)  since the news post will disappear in
a while.
  

It will.

Best regards,
Paul Ishenin.

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


Re: [lazarus] Lazarus Development blog

2007-09-21 Thread Henry Vermaak
On 21/09/2007, Vincent Snijders [EMAIL PROTECTED] wrote:
 Hi,

 Paul and me started a blog about Lazarus Development at
 http://lazarus-dev.blogspot.com/.

 It provides some backgrounds not suitable for an official news item and 
 personal
 opinions.


 Vincent


would it make sense to add a blogs link in the main menu on the
website?  (maybe under info)  since the news post will disappear in
a while.

thanks
henry

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


[lazarus] Lazarus Development blog

2007-09-21 Thread Vincent Snijders

Hi,

Paul and me started a blog about Lazarus Development at 
http://lazarus-dev.blogspot.com/.


It provides some backgrounds not suitable for an official news item and personal 
opinions.



Vincent

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


Re: [lazarus] Lazarus Development blog

2007-09-21 Thread Michael A. Hess
On Fri, 21 Sep 2007, Henry Vermaak wrote:

 On 21/09/2007, Vincent Snijders [EMAIL PROTECTED] wrote:
  Hi,
 
  Paul and me started a blog about Lazarus Development at
  http://lazarus-dev.blogspot.com/.

 would it make sense to add a blogs link in the main menu on the
 website?  (maybe under info)  since the news post will disappear in
 a while.

Already there.
I was a step ahead of you guys for once.  :-)

-- 
 Programming my first best destiny! 

Michael A. Hess  Miracle Concepts, Inc.
[EMAIL PROTECTED]   http://www.miraclec.com
Phone: 570-388-2211  Fax: 570-388-6101

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


[lazarus] JSON implementation

2007-09-21 Thread Michael Van Canneyt
Hi,

For those that need JSON support (JavaScript Object Notation), I committed
a hopefully complete implementation to packages/fcl-json. It contains demo 
programs and a fpcunit testsuite. There is a TJSONConfig component, similar 
to the TXMConfig component that comes with the XML implementation in fcl-xml.
(it's a component, so it could be included on the Lazarus component palette)

With this it should be pretty straightforward to implement a 
TJSONReader/TJSONWriter pair to plug in the component streaming system.

If you spot any bugs, or have remarks on how to improve it, I'd love to hear 
about it.

Enjoy!

Michael.

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


Re: [lazarus] When does the main form show?

2007-09-21 Thread Jeff Steinkamp


- Original Message - 
From: Tobias Giesen [EMAIL PROTECTED]

To: lazarus@miraclec.com
Sent: Friday, September 21, 2007 04:44
Subject: Re: [lazarus] When does the main form show?



I am processing a number of routines in the FormActivate event


I think it would be much better if you put a TTimer component on your
form and put only Timer1.Enabled:=true into your FormActivate or
FormShow event. Don't do lengthy processing in those events.

Inside the timer execute event (such as Timer1Timer), you would do
Timer1.Enabled:=false and then you would process your routines which
may take minutes while the form is already shown. You should also
disable any dialog elements in the form while your routines are 
running and call Application.ProcessMessages as often as you can so

that the form can be moved across the screen, minimized and so forth.

Kind Regards,
Tobias Giesen




That did the trick, thanks

Jeff

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


[lazarus] App Localization

2007-09-21 Thread Luis Rodrigues
Hi,

Is there any good translation tool?

When i say good I mean that it finds all the strings on my project (in
code and forms) and creates a list for me to translate.

If there is only resourcestring i'm willing to make a better tool, any
info on how to do this?

Regards,

Luís

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