Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-06

Need testers, new Messages window

42 messages · 13 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi,

Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes.

You can enable it by compiling clean with -dEnableNewExtTools.

Highlights:
- external tool is now run in a thread. And so is the biggest part of the parser.
- the IDE now passes -vbq (message ids and full file names) to the compiler.
- Messages window now uses a special control:
every tool output is now clearly separated by a header line
- the control can handle much bigger outputs, so you can compile with more verbosity
- the popup menu of the messages window has new items:
- The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item.
- the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file
- you can switch between English and translation at any time
- you can search in messages window
- you can filter for message types and urgency (hint, note, warn ...)
- choose file names styles (short, relative, full)
- you can change the colors in Tools / Options / Messages
- when you insert/delete text in the source editor the messages are now updated in line *and* column number.
- the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave.
- right clicking on the left gutter icon will show the quick fixes

Here is a short list of the built in quick fixes:
http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 36 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

I am *very* impressed. This will really speed up coding.

Great job !

Michael.

Reply by email

leledumbo
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

Mmm... sounds delicious. Will svn up soon.

Mattias Gaertner wrote

Show quoted text 48 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes Mattias -- _______________________________________________ Lazarus mailing list Lazarus at .freepascal http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Need-testers-new-Messages-window-tp4037263p4037265.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Marcos Douglas
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…
Mattias Gaertner wrote 36 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

WOW! Great job!!

Marcos Douglas

Reply by email

Unknown author
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

I get:
E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(430,21) Error: identifier idents no member "AddMsg"
E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(481,21) Error: identifier idents no member "BeginBlock"
...
I build ALL with clean all.

2014-06-05 17:55 GMT+02:00 Mattias Gaertner :

Show quoted text 39 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140605/4b79756b/attachment-0001.html>

Reply by email

Vojtěch Čihák
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

Hello,
?
very nice. It compiles and works well on Qt r.45357 with FPC 2.7.1.? ______________________________________________________________

Show quoted text 5 lines
Od: Mattias Gaertner Komu: Datum: 05.06.2014 17:57 P?edm?t: [Lazarus] Need testers, new Messages window

- Messages window now uses a special control:
?every tool output is now clearly separated by a header line
- the control can handle much bigger outputs, so you can compile with ?more verbosity
?
It is a new visual control ?
?
Vojt?ch

Reply by email

Mattias Gaertner
to Unknown author: I get: E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(430,21) Error:…
Show quoted text 7 lines
I get: E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(430,21) Error: identifier idents no member "AddMsg" E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(481,21) Error: identifier idents no member "BeginBlock" ... I build ALL with clean all.

The sqldb package did not use the IDEBuildOption macro. I added it now, so it should work now.

Mattias

Reply by email

C Western
to Mattias Gaertner: On Thu, 5 Jun 2014 18:56:46 +0200 The sqldb package did not use the IDEBuildOption macro.…
Mattias Gaertner wrote 14 lines
On Thu, 5 Jun 2014 18:56:46 +0200 wrote: > I get: > E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(430,21) Error: > identifier idents no member "AddMsg" > E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(481,21) Error: > identifier idents no member "BeginBlock" > ... > I build ALL with clean all. The sqldb package did not use the IDEBuildOption macro. I added it now, so it should work now.

Same problem with macroscript?

.../components/macroscript/emscriptmacro.pas(306,27) Error: identifier
idents no member "AddMsg"
emscriptmacro.pas(324,27) Error: identifier idents no member "AddMsg"

Colin

Reply by email

Unknown author
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

Nice work,

what I found for now is:
1. problem with tooltip, only shows after the first mouseover until I use mouse scroll or leave message window.
2. it would be nice if you can refill window after resize messages window.
3. keyboard shortcut (ESC) for close "Find bar" can be useful

and last thing that I always want, "messages window" always on top when you click on message and jump to code (I often work with a partially visible msg. window).

2014-06-05 17:55 GMT+02:00 Mattias Gaertner :

Show quoted text 39 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140605/2023193e/attachment.html>

Reply by email

Unknown author
to Mattias Gaertner

Refresh, when the window is small (height) and a lot of messages is in it, and then when you resize/enlarged (height) window then the window is mostly blank, only messages visible before is still there (at top), when I just click on the scrollbar everything will fill properly entire window.

2014-06-05 23:25 GMT+02:00 Mattias Gaertner :

Show quoted text 10 lines
On Thu, 5 Jun 2014 22:27:49 +0200 wrote: >[...] > 2. it would be nice if you can refill window after resize messages window. What do you mean with refill?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140605/db85b283/attachment.html>

Reply by email

Mattias Gaertner
to Unknown author: what I found for now is: 1. problem with tooltip, only shows after the first mouseover…
Show quoted text 5 lines
Nice work, what I found for now is: 1. problem with tooltip, only shows after the first mouseover until I use mouse scroll or leave message window.

Fixed.

2. it would be nice if you can refill window after resize messages window.

Scrollbar was not updated on resize. Fixed.

3. keyboard shortcut (ESC) for close "Find bar" can be useful

Good idea. Done.

and last thing that I always want, "messages window" always on top when you click on message and jump to code (I often work with a partially visible msg. window).

I remember some other people had asked that too long time ago. I added that option Context menu / Options / Window stay on top. Please test.

Mattias

Reply by email

Dirk
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

Another error when compiling with FPC trunk:

jcfidemain.pas(275,17) Error: identifier idents no member "AddMsg" jcfidemain.pas(278,17) Error: identifier idents no member "AddMsg" jcfidemain.pas(306) Fatal: There were 2 errors compiling module, stopping TExternalToolList.Run Exception:
D:\dev\lazarus\components\jcf2\IdePlugin\lazarus\jcfidemain.pas(306) Fatal: There were 2 errors compiling module, stopping

Regards,

Dirk.

Reply by email

Mattias Gaertner
to Dirk
Show quoted text 8 lines
Another error when compiling with FPC trunk: jcfidemain.pas(275,17) Error: identifier idents no member "AddMsg" jcfidemain.pas(278,17) Error: identifier idents no member "AddMsg" jcfidemain.pas(306) Fatal: There were 2 errors compiling module, stopping TExternalToolList.Run Exception: D:\dev\lazarus\components\jcf2\IdePlugin\lazarus\jcfidemain.pas(306) Fatal: There were 2 errors compiling module, stopping

I added the IDEBuildOptions to jcf.
It should work now.

Mattias

Reply by email

Unknown author
to Mattias Gaertner: On Thu, 5 Jun 2014 22:27:49 +0200 Fixed. Scrollbar was not updated on resize. Fixed. Good…

2014-06-06 0:04 GMT+02:00 Mattias Gaertner :

Show quoted text 32 lines
On Thu, 5 Jun 2014 22:27:49 +0200 wrote: > Nice work, > > what I found for now is: > 1. problem with tooltip, only shows after the first mouseover until I use > mouse scroll or leave message window. Fixed. > 2. it would be nice if you can refill window after resize messages window. Scrollbar was not updated on resize. Fixed. > 3. keyboard shortcut (ESC) for close "Find bar" can be useful Good idea. Done. > and last thing that I always want, "messages window" always on top when you > click on message and jump to code (I often work with a partially visible msg. > window). I remember some other people had asked that too long time ago. I added that option Context menu / Options / Window stay on top. Please test.

Thnaks Mattias,

Nice, now when I compile a large project and switch to another window (eg firefox) I can keep an eye on the process of compiling. And is still a problem with the highlight message (also in the old version). When I click on some message highlight is almost not visible (only border), only
when I click on the title bar of messages window is ok. That is also even when the window is on top (focus goes to source code ?). -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140606/6afc18ea/attachment.html>

Reply by email

Mattias Gaertner
to Unknown author
[...] Nice, now when I compile a large project and switch to another window (eg firefox) I can keep an eye on the process of compiling.

ok, so fsStayOnTop works.

Show quoted text 5 lines
And is still a problem with the highlight message (also in the old version). When I click on some message highlight is almost not visible (only border), only when I click on the title bar of messages window is ok. That is also even when the window is on top (focus goes to source code ?).

It uses the LCL theme drawing for ttItemSelected and ttItemSelectedNotFocus.
Under OS x and Linux/gtk2 I see my theme drawing.
How do selected elements look in other applications?

Mattias

Reply by email

Vojtěch Čihák
to Mattias Gaertner: On Fri, 6 Jun 2014 09:09:41 +0200 ok, so fsStayOnTop works. It uses the LCL theme drawing…

It looks fine in Linux/Qt.
?
http://s26.postimg.org/4eex19sll/newmessages.png
?
Vojt?ch?
______________________________________________________________

Show quoted text 5 lines
Od: Mattias Gaertner Komu: Datum: 06.06.2014 09:28 P?edm?t: Re: [Lazarus] Need testers, new Messages window

Under OS x and Linux/gtk2 I see my theme drawing.
How do selected elements look in other applications?

Mattias

Reply by email

Unknown author
to Mattias Gaertner: On Fri, 6 Jun 2014 09:09:41 +0200 ok, so fsStayOnTop works. It uses the LCL theme drawing…

2014-06-06 9:27 GMT+02:00 Mattias Gaertner :

Show quoted text 24 lines
On Fri, 6 Jun 2014 09:09:41 +0200 wrote: >[...] > Nice, now when I compile a large project and switch to another window (eg > firefox) I can keep an eye on the process of compiling. ok, so fsStayOnTop works. > And is still a problem with the highlight message (also in the old version). > When I click on some message highlight is almost not visible (only > border), only > when I click on the title bar of messages window is ok. That is also even when > the window is on top (focus goes to source code ?). It uses the LCL theme drawing for ttItemSelected and ttItemSelectedNotFocus. Under OS x and Linux/gtk2 I see my theme drawing. How do selected elements look in other applications?

Yes, the same as here, maybe it would be better not use ttItemSelectedNotFocus ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140606/5d9c9ec5/attachment.html>

Reply by email

zeljko
to Unknown author
Show quoted text 30 lines
2014-06-06 9:27 GMT+02:00 Mattias Gaertner < <mailto:>>: On Fri, 6 Jun 2014 09:09:41 +0200 <mailto:> wrote: >[...] > Nice, now when I compile a large project and switch to another window (eg > firefox) I can keep an eye on the process of compiling. ok, so fsStayOnTop works. > And is still a problem with the highlight message (also in the old version). > When I click on some message highlight is almost not visible (only > border), only > when I click on the title bar of messages window is ok. That is also even when > the window is on top (focus goes to source code ?). It uses the LCL theme drawing for ttItemSelected and ttItemSelectedNotFocus. Under OS x and Linux/gtk2 I see my theme drawing. How do selected elements look in other applications? Yes, the same as here, maybe it would be better not use ttItemSelectedNotFocus ?

Why not ? Because of bug or unimplemented feature in widgetset ? btw. what's your widgetset ?

zeljko

Reply by email

patspiper
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…
Mattias Gaertner wrote 35 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

Impressive list!

However, weblaz failed to compile as -dEnableNewExtTools did not propagate to the package. Is there a way to force it (override ;) ) short of including it in the package's options?

Stephano

Reply by email

patspiper
to Mattias Gaertner
Mattias Gaertner wrote 9 lines
On Fri, 06 Jun 2014 13:46:02 +0300 patspiper wrote: > [...] > However, weblaz failed to compile as -dEnableNewExtTools did not > propagate to the package. Is there a way to force it (override ;) ) > short of including it in the package's options? Yes, see here: http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages

This is for regular projects, and I use this feature extensively. However, weblaz is a design and runtime package and hence is installed in the ide. So the problem is how to let the ide force -dEnableNewExtTools as the failure occurs when rebuilding the IDE.

Thanks,
Stephano

Reply by email

Reinier Olislagers
to patspiper
patspiper wrote 17 lines
On 06/06/14 13:58, Mattias Gaertner wrote: > On Fri, 06 Jun 2014 13:46:02 +0300 > patspiper wrote: > >> [...] >> However, weblaz failed to compile as -dEnableNewExtTools did not >> propagate to the package. Is there a way to force it (override ;) ) >> short of including it in the package's options? > Yes, see here: > http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages > This is for regular projects, and I use this feature extensively. However, weblaz is a design and runtime package and hence is installed in the ide. So the problem is how to let the ide force -dEnableNewExtTools as the failure occurs when rebuilding the IDE.

Patch that simply overrides existing options is in bugtracker http://bugs.freepascal.org/view.php?id=26291

edit: Oh I see Mattias already saw it...

Reply by email

Mattias Gaertner
to patspiper: This is for regular projects, and I use this feature extensively. However, weblaz is a…
Show quoted text 15 lines
On 06/06/14 13:58, Mattias Gaertner wrote: > On Fri, 06 Jun 2014 13:46:02 +0300 > patspiper wrote: > >> [...] >> However, weblaz failed to compile as -dEnableNewExtTools did not >> propagate to the package. Is there a way to force it (override ;) ) >> short of including it in the package's options? > Yes, see here: > http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages This is for regular projects, and I use this feature extensively. However, weblaz is a design and runtime package and hence is installed in the ide. So the problem is how to let the ide force -dEnableNewExtTools as the failure occurs when rebuilding the IDE.

See the note at the end.
Move the option up.

Note: Eventually the "Stored in IDE" options and the "Configure Build Lazarus" options should be merged.

Mattias

Reply by email

patspiper
to Reinier Olislagers: Patch that simply overrides existing options is in bugtracker…
Reinier Olislagers wrote 21 lines
On 06/06/2014 13:10, patspiper wrote: > On 06/06/14 13:58, Mattias Gaertner wrote: >> On Fri, 06 Jun 2014 13:46:02 +0300 >> patspiper wrote: >> >>> [...] >>> However, weblaz failed to compile as -dEnableNewExtTools did not >>> propagate to the package. Is there a way to force it (override ;) ) >>> short of including it in the package's options? >> Yes, see here: >> http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages >> > This is for regular projects, and I use this feature extensively. > However, weblaz is a design and runtime package and hence is installed > in the ide. So the problem is how to let the ide force > -dEnableNewExtTools as the failure occurs when rebuilding the IDE. > Patch that simply overrides existing options is in bugtracker http://bugs.freepascal.org/view.php?id=26291 edit: Oh I see Mattias already saw it...

He has just fixed it indeed. Thanks!

Stephano

Reply by email

Vojtěch Čihák
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

I found an issue: Sub-menu of popmenu item Filter non urgent messages ... It is - in fact - a radio group but it draws a check boxes on the left. But Lazarus (or at least Qt) is capable to draw radio-circles. It requires for those items:
- set non-zero GroupIndex
- set RadioItem to True
- set all items AutoCheck = True
?
ShowAlwaysCheckable seems not required here.
?
Vojt?ch?
______________________________________________________________

Show quoted text 5 lines
Od: Mattias Gaertner Komu: Datum: 05.06.2014 17:57 P?edm?t: [Lazarus] Need testers, new Messages window

- the popup menu of the messages window has new items:

Reply by email

patspiper
to Mattias Gaertner: On Fri, 06 Jun 2014 14:10:39 +0300 See the note at the end. Move the option up. Note:…
Mattias Gaertner wrote 19 lines
On Fri, 06 Jun 2014 14:10:39 +0300 patspiper wrote: > On 06/06/14 13:58, Mattias Gaertner wrote: >> On Fri, 06 Jun 2014 13:46:02 +0300 >> patspiper wrote: >> >>> [...] >>> However, weblaz failed to compile as -dEnableNewExtTools did not >>> propagate to the package. Is there a way to force it (override ;) ) >>> short of including it in the package's options? >> Yes, see here: >> http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages > This is for regular projects, and I use this feature extensively. > However, weblaz is a design and runtime package and hence is installed > in the ide. So the problem is how to let the ide force > -dEnableNewExtTools as the failure occurs when rebuilding the IDE. See the note at the end. Move the option up.

So the IDE itself is included in the * group of the 'Stored in IDE' options. Does the IDE have a specific project name such as 'lazarus' in order to apply options specific to the IDE and not to user projects?

Note: Eventually the "Stored in IDE" options and the "Configure Build Lazarus" options should be merged.

Is it possible to have this implemented, but with the IDE having its own 'project options' (the same as regular projects)?

Stephano

Reply by email

Mattias Gaertner
to patspiper
Show quoted text 24 lines
On 06/06/14 14:16, Mattias Gaertner wrote: > On Fri, 06 Jun 2014 14:10:39 +0300 > patspiper wrote: > >> On 06/06/14 13:58, Mattias Gaertner wrote: >>> On Fri, 06 Jun 2014 13:46:02 +0300 >>> patspiper wrote: >>> >>>> [...] >>>> However, weblaz failed to compile as -dEnableNewExtTools did not >>>> propagate to the package. Is there a way to force it (override ;) ) >>>> short of including it in the package's options? >>> Yes, see here: >>> http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Add_a_flag_to_project_and_all_packages >> This is for regular projects, and I use this feature extensively. >> However, weblaz is a design and runtime package and hence is installed >> in the ide. So the problem is how to let the ide force >> -dEnableNewExtTools as the failure occurs when rebuilding the IDE. > See the note at the end. > Move the option up. So the IDE itself is included in the * group of the 'Stored in IDE' options. Does the IDE have a specific project name such as 'lazarus' in order to apply options specific to the IDE and not to user projects?

Not yet.

Show quoted text 5 lines
> Note: Eventually the "Stored in IDE" options and the "Configure Build > Lazarus" options should be merged. Is it possible to have this implemented, but with the IDE having its own 'project options' (the same as regular projects)?

That is the goal. Yes.

Mattias

Reply by email

FreeMan
to FreeMan

[FIXED]
problem on Indy 10.x component, I was install for test it, It builded and installed. ./lazbuild not give info, problem or build success. I was lucky at this time, 'cos found problem on my first try. I uninstall indy 10 package and rebuild IDE

this lines, last two lines from ./lazbuild no info, is finished? has error? just has not failed

Note: deleted backup "/opt/lazarus/lazarus.old"
Note: renamed file "/opt/lazarus/lazarus" to "/opt/lazarus/lazarus.old"

06-06-2014 17:59 tarihinde, FreeMan yazd?:

Show quoted text 9 lines
I get this error after update svn ./lazbuild --ws=qt --pcp=~/.lazarus --build-all --recursive --quiet --skip-dependencies --build-ide= Note: renamed file "/opt/lazarus/lazarus" to "/opt/lazarus/lazarus.old" Build IDE: stopped with exit code 512 TLazBuildApplication.BuildLazarusIDE: Building IDE failed. Failed building Lazarus IDE

Reply by email

Unknown author
to Mattias Gaertner: Some central parts of the IDE have been rewritten: the whole messages window and all code…

Switch Filter Settings->"Create Filter" message box don't break when Cancel button pressed (InputBox/InputQuery).

2014-06-05 17:55 GMT+02:00 Mattias Gaertner :

Show quoted text 39 lines
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool is now run in a thread. And so is the biggest part of the parser. - the IDE now passes -vbq (message ids and full file names) to the compiler. - Messages window now uses a special control: every tool output is now clearly separated by a header line - the control can handle much bigger outputs, so you can compile with more verbosity - the popup menu of the messages window has new items: - The IDE now knows where each message came from and what tool has created them. For example you can see the reason why a package was compiled and the parameters via the "About" menu item. - the fpc parser uses the message ids, the errore.msg file and the translated error*.msg file - you can switch between English and translation at any time - you can search in messages window - you can filter for message types and urgency (hint, note, warn ...) - choose file names styles (short, relative, full) - you can change the colors in Tools / Options / Messages - when you insert/delete text in the source editor the messages are now updated in line *and* column number. - the source editor shows marks: on left gutter an icon, on right gutter a small rectangle and the token is underlined with a wave. - right clicking on the left gutter icon will show the quick fixes Here is a short list of the built in quick fixes: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Quick_Fixes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140606/c58cb0cc/attachment.html>

Reply by email

Mattias Gaertner
to FreeMan: I get this error after update svn ./lazbuild --ws=qt --pcp=~/.lazarus --build-all…
Show quoted text 7 lines
I get this error after update svn ./lazbuild --ws=qt --pcp=~/.lazarus --build-all --recursive --quiet --skip-dependencies --build-ide= Note: renamed file "/opt/lazarus/lazarus" to "/opt/lazarus/lazarus.old" Build IDE: stopped with exit code 512

This is the exit code from the compiler.
That should not happen.
Either there is a bug in compiler or there is something wrong with the TProcess parameters.
How did you start lazbuild? From some script?

Mattias

Reply by email

FreeMan
to Mattias Gaertner

07-06-2014 23:29 tarihinde, Mattias Gaertner yazd?:

How did you start lazbuild? From some script?

usually in sctipt, if I see abnormal result, I try one more manually, some times for fallow, ">log.txt" copy results to text file and look in

This is the exit code from the compiler. That should not happen.

Maybe, if lazbuild can hold error (try except etc.), after terminate can writeln last packet name , or file, if its possible line too.

Reply by email

FreeMan
to Mattias Gaertner: On Fri, 06 Jun 2014 17:59:30 +0300 This is the exit code from the compiler. That should…

07-06-2014 23:29 tarihinde, Mattias Gaertner yazd?:

How did you start lazbuild? From some script? Mattias

hehe "I maked up my mind." This been very good, thank you. I follow commits feed of svn's, log message and changed code. If you not angry me :) I have one more suggestion too :) --verbose and --quiet parameter has it,
--verbose can write all detail.
--quiet just error(s) can write
without booth this params just normal, just package name or without detail can write

(power of vote) :D

Reply by email

Mattias Gaertner
to FreeMan: 07-06-2014 23:29 tarihinde, Mattias Gaertner yazd?: usually in sctipt, if I see abnormal…
Show quoted text 11 lines
07-06-2014 23:29 tarihinde, Mattias Gaertner yazd?: > How did you start lazbuild? From some script? usually in sctipt, if I see abnormal result, I try one more manually, some times for fallow, ">log.txt" copy results to text file and look in > This is the exit code from the compiler. > That should not happen. Maybe, if lazbuild can hold error (try except etc.), after terminate can writeln last packet name , or file, if its possible line too.

There was a bug, that lazbuild did not write the output. I fixed that.

Mattias

Reply by email

Mattias Gaertner
to FreeMan: 07-06-2014 23:29 tarihinde, Mattias Gaertner yazd?: hehe "I maked up my mind." This been…
Show quoted text 7 lines
[...] 07-06-2014 23:29 tarihinde, Mattias Gaertner yazd?: > How did you start lazbuild? From some script? > > Mattias hehe "I maked up my mind." This been very good, thank you. I follow commits feed of svn's, log message and changed code.

You are welcome.

Show quoted text 6 lines
If you not angry me :) I have one more suggestion too :) --verbose and --quiet parameter has it, --verbose can write all detail. --quiet just error(s) can write without booth this params just normal, just package name or without detail can write

You can pass multiple verbose/quiet to increase/decrease the verbosity level. A --quiet --verbose will now reset the verbosity.

Mattias

Reply by email