Re: [Lazarus] Need testers, new Messages window

2014-06-08 Thread FreeMan


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.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-08 Thread FreeMan


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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-08 Thread Mattias Gaertner
On Sun, 08 Jun 2014 11:41:38 +0300
FreeMan freema...@delphiturkiye.com wrote:

 
 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-08 Thread Mattias Gaertner
On Sun, 08 Jun 2014 12:06:47 +0300
FreeMan freema...@delphiturkiye.com wrote:

[...] 
 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.

 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-07 Thread Mattias Gaertner
On Fri, 6 Jun 2014 17:36:13 +0200
t.wieckow...@gmail.com wrote:

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

Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-07 Thread Mattias Gaertner
On Fri, 06 Jun 2014 17:59:30 +0300
FreeMan freema...@delphiturkiye.com wrote:

 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 6 Jun 2014 00:02:48 +0100
Dirk dirk.l...@dirksweb.com wrote:

 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread t . wieckowski
2014-06-06 0:04 GMT+02:00 Mattias Gaertner nc-gaert...@netcologne.de:

 On Thu, 5 Jun 2014 22:27:49 +0200
 t.wieckow...@gmail.com 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 ?).
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 6 Jun 2014 09:09:41 +0200
t.wieckow...@gmail.com 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?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Michael Schnell

Sounds really great !

-Michael

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Vojtěch Čihák

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

Od: Mattias Gaertner nc-gaert...@netcologne.de
Komu: lazarus@lists.lazarus.freepascal.org
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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread t . wieckowski
2014-06-06 9:27 GMT+02:00 Mattias Gaertner nc-gaert...@netcologne.de:

 On Fri, 6 Jun 2014 09:09:41 +0200
 t.wieckow...@gmail.com 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
?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread zeljko

On 06/06/2014 12:13 PM, t.wieckow...@gmail.com wrote:

2014-06-06 9:27 GMT+02:00 Mattias Gaertner nc-gaert...@netcologne.de
mailto:nc-gaert...@netcologne.de:

On Fri, 6 Jun 2014 09:09:41 +0200
t.wieckow...@gmail.com mailto:t.wieckow...@gmail.com 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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread patspiper

On 05/06/14 18:55, Mattias Gaertner wrote:

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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 13:46:02 +0300
patspiper patspi...@gmail.com 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

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread patspiper

On 06/06/14 13:58, Mattias Gaertner wrote:

On Fri, 06 Jun 2014 13:46:02 +0300
patspiper patspi...@gmail.com 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Reinier Olislagers
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 patspi...@gmail.com 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...



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 14:10:39 +0300
patspiper patspi...@gmail.com wrote:

 On 06/06/14 13:58, Mattias Gaertner wrote:
  On Fri, 06 Jun 2014 13:46:02 +0300
  patspiper patspi...@gmail.com 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread patspiper

On 06/06/14 14:12, Reinier Olislagers wrote:

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 patspi...@gmail.com 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Vojtěch Čihák

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 
__

Od: Mattias Gaertner nc-gaert...@netcologne.de
Komu: lazarus@lists.lazarus.freepascal.org
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:

___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread patspiper

On 06/06/14 14:16, Mattias Gaertner wrote:

On Fri, 06 Jun 2014 14:10:39 +0300
patspiper patspi...@gmail.com wrote:


On 06/06/14 13:58, Mattias Gaertner wrote:

On Fri, 06 Jun 2014 13:46:02 +0300
patspiper patspi...@gmail.com 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 15:23:07 +0300
patspiper patspi...@gmail.com wrote:

 On 06/06/14 14:16, Mattias Gaertner wrote:
  On Fri, 06 Jun 2014 14:10:39 +0300
  patspiper patspi...@gmail.com wrote:
 
  On 06/06/14 13:58, Mattias Gaertner wrote:
  On Fri, 06 Jun 2014 13:46:02 +0300
  patspiper patspi...@gmail.com 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.


  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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 13:28:44 +0200
Vojtěch Čihák vojtech.ci...@atlas.cz wrote:

 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

Done

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread patspiper

On 06/06/14 15:45, Mattias Gaertner wrote:

On Fri, 06 Jun 2014 15:23:07 +0300
patspiper patspi...@gmail.com wrote:



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.


Great!

Stephano

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread FreeMan

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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread 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ı:

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



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread t . wieckowski
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 nc-gaert...@netcologne.de:

 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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Need testers, new Messages window

2014-06-05 Thread 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Michael Van Canneyt



On Thu, 5 Jun 2014, Mattias Gaertner wrote:


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.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread leledumbo
Mmm... sounds delicious. Will svn up soon.


Mattias Gaertner wrote
 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@.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 archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Marcos Douglas
On Thu, Jun 5, 2014 at 12:55 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:

 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread t . wieckowski
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 nc-gaert...@netcologne.de:

 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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Vojtěch Čihák

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

Od: Mattias Gaertner nc-gaert...@netcologne.de
Komu: lazarus@lists.lazarus.freepascal.org
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
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 5 Jun 2014 18:56:46 +0200
t.wieckow...@gmail.com 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.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 05 Jun 2014 19:07:54 +0200
Vojtěch Čihák vojtech.ci...@atlas.cz wrote:

 It is a new visual control ?

Yes. 
It is not in a package, so you can not use it outside the IDE.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread C Western

On 05/06/14 18:47, Mattias Gaertner wrote:

On Thu, 5 Jun 2014 18:56:46 +0200
t.wieckow...@gmail.com 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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread t . wieckowski
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 nc-gaert...@netcologne.de:

 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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 05 Jun 2014 21:10:04 +0100
C Western l...@c-m-w.me.uk wrote:

[...]
 emscriptmacro.pas(324,27) Error: identifier idents no member AddMsg

I added IDEBuildOptions to editormacroscript.lpk.
Should work now.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 5 Jun 2014 22:27:49 +0200
t.wieckow...@gmail.com wrote:

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

What do you mean with refill?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread t . wieckowski
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 nc-gaert...@netcologne.de:

 On Thu, 5 Jun 2014 22:27:49 +0200
 t.wieckow...@gmail.com wrote:

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

 What do you mean with refill?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 5 Jun 2014 22:27:49 +0200
t.wieckow...@gmail.com 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.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Dirk
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.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus